Daily bump.
[official-gcc.git] / gotools / configure
blob5cb165528194fad64c1f1a2590e8ed7087cbda3d
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 NATIVE_FALSE
559 NATIVE_TRUE
560 GOCFLAGS
562 am__fastdepCC_FALSE
563 am__fastdepCC_TRUE
564 CCDEPMODE
565 AMDEPBACKSLASH
566 AMDEP_FALSE
567 AMDEP_TRUE
568 am__quote
569 am__include
570 DEPDIR
571 OBJEXT
572 EXEEXT
573 ac_ct_CC
574 CPPFLAGS
575 LDFLAGS
576 CFLAGS
578 MAINT
579 MAINTAINER_MODE_FALSE
580 MAINTAINER_MODE_TRUE
581 am__untar
582 am__tar
583 AMTAR
584 am__leading_dot
585 SET_MAKE
587 mkdir_p
588 MKDIR_P
589 INSTALL_STRIP_PROGRAM
590 STRIP
591 install_sh
592 MAKEINFO
593 AUTOHEADER
594 AUTOMAKE
595 AUTOCONF
596 ACLOCAL
597 VERSION
598 PACKAGE
599 CYGPATH_W
600 am__isrc
601 INSTALL_DATA
602 INSTALL_SCRIPT
603 INSTALL_PROGRAM
604 target_os
605 target_vendor
606 target_cpu
607 target
608 host_os
609 host_vendor
610 host_cpu
611 host
612 target_noncanonical
613 host_noncanonical
614 build_noncanonical
615 build_os
616 build_vendor
617 build_cpu
618 build
619 target_alias
620 host_alias
621 build_alias
622 LIBS
623 ECHO_T
624 ECHO_N
625 ECHO_C
626 DEFS
627 mandir
628 localedir
629 libdir
630 psdir
631 pdfdir
632 dvidir
633 htmldir
634 infodir
635 docdir
636 oldincludedir
637 includedir
638 localstatedir
639 sharedstatedir
640 sysconfdir
641 datadir
642 datarootdir
643 libexecdir
644 sbindir
645 bindir
646 program_transform_name
647 prefix
648 exec_prefix
649 PACKAGE_URL
650 PACKAGE_BUGREPORT
651 PACKAGE_STRING
652 PACKAGE_VERSION
653 PACKAGE_TARNAME
654 PACKAGE_NAME
655 PATH_SEPARATOR
656 SHELL'
657 ac_subst_files=''
658 ac_user_opts='
659 enable_option_checking
660 enable_maintainer_mode
661 enable_dependency_tracking
663 ac_precious_vars='build_alias
664 host_alias
665 target_alias
667 CFLAGS
668 LDFLAGS
669 LIBS
670 CPPFLAGS
672 GOCFLAGS'
675 # Initialize some variables set by options.
676 ac_init_help=
677 ac_init_version=false
678 ac_unrecognized_opts=
679 ac_unrecognized_sep=
680 # The variables have the same names as the options, with
681 # dashes changed to underlines.
682 cache_file=/dev/null
683 exec_prefix=NONE
684 no_create=
685 no_recursion=
686 prefix=NONE
687 program_prefix=NONE
688 program_suffix=NONE
689 program_transform_name=s,x,x,
690 silent=
691 site=
692 srcdir=
693 verbose=
694 x_includes=NONE
695 x_libraries=NONE
697 # Installation directory options.
698 # These are left unexpanded so users can "make install exec_prefix=/foo"
699 # and all the variables that are supposed to be based on exec_prefix
700 # by default will actually change.
701 # Use braces instead of parens because sh, perl, etc. also accept them.
702 # (The list follows the same order as the GNU Coding Standards.)
703 bindir='${exec_prefix}/bin'
704 sbindir='${exec_prefix}/sbin'
705 libexecdir='${exec_prefix}/libexec'
706 datarootdir='${prefix}/share'
707 datadir='${datarootdir}'
708 sysconfdir='${prefix}/etc'
709 sharedstatedir='${prefix}/com'
710 localstatedir='${prefix}/var'
711 includedir='${prefix}/include'
712 oldincludedir='/usr/include'
713 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
714 infodir='${datarootdir}/info'
715 htmldir='${docdir}'
716 dvidir='${docdir}'
717 pdfdir='${docdir}'
718 psdir='${docdir}'
719 libdir='${exec_prefix}/lib'
720 localedir='${datarootdir}/locale'
721 mandir='${datarootdir}/man'
723 ac_prev=
724 ac_dashdash=
725 for ac_option
727 # If the previous option needs an argument, assign it.
728 if test -n "$ac_prev"; then
729 eval $ac_prev=\$ac_option
730 ac_prev=
731 continue
734 case $ac_option in
735 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
736 *) ac_optarg=yes ;;
737 esac
739 # Accept the important Cygnus configure options, so we can diagnose typos.
741 case $ac_dashdash$ac_option in
743 ac_dashdash=yes ;;
745 -bindir | --bindir | --bindi | --bind | --bin | --bi)
746 ac_prev=bindir ;;
747 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
748 bindir=$ac_optarg ;;
750 -build | --build | --buil | --bui | --bu)
751 ac_prev=build_alias ;;
752 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
753 build_alias=$ac_optarg ;;
755 -cache-file | --cache-file | --cache-fil | --cache-fi \
756 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
757 ac_prev=cache_file ;;
758 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
759 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
760 cache_file=$ac_optarg ;;
762 --config-cache | -C)
763 cache_file=config.cache ;;
765 -datadir | --datadir | --datadi | --datad)
766 ac_prev=datadir ;;
767 -datadir=* | --datadir=* | --datadi=* | --datad=*)
768 datadir=$ac_optarg ;;
770 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
771 | --dataroo | --dataro | --datar)
772 ac_prev=datarootdir ;;
773 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
774 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
775 datarootdir=$ac_optarg ;;
777 -disable-* | --disable-*)
778 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
779 # Reject names that are not valid shell variable names.
780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
781 as_fn_error "invalid feature name: $ac_useropt"
782 ac_useropt_orig=$ac_useropt
783 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
784 case $ac_user_opts in
786 "enable_$ac_useropt"
787 "*) ;;
788 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
789 ac_unrecognized_sep=', ';;
790 esac
791 eval enable_$ac_useropt=no ;;
793 -docdir | --docdir | --docdi | --doc | --do)
794 ac_prev=docdir ;;
795 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
796 docdir=$ac_optarg ;;
798 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
799 ac_prev=dvidir ;;
800 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
801 dvidir=$ac_optarg ;;
803 -enable-* | --enable-*)
804 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
807 as_fn_error "invalid feature name: $ac_useropt"
808 ac_useropt_orig=$ac_useropt
809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810 case $ac_user_opts in
812 "enable_$ac_useropt"
813 "*) ;;
814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
815 ac_unrecognized_sep=', ';;
816 esac
817 eval enable_$ac_useropt=\$ac_optarg ;;
819 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
820 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
821 | --exec | --exe | --ex)
822 ac_prev=exec_prefix ;;
823 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
824 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
825 | --exec=* | --exe=* | --ex=*)
826 exec_prefix=$ac_optarg ;;
828 -gas | --gas | --ga | --g)
829 # Obsolete; use --with-gas.
830 with_gas=yes ;;
832 -help | --help | --hel | --he | -h)
833 ac_init_help=long ;;
834 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
835 ac_init_help=recursive ;;
836 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
837 ac_init_help=short ;;
839 -host | --host | --hos | --ho)
840 ac_prev=host_alias ;;
841 -host=* | --host=* | --hos=* | --ho=*)
842 host_alias=$ac_optarg ;;
844 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
845 ac_prev=htmldir ;;
846 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
847 | --ht=*)
848 htmldir=$ac_optarg ;;
850 -includedir | --includedir | --includedi | --included | --include \
851 | --includ | --inclu | --incl | --inc)
852 ac_prev=includedir ;;
853 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
854 | --includ=* | --inclu=* | --incl=* | --inc=*)
855 includedir=$ac_optarg ;;
857 -infodir | --infodir | --infodi | --infod | --info | --inf)
858 ac_prev=infodir ;;
859 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
860 infodir=$ac_optarg ;;
862 -libdir | --libdir | --libdi | --libd)
863 ac_prev=libdir ;;
864 -libdir=* | --libdir=* | --libdi=* | --libd=*)
865 libdir=$ac_optarg ;;
867 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
868 | --libexe | --libex | --libe)
869 ac_prev=libexecdir ;;
870 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
871 | --libexe=* | --libex=* | --libe=*)
872 libexecdir=$ac_optarg ;;
874 -localedir | --localedir | --localedi | --localed | --locale)
875 ac_prev=localedir ;;
876 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
877 localedir=$ac_optarg ;;
879 -localstatedir | --localstatedir | --localstatedi | --localstated \
880 | --localstate | --localstat | --localsta | --localst | --locals)
881 ac_prev=localstatedir ;;
882 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
883 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
884 localstatedir=$ac_optarg ;;
886 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
887 ac_prev=mandir ;;
888 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
889 mandir=$ac_optarg ;;
891 -nfp | --nfp | --nf)
892 # Obsolete; use --without-fp.
893 with_fp=no ;;
895 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
896 | --no-cr | --no-c | -n)
897 no_create=yes ;;
899 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
900 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
901 no_recursion=yes ;;
903 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
904 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
905 | --oldin | --oldi | --old | --ol | --o)
906 ac_prev=oldincludedir ;;
907 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
908 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
909 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
910 oldincludedir=$ac_optarg ;;
912 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
913 ac_prev=prefix ;;
914 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
915 prefix=$ac_optarg ;;
917 -program-prefix | --program-prefix | --program-prefi | --program-pref \
918 | --program-pre | --program-pr | --program-p)
919 ac_prev=program_prefix ;;
920 -program-prefix=* | --program-prefix=* | --program-prefi=* \
921 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
922 program_prefix=$ac_optarg ;;
924 -program-suffix | --program-suffix | --program-suffi | --program-suff \
925 | --program-suf | --program-su | --program-s)
926 ac_prev=program_suffix ;;
927 -program-suffix=* | --program-suffix=* | --program-suffi=* \
928 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
929 program_suffix=$ac_optarg ;;
931 -program-transform-name | --program-transform-name \
932 | --program-transform-nam | --program-transform-na \
933 | --program-transform-n | --program-transform- \
934 | --program-transform | --program-transfor \
935 | --program-transfo | --program-transf \
936 | --program-trans | --program-tran \
937 | --progr-tra | --program-tr | --program-t)
938 ac_prev=program_transform_name ;;
939 -program-transform-name=* | --program-transform-name=* \
940 | --program-transform-nam=* | --program-transform-na=* \
941 | --program-transform-n=* | --program-transform-=* \
942 | --program-transform=* | --program-transfor=* \
943 | --program-transfo=* | --program-transf=* \
944 | --program-trans=* | --program-tran=* \
945 | --progr-tra=* | --program-tr=* | --program-t=*)
946 program_transform_name=$ac_optarg ;;
948 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
949 ac_prev=pdfdir ;;
950 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
951 pdfdir=$ac_optarg ;;
953 -psdir | --psdir | --psdi | --psd | --ps)
954 ac_prev=psdir ;;
955 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
956 psdir=$ac_optarg ;;
958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
959 | -silent | --silent | --silen | --sile | --sil)
960 silent=yes ;;
962 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
963 ac_prev=sbindir ;;
964 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
965 | --sbi=* | --sb=*)
966 sbindir=$ac_optarg ;;
968 -sharedstatedir | --sharedstatedir | --sharedstatedi \
969 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
970 | --sharedst | --shareds | --shared | --share | --shar \
971 | --sha | --sh)
972 ac_prev=sharedstatedir ;;
973 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
974 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
975 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
976 | --sha=* | --sh=*)
977 sharedstatedir=$ac_optarg ;;
979 -site | --site | --sit)
980 ac_prev=site ;;
981 -site=* | --site=* | --sit=*)
982 site=$ac_optarg ;;
984 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
985 ac_prev=srcdir ;;
986 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
987 srcdir=$ac_optarg ;;
989 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
990 | --syscon | --sysco | --sysc | --sys | --sy)
991 ac_prev=sysconfdir ;;
992 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
993 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
994 sysconfdir=$ac_optarg ;;
996 -target | --target | --targe | --targ | --tar | --ta | --t)
997 ac_prev=target_alias ;;
998 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
999 target_alias=$ac_optarg ;;
1001 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1002 verbose=yes ;;
1004 -version | --version | --versio | --versi | --vers | -V)
1005 ac_init_version=: ;;
1007 -with-* | --with-*)
1008 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011 as_fn_error "invalid package name: $ac_useropt"
1012 ac_useropt_orig=$ac_useropt
1013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1016 "with_$ac_useropt"
1017 "*) ;;
1018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1019 ac_unrecognized_sep=', ';;
1020 esac
1021 eval with_$ac_useropt=\$ac_optarg ;;
1023 -without-* | --without-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error "invalid package name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "with_$ac_useropt"
1033 "*) ;;
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1036 esac
1037 eval with_$ac_useropt=no ;;
1039 --x)
1040 # Obsolete; use --with-x.
1041 with_x=yes ;;
1043 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1044 | --x-incl | --x-inc | --x-in | --x-i)
1045 ac_prev=x_includes ;;
1046 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1047 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1048 x_includes=$ac_optarg ;;
1050 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1051 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1052 ac_prev=x_libraries ;;
1053 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1054 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1055 x_libraries=$ac_optarg ;;
1057 -*) as_fn_error "unrecognized option: \`$ac_option'
1058 Try \`$0 --help' for more information."
1061 *=*)
1062 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1063 # Reject names that are not valid shell variable names.
1064 case $ac_envvar in #(
1065 '' | [0-9]* | *[!_$as_cr_alnum]* )
1066 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1067 esac
1068 eval $ac_envvar=\$ac_optarg
1069 export $ac_envvar ;;
1072 # FIXME: should be removed in autoconf 3.0.
1073 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1074 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1075 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1076 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1079 esac
1080 done
1082 if test -n "$ac_prev"; then
1083 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1084 as_fn_error "missing argument to $ac_option"
1087 if test -n "$ac_unrecognized_opts"; then
1088 case $enable_option_checking in
1089 no) ;;
1090 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1091 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1092 esac
1095 # Check all directory arguments for consistency.
1096 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097 datadir sysconfdir sharedstatedir localstatedir includedir \
1098 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099 libdir localedir mandir
1101 eval ac_val=\$$ac_var
1102 # Remove trailing slashes.
1103 case $ac_val in
1104 */ )
1105 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1106 eval $ac_var=\$ac_val;;
1107 esac
1108 # Be sure to have absolute directory names.
1109 case $ac_val in
1110 [\\/$]* | ?:[\\/]* ) continue;;
1111 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1112 esac
1113 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1114 done
1116 # There might be people who depend on the old broken behavior: `$host'
1117 # used to hold the argument of --host etc.
1118 # FIXME: To remove some day.
1119 build=$build_alias
1120 host=$host_alias
1121 target=$target_alias
1123 # FIXME: To remove some day.
1124 if test "x$host_alias" != x; then
1125 if test "x$build_alias" = x; then
1126 cross_compiling=maybe
1127 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1128 If a cross compiler is detected then cross compile mode will be used." >&2
1129 elif test "x$build_alias" != "x$host_alias"; then
1130 cross_compiling=yes
1134 ac_tool_prefix=
1135 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1137 test "$silent" = yes && exec 6>/dev/null
1140 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1141 ac_ls_di=`ls -di .` &&
1142 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1143 as_fn_error "working directory cannot be determined"
1144 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1145 as_fn_error "pwd does not report name of working directory"
1148 # Find the source files, if location was not specified.
1149 if test -z "$srcdir"; then
1150 ac_srcdir_defaulted=yes
1151 # Try the directory containing this script, then the parent directory.
1152 ac_confdir=`$as_dirname -- "$as_myself" ||
1153 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1154 X"$as_myself" : 'X\(//\)[^/]' \| \
1155 X"$as_myself" : 'X\(//\)$' \| \
1156 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1157 $as_echo X"$as_myself" |
1158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1159 s//\1/
1162 /^X\(\/\/\)[^/].*/{
1163 s//\1/
1166 /^X\(\/\/\)$/{
1167 s//\1/
1170 /^X\(\/\).*/{
1171 s//\1/
1174 s/.*/./; q'`
1175 srcdir=$ac_confdir
1176 if test ! -r "$srcdir/$ac_unique_file"; then
1177 srcdir=..
1179 else
1180 ac_srcdir_defaulted=no
1182 if test ! -r "$srcdir/$ac_unique_file"; then
1183 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1184 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1186 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1187 ac_abs_confdir=`(
1188 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1189 pwd)`
1190 # When building in place, set srcdir=.
1191 if test "$ac_abs_confdir" = "$ac_pwd"; then
1192 srcdir=.
1194 # Remove unnecessary trailing slashes from srcdir.
1195 # Double slashes in file names in object file debugging info
1196 # mess up M-x gdb in Emacs.
1197 case $srcdir in
1198 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1199 esac
1200 for ac_var in $ac_precious_vars; do
1201 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1202 eval ac_env_${ac_var}_value=\$${ac_var}
1203 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1204 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1205 done
1208 # Report the --help message.
1210 if test "$ac_init_help" = "long"; then
1211 # Omit some internal or obsolete options to make the list less imposing.
1212 # This message is too long to be a string in the A/UX 3.1 sh.
1213 cat <<_ACEOF
1214 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1216 Usage: $0 [OPTION]... [VAR=VALUE]...
1218 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1219 VAR=VALUE. See below for descriptions of some of the useful variables.
1221 Defaults for the options are specified in brackets.
1223 Configuration:
1224 -h, --help display this help and exit
1225 --help=short display options specific to this package
1226 --help=recursive display the short help of all the included packages
1227 -V, --version display version information and exit
1228 -q, --quiet, --silent do not print \`checking...' messages
1229 --cache-file=FILE cache test results in FILE [disabled]
1230 -C, --config-cache alias for \`--cache-file=config.cache'
1231 -n, --no-create do not create output files
1232 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1234 Installation directories:
1235 --prefix=PREFIX install architecture-independent files in PREFIX
1236 [$ac_default_prefix]
1237 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1238 [PREFIX]
1240 By default, \`make install' will install all the files in
1241 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1242 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1243 for instance \`--prefix=\$HOME'.
1245 For better control, use the options below.
1247 Fine tuning of the installation directories:
1248 --bindir=DIR user executables [EPREFIX/bin]
1249 --sbindir=DIR system admin executables [EPREFIX/sbin]
1250 --libexecdir=DIR program executables [EPREFIX/libexec]
1251 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1252 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1253 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1254 --libdir=DIR object code libraries [EPREFIX/lib]
1255 --includedir=DIR C header files [PREFIX/include]
1256 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1257 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1258 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1259 --infodir=DIR info documentation [DATAROOTDIR/info]
1260 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1261 --mandir=DIR man documentation [DATAROOTDIR/man]
1262 --docdir=DIR documentation root [DATAROOTDIR/doc/gotools]
1263 --htmldir=DIR html documentation [DOCDIR]
1264 --dvidir=DIR dvi documentation [DOCDIR]
1265 --pdfdir=DIR pdf documentation [DOCDIR]
1266 --psdir=DIR ps documentation [DOCDIR]
1267 _ACEOF
1269 cat <<\_ACEOF
1271 Program names:
1272 --program-prefix=PREFIX prepend PREFIX to installed program names
1273 --program-suffix=SUFFIX append SUFFIX to installed program names
1274 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1276 System types:
1277 --build=BUILD configure for building on BUILD [guessed]
1278 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1279 --target=TARGET configure for building compilers for TARGET [HOST]
1280 _ACEOF
1283 if test -n "$ac_init_help"; then
1284 case $ac_init_help in
1285 short | recursive ) echo "Configuration of package-unused version-unused:";;
1286 esac
1287 cat <<\_ACEOF
1289 Optional Features:
1290 --disable-option-checking ignore unrecognized --enable/--with options
1291 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1292 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1293 --enable-maintainer-mode enable make rules and dependencies not useful
1294 (and sometimes confusing) to the casual installer
1295 --disable-dependency-tracking speeds up one-time build
1296 --enable-dependency-tracking do not reject slow dependency extractors
1298 Some influential environment variables:
1299 CC C compiler command
1300 CFLAGS C compiler flags
1301 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1302 nonstandard directory <lib dir>
1303 LIBS libraries to pass to the linker, e.g. -l<library>
1304 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1305 you have headers in a nonstandard directory <include dir>
1306 GOC Go compiler command
1307 GOCFLAGS Go compiler flags
1309 Use these variables to override the choices made by `configure' or to help
1310 it to find libraries and programs with nonstandard names/locations.
1312 Report bugs to the package provider.
1313 _ACEOF
1314 ac_status=$?
1317 if test "$ac_init_help" = "recursive"; then
1318 # If there are subdirs, report their specific --help.
1319 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1320 test -d "$ac_dir" ||
1321 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1322 continue
1323 ac_builddir=.
1325 case "$ac_dir" in
1326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1329 # A ".." for each directory in $ac_dir_suffix.
1330 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1331 case $ac_top_builddir_sub in
1332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1334 esac ;;
1335 esac
1336 ac_abs_top_builddir=$ac_pwd
1337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1338 # for backward compatibility:
1339 ac_top_builddir=$ac_top_build_prefix
1341 case $srcdir in
1342 .) # We are building in place.
1343 ac_srcdir=.
1344 ac_top_srcdir=$ac_top_builddir_sub
1345 ac_abs_top_srcdir=$ac_pwd ;;
1346 [\\/]* | ?:[\\/]* ) # Absolute name.
1347 ac_srcdir=$srcdir$ac_dir_suffix;
1348 ac_top_srcdir=$srcdir
1349 ac_abs_top_srcdir=$srcdir ;;
1350 *) # Relative name.
1351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1352 ac_top_srcdir=$ac_top_build_prefix$srcdir
1353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1354 esac
1355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1357 cd "$ac_dir" || { ac_status=$?; continue; }
1358 # Check for guested configure.
1359 if test -f "$ac_srcdir/configure.gnu"; then
1360 echo &&
1361 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1362 elif test -f "$ac_srcdir/configure"; then
1363 echo &&
1364 $SHELL "$ac_srcdir/configure" --help=recursive
1365 else
1366 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1367 fi || ac_status=$?
1368 cd "$ac_pwd" || { ac_status=$?; break; }
1369 done
1372 test -n "$ac_init_help" && exit $ac_status
1373 if $ac_init_version; then
1374 cat <<\_ACEOF
1375 package-unused configure version-unused
1376 generated by GNU Autoconf 2.64
1378 Copyright (C) 2009 Free Software Foundation, Inc.
1379 This configure script is free software; the Free Software Foundation
1380 gives unlimited permission to copy, distribute and modify it.
1381 _ACEOF
1382 exit
1385 ## ------------------------ ##
1386 ## Autoconf initialization. ##
1387 ## ------------------------ ##
1389 # ac_fn_c_try_compile LINENO
1390 # --------------------------
1391 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1392 ac_fn_c_try_compile ()
1394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1395 rm -f conftest.$ac_objext
1396 if { { ac_try="$ac_compile"
1397 case "(($ac_try" in
1398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1399 *) ac_try_echo=$ac_try;;
1400 esac
1401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1402 $as_echo "$ac_try_echo"; } >&5
1403 (eval "$ac_compile") 2>conftest.err
1404 ac_status=$?
1405 if test -s conftest.err; then
1406 grep -v '^ *+' conftest.err >conftest.er1
1407 cat conftest.er1 >&5
1408 mv -f conftest.er1 conftest.err
1410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1411 test $ac_status = 0; } && {
1412 test -z "$ac_c_werror_flag" ||
1413 test ! -s conftest.err
1414 } && test -s conftest.$ac_objext; then :
1415 ac_retval=0
1416 else
1417 $as_echo "$as_me: failed program was:" >&5
1418 sed 's/^/| /' conftest.$ac_ext >&5
1420 ac_retval=1
1422 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1423 return $ac_retval
1425 } # ac_fn_c_try_compile
1426 cat >config.log <<_ACEOF
1427 This file contains any messages produced by compilers while
1428 running configure, to aid debugging if configure makes a mistake.
1430 It was created by package-unused $as_me version-unused, which was
1431 generated by GNU Autoconf 2.64. Invocation command line was
1433 $ $0 $@
1435 _ACEOF
1436 exec 5>>config.log
1438 cat <<_ASUNAME
1439 ## --------- ##
1440 ## Platform. ##
1441 ## --------- ##
1443 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1444 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1445 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1446 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1447 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1449 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1450 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1452 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1453 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1454 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1455 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1456 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1457 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1458 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1460 _ASUNAME
1462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1463 for as_dir in $PATH
1465 IFS=$as_save_IFS
1466 test -z "$as_dir" && as_dir=.
1467 $as_echo "PATH: $as_dir"
1468 done
1469 IFS=$as_save_IFS
1471 } >&5
1473 cat >&5 <<_ACEOF
1476 ## ----------- ##
1477 ## Core tests. ##
1478 ## ----------- ##
1480 _ACEOF
1483 # Keep a trace of the command line.
1484 # Strip out --no-create and --no-recursion so they do not pile up.
1485 # Strip out --silent because we don't want to record it for future runs.
1486 # Also quote any args containing shell meta-characters.
1487 # Make two passes to allow for proper duplicate-argument suppression.
1488 ac_configure_args=
1489 ac_configure_args0=
1490 ac_configure_args1=
1491 ac_must_keep_next=false
1492 for ac_pass in 1 2
1494 for ac_arg
1496 case $ac_arg in
1497 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1499 | -silent | --silent | --silen | --sile | --sil)
1500 continue ;;
1501 *\'*)
1502 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 esac
1504 case $ac_pass in
1505 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1507 as_fn_append ac_configure_args1 " '$ac_arg'"
1508 if test $ac_must_keep_next = true; then
1509 ac_must_keep_next=false # Got value, back to normal.
1510 else
1511 case $ac_arg in
1512 *=* | --config-cache | -C | -disable-* | --disable-* \
1513 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1514 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1515 | -with-* | --with-* | -without-* | --without-* | --x)
1516 case "$ac_configure_args0 " in
1517 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1518 esac
1520 -* ) ac_must_keep_next=true ;;
1521 esac
1523 as_fn_append ac_configure_args " '$ac_arg'"
1525 esac
1526 done
1527 done
1528 { ac_configure_args0=; unset ac_configure_args0;}
1529 { ac_configure_args1=; unset ac_configure_args1;}
1531 # When interrupted or exit'd, cleanup temporary files, and complete
1532 # config.log. We remove comments because anyway the quotes in there
1533 # would cause problems or look ugly.
1534 # WARNING: Use '\'' to represent an apostrophe within the trap.
1535 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1536 trap 'exit_status=$?
1537 # Save into config.log some information that might help in debugging.
1539 echo
1541 cat <<\_ASBOX
1542 ## ---------------- ##
1543 ## Cache variables. ##
1544 ## ---------------- ##
1545 _ASBOX
1546 echo
1547 # The following way of writing the cache mishandles newlines in values,
1549 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1550 eval ac_val=\$$ac_var
1551 case $ac_val in #(
1552 *${as_nl}*)
1553 case $ac_var in #(
1554 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1555 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1556 esac
1557 case $ac_var in #(
1558 _ | IFS | as_nl) ;; #(
1559 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1560 *) { eval $ac_var=; unset $ac_var;} ;;
1561 esac ;;
1562 esac
1563 done
1564 (set) 2>&1 |
1565 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1566 *${as_nl}ac_space=\ *)
1567 sed -n \
1568 "s/'\''/'\''\\\\'\'''\''/g;
1569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1570 ;; #(
1572 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1574 esac |
1575 sort
1577 echo
1579 cat <<\_ASBOX
1580 ## ----------------- ##
1581 ## Output variables. ##
1582 ## ----------------- ##
1583 _ASBOX
1584 echo
1585 for ac_var in $ac_subst_vars
1587 eval ac_val=\$$ac_var
1588 case $ac_val in
1589 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590 esac
1591 $as_echo "$ac_var='\''$ac_val'\''"
1592 done | sort
1593 echo
1595 if test -n "$ac_subst_files"; then
1596 cat <<\_ASBOX
1597 ## ------------------- ##
1598 ## File substitutions. ##
1599 ## ------------------- ##
1600 _ASBOX
1601 echo
1602 for ac_var in $ac_subst_files
1604 eval ac_val=\$$ac_var
1605 case $ac_val in
1606 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1607 esac
1608 $as_echo "$ac_var='\''$ac_val'\''"
1609 done | sort
1610 echo
1613 if test -s confdefs.h; then
1614 cat <<\_ASBOX
1615 ## ----------- ##
1616 ## confdefs.h. ##
1617 ## ----------- ##
1618 _ASBOX
1619 echo
1620 cat confdefs.h
1621 echo
1623 test "$ac_signal" != 0 &&
1624 $as_echo "$as_me: caught signal $ac_signal"
1625 $as_echo "$as_me: exit $exit_status"
1626 } >&5
1627 rm -f core *.core core.conftest.* &&
1628 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1629 exit $exit_status
1631 for ac_signal in 1 2 13 15; do
1632 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1633 done
1634 ac_signal=0
1636 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1637 rm -f -r conftest* confdefs.h
1639 $as_echo "/* confdefs.h */" > confdefs.h
1641 # Predefined preprocessor variables.
1643 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE_NAME "$PACKAGE_NAME"
1645 _ACEOF
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1649 _ACEOF
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1653 _ACEOF
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_STRING "$PACKAGE_STRING"
1657 _ACEOF
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1661 _ACEOF
1663 cat >>confdefs.h <<_ACEOF
1664 #define PACKAGE_URL "$PACKAGE_URL"
1665 _ACEOF
1668 # Let the site file select an alternate cache file if it wants to.
1669 # Prefer an explicitly selected file to automatically selected ones.
1670 ac_site_file1=NONE
1671 ac_site_file2=NONE
1672 if test -n "$CONFIG_SITE"; then
1673 ac_site_file1=$CONFIG_SITE
1674 elif test "x$prefix" != xNONE; then
1675 ac_site_file1=$prefix/share/config.site
1676 ac_site_file2=$prefix/etc/config.site
1677 else
1678 ac_site_file1=$ac_default_prefix/share/config.site
1679 ac_site_file2=$ac_default_prefix/etc/config.site
1681 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1683 test "x$ac_site_file" = xNONE && continue
1684 if test -r "$ac_site_file"; then
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1686 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1687 sed 's/^/| /' "$ac_site_file" >&5
1688 . "$ac_site_file"
1690 done
1692 if test -r "$cache_file"; then
1693 # Some versions of bash will fail to source /dev/null (special
1694 # files actually), so we avoid doing that.
1695 if test -f "$cache_file"; then
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1697 $as_echo "$as_me: loading cache $cache_file" >&6;}
1698 case $cache_file in
1699 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1700 *) . "./$cache_file";;
1701 esac
1703 else
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1705 $as_echo "$as_me: creating cache $cache_file" >&6;}
1706 >$cache_file
1709 # Check that the precious variables saved in the cache have kept the same
1710 # value.
1711 ac_cache_corrupted=false
1712 for ac_var in $ac_precious_vars; do
1713 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1714 eval ac_new_set=\$ac_env_${ac_var}_set
1715 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1716 eval ac_new_val=\$ac_env_${ac_var}_value
1717 case $ac_old_set,$ac_new_set in
1718 set,)
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1720 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1721 ac_cache_corrupted=: ;;
1722 ,set)
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1724 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1725 ac_cache_corrupted=: ;;
1726 ,);;
1728 if test "x$ac_old_val" != "x$ac_new_val"; then
1729 # differences in whitespace do not lead to failure.
1730 ac_old_val_w=`echo x $ac_old_val`
1731 ac_new_val_w=`echo x $ac_new_val`
1732 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1734 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1735 ac_cache_corrupted=:
1736 else
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1738 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1739 eval $ac_var=\$ac_old_val
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1742 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1744 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1745 fi;;
1746 esac
1747 # Pass precious variables to config.status.
1748 if test "$ac_new_set" = set; then
1749 case $ac_new_val in
1750 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1751 *) ac_arg=$ac_var=$ac_new_val ;;
1752 esac
1753 case " $ac_configure_args " in
1754 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1755 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1756 esac
1758 done
1759 if $ac_cache_corrupted; then
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1763 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1764 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1766 ## -------------------- ##
1767 ## Main body of script. ##
1768 ## -------------------- ##
1770 ac_ext=c
1771 ac_cpp='$CPP $CPPFLAGS'
1772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1793 # This is what autoupdate's m4 run will expand. It fires
1794 # the warning (with _au_warn_XXX), outputs it into the
1795 # updated configure.ac (with AC_DIAGNOSE), and then outputs
1796 # the replacement expansion.
1799 # This is an auxiliary macro that is also run when
1800 # autoupdate runs m4. It simply calls m4_warning, but
1801 # we need a wrapper so that each warning is emitted only
1802 # once. We break the quoting in m4_warning's argument in
1803 # order to expand this macro's arguments, not AU_DEFUN's.
1806 # Finally, this is the expansion that is picked up by
1807 # autoconf. It tells the user to run autoupdate, and
1808 # then outputs the replacement expansion. We do not care
1809 # about autoupdate's warning because that contains
1810 # information on what to do *after* running autoupdate.
1829 # AC_PROG_GO
1832 # Determine the noncanonical names used for directories.
1833 ac_aux_dir=
1834 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1835 for ac_t in install-sh install.sh shtool; do
1836 if test -f "$ac_dir/$ac_t"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/$ac_t -c"
1839 break 2
1841 done
1842 done
1843 if test -z "$ac_aux_dir"; then
1844 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1856 # Make sure we can run config.sub.
1857 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1858 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1861 $as_echo_n "checking build system type... " >&6; }
1862 if test "${ac_cv_build+set}" = set; then :
1863 $as_echo_n "(cached) " >&6
1864 else
1865 ac_build_alias=$build_alias
1866 test "x$ac_build_alias" = x &&
1867 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1868 test "x$ac_build_alias" = x &&
1869 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1870 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1871 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1875 $as_echo "$ac_cv_build" >&6; }
1876 case $ac_cv_build in
1877 *-*-*) ;;
1878 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1879 esac
1880 build=$ac_cv_build
1881 ac_save_IFS=$IFS; IFS='-'
1882 set x $ac_cv_build
1883 shift
1884 build_cpu=$1
1885 build_vendor=$2
1886 shift; shift
1887 # Remember, the first character of IFS is used to create $*,
1888 # except with old shells:
1889 build_os=$*
1890 IFS=$ac_save_IFS
1891 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1894 case ${build_alias} in
1895 "") build_noncanonical=${build} ;;
1896 *) build_noncanonical=${build_alias} ;;
1897 esac
1901 case ${host_alias} in
1902 "") host_noncanonical=${build_noncanonical} ;;
1903 *) host_noncanonical=${host_alias} ;;
1904 esac
1908 case ${target_alias} in
1909 "") target_noncanonical=${host_noncanonical} ;;
1910 *) target_noncanonical=${target_alias} ;;
1911 esac
1916 test "$host_noncanonical" = "$target_noncanonical" &&
1917 test "$program_prefix$program_suffix$program_transform_name" = \
1918 NONENONEs,x,x, &&
1919 program_transform_name=s,y,y,
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1922 $as_echo_n "checking host system type... " >&6; }
1923 if test "${ac_cv_host+set}" = set; then :
1924 $as_echo_n "(cached) " >&6
1925 else
1926 if test "x$host_alias" = x; then
1927 ac_cv_host=$ac_cv_build
1928 else
1929 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1930 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1935 $as_echo "$ac_cv_host" >&6; }
1936 case $ac_cv_host in
1937 *-*-*) ;;
1938 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1939 esac
1940 host=$ac_cv_host
1941 ac_save_IFS=$IFS; IFS='-'
1942 set x $ac_cv_host
1943 shift
1944 host_cpu=$1
1945 host_vendor=$2
1946 shift; shift
1947 # Remember, the first character of IFS is used to create $*,
1948 # except with old shells:
1949 host_os=$*
1950 IFS=$ac_save_IFS
1951 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1955 $as_echo_n "checking target system type... " >&6; }
1956 if test "${ac_cv_target+set}" = set; then :
1957 $as_echo_n "(cached) " >&6
1958 else
1959 if test "x$target_alias" = x; then
1960 ac_cv_target=$ac_cv_host
1961 else
1962 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1963 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1968 $as_echo "$ac_cv_target" >&6; }
1969 case $ac_cv_target in
1970 *-*-*) ;;
1971 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1972 esac
1973 target=$ac_cv_target
1974 ac_save_IFS=$IFS; IFS='-'
1975 set x $ac_cv_target
1976 shift
1977 target_cpu=$1
1978 target_vendor=$2
1979 shift; shift
1980 # Remember, the first character of IFS is used to create $*,
1981 # except with old shells:
1982 target_os=$*
1983 IFS=$ac_save_IFS
1984 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1987 # The aliases save the names the user supplied, while $host etc.
1988 # will get canonicalized.
1989 test -n "$target_alias" &&
1990 test "$program_prefix$program_suffix$program_transform_name" = \
1991 NONENONEs,x,x, &&
1992 program_prefix=${target_alias}-
1994 test "$program_prefix" != NONE &&
1995 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1996 # Use a double $ so make ignores it.
1997 test "$program_suffix" != NONE &&
1998 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1999 # Double any \ or $.
2000 # By default was `s,x,x', remove it if useless.
2001 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2002 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2005 am__api_version='1.11'
2007 # Find a good install program. We prefer a C program (faster),
2008 # so one script is as good as another. But avoid the broken or
2009 # incompatible versions:
2010 # SysV /etc/install, /usr/sbin/install
2011 # SunOS /usr/etc/install
2012 # IRIX /sbin/install
2013 # AIX /bin/install
2014 # AmigaOS /C/install, which installs bootblocks on floppy discs
2015 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2016 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2017 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2018 # OS/2's system install, which has a completely different semantic
2019 # ./install, which can be erroneously created by make from ./install.sh.
2020 # Reject install programs that cannot install multiple files.
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2022 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2023 if test -z "$INSTALL"; then
2024 if test "${ac_cv_path_install+set}" = set; then :
2025 $as_echo_n "(cached) " >&6
2026 else
2027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2028 for as_dir in $PATH
2030 IFS=$as_save_IFS
2031 test -z "$as_dir" && as_dir=.
2032 # Account for people who put trailing slashes in PATH elements.
2033 case $as_dir/ in #((
2034 ./ | .// | /[cC]/* | \
2035 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2036 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2037 /usr/ucb/* ) ;;
2039 # OSF1 and SCO ODT 3.0 have their own names for install.
2040 # Don't use installbsd from OSF since it installs stuff as root
2041 # by default.
2042 for ac_prog in ginstall scoinst install; do
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2045 if test $ac_prog = install &&
2046 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2047 # AIX install. It has an incompatible calling convention.
2049 elif test $ac_prog = install &&
2050 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2051 # program-specific install script used by HP pwplus--don't use.
2053 else
2054 rm -rf conftest.one conftest.two conftest.dir
2055 echo one > conftest.one
2056 echo two > conftest.two
2057 mkdir conftest.dir
2058 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2059 test -s conftest.one && test -s conftest.two &&
2060 test -s conftest.dir/conftest.one &&
2061 test -s conftest.dir/conftest.two
2062 then
2063 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2064 break 3
2068 done
2069 done
2071 esac
2073 done
2074 IFS=$as_save_IFS
2076 rm -rf conftest.one conftest.two conftest.dir
2079 if test "${ac_cv_path_install+set}" = set; then
2080 INSTALL=$ac_cv_path_install
2081 else
2082 # As a last resort, use the slow shell script. Don't cache a
2083 # value for INSTALL within a source directory, because that will
2084 # break other packages using the cache if that directory is
2085 # removed, or if the value is a relative name.
2086 INSTALL=$ac_install_sh
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2090 $as_echo "$INSTALL" >&6; }
2092 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2093 # It thinks the first close brace ends the variable substitution.
2094 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2096 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2098 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2101 $as_echo_n "checking whether build environment is sane... " >&6; }
2102 # Just in case
2103 sleep 1
2104 echo timestamp > conftest.file
2105 # Reject unsafe characters in $srcdir or the absolute working directory
2106 # name. Accept space and tab only in the latter.
2107 am_lf='
2109 case `pwd` in
2110 *[\\\"\#\$\&\'\`$am_lf]*)
2111 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2112 esac
2113 case $srcdir in
2114 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2115 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2116 esac
2118 # Do `set' in a subshell so we don't clobber the current shell's
2119 # arguments. Must try -L first in case configure is actually a
2120 # symlink; some systems play weird games with the mod time of symlinks
2121 # (eg FreeBSD returns the mod time of the symlink's containing
2122 # directory).
2123 if (
2124 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2125 if test "$*" = "X"; then
2126 # -L didn't work.
2127 set X `ls -t "$srcdir/configure" conftest.file`
2129 rm -f conftest.file
2130 if test "$*" != "X $srcdir/configure conftest.file" \
2131 && test "$*" != "X conftest.file $srcdir/configure"; then
2133 # If neither matched, then we have a broken ls. This can happen
2134 # if, for instance, CONFIG_SHELL is bash and it inherits a
2135 # broken ls alias from the environment. This has actually
2136 # happened. Such a system could not be considered "sane".
2137 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2138 alias in your environment" "$LINENO" 5
2141 test "$2" = conftest.file
2143 then
2144 # Ok.
2146 else
2147 as_fn_error "newly created file is older than distributed files!
2148 Check your system clock" "$LINENO" 5
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2151 $as_echo "yes" >&6; }
2152 # expand $ac_aux_dir to an absolute path
2153 am_aux_dir=`cd $ac_aux_dir && pwd`
2155 if test x"${MISSING+set}" != xset; then
2156 case $am_aux_dir in
2157 *\ * | *\ *)
2158 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2160 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2161 esac
2163 # Use eval to expand $SHELL
2164 if eval "$MISSING --run true"; then
2165 am_missing_run="$MISSING --run "
2166 else
2167 am_missing_run=
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2169 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2172 if test x"${install_sh}" != xset; then
2173 case $am_aux_dir in
2174 *\ * | *\ *)
2175 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2177 install_sh="\${SHELL} $am_aux_dir/install-sh"
2178 esac
2181 # Installed binaries are usually stripped using `strip' when the user
2182 # run `make install-strip'. However `strip' might not be the right
2183 # tool to use in cross-compilation environments, therefore Automake
2184 # will honor the `STRIP' environment variable to overrule this program.
2185 if test "$cross_compiling" != no; then
2186 if test -n "$ac_tool_prefix"; then
2187 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2188 set dummy ${ac_tool_prefix}strip; ac_word=$2
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2190 $as_echo_n "checking for $ac_word... " >&6; }
2191 if test "${ac_cv_prog_STRIP+set}" = set; then :
2192 $as_echo_n "(cached) " >&6
2193 else
2194 if test -n "$STRIP"; then
2195 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2196 else
2197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 for as_dir in $PATH
2200 IFS=$as_save_IFS
2201 test -z "$as_dir" && as_dir=.
2202 for ac_exec_ext in '' $ac_executable_extensions; do
2203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2204 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 break 2
2208 done
2209 done
2210 IFS=$as_save_IFS
2214 STRIP=$ac_cv_prog_STRIP
2215 if test -n "$STRIP"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2217 $as_echo "$STRIP" >&6; }
2218 else
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2220 $as_echo "no" >&6; }
2225 if test -z "$ac_cv_prog_STRIP"; then
2226 ac_ct_STRIP=$STRIP
2227 # Extract the first word of "strip", so it can be a program name with args.
2228 set dummy strip; ac_word=$2
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2230 $as_echo_n "checking for $ac_word... " >&6; }
2231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2232 $as_echo_n "(cached) " >&6
2233 else
2234 if test -n "$ac_ct_STRIP"; then
2235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2236 else
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 for as_dir in $PATH
2240 IFS=$as_save_IFS
2241 test -z "$as_dir" && as_dir=.
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2244 ac_cv_prog_ac_ct_STRIP="strip"
2245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 break 2
2248 done
2249 done
2250 IFS=$as_save_IFS
2254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2255 if test -n "$ac_ct_STRIP"; then
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2257 $as_echo "$ac_ct_STRIP" >&6; }
2258 else
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2260 $as_echo "no" >&6; }
2263 if test "x$ac_ct_STRIP" = x; then
2264 STRIP=":"
2265 else
2266 case $cross_compiling:$ac_tool_warned in
2267 yes:)
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2270 ac_tool_warned=yes ;;
2271 esac
2272 STRIP=$ac_ct_STRIP
2274 else
2275 STRIP="$ac_cv_prog_STRIP"
2279 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2282 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2283 if test -z "$MKDIR_P"; then
2284 if test "${ac_cv_path_mkdir+set}" = set; then :
2285 $as_echo_n "(cached) " >&6
2286 else
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2290 IFS=$as_save_IFS
2291 test -z "$as_dir" && as_dir=.
2292 for ac_prog in mkdir gmkdir; do
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2295 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2296 'mkdir (GNU coreutils) '* | \
2297 'mkdir (coreutils) '* | \
2298 'mkdir (fileutils) '4.1*)
2299 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2300 break 3;;
2301 esac
2302 done
2303 done
2304 done
2305 IFS=$as_save_IFS
2309 if test "${ac_cv_path_mkdir+set}" = set; then
2310 MKDIR_P="$ac_cv_path_mkdir -p"
2311 else
2312 # As a last resort, use the slow shell script. Don't cache a
2313 # value for MKDIR_P within a source directory, because that will
2314 # break other packages using the cache if that directory is
2315 # removed, or if the value is a relative name.
2316 test -d ./--version && rmdir ./--version
2317 MKDIR_P="$ac_install_sh -d"
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2321 $as_echo "$MKDIR_P" >&6; }
2323 mkdir_p="$MKDIR_P"
2324 case $mkdir_p in
2325 [\\/$]* | ?:[\\/]*) ;;
2326 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2327 esac
2329 for ac_prog in gawk mawk nawk awk
2331 # Extract the first word of "$ac_prog", so it can be a program name with args.
2332 set dummy $ac_prog; ac_word=$2
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2334 $as_echo_n "checking for $ac_word... " >&6; }
2335 if test "${ac_cv_prog_AWK+set}" = set; then :
2336 $as_echo_n "(cached) " >&6
2337 else
2338 if test -n "$AWK"; then
2339 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2340 else
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 for as_dir in $PATH
2344 IFS=$as_save_IFS
2345 test -z "$as_dir" && as_dir=.
2346 for ac_exec_ext in '' $ac_executable_extensions; do
2347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348 ac_cv_prog_AWK="$ac_prog"
2349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 break 2
2352 done
2353 done
2354 IFS=$as_save_IFS
2358 AWK=$ac_cv_prog_AWK
2359 if test -n "$AWK"; then
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2361 $as_echo "$AWK" >&6; }
2362 else
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364 $as_echo "no" >&6; }
2368 test -n "$AWK" && break
2369 done
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2372 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2373 set x ${MAKE-make}
2374 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2375 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2376 $as_echo_n "(cached) " >&6
2377 else
2378 cat >conftest.make <<\_ACEOF
2379 SHELL = /bin/sh
2380 all:
2381 @echo '@@@%%%=$(MAKE)=@@@%%%'
2382 _ACEOF
2383 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2384 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2385 *@@@%%%=?*=@@@%%%*)
2386 eval ac_cv_prog_make_${ac_make}_set=yes;;
2388 eval ac_cv_prog_make_${ac_make}_set=no;;
2389 esac
2390 rm -f conftest.make
2392 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2394 $as_echo "yes" >&6; }
2395 SET_MAKE=
2396 else
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2398 $as_echo "no" >&6; }
2399 SET_MAKE="MAKE=${MAKE-make}"
2402 rm -rf .tst 2>/dev/null
2403 mkdir .tst 2>/dev/null
2404 if test -d .tst; then
2405 am__leading_dot=.
2406 else
2407 am__leading_dot=_
2409 rmdir .tst 2>/dev/null
2411 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2412 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2413 # is not polluted with repeated "-I."
2414 am__isrc=' -I$(srcdir)'
2415 # test to see if srcdir already configured
2416 if test -f $srcdir/config.status; then
2417 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2421 # test whether we have cygpath
2422 if test -z "$CYGPATH_W"; then
2423 if (cygpath --version) >/dev/null 2>/dev/null; then
2424 CYGPATH_W='cygpath -w'
2425 else
2426 CYGPATH_W=echo
2431 # Define the identity of the package.
2432 PACKAGE='gotools'
2433 VERSION='version-unused'
2436 # Some tools Automake needs.
2438 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2441 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2444 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2447 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2450 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2452 # We need awk for the "check" target. The system "awk" is bad on
2453 # some platforms.
2454 # Always define AMTAR for backward compatibility.
2456 AMTAR=${AMTAR-"${am_missing_run}tar"}
2458 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2466 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2467 # Check whether --enable-maintainer-mode was given.
2468 if test "${enable_maintainer_mode+set}" = set; then :
2469 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2470 else
2471 USE_MAINTAINER_MODE=no
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2475 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2476 if test $USE_MAINTAINER_MODE = yes; then
2477 MAINTAINER_MODE_TRUE=
2478 MAINTAINER_MODE_FALSE='#'
2479 else
2480 MAINTAINER_MODE_TRUE='#'
2481 MAINTAINER_MODE_FALSE=
2484 MAINT=$MAINTAINER_MODE_TRUE
2490 ac_ext=c
2491 ac_cpp='$CPP $CPPFLAGS'
2492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2495 if test -n "$ac_tool_prefix"; then
2496 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2497 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if test "${ac_cv_prog_CC+set}" = set; then :
2501 $as_echo_n "(cached) " >&6
2502 else
2503 if test -n "$CC"; then
2504 ac_cv_prog_CC="$CC" # Let the user override the test.
2505 else
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 for as_dir in $PATH
2509 IFS=$as_save_IFS
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 break 2
2517 done
2518 done
2519 IFS=$as_save_IFS
2523 CC=$ac_cv_prog_CC
2524 if test -n "$CC"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2526 $as_echo "$CC" >&6; }
2527 else
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2534 if test -z "$ac_cv_prog_CC"; then
2535 ac_ct_CC=$CC
2536 # Extract the first word of "gcc", so it can be a program name with args.
2537 set dummy gcc; ac_word=$2
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2541 $as_echo_n "(cached) " >&6
2542 else
2543 if test -n "$ac_ct_CC"; then
2544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2545 else
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 for as_dir in $PATH
2549 IFS=$as_save_IFS
2550 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553 ac_cv_prog_ac_ct_CC="gcc"
2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 break 2
2557 done
2558 done
2559 IFS=$as_save_IFS
2563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2564 if test -n "$ac_ct_CC"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2566 $as_echo "$ac_ct_CC" >&6; }
2567 else
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2572 if test "x$ac_ct_CC" = x; then
2573 CC=""
2574 else
2575 case $cross_compiling:$ac_tool_warned in
2576 yes:)
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2579 ac_tool_warned=yes ;;
2580 esac
2581 CC=$ac_ct_CC
2583 else
2584 CC="$ac_cv_prog_CC"
2587 if test -z "$CC"; then
2588 if test -n "$ac_tool_prefix"; then
2589 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2590 set dummy ${ac_tool_prefix}cc; ac_word=$2
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2592 $as_echo_n "checking for $ac_word... " >&6; }
2593 if test "${ac_cv_prog_CC+set}" = set; then :
2594 $as_echo_n "(cached) " >&6
2595 else
2596 if test -n "$CC"; then
2597 ac_cv_prog_CC="$CC" # Let the user override the test.
2598 else
2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 for as_dir in $PATH
2602 IFS=$as_save_IFS
2603 test -z "$as_dir" && as_dir=.
2604 for ac_exec_ext in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2606 ac_cv_prog_CC="${ac_tool_prefix}cc"
2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2608 break 2
2610 done
2611 done
2612 IFS=$as_save_IFS
2616 CC=$ac_cv_prog_CC
2617 if test -n "$CC"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2619 $as_echo "$CC" >&6; }
2620 else
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2628 if test -z "$CC"; then
2629 # Extract the first word of "cc", so it can be a program name with args.
2630 set dummy cc; ac_word=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if test "${ac_cv_prog_CC+set}" = set; then :
2634 $as_echo_n "(cached) " >&6
2635 else
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC="$CC" # Let the user override the test.
2638 else
2639 ac_prog_rejected=no
2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 for as_dir in $PATH
2643 IFS=$as_save_IFS
2644 test -z "$as_dir" && as_dir=.
2645 for ac_exec_ext in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2648 ac_prog_rejected=yes
2649 continue
2651 ac_cv_prog_CC="cc"
2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 break 2
2655 done
2656 done
2657 IFS=$as_save_IFS
2659 if test $ac_prog_rejected = yes; then
2660 # We found a bogon in the path, so make sure we never use it.
2661 set dummy $ac_cv_prog_CC
2662 shift
2663 if test $# != 0; then
2664 # We chose a different compiler from the bogus one.
2665 # However, it has the same basename, so the bogon will be chosen
2666 # first if we set CC to just the basename; use the full file name.
2667 shift
2668 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2673 CC=$ac_cv_prog_CC
2674 if test -n "$CC"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2676 $as_echo "$CC" >&6; }
2677 else
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2684 if test -z "$CC"; then
2685 if test -n "$ac_tool_prefix"; then
2686 for ac_prog in cl.exe
2688 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2689 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if test "${ac_cv_prog_CC+set}" = set; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC="$CC" # Let the user override the test.
2697 else
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 for as_dir in $PATH
2701 IFS=$as_save_IFS
2702 test -z "$as_dir" && as_dir=.
2703 for ac_exec_ext in '' $ac_executable_extensions; do
2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 break 2
2709 done
2710 done
2711 IFS=$as_save_IFS
2715 CC=$ac_cv_prog_CC
2716 if test -n "$CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2719 else
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2725 test -n "$CC" && break
2726 done
2728 if test -z "$CC"; then
2729 ac_ct_CC=$CC
2730 for ac_prog in cl.exe
2732 # Extract the first word of "$ac_prog", so it can be a program name with args.
2733 set dummy $ac_prog; ac_word=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2737 $as_echo_n "(cached) " >&6
2738 else
2739 if test -n "$ac_ct_CC"; then
2740 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2741 else
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 for as_dir in $PATH
2745 IFS=$as_save_IFS
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_ac_ct_CC="$ac_prog"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 break 2
2753 done
2754 done
2755 IFS=$as_save_IFS
2759 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2760 if test -n "$ac_ct_CC"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2762 $as_echo "$ac_ct_CC" >&6; }
2763 else
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2769 test -n "$ac_ct_CC" && break
2770 done
2772 if test "x$ac_ct_CC" = x; then
2773 CC=""
2774 else
2775 case $cross_compiling:$ac_tool_warned in
2776 yes:)
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2779 ac_tool_warned=yes ;;
2780 esac
2781 CC=$ac_ct_CC
2788 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2790 as_fn_error "no acceptable C compiler found in \$PATH
2791 See \`config.log' for more details." "$LINENO" 5; }
2793 # Provide some information about the compiler.
2794 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2795 set X $ac_compile
2796 ac_compiler=$2
2797 for ac_option in --version -v -V -qversion; do
2798 { { ac_try="$ac_compiler $ac_option >&5"
2799 case "(($ac_try" in
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2802 esac
2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
2805 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2806 ac_status=$?
2807 if test -s conftest.err; then
2808 sed '10a\
2809 ... rest of stderr output deleted ...
2810 10q' conftest.err >conftest.er1
2811 cat conftest.er1 >&5
2812 rm -f conftest.er1 conftest.err
2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815 test $ac_status = 0; }
2816 done
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2822 main ()
2826 return 0;
2828 _ACEOF
2829 ac_clean_files_save=$ac_clean_files
2830 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2831 # Try to create an executable without -o first, disregard a.out.
2832 # It will help us diagnose broken compilers, and finding out an intuition
2833 # of exeext.
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2835 $as_echo_n "checking for C compiler default output file name... " >&6; }
2836 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2838 # The possible output files:
2839 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2841 ac_rmfiles=
2842 for ac_file in $ac_files
2844 case $ac_file in
2845 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2846 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2847 esac
2848 done
2849 rm -f $ac_rmfiles
2851 if { { ac_try="$ac_link_default"
2852 case "(($ac_try" in
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2855 esac
2856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2857 $as_echo "$ac_try_echo"; } >&5
2858 (eval "$ac_link_default") 2>&5
2859 ac_status=$?
2860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2861 test $ac_status = 0; }; then :
2862 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2863 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2864 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2865 # so that the user can short-circuit this test for compilers unknown to
2866 # Autoconf.
2867 for ac_file in $ac_files ''
2869 test -f "$ac_file" || continue
2870 case $ac_file in
2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2873 [ab].out )
2874 # We found the default executable, but exeext='' is most
2875 # certainly right.
2876 break;;
2877 *.* )
2878 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2879 then :; else
2880 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2882 # We set ac_cv_exeext here because the later test for it is not
2883 # safe: cross compilers may not add the suffix if given an `-o'
2884 # argument, so we may need to know it at that point already.
2885 # Even if this section looks crufty: it has the advantage of
2886 # actually working.
2887 break;;
2889 break;;
2890 esac
2891 done
2892 test "$ac_cv_exeext" = no && ac_cv_exeext=
2894 else
2895 ac_file=''
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2898 $as_echo "$ac_file" >&6; }
2899 if test -z "$ac_file"; then :
2900 $as_echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 { as_fn_set_status 77
2906 as_fn_error "C compiler cannot create executables
2907 See \`config.log' for more details." "$LINENO" 5; }; }
2909 ac_exeext=$ac_cv_exeext
2911 # Check that the compiler produces executables we can run. If not, either
2912 # the compiler is broken, or we cross compile.
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2914 $as_echo_n "checking whether the C compiler works... " >&6; }
2915 # If not cross compiling, check that we can run a simple program.
2916 if test "$cross_compiling" != yes; then
2917 if { ac_try='./$ac_file'
2918 { { case "(($ac_try" in
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;;
2921 esac
2922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2923 $as_echo "$ac_try_echo"; } >&5
2924 (eval "$ac_try") 2>&5
2925 ac_status=$?
2926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 test $ac_status = 0; }; }; then
2928 cross_compiling=no
2929 else
2930 if test "$cross_compiling" = maybe; then
2931 cross_compiling=yes
2932 else
2933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935 as_fn_error "cannot run C compiled programs.
2936 If you meant to cross compile, use \`--host'.
2937 See \`config.log' for more details." "$LINENO" 5; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2942 $as_echo "yes" >&6; }
2944 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2945 ac_clean_files=$ac_clean_files_save
2946 # Check that the compiler produces executables we can run. If not, either
2947 # the compiler is broken, or we cross compile.
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2949 $as_echo_n "checking whether we are cross compiling... " >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2951 $as_echo "$cross_compiling" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2954 $as_echo_n "checking for suffix of executables... " >&6; }
2955 if { { ac_try="$ac_link"
2956 case "(($ac_try" in
2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2959 esac
2960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2961 $as_echo "$ac_try_echo"; } >&5
2962 (eval "$ac_link") 2>&5
2963 ac_status=$?
2964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2965 test $ac_status = 0; }; then :
2966 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2967 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2968 # work properly (i.e., refer to `conftest.exe'), while it won't with
2969 # `rm'.
2970 for ac_file in conftest.exe conftest conftest.*; do
2971 test -f "$ac_file" || continue
2972 case $ac_file in
2973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2974 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2975 break;;
2976 * ) break;;
2977 esac
2978 done
2979 else
2980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2982 as_fn_error "cannot compute suffix of executables: cannot compile and link
2983 See \`config.log' for more details." "$LINENO" 5; }
2985 rm -f conftest$ac_cv_exeext
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2987 $as_echo "$ac_cv_exeext" >&6; }
2989 rm -f conftest.$ac_ext
2990 EXEEXT=$ac_cv_exeext
2991 ac_exeext=$EXEEXT
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2993 $as_echo_n "checking for suffix of object files... " >&6; }
2994 if test "${ac_cv_objext+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3001 main ()
3005 return 0;
3007 _ACEOF
3008 rm -f conftest.o conftest.obj
3009 if { { ac_try="$ac_compile"
3010 case "(($ac_try" in
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3013 esac
3014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3015 $as_echo "$ac_try_echo"; } >&5
3016 (eval "$ac_compile") 2>&5
3017 ac_status=$?
3018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3019 test $ac_status = 0; }; then :
3020 for ac_file in conftest.o conftest.obj conftest.*; do
3021 test -f "$ac_file" || continue;
3022 case $ac_file in
3023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3024 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3025 break;;
3026 esac
3027 done
3028 else
3029 $as_echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3034 as_fn_error "cannot compute suffix of object files: cannot compile
3035 See \`config.log' for more details." "$LINENO" 5; }
3037 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3040 $as_echo "$ac_cv_objext" >&6; }
3041 OBJEXT=$ac_cv_objext
3042 ac_objext=$OBJEXT
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3044 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3045 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3046 $as_echo_n "(cached) " >&6
3047 else
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3052 main ()
3054 #ifndef __GNUC__
3055 choke me
3056 #endif
3059 return 0;
3061 _ACEOF
3062 if ac_fn_c_try_compile "$LINENO"; then :
3063 ac_compiler_gnu=yes
3064 else
3065 ac_compiler_gnu=no
3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3072 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3073 if test $ac_compiler_gnu = yes; then
3074 GCC=yes
3075 else
3076 GCC=
3078 ac_test_CFLAGS=${CFLAGS+set}
3079 ac_save_CFLAGS=$CFLAGS
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3081 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3082 if test "${ac_cv_prog_cc_g+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 ac_save_c_werror_flag=$ac_c_werror_flag
3086 ac_c_werror_flag=yes
3087 ac_cv_prog_cc_g=no
3088 CFLAGS="-g"
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3093 main ()
3097 return 0;
3099 _ACEOF
3100 if ac_fn_c_try_compile "$LINENO"; then :
3101 ac_cv_prog_cc_g=yes
3102 else
3103 CFLAGS=""
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3108 main ()
3112 return 0;
3114 _ACEOF
3115 if ac_fn_c_try_compile "$LINENO"; then :
3117 else
3118 ac_c_werror_flag=$ac_save_c_werror_flag
3119 CFLAGS="-g"
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3124 main ()
3128 return 0;
3130 _ACEOF
3131 if ac_fn_c_try_compile "$LINENO"; then :
3132 ac_cv_prog_cc_g=yes
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3139 ac_c_werror_flag=$ac_save_c_werror_flag
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3142 $as_echo "$ac_cv_prog_cc_g" >&6; }
3143 if test "$ac_test_CFLAGS" = set; then
3144 CFLAGS=$ac_save_CFLAGS
3145 elif test $ac_cv_prog_cc_g = yes; then
3146 if test "$GCC" = yes; then
3147 CFLAGS="-g -O2"
3148 else
3149 CFLAGS="-g"
3151 else
3152 if test "$GCC" = yes; then
3153 CFLAGS="-O2"
3154 else
3155 CFLAGS=
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3159 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3160 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3162 else
3163 ac_cv_prog_cc_c89=no
3164 ac_save_CC=$CC
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3167 #include <stdarg.h>
3168 #include <stdio.h>
3169 #include <sys/types.h>
3170 #include <sys/stat.h>
3171 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3172 struct buf { int x; };
3173 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3174 static char *e (p, i)
3175 char **p;
3176 int i;
3178 return p[i];
3180 static char *f (char * (*g) (char **, int), char **p, ...)
3182 char *s;
3183 va_list v;
3184 va_start (v,p);
3185 s = g (p, va_arg (v,int));
3186 va_end (v);
3187 return s;
3190 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3191 function prototypes and stuff, but not '\xHH' hex character constants.
3192 These don't provoke an error unfortunately, instead are silently treated
3193 as 'x'. The following induces an error, until -std is added to get
3194 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3195 array size at least. It's necessary to write '\x00'==0 to get something
3196 that's true only with -std. */
3197 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3199 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3200 inside strings and character constants. */
3201 #define FOO(x) 'x'
3202 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3204 int test (int i, double x);
3205 struct s1 {int (*f) (int a);};
3206 struct s2 {int (*f) (double a);};
3207 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3208 int argc;
3209 char **argv;
3211 main ()
3213 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3215 return 0;
3217 _ACEOF
3218 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3219 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3221 CC="$ac_save_CC $ac_arg"
3222 if ac_fn_c_try_compile "$LINENO"; then :
3223 ac_cv_prog_cc_c89=$ac_arg
3225 rm -f core conftest.err conftest.$ac_objext
3226 test "x$ac_cv_prog_cc_c89" != "xno" && break
3227 done
3228 rm -f conftest.$ac_ext
3229 CC=$ac_save_CC
3232 # AC_CACHE_VAL
3233 case "x$ac_cv_prog_cc_c89" in
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3236 $as_echo "none needed" >&6; } ;;
3237 xno)
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3239 $as_echo "unsupported" >&6; } ;;
3241 CC="$CC $ac_cv_prog_cc_c89"
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3243 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3244 esac
3245 if test "x$ac_cv_prog_cc_c89" != xno; then :
3249 ac_ext=c
3250 ac_cpp='$CPP $CPPFLAGS'
3251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3254 DEPDIR="${am__leading_dot}deps"
3256 ac_config_commands="$ac_config_commands depfiles"
3259 am_make=${MAKE-make}
3260 cat > confinc << 'END'
3261 am__doit:
3262 @echo this is the am__doit target
3263 .PHONY: am__doit
3265 # If we don't find an include directive, just comment out the code.
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3267 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3268 am__include="#"
3269 am__quote=
3270 _am_result=none
3271 # First try GNU make style include.
3272 echo "include confinc" > confmf
3273 # Ignore all kinds of additional output from `make'.
3274 case `$am_make -s -f confmf 2> /dev/null` in #(
3275 *the\ am__doit\ target*)
3276 am__include=include
3277 am__quote=
3278 _am_result=GNU
3280 esac
3281 # Now try BSD make style include.
3282 if test "$am__include" = "#"; then
3283 echo '.include "confinc"' > confmf
3284 case `$am_make -s -f confmf 2> /dev/null` in #(
3285 *the\ am__doit\ target*)
3286 am__include=.include
3287 am__quote="\""
3288 _am_result=BSD
3290 esac
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3295 $as_echo "$_am_result" >&6; }
3296 rm -f confinc confmf
3298 # Check whether --enable-dependency-tracking was given.
3299 if test "${enable_dependency_tracking+set}" = set; then :
3300 enableval=$enable_dependency_tracking;
3303 if test "x$enable_dependency_tracking" != xno; then
3304 am_depcomp="$ac_aux_dir/depcomp"
3305 AMDEPBACKSLASH='\'
3307 if test "x$enable_dependency_tracking" != xno; then
3308 AMDEP_TRUE=
3309 AMDEP_FALSE='#'
3310 else
3311 AMDEP_TRUE='#'
3312 AMDEP_FALSE=
3317 depcc="$CC" am_compiler_list=
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3320 $as_echo_n "checking dependency style of $depcc... " >&6; }
3321 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3322 $as_echo_n "(cached) " >&6
3323 else
3324 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3325 # We make a subdir and do the tests there. Otherwise we can end up
3326 # making bogus files that we don't know about and never remove. For
3327 # instance it was reported that on HP-UX the gcc test will end up
3328 # making a dummy file named `D' -- because `-MD' means `put the output
3329 # in D'.
3330 mkdir conftest.dir
3331 # Copy depcomp to subdir because otherwise we won't find it if we're
3332 # using a relative directory.
3333 cp "$am_depcomp" conftest.dir
3334 cd conftest.dir
3335 # We will build objects and dependencies in a subdirectory because
3336 # it helps to detect inapplicable dependency modes. For instance
3337 # both Tru64's cc and ICC support -MD to output dependencies as a
3338 # side effect of compilation, but ICC will put the dependencies in
3339 # the current directory while Tru64 will put them in the object
3340 # directory.
3341 mkdir sub
3343 am_cv_CC_dependencies_compiler_type=none
3344 if test "$am_compiler_list" = ""; then
3345 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3347 am__universal=false
3348 case " $depcc " in #(
3349 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3350 esac
3352 for depmode in $am_compiler_list; do
3353 # Setup a source with many dependencies, because some compilers
3354 # like to wrap large dependency lists on column 80 (with \), and
3355 # we should not choose a depcomp mode which is confused by this.
3357 # We need to recreate these files for each test, as the compiler may
3358 # overwrite some of them when testing with obscure command lines.
3359 # This happens at least with the AIX C compiler.
3360 : > sub/conftest.c
3361 for i in 1 2 3 4 5 6; do
3362 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3363 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3364 # Solaris 8's {/usr,}/bin/sh.
3365 touch sub/conftst$i.h
3366 done
3367 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3369 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3370 # mode. It turns out that the SunPro C++ compiler does not properly
3371 # handle `-M -o', and we need to detect this. Also, some Intel
3372 # versions had trouble with output in subdirs
3373 am__obj=sub/conftest.${OBJEXT-o}
3374 am__minus_obj="-o $am__obj"
3375 case $depmode in
3376 gcc)
3377 # This depmode causes a compiler race in universal mode.
3378 test "$am__universal" = false || continue
3380 nosideeffect)
3381 # after this tag, mechanisms are not by side-effect, so they'll
3382 # only be used when explicitly requested
3383 if test "x$enable_dependency_tracking" = xyes; then
3384 continue
3385 else
3386 break
3389 msvisualcpp | msvcmsys)
3390 # This compiler won't grok `-c -o', but also, the minuso test has
3391 # not run yet. These depmodes are late enough in the game, and
3392 # so weak that their functioning should not be impacted.
3393 am__obj=conftest.${OBJEXT-o}
3394 am__minus_obj=
3396 none) break ;;
3397 esac
3398 if depmode=$depmode \
3399 source=sub/conftest.c object=$am__obj \
3400 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3401 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3402 >/dev/null 2>conftest.err &&
3403 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3404 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3405 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3406 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3407 # icc doesn't choke on unknown options, it will just issue warnings
3408 # or remarks (even with -Werror). So we grep stderr for any message
3409 # that says an option was ignored or not supported.
3410 # When given -MP, icc 7.0 and 7.1 complain thusly:
3411 # icc: Command line warning: ignoring option '-M'; no argument required
3412 # The diagnosis changed in icc 8.0:
3413 # icc: Command line remark: option '-MP' not supported
3414 if (grep 'ignoring option' conftest.err ||
3415 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3416 am_cv_CC_dependencies_compiler_type=$depmode
3417 break
3420 done
3422 cd ..
3423 rm -rf conftest.dir
3424 else
3425 am_cv_CC_dependencies_compiler_type=none
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3430 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3431 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3434 test "x$enable_dependency_tracking" != xno \
3435 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3436 am__fastdepCC_TRUE=
3437 am__fastdepCC_FALSE='#'
3438 else
3439 am__fastdepCC_TRUE='#'
3440 am__fastdepCC_FALSE=
3444 ac_ext=go
3445 ac_compile='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3446 ac_link='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compile_gnu=yes
3448 if test -n "$ac_tool_prefix"; then
3449 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3450 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452 $as_echo_n "checking for $ac_word... " >&6; }
3453 if test "${ac_cv_prog_GOC+set}" = set; then :
3454 $as_echo_n "(cached) " >&6
3455 else
3456 if test -n "$GOC"; then
3457 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3458 else
3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3460 for as_dir in $PATH
3462 IFS=$as_save_IFS
3463 test -z "$as_dir" && as_dir=.
3464 for ac_exec_ext in '' $ac_executable_extensions; do
3465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3466 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
3467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3468 break 2
3470 done
3471 done
3472 IFS=$as_save_IFS
3476 GOC=$ac_cv_prog_GOC
3477 if test -n "$GOC"; then
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3479 $as_echo "$GOC" >&6; }
3480 else
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482 $as_echo "no" >&6; }
3487 if test -z "$ac_cv_prog_GOC"; then
3488 ac_ct_GOC=$GOC
3489 # Extract the first word of "gccgo", so it can be a program name with args.
3490 set dummy gccgo; ac_word=$2
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3492 $as_echo_n "checking for $ac_word... " >&6; }
3493 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3494 $as_echo_n "(cached) " >&6
3495 else
3496 if test -n "$ac_ct_GOC"; then
3497 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
3498 else
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3502 IFS=$as_save_IFS
3503 test -z "$as_dir" && as_dir=.
3504 for ac_exec_ext in '' $ac_executable_extensions; do
3505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3506 ac_cv_prog_ac_ct_GOC="gccgo"
3507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3508 break 2
3510 done
3511 done
3512 IFS=$as_save_IFS
3516 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
3517 if test -n "$ac_ct_GOC"; then
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3519 $as_echo "$ac_ct_GOC" >&6; }
3520 else
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3522 $as_echo "no" >&6; }
3525 if test "x$ac_ct_GOC" = x; then
3526 GOC=""
3527 else
3528 case $cross_compiling:$ac_tool_warned in
3529 yes:)
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3532 ac_tool_warned=yes ;;
3533 esac
3534 GOC=$ac_ct_GOC
3536 else
3537 GOC="$ac_cv_prog_GOC"
3540 if test -z "$GOC"; then
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if test "${ac_cv_prog_GOC+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 if test -n "$GOC"; then
3550 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3555 IFS=$as_save_IFS
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559 ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 break 2
3563 done
3564 done
3565 IFS=$as_save_IFS
3569 GOC=$ac_cv_prog_GOC
3570 if test -n "$GOC"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3572 $as_echo "$GOC" >&6; }
3573 else
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3581 if test -z "$GOC"; then
3582 # Extract the first word of "gccgo", so it can be a program name with args.
3583 set dummy gccgo; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if test "${ac_cv_prog_GOC+set}" = set; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 if test -n "$GOC"; then
3590 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3591 else
3592 ac_prog_rejected=no
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 for as_dir in $PATH
3596 IFS=$as_save_IFS
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
3601 ac_prog_rejected=yes
3602 continue
3604 ac_cv_prog_GOC="gccgo"
3605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 break 2
3608 done
3609 done
3610 IFS=$as_save_IFS
3612 if test $ac_prog_rejected = yes; then
3613 # We found a bogon in the path, so make sure we never use it.
3614 set dummy $ac_cv_prog_GOC
3615 shift
3616 if test $# != 0; then
3617 # We chose a different compiler from the bogus one.
3618 # However, it has the same basename, so the bogon will be chosen
3619 # first if we set GOC to just the basename; use the full file name.
3620 shift
3621 ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
3626 GOC=$ac_cv_prog_GOC
3627 if test -n "$GOC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3629 $as_echo "$GOC" >&6; }
3630 else
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3639 # Provide some information about the compiler.
3640 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
3641 set X $ac_compile
3642 ac_compiler=$2
3643 { { ac_try="$ac_compiler --version >&5"
3644 case "(($ac_try" in
3645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3646 *) ac_try_echo=$ac_try;;
3647 esac
3648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3649 $as_echo "$ac_try_echo"; } >&5
3650 (eval "$ac_compiler --version >&5") 2>conftest.err
3651 ac_status=$?
3652 if test -s conftest.err; then
3653 sed '10a\
3654 ... rest of stderr output deleted ...
3655 10q' conftest.err >conftest.er1
3656 cat conftest.er1 >&5
3657 rm -f conftest.er1 conftest.err
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }
3661 GOCFLAGS="-g -O2"
3662 ac_ext=c
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3669 if test "$cross_compiling" = no; then
3670 NATIVE_TRUE=
3671 NATIVE_FALSE='#'
3672 else
3673 NATIVE_TRUE='#'
3674 NATIVE_FALSE=
3678 ac_config_files="$ac_config_files Makefile"
3681 cat >confcache <<\_ACEOF
3682 # This file is a shell script that caches the results of configure
3683 # tests run on this system so they can be shared between configure
3684 # scripts and configure runs, see configure's option --config-cache.
3685 # It is not useful on other systems. If it contains results you don't
3686 # want to keep, you may remove or edit it.
3688 # config.status only pays attention to the cache file if you give it
3689 # the --recheck option to rerun configure.
3691 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3692 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3693 # following values.
3695 _ACEOF
3697 # The following way of writing the cache mishandles newlines in values,
3698 # but we know of no workaround that is simple, portable, and efficient.
3699 # So, we kill variables containing newlines.
3700 # Ultrix sh set writes to stderr and can't be redirected directly,
3701 # and sets the high bit in the cache file unless we assign to the vars.
3703 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3704 eval ac_val=\$$ac_var
3705 case $ac_val in #(
3706 *${as_nl}*)
3707 case $ac_var in #(
3708 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3709 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3710 esac
3711 case $ac_var in #(
3712 _ | IFS | as_nl) ;; #(
3713 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3714 *) { eval $ac_var=; unset $ac_var;} ;;
3715 esac ;;
3716 esac
3717 done
3719 (set) 2>&1 |
3720 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3721 *${as_nl}ac_space=\ *)
3722 # `set' does not quote correctly, so add quotes: double-quote
3723 # substitution turns \\\\ into \\, and sed turns \\ into \.
3724 sed -n \
3725 "s/'/'\\\\''/g;
3726 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3727 ;; #(
3729 # `set' quotes correctly as required by POSIX, so do not add quotes.
3730 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3732 esac |
3733 sort
3735 sed '
3736 /^ac_cv_env_/b end
3737 t clear
3738 :clear
3739 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3740 t end
3741 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3742 :end' >>confcache
3743 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3744 if test -w "$cache_file"; then
3745 test "x$cache_file" != "x/dev/null" &&
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3747 $as_echo "$as_me: updating cache $cache_file" >&6;}
3748 cat confcache >$cache_file
3749 else
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3751 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3754 rm -f confcache
3756 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3757 # Let make expand exec_prefix.
3758 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3760 # Transform confdefs.h into DEFS.
3761 # Protect against shell expansion while executing Makefile rules.
3762 # Protect against Makefile macro expansion.
3764 # If the first sed substitution is executed (which looks for macros that
3765 # take arguments), then branch to the quote section. Otherwise,
3766 # look for a macro that doesn't take arguments.
3767 ac_script='
3768 :mline
3769 /\\$/{
3771 s,\\\n,,
3772 b mline
3774 t clear
3775 :clear
3776 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3777 t quote
3778 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3779 t quote
3780 b any
3781 :quote
3782 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3783 s/\[/\\&/g
3784 s/\]/\\&/g
3785 s/\$/$$/g
3787 :any
3790 s/^\n//
3791 s/\n/ /g
3795 DEFS=`sed -n "$ac_script" confdefs.h`
3798 ac_libobjs=
3799 ac_ltlibobjs=
3800 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3801 # 1. Remove the extension, and $U if already installed.
3802 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3803 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3804 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3805 # will be set to the directory where LIBOBJS objects are built.
3806 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3807 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3808 done
3809 LIBOBJS=$ac_libobjs
3811 LTLIBOBJS=$ac_ltlibobjs
3814 if test -n "$EXEEXT"; then
3815 am__EXEEXT_TRUE=
3816 am__EXEEXT_FALSE='#'
3817 else
3818 am__EXEEXT_TRUE='#'
3819 am__EXEEXT_FALSE=
3822 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3823 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
3824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3826 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3827 as_fn_error "conditional \"AMDEP\" was never defined.
3828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3830 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3831 as_fn_error "conditional \"am__fastdepCC\" was never defined.
3832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3834 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
3835 as_fn_error "conditional \"NATIVE\" was never defined.
3836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3839 : ${CONFIG_STATUS=./config.status}
3840 ac_write_fail=0
3841 ac_clean_files_save=$ac_clean_files
3842 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3844 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3845 as_write_fail=0
3846 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3847 #! $SHELL
3848 # Generated by $as_me.
3849 # Run this file to recreate the current configuration.
3850 # Compiler output produced by configure, useful for debugging
3851 # configure, is in config.log if it exists.
3853 debug=false
3854 ac_cs_recheck=false
3855 ac_cs_silent=false
3857 SHELL=\${CONFIG_SHELL-$SHELL}
3858 export SHELL
3859 _ASEOF
3860 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3861 ## -------------------- ##
3862 ## M4sh Initialization. ##
3863 ## -------------------- ##
3865 # Be more Bourne compatible
3866 DUALCASE=1; export DUALCASE # for MKS sh
3867 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3868 emulate sh
3869 NULLCMD=:
3870 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3871 # is contrary to our usage. Disable this feature.
3872 alias -g '${1+"$@"}'='"$@"'
3873 setopt NO_GLOB_SUBST
3874 else
3875 case `(set -o) 2>/dev/null` in #(
3876 *posix*) :
3877 set -o posix ;; #(
3878 *) :
3880 esac
3884 as_nl='
3886 export as_nl
3887 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3888 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3889 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3890 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3891 # Prefer a ksh shell builtin over an external printf program on Solaris,
3892 # but without wasting forks for bash or zsh.
3893 if test -z "$BASH_VERSION$ZSH_VERSION" \
3894 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3895 as_echo='print -r --'
3896 as_echo_n='print -rn --'
3897 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3898 as_echo='printf %s\n'
3899 as_echo_n='printf %s'
3900 else
3901 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3902 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3903 as_echo_n='/usr/ucb/echo -n'
3904 else
3905 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3906 as_echo_n_body='eval
3907 arg=$1;
3908 case $arg in #(
3909 *"$as_nl"*)
3910 expr "X$arg" : "X\\(.*\\)$as_nl";
3911 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3912 esac;
3913 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3915 export as_echo_n_body
3916 as_echo_n='sh -c $as_echo_n_body as_echo'
3918 export as_echo_body
3919 as_echo='sh -c $as_echo_body as_echo'
3922 # The user is always right.
3923 if test "${PATH_SEPARATOR+set}" != set; then
3924 PATH_SEPARATOR=:
3925 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3926 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3927 PATH_SEPARATOR=';'
3932 # IFS
3933 # We need space, tab and new line, in precisely that order. Quoting is
3934 # there to prevent editors from complaining about space-tab.
3935 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3936 # splitting by setting IFS to empty value.)
3937 IFS=" "" $as_nl"
3939 # Find who we are. Look in the path if we contain no directory separator.
3940 case $0 in #((
3941 *[\\/]* ) as_myself=$0 ;;
3942 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943 for as_dir in $PATH
3945 IFS=$as_save_IFS
3946 test -z "$as_dir" && as_dir=.
3947 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3948 done
3949 IFS=$as_save_IFS
3952 esac
3953 # We did not find ourselves, most probably we were run as `sh COMMAND'
3954 # in which case we are not to be found in the path.
3955 if test "x$as_myself" = x; then
3956 as_myself=$0
3958 if test ! -f "$as_myself"; then
3959 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3960 exit 1
3963 # Unset variables that we do not need and which cause bugs (e.g. in
3964 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3965 # suppresses any "Segmentation fault" message there. '((' could
3966 # trigger a bug in pdksh 5.2.14.
3967 for as_var in BASH_ENV ENV MAIL MAILPATH
3968 do eval test x\${$as_var+set} = xset \
3969 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3970 done
3971 PS1='$ '
3972 PS2='> '
3973 PS4='+ '
3975 # NLS nuisances.
3976 LC_ALL=C
3977 export LC_ALL
3978 LANGUAGE=C
3979 export LANGUAGE
3981 # CDPATH.
3982 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3985 # as_fn_error ERROR [LINENO LOG_FD]
3986 # ---------------------------------
3987 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3988 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3989 # script with status $?, using 1 if that was 0.
3990 as_fn_error ()
3992 as_status=$?; test $as_status -eq 0 && as_status=1
3993 if test "$3"; then
3994 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3995 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3997 $as_echo "$as_me: error: $1" >&2
3998 as_fn_exit $as_status
3999 } # as_fn_error
4002 # as_fn_set_status STATUS
4003 # -----------------------
4004 # Set $? to STATUS, without forking.
4005 as_fn_set_status ()
4007 return $1
4008 } # as_fn_set_status
4010 # as_fn_exit STATUS
4011 # -----------------
4012 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4013 as_fn_exit ()
4015 set +e
4016 as_fn_set_status $1
4017 exit $1
4018 } # as_fn_exit
4020 # as_fn_unset VAR
4021 # ---------------
4022 # Portably unset VAR.
4023 as_fn_unset ()
4025 { eval $1=; unset $1;}
4027 as_unset=as_fn_unset
4028 # as_fn_append VAR VALUE
4029 # ----------------------
4030 # Append the text in VALUE to the end of the definition contained in VAR. Take
4031 # advantage of any shell optimizations that allow amortized linear growth over
4032 # repeated appends, instead of the typical quadratic growth present in naive
4033 # implementations.
4034 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4035 eval 'as_fn_append ()
4037 eval $1+=\$2
4039 else
4040 as_fn_append ()
4042 eval $1=\$$1\$2
4044 fi # as_fn_append
4046 # as_fn_arith ARG...
4047 # ------------------
4048 # Perform arithmetic evaluation on the ARGs, and store the result in the
4049 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4050 # must be portable across $(()) and expr.
4051 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4052 eval 'as_fn_arith ()
4054 as_val=$(( $* ))
4056 else
4057 as_fn_arith ()
4059 as_val=`expr "$@" || test $? -eq 1`
4061 fi # as_fn_arith
4064 if expr a : '\(a\)' >/dev/null 2>&1 &&
4065 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4066 as_expr=expr
4067 else
4068 as_expr=false
4071 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4072 as_basename=basename
4073 else
4074 as_basename=false
4077 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4078 as_dirname=dirname
4079 else
4080 as_dirname=false
4083 as_me=`$as_basename -- "$0" ||
4084 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4085 X"$0" : 'X\(//\)$' \| \
4086 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4087 $as_echo X/"$0" |
4088 sed '/^.*\/\([^/][^/]*\)\/*$/{
4089 s//\1/
4092 /^X\/\(\/\/\)$/{
4093 s//\1/
4096 /^X\/\(\/\).*/{
4097 s//\1/
4100 s/.*/./; q'`
4102 # Avoid depending upon Character Ranges.
4103 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4104 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4105 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4106 as_cr_digits='0123456789'
4107 as_cr_alnum=$as_cr_Letters$as_cr_digits
4109 ECHO_C= ECHO_N= ECHO_T=
4110 case `echo -n x` in #(((((
4111 -n*)
4112 case `echo 'xy\c'` in
4113 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4114 xy) ECHO_C='\c';;
4115 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4116 ECHO_T=' ';;
4117 esac;;
4119 ECHO_N='-n';;
4120 esac
4122 rm -f conf$$ conf$$.exe conf$$.file
4123 if test -d conf$$.dir; then
4124 rm -f conf$$.dir/conf$$.file
4125 else
4126 rm -f conf$$.dir
4127 mkdir conf$$.dir 2>/dev/null
4129 if (echo >conf$$.file) 2>/dev/null; then
4130 if ln -s conf$$.file conf$$ 2>/dev/null; then
4131 as_ln_s='ln -s'
4132 # ... but there are two gotchas:
4133 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4134 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4135 # In both cases, we have to default to `cp -p'.
4136 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4137 as_ln_s='cp -p'
4138 elif ln conf$$.file conf$$ 2>/dev/null; then
4139 as_ln_s=ln
4140 else
4141 as_ln_s='cp -p'
4143 else
4144 as_ln_s='cp -p'
4146 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4147 rmdir conf$$.dir 2>/dev/null
4150 # as_fn_mkdir_p
4151 # -------------
4152 # Create "$as_dir" as a directory, including parents if necessary.
4153 as_fn_mkdir_p ()
4156 case $as_dir in #(
4157 -*) as_dir=./$as_dir;;
4158 esac
4159 test -d "$as_dir" || eval $as_mkdir_p || {
4160 as_dirs=
4161 while :; do
4162 case $as_dir in #(
4163 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4164 *) as_qdir=$as_dir;;
4165 esac
4166 as_dirs="'$as_qdir' $as_dirs"
4167 as_dir=`$as_dirname -- "$as_dir" ||
4168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4169 X"$as_dir" : 'X\(//\)[^/]' \| \
4170 X"$as_dir" : 'X\(//\)$' \| \
4171 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4172 $as_echo X"$as_dir" |
4173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4174 s//\1/
4177 /^X\(\/\/\)[^/].*/{
4178 s//\1/
4181 /^X\(\/\/\)$/{
4182 s//\1/
4185 /^X\(\/\).*/{
4186 s//\1/
4189 s/.*/./; q'`
4190 test -d "$as_dir" && break
4191 done
4192 test -z "$as_dirs" || eval "mkdir $as_dirs"
4193 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4196 } # as_fn_mkdir_p
4197 if mkdir -p . 2>/dev/null; then
4198 as_mkdir_p='mkdir -p "$as_dir"'
4199 else
4200 test -d ./-p && rmdir ./-p
4201 as_mkdir_p=false
4204 if test -x / >/dev/null 2>&1; then
4205 as_test_x='test -x'
4206 else
4207 if ls -dL / >/dev/null 2>&1; then
4208 as_ls_L_option=L
4209 else
4210 as_ls_L_option=
4212 as_test_x='
4213 eval sh -c '\''
4214 if test -d "$1"; then
4215 test -d "$1/.";
4216 else
4217 case $1 in #(
4218 -*)set "./$1";;
4219 esac;
4220 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4221 ???[sx]*):;;*)false;;esac;fi
4222 '\'' sh
4225 as_executable_p=$as_test_x
4227 # Sed expression to map a string onto a valid CPP name.
4228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4230 # Sed expression to map a string onto a valid variable name.
4231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4234 exec 6>&1
4235 ## ----------------------------------- ##
4236 ## Main body of $CONFIG_STATUS script. ##
4237 ## ----------------------------------- ##
4238 _ASEOF
4239 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4242 # Save the log message, to keep $0 and so on meaningful, and to
4243 # report actual input values of CONFIG_FILES etc. instead of their
4244 # values after options handling.
4245 ac_log="
4246 This file was extended by package-unused $as_me version-unused, which was
4247 generated by GNU Autoconf 2.64. Invocation command line was
4249 CONFIG_FILES = $CONFIG_FILES
4250 CONFIG_HEADERS = $CONFIG_HEADERS
4251 CONFIG_LINKS = $CONFIG_LINKS
4252 CONFIG_COMMANDS = $CONFIG_COMMANDS
4253 $ $0 $@
4255 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4258 _ACEOF
4260 case $ac_config_files in *"
4261 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4262 esac
4266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4267 # Files that config.status was made for.
4268 config_files="$ac_config_files"
4269 config_commands="$ac_config_commands"
4271 _ACEOF
4273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4274 ac_cs_usage="\
4275 \`$as_me' instantiates files and other configuration actions
4276 from templates according to the current configuration. Unless the files
4277 and actions are specified as TAGs, all are instantiated by default.
4279 Usage: $0 [OPTION]... [TAG]...
4281 -h, --help print this help, then exit
4282 -V, --version print version number and configuration settings, then exit
4283 -q, --quiet, --silent
4284 do not print progress messages
4285 -d, --debug don't remove temporary files
4286 --recheck update $as_me by reconfiguring in the same conditions
4287 --file=FILE[:TEMPLATE]
4288 instantiate the configuration file FILE
4290 Configuration files:
4291 $config_files
4293 Configuration commands:
4294 $config_commands
4296 Report bugs to the package provider."
4298 _ACEOF
4299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4300 ac_cs_version="\\
4301 package-unused config.status version-unused
4302 configured by $0, generated by GNU Autoconf 2.64,
4303 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4305 Copyright (C) 2009 Free Software Foundation, Inc.
4306 This config.status script is free software; the Free Software Foundation
4307 gives unlimited permission to copy, distribute and modify it."
4309 ac_pwd='$ac_pwd'
4310 srcdir='$srcdir'
4311 INSTALL='$INSTALL'
4312 MKDIR_P='$MKDIR_P'
4313 AWK='$AWK'
4314 test -n "\$AWK" || AWK=awk
4315 _ACEOF
4317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4318 # The default lists apply if the user does not specify any file.
4319 ac_need_defaults=:
4320 while test $# != 0
4322 case $1 in
4323 --*=*)
4324 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4325 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4326 ac_shift=:
4329 ac_option=$1
4330 ac_optarg=$2
4331 ac_shift=shift
4333 esac
4335 case $ac_option in
4336 # Handling of the options.
4337 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4338 ac_cs_recheck=: ;;
4339 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4340 $as_echo "$ac_cs_version"; exit ;;
4341 --debug | --debu | --deb | --de | --d | -d )
4342 debug=: ;;
4343 --file | --fil | --fi | --f )
4344 $ac_shift
4345 case $ac_optarg in
4346 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4347 esac
4348 as_fn_append CONFIG_FILES " '$ac_optarg'"
4349 ac_need_defaults=false;;
4350 --he | --h | --help | --hel | -h )
4351 $as_echo "$ac_cs_usage"; exit ;;
4352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4353 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4354 ac_cs_silent=: ;;
4356 # This is an error.
4357 -*) as_fn_error "unrecognized option: \`$1'
4358 Try \`$0 --help' for more information." ;;
4360 *) as_fn_append ac_config_targets " $1"
4361 ac_need_defaults=false ;;
4363 esac
4364 shift
4365 done
4367 ac_configure_extra_args=
4369 if $ac_cs_silent; then
4370 exec 6>/dev/null
4371 ac_configure_extra_args="$ac_configure_extra_args --silent"
4374 _ACEOF
4375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4376 if \$ac_cs_recheck; then
4377 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4378 shift
4379 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4380 CONFIG_SHELL='$SHELL'
4381 export CONFIG_SHELL
4382 exec "\$@"
4385 _ACEOF
4386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4387 exec 5>>config.log
4389 echo
4390 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4391 ## Running $as_me. ##
4392 _ASBOX
4393 $as_echo "$ac_log"
4394 } >&5
4396 _ACEOF
4397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4399 # INIT-COMMANDS
4401 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4403 _ACEOF
4405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4407 # Handling of arguments.
4408 for ac_config_target in $ac_config_targets
4410 case $ac_config_target in
4411 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4412 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4414 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4415 esac
4416 done
4419 # If the user did not use the arguments to specify the items to instantiate,
4420 # then the envvar interface is used. Set only those that are not.
4421 # We use the long form for the default assignment because of an extremely
4422 # bizarre bug on SunOS 4.1.3.
4423 if $ac_need_defaults; then
4424 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4425 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4428 # Have a temporary directory for convenience. Make it in the build tree
4429 # simply because there is no reason against having it here, and in addition,
4430 # creating and moving files from /tmp can sometimes cause problems.
4431 # Hook for its removal unless debugging.
4432 # Note that there is a small window in which the directory will not be cleaned:
4433 # after its creation but before its name has been assigned to `$tmp'.
4434 $debug ||
4436 tmp=
4437 trap 'exit_status=$?
4438 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4440 trap 'as_fn_exit 1' 1 2 13 15
4442 # Create a (secure) tmp directory for tmp files.
4445 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4446 test -n "$tmp" && test -d "$tmp"
4447 } ||
4449 tmp=./conf$$-$RANDOM
4450 (umask 077 && mkdir "$tmp")
4451 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4453 # Set up the scripts for CONFIG_FILES section.
4454 # No need to generate them if there are no CONFIG_FILES.
4455 # This happens for instance with `./config.status config.h'.
4456 if test -n "$CONFIG_FILES"; then
4459 ac_cr=`echo X | tr X '\015'`
4460 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4461 # But we know of no other shell where ac_cr would be empty at this
4462 # point, so we can use a bashism as a fallback.
4463 if test "x$ac_cr" = x; then
4464 eval ac_cr=\$\'\\r\'
4466 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4467 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4468 ac_cs_awk_cr='\r'
4469 else
4470 ac_cs_awk_cr=$ac_cr
4473 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4474 _ACEOF
4478 echo "cat >conf$$subs.awk <<_ACEOF" &&
4479 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4480 echo "_ACEOF"
4481 } >conf$$subs.sh ||
4482 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4483 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4484 ac_delim='%!_!# '
4485 for ac_last_try in false false false false false :; do
4486 . ./conf$$subs.sh ||
4487 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4489 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4490 if test $ac_delim_n = $ac_delim_num; then
4491 break
4492 elif $ac_last_try; then
4493 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4494 else
4495 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4497 done
4498 rm -f conf$$subs.sh
4500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4501 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4502 _ACEOF
4503 sed -n '
4505 s/^/S["/; s/!.*/"]=/
4508 s/^[^!]*!//
4509 :repl
4510 t repl
4511 s/'"$ac_delim"'$//
4512 t delim
4515 s/\(.\{148\}\).*/\1/
4516 t more1
4517 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4520 b repl
4521 :more1
4522 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4525 s/.\{148\}//
4526 t nl
4527 :delim
4529 s/\(.\{148\}\).*/\1/
4530 t more2
4531 s/["\\]/\\&/g; s/^/"/; s/$/"/
4534 :more2
4535 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4538 s/.\{148\}//
4539 t delim
4540 ' <conf$$subs.awk | sed '
4541 /^[^""]/{
4543 s/\n//
4545 ' >>$CONFIG_STATUS || ac_write_fail=1
4546 rm -f conf$$subs.awk
4547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4548 _ACAWK
4549 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4550 for (key in S) S_is_set[key] = 1
4551 FS = "\a"
4555 line = $ 0
4556 nfields = split(line, field, "@")
4557 substed = 0
4558 len = length(field[1])
4559 for (i = 2; i < nfields; i++) {
4560 key = field[i]
4561 keylen = length(key)
4562 if (S_is_set[key]) {
4563 value = S[key]
4564 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4565 len += length(value) + length(field[++i])
4566 substed = 1
4567 } else
4568 len += 1 + keylen
4571 print line
4574 _ACAWK
4575 _ACEOF
4576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4577 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4578 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4579 else
4581 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4582 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4583 _ACEOF
4585 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4586 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4587 # trailing colons and then remove the whole line if VPATH becomes empty
4588 # (actually we leave an empty line to preserve line numbers).
4589 if test "x$srcdir" = x.; then
4590 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4591 s/:*\$(srcdir):*/:/
4592 s/:*\${srcdir}:*/:/
4593 s/:*@srcdir@:*/:/
4594 s/^\([^=]*=[ ]*\):*/\1/
4595 s/:*$//
4596 s/^[^=]*=[ ]*$//
4600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4601 fi # test -n "$CONFIG_FILES"
4604 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4605 shift
4606 for ac_tag
4608 case $ac_tag in
4609 :[FHLC]) ac_mode=$ac_tag; continue;;
4610 esac
4611 case $ac_mode$ac_tag in
4612 :[FHL]*:*);;
4613 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4614 :[FH]-) ac_tag=-:-;;
4615 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4616 esac
4617 ac_save_IFS=$IFS
4618 IFS=:
4619 set x $ac_tag
4620 IFS=$ac_save_IFS
4621 shift
4622 ac_file=$1
4623 shift
4625 case $ac_mode in
4626 :L) ac_source=$1;;
4627 :[FH])
4628 ac_file_inputs=
4629 for ac_f
4631 case $ac_f in
4632 -) ac_f="$tmp/stdin";;
4633 *) # Look for the file first in the build tree, then in the source tree
4634 # (if the path is not absolute). The absolute path cannot be DOS-style,
4635 # because $ac_f cannot contain `:'.
4636 test -f "$ac_f" ||
4637 case $ac_f in
4638 [\\/$]*) false;;
4639 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4640 esac ||
4641 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4642 esac
4643 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4644 as_fn_append ac_file_inputs " '$ac_f'"
4645 done
4647 # Let's still pretend it is `configure' which instantiates (i.e., don't
4648 # use $as_me), people would be surprised to read:
4649 # /* config.h. Generated by config.status. */
4650 configure_input='Generated from '`
4651 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4652 `' by configure.'
4653 if test x"$ac_file" != x-; then
4654 configure_input="$ac_file. $configure_input"
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4656 $as_echo "$as_me: creating $ac_file" >&6;}
4658 # Neutralize special characters interpreted by sed in replacement strings.
4659 case $configure_input in #(
4660 *\&* | *\|* | *\\* )
4661 ac_sed_conf_input=`$as_echo "$configure_input" |
4662 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4663 *) ac_sed_conf_input=$configure_input;;
4664 esac
4666 case $ac_tag in
4667 *:-:* | *:-) cat >"$tmp/stdin" \
4668 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4669 esac
4671 esac
4673 ac_dir=`$as_dirname -- "$ac_file" ||
4674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4675 X"$ac_file" : 'X\(//\)[^/]' \| \
4676 X"$ac_file" : 'X\(//\)$' \| \
4677 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4678 $as_echo X"$ac_file" |
4679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4680 s//\1/
4683 /^X\(\/\/\)[^/].*/{
4684 s//\1/
4687 /^X\(\/\/\)$/{
4688 s//\1/
4691 /^X\(\/\).*/{
4692 s//\1/
4695 s/.*/./; q'`
4696 as_dir="$ac_dir"; as_fn_mkdir_p
4697 ac_builddir=.
4699 case "$ac_dir" in
4700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4702 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4703 # A ".." for each directory in $ac_dir_suffix.
4704 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4705 case $ac_top_builddir_sub in
4706 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4707 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4708 esac ;;
4709 esac
4710 ac_abs_top_builddir=$ac_pwd
4711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4712 # for backward compatibility:
4713 ac_top_builddir=$ac_top_build_prefix
4715 case $srcdir in
4716 .) # We are building in place.
4717 ac_srcdir=.
4718 ac_top_srcdir=$ac_top_builddir_sub
4719 ac_abs_top_srcdir=$ac_pwd ;;
4720 [\\/]* | ?:[\\/]* ) # Absolute name.
4721 ac_srcdir=$srcdir$ac_dir_suffix;
4722 ac_top_srcdir=$srcdir
4723 ac_abs_top_srcdir=$srcdir ;;
4724 *) # Relative name.
4725 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4726 ac_top_srcdir=$ac_top_build_prefix$srcdir
4727 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4728 esac
4729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4732 case $ac_mode in
4735 # CONFIG_FILE
4738 case $INSTALL in
4739 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4740 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4741 esac
4742 ac_MKDIR_P=$MKDIR_P
4743 case $MKDIR_P in
4744 [\\/$]* | ?:[\\/]* ) ;;
4745 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4746 esac
4747 _ACEOF
4749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4750 # If the template does not know about datarootdir, expand it.
4751 # FIXME: This hack should be removed a few years after 2.60.
4752 ac_datarootdir_hack=; ac_datarootdir_seen=
4753 ac_sed_dataroot='
4754 /datarootdir/ {
4758 /@datadir@/p
4759 /@docdir@/p
4760 /@infodir@/p
4761 /@localedir@/p
4762 /@mandir@/p'
4763 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4764 *datarootdir*) ac_datarootdir_seen=yes;;
4765 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4767 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4768 _ACEOF
4769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4770 ac_datarootdir_hack='
4771 s&@datadir@&$datadir&g
4772 s&@docdir@&$docdir&g
4773 s&@infodir@&$infodir&g
4774 s&@localedir@&$localedir&g
4775 s&@mandir@&$mandir&g
4776 s&\\\${datarootdir}&$datarootdir&g' ;;
4777 esac
4778 _ACEOF
4780 # Neutralize VPATH when `$srcdir' = `.'.
4781 # Shell code in configure.ac might set extrasub.
4782 # FIXME: do we really want to maintain this feature?
4783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4784 ac_sed_extra="$ac_vpsub
4785 $extrasub
4786 _ACEOF
4787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4790 s|@configure_input@|$ac_sed_conf_input|;t t
4791 s&@top_builddir@&$ac_top_builddir_sub&;t t
4792 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4793 s&@srcdir@&$ac_srcdir&;t t
4794 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4795 s&@top_srcdir@&$ac_top_srcdir&;t t
4796 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4797 s&@builddir@&$ac_builddir&;t t
4798 s&@abs_builddir@&$ac_abs_builddir&;t t
4799 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4800 s&@INSTALL@&$ac_INSTALL&;t t
4801 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4802 $ac_datarootdir_hack
4804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4805 || as_fn_error "could not create $ac_file" "$LINENO" 5
4807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4808 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4809 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4811 which seems to be undefined. Please make sure it is defined." >&5
4812 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4813 which seems to be undefined. Please make sure it is defined." >&2;}
4815 rm -f "$tmp/stdin"
4816 case $ac_file in
4817 -) cat "$tmp/out" && rm -f "$tmp/out";;
4818 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4819 esac \
4820 || as_fn_error "could not create $ac_file" "$LINENO" 5
4824 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4825 $as_echo "$as_me: executing $ac_file commands" >&6;}
4827 esac
4830 case $ac_file$ac_mode in
4831 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4832 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4833 # are listed without --file. Let's play safe and only enable the eval
4834 # if we detect the quoting.
4835 case $CONFIG_FILES in
4836 *\'*) eval set x "$CONFIG_FILES" ;;
4837 *) set x $CONFIG_FILES ;;
4838 esac
4839 shift
4840 for mf
4842 # Strip MF so we end up with the name of the file.
4843 mf=`echo "$mf" | sed -e 's/:.*$//'`
4844 # Check whether this is an Automake generated Makefile or not.
4845 # We used to match only the files named `Makefile.in', but
4846 # some people rename them; so instead we look at the file content.
4847 # Grep'ing the first line is not enough: some people post-process
4848 # each Makefile.in and add a new line on top of each file to say so.
4849 # Grep'ing the whole file is not good either: AIX grep has a line
4850 # limit of 2048, but all sed's we know have understand at least 4000.
4851 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4852 dirpart=`$as_dirname -- "$mf" ||
4853 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4854 X"$mf" : 'X\(//\)[^/]' \| \
4855 X"$mf" : 'X\(//\)$' \| \
4856 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4857 $as_echo X"$mf" |
4858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4859 s//\1/
4862 /^X\(\/\/\)[^/].*/{
4863 s//\1/
4866 /^X\(\/\/\)$/{
4867 s//\1/
4870 /^X\(\/\).*/{
4871 s//\1/
4874 s/.*/./; q'`
4875 else
4876 continue
4878 # Extract the definition of DEPDIR, am__include, and am__quote
4879 # from the Makefile without running `make'.
4880 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4881 test -z "$DEPDIR" && continue
4882 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4883 test -z "am__include" && continue
4884 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4885 # When using ansi2knr, U may be empty or an underscore; expand it
4886 U=`sed -n 's/^U = //p' < "$mf"`
4887 # Find all dependency output files, they are included files with
4888 # $(DEPDIR) in their names. We invoke sed twice because it is the
4889 # simplest approach to changing $(DEPDIR) to its actual value in the
4890 # expansion.
4891 for file in `sed -n "
4892 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4893 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4894 # Make sure the directory exists.
4895 test -f "$dirpart/$file" && continue
4896 fdir=`$as_dirname -- "$file" ||
4897 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4898 X"$file" : 'X\(//\)[^/]' \| \
4899 X"$file" : 'X\(//\)$' \| \
4900 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4901 $as_echo X"$file" |
4902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4903 s//\1/
4906 /^X\(\/\/\)[^/].*/{
4907 s//\1/
4910 /^X\(\/\/\)$/{
4911 s//\1/
4914 /^X\(\/\).*/{
4915 s//\1/
4918 s/.*/./; q'`
4919 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4920 # echo "creating $dirpart/$file"
4921 echo '# dummy' > "$dirpart/$file"
4922 done
4923 done
4927 esac
4928 done # for ac_tag
4931 as_fn_exit 0
4932 _ACEOF
4933 ac_clean_files=$ac_clean_files_save
4935 test $ac_write_fail = 0 ||
4936 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4939 # configure is writing to config.log, and then calls config.status.
4940 # config.status does its own redirection, appending to config.log.
4941 # Unfortunately, on DOS this fails, as config.log is still kept open
4942 # by configure, so config.status won't be able to write to it; its
4943 # output is simply discarded. So we exec the FD to /dev/null,
4944 # effectively closing config.log, so it can be properly (re)opened and
4945 # appended to by config.status. When coming back to configure, we
4946 # need to make the FD available again.
4947 if test "$no_create" != yes; then
4948 ac_cs_success=:
4949 ac_config_status_args=
4950 test "$silent" = yes &&
4951 ac_config_status_args="$ac_config_status_args --quiet"
4952 exec 5>/dev/null
4953 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4954 exec 5>>config.log
4955 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4956 # would make configure fail if this is the last instruction.
4957 $ac_cs_success || as_fn_exit $?
4959 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4961 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}