Mark SLP failures for vect_variable_length
[official-gcc.git] / gotools / configure
blob44e25701bd64eb02ad97ff692a29591cd6ebba82
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174 else
175 as_have_required=no
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179 else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181 as_found=false
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
199 done;;
200 esac
201 as_found=false
202 done
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206 fi; }
207 IFS=$as_save_IFS
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 BASH_ENV=/dev/null
215 ENV=/dev/null
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217 export CONFIG_SHELL
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
227 else
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
233 exit 1
237 SHELL=${CONFIG_SHELL-/bin/sh}
238 export SHELL
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
246 # as_fn_unset VAR
247 # ---------------
248 # Portably unset VAR.
249 as_fn_unset ()
251 { eval $1=; unset $1;}
253 as_unset=as_fn_unset
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
258 as_fn_set_status ()
260 return $1
261 } # as_fn_set_status
263 # as_fn_exit STATUS
264 # -----------------
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266 as_fn_exit ()
268 set +e
269 as_fn_set_status $1
270 exit $1
271 } # as_fn_exit
273 # as_fn_mkdir_p
274 # -------------
275 # Create "$as_dir" as a directory, including parents if necessary.
276 as_fn_mkdir_p ()
279 case $as_dir in #(
280 -*) as_dir=./$as_dir;;
281 esac
282 test -d "$as_dir" || eval $as_mkdir_p || {
283 as_dirs=
284 while :; do
285 case $as_dir in #(
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 *) as_qdir=$as_dir;;
288 esac
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297 s//\1/
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
304 /^X\(\/\/\)$/{
305 s//\1/
308 /^X\(\/\).*/{
309 s//\1/
312 s/.*/./; q'`
313 test -d "$as_dir" && break
314 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319 } # as_fn_mkdir_p
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
325 # implementations.
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
329 eval $1+=\$2
331 else
332 as_fn_append ()
334 eval $1=\$$1\$2
336 fi # as_fn_append
338 # as_fn_arith ARG...
339 # ------------------
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344 eval 'as_fn_arith ()
346 as_val=$(( $* ))
348 else
349 as_fn_arith ()
351 as_val=`expr "$@" || test $? -eq 1`
353 fi # as_fn_arith
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
361 as_fn_error ()
363 as_status=$?; test $as_status -eq 0 && as_status=1
364 if test "$3"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370 } # as_fn_error
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
374 as_expr=expr
375 else
376 as_expr=false
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380 as_basename=basename
381 else
382 as_basename=false
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386 as_dirname=dirname
387 else
388 as_dirname=false
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395 $as_echo X/"$0" |
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
397 s//\1/
400 /^X\/\(\/\/\)$/{
401 s//\1/
404 /^X\/\(\/\).*/{
405 s//\1/
408 s/.*/./; q'`
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
423 sed -n '
425 /[$]LINENO/=
426 ' <$as_myself |
427 sed '
428 s/[$]LINENO.*/&-/
429 t lineno
431 :lineno
433 :loop
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435 t loop
436 s/-\n.*//
437 ' >$as_me.lineno &&
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
444 . "./$as_me.lineno"
445 # Exit status is that of the last command.
446 exit
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
451 -n*)
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
454 xy) ECHO_C='\c';;
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
456 ECHO_T=' ';;
457 esac;;
459 ECHO_N='-n';;
460 esac
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
465 else
466 rm -f conf$$.dir
467 mkdir conf$$.dir 2>/dev/null
469 if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
471 as_ln_s='ln -s'
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477 as_ln_s='cp -p'
478 elif ln conf$$.file conf$$ 2>/dev/null; then
479 as_ln_s=ln
480 else
481 as_ln_s='cp -p'
483 else
484 as_ln_s='cp -p'
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
489 if mkdir -p . 2>/dev/null; then
490 as_mkdir_p='mkdir -p "$as_dir"'
491 else
492 test -d ./-p && rmdir ./-p
493 as_mkdir_p=false
496 if test -x / >/dev/null 2>&1; then
497 as_test_x='test -x'
498 else
499 if ls -dL / >/dev/null 2>&1; then
500 as_ls_L_option=L
501 else
502 as_ls_L_option=
504 as_test_x='
505 eval sh -c '\''
506 if test -d "$1"; then
507 test -d "$1/.";
508 else
509 case $1 in #(
510 -*)set "./$1";;
511 esac;
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
514 '\'' sh
517 as_executable_p=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev/null 6>&1
528 # Name of the host.
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
534 # Initializations.
536 ac_default_prefix=/usr/local
537 ac_clean_files=
538 ac_config_libobj_dir=.
539 LIBOBJS=
540 cross_compiling=no
541 subdirs=
542 MFLAGS=
543 MAKEFLAGS=
545 # Identity of this package.
546 PACKAGE_NAME='package-unused'
547 PACKAGE_TARNAME='gotools'
548 PACKAGE_VERSION='version-unused'
549 PACKAGE_STRING='package-unused version-unused'
550 PACKAGE_BUGREPORT=''
551 PACKAGE_URL=''
553 ac_unique_file="Makefile.am"
554 ac_subst_vars='am__EXEEXT_FALSE
555 am__EXEEXT_TRUE
556 LTLIBOBJS
557 LIBOBJS
558 NET_LIBS
559 NATIVE_FALSE
560 NATIVE_TRUE
561 GCC_FOR_TARGET
562 GOC_FOR_TARGET
563 GOCFLAGS
565 am__fastdepCC_FALSE
566 am__fastdepCC_TRUE
567 CCDEPMODE
568 am__nodep
569 AMDEPBACKSLASH
570 AMDEP_FALSE
571 AMDEP_TRUE
572 am__quote
573 am__include
574 DEPDIR
575 OBJEXT
576 EXEEXT
577 ac_ct_CC
578 CPPFLAGS
579 LDFLAGS
580 CFLAGS
582 MAINT
583 MAINTAINER_MODE_FALSE
584 MAINTAINER_MODE_TRUE
585 am__untar
586 am__tar
587 AMTAR
588 am__leading_dot
589 SET_MAKE
591 mkdir_p
592 MKDIR_P
593 INSTALL_STRIP_PROGRAM
594 STRIP
595 install_sh
596 MAKEINFO
597 AUTOHEADER
598 AUTOMAKE
599 AUTOCONF
600 ACLOCAL
601 VERSION
602 PACKAGE
603 CYGPATH_W
604 am__isrc
605 INSTALL_DATA
606 INSTALL_SCRIPT
607 INSTALL_PROGRAM
608 target_os
609 target_vendor
610 target_cpu
611 target
612 host_os
613 host_vendor
614 host_cpu
615 host
616 target_noncanonical
617 host_noncanonical
618 build_noncanonical
619 build_os
620 build_vendor
621 build_cpu
622 build
623 target_alias
624 host_alias
625 build_alias
626 LIBS
627 ECHO_T
628 ECHO_N
629 ECHO_C
630 DEFS
631 mandir
632 localedir
633 libdir
634 psdir
635 pdfdir
636 dvidir
637 htmldir
638 infodir
639 docdir
640 oldincludedir
641 includedir
642 localstatedir
643 sharedstatedir
644 sysconfdir
645 datadir
646 datarootdir
647 libexecdir
648 sbindir
649 bindir
650 program_transform_name
651 prefix
652 exec_prefix
653 PACKAGE_URL
654 PACKAGE_BUGREPORT
655 PACKAGE_STRING
656 PACKAGE_VERSION
657 PACKAGE_TARNAME
658 PACKAGE_NAME
659 PATH_SEPARATOR
660 SHELL'
661 ac_subst_files=''
662 ac_user_opts='
663 enable_option_checking
664 enable_maintainer_mode
665 enable_dependency_tracking
667 ac_precious_vars='build_alias
668 host_alias
669 target_alias
671 CFLAGS
672 LDFLAGS
673 LIBS
674 CPPFLAGS
676 GOCFLAGS'
679 # Initialize some variables set by options.
680 ac_init_help=
681 ac_init_version=false
682 ac_unrecognized_opts=
683 ac_unrecognized_sep=
684 # The variables have the same names as the options, with
685 # dashes changed to underlines.
686 cache_file=/dev/null
687 exec_prefix=NONE
688 no_create=
689 no_recursion=
690 prefix=NONE
691 program_prefix=NONE
692 program_suffix=NONE
693 program_transform_name=s,x,x,
694 silent=
695 site=
696 srcdir=
697 verbose=
698 x_includes=NONE
699 x_libraries=NONE
701 # Installation directory options.
702 # These are left unexpanded so users can "make install exec_prefix=/foo"
703 # and all the variables that are supposed to be based on exec_prefix
704 # by default will actually change.
705 # Use braces instead of parens because sh, perl, etc. also accept them.
706 # (The list follows the same order as the GNU Coding Standards.)
707 bindir='${exec_prefix}/bin'
708 sbindir='${exec_prefix}/sbin'
709 libexecdir='${exec_prefix}/libexec'
710 datarootdir='${prefix}/share'
711 datadir='${datarootdir}'
712 sysconfdir='${prefix}/etc'
713 sharedstatedir='${prefix}/com'
714 localstatedir='${prefix}/var'
715 includedir='${prefix}/include'
716 oldincludedir='/usr/include'
717 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
718 infodir='${datarootdir}/info'
719 htmldir='${docdir}'
720 dvidir='${docdir}'
721 pdfdir='${docdir}'
722 psdir='${docdir}'
723 libdir='${exec_prefix}/lib'
724 localedir='${datarootdir}/locale'
725 mandir='${datarootdir}/man'
727 ac_prev=
728 ac_dashdash=
729 for ac_option
731 # If the previous option needs an argument, assign it.
732 if test -n "$ac_prev"; then
733 eval $ac_prev=\$ac_option
734 ac_prev=
735 continue
738 case $ac_option in
739 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
740 *) ac_optarg=yes ;;
741 esac
743 # Accept the important Cygnus configure options, so we can diagnose typos.
745 case $ac_dashdash$ac_option in
747 ac_dashdash=yes ;;
749 -bindir | --bindir | --bindi | --bind | --bin | --bi)
750 ac_prev=bindir ;;
751 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
752 bindir=$ac_optarg ;;
754 -build | --build | --buil | --bui | --bu)
755 ac_prev=build_alias ;;
756 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
757 build_alias=$ac_optarg ;;
759 -cache-file | --cache-file | --cache-fil | --cache-fi \
760 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
761 ac_prev=cache_file ;;
762 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
763 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
764 cache_file=$ac_optarg ;;
766 --config-cache | -C)
767 cache_file=config.cache ;;
769 -datadir | --datadir | --datadi | --datad)
770 ac_prev=datadir ;;
771 -datadir=* | --datadir=* | --datadi=* | --datad=*)
772 datadir=$ac_optarg ;;
774 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
775 | --dataroo | --dataro | --datar)
776 ac_prev=datarootdir ;;
777 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
778 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
779 datarootdir=$ac_optarg ;;
781 -disable-* | --disable-*)
782 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
785 as_fn_error "invalid feature name: $ac_useropt"
786 ac_useropt_orig=$ac_useropt
787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788 case $ac_user_opts in
790 "enable_$ac_useropt"
791 "*) ;;
792 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
793 ac_unrecognized_sep=', ';;
794 esac
795 eval enable_$ac_useropt=no ;;
797 -docdir | --docdir | --docdi | --doc | --do)
798 ac_prev=docdir ;;
799 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
800 docdir=$ac_optarg ;;
802 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
803 ac_prev=dvidir ;;
804 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
805 dvidir=$ac_optarg ;;
807 -enable-* | --enable-*)
808 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
809 # Reject names that are not valid shell variable names.
810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
811 as_fn_error "invalid feature name: $ac_useropt"
812 ac_useropt_orig=$ac_useropt
813 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
814 case $ac_user_opts in
816 "enable_$ac_useropt"
817 "*) ;;
818 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
819 ac_unrecognized_sep=', ';;
820 esac
821 eval enable_$ac_useropt=\$ac_optarg ;;
823 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
824 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
825 | --exec | --exe | --ex)
826 ac_prev=exec_prefix ;;
827 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
828 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
829 | --exec=* | --exe=* | --ex=*)
830 exec_prefix=$ac_optarg ;;
832 -gas | --gas | --ga | --g)
833 # Obsolete; use --with-gas.
834 with_gas=yes ;;
836 -help | --help | --hel | --he | -h)
837 ac_init_help=long ;;
838 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
839 ac_init_help=recursive ;;
840 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
841 ac_init_help=short ;;
843 -host | --host | --hos | --ho)
844 ac_prev=host_alias ;;
845 -host=* | --host=* | --hos=* | --ho=*)
846 host_alias=$ac_optarg ;;
848 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
849 ac_prev=htmldir ;;
850 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
851 | --ht=*)
852 htmldir=$ac_optarg ;;
854 -includedir | --includedir | --includedi | --included | --include \
855 | --includ | --inclu | --incl | --inc)
856 ac_prev=includedir ;;
857 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
858 | --includ=* | --inclu=* | --incl=* | --inc=*)
859 includedir=$ac_optarg ;;
861 -infodir | --infodir | --infodi | --infod | --info | --inf)
862 ac_prev=infodir ;;
863 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
864 infodir=$ac_optarg ;;
866 -libdir | --libdir | --libdi | --libd)
867 ac_prev=libdir ;;
868 -libdir=* | --libdir=* | --libdi=* | --libd=*)
869 libdir=$ac_optarg ;;
871 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
872 | --libexe | --libex | --libe)
873 ac_prev=libexecdir ;;
874 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
875 | --libexe=* | --libex=* | --libe=*)
876 libexecdir=$ac_optarg ;;
878 -localedir | --localedir | --localedi | --localed | --locale)
879 ac_prev=localedir ;;
880 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
881 localedir=$ac_optarg ;;
883 -localstatedir | --localstatedir | --localstatedi | --localstated \
884 | --localstate | --localstat | --localsta | --localst | --locals)
885 ac_prev=localstatedir ;;
886 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
887 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
888 localstatedir=$ac_optarg ;;
890 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
891 ac_prev=mandir ;;
892 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
893 mandir=$ac_optarg ;;
895 -nfp | --nfp | --nf)
896 # Obsolete; use --without-fp.
897 with_fp=no ;;
899 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
900 | --no-cr | --no-c | -n)
901 no_create=yes ;;
903 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
904 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
905 no_recursion=yes ;;
907 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
908 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
909 | --oldin | --oldi | --old | --ol | --o)
910 ac_prev=oldincludedir ;;
911 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
912 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
913 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
914 oldincludedir=$ac_optarg ;;
916 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
917 ac_prev=prefix ;;
918 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
919 prefix=$ac_optarg ;;
921 -program-prefix | --program-prefix | --program-prefi | --program-pref \
922 | --program-pre | --program-pr | --program-p)
923 ac_prev=program_prefix ;;
924 -program-prefix=* | --program-prefix=* | --program-prefi=* \
925 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
926 program_prefix=$ac_optarg ;;
928 -program-suffix | --program-suffix | --program-suffi | --program-suff \
929 | --program-suf | --program-su | --program-s)
930 ac_prev=program_suffix ;;
931 -program-suffix=* | --program-suffix=* | --program-suffi=* \
932 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
933 program_suffix=$ac_optarg ;;
935 -program-transform-name | --program-transform-name \
936 | --program-transform-nam | --program-transform-na \
937 | --program-transform-n | --program-transform- \
938 | --program-transform | --program-transfor \
939 | --program-transfo | --program-transf \
940 | --program-trans | --program-tran \
941 | --progr-tra | --program-tr | --program-t)
942 ac_prev=program_transform_name ;;
943 -program-transform-name=* | --program-transform-name=* \
944 | --program-transform-nam=* | --program-transform-na=* \
945 | --program-transform-n=* | --program-transform-=* \
946 | --program-transform=* | --program-transfor=* \
947 | --program-transfo=* | --program-transf=* \
948 | --program-trans=* | --program-tran=* \
949 | --progr-tra=* | --program-tr=* | --program-t=*)
950 program_transform_name=$ac_optarg ;;
952 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
953 ac_prev=pdfdir ;;
954 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
955 pdfdir=$ac_optarg ;;
957 -psdir | --psdir | --psdi | --psd | --ps)
958 ac_prev=psdir ;;
959 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
960 psdir=$ac_optarg ;;
962 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
963 | -silent | --silent | --silen | --sile | --sil)
964 silent=yes ;;
966 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
967 ac_prev=sbindir ;;
968 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
969 | --sbi=* | --sb=*)
970 sbindir=$ac_optarg ;;
972 -sharedstatedir | --sharedstatedir | --sharedstatedi \
973 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
974 | --sharedst | --shareds | --shared | --share | --shar \
975 | --sha | --sh)
976 ac_prev=sharedstatedir ;;
977 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
978 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
979 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
980 | --sha=* | --sh=*)
981 sharedstatedir=$ac_optarg ;;
983 -site | --site | --sit)
984 ac_prev=site ;;
985 -site=* | --site=* | --sit=*)
986 site=$ac_optarg ;;
988 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
989 ac_prev=srcdir ;;
990 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
991 srcdir=$ac_optarg ;;
993 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
994 | --syscon | --sysco | --sysc | --sys | --sy)
995 ac_prev=sysconfdir ;;
996 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
997 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
998 sysconfdir=$ac_optarg ;;
1000 -target | --target | --targe | --targ | --tar | --ta | --t)
1001 ac_prev=target_alias ;;
1002 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1003 target_alias=$ac_optarg ;;
1005 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1006 verbose=yes ;;
1008 -version | --version | --versio | --versi | --vers | -V)
1009 ac_init_version=: ;;
1011 -with-* | --with-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error "invalid package name: $ac_useropt"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "with_$ac_useropt"
1021 "*) ;;
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1024 esac
1025 eval with_$ac_useropt=\$ac_optarg ;;
1027 -without-* | --without-*)
1028 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 as_fn_error "invalid package name: $ac_useropt"
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "with_$ac_useropt"
1037 "*) ;;
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1040 esac
1041 eval with_$ac_useropt=no ;;
1043 --x)
1044 # Obsolete; use --with-x.
1045 with_x=yes ;;
1047 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1048 | --x-incl | --x-inc | --x-in | --x-i)
1049 ac_prev=x_includes ;;
1050 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1051 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1052 x_includes=$ac_optarg ;;
1054 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1055 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1056 ac_prev=x_libraries ;;
1057 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1058 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1059 x_libraries=$ac_optarg ;;
1061 -*) as_fn_error "unrecognized option: \`$ac_option'
1062 Try \`$0 --help' for more information."
1065 *=*)
1066 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1067 # Reject names that are not valid shell variable names.
1068 case $ac_envvar in #(
1069 '' | [0-9]* | *[!_$as_cr_alnum]* )
1070 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1071 esac
1072 eval $ac_envvar=\$ac_optarg
1073 export $ac_envvar ;;
1076 # FIXME: should be removed in autoconf 3.0.
1077 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1078 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1080 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1083 esac
1084 done
1086 if test -n "$ac_prev"; then
1087 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1088 as_fn_error "missing argument to $ac_option"
1091 if test -n "$ac_unrecognized_opts"; then
1092 case $enable_option_checking in
1093 no) ;;
1094 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1095 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1096 esac
1099 # Check all directory arguments for consistency.
1100 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1101 datadir sysconfdir sharedstatedir localstatedir includedir \
1102 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1103 libdir localedir mandir
1105 eval ac_val=\$$ac_var
1106 # Remove trailing slashes.
1107 case $ac_val in
1108 */ )
1109 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1110 eval $ac_var=\$ac_val;;
1111 esac
1112 # Be sure to have absolute directory names.
1113 case $ac_val in
1114 [\\/$]* | ?:[\\/]* ) continue;;
1115 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1116 esac
1117 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1118 done
1120 # There might be people who depend on the old broken behavior: `$host'
1121 # used to hold the argument of --host etc.
1122 # FIXME: To remove some day.
1123 build=$build_alias
1124 host=$host_alias
1125 target=$target_alias
1127 # FIXME: To remove some day.
1128 if test "x$host_alias" != x; then
1129 if test "x$build_alias" = x; then
1130 cross_compiling=maybe
1131 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1132 If a cross compiler is detected then cross compile mode will be used." >&2
1133 elif test "x$build_alias" != "x$host_alias"; then
1134 cross_compiling=yes
1138 ac_tool_prefix=
1139 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1141 test "$silent" = yes && exec 6>/dev/null
1144 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1145 ac_ls_di=`ls -di .` &&
1146 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1147 as_fn_error "working directory cannot be determined"
1148 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1149 as_fn_error "pwd does not report name of working directory"
1152 # Find the source files, if location was not specified.
1153 if test -z "$srcdir"; then
1154 ac_srcdir_defaulted=yes
1155 # Try the directory containing this script, then the parent directory.
1156 ac_confdir=`$as_dirname -- "$as_myself" ||
1157 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1158 X"$as_myself" : 'X\(//\)[^/]' \| \
1159 X"$as_myself" : 'X\(//\)$' \| \
1160 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1161 $as_echo X"$as_myself" |
1162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1163 s//\1/
1166 /^X\(\/\/\)[^/].*/{
1167 s//\1/
1170 /^X\(\/\/\)$/{
1171 s//\1/
1174 /^X\(\/\).*/{
1175 s//\1/
1178 s/.*/./; q'`
1179 srcdir=$ac_confdir
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1181 srcdir=..
1183 else
1184 ac_srcdir_defaulted=no
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1187 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1188 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1190 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1191 ac_abs_confdir=`(
1192 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1193 pwd)`
1194 # When building in place, set srcdir=.
1195 if test "$ac_abs_confdir" = "$ac_pwd"; then
1196 srcdir=.
1198 # Remove unnecessary trailing slashes from srcdir.
1199 # Double slashes in file names in object file debugging info
1200 # mess up M-x gdb in Emacs.
1201 case $srcdir in
1202 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1203 esac
1204 for ac_var in $ac_precious_vars; do
1205 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1206 eval ac_env_${ac_var}_value=\$${ac_var}
1207 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1208 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1209 done
1212 # Report the --help message.
1214 if test "$ac_init_help" = "long"; then
1215 # Omit some internal or obsolete options to make the list less imposing.
1216 # This message is too long to be a string in the A/UX 3.1 sh.
1217 cat <<_ACEOF
1218 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1220 Usage: $0 [OPTION]... [VAR=VALUE]...
1222 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1223 VAR=VALUE. See below for descriptions of some of the useful variables.
1225 Defaults for the options are specified in brackets.
1227 Configuration:
1228 -h, --help display this help and exit
1229 --help=short display options specific to this package
1230 --help=recursive display the short help of all the included packages
1231 -V, --version display version information and exit
1232 -q, --quiet, --silent do not print \`checking...' messages
1233 --cache-file=FILE cache test results in FILE [disabled]
1234 -C, --config-cache alias for \`--cache-file=config.cache'
1235 -n, --no-create do not create output files
1236 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1238 Installation directories:
1239 --prefix=PREFIX install architecture-independent files in PREFIX
1240 [$ac_default_prefix]
1241 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1242 [PREFIX]
1244 By default, \`make install' will install all the files in
1245 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1246 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1247 for instance \`--prefix=\$HOME'.
1249 For better control, use the options below.
1251 Fine tuning of the installation directories:
1252 --bindir=DIR user executables [EPREFIX/bin]
1253 --sbindir=DIR system admin executables [EPREFIX/sbin]
1254 --libexecdir=DIR program executables [EPREFIX/libexec]
1255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1257 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1258 --libdir=DIR object code libraries [EPREFIX/lib]
1259 --includedir=DIR C header files [PREFIX/include]
1260 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1261 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1262 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1263 --infodir=DIR info documentation [DATAROOTDIR/info]
1264 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1265 --mandir=DIR man documentation [DATAROOTDIR/man]
1266 --docdir=DIR documentation root [DATAROOTDIR/doc/gotools]
1267 --htmldir=DIR html documentation [DOCDIR]
1268 --dvidir=DIR dvi documentation [DOCDIR]
1269 --pdfdir=DIR pdf documentation [DOCDIR]
1270 --psdir=DIR ps documentation [DOCDIR]
1271 _ACEOF
1273 cat <<\_ACEOF
1275 Program names:
1276 --program-prefix=PREFIX prepend PREFIX to installed program names
1277 --program-suffix=SUFFIX append SUFFIX to installed program names
1278 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1280 System types:
1281 --build=BUILD configure for building on BUILD [guessed]
1282 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1283 --target=TARGET configure for building compilers for TARGET [HOST]
1284 _ACEOF
1287 if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive ) echo "Configuration of package-unused version-unused:";;
1290 esac
1291 cat <<\_ACEOF
1293 Optional Features:
1294 --disable-option-checking ignore unrecognized --enable/--with options
1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1297 --enable-maintainer-mode enable make rules and dependencies not useful
1298 (and sometimes confusing) to the casual installer
1299 --disable-dependency-tracking speeds up one-time build
1300 --enable-dependency-tracking do not reject slow dependency extractors
1302 Some influential environment variables:
1303 CC C compiler command
1304 CFLAGS C compiler flags
1305 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1306 nonstandard directory <lib dir>
1307 LIBS libraries to pass to the linker, e.g. -l<library>
1308 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1309 you have headers in a nonstandard directory <include dir>
1310 GOC Go compiler command
1311 GOCFLAGS Go compiler flags
1313 Use these variables to override the choices made by `configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 Report bugs to the package provider.
1317 _ACEOF
1318 ac_status=$?
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1326 continue
1327 ac_builddir=.
1329 case "$ac_dir" in
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 esac ;;
1339 esac
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1345 case $srcdir in
1346 .) # We are building in place.
1347 ac_srcdir=.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1354 *) # Relative name.
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1358 esac
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1369 else
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371 fi || ac_status=$?
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1373 done
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1378 cat <<\_ACEOF
1379 package-unused configure version-unused
1380 generated by GNU Autoconf 2.64
1382 Copyright (C) 2009 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1385 _ACEOF
1386 exit
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1401 case "(($ac_try" in
1402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1403 *) ac_try_echo=$ac_try;;
1404 esac
1405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1408 ac_status=$?
1409 if test -s conftest.err; then
1410 grep -v '^ *+' conftest.err >conftest.er1
1411 cat conftest.er1 >&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.$ac_objext; then :
1419 ac_retval=0
1420 else
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.$ac_ext >&5
1424 ac_retval=1
1426 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1427 return $ac_retval
1429 } # ac_fn_c_try_compile
1431 # ac_fn_c_try_link LINENO
1432 # -----------------------
1433 # Try to link conftest.$ac_ext, and return whether this succeeded.
1434 ac_fn_c_try_link ()
1436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1437 rm -f conftest.$ac_objext conftest$ac_exeext
1438 if { { ac_try="$ac_link"
1439 case "(($ac_try" in
1440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1441 *) ac_try_echo=$ac_try;;
1442 esac
1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_link") 2>conftest.err
1446 ac_status=$?
1447 if test -s conftest.err; then
1448 grep -v '^ *+' conftest.err >conftest.er1
1449 cat conftest.er1 >&5
1450 mv -f conftest.er1 conftest.err
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && {
1454 test -z "$ac_c_werror_flag" ||
1455 test ! -s conftest.err
1456 } && test -s conftest$ac_exeext && {
1457 test "$cross_compiling" = yes ||
1458 $as_test_x conftest$ac_exeext
1459 }; then :
1460 ac_retval=0
1461 else
1462 $as_echo "$as_me: failed program was:" >&5
1463 sed 's/^/| /' conftest.$ac_ext >&5
1465 ac_retval=1
1467 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1468 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1469 # interfere with the next link command; also delete a directory that is
1470 # left behind by Apple's compiler. We do this before executing the actions.
1471 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1472 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1473 return $ac_retval
1475 } # ac_fn_c_try_link
1477 # ac_fn_c_check_func LINENO FUNC VAR
1478 # ----------------------------------
1479 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1480 ac_fn_c_check_func ()
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1484 $as_echo_n "checking for $2... " >&6; }
1485 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1486 $as_echo_n "(cached) " >&6
1487 else
1488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1489 /* end confdefs.h. */
1490 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1492 #define $2 innocuous_$2
1494 /* System header to define __stub macros and hopefully few prototypes,
1495 which can conflict with char $2 (); below.
1496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1497 <limits.h> exists even on freestanding compilers. */
1499 #ifdef __STDC__
1500 # include <limits.h>
1501 #else
1502 # include <assert.h>
1503 #endif
1505 #undef $2
1507 /* Override any GCC internal prototype to avoid an error.
1508 Use char because int might match the return type of a GCC
1509 builtin and then its argument prototype would still apply. */
1510 #ifdef __cplusplus
1511 extern "C"
1512 #endif
1513 char $2 ();
1514 /* The GNU C library defines this for functions which it implements
1515 to always fail with ENOSYS. Some functions are actually named
1516 something starting with __ and the normal name is an alias. */
1517 #if defined __stub_$2 || defined __stub___$2
1518 choke me
1519 #endif
1522 main ()
1524 return $2 ();
1526 return 0;
1528 _ACEOF
1529 if ac_fn_c_try_link "$LINENO"; then :
1530 eval "$3=yes"
1531 else
1532 eval "$3=no"
1534 rm -f core conftest.err conftest.$ac_objext \
1535 conftest$ac_exeext conftest.$ac_ext
1537 eval ac_res=\$$3
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1539 $as_echo "$ac_res" >&6; }
1540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1542 } # ac_fn_c_check_func
1543 cat >config.log <<_ACEOF
1544 This file contains any messages produced by compilers while
1545 running configure, to aid debugging if configure makes a mistake.
1547 It was created by package-unused $as_me version-unused, which was
1548 generated by GNU Autoconf 2.64. Invocation command line was
1550 $ $0 $@
1552 _ACEOF
1553 exec 5>>config.log
1555 cat <<_ASUNAME
1556 ## --------- ##
1557 ## Platform. ##
1558 ## --------- ##
1560 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1561 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1562 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1563 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1564 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1566 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1567 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1569 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1570 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1571 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1572 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1573 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1574 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1575 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1577 _ASUNAME
1579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1580 for as_dir in $PATH
1582 IFS=$as_save_IFS
1583 test -z "$as_dir" && as_dir=.
1584 $as_echo "PATH: $as_dir"
1585 done
1586 IFS=$as_save_IFS
1588 } >&5
1590 cat >&5 <<_ACEOF
1593 ## ----------- ##
1594 ## Core tests. ##
1595 ## ----------- ##
1597 _ACEOF
1600 # Keep a trace of the command line.
1601 # Strip out --no-create and --no-recursion so they do not pile up.
1602 # Strip out --silent because we don't want to record it for future runs.
1603 # Also quote any args containing shell meta-characters.
1604 # Make two passes to allow for proper duplicate-argument suppression.
1605 ac_configure_args=
1606 ac_configure_args0=
1607 ac_configure_args1=
1608 ac_must_keep_next=false
1609 for ac_pass in 1 2
1611 for ac_arg
1613 case $ac_arg in
1614 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1615 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1616 | -silent | --silent | --silen | --sile | --sil)
1617 continue ;;
1618 *\'*)
1619 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1620 esac
1621 case $ac_pass in
1622 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1624 as_fn_append ac_configure_args1 " '$ac_arg'"
1625 if test $ac_must_keep_next = true; then
1626 ac_must_keep_next=false # Got value, back to normal.
1627 else
1628 case $ac_arg in
1629 *=* | --config-cache | -C | -disable-* | --disable-* \
1630 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1631 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1632 | -with-* | --with-* | -without-* | --without-* | --x)
1633 case "$ac_configure_args0 " in
1634 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1635 esac
1637 -* ) ac_must_keep_next=true ;;
1638 esac
1640 as_fn_append ac_configure_args " '$ac_arg'"
1642 esac
1643 done
1644 done
1645 { ac_configure_args0=; unset ac_configure_args0;}
1646 { ac_configure_args1=; unset ac_configure_args1;}
1648 # When interrupted or exit'd, cleanup temporary files, and complete
1649 # config.log. We remove comments because anyway the quotes in there
1650 # would cause problems or look ugly.
1651 # WARNING: Use '\'' to represent an apostrophe within the trap.
1652 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1653 trap 'exit_status=$?
1654 # Save into config.log some information that might help in debugging.
1656 echo
1658 cat <<\_ASBOX
1659 ## ---------------- ##
1660 ## Cache variables. ##
1661 ## ---------------- ##
1662 _ASBOX
1663 echo
1664 # The following way of writing the cache mishandles newlines in values,
1666 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1667 eval ac_val=\$$ac_var
1668 case $ac_val in #(
1669 *${as_nl}*)
1670 case $ac_var in #(
1671 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1672 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1673 esac
1674 case $ac_var in #(
1675 _ | IFS | as_nl) ;; #(
1676 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1677 *) { eval $ac_var=; unset $ac_var;} ;;
1678 esac ;;
1679 esac
1680 done
1681 (set) 2>&1 |
1682 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1683 *${as_nl}ac_space=\ *)
1684 sed -n \
1685 "s/'\''/'\''\\\\'\'''\''/g;
1686 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1687 ;; #(
1689 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1691 esac |
1692 sort
1694 echo
1696 cat <<\_ASBOX
1697 ## ----------------- ##
1698 ## Output variables. ##
1699 ## ----------------- ##
1700 _ASBOX
1701 echo
1702 for ac_var in $ac_subst_vars
1704 eval ac_val=\$$ac_var
1705 case $ac_val in
1706 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1707 esac
1708 $as_echo "$ac_var='\''$ac_val'\''"
1709 done | sort
1710 echo
1712 if test -n "$ac_subst_files"; then
1713 cat <<\_ASBOX
1714 ## ------------------- ##
1715 ## File substitutions. ##
1716 ## ------------------- ##
1717 _ASBOX
1718 echo
1719 for ac_var in $ac_subst_files
1721 eval ac_val=\$$ac_var
1722 case $ac_val in
1723 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1724 esac
1725 $as_echo "$ac_var='\''$ac_val'\''"
1726 done | sort
1727 echo
1730 if test -s confdefs.h; then
1731 cat <<\_ASBOX
1732 ## ----------- ##
1733 ## confdefs.h. ##
1734 ## ----------- ##
1735 _ASBOX
1736 echo
1737 cat confdefs.h
1738 echo
1740 test "$ac_signal" != 0 &&
1741 $as_echo "$as_me: caught signal $ac_signal"
1742 $as_echo "$as_me: exit $exit_status"
1743 } >&5
1744 rm -f core *.core core.conftest.* &&
1745 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1746 exit $exit_status
1748 for ac_signal in 1 2 13 15; do
1749 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1750 done
1751 ac_signal=0
1753 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1754 rm -f -r conftest* confdefs.h
1756 $as_echo "/* confdefs.h */" > confdefs.h
1758 # Predefined preprocessor variables.
1760 cat >>confdefs.h <<_ACEOF
1761 #define PACKAGE_NAME "$PACKAGE_NAME"
1762 _ACEOF
1764 cat >>confdefs.h <<_ACEOF
1765 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1766 _ACEOF
1768 cat >>confdefs.h <<_ACEOF
1769 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1770 _ACEOF
1772 cat >>confdefs.h <<_ACEOF
1773 #define PACKAGE_STRING "$PACKAGE_STRING"
1774 _ACEOF
1776 cat >>confdefs.h <<_ACEOF
1777 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1778 _ACEOF
1780 cat >>confdefs.h <<_ACEOF
1781 #define PACKAGE_URL "$PACKAGE_URL"
1782 _ACEOF
1785 # Let the site file select an alternate cache file if it wants to.
1786 # Prefer an explicitly selected file to automatically selected ones.
1787 ac_site_file1=NONE
1788 ac_site_file2=NONE
1789 if test -n "$CONFIG_SITE"; then
1790 ac_site_file1=$CONFIG_SITE
1791 elif test "x$prefix" != xNONE; then
1792 ac_site_file1=$prefix/share/config.site
1793 ac_site_file2=$prefix/etc/config.site
1794 else
1795 ac_site_file1=$ac_default_prefix/share/config.site
1796 ac_site_file2=$ac_default_prefix/etc/config.site
1798 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1800 test "x$ac_site_file" = xNONE && continue
1801 if test -r "$ac_site_file"; then
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1803 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1804 sed 's/^/| /' "$ac_site_file" >&5
1805 . "$ac_site_file"
1807 done
1809 if test -r "$cache_file"; then
1810 # Some versions of bash will fail to source /dev/null (special
1811 # files actually), so we avoid doing that.
1812 if test -f "$cache_file"; then
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1814 $as_echo "$as_me: loading cache $cache_file" >&6;}
1815 case $cache_file in
1816 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1817 *) . "./$cache_file";;
1818 esac
1820 else
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1822 $as_echo "$as_me: creating cache $cache_file" >&6;}
1823 >$cache_file
1826 # Check that the precious variables saved in the cache have kept the same
1827 # value.
1828 ac_cache_corrupted=false
1829 for ac_var in $ac_precious_vars; do
1830 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1831 eval ac_new_set=\$ac_env_${ac_var}_set
1832 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1833 eval ac_new_val=\$ac_env_${ac_var}_value
1834 case $ac_old_set,$ac_new_set in
1835 set,)
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1837 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1838 ac_cache_corrupted=: ;;
1839 ,set)
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1841 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1842 ac_cache_corrupted=: ;;
1843 ,);;
1845 if test "x$ac_old_val" != "x$ac_new_val"; then
1846 # differences in whitespace do not lead to failure.
1847 ac_old_val_w=`echo x $ac_old_val`
1848 ac_new_val_w=`echo x $ac_new_val`
1849 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1851 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1852 ac_cache_corrupted=:
1853 else
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1855 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1856 eval $ac_var=\$ac_old_val
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1859 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1861 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1862 fi;;
1863 esac
1864 # Pass precious variables to config.status.
1865 if test "$ac_new_set" = set; then
1866 case $ac_new_val in
1867 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1868 *) ac_arg=$ac_var=$ac_new_val ;;
1869 esac
1870 case " $ac_configure_args " in
1871 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1872 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1873 esac
1875 done
1876 if $ac_cache_corrupted; then
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1880 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1881 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1883 ## -------------------- ##
1884 ## Main body of script. ##
1885 ## -------------------- ##
1887 ac_ext=c
1888 ac_cpp='$CPP $CPPFLAGS'
1889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1910 # This is what autoupdate's m4 run will expand. It fires
1911 # the warning (with _au_warn_XXX), outputs it into the
1912 # updated configure.ac (with AC_DIAGNOSE), and then outputs
1913 # the replacement expansion.
1916 # This is an auxiliary macro that is also run when
1917 # autoupdate runs m4. It simply calls m4_warning, but
1918 # we need a wrapper so that each warning is emitted only
1919 # once. We break the quoting in m4_warning's argument in
1920 # order to expand this macro's arguments, not AU_DEFUN's.
1923 # Finally, this is the expansion that is picked up by
1924 # autoconf. It tells the user to run autoupdate, and
1925 # then outputs the replacement expansion. We do not care
1926 # about autoupdate's warning because that contains
1927 # information on what to do *after* running autoupdate.
1946 # AC_PROG_GO
1949 # Determine the noncanonical names used for directories.
1950 ac_aux_dir=
1951 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1952 for ac_t in install-sh install.sh shtool; do
1953 if test -f "$ac_dir/$ac_t"; then
1954 ac_aux_dir=$ac_dir
1955 ac_install_sh="$ac_aux_dir/$ac_t -c"
1956 break 2
1958 done
1959 done
1960 if test -z "$ac_aux_dir"; then
1961 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1964 # These three variables are undocumented and unsupported,
1965 # and are intended to be withdrawn in a future Autoconf release.
1966 # They can cause serious problems if a builder's source tree is in a directory
1967 # whose full name contains unusual characters.
1968 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1969 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1970 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1973 # Make sure we can run config.sub.
1974 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1975 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1978 $as_echo_n "checking build system type... " >&6; }
1979 if test "${ac_cv_build+set}" = set; then :
1980 $as_echo_n "(cached) " >&6
1981 else
1982 ac_build_alias=$build_alias
1983 test "x$ac_build_alias" = x &&
1984 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1985 test "x$ac_build_alias" = x &&
1986 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1987 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1988 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1992 $as_echo "$ac_cv_build" >&6; }
1993 case $ac_cv_build in
1994 *-*-*) ;;
1995 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1996 esac
1997 build=$ac_cv_build
1998 ac_save_IFS=$IFS; IFS='-'
1999 set x $ac_cv_build
2000 shift
2001 build_cpu=$1
2002 build_vendor=$2
2003 shift; shift
2004 # Remember, the first character of IFS is used to create $*,
2005 # except with old shells:
2006 build_os=$*
2007 IFS=$ac_save_IFS
2008 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2011 case ${build_alias} in
2012 "") build_noncanonical=${build} ;;
2013 *) build_noncanonical=${build_alias} ;;
2014 esac
2018 case ${host_alias} in
2019 "") host_noncanonical=${build_noncanonical} ;;
2020 *) host_noncanonical=${host_alias} ;;
2021 esac
2025 case ${target_alias} in
2026 "") target_noncanonical=${host_noncanonical} ;;
2027 *) target_noncanonical=${target_alias} ;;
2028 esac
2033 test "$host_noncanonical" = "$target_noncanonical" &&
2034 test "$program_prefix$program_suffix$program_transform_name" = \
2035 NONENONEs,x,x, &&
2036 program_transform_name=s,y,y,
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2039 $as_echo_n "checking host system type... " >&6; }
2040 if test "${ac_cv_host+set}" = set; then :
2041 $as_echo_n "(cached) " >&6
2042 else
2043 if test "x$host_alias" = x; then
2044 ac_cv_host=$ac_cv_build
2045 else
2046 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2047 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2052 $as_echo "$ac_cv_host" >&6; }
2053 case $ac_cv_host in
2054 *-*-*) ;;
2055 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2056 esac
2057 host=$ac_cv_host
2058 ac_save_IFS=$IFS; IFS='-'
2059 set x $ac_cv_host
2060 shift
2061 host_cpu=$1
2062 host_vendor=$2
2063 shift; shift
2064 # Remember, the first character of IFS is used to create $*,
2065 # except with old shells:
2066 host_os=$*
2067 IFS=$ac_save_IFS
2068 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2072 $as_echo_n "checking target system type... " >&6; }
2073 if test "${ac_cv_target+set}" = set; then :
2074 $as_echo_n "(cached) " >&6
2075 else
2076 if test "x$target_alias" = x; then
2077 ac_cv_target=$ac_cv_host
2078 else
2079 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2080 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2085 $as_echo "$ac_cv_target" >&6; }
2086 case $ac_cv_target in
2087 *-*-*) ;;
2088 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2089 esac
2090 target=$ac_cv_target
2091 ac_save_IFS=$IFS; IFS='-'
2092 set x $ac_cv_target
2093 shift
2094 target_cpu=$1
2095 target_vendor=$2
2096 shift; shift
2097 # Remember, the first character of IFS is used to create $*,
2098 # except with old shells:
2099 target_os=$*
2100 IFS=$ac_save_IFS
2101 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2104 # The aliases save the names the user supplied, while $host etc.
2105 # will get canonicalized.
2106 test -n "$target_alias" &&
2107 test "$program_prefix$program_suffix$program_transform_name" = \
2108 NONENONEs,x,x, &&
2109 program_prefix=${target_alias}-
2111 test "$program_prefix" != NONE &&
2112 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2113 # Use a double $ so make ignores it.
2114 test "$program_suffix" != NONE &&
2115 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2116 # Double any \ or $.
2117 # By default was `s,x,x', remove it if useless.
2118 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2119 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2122 am__api_version='1.11'
2124 # Find a good install program. We prefer a C program (faster),
2125 # so one script is as good as another. But avoid the broken or
2126 # incompatible versions:
2127 # SysV /etc/install, /usr/sbin/install
2128 # SunOS /usr/etc/install
2129 # IRIX /sbin/install
2130 # AIX /bin/install
2131 # AmigaOS /C/install, which installs bootblocks on floppy discs
2132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2135 # OS/2's system install, which has a completely different semantic
2136 # ./install, which can be erroneously created by make from ./install.sh.
2137 # Reject install programs that cannot install multiple files.
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2139 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2140 if test -z "$INSTALL"; then
2141 if test "${ac_cv_path_install+set}" = set; then :
2142 $as_echo_n "(cached) " >&6
2143 else
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2147 IFS=$as_save_IFS
2148 test -z "$as_dir" && as_dir=.
2149 # Account for people who put trailing slashes in PATH elements.
2150 case $as_dir/ in #((
2151 ./ | .// | /[cC]/* | \
2152 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2153 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2154 /usr/ucb/* ) ;;
2156 # OSF1 and SCO ODT 3.0 have their own names for install.
2157 # Don't use installbsd from OSF since it installs stuff as root
2158 # by default.
2159 for ac_prog in ginstall scoinst install; do
2160 for ac_exec_ext in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2162 if test $ac_prog = install &&
2163 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2164 # AIX install. It has an incompatible calling convention.
2166 elif test $ac_prog = install &&
2167 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2168 # program-specific install script used by HP pwplus--don't use.
2170 else
2171 rm -rf conftest.one conftest.two conftest.dir
2172 echo one > conftest.one
2173 echo two > conftest.two
2174 mkdir conftest.dir
2175 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2176 test -s conftest.one && test -s conftest.two &&
2177 test -s conftest.dir/conftest.one &&
2178 test -s conftest.dir/conftest.two
2179 then
2180 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2181 break 3
2185 done
2186 done
2188 esac
2190 done
2191 IFS=$as_save_IFS
2193 rm -rf conftest.one conftest.two conftest.dir
2196 if test "${ac_cv_path_install+set}" = set; then
2197 INSTALL=$ac_cv_path_install
2198 else
2199 # As a last resort, use the slow shell script. Don't cache a
2200 # value for INSTALL within a source directory, because that will
2201 # break other packages using the cache if that directory is
2202 # removed, or if the value is a relative name.
2203 INSTALL=$ac_install_sh
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2207 $as_echo "$INSTALL" >&6; }
2209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2210 # It thinks the first close brace ends the variable substitution.
2211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2218 $as_echo_n "checking whether build environment is sane... " >&6; }
2219 # Just in case
2220 sleep 1
2221 echo timestamp > conftest.file
2222 # Reject unsafe characters in $srcdir or the absolute working directory
2223 # name. Accept space and tab only in the latter.
2224 am_lf='
2226 case `pwd` in
2227 *[\\\"\#\$\&\'\`$am_lf]*)
2228 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2229 esac
2230 case $srcdir in
2231 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2232 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2233 esac
2235 # Do `set' in a subshell so we don't clobber the current shell's
2236 # arguments. Must try -L first in case configure is actually a
2237 # symlink; some systems play weird games with the mod time of symlinks
2238 # (eg FreeBSD returns the mod time of the symlink's containing
2239 # directory).
2240 if (
2241 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2242 if test "$*" = "X"; then
2243 # -L didn't work.
2244 set X `ls -t "$srcdir/configure" conftest.file`
2246 rm -f conftest.file
2247 if test "$*" != "X $srcdir/configure conftest.file" \
2248 && test "$*" != "X conftest.file $srcdir/configure"; then
2250 # If neither matched, then we have a broken ls. This can happen
2251 # if, for instance, CONFIG_SHELL is bash and it inherits a
2252 # broken ls alias from the environment. This has actually
2253 # happened. Such a system could not be considered "sane".
2254 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2255 alias in your environment" "$LINENO" 5
2258 test "$2" = conftest.file
2260 then
2261 # Ok.
2263 else
2264 as_fn_error "newly created file is older than distributed files!
2265 Check your system clock" "$LINENO" 5
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2268 $as_echo "yes" >&6; }
2269 # expand $ac_aux_dir to an absolute path
2270 am_aux_dir=`cd $ac_aux_dir && pwd`
2272 if test x"${MISSING+set}" != xset; then
2273 case $am_aux_dir in
2274 *\ * | *\ *)
2275 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2277 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2278 esac
2280 # Use eval to expand $SHELL
2281 if eval "$MISSING --run true"; then
2282 am_missing_run="$MISSING --run "
2283 else
2284 am_missing_run=
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2286 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2289 if test x"${install_sh}" != xset; then
2290 case $am_aux_dir in
2291 *\ * | *\ *)
2292 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2294 install_sh="\${SHELL} $am_aux_dir/install-sh"
2295 esac
2298 # Installed binaries are usually stripped using `strip' when the user
2299 # run `make install-strip'. However `strip' might not be the right
2300 # tool to use in cross-compilation environments, therefore Automake
2301 # will honor the `STRIP' environment variable to overrule this program.
2302 if test "$cross_compiling" != no; then
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2305 set dummy ${ac_tool_prefix}strip; ac_word=$2
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_STRIP+set}" = set; then :
2309 $as_echo_n "(cached) " >&6
2310 else
2311 if test -n "$STRIP"; then
2312 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2313 else
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2317 IFS=$as_save_IFS
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 break 2
2325 done
2326 done
2327 IFS=$as_save_IFS
2331 STRIP=$ac_cv_prog_STRIP
2332 if test -n "$STRIP"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2334 $as_echo "$STRIP" >&6; }
2335 else
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337 $as_echo "no" >&6; }
2342 if test -z "$ac_cv_prog_STRIP"; then
2343 ac_ct_STRIP=$STRIP
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip; ac_word=$2
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2347 $as_echo_n "checking for $ac_word... " >&6; }
2348 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2349 $as_echo_n "(cached) " >&6
2350 else
2351 if test -n "$ac_ct_STRIP"; then
2352 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2353 else
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 for as_dir in $PATH
2357 IFS=$as_save_IFS
2358 test -z "$as_dir" && as_dir=.
2359 for ac_exec_ext in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_ac_ct_STRIP="strip"
2362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 break 2
2365 done
2366 done
2367 IFS=$as_save_IFS
2371 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2372 if test -n "$ac_ct_STRIP"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2374 $as_echo "$ac_ct_STRIP" >&6; }
2375 else
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2377 $as_echo "no" >&6; }
2380 if test "x$ac_ct_STRIP" = x; then
2381 STRIP=":"
2382 else
2383 case $cross_compiling:$ac_tool_warned in
2384 yes:)
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2387 ac_tool_warned=yes ;;
2388 esac
2389 STRIP=$ac_ct_STRIP
2391 else
2392 STRIP="$ac_cv_prog_STRIP"
2396 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2399 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2400 if test -z "$MKDIR_P"; then
2401 if test "${ac_cv_path_mkdir+set}" = set; then :
2402 $as_echo_n "(cached) " >&6
2403 else
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2407 IFS=$as_save_IFS
2408 test -z "$as_dir" && as_dir=.
2409 for ac_prog in mkdir gmkdir; do
2410 for ac_exec_ext in '' $ac_executable_extensions; do
2411 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2412 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2413 'mkdir (GNU coreutils) '* | \
2414 'mkdir (coreutils) '* | \
2415 'mkdir (fileutils) '4.1*)
2416 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2417 break 3;;
2418 esac
2419 done
2420 done
2421 done
2422 IFS=$as_save_IFS
2426 if test "${ac_cv_path_mkdir+set}" = set; then
2427 MKDIR_P="$ac_cv_path_mkdir -p"
2428 else
2429 # As a last resort, use the slow shell script. Don't cache a
2430 # value for MKDIR_P within a source directory, because that will
2431 # break other packages using the cache if that directory is
2432 # removed, or if the value is a relative name.
2433 test -d ./--version && rmdir ./--version
2434 MKDIR_P="$ac_install_sh -d"
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2438 $as_echo "$MKDIR_P" >&6; }
2440 mkdir_p="$MKDIR_P"
2441 case $mkdir_p in
2442 [\\/$]* | ?:[\\/]*) ;;
2443 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2444 esac
2446 for ac_prog in gawk mawk nawk awk
2448 # Extract the first word of "$ac_prog", so it can be a program name with args.
2449 set dummy $ac_prog; ac_word=$2
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if test "${ac_cv_prog_AWK+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2454 else
2455 if test -n "$AWK"; then
2456 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2457 else
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH
2461 IFS=$as_save_IFS
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_AWK="$ac_prog"
2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 break 2
2469 done
2470 done
2471 IFS=$as_save_IFS
2475 AWK=$ac_cv_prog_AWK
2476 if test -n "$AWK"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2478 $as_echo "$AWK" >&6; }
2479 else
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2485 test -n "$AWK" && break
2486 done
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2489 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2490 set x ${MAKE-make}
2491 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2492 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2493 $as_echo_n "(cached) " >&6
2494 else
2495 cat >conftest.make <<\_ACEOF
2496 SHELL = /bin/sh
2497 all:
2498 @echo '@@@%%%=$(MAKE)=@@@%%%'
2499 _ACEOF
2500 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2501 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2502 *@@@%%%=?*=@@@%%%*)
2503 eval ac_cv_prog_make_${ac_make}_set=yes;;
2505 eval ac_cv_prog_make_${ac_make}_set=no;;
2506 esac
2507 rm -f conftest.make
2509 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2511 $as_echo "yes" >&6; }
2512 SET_MAKE=
2513 else
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2515 $as_echo "no" >&6; }
2516 SET_MAKE="MAKE=${MAKE-make}"
2519 rm -rf .tst 2>/dev/null
2520 mkdir .tst 2>/dev/null
2521 if test -d .tst; then
2522 am__leading_dot=.
2523 else
2524 am__leading_dot=_
2526 rmdir .tst 2>/dev/null
2528 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2529 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2530 # is not polluted with repeated "-I."
2531 am__isrc=' -I$(srcdir)'
2532 # test to see if srcdir already configured
2533 if test -f $srcdir/config.status; then
2534 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2538 # test whether we have cygpath
2539 if test -z "$CYGPATH_W"; then
2540 if (cygpath --version) >/dev/null 2>/dev/null; then
2541 CYGPATH_W='cygpath -w'
2542 else
2543 CYGPATH_W=echo
2548 # Define the identity of the package.
2549 PACKAGE='gotools'
2550 VERSION='version-unused'
2553 # Some tools Automake needs.
2555 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2558 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2561 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2564 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2567 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2569 # We need awk for the "check" target. The system "awk" is bad on
2570 # some platforms.
2571 # Always define AMTAR for backward compatibility. Yes, it's still used
2572 # in the wild :-( We should find a proper way to deprecate it ...
2573 AMTAR='$${TAR-tar}'
2575 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2583 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2584 # Check whether --enable-maintainer-mode was given.
2585 if test "${enable_maintainer_mode+set}" = set; then :
2586 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2587 else
2588 USE_MAINTAINER_MODE=no
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2592 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2593 if test $USE_MAINTAINER_MODE = yes; then
2594 MAINTAINER_MODE_TRUE=
2595 MAINTAINER_MODE_FALSE='#'
2596 else
2597 MAINTAINER_MODE_TRUE='#'
2598 MAINTAINER_MODE_FALSE=
2601 MAINT=$MAINTAINER_MODE_TRUE
2607 ac_ext=c
2608 ac_cpp='$CPP $CPPFLAGS'
2609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2612 if test -n "$ac_tool_prefix"; then
2613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if test "${ac_cv_prog_CC+set}" = set; then :
2618 $as_echo_n "(cached) " >&6
2619 else
2620 if test -n "$CC"; then
2621 ac_cv_prog_CC="$CC" # Let the user override the test.
2622 else
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH
2626 IFS=$as_save_IFS
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 break 2
2634 done
2635 done
2636 IFS=$as_save_IFS
2640 CC=$ac_cv_prog_CC
2641 if test -n "$CC"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2643 $as_echo "$CC" >&6; }
2644 else
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2651 if test -z "$ac_cv_prog_CC"; then
2652 ac_ct_CC=$CC
2653 # Extract the first word of "gcc", so it can be a program name with args.
2654 set dummy gcc; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2659 else
2660 if test -n "$ac_ct_CC"; then
2661 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2662 else
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH
2666 IFS=$as_save_IFS
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_ac_ct_CC="gcc"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 break 2
2674 done
2675 done
2676 IFS=$as_save_IFS
2680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2681 if test -n "$ac_ct_CC"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2683 $as_echo "$ac_ct_CC" >&6; }
2684 else
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2689 if test "x$ac_ct_CC" = x; then
2690 CC=""
2691 else
2692 case $cross_compiling:$ac_tool_warned in
2693 yes:)
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2696 ac_tool_warned=yes ;;
2697 esac
2698 CC=$ac_ct_CC
2700 else
2701 CC="$ac_cv_prog_CC"
2704 if test -z "$CC"; then
2705 if test -n "$ac_tool_prefix"; then
2706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2707 set dummy ${ac_tool_prefix}cc; ac_word=$2
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 $as_echo_n "checking for $ac_word... " >&6; }
2710 if test "${ac_cv_prog_CC+set}" = set; then :
2711 $as_echo_n "(cached) " >&6
2712 else
2713 if test -n "$CC"; then
2714 ac_cv_prog_CC="$CC" # Let the user override the test.
2715 else
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 for as_dir in $PATH
2719 IFS=$as_save_IFS
2720 test -z "$as_dir" && as_dir=.
2721 for ac_exec_ext in '' $ac_executable_extensions; do
2722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723 ac_cv_prog_CC="${ac_tool_prefix}cc"
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 break 2
2727 done
2728 done
2729 IFS=$as_save_IFS
2733 CC=$ac_cv_prog_CC
2734 if test -n "$CC"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2736 $as_echo "$CC" >&6; }
2737 else
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2745 if test -z "$CC"; then
2746 # Extract the first word of "cc", so it can be a program name with args.
2747 set dummy cc; ac_word=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if test "${ac_cv_prog_CC+set}" = set; then :
2751 $as_echo_n "(cached) " >&6
2752 else
2753 if test -n "$CC"; then
2754 ac_cv_prog_CC="$CC" # Let the user override the test.
2755 else
2756 ac_prog_rejected=no
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 for as_dir in $PATH
2760 IFS=$as_save_IFS
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2765 ac_prog_rejected=yes
2766 continue
2768 ac_cv_prog_CC="cc"
2769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2770 break 2
2772 done
2773 done
2774 IFS=$as_save_IFS
2776 if test $ac_prog_rejected = yes; then
2777 # We found a bogon in the path, so make sure we never use it.
2778 set dummy $ac_cv_prog_CC
2779 shift
2780 if test $# != 0; then
2781 # We chose a different compiler from the bogus one.
2782 # However, it has the same basename, so the bogon will be chosen
2783 # first if we set CC to just the basename; use the full file name.
2784 shift
2785 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2790 CC=$ac_cv_prog_CC
2791 if test -n "$CC"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2794 else
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2801 if test -z "$CC"; then
2802 if test -n "$ac_tool_prefix"; then
2803 for ac_prog in cl.exe
2805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2806 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_CC+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2811 else
2812 if test -n "$CC"; then
2813 ac_cv_prog_CC="$CC" # Let the user override the test.
2814 else
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 for as_dir in $PATH
2818 IFS=$as_save_IFS
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 break 2
2826 done
2827 done
2828 IFS=$as_save_IFS
2832 CC=$ac_cv_prog_CC
2833 if test -n "$CC"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2835 $as_echo "$CC" >&6; }
2836 else
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$CC" && break
2843 done
2845 if test -z "$CC"; then
2846 ac_ct_CC=$CC
2847 for ac_prog in cl.exe
2849 # Extract the first word of "$ac_prog", so it can be a program name with args.
2850 set dummy $ac_prog; ac_word=$2
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2852 $as_echo_n "checking for $ac_word... " >&6; }
2853 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2854 $as_echo_n "(cached) " >&6
2855 else
2856 if test -n "$ac_ct_CC"; then
2857 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2858 else
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 for as_dir in $PATH
2862 IFS=$as_save_IFS
2863 test -z "$as_dir" && as_dir=.
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2866 ac_cv_prog_ac_ct_CC="$ac_prog"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 break 2
2870 done
2871 done
2872 IFS=$as_save_IFS
2876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2877 if test -n "$ac_ct_CC"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2879 $as_echo "$ac_ct_CC" >&6; }
2880 else
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2886 test -n "$ac_ct_CC" && break
2887 done
2889 if test "x$ac_ct_CC" = x; then
2890 CC=""
2891 else
2892 case $cross_compiling:$ac_tool_warned in
2893 yes:)
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2896 ac_tool_warned=yes ;;
2897 esac
2898 CC=$ac_ct_CC
2905 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2907 as_fn_error "no acceptable C compiler found in \$PATH
2908 See \`config.log' for more details." "$LINENO" 5; }
2910 # Provide some information about the compiler.
2911 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2912 set X $ac_compile
2913 ac_compiler=$2
2914 for ac_option in --version -v -V -qversion; do
2915 { { ac_try="$ac_compiler $ac_option >&5"
2916 case "(($ac_try" in
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2919 esac
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2923 ac_status=$?
2924 if test -s conftest.err; then
2925 sed '10a\
2926 ... rest of stderr output deleted ...
2927 10q' conftest.err >conftest.er1
2928 cat conftest.er1 >&5
2929 rm -f conftest.er1 conftest.err
2931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2932 test $ac_status = 0; }
2933 done
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2939 main ()
2943 return 0;
2945 _ACEOF
2946 ac_clean_files_save=$ac_clean_files
2947 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2948 # Try to create an executable without -o first, disregard a.out.
2949 # It will help us diagnose broken compilers, and finding out an intuition
2950 # of exeext.
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2952 $as_echo_n "checking for C compiler default output file name... " >&6; }
2953 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2955 # The possible output files:
2956 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2958 ac_rmfiles=
2959 for ac_file in $ac_files
2961 case $ac_file in
2962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2963 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2964 esac
2965 done
2966 rm -f $ac_rmfiles
2968 if { { ac_try="$ac_link_default"
2969 case "(($ac_try" in
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2972 esac
2973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2974 $as_echo "$ac_try_echo"; } >&5
2975 (eval "$ac_link_default") 2>&5
2976 ac_status=$?
2977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978 test $ac_status = 0; }; then :
2979 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2980 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2981 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2982 # so that the user can short-circuit this test for compilers unknown to
2983 # Autoconf.
2984 for ac_file in $ac_files ''
2986 test -f "$ac_file" || continue
2987 case $ac_file in
2988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2990 [ab].out )
2991 # We found the default executable, but exeext='' is most
2992 # certainly right.
2993 break;;
2994 *.* )
2995 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2996 then :; else
2997 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2999 # We set ac_cv_exeext here because the later test for it is not
3000 # safe: cross compilers may not add the suffix if given an `-o'
3001 # argument, so we may need to know it at that point already.
3002 # Even if this section looks crufty: it has the advantage of
3003 # actually working.
3004 break;;
3006 break;;
3007 esac
3008 done
3009 test "$ac_cv_exeext" = no && ac_cv_exeext=
3011 else
3012 ac_file=''
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3015 $as_echo "$ac_file" >&6; }
3016 if test -z "$ac_file"; then :
3017 $as_echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 { as_fn_set_status 77
3023 as_fn_error "C compiler cannot create executables
3024 See \`config.log' for more details." "$LINENO" 5; }; }
3026 ac_exeext=$ac_cv_exeext
3028 # Check that the compiler produces executables we can run. If not, either
3029 # the compiler is broken, or we cross compile.
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3031 $as_echo_n "checking whether the C compiler works... " >&6; }
3032 # If not cross compiling, check that we can run a simple program.
3033 if test "$cross_compiling" != yes; then
3034 if { ac_try='./$ac_file'
3035 { { case "(($ac_try" in
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3038 esac
3039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3040 $as_echo "$ac_try_echo"; } >&5
3041 (eval "$ac_try") 2>&5
3042 ac_status=$?
3043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3044 test $ac_status = 0; }; }; then
3045 cross_compiling=no
3046 else
3047 if test "$cross_compiling" = maybe; then
3048 cross_compiling=yes
3049 else
3050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052 as_fn_error "cannot run C compiled programs.
3053 If you meant to cross compile, use \`--host'.
3054 See \`config.log' for more details." "$LINENO" 5; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3059 $as_echo "yes" >&6; }
3061 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3062 ac_clean_files=$ac_clean_files_save
3063 # Check that the compiler produces executables we can run. If not, either
3064 # the compiler is broken, or we cross compile.
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3066 $as_echo_n "checking whether we are cross compiling... " >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3068 $as_echo "$cross_compiling" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3071 $as_echo_n "checking for suffix of executables... " >&6; }
3072 if { { ac_try="$ac_link"
3073 case "(($ac_try" in
3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075 *) ac_try_echo=$ac_try;;
3076 esac
3077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3078 $as_echo "$ac_try_echo"; } >&5
3079 (eval "$ac_link") 2>&5
3080 ac_status=$?
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; }; then :
3083 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3084 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3085 # work properly (i.e., refer to `conftest.exe'), while it won't with
3086 # `rm'.
3087 for ac_file in conftest.exe conftest conftest.*; do
3088 test -f "$ac_file" || continue
3089 case $ac_file in
3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3091 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3092 break;;
3093 * ) break;;
3094 esac
3095 done
3096 else
3097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3099 as_fn_error "cannot compute suffix of executables: cannot compile and link
3100 See \`config.log' for more details." "$LINENO" 5; }
3102 rm -f conftest$ac_cv_exeext
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3104 $as_echo "$ac_cv_exeext" >&6; }
3106 rm -f conftest.$ac_ext
3107 EXEEXT=$ac_cv_exeext
3108 ac_exeext=$EXEEXT
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3110 $as_echo_n "checking for suffix of object files... " >&6; }
3111 if test "${ac_cv_objext+set}" = set; then :
3112 $as_echo_n "(cached) " >&6
3113 else
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3118 main ()
3122 return 0;
3124 _ACEOF
3125 rm -f conftest.o conftest.obj
3126 if { { ac_try="$ac_compile"
3127 case "(($ac_try" in
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3130 esac
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_compile") 2>&5
3134 ac_status=$?
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }; then :
3137 for ac_file in conftest.o conftest.obj conftest.*; do
3138 test -f "$ac_file" || continue;
3139 case $ac_file in
3140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3141 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3142 break;;
3143 esac
3144 done
3145 else
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 as_fn_error "cannot compute suffix of object files: cannot compile
3152 See \`config.log' for more details." "$LINENO" 5; }
3154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3157 $as_echo "$ac_cv_objext" >&6; }
3158 OBJEXT=$ac_cv_objext
3159 ac_objext=$OBJEXT
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3161 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3162 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3163 $as_echo_n "(cached) " >&6
3164 else
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3169 main ()
3171 #ifndef __GNUC__
3172 choke me
3173 #endif
3176 return 0;
3178 _ACEOF
3179 if ac_fn_c_try_compile "$LINENO"; then :
3180 ac_compiler_gnu=yes
3181 else
3182 ac_compiler_gnu=no
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3189 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3190 if test $ac_compiler_gnu = yes; then
3191 GCC=yes
3192 else
3193 GCC=
3195 ac_test_CFLAGS=${CFLAGS+set}
3196 ac_save_CFLAGS=$CFLAGS
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3198 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3199 if test "${ac_cv_prog_cc_g+set}" = set; then :
3200 $as_echo_n "(cached) " >&6
3201 else
3202 ac_save_c_werror_flag=$ac_c_werror_flag
3203 ac_c_werror_flag=yes
3204 ac_cv_prog_cc_g=no
3205 CFLAGS="-g"
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3210 main ()
3214 return 0;
3216 _ACEOF
3217 if ac_fn_c_try_compile "$LINENO"; then :
3218 ac_cv_prog_cc_g=yes
3219 else
3220 CFLAGS=""
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3225 main ()
3229 return 0;
3231 _ACEOF
3232 if ac_fn_c_try_compile "$LINENO"; then :
3234 else
3235 ac_c_werror_flag=$ac_save_c_werror_flag
3236 CFLAGS="-g"
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3241 main ()
3245 return 0;
3247 _ACEOF
3248 if ac_fn_c_try_compile "$LINENO"; then :
3249 ac_cv_prog_cc_g=yes
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3256 ac_c_werror_flag=$ac_save_c_werror_flag
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3259 $as_echo "$ac_cv_prog_cc_g" >&6; }
3260 if test "$ac_test_CFLAGS" = set; then
3261 CFLAGS=$ac_save_CFLAGS
3262 elif test $ac_cv_prog_cc_g = yes; then
3263 if test "$GCC" = yes; then
3264 CFLAGS="-g -O2"
3265 else
3266 CFLAGS="-g"
3268 else
3269 if test "$GCC" = yes; then
3270 CFLAGS="-O2"
3271 else
3272 CFLAGS=
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3276 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3277 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 ac_cv_prog_cc_c89=no
3281 ac_save_CC=$CC
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3284 #include <stdarg.h>
3285 #include <stdio.h>
3286 #include <sys/types.h>
3287 #include <sys/stat.h>
3288 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3289 struct buf { int x; };
3290 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3291 static char *e (p, i)
3292 char **p;
3293 int i;
3295 return p[i];
3297 static char *f (char * (*g) (char **, int), char **p, ...)
3299 char *s;
3300 va_list v;
3301 va_start (v,p);
3302 s = g (p, va_arg (v,int));
3303 va_end (v);
3304 return s;
3307 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3308 function prototypes and stuff, but not '\xHH' hex character constants.
3309 These don't provoke an error unfortunately, instead are silently treated
3310 as 'x'. The following induces an error, until -std is added to get
3311 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3312 array size at least. It's necessary to write '\x00'==0 to get something
3313 that's true only with -std. */
3314 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3316 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3317 inside strings and character constants. */
3318 #define FOO(x) 'x'
3319 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3321 int test (int i, double x);
3322 struct s1 {int (*f) (int a);};
3323 struct s2 {int (*f) (double a);};
3324 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3325 int argc;
3326 char **argv;
3328 main ()
3330 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3332 return 0;
3334 _ACEOF
3335 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3336 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3338 CC="$ac_save_CC $ac_arg"
3339 if ac_fn_c_try_compile "$LINENO"; then :
3340 ac_cv_prog_cc_c89=$ac_arg
3342 rm -f core conftest.err conftest.$ac_objext
3343 test "x$ac_cv_prog_cc_c89" != "xno" && break
3344 done
3345 rm -f conftest.$ac_ext
3346 CC=$ac_save_CC
3349 # AC_CACHE_VAL
3350 case "x$ac_cv_prog_cc_c89" in
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3353 $as_echo "none needed" >&6; } ;;
3354 xno)
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3356 $as_echo "unsupported" >&6; } ;;
3358 CC="$CC $ac_cv_prog_cc_c89"
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3360 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3361 esac
3362 if test "x$ac_cv_prog_cc_c89" != xno; then :
3366 ac_ext=c
3367 ac_cpp='$CPP $CPPFLAGS'
3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3371 DEPDIR="${am__leading_dot}deps"
3373 ac_config_commands="$ac_config_commands depfiles"
3376 am_make=${MAKE-make}
3377 cat > confinc << 'END'
3378 am__doit:
3379 @echo this is the am__doit target
3380 .PHONY: am__doit
3382 # If we don't find an include directive, just comment out the code.
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3384 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3385 am__include="#"
3386 am__quote=
3387 _am_result=none
3388 # First try GNU make style include.
3389 echo "include confinc" > confmf
3390 # Ignore all kinds of additional output from `make'.
3391 case `$am_make -s -f confmf 2> /dev/null` in #(
3392 *the\ am__doit\ target*)
3393 am__include=include
3394 am__quote=
3395 _am_result=GNU
3397 esac
3398 # Now try BSD make style include.
3399 if test "$am__include" = "#"; then
3400 echo '.include "confinc"' > confmf
3401 case `$am_make -s -f confmf 2> /dev/null` in #(
3402 *the\ am__doit\ target*)
3403 am__include=.include
3404 am__quote="\""
3405 _am_result=BSD
3407 esac
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3412 $as_echo "$_am_result" >&6; }
3413 rm -f confinc confmf
3415 # Check whether --enable-dependency-tracking was given.
3416 if test "${enable_dependency_tracking+set}" = set; then :
3417 enableval=$enable_dependency_tracking;
3420 if test "x$enable_dependency_tracking" != xno; then
3421 am_depcomp="$ac_aux_dir/depcomp"
3422 AMDEPBACKSLASH='\'
3423 am__nodep='_no'
3425 if test "x$enable_dependency_tracking" != xno; then
3426 AMDEP_TRUE=
3427 AMDEP_FALSE='#'
3428 else
3429 AMDEP_TRUE='#'
3430 AMDEP_FALSE=
3435 depcc="$CC" am_compiler_list=
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3438 $as_echo_n "checking dependency style of $depcc... " >&6; }
3439 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3440 $as_echo_n "(cached) " >&6
3441 else
3442 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3443 # We make a subdir and do the tests there. Otherwise we can end up
3444 # making bogus files that we don't know about and never remove. For
3445 # instance it was reported that on HP-UX the gcc test will end up
3446 # making a dummy file named `D' -- because `-MD' means `put the output
3447 # in D'.
3448 rm -rf conftest.dir
3449 mkdir conftest.dir
3450 # Copy depcomp to subdir because otherwise we won't find it if we're
3451 # using a relative directory.
3452 cp "$am_depcomp" conftest.dir
3453 cd conftest.dir
3454 # We will build objects and dependencies in a subdirectory because
3455 # it helps to detect inapplicable dependency modes. For instance
3456 # both Tru64's cc and ICC support -MD to output dependencies as a
3457 # side effect of compilation, but ICC will put the dependencies in
3458 # the current directory while Tru64 will put them in the object
3459 # directory.
3460 mkdir sub
3462 am_cv_CC_dependencies_compiler_type=none
3463 if test "$am_compiler_list" = ""; then
3464 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3466 am__universal=false
3467 case " $depcc " in #(
3468 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3469 esac
3471 for depmode in $am_compiler_list; do
3472 # Setup a source with many dependencies, because some compilers
3473 # like to wrap large dependency lists on column 80 (with \), and
3474 # we should not choose a depcomp mode which is confused by this.
3476 # We need to recreate these files for each test, as the compiler may
3477 # overwrite some of them when testing with obscure command lines.
3478 # This happens at least with the AIX C compiler.
3479 : > sub/conftest.c
3480 for i in 1 2 3 4 5 6; do
3481 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3482 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3483 # Solaris 8's {/usr,}/bin/sh.
3484 touch sub/conftst$i.h
3485 done
3486 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3488 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3489 # mode. It turns out that the SunPro C++ compiler does not properly
3490 # handle `-M -o', and we need to detect this. Also, some Intel
3491 # versions had trouble with output in subdirs
3492 am__obj=sub/conftest.${OBJEXT-o}
3493 am__minus_obj="-o $am__obj"
3494 case $depmode in
3495 gcc)
3496 # This depmode causes a compiler race in universal mode.
3497 test "$am__universal" = false || continue
3499 nosideeffect)
3500 # after this tag, mechanisms are not by side-effect, so they'll
3501 # only be used when explicitly requested
3502 if test "x$enable_dependency_tracking" = xyes; then
3503 continue
3504 else
3505 break
3508 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3509 # This compiler won't grok `-c -o', but also, the minuso test has
3510 # not run yet. These depmodes are late enough in the game, and
3511 # so weak that their functioning should not be impacted.
3512 am__obj=conftest.${OBJEXT-o}
3513 am__minus_obj=
3515 none) break ;;
3516 esac
3517 if depmode=$depmode \
3518 source=sub/conftest.c object=$am__obj \
3519 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3520 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3521 >/dev/null 2>conftest.err &&
3522 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3523 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3524 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3525 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3526 # icc doesn't choke on unknown options, it will just issue warnings
3527 # or remarks (even with -Werror). So we grep stderr for any message
3528 # that says an option was ignored or not supported.
3529 # When given -MP, icc 7.0 and 7.1 complain thusly:
3530 # icc: Command line warning: ignoring option '-M'; no argument required
3531 # The diagnosis changed in icc 8.0:
3532 # icc: Command line remark: option '-MP' not supported
3533 if (grep 'ignoring option' conftest.err ||
3534 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3535 am_cv_CC_dependencies_compiler_type=$depmode
3536 break
3539 done
3541 cd ..
3542 rm -rf conftest.dir
3543 else
3544 am_cv_CC_dependencies_compiler_type=none
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3549 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3550 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3553 test "x$enable_dependency_tracking" != xno \
3554 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3555 am__fastdepCC_TRUE=
3556 am__fastdepCC_FALSE='#'
3557 else
3558 am__fastdepCC_TRUE='#'
3559 am__fastdepCC_FALSE=
3563 ac_ext=go
3564 ac_compile='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3565 ac_link='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3566 ac_compile_gnu=yes
3567 if test -n "$ac_tool_prefix"; then
3568 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3569 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571 $as_echo_n "checking for $ac_word... " >&6; }
3572 if test "${ac_cv_prog_GOC+set}" = set; then :
3573 $as_echo_n "(cached) " >&6
3574 else
3575 if test -n "$GOC"; then
3576 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3581 IFS=$as_save_IFS
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
3586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 break 2
3589 done
3590 done
3591 IFS=$as_save_IFS
3595 GOC=$ac_cv_prog_GOC
3596 if test -n "$GOC"; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3598 $as_echo "$GOC" >&6; }
3599 else
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3606 if test -z "$ac_cv_prog_GOC"; then
3607 ac_ct_GOC=$GOC
3608 # Extract the first word of "gccgo", so it can be a program name with args.
3609 set dummy gccgo; ac_word=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3613 $as_echo_n "(cached) " >&6
3614 else
3615 if test -n "$ac_ct_GOC"; then
3616 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
3617 else
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 for as_dir in $PATH
3621 IFS=$as_save_IFS
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_ac_ct_GOC="gccgo"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 break 2
3629 done
3630 done
3631 IFS=$as_save_IFS
3635 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
3636 if test -n "$ac_ct_GOC"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3638 $as_echo "$ac_ct_GOC" >&6; }
3639 else
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3644 if test "x$ac_ct_GOC" = x; then
3645 GOC=""
3646 else
3647 case $cross_compiling:$ac_tool_warned in
3648 yes:)
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3651 ac_tool_warned=yes ;;
3652 esac
3653 GOC=$ac_ct_GOC
3655 else
3656 GOC="$ac_cv_prog_GOC"
3659 if test -z "$GOC"; then
3660 if test -n "$ac_tool_prefix"; then
3661 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3662 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if test "${ac_cv_prog_GOC+set}" = set; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 if test -n "$GOC"; then
3669 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3670 else
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH
3674 IFS=$as_save_IFS
3675 test -z "$as_dir" && as_dir=.
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678 ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 break 2
3682 done
3683 done
3684 IFS=$as_save_IFS
3688 GOC=$ac_cv_prog_GOC
3689 if test -n "$GOC"; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3691 $as_echo "$GOC" >&6; }
3692 else
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3700 if test -z "$GOC"; then
3701 # Extract the first word of "gccgo", so it can be a program name with args.
3702 set dummy gccgo; ac_word=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if test "${ac_cv_prog_GOC+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3707 else
3708 if test -n "$GOC"; then
3709 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3710 else
3711 ac_prog_rejected=no
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH
3715 IFS=$as_save_IFS
3716 test -z "$as_dir" && as_dir=.
3717 for ac_exec_ext in '' $ac_executable_extensions; do
3718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3719 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
3720 ac_prog_rejected=yes
3721 continue
3723 ac_cv_prog_GOC="gccgo"
3724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 break 2
3727 done
3728 done
3729 IFS=$as_save_IFS
3731 if test $ac_prog_rejected = yes; then
3732 # We found a bogon in the path, so make sure we never use it.
3733 set dummy $ac_cv_prog_GOC
3734 shift
3735 if test $# != 0; then
3736 # We chose a different compiler from the bogus one.
3737 # However, it has the same basename, so the bogon will be chosen
3738 # first if we set GOC to just the basename; use the full file name.
3739 shift
3740 ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
3745 GOC=$ac_cv_prog_GOC
3746 if test -n "$GOC"; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3748 $as_echo "$GOC" >&6; }
3749 else
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3751 $as_echo "no" >&6; }
3758 # Provide some information about the compiler.
3759 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
3760 set X $ac_compile
3761 ac_compiler=$2
3762 { { ac_try="$ac_compiler --version >&5"
3763 case "(($ac_try" in
3764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3766 esac
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_compiler --version >&5") 2>conftest.err
3770 ac_status=$?
3771 if test -s conftest.err; then
3772 sed '10a\
3773 ... rest of stderr output deleted ...
3774 10q' conftest.err >conftest.er1
3775 cat conftest.er1 >&5
3776 rm -f conftest.er1 conftest.err
3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779 test $ac_status = 0; }
3780 GOCFLAGS="-g -O2"
3781 ac_ext=c
3782 ac_cpp='$CPP $CPPFLAGS'
3783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3788 # These should be defined by the top-level configure.
3789 # Copy them into Makefile.
3793 if test "$host_alias" = "$target_alias"; then
3794 NATIVE_TRUE=
3795 NATIVE_FALSE='#'
3796 else
3797 NATIVE_TRUE='#'
3798 NATIVE_FALSE=
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
3804 $as_echo_n "checking for socket libraries... " >&6; }
3805 if test "${gotools_cv_lib_sockets+set}" = set; then :
3806 $as_echo_n "(cached) " >&6
3807 else
3808 gotools_cv_lib_sockets=
3809 gotools_check_both=no
3810 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
3811 if test "x$ac_cv_func_connect" = x""yes; then :
3812 gotools_check_socket=no
3813 else
3814 gotools_check_socket=yes
3817 if test "$gotools_check_socket" = "yes"; then
3818 unset ac_cv_func_connect
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
3820 $as_echo_n "checking for main in -lsocket... " >&6; }
3821 if test "${ac_cv_lib_socket_main+set}" = set; then :
3822 $as_echo_n "(cached) " >&6
3823 else
3824 ac_check_lib_save_LIBS=$LIBS
3825 LIBS="-lsocket $LIBS"
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3831 main ()
3833 return main ();
3835 return 0;
3837 _ACEOF
3838 if ac_fn_c_try_link "$LINENO"; then :
3839 ac_cv_lib_socket_main=yes
3840 else
3841 ac_cv_lib_socket_main=no
3843 rm -f core conftest.err conftest.$ac_objext \
3844 conftest$ac_exeext conftest.$ac_ext
3845 LIBS=$ac_check_lib_save_LIBS
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
3848 $as_echo "$ac_cv_lib_socket_main" >&6; }
3849 if test "x$ac_cv_lib_socket_main" = x""yes; then :
3850 gotools_cv_lib_sockets="-lsocket"
3851 else
3852 gotools_check_both=yes
3856 if test "$gotools_check_both" = "yes"; then
3857 gotools_old_libs=$LIBS
3858 LIBS="$LIBS -lsocket -lnsl"
3859 unset ac_cv_func_accept
3860 ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept"
3861 if test "x$ac_cv_func_accept" = x""yes; then :
3862 gotools_check_nsl=no
3863 gotools_cv_lib_sockets="-lsocket -lnsl"
3866 unset ac_cv_func_accept
3867 LIBS=$gotools_old_libs
3869 unset ac_cv_func_gethostbyname
3870 gotools_old_libs="$LIBS"
3871 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
3872 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
3874 else
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
3876 $as_echo_n "checking for main in -lnsl... " >&6; }
3877 if test "${ac_cv_lib_nsl_main+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3879 else
3880 ac_check_lib_save_LIBS=$LIBS
3881 LIBS="-lnsl $LIBS"
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3887 main ()
3889 return main ();
3891 return 0;
3893 _ACEOF
3894 if ac_fn_c_try_link "$LINENO"; then :
3895 ac_cv_lib_nsl_main=yes
3896 else
3897 ac_cv_lib_nsl_main=no
3899 rm -f core conftest.err conftest.$ac_objext \
3900 conftest$ac_exeext conftest.$ac_ext
3901 LIBS=$ac_check_lib_save_LIBS
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
3904 $as_echo "$ac_cv_lib_nsl_main" >&6; }
3905 if test "x$ac_cv_lib_nsl_main" = x""yes; then :
3906 gotools_cv_lib_sockets="$gotools_cv_lib_sockets -lnsl"
3911 unset ac_cv_func_gethostbyname
3912 LIBS=$gotools_old_libs
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gotools_cv_lib_sockets" >&5
3916 $as_echo "$gotools_cv_lib_sockets" >&6; }
3917 NET_LIBS="$gotools_cv_lib_sockets"
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
3921 $as_echo_n "checking for library containing sched_yield... " >&6; }
3922 if test "${ac_cv_search_sched_yield+set}" = set; then :
3923 $as_echo_n "(cached) " >&6
3924 else
3925 ac_func_search_save_LIBS=$LIBS
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3929 /* Override any GCC internal prototype to avoid an error.
3930 Use char because int might match the return type of a GCC
3931 builtin and then its argument prototype would still apply. */
3932 #ifdef __cplusplus
3933 extern "C"
3934 #endif
3935 char sched_yield ();
3937 main ()
3939 return sched_yield ();
3941 return 0;
3943 _ACEOF
3944 for ac_lib in '' rt; do
3945 if test -z "$ac_lib"; then
3946 ac_res="none required"
3947 else
3948 ac_res=-l$ac_lib
3949 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3951 if ac_fn_c_try_link "$LINENO"; then :
3952 ac_cv_search_sched_yield=$ac_res
3954 rm -f core conftest.err conftest.$ac_objext \
3955 conftest$ac_exeext
3956 if test "${ac_cv_search_sched_yield+set}" = set; then :
3957 break
3959 done
3960 if test "${ac_cv_search_sched_yield+set}" = set; then :
3962 else
3963 ac_cv_search_sched_yield=no
3965 rm conftest.$ac_ext
3966 LIBS=$ac_func_search_save_LIBS
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
3969 $as_echo "$ac_cv_search_sched_yield" >&6; }
3970 ac_res=$ac_cv_search_sched_yield
3971 if test "$ac_res" != no; then :
3972 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
3977 $as_echo_n "checking for library containing nanosleep... " >&6; }
3978 if test "${ac_cv_search_nanosleep+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 ac_func_search_save_LIBS=$LIBS
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3985 /* Override any GCC internal prototype to avoid an error.
3986 Use char because int might match the return type of a GCC
3987 builtin and then its argument prototype would still apply. */
3988 #ifdef __cplusplus
3989 extern "C"
3990 #endif
3991 char nanosleep ();
3993 main ()
3995 return nanosleep ();
3997 return 0;
3999 _ACEOF
4000 for ac_lib in '' rt; do
4001 if test -z "$ac_lib"; then
4002 ac_res="none required"
4003 else
4004 ac_res=-l$ac_lib
4005 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4007 if ac_fn_c_try_link "$LINENO"; then :
4008 ac_cv_search_nanosleep=$ac_res
4010 rm -f core conftest.err conftest.$ac_objext \
4011 conftest$ac_exeext
4012 if test "${ac_cv_search_nanosleep+set}" = set; then :
4013 break
4015 done
4016 if test "${ac_cv_search_nanosleep+set}" = set; then :
4018 else
4019 ac_cv_search_nanosleep=no
4021 rm conftest.$ac_ext
4022 LIBS=$ac_func_search_save_LIBS
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
4025 $as_echo "$ac_cv_search_nanosleep" >&6; }
4026 ac_res=$ac_cv_search_nanosleep
4027 if test "$ac_res" != no; then :
4028 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4033 ac_config_files="$ac_config_files Makefile"
4036 cat >confcache <<\_ACEOF
4037 # This file is a shell script that caches the results of configure
4038 # tests run on this system so they can be shared between configure
4039 # scripts and configure runs, see configure's option --config-cache.
4040 # It is not useful on other systems. If it contains results you don't
4041 # want to keep, you may remove or edit it.
4043 # config.status only pays attention to the cache file if you give it
4044 # the --recheck option to rerun configure.
4046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4048 # following values.
4050 _ACEOF
4052 # The following way of writing the cache mishandles newlines in values,
4053 # but we know of no workaround that is simple, portable, and efficient.
4054 # So, we kill variables containing newlines.
4055 # Ultrix sh set writes to stderr and can't be redirected directly,
4056 # and sets the high bit in the cache file unless we assign to the vars.
4058 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4059 eval ac_val=\$$ac_var
4060 case $ac_val in #(
4061 *${as_nl}*)
4062 case $ac_var in #(
4063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4065 esac
4066 case $ac_var in #(
4067 _ | IFS | as_nl) ;; #(
4068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4069 *) { eval $ac_var=; unset $ac_var;} ;;
4070 esac ;;
4071 esac
4072 done
4074 (set) 2>&1 |
4075 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4076 *${as_nl}ac_space=\ *)
4077 # `set' does not quote correctly, so add quotes: double-quote
4078 # substitution turns \\\\ into \\, and sed turns \\ into \.
4079 sed -n \
4080 "s/'/'\\\\''/g;
4081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4082 ;; #(
4084 # `set' quotes correctly as required by POSIX, so do not add quotes.
4085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4087 esac |
4088 sort
4090 sed '
4091 /^ac_cv_env_/b end
4092 t clear
4093 :clear
4094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4095 t end
4096 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4097 :end' >>confcache
4098 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4099 if test -w "$cache_file"; then
4100 test "x$cache_file" != "x/dev/null" &&
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4102 $as_echo "$as_me: updating cache $cache_file" >&6;}
4103 cat confcache >$cache_file
4104 else
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4106 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4109 rm -f confcache
4111 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4112 # Let make expand exec_prefix.
4113 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4115 # Transform confdefs.h into DEFS.
4116 # Protect against shell expansion while executing Makefile rules.
4117 # Protect against Makefile macro expansion.
4119 # If the first sed substitution is executed (which looks for macros that
4120 # take arguments), then branch to the quote section. Otherwise,
4121 # look for a macro that doesn't take arguments.
4122 ac_script='
4123 :mline
4124 /\\$/{
4126 s,\\\n,,
4127 b mline
4129 t clear
4130 :clear
4131 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4132 t quote
4133 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4134 t quote
4135 b any
4136 :quote
4137 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4138 s/\[/\\&/g
4139 s/\]/\\&/g
4140 s/\$/$$/g
4142 :any
4145 s/^\n//
4146 s/\n/ /g
4150 DEFS=`sed -n "$ac_script" confdefs.h`
4153 ac_libobjs=
4154 ac_ltlibobjs=
4155 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4156 # 1. Remove the extension, and $U if already installed.
4157 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4158 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4159 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4160 # will be set to the directory where LIBOBJS objects are built.
4161 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4162 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4163 done
4164 LIBOBJS=$ac_libobjs
4166 LTLIBOBJS=$ac_ltlibobjs
4169 if test -n "$EXEEXT"; then
4170 am__EXEEXT_TRUE=
4171 am__EXEEXT_FALSE='#'
4172 else
4173 am__EXEEXT_TRUE='#'
4174 am__EXEEXT_FALSE=
4177 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4178 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
4179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4181 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4182 as_fn_error "conditional \"AMDEP\" was never defined.
4183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4185 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4186 as_fn_error "conditional \"am__fastdepCC\" was never defined.
4187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4189 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
4190 as_fn_error "conditional \"NATIVE\" was never defined.
4191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4194 : ${CONFIG_STATUS=./config.status}
4195 ac_write_fail=0
4196 ac_clean_files_save=$ac_clean_files
4197 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4199 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4200 as_write_fail=0
4201 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4202 #! $SHELL
4203 # Generated by $as_me.
4204 # Run this file to recreate the current configuration.
4205 # Compiler output produced by configure, useful for debugging
4206 # configure, is in config.log if it exists.
4208 debug=false
4209 ac_cs_recheck=false
4210 ac_cs_silent=false
4212 SHELL=\${CONFIG_SHELL-$SHELL}
4213 export SHELL
4214 _ASEOF
4215 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4216 ## -------------------- ##
4217 ## M4sh Initialization. ##
4218 ## -------------------- ##
4220 # Be more Bourne compatible
4221 DUALCASE=1; export DUALCASE # for MKS sh
4222 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4223 emulate sh
4224 NULLCMD=:
4225 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4226 # is contrary to our usage. Disable this feature.
4227 alias -g '${1+"$@"}'='"$@"'
4228 setopt NO_GLOB_SUBST
4229 else
4230 case `(set -o) 2>/dev/null` in #(
4231 *posix*) :
4232 set -o posix ;; #(
4233 *) :
4235 esac
4239 as_nl='
4241 export as_nl
4242 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4243 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4244 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4245 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4246 # Prefer a ksh shell builtin over an external printf program on Solaris,
4247 # but without wasting forks for bash or zsh.
4248 if test -z "$BASH_VERSION$ZSH_VERSION" \
4249 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4250 as_echo='print -r --'
4251 as_echo_n='print -rn --'
4252 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4253 as_echo='printf %s\n'
4254 as_echo_n='printf %s'
4255 else
4256 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4257 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4258 as_echo_n='/usr/ucb/echo -n'
4259 else
4260 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4261 as_echo_n_body='eval
4262 arg=$1;
4263 case $arg in #(
4264 *"$as_nl"*)
4265 expr "X$arg" : "X\\(.*\\)$as_nl";
4266 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4267 esac;
4268 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4270 export as_echo_n_body
4271 as_echo_n='sh -c $as_echo_n_body as_echo'
4273 export as_echo_body
4274 as_echo='sh -c $as_echo_body as_echo'
4277 # The user is always right.
4278 if test "${PATH_SEPARATOR+set}" != set; then
4279 PATH_SEPARATOR=:
4280 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4281 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4282 PATH_SEPARATOR=';'
4287 # IFS
4288 # We need space, tab and new line, in precisely that order. Quoting is
4289 # there to prevent editors from complaining about space-tab.
4290 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4291 # splitting by setting IFS to empty value.)
4292 IFS=" "" $as_nl"
4294 # Find who we are. Look in the path if we contain no directory separator.
4295 case $0 in #((
4296 *[\\/]* ) as_myself=$0 ;;
4297 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4300 IFS=$as_save_IFS
4301 test -z "$as_dir" && as_dir=.
4302 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4303 done
4304 IFS=$as_save_IFS
4307 esac
4308 # We did not find ourselves, most probably we were run as `sh COMMAND'
4309 # in which case we are not to be found in the path.
4310 if test "x$as_myself" = x; then
4311 as_myself=$0
4313 if test ! -f "$as_myself"; then
4314 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4315 exit 1
4318 # Unset variables that we do not need and which cause bugs (e.g. in
4319 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4320 # suppresses any "Segmentation fault" message there. '((' could
4321 # trigger a bug in pdksh 5.2.14.
4322 for as_var in BASH_ENV ENV MAIL MAILPATH
4323 do eval test x\${$as_var+set} = xset \
4324 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4325 done
4326 PS1='$ '
4327 PS2='> '
4328 PS4='+ '
4330 # NLS nuisances.
4331 LC_ALL=C
4332 export LC_ALL
4333 LANGUAGE=C
4334 export LANGUAGE
4336 # CDPATH.
4337 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4340 # as_fn_error ERROR [LINENO LOG_FD]
4341 # ---------------------------------
4342 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4343 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4344 # script with status $?, using 1 if that was 0.
4345 as_fn_error ()
4347 as_status=$?; test $as_status -eq 0 && as_status=1
4348 if test "$3"; then
4349 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4350 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4352 $as_echo "$as_me: error: $1" >&2
4353 as_fn_exit $as_status
4354 } # as_fn_error
4357 # as_fn_set_status STATUS
4358 # -----------------------
4359 # Set $? to STATUS, without forking.
4360 as_fn_set_status ()
4362 return $1
4363 } # as_fn_set_status
4365 # as_fn_exit STATUS
4366 # -----------------
4367 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4368 as_fn_exit ()
4370 set +e
4371 as_fn_set_status $1
4372 exit $1
4373 } # as_fn_exit
4375 # as_fn_unset VAR
4376 # ---------------
4377 # Portably unset VAR.
4378 as_fn_unset ()
4380 { eval $1=; unset $1;}
4382 as_unset=as_fn_unset
4383 # as_fn_append VAR VALUE
4384 # ----------------------
4385 # Append the text in VALUE to the end of the definition contained in VAR. Take
4386 # advantage of any shell optimizations that allow amortized linear growth over
4387 # repeated appends, instead of the typical quadratic growth present in naive
4388 # implementations.
4389 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4390 eval 'as_fn_append ()
4392 eval $1+=\$2
4394 else
4395 as_fn_append ()
4397 eval $1=\$$1\$2
4399 fi # as_fn_append
4401 # as_fn_arith ARG...
4402 # ------------------
4403 # Perform arithmetic evaluation on the ARGs, and store the result in the
4404 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4405 # must be portable across $(()) and expr.
4406 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4407 eval 'as_fn_arith ()
4409 as_val=$(( $* ))
4411 else
4412 as_fn_arith ()
4414 as_val=`expr "$@" || test $? -eq 1`
4416 fi # as_fn_arith
4419 if expr a : '\(a\)' >/dev/null 2>&1 &&
4420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4421 as_expr=expr
4422 else
4423 as_expr=false
4426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4427 as_basename=basename
4428 else
4429 as_basename=false
4432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4433 as_dirname=dirname
4434 else
4435 as_dirname=false
4438 as_me=`$as_basename -- "$0" ||
4439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4440 X"$0" : 'X\(//\)$' \| \
4441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4442 $as_echo X/"$0" |
4443 sed '/^.*\/\([^/][^/]*\)\/*$/{
4444 s//\1/
4447 /^X\/\(\/\/\)$/{
4448 s//\1/
4451 /^X\/\(\/\).*/{
4452 s//\1/
4455 s/.*/./; q'`
4457 # Avoid depending upon Character Ranges.
4458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4461 as_cr_digits='0123456789'
4462 as_cr_alnum=$as_cr_Letters$as_cr_digits
4464 ECHO_C= ECHO_N= ECHO_T=
4465 case `echo -n x` in #(((((
4466 -n*)
4467 case `echo 'xy\c'` in
4468 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4469 xy) ECHO_C='\c';;
4470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4471 ECHO_T=' ';;
4472 esac;;
4474 ECHO_N='-n';;
4475 esac
4477 rm -f conf$$ conf$$.exe conf$$.file
4478 if test -d conf$$.dir; then
4479 rm -f conf$$.dir/conf$$.file
4480 else
4481 rm -f conf$$.dir
4482 mkdir conf$$.dir 2>/dev/null
4484 if (echo >conf$$.file) 2>/dev/null; then
4485 if ln -s conf$$.file conf$$ 2>/dev/null; then
4486 as_ln_s='ln -s'
4487 # ... but there are two gotchas:
4488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4490 # In both cases, we have to default to `cp -p'.
4491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4492 as_ln_s='cp -p'
4493 elif ln conf$$.file conf$$ 2>/dev/null; then
4494 as_ln_s=ln
4495 else
4496 as_ln_s='cp -p'
4498 else
4499 as_ln_s='cp -p'
4501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4502 rmdir conf$$.dir 2>/dev/null
4505 # as_fn_mkdir_p
4506 # -------------
4507 # Create "$as_dir" as a directory, including parents if necessary.
4508 as_fn_mkdir_p ()
4511 case $as_dir in #(
4512 -*) as_dir=./$as_dir;;
4513 esac
4514 test -d "$as_dir" || eval $as_mkdir_p || {
4515 as_dirs=
4516 while :; do
4517 case $as_dir in #(
4518 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4519 *) as_qdir=$as_dir;;
4520 esac
4521 as_dirs="'$as_qdir' $as_dirs"
4522 as_dir=`$as_dirname -- "$as_dir" ||
4523 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4524 X"$as_dir" : 'X\(//\)[^/]' \| \
4525 X"$as_dir" : 'X\(//\)$' \| \
4526 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4527 $as_echo X"$as_dir" |
4528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4529 s//\1/
4532 /^X\(\/\/\)[^/].*/{
4533 s//\1/
4536 /^X\(\/\/\)$/{
4537 s//\1/
4540 /^X\(\/\).*/{
4541 s//\1/
4544 s/.*/./; q'`
4545 test -d "$as_dir" && break
4546 done
4547 test -z "$as_dirs" || eval "mkdir $as_dirs"
4548 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4551 } # as_fn_mkdir_p
4552 if mkdir -p . 2>/dev/null; then
4553 as_mkdir_p='mkdir -p "$as_dir"'
4554 else
4555 test -d ./-p && rmdir ./-p
4556 as_mkdir_p=false
4559 if test -x / >/dev/null 2>&1; then
4560 as_test_x='test -x'
4561 else
4562 if ls -dL / >/dev/null 2>&1; then
4563 as_ls_L_option=L
4564 else
4565 as_ls_L_option=
4567 as_test_x='
4568 eval sh -c '\''
4569 if test -d "$1"; then
4570 test -d "$1/.";
4571 else
4572 case $1 in #(
4573 -*)set "./$1";;
4574 esac;
4575 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4576 ???[sx]*):;;*)false;;esac;fi
4577 '\'' sh
4580 as_executable_p=$as_test_x
4582 # Sed expression to map a string onto a valid CPP name.
4583 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4585 # Sed expression to map a string onto a valid variable name.
4586 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4589 exec 6>&1
4590 ## ----------------------------------- ##
4591 ## Main body of $CONFIG_STATUS script. ##
4592 ## ----------------------------------- ##
4593 _ASEOF
4594 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4597 # Save the log message, to keep $0 and so on meaningful, and to
4598 # report actual input values of CONFIG_FILES etc. instead of their
4599 # values after options handling.
4600 ac_log="
4601 This file was extended by package-unused $as_me version-unused, which was
4602 generated by GNU Autoconf 2.64. Invocation command line was
4604 CONFIG_FILES = $CONFIG_FILES
4605 CONFIG_HEADERS = $CONFIG_HEADERS
4606 CONFIG_LINKS = $CONFIG_LINKS
4607 CONFIG_COMMANDS = $CONFIG_COMMANDS
4608 $ $0 $@
4610 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4613 _ACEOF
4615 case $ac_config_files in *"
4616 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4617 esac
4621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4622 # Files that config.status was made for.
4623 config_files="$ac_config_files"
4624 config_commands="$ac_config_commands"
4626 _ACEOF
4628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4629 ac_cs_usage="\
4630 \`$as_me' instantiates files and other configuration actions
4631 from templates according to the current configuration. Unless the files
4632 and actions are specified as TAGs, all are instantiated by default.
4634 Usage: $0 [OPTION]... [TAG]...
4636 -h, --help print this help, then exit
4637 -V, --version print version number and configuration settings, then exit
4638 -q, --quiet, --silent
4639 do not print progress messages
4640 -d, --debug don't remove temporary files
4641 --recheck update $as_me by reconfiguring in the same conditions
4642 --file=FILE[:TEMPLATE]
4643 instantiate the configuration file FILE
4645 Configuration files:
4646 $config_files
4648 Configuration commands:
4649 $config_commands
4651 Report bugs to the package provider."
4653 _ACEOF
4654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4655 ac_cs_version="\\
4656 package-unused config.status version-unused
4657 configured by $0, generated by GNU Autoconf 2.64,
4658 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4660 Copyright (C) 2009 Free Software Foundation, Inc.
4661 This config.status script is free software; the Free Software Foundation
4662 gives unlimited permission to copy, distribute and modify it."
4664 ac_pwd='$ac_pwd'
4665 srcdir='$srcdir'
4666 INSTALL='$INSTALL'
4667 MKDIR_P='$MKDIR_P'
4668 AWK='$AWK'
4669 test -n "\$AWK" || AWK=awk
4670 _ACEOF
4672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4673 # The default lists apply if the user does not specify any file.
4674 ac_need_defaults=:
4675 while test $# != 0
4677 case $1 in
4678 --*=*)
4679 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4680 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4681 ac_shift=:
4684 ac_option=$1
4685 ac_optarg=$2
4686 ac_shift=shift
4688 esac
4690 case $ac_option in
4691 # Handling of the options.
4692 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4693 ac_cs_recheck=: ;;
4694 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4695 $as_echo "$ac_cs_version"; exit ;;
4696 --debug | --debu | --deb | --de | --d | -d )
4697 debug=: ;;
4698 --file | --fil | --fi | --f )
4699 $ac_shift
4700 case $ac_optarg in
4701 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4702 esac
4703 as_fn_append CONFIG_FILES " '$ac_optarg'"
4704 ac_need_defaults=false;;
4705 --he | --h | --help | --hel | -h )
4706 $as_echo "$ac_cs_usage"; exit ;;
4707 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4708 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4709 ac_cs_silent=: ;;
4711 # This is an error.
4712 -*) as_fn_error "unrecognized option: \`$1'
4713 Try \`$0 --help' for more information." ;;
4715 *) as_fn_append ac_config_targets " $1"
4716 ac_need_defaults=false ;;
4718 esac
4719 shift
4720 done
4722 ac_configure_extra_args=
4724 if $ac_cs_silent; then
4725 exec 6>/dev/null
4726 ac_configure_extra_args="$ac_configure_extra_args --silent"
4729 _ACEOF
4730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4731 if \$ac_cs_recheck; then
4732 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4733 shift
4734 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4735 CONFIG_SHELL='$SHELL'
4736 export CONFIG_SHELL
4737 exec "\$@"
4740 _ACEOF
4741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4742 exec 5>>config.log
4744 echo
4745 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4746 ## Running $as_me. ##
4747 _ASBOX
4748 $as_echo "$ac_log"
4749 } >&5
4751 _ACEOF
4752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4754 # INIT-COMMANDS
4756 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4758 _ACEOF
4760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4762 # Handling of arguments.
4763 for ac_config_target in $ac_config_targets
4765 case $ac_config_target in
4766 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4767 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4769 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4770 esac
4771 done
4774 # If the user did not use the arguments to specify the items to instantiate,
4775 # then the envvar interface is used. Set only those that are not.
4776 # We use the long form for the default assignment because of an extremely
4777 # bizarre bug on SunOS 4.1.3.
4778 if $ac_need_defaults; then
4779 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4780 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4783 # Have a temporary directory for convenience. Make it in the build tree
4784 # simply because there is no reason against having it here, and in addition,
4785 # creating and moving files from /tmp can sometimes cause problems.
4786 # Hook for its removal unless debugging.
4787 # Note that there is a small window in which the directory will not be cleaned:
4788 # after its creation but before its name has been assigned to `$tmp'.
4789 $debug ||
4791 tmp=
4792 trap 'exit_status=$?
4793 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4795 trap 'as_fn_exit 1' 1 2 13 15
4797 # Create a (secure) tmp directory for tmp files.
4800 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4801 test -n "$tmp" && test -d "$tmp"
4802 } ||
4804 tmp=./conf$$-$RANDOM
4805 (umask 077 && mkdir "$tmp")
4806 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4808 # Set up the scripts for CONFIG_FILES section.
4809 # No need to generate them if there are no CONFIG_FILES.
4810 # This happens for instance with `./config.status config.h'.
4811 if test -n "$CONFIG_FILES"; then
4814 ac_cr=`echo X | tr X '\015'`
4815 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4816 # But we know of no other shell where ac_cr would be empty at this
4817 # point, so we can use a bashism as a fallback.
4818 if test "x$ac_cr" = x; then
4819 eval ac_cr=\$\'\\r\'
4821 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4822 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4823 ac_cs_awk_cr='\r'
4824 else
4825 ac_cs_awk_cr=$ac_cr
4828 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4829 _ACEOF
4833 echo "cat >conf$$subs.awk <<_ACEOF" &&
4834 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4835 echo "_ACEOF"
4836 } >conf$$subs.sh ||
4837 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4838 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4839 ac_delim='%!_!# '
4840 for ac_last_try in false false false false false :; do
4841 . ./conf$$subs.sh ||
4842 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4844 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4845 if test $ac_delim_n = $ac_delim_num; then
4846 break
4847 elif $ac_last_try; then
4848 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4849 else
4850 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4852 done
4853 rm -f conf$$subs.sh
4855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4856 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4857 _ACEOF
4858 sed -n '
4860 s/^/S["/; s/!.*/"]=/
4863 s/^[^!]*!//
4864 :repl
4865 t repl
4866 s/'"$ac_delim"'$//
4867 t delim
4870 s/\(.\{148\}\).*/\1/
4871 t more1
4872 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4875 b repl
4876 :more1
4877 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4880 s/.\{148\}//
4881 t nl
4882 :delim
4884 s/\(.\{148\}\).*/\1/
4885 t more2
4886 s/["\\]/\\&/g; s/^/"/; s/$/"/
4889 :more2
4890 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4893 s/.\{148\}//
4894 t delim
4895 ' <conf$$subs.awk | sed '
4896 /^[^""]/{
4898 s/\n//
4900 ' >>$CONFIG_STATUS || ac_write_fail=1
4901 rm -f conf$$subs.awk
4902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4903 _ACAWK
4904 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4905 for (key in S) S_is_set[key] = 1
4906 FS = "\a"
4910 line = $ 0
4911 nfields = split(line, field, "@")
4912 substed = 0
4913 len = length(field[1])
4914 for (i = 2; i < nfields; i++) {
4915 key = field[i]
4916 keylen = length(key)
4917 if (S_is_set[key]) {
4918 value = S[key]
4919 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4920 len += length(value) + length(field[++i])
4921 substed = 1
4922 } else
4923 len += 1 + keylen
4926 print line
4929 _ACAWK
4930 _ACEOF
4931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4932 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4933 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4934 else
4936 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4937 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4938 _ACEOF
4940 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4941 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4942 # trailing colons and then remove the whole line if VPATH becomes empty
4943 # (actually we leave an empty line to preserve line numbers).
4944 if test "x$srcdir" = x.; then
4945 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4946 s/:*\$(srcdir):*/:/
4947 s/:*\${srcdir}:*/:/
4948 s/:*@srcdir@:*/:/
4949 s/^\([^=]*=[ ]*\):*/\1/
4950 s/:*$//
4951 s/^[^=]*=[ ]*$//
4955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4956 fi # test -n "$CONFIG_FILES"
4959 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4960 shift
4961 for ac_tag
4963 case $ac_tag in
4964 :[FHLC]) ac_mode=$ac_tag; continue;;
4965 esac
4966 case $ac_mode$ac_tag in
4967 :[FHL]*:*);;
4968 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4969 :[FH]-) ac_tag=-:-;;
4970 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4971 esac
4972 ac_save_IFS=$IFS
4973 IFS=:
4974 set x $ac_tag
4975 IFS=$ac_save_IFS
4976 shift
4977 ac_file=$1
4978 shift
4980 case $ac_mode in
4981 :L) ac_source=$1;;
4982 :[FH])
4983 ac_file_inputs=
4984 for ac_f
4986 case $ac_f in
4987 -) ac_f="$tmp/stdin";;
4988 *) # Look for the file first in the build tree, then in the source tree
4989 # (if the path is not absolute). The absolute path cannot be DOS-style,
4990 # because $ac_f cannot contain `:'.
4991 test -f "$ac_f" ||
4992 case $ac_f in
4993 [\\/$]*) false;;
4994 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4995 esac ||
4996 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4997 esac
4998 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4999 as_fn_append ac_file_inputs " '$ac_f'"
5000 done
5002 # Let's still pretend it is `configure' which instantiates (i.e., don't
5003 # use $as_me), people would be surprised to read:
5004 # /* config.h. Generated by config.status. */
5005 configure_input='Generated from '`
5006 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5007 `' by configure.'
5008 if test x"$ac_file" != x-; then
5009 configure_input="$ac_file. $configure_input"
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5011 $as_echo "$as_me: creating $ac_file" >&6;}
5013 # Neutralize special characters interpreted by sed in replacement strings.
5014 case $configure_input in #(
5015 *\&* | *\|* | *\\* )
5016 ac_sed_conf_input=`$as_echo "$configure_input" |
5017 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5018 *) ac_sed_conf_input=$configure_input;;
5019 esac
5021 case $ac_tag in
5022 *:-:* | *:-) cat >"$tmp/stdin" \
5023 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5024 esac
5026 esac
5028 ac_dir=`$as_dirname -- "$ac_file" ||
5029 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5030 X"$ac_file" : 'X\(//\)[^/]' \| \
5031 X"$ac_file" : 'X\(//\)$' \| \
5032 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5033 $as_echo X"$ac_file" |
5034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5035 s//\1/
5038 /^X\(\/\/\)[^/].*/{
5039 s//\1/
5042 /^X\(\/\/\)$/{
5043 s//\1/
5046 /^X\(\/\).*/{
5047 s//\1/
5050 s/.*/./; q'`
5051 as_dir="$ac_dir"; as_fn_mkdir_p
5052 ac_builddir=.
5054 case "$ac_dir" in
5055 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5057 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5058 # A ".." for each directory in $ac_dir_suffix.
5059 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5060 case $ac_top_builddir_sub in
5061 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5062 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5063 esac ;;
5064 esac
5065 ac_abs_top_builddir=$ac_pwd
5066 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5067 # for backward compatibility:
5068 ac_top_builddir=$ac_top_build_prefix
5070 case $srcdir in
5071 .) # We are building in place.
5072 ac_srcdir=.
5073 ac_top_srcdir=$ac_top_builddir_sub
5074 ac_abs_top_srcdir=$ac_pwd ;;
5075 [\\/]* | ?:[\\/]* ) # Absolute name.
5076 ac_srcdir=$srcdir$ac_dir_suffix;
5077 ac_top_srcdir=$srcdir
5078 ac_abs_top_srcdir=$srcdir ;;
5079 *) # Relative name.
5080 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5081 ac_top_srcdir=$ac_top_build_prefix$srcdir
5082 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5083 esac
5084 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5087 case $ac_mode in
5090 # CONFIG_FILE
5093 case $INSTALL in
5094 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5095 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5096 esac
5097 ac_MKDIR_P=$MKDIR_P
5098 case $MKDIR_P in
5099 [\\/$]* | ?:[\\/]* ) ;;
5100 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5101 esac
5102 _ACEOF
5104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5105 # If the template does not know about datarootdir, expand it.
5106 # FIXME: This hack should be removed a few years after 2.60.
5107 ac_datarootdir_hack=; ac_datarootdir_seen=
5108 ac_sed_dataroot='
5109 /datarootdir/ {
5113 /@datadir@/p
5114 /@docdir@/p
5115 /@infodir@/p
5116 /@localedir@/p
5117 /@mandir@/p'
5118 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5119 *datarootdir*) ac_datarootdir_seen=yes;;
5120 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5122 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5123 _ACEOF
5124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5125 ac_datarootdir_hack='
5126 s&@datadir@&$datadir&g
5127 s&@docdir@&$docdir&g
5128 s&@infodir@&$infodir&g
5129 s&@localedir@&$localedir&g
5130 s&@mandir@&$mandir&g
5131 s&\\\${datarootdir}&$datarootdir&g' ;;
5132 esac
5133 _ACEOF
5135 # Neutralize VPATH when `$srcdir' = `.'.
5136 # Shell code in configure.ac might set extrasub.
5137 # FIXME: do we really want to maintain this feature?
5138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5139 ac_sed_extra="$ac_vpsub
5140 $extrasub
5141 _ACEOF
5142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5144 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5145 s|@configure_input@|$ac_sed_conf_input|;t t
5146 s&@top_builddir@&$ac_top_builddir_sub&;t t
5147 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5148 s&@srcdir@&$ac_srcdir&;t t
5149 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5150 s&@top_srcdir@&$ac_top_srcdir&;t t
5151 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5152 s&@builddir@&$ac_builddir&;t t
5153 s&@abs_builddir@&$ac_abs_builddir&;t t
5154 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5155 s&@INSTALL@&$ac_INSTALL&;t t
5156 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5157 $ac_datarootdir_hack
5159 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5160 || as_fn_error "could not create $ac_file" "$LINENO" 5
5162 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5163 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5164 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5166 which seems to be undefined. Please make sure it is defined." >&5
5167 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5168 which seems to be undefined. Please make sure it is defined." >&2;}
5170 rm -f "$tmp/stdin"
5171 case $ac_file in
5172 -) cat "$tmp/out" && rm -f "$tmp/out";;
5173 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5174 esac \
5175 || as_fn_error "could not create $ac_file" "$LINENO" 5
5179 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5180 $as_echo "$as_me: executing $ac_file commands" >&6;}
5182 esac
5185 case $ac_file$ac_mode in
5186 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5187 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5188 # are listed without --file. Let's play safe and only enable the eval
5189 # if we detect the quoting.
5190 case $CONFIG_FILES in
5191 *\'*) eval set x "$CONFIG_FILES" ;;
5192 *) set x $CONFIG_FILES ;;
5193 esac
5194 shift
5195 for mf
5197 # Strip MF so we end up with the name of the file.
5198 mf=`echo "$mf" | sed -e 's/:.*$//'`
5199 # Check whether this is an Automake generated Makefile or not.
5200 # We used to match only the files named `Makefile.in', but
5201 # some people rename them; so instead we look at the file content.
5202 # Grep'ing the first line is not enough: some people post-process
5203 # each Makefile.in and add a new line on top of each file to say so.
5204 # Grep'ing the whole file is not good either: AIX grep has a line
5205 # limit of 2048, but all sed's we know have understand at least 4000.
5206 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5207 dirpart=`$as_dirname -- "$mf" ||
5208 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5209 X"$mf" : 'X\(//\)[^/]' \| \
5210 X"$mf" : 'X\(//\)$' \| \
5211 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5212 $as_echo X"$mf" |
5213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5214 s//\1/
5217 /^X\(\/\/\)[^/].*/{
5218 s//\1/
5221 /^X\(\/\/\)$/{
5222 s//\1/
5225 /^X\(\/\).*/{
5226 s//\1/
5229 s/.*/./; q'`
5230 else
5231 continue
5233 # Extract the definition of DEPDIR, am__include, and am__quote
5234 # from the Makefile without running `make'.
5235 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5236 test -z "$DEPDIR" && continue
5237 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5238 test -z "am__include" && continue
5239 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5240 # When using ansi2knr, U may be empty or an underscore; expand it
5241 U=`sed -n 's/^U = //p' < "$mf"`
5242 # Find all dependency output files, they are included files with
5243 # $(DEPDIR) in their names. We invoke sed twice because it is the
5244 # simplest approach to changing $(DEPDIR) to its actual value in the
5245 # expansion.
5246 for file in `sed -n "
5247 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5248 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5249 # Make sure the directory exists.
5250 test -f "$dirpart/$file" && continue
5251 fdir=`$as_dirname -- "$file" ||
5252 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5253 X"$file" : 'X\(//\)[^/]' \| \
5254 X"$file" : 'X\(//\)$' \| \
5255 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5256 $as_echo X"$file" |
5257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5258 s//\1/
5261 /^X\(\/\/\)[^/].*/{
5262 s//\1/
5265 /^X\(\/\/\)$/{
5266 s//\1/
5269 /^X\(\/\).*/{
5270 s//\1/
5273 s/.*/./; q'`
5274 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5275 # echo "creating $dirpart/$file"
5276 echo '# dummy' > "$dirpart/$file"
5277 done
5278 done
5282 esac
5283 done # for ac_tag
5286 as_fn_exit 0
5287 _ACEOF
5288 ac_clean_files=$ac_clean_files_save
5290 test $ac_write_fail = 0 ||
5291 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5294 # configure is writing to config.log, and then calls config.status.
5295 # config.status does its own redirection, appending to config.log.
5296 # Unfortunately, on DOS this fails, as config.log is still kept open
5297 # by configure, so config.status won't be able to write to it; its
5298 # output is simply discarded. So we exec the FD to /dev/null,
5299 # effectively closing config.log, so it can be properly (re)opened and
5300 # appended to by config.status. When coming back to configure, we
5301 # need to make the FD available again.
5302 if test "$no_create" != yes; then
5303 ac_cs_success=:
5304 ac_config_status_args=
5305 test "$silent" = yes &&
5306 ac_config_status_args="$ac_config_status_args --quiet"
5307 exec 5>/dev/null
5308 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5309 exec 5>>config.log
5310 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5311 # would make configure fail if this is the last instruction.
5312 $ac_cs_success || as_fn_exit $?
5314 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5316 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}