* testsuite/26_numerics/headers/cmath/hypot.cc: XFAIL on AIX.
[official-gcc.git] / gotools / configure
blobd144125c04035f0a4d299782f04da44da68db762
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174 else
175 as_have_required=no
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179 else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181 as_found=false
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
199 done;;
200 esac
201 as_found=false
202 done
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206 fi; }
207 IFS=$as_save_IFS
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 BASH_ENV=/dev/null
215 ENV=/dev/null
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217 export CONFIG_SHELL
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
227 else
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
233 exit 1
237 SHELL=${CONFIG_SHELL-/bin/sh}
238 export SHELL
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
246 # as_fn_unset VAR
247 # ---------------
248 # Portably unset VAR.
249 as_fn_unset ()
251 { eval $1=; unset $1;}
253 as_unset=as_fn_unset
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
258 as_fn_set_status ()
260 return $1
261 } # as_fn_set_status
263 # as_fn_exit STATUS
264 # -----------------
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266 as_fn_exit ()
268 set +e
269 as_fn_set_status $1
270 exit $1
271 } # as_fn_exit
273 # as_fn_mkdir_p
274 # -------------
275 # Create "$as_dir" as a directory, including parents if necessary.
276 as_fn_mkdir_p ()
279 case $as_dir in #(
280 -*) as_dir=./$as_dir;;
281 esac
282 test -d "$as_dir" || eval $as_mkdir_p || {
283 as_dirs=
284 while :; do
285 case $as_dir in #(
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 *) as_qdir=$as_dir;;
288 esac
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297 s//\1/
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
304 /^X\(\/\/\)$/{
305 s//\1/
308 /^X\(\/\).*/{
309 s//\1/
312 s/.*/./; q'`
313 test -d "$as_dir" && break
314 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319 } # as_fn_mkdir_p
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
325 # implementations.
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
329 eval $1+=\$2
331 else
332 as_fn_append ()
334 eval $1=\$$1\$2
336 fi # as_fn_append
338 # as_fn_arith ARG...
339 # ------------------
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344 eval 'as_fn_arith ()
346 as_val=$(( $* ))
348 else
349 as_fn_arith ()
351 as_val=`expr "$@" || test $? -eq 1`
353 fi # as_fn_arith
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
361 as_fn_error ()
363 as_status=$?; test $as_status -eq 0 && as_status=1
364 if test "$3"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370 } # as_fn_error
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
374 as_expr=expr
375 else
376 as_expr=false
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380 as_basename=basename
381 else
382 as_basename=false
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386 as_dirname=dirname
387 else
388 as_dirname=false
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395 $as_echo X/"$0" |
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
397 s//\1/
400 /^X\/\(\/\/\)$/{
401 s//\1/
404 /^X\/\(\/\).*/{
405 s//\1/
408 s/.*/./; q'`
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
423 sed -n '
425 /[$]LINENO/=
426 ' <$as_myself |
427 sed '
428 s/[$]LINENO.*/&-/
429 t lineno
431 :lineno
433 :loop
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435 t loop
436 s/-\n.*//
437 ' >$as_me.lineno &&
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
444 . "./$as_me.lineno"
445 # Exit status is that of the last command.
446 exit
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
451 -n*)
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
454 xy) ECHO_C='\c';;
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
456 ECHO_T=' ';;
457 esac;;
459 ECHO_N='-n';;
460 esac
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
465 else
466 rm -f conf$$.dir
467 mkdir conf$$.dir 2>/dev/null
469 if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
471 as_ln_s='ln -s'
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477 as_ln_s='cp -p'
478 elif ln conf$$.file conf$$ 2>/dev/null; then
479 as_ln_s=ln
480 else
481 as_ln_s='cp -p'
483 else
484 as_ln_s='cp -p'
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
489 if mkdir -p . 2>/dev/null; then
490 as_mkdir_p='mkdir -p "$as_dir"'
491 else
492 test -d ./-p && rmdir ./-p
493 as_mkdir_p=false
496 if test -x / >/dev/null 2>&1; then
497 as_test_x='test -x'
498 else
499 if ls -dL / >/dev/null 2>&1; then
500 as_ls_L_option=L
501 else
502 as_ls_L_option=
504 as_test_x='
505 eval sh -c '\''
506 if test -d "$1"; then
507 test -d "$1/.";
508 else
509 case $1 in #(
510 -*)set "./$1";;
511 esac;
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
514 '\'' sh
517 as_executable_p=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev/null 6>&1
528 # Name of the host.
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
534 # Initializations.
536 ac_default_prefix=/usr/local
537 ac_clean_files=
538 ac_config_libobj_dir=.
539 LIBOBJS=
540 cross_compiling=no
541 subdirs=
542 MFLAGS=
543 MAKEFLAGS=
545 # Identity of this package.
546 PACKAGE_NAME='package-unused'
547 PACKAGE_TARNAME='gotools'
548 PACKAGE_VERSION='version-unused'
549 PACKAGE_STRING='package-unused version-unused'
550 PACKAGE_BUGREPORT=''
551 PACKAGE_URL=''
553 ac_unique_file="Makefile.am"
554 ac_subst_vars='am__EXEEXT_FALSE
555 am__EXEEXT_TRUE
556 LTLIBOBJS
557 LIBOBJS
558 NET_LIBS
559 NATIVE_FALSE
560 NATIVE_TRUE
561 GOCFLAGS
563 am__fastdepCC_FALSE
564 am__fastdepCC_TRUE
565 CCDEPMODE
566 am__nodep
567 AMDEPBACKSLASH
568 AMDEP_FALSE
569 AMDEP_TRUE
570 am__quote
571 am__include
572 DEPDIR
573 OBJEXT
574 EXEEXT
575 ac_ct_CC
576 CPPFLAGS
577 LDFLAGS
578 CFLAGS
580 MAINT
581 MAINTAINER_MODE_FALSE
582 MAINTAINER_MODE_TRUE
583 am__untar
584 am__tar
585 AMTAR
586 am__leading_dot
587 SET_MAKE
589 mkdir_p
590 MKDIR_P
591 INSTALL_STRIP_PROGRAM
592 STRIP
593 install_sh
594 MAKEINFO
595 AUTOHEADER
596 AUTOMAKE
597 AUTOCONF
598 ACLOCAL
599 VERSION
600 PACKAGE
601 CYGPATH_W
602 am__isrc
603 INSTALL_DATA
604 INSTALL_SCRIPT
605 INSTALL_PROGRAM
606 target_os
607 target_vendor
608 target_cpu
609 target
610 host_os
611 host_vendor
612 host_cpu
613 host
614 target_noncanonical
615 host_noncanonical
616 build_noncanonical
617 build_os
618 build_vendor
619 build_cpu
620 build
621 target_alias
622 host_alias
623 build_alias
624 LIBS
625 ECHO_T
626 ECHO_N
627 ECHO_C
628 DEFS
629 mandir
630 localedir
631 libdir
632 psdir
633 pdfdir
634 dvidir
635 htmldir
636 infodir
637 docdir
638 oldincludedir
639 includedir
640 localstatedir
641 sharedstatedir
642 sysconfdir
643 datadir
644 datarootdir
645 libexecdir
646 sbindir
647 bindir
648 program_transform_name
649 prefix
650 exec_prefix
651 PACKAGE_URL
652 PACKAGE_BUGREPORT
653 PACKAGE_STRING
654 PACKAGE_VERSION
655 PACKAGE_TARNAME
656 PACKAGE_NAME
657 PATH_SEPARATOR
658 SHELL'
659 ac_subst_files=''
660 ac_user_opts='
661 enable_option_checking
662 enable_maintainer_mode
663 enable_dependency_tracking
665 ac_precious_vars='build_alias
666 host_alias
667 target_alias
669 CFLAGS
670 LDFLAGS
671 LIBS
672 CPPFLAGS
674 GOCFLAGS'
677 # Initialize some variables set by options.
678 ac_init_help=
679 ac_init_version=false
680 ac_unrecognized_opts=
681 ac_unrecognized_sep=
682 # The variables have the same names as the options, with
683 # dashes changed to underlines.
684 cache_file=/dev/null
685 exec_prefix=NONE
686 no_create=
687 no_recursion=
688 prefix=NONE
689 program_prefix=NONE
690 program_suffix=NONE
691 program_transform_name=s,x,x,
692 silent=
693 site=
694 srcdir=
695 verbose=
696 x_includes=NONE
697 x_libraries=NONE
699 # Installation directory options.
700 # These are left unexpanded so users can "make install exec_prefix=/foo"
701 # and all the variables that are supposed to be based on exec_prefix
702 # by default will actually change.
703 # Use braces instead of parens because sh, perl, etc. also accept them.
704 # (The list follows the same order as the GNU Coding Standards.)
705 bindir='${exec_prefix}/bin'
706 sbindir='${exec_prefix}/sbin'
707 libexecdir='${exec_prefix}/libexec'
708 datarootdir='${prefix}/share'
709 datadir='${datarootdir}'
710 sysconfdir='${prefix}/etc'
711 sharedstatedir='${prefix}/com'
712 localstatedir='${prefix}/var'
713 includedir='${prefix}/include'
714 oldincludedir='/usr/include'
715 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
716 infodir='${datarootdir}/info'
717 htmldir='${docdir}'
718 dvidir='${docdir}'
719 pdfdir='${docdir}'
720 psdir='${docdir}'
721 libdir='${exec_prefix}/lib'
722 localedir='${datarootdir}/locale'
723 mandir='${datarootdir}/man'
725 ac_prev=
726 ac_dashdash=
727 for ac_option
729 # If the previous option needs an argument, assign it.
730 if test -n "$ac_prev"; then
731 eval $ac_prev=\$ac_option
732 ac_prev=
733 continue
736 case $ac_option in
737 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
738 *) ac_optarg=yes ;;
739 esac
741 # Accept the important Cygnus configure options, so we can diagnose typos.
743 case $ac_dashdash$ac_option in
745 ac_dashdash=yes ;;
747 -bindir | --bindir | --bindi | --bind | --bin | --bi)
748 ac_prev=bindir ;;
749 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
750 bindir=$ac_optarg ;;
752 -build | --build | --buil | --bui | --bu)
753 ac_prev=build_alias ;;
754 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
755 build_alias=$ac_optarg ;;
757 -cache-file | --cache-file | --cache-fil | --cache-fi \
758 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
759 ac_prev=cache_file ;;
760 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
761 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
762 cache_file=$ac_optarg ;;
764 --config-cache | -C)
765 cache_file=config.cache ;;
767 -datadir | --datadir | --datadi | --datad)
768 ac_prev=datadir ;;
769 -datadir=* | --datadir=* | --datadi=* | --datad=*)
770 datadir=$ac_optarg ;;
772 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
773 | --dataroo | --dataro | --datar)
774 ac_prev=datarootdir ;;
775 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
776 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
777 datarootdir=$ac_optarg ;;
779 -disable-* | --disable-*)
780 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
781 # Reject names that are not valid shell variable names.
782 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
783 as_fn_error "invalid feature name: $ac_useropt"
784 ac_useropt_orig=$ac_useropt
785 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
786 case $ac_user_opts in
788 "enable_$ac_useropt"
789 "*) ;;
790 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
791 ac_unrecognized_sep=', ';;
792 esac
793 eval enable_$ac_useropt=no ;;
795 -docdir | --docdir | --docdi | --doc | --do)
796 ac_prev=docdir ;;
797 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
798 docdir=$ac_optarg ;;
800 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
801 ac_prev=dvidir ;;
802 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
803 dvidir=$ac_optarg ;;
805 -enable-* | --enable-*)
806 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
807 # Reject names that are not valid shell variable names.
808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
809 as_fn_error "invalid feature name: $ac_useropt"
810 ac_useropt_orig=$ac_useropt
811 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812 case $ac_user_opts in
814 "enable_$ac_useropt"
815 "*) ;;
816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
817 ac_unrecognized_sep=', ';;
818 esac
819 eval enable_$ac_useropt=\$ac_optarg ;;
821 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
822 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
823 | --exec | --exe | --ex)
824 ac_prev=exec_prefix ;;
825 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
826 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
827 | --exec=* | --exe=* | --ex=*)
828 exec_prefix=$ac_optarg ;;
830 -gas | --gas | --ga | --g)
831 # Obsolete; use --with-gas.
832 with_gas=yes ;;
834 -help | --help | --hel | --he | -h)
835 ac_init_help=long ;;
836 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
837 ac_init_help=recursive ;;
838 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
839 ac_init_help=short ;;
841 -host | --host | --hos | --ho)
842 ac_prev=host_alias ;;
843 -host=* | --host=* | --hos=* | --ho=*)
844 host_alias=$ac_optarg ;;
846 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
847 ac_prev=htmldir ;;
848 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
849 | --ht=*)
850 htmldir=$ac_optarg ;;
852 -includedir | --includedir | --includedi | --included | --include \
853 | --includ | --inclu | --incl | --inc)
854 ac_prev=includedir ;;
855 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
856 | --includ=* | --inclu=* | --incl=* | --inc=*)
857 includedir=$ac_optarg ;;
859 -infodir | --infodir | --infodi | --infod | --info | --inf)
860 ac_prev=infodir ;;
861 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
862 infodir=$ac_optarg ;;
864 -libdir | --libdir | --libdi | --libd)
865 ac_prev=libdir ;;
866 -libdir=* | --libdir=* | --libdi=* | --libd=*)
867 libdir=$ac_optarg ;;
869 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
870 | --libexe | --libex | --libe)
871 ac_prev=libexecdir ;;
872 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
873 | --libexe=* | --libex=* | --libe=*)
874 libexecdir=$ac_optarg ;;
876 -localedir | --localedir | --localedi | --localed | --locale)
877 ac_prev=localedir ;;
878 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
879 localedir=$ac_optarg ;;
881 -localstatedir | --localstatedir | --localstatedi | --localstated \
882 | --localstate | --localstat | --localsta | --localst | --locals)
883 ac_prev=localstatedir ;;
884 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
885 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
886 localstatedir=$ac_optarg ;;
888 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
889 ac_prev=mandir ;;
890 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
891 mandir=$ac_optarg ;;
893 -nfp | --nfp | --nf)
894 # Obsolete; use --without-fp.
895 with_fp=no ;;
897 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
898 | --no-cr | --no-c | -n)
899 no_create=yes ;;
901 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
902 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
903 no_recursion=yes ;;
905 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
906 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
907 | --oldin | --oldi | --old | --ol | --o)
908 ac_prev=oldincludedir ;;
909 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
910 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
911 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
912 oldincludedir=$ac_optarg ;;
914 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
915 ac_prev=prefix ;;
916 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
917 prefix=$ac_optarg ;;
919 -program-prefix | --program-prefix | --program-prefi | --program-pref \
920 | --program-pre | --program-pr | --program-p)
921 ac_prev=program_prefix ;;
922 -program-prefix=* | --program-prefix=* | --program-prefi=* \
923 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
924 program_prefix=$ac_optarg ;;
926 -program-suffix | --program-suffix | --program-suffi | --program-suff \
927 | --program-suf | --program-su | --program-s)
928 ac_prev=program_suffix ;;
929 -program-suffix=* | --program-suffix=* | --program-suffi=* \
930 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
931 program_suffix=$ac_optarg ;;
933 -program-transform-name | --program-transform-name \
934 | --program-transform-nam | --program-transform-na \
935 | --program-transform-n | --program-transform- \
936 | --program-transform | --program-transfor \
937 | --program-transfo | --program-transf \
938 | --program-trans | --program-tran \
939 | --progr-tra | --program-tr | --program-t)
940 ac_prev=program_transform_name ;;
941 -program-transform-name=* | --program-transform-name=* \
942 | --program-transform-nam=* | --program-transform-na=* \
943 | --program-transform-n=* | --program-transform-=* \
944 | --program-transform=* | --program-transfor=* \
945 | --program-transfo=* | --program-transf=* \
946 | --program-trans=* | --program-tran=* \
947 | --progr-tra=* | --program-tr=* | --program-t=*)
948 program_transform_name=$ac_optarg ;;
950 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
951 ac_prev=pdfdir ;;
952 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
953 pdfdir=$ac_optarg ;;
955 -psdir | --psdir | --psdi | --psd | --ps)
956 ac_prev=psdir ;;
957 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
958 psdir=$ac_optarg ;;
960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
961 | -silent | --silent | --silen | --sile | --sil)
962 silent=yes ;;
964 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
965 ac_prev=sbindir ;;
966 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
967 | --sbi=* | --sb=*)
968 sbindir=$ac_optarg ;;
970 -sharedstatedir | --sharedstatedir | --sharedstatedi \
971 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
972 | --sharedst | --shareds | --shared | --share | --shar \
973 | --sha | --sh)
974 ac_prev=sharedstatedir ;;
975 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
976 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
977 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
978 | --sha=* | --sh=*)
979 sharedstatedir=$ac_optarg ;;
981 -site | --site | --sit)
982 ac_prev=site ;;
983 -site=* | --site=* | --sit=*)
984 site=$ac_optarg ;;
986 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
987 ac_prev=srcdir ;;
988 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
989 srcdir=$ac_optarg ;;
991 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
992 | --syscon | --sysco | --sysc | --sys | --sy)
993 ac_prev=sysconfdir ;;
994 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
995 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
996 sysconfdir=$ac_optarg ;;
998 -target | --target | --targe | --targ | --tar | --ta | --t)
999 ac_prev=target_alias ;;
1000 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1001 target_alias=$ac_optarg ;;
1003 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1004 verbose=yes ;;
1006 -version | --version | --versio | --versi | --vers | -V)
1007 ac_init_version=: ;;
1009 -with-* | --with-*)
1010 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013 as_fn_error "invalid package name: $ac_useropt"
1014 ac_useropt_orig=$ac_useropt
1015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1018 "with_$ac_useropt"
1019 "*) ;;
1020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1021 ac_unrecognized_sep=', ';;
1022 esac
1023 eval with_$ac_useropt=\$ac_optarg ;;
1025 -without-* | --without-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid package name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "with_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval with_$ac_useropt=no ;;
1041 --x)
1042 # Obsolete; use --with-x.
1043 with_x=yes ;;
1045 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1046 | --x-incl | --x-inc | --x-in | --x-i)
1047 ac_prev=x_includes ;;
1048 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1049 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1050 x_includes=$ac_optarg ;;
1052 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1053 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1054 ac_prev=x_libraries ;;
1055 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1056 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1057 x_libraries=$ac_optarg ;;
1059 -*) as_fn_error "unrecognized option: \`$ac_option'
1060 Try \`$0 --help' for more information."
1063 *=*)
1064 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1065 # Reject names that are not valid shell variable names.
1066 case $ac_envvar in #(
1067 '' | [0-9]* | *[!_$as_cr_alnum]* )
1068 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1069 esac
1070 eval $ac_envvar=\$ac_optarg
1071 export $ac_envvar ;;
1074 # FIXME: should be removed in autoconf 3.0.
1075 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1076 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1077 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1078 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1081 esac
1082 done
1084 if test -n "$ac_prev"; then
1085 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1086 as_fn_error "missing argument to $ac_option"
1089 if test -n "$ac_unrecognized_opts"; then
1090 case $enable_option_checking in
1091 no) ;;
1092 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1093 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1094 esac
1097 # Check all directory arguments for consistency.
1098 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1099 datadir sysconfdir sharedstatedir localstatedir includedir \
1100 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1101 libdir localedir mandir
1103 eval ac_val=\$$ac_var
1104 # Remove trailing slashes.
1105 case $ac_val in
1106 */ )
1107 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1108 eval $ac_var=\$ac_val;;
1109 esac
1110 # Be sure to have absolute directory names.
1111 case $ac_val in
1112 [\\/$]* | ?:[\\/]* ) continue;;
1113 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1114 esac
1115 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1116 done
1118 # There might be people who depend on the old broken behavior: `$host'
1119 # used to hold the argument of --host etc.
1120 # FIXME: To remove some day.
1121 build=$build_alias
1122 host=$host_alias
1123 target=$target_alias
1125 # FIXME: To remove some day.
1126 if test "x$host_alias" != x; then
1127 if test "x$build_alias" = x; then
1128 cross_compiling=maybe
1129 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1130 If a cross compiler is detected then cross compile mode will be used." >&2
1131 elif test "x$build_alias" != "x$host_alias"; then
1132 cross_compiling=yes
1136 ac_tool_prefix=
1137 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1139 test "$silent" = yes && exec 6>/dev/null
1142 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1143 ac_ls_di=`ls -di .` &&
1144 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1145 as_fn_error "working directory cannot be determined"
1146 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1147 as_fn_error "pwd does not report name of working directory"
1150 # Find the source files, if location was not specified.
1151 if test -z "$srcdir"; then
1152 ac_srcdir_defaulted=yes
1153 # Try the directory containing this script, then the parent directory.
1154 ac_confdir=`$as_dirname -- "$as_myself" ||
1155 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1156 X"$as_myself" : 'X\(//\)[^/]' \| \
1157 X"$as_myself" : 'X\(//\)$' \| \
1158 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1159 $as_echo X"$as_myself" |
1160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1161 s//\1/
1164 /^X\(\/\/\)[^/].*/{
1165 s//\1/
1168 /^X\(\/\/\)$/{
1169 s//\1/
1172 /^X\(\/\).*/{
1173 s//\1/
1176 s/.*/./; q'`
1177 srcdir=$ac_confdir
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179 srcdir=..
1181 else
1182 ac_srcdir_defaulted=no
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1185 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1186 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1188 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1189 ac_abs_confdir=`(
1190 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1191 pwd)`
1192 # When building in place, set srcdir=.
1193 if test "$ac_abs_confdir" = "$ac_pwd"; then
1194 srcdir=.
1196 # Remove unnecessary trailing slashes from srcdir.
1197 # Double slashes in file names in object file debugging info
1198 # mess up M-x gdb in Emacs.
1199 case $srcdir in
1200 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1201 esac
1202 for ac_var in $ac_precious_vars; do
1203 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1204 eval ac_env_${ac_var}_value=\$${ac_var}
1205 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1206 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1207 done
1210 # Report the --help message.
1212 if test "$ac_init_help" = "long"; then
1213 # Omit some internal or obsolete options to make the list less imposing.
1214 # This message is too long to be a string in the A/UX 3.1 sh.
1215 cat <<_ACEOF
1216 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1218 Usage: $0 [OPTION]... [VAR=VALUE]...
1220 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1221 VAR=VALUE. See below for descriptions of some of the useful variables.
1223 Defaults for the options are specified in brackets.
1225 Configuration:
1226 -h, --help display this help and exit
1227 --help=short display options specific to this package
1228 --help=recursive display the short help of all the included packages
1229 -V, --version display version information and exit
1230 -q, --quiet, --silent do not print \`checking...' messages
1231 --cache-file=FILE cache test results in FILE [disabled]
1232 -C, --config-cache alias for \`--cache-file=config.cache'
1233 -n, --no-create do not create output files
1234 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1236 Installation directories:
1237 --prefix=PREFIX install architecture-independent files in PREFIX
1238 [$ac_default_prefix]
1239 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1240 [PREFIX]
1242 By default, \`make install' will install all the files in
1243 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1244 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1245 for instance \`--prefix=\$HOME'.
1247 For better control, use the options below.
1249 Fine tuning of the installation directories:
1250 --bindir=DIR user executables [EPREFIX/bin]
1251 --sbindir=DIR system admin executables [EPREFIX/sbin]
1252 --libexecdir=DIR program executables [EPREFIX/libexec]
1253 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1254 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1255 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1256 --libdir=DIR object code libraries [EPREFIX/lib]
1257 --includedir=DIR C header files [PREFIX/include]
1258 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1259 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1260 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1261 --infodir=DIR info documentation [DATAROOTDIR/info]
1262 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1263 --mandir=DIR man documentation [DATAROOTDIR/man]
1264 --docdir=DIR documentation root [DATAROOTDIR/doc/gotools]
1265 --htmldir=DIR html documentation [DOCDIR]
1266 --dvidir=DIR dvi documentation [DOCDIR]
1267 --pdfdir=DIR pdf documentation [DOCDIR]
1268 --psdir=DIR ps documentation [DOCDIR]
1269 _ACEOF
1271 cat <<\_ACEOF
1273 Program names:
1274 --program-prefix=PREFIX prepend PREFIX to installed program names
1275 --program-suffix=SUFFIX append SUFFIX to installed program names
1276 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1278 System types:
1279 --build=BUILD configure for building on BUILD [guessed]
1280 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1281 --target=TARGET configure for building compilers for TARGET [HOST]
1282 _ACEOF
1285 if test -n "$ac_init_help"; then
1286 case $ac_init_help in
1287 short | recursive ) echo "Configuration of package-unused version-unused:";;
1288 esac
1289 cat <<\_ACEOF
1291 Optional Features:
1292 --disable-option-checking ignore unrecognized --enable/--with options
1293 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1294 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1295 --enable-maintainer-mode enable make rules and dependencies not useful
1296 (and sometimes confusing) to the casual installer
1297 --disable-dependency-tracking speeds up one-time build
1298 --enable-dependency-tracking do not reject slow dependency extractors
1300 Some influential environment variables:
1301 CC C compiler command
1302 CFLAGS C compiler flags
1303 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1304 nonstandard directory <lib dir>
1305 LIBS libraries to pass to the linker, e.g. -l<library>
1306 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1307 you have headers in a nonstandard directory <include dir>
1308 GOC Go compiler command
1309 GOCFLAGS Go compiler flags
1311 Use these variables to override the choices made by `configure' or to help
1312 it to find libraries and programs with nonstandard names/locations.
1314 Report bugs to the package provider.
1315 _ACEOF
1316 ac_status=$?
1319 if test "$ac_init_help" = "recursive"; then
1320 # If there are subdirs, report their specific --help.
1321 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1322 test -d "$ac_dir" ||
1323 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1324 continue
1325 ac_builddir=.
1327 case "$ac_dir" in
1328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1331 # A ".." for each directory in $ac_dir_suffix.
1332 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1333 case $ac_top_builddir_sub in
1334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1336 esac ;;
1337 esac
1338 ac_abs_top_builddir=$ac_pwd
1339 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1340 # for backward compatibility:
1341 ac_top_builddir=$ac_top_build_prefix
1343 case $srcdir in
1344 .) # We are building in place.
1345 ac_srcdir=.
1346 ac_top_srcdir=$ac_top_builddir_sub
1347 ac_abs_top_srcdir=$ac_pwd ;;
1348 [\\/]* | ?:[\\/]* ) # Absolute name.
1349 ac_srcdir=$srcdir$ac_dir_suffix;
1350 ac_top_srcdir=$srcdir
1351 ac_abs_top_srcdir=$srcdir ;;
1352 *) # Relative name.
1353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1354 ac_top_srcdir=$ac_top_build_prefix$srcdir
1355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1356 esac
1357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1359 cd "$ac_dir" || { ac_status=$?; continue; }
1360 # Check for guested configure.
1361 if test -f "$ac_srcdir/configure.gnu"; then
1362 echo &&
1363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1364 elif test -f "$ac_srcdir/configure"; then
1365 echo &&
1366 $SHELL "$ac_srcdir/configure" --help=recursive
1367 else
1368 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1369 fi || ac_status=$?
1370 cd "$ac_pwd" || { ac_status=$?; break; }
1371 done
1374 test -n "$ac_init_help" && exit $ac_status
1375 if $ac_init_version; then
1376 cat <<\_ACEOF
1377 package-unused configure version-unused
1378 generated by GNU Autoconf 2.64
1380 Copyright (C) 2009 Free Software Foundation, Inc.
1381 This configure script is free software; the Free Software Foundation
1382 gives unlimited permission to copy, distribute and modify it.
1383 _ACEOF
1384 exit
1387 ## ------------------------ ##
1388 ## Autoconf initialization. ##
1389 ## ------------------------ ##
1391 # ac_fn_c_try_compile LINENO
1392 # --------------------------
1393 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1394 ac_fn_c_try_compile ()
1396 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1397 rm -f conftest.$ac_objext
1398 if { { ac_try="$ac_compile"
1399 case "(($ac_try" in
1400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1401 *) ac_try_echo=$ac_try;;
1402 esac
1403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1404 $as_echo "$ac_try_echo"; } >&5
1405 (eval "$ac_compile") 2>conftest.err
1406 ac_status=$?
1407 if test -s conftest.err; then
1408 grep -v '^ *+' conftest.err >conftest.er1
1409 cat conftest.er1 >&5
1410 mv -f conftest.er1 conftest.err
1412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1413 test $ac_status = 0; } && {
1414 test -z "$ac_c_werror_flag" ||
1415 test ! -s conftest.err
1416 } && test -s conftest.$ac_objext; then :
1417 ac_retval=0
1418 else
1419 $as_echo "$as_me: failed program was:" >&5
1420 sed 's/^/| /' conftest.$ac_ext >&5
1422 ac_retval=1
1424 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1425 return $ac_retval
1427 } # ac_fn_c_try_compile
1429 # ac_fn_c_try_link LINENO
1430 # -----------------------
1431 # Try to link conftest.$ac_ext, and return whether this succeeded.
1432 ac_fn_c_try_link ()
1434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1435 rm -f conftest.$ac_objext conftest$ac_exeext
1436 if { { ac_try="$ac_link"
1437 case "(($ac_try" in
1438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1439 *) ac_try_echo=$ac_try;;
1440 esac
1441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1442 $as_echo "$ac_try_echo"; } >&5
1443 (eval "$ac_link") 2>conftest.err
1444 ac_status=$?
1445 if test -s conftest.err; then
1446 grep -v '^ *+' conftest.err >conftest.er1
1447 cat conftest.er1 >&5
1448 mv -f conftest.er1 conftest.err
1450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1451 test $ac_status = 0; } && {
1452 test -z "$ac_c_werror_flag" ||
1453 test ! -s conftest.err
1454 } && test -s conftest$ac_exeext && {
1455 test "$cross_compiling" = yes ||
1456 $as_test_x conftest$ac_exeext
1457 }; then :
1458 ac_retval=0
1459 else
1460 $as_echo "$as_me: failed program was:" >&5
1461 sed 's/^/| /' conftest.$ac_ext >&5
1463 ac_retval=1
1465 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1466 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1467 # interfere with the next link command; also delete a directory that is
1468 # left behind by Apple's compiler. We do this before executing the actions.
1469 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1470 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1471 return $ac_retval
1473 } # ac_fn_c_try_link
1475 # ac_fn_c_check_func LINENO FUNC VAR
1476 # ----------------------------------
1477 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1478 ac_fn_c_check_func ()
1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1482 $as_echo_n "checking for $2... " >&6; }
1483 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1484 $as_echo_n "(cached) " >&6
1485 else
1486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1487 /* end confdefs.h. */
1488 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1490 #define $2 innocuous_$2
1492 /* System header to define __stub macros and hopefully few prototypes,
1493 which can conflict with char $2 (); below.
1494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1495 <limits.h> exists even on freestanding compilers. */
1497 #ifdef __STDC__
1498 # include <limits.h>
1499 #else
1500 # include <assert.h>
1501 #endif
1503 #undef $2
1505 /* Override any GCC internal prototype to avoid an error.
1506 Use char because int might match the return type of a GCC
1507 builtin and then its argument prototype would still apply. */
1508 #ifdef __cplusplus
1509 extern "C"
1510 #endif
1511 char $2 ();
1512 /* The GNU C library defines this for functions which it implements
1513 to always fail with ENOSYS. Some functions are actually named
1514 something starting with __ and the normal name is an alias. */
1515 #if defined __stub_$2 || defined __stub___$2
1516 choke me
1517 #endif
1520 main ()
1522 return $2 ();
1524 return 0;
1526 _ACEOF
1527 if ac_fn_c_try_link "$LINENO"; then :
1528 eval "$3=yes"
1529 else
1530 eval "$3=no"
1532 rm -f core conftest.err conftest.$ac_objext \
1533 conftest$ac_exeext conftest.$ac_ext
1535 eval ac_res=\$$3
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1537 $as_echo "$ac_res" >&6; }
1538 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1540 } # ac_fn_c_check_func
1541 cat >config.log <<_ACEOF
1542 This file contains any messages produced by compilers while
1543 running configure, to aid debugging if configure makes a mistake.
1545 It was created by package-unused $as_me version-unused, which was
1546 generated by GNU Autoconf 2.64. Invocation command line was
1548 $ $0 $@
1550 _ACEOF
1551 exec 5>>config.log
1553 cat <<_ASUNAME
1554 ## --------- ##
1555 ## Platform. ##
1556 ## --------- ##
1558 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1559 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1560 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1561 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1562 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1564 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1565 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1567 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1568 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1569 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1570 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1571 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1572 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1573 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1575 _ASUNAME
1577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1578 for as_dir in $PATH
1580 IFS=$as_save_IFS
1581 test -z "$as_dir" && as_dir=.
1582 $as_echo "PATH: $as_dir"
1583 done
1584 IFS=$as_save_IFS
1586 } >&5
1588 cat >&5 <<_ACEOF
1591 ## ----------- ##
1592 ## Core tests. ##
1593 ## ----------- ##
1595 _ACEOF
1598 # Keep a trace of the command line.
1599 # Strip out --no-create and --no-recursion so they do not pile up.
1600 # Strip out --silent because we don't want to record it for future runs.
1601 # Also quote any args containing shell meta-characters.
1602 # Make two passes to allow for proper duplicate-argument suppression.
1603 ac_configure_args=
1604 ac_configure_args0=
1605 ac_configure_args1=
1606 ac_must_keep_next=false
1607 for ac_pass in 1 2
1609 for ac_arg
1611 case $ac_arg in
1612 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1613 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1614 | -silent | --silent | --silen | --sile | --sil)
1615 continue ;;
1616 *\'*)
1617 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1618 esac
1619 case $ac_pass in
1620 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1622 as_fn_append ac_configure_args1 " '$ac_arg'"
1623 if test $ac_must_keep_next = true; then
1624 ac_must_keep_next=false # Got value, back to normal.
1625 else
1626 case $ac_arg in
1627 *=* | --config-cache | -C | -disable-* | --disable-* \
1628 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1629 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1630 | -with-* | --with-* | -without-* | --without-* | --x)
1631 case "$ac_configure_args0 " in
1632 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1633 esac
1635 -* ) ac_must_keep_next=true ;;
1636 esac
1638 as_fn_append ac_configure_args " '$ac_arg'"
1640 esac
1641 done
1642 done
1643 { ac_configure_args0=; unset ac_configure_args0;}
1644 { ac_configure_args1=; unset ac_configure_args1;}
1646 # When interrupted or exit'd, cleanup temporary files, and complete
1647 # config.log. We remove comments because anyway the quotes in there
1648 # would cause problems or look ugly.
1649 # WARNING: Use '\'' to represent an apostrophe within the trap.
1650 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1651 trap 'exit_status=$?
1652 # Save into config.log some information that might help in debugging.
1654 echo
1656 cat <<\_ASBOX
1657 ## ---------------- ##
1658 ## Cache variables. ##
1659 ## ---------------- ##
1660 _ASBOX
1661 echo
1662 # The following way of writing the cache mishandles newlines in values,
1664 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1665 eval ac_val=\$$ac_var
1666 case $ac_val in #(
1667 *${as_nl}*)
1668 case $ac_var in #(
1669 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1670 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1671 esac
1672 case $ac_var in #(
1673 _ | IFS | as_nl) ;; #(
1674 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1675 *) { eval $ac_var=; unset $ac_var;} ;;
1676 esac ;;
1677 esac
1678 done
1679 (set) 2>&1 |
1680 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1681 *${as_nl}ac_space=\ *)
1682 sed -n \
1683 "s/'\''/'\''\\\\'\'''\''/g;
1684 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1685 ;; #(
1687 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1689 esac |
1690 sort
1692 echo
1694 cat <<\_ASBOX
1695 ## ----------------- ##
1696 ## Output variables. ##
1697 ## ----------------- ##
1698 _ASBOX
1699 echo
1700 for ac_var in $ac_subst_vars
1702 eval ac_val=\$$ac_var
1703 case $ac_val in
1704 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1705 esac
1706 $as_echo "$ac_var='\''$ac_val'\''"
1707 done | sort
1708 echo
1710 if test -n "$ac_subst_files"; then
1711 cat <<\_ASBOX
1712 ## ------------------- ##
1713 ## File substitutions. ##
1714 ## ------------------- ##
1715 _ASBOX
1716 echo
1717 for ac_var in $ac_subst_files
1719 eval ac_val=\$$ac_var
1720 case $ac_val in
1721 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1722 esac
1723 $as_echo "$ac_var='\''$ac_val'\''"
1724 done | sort
1725 echo
1728 if test -s confdefs.h; then
1729 cat <<\_ASBOX
1730 ## ----------- ##
1731 ## confdefs.h. ##
1732 ## ----------- ##
1733 _ASBOX
1734 echo
1735 cat confdefs.h
1736 echo
1738 test "$ac_signal" != 0 &&
1739 $as_echo "$as_me: caught signal $ac_signal"
1740 $as_echo "$as_me: exit $exit_status"
1741 } >&5
1742 rm -f core *.core core.conftest.* &&
1743 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1744 exit $exit_status
1746 for ac_signal in 1 2 13 15; do
1747 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1748 done
1749 ac_signal=0
1751 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1752 rm -f -r conftest* confdefs.h
1754 $as_echo "/* confdefs.h */" > confdefs.h
1756 # Predefined preprocessor variables.
1758 cat >>confdefs.h <<_ACEOF
1759 #define PACKAGE_NAME "$PACKAGE_NAME"
1760 _ACEOF
1762 cat >>confdefs.h <<_ACEOF
1763 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1764 _ACEOF
1766 cat >>confdefs.h <<_ACEOF
1767 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1768 _ACEOF
1770 cat >>confdefs.h <<_ACEOF
1771 #define PACKAGE_STRING "$PACKAGE_STRING"
1772 _ACEOF
1774 cat >>confdefs.h <<_ACEOF
1775 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1776 _ACEOF
1778 cat >>confdefs.h <<_ACEOF
1779 #define PACKAGE_URL "$PACKAGE_URL"
1780 _ACEOF
1783 # Let the site file select an alternate cache file if it wants to.
1784 # Prefer an explicitly selected file to automatically selected ones.
1785 ac_site_file1=NONE
1786 ac_site_file2=NONE
1787 if test -n "$CONFIG_SITE"; then
1788 ac_site_file1=$CONFIG_SITE
1789 elif test "x$prefix" != xNONE; then
1790 ac_site_file1=$prefix/share/config.site
1791 ac_site_file2=$prefix/etc/config.site
1792 else
1793 ac_site_file1=$ac_default_prefix/share/config.site
1794 ac_site_file2=$ac_default_prefix/etc/config.site
1796 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1798 test "x$ac_site_file" = xNONE && continue
1799 if test -r "$ac_site_file"; then
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1801 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1802 sed 's/^/| /' "$ac_site_file" >&5
1803 . "$ac_site_file"
1805 done
1807 if test -r "$cache_file"; then
1808 # Some versions of bash will fail to source /dev/null (special
1809 # files actually), so we avoid doing that.
1810 if test -f "$cache_file"; then
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1812 $as_echo "$as_me: loading cache $cache_file" >&6;}
1813 case $cache_file in
1814 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1815 *) . "./$cache_file";;
1816 esac
1818 else
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1820 $as_echo "$as_me: creating cache $cache_file" >&6;}
1821 >$cache_file
1824 # Check that the precious variables saved in the cache have kept the same
1825 # value.
1826 ac_cache_corrupted=false
1827 for ac_var in $ac_precious_vars; do
1828 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1829 eval ac_new_set=\$ac_env_${ac_var}_set
1830 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1831 eval ac_new_val=\$ac_env_${ac_var}_value
1832 case $ac_old_set,$ac_new_set in
1833 set,)
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1835 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1836 ac_cache_corrupted=: ;;
1837 ,set)
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1839 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1840 ac_cache_corrupted=: ;;
1841 ,);;
1843 if test "x$ac_old_val" != "x$ac_new_val"; then
1844 # differences in whitespace do not lead to failure.
1845 ac_old_val_w=`echo x $ac_old_val`
1846 ac_new_val_w=`echo x $ac_new_val`
1847 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1849 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1850 ac_cache_corrupted=:
1851 else
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1853 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1854 eval $ac_var=\$ac_old_val
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1857 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1859 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1860 fi;;
1861 esac
1862 # Pass precious variables to config.status.
1863 if test "$ac_new_set" = set; then
1864 case $ac_new_val in
1865 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1866 *) ac_arg=$ac_var=$ac_new_val ;;
1867 esac
1868 case " $ac_configure_args " in
1869 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1870 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1871 esac
1873 done
1874 if $ac_cache_corrupted; then
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1878 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1879 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1881 ## -------------------- ##
1882 ## Main body of script. ##
1883 ## -------------------- ##
1885 ac_ext=c
1886 ac_cpp='$CPP $CPPFLAGS'
1887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1908 # This is what autoupdate's m4 run will expand. It fires
1909 # the warning (with _au_warn_XXX), outputs it into the
1910 # updated configure.ac (with AC_DIAGNOSE), and then outputs
1911 # the replacement expansion.
1914 # This is an auxiliary macro that is also run when
1915 # autoupdate runs m4. It simply calls m4_warning, but
1916 # we need a wrapper so that each warning is emitted only
1917 # once. We break the quoting in m4_warning's argument in
1918 # order to expand this macro's arguments, not AU_DEFUN's.
1921 # Finally, this is the expansion that is picked up by
1922 # autoconf. It tells the user to run autoupdate, and
1923 # then outputs the replacement expansion. We do not care
1924 # about autoupdate's warning because that contains
1925 # information on what to do *after* running autoupdate.
1944 # AC_PROG_GO
1947 # Determine the noncanonical names used for directories.
1948 ac_aux_dir=
1949 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1950 for ac_t in install-sh install.sh shtool; do
1951 if test -f "$ac_dir/$ac_t"; then
1952 ac_aux_dir=$ac_dir
1953 ac_install_sh="$ac_aux_dir/$ac_t -c"
1954 break 2
1956 done
1957 done
1958 if test -z "$ac_aux_dir"; then
1959 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1962 # These three variables are undocumented and unsupported,
1963 # and are intended to be withdrawn in a future Autoconf release.
1964 # They can cause serious problems if a builder's source tree is in a directory
1965 # whose full name contains unusual characters.
1966 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1967 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1968 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1971 # Make sure we can run config.sub.
1972 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1973 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1976 $as_echo_n "checking build system type... " >&6; }
1977 if test "${ac_cv_build+set}" = set; then :
1978 $as_echo_n "(cached) " >&6
1979 else
1980 ac_build_alias=$build_alias
1981 test "x$ac_build_alias" = x &&
1982 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1983 test "x$ac_build_alias" = x &&
1984 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1985 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1986 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1990 $as_echo "$ac_cv_build" >&6; }
1991 case $ac_cv_build in
1992 *-*-*) ;;
1993 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1994 esac
1995 build=$ac_cv_build
1996 ac_save_IFS=$IFS; IFS='-'
1997 set x $ac_cv_build
1998 shift
1999 build_cpu=$1
2000 build_vendor=$2
2001 shift; shift
2002 # Remember, the first character of IFS is used to create $*,
2003 # except with old shells:
2004 build_os=$*
2005 IFS=$ac_save_IFS
2006 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2009 case ${build_alias} in
2010 "") build_noncanonical=${build} ;;
2011 *) build_noncanonical=${build_alias} ;;
2012 esac
2016 case ${host_alias} in
2017 "") host_noncanonical=${build_noncanonical} ;;
2018 *) host_noncanonical=${host_alias} ;;
2019 esac
2023 case ${target_alias} in
2024 "") target_noncanonical=${host_noncanonical} ;;
2025 *) target_noncanonical=${target_alias} ;;
2026 esac
2031 test "$host_noncanonical" = "$target_noncanonical" &&
2032 test "$program_prefix$program_suffix$program_transform_name" = \
2033 NONENONEs,x,x, &&
2034 program_transform_name=s,y,y,
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2037 $as_echo_n "checking host system type... " >&6; }
2038 if test "${ac_cv_host+set}" = set; then :
2039 $as_echo_n "(cached) " >&6
2040 else
2041 if test "x$host_alias" = x; then
2042 ac_cv_host=$ac_cv_build
2043 else
2044 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2045 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2050 $as_echo "$ac_cv_host" >&6; }
2051 case $ac_cv_host in
2052 *-*-*) ;;
2053 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2054 esac
2055 host=$ac_cv_host
2056 ac_save_IFS=$IFS; IFS='-'
2057 set x $ac_cv_host
2058 shift
2059 host_cpu=$1
2060 host_vendor=$2
2061 shift; shift
2062 # Remember, the first character of IFS is used to create $*,
2063 # except with old shells:
2064 host_os=$*
2065 IFS=$ac_save_IFS
2066 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2070 $as_echo_n "checking target system type... " >&6; }
2071 if test "${ac_cv_target+set}" = set; then :
2072 $as_echo_n "(cached) " >&6
2073 else
2074 if test "x$target_alias" = x; then
2075 ac_cv_target=$ac_cv_host
2076 else
2077 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2078 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2083 $as_echo "$ac_cv_target" >&6; }
2084 case $ac_cv_target in
2085 *-*-*) ;;
2086 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2087 esac
2088 target=$ac_cv_target
2089 ac_save_IFS=$IFS; IFS='-'
2090 set x $ac_cv_target
2091 shift
2092 target_cpu=$1
2093 target_vendor=$2
2094 shift; shift
2095 # Remember, the first character of IFS is used to create $*,
2096 # except with old shells:
2097 target_os=$*
2098 IFS=$ac_save_IFS
2099 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2102 # The aliases save the names the user supplied, while $host etc.
2103 # will get canonicalized.
2104 test -n "$target_alias" &&
2105 test "$program_prefix$program_suffix$program_transform_name" = \
2106 NONENONEs,x,x, &&
2107 program_prefix=${target_alias}-
2109 test "$program_prefix" != NONE &&
2110 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2111 # Use a double $ so make ignores it.
2112 test "$program_suffix" != NONE &&
2113 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2114 # Double any \ or $.
2115 # By default was `s,x,x', remove it if useless.
2116 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2117 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2120 am__api_version='1.11'
2122 # Find a good install program. We prefer a C program (faster),
2123 # so one script is as good as another. But avoid the broken or
2124 # incompatible versions:
2125 # SysV /etc/install, /usr/sbin/install
2126 # SunOS /usr/etc/install
2127 # IRIX /sbin/install
2128 # AIX /bin/install
2129 # AmigaOS /C/install, which installs bootblocks on floppy discs
2130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2133 # OS/2's system install, which has a completely different semantic
2134 # ./install, which can be erroneously created by make from ./install.sh.
2135 # Reject install programs that cannot install multiple files.
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2137 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2138 if test -z "$INSTALL"; then
2139 if test "${ac_cv_path_install+set}" = set; then :
2140 $as_echo_n "(cached) " >&6
2141 else
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 for as_dir in $PATH
2145 IFS=$as_save_IFS
2146 test -z "$as_dir" && as_dir=.
2147 # Account for people who put trailing slashes in PATH elements.
2148 case $as_dir/ in #((
2149 ./ | .// | /[cC]/* | \
2150 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2151 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2152 /usr/ucb/* ) ;;
2154 # OSF1 and SCO ODT 3.0 have their own names for install.
2155 # Don't use installbsd from OSF since it installs stuff as root
2156 # by default.
2157 for ac_prog in ginstall scoinst install; do
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2160 if test $ac_prog = install &&
2161 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2162 # AIX install. It has an incompatible calling convention.
2164 elif test $ac_prog = install &&
2165 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2166 # program-specific install script used by HP pwplus--don't use.
2168 else
2169 rm -rf conftest.one conftest.two conftest.dir
2170 echo one > conftest.one
2171 echo two > conftest.two
2172 mkdir conftest.dir
2173 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2174 test -s conftest.one && test -s conftest.two &&
2175 test -s conftest.dir/conftest.one &&
2176 test -s conftest.dir/conftest.two
2177 then
2178 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2179 break 3
2183 done
2184 done
2186 esac
2188 done
2189 IFS=$as_save_IFS
2191 rm -rf conftest.one conftest.two conftest.dir
2194 if test "${ac_cv_path_install+set}" = set; then
2195 INSTALL=$ac_cv_path_install
2196 else
2197 # As a last resort, use the slow shell script. Don't cache a
2198 # value for INSTALL within a source directory, because that will
2199 # break other packages using the cache if that directory is
2200 # removed, or if the value is a relative name.
2201 INSTALL=$ac_install_sh
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2205 $as_echo "$INSTALL" >&6; }
2207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2208 # It thinks the first close brace ends the variable substitution.
2209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2213 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2216 $as_echo_n "checking whether build environment is sane... " >&6; }
2217 # Just in case
2218 sleep 1
2219 echo timestamp > conftest.file
2220 # Reject unsafe characters in $srcdir or the absolute working directory
2221 # name. Accept space and tab only in the latter.
2222 am_lf='
2224 case `pwd` in
2225 *[\\\"\#\$\&\'\`$am_lf]*)
2226 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2227 esac
2228 case $srcdir in
2229 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2230 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2231 esac
2233 # Do `set' in a subshell so we don't clobber the current shell's
2234 # arguments. Must try -L first in case configure is actually a
2235 # symlink; some systems play weird games with the mod time of symlinks
2236 # (eg FreeBSD returns the mod time of the symlink's containing
2237 # directory).
2238 if (
2239 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2240 if test "$*" = "X"; then
2241 # -L didn't work.
2242 set X `ls -t "$srcdir/configure" conftest.file`
2244 rm -f conftest.file
2245 if test "$*" != "X $srcdir/configure conftest.file" \
2246 && test "$*" != "X conftest.file $srcdir/configure"; then
2248 # If neither matched, then we have a broken ls. This can happen
2249 # if, for instance, CONFIG_SHELL is bash and it inherits a
2250 # broken ls alias from the environment. This has actually
2251 # happened. Such a system could not be considered "sane".
2252 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2253 alias in your environment" "$LINENO" 5
2256 test "$2" = conftest.file
2258 then
2259 # Ok.
2261 else
2262 as_fn_error "newly created file is older than distributed files!
2263 Check your system clock" "$LINENO" 5
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2266 $as_echo "yes" >&6; }
2267 # expand $ac_aux_dir to an absolute path
2268 am_aux_dir=`cd $ac_aux_dir && pwd`
2270 if test x"${MISSING+set}" != xset; then
2271 case $am_aux_dir in
2272 *\ * | *\ *)
2273 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2275 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2276 esac
2278 # Use eval to expand $SHELL
2279 if eval "$MISSING --run true"; then
2280 am_missing_run="$MISSING --run "
2281 else
2282 am_missing_run=
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2284 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2287 if test x"${install_sh}" != xset; then
2288 case $am_aux_dir in
2289 *\ * | *\ *)
2290 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2292 install_sh="\${SHELL} $am_aux_dir/install-sh"
2293 esac
2296 # Installed binaries are usually stripped using `strip' when the user
2297 # run `make install-strip'. However `strip' might not be the right
2298 # tool to use in cross-compilation environments, therefore Automake
2299 # will honor the `STRIP' environment variable to overrule this program.
2300 if test "$cross_compiling" != no; then
2301 if test -n "$ac_tool_prefix"; then
2302 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2303 set dummy ${ac_tool_prefix}strip; ac_word=$2
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2305 $as_echo_n "checking for $ac_word... " >&6; }
2306 if test "${ac_cv_prog_STRIP+set}" = set; then :
2307 $as_echo_n "(cached) " >&6
2308 else
2309 if test -n "$STRIP"; then
2310 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2311 else
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 for as_dir in $PATH
2315 IFS=$as_save_IFS
2316 test -z "$as_dir" && as_dir=.
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 break 2
2323 done
2324 done
2325 IFS=$as_save_IFS
2329 STRIP=$ac_cv_prog_STRIP
2330 if test -n "$STRIP"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2332 $as_echo "$STRIP" >&6; }
2333 else
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2335 $as_echo "no" >&6; }
2340 if test -z "$ac_cv_prog_STRIP"; then
2341 ac_ct_STRIP=$STRIP
2342 # Extract the first word of "strip", so it can be a program name with args.
2343 set dummy strip; ac_word=$2
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2345 $as_echo_n "checking for $ac_word... " >&6; }
2346 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2347 $as_echo_n "(cached) " >&6
2348 else
2349 if test -n "$ac_ct_STRIP"; then
2350 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2351 else
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353 for as_dir in $PATH
2355 IFS=$as_save_IFS
2356 test -z "$as_dir" && as_dir=.
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359 ac_cv_prog_ac_ct_STRIP="strip"
2360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 break 2
2363 done
2364 done
2365 IFS=$as_save_IFS
2369 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2370 if test -n "$ac_ct_STRIP"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2372 $as_echo "$ac_ct_STRIP" >&6; }
2373 else
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2375 $as_echo "no" >&6; }
2378 if test "x$ac_ct_STRIP" = x; then
2379 STRIP=":"
2380 else
2381 case $cross_compiling:$ac_tool_warned in
2382 yes:)
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2385 ac_tool_warned=yes ;;
2386 esac
2387 STRIP=$ac_ct_STRIP
2389 else
2390 STRIP="$ac_cv_prog_STRIP"
2394 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2397 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2398 if test -z "$MKDIR_P"; then
2399 if test "${ac_cv_path_mkdir+set}" = set; then :
2400 $as_echo_n "(cached) " >&6
2401 else
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_prog in mkdir gmkdir; do
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2410 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2411 'mkdir (GNU coreutils) '* | \
2412 'mkdir (coreutils) '* | \
2413 'mkdir (fileutils) '4.1*)
2414 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2415 break 3;;
2416 esac
2417 done
2418 done
2419 done
2420 IFS=$as_save_IFS
2424 if test "${ac_cv_path_mkdir+set}" = set; then
2425 MKDIR_P="$ac_cv_path_mkdir -p"
2426 else
2427 # As a last resort, use the slow shell script. Don't cache a
2428 # value for MKDIR_P within a source directory, because that will
2429 # break other packages using the cache if that directory is
2430 # removed, or if the value is a relative name.
2431 test -d ./--version && rmdir ./--version
2432 MKDIR_P="$ac_install_sh -d"
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2436 $as_echo "$MKDIR_P" >&6; }
2438 mkdir_p="$MKDIR_P"
2439 case $mkdir_p in
2440 [\\/$]* | ?:[\\/]*) ;;
2441 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2442 esac
2444 for ac_prog in gawk mawk nawk awk
2446 # Extract the first word of "$ac_prog", so it can be a program name with args.
2447 set dummy $ac_prog; ac_word=$2
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449 $as_echo_n "checking for $ac_word... " >&6; }
2450 if test "${ac_cv_prog_AWK+set}" = set; then :
2451 $as_echo_n "(cached) " >&6
2452 else
2453 if test -n "$AWK"; then
2454 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2455 else
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH
2459 IFS=$as_save_IFS
2460 test -z "$as_dir" && as_dir=.
2461 for ac_exec_ext in '' $ac_executable_extensions; do
2462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2463 ac_cv_prog_AWK="$ac_prog"
2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 break 2
2467 done
2468 done
2469 IFS=$as_save_IFS
2473 AWK=$ac_cv_prog_AWK
2474 if test -n "$AWK"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2476 $as_echo "$AWK" >&6; }
2477 else
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479 $as_echo "no" >&6; }
2483 test -n "$AWK" && break
2484 done
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2487 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2488 set x ${MAKE-make}
2489 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2490 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2491 $as_echo_n "(cached) " >&6
2492 else
2493 cat >conftest.make <<\_ACEOF
2494 SHELL = /bin/sh
2495 all:
2496 @echo '@@@%%%=$(MAKE)=@@@%%%'
2497 _ACEOF
2498 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2499 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2500 *@@@%%%=?*=@@@%%%*)
2501 eval ac_cv_prog_make_${ac_make}_set=yes;;
2503 eval ac_cv_prog_make_${ac_make}_set=no;;
2504 esac
2505 rm -f conftest.make
2507 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2509 $as_echo "yes" >&6; }
2510 SET_MAKE=
2511 else
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2514 SET_MAKE="MAKE=${MAKE-make}"
2517 rm -rf .tst 2>/dev/null
2518 mkdir .tst 2>/dev/null
2519 if test -d .tst; then
2520 am__leading_dot=.
2521 else
2522 am__leading_dot=_
2524 rmdir .tst 2>/dev/null
2526 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2527 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2528 # is not polluted with repeated "-I."
2529 am__isrc=' -I$(srcdir)'
2530 # test to see if srcdir already configured
2531 if test -f $srcdir/config.status; then
2532 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2536 # test whether we have cygpath
2537 if test -z "$CYGPATH_W"; then
2538 if (cygpath --version) >/dev/null 2>/dev/null; then
2539 CYGPATH_W='cygpath -w'
2540 else
2541 CYGPATH_W=echo
2546 # Define the identity of the package.
2547 PACKAGE='gotools'
2548 VERSION='version-unused'
2551 # Some tools Automake needs.
2553 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2556 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2559 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2562 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2565 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2567 # We need awk for the "check" target. The system "awk" is bad on
2568 # some platforms.
2569 # Always define AMTAR for backward compatibility. Yes, it's still used
2570 # in the wild :-( We should find a proper way to deprecate it ...
2571 AMTAR='$${TAR-tar}'
2573 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2581 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2582 # Check whether --enable-maintainer-mode was given.
2583 if test "${enable_maintainer_mode+set}" = set; then :
2584 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2585 else
2586 USE_MAINTAINER_MODE=no
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2590 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2591 if test $USE_MAINTAINER_MODE = yes; then
2592 MAINTAINER_MODE_TRUE=
2593 MAINTAINER_MODE_FALSE='#'
2594 else
2595 MAINTAINER_MODE_TRUE='#'
2596 MAINTAINER_MODE_FALSE=
2599 MAINT=$MAINTAINER_MODE_TRUE
2605 ac_ext=c
2606 ac_cpp='$CPP $CPPFLAGS'
2607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2610 if test -n "$ac_tool_prefix"; then
2611 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2612 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if test "${ac_cv_prog_CC+set}" = set; then :
2616 $as_echo_n "(cached) " >&6
2617 else
2618 if test -n "$CC"; then
2619 ac_cv_prog_CC="$CC" # Let the user override the test.
2620 else
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH
2624 IFS=$as_save_IFS
2625 test -z "$as_dir" && as_dir=.
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2628 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630 break 2
2632 done
2633 done
2634 IFS=$as_save_IFS
2638 CC=$ac_cv_prog_CC
2639 if test -n "$CC"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2641 $as_echo "$CC" >&6; }
2642 else
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2649 if test -z "$ac_cv_prog_CC"; then
2650 ac_ct_CC=$CC
2651 # Extract the first word of "gcc", so it can be a program name with args.
2652 set dummy gcc; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2656 $as_echo_n "(cached) " >&6
2657 else
2658 if test -n "$ac_ct_CC"; then
2659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2660 else
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH
2664 IFS=$as_save_IFS
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668 ac_cv_prog_ac_ct_CC="gcc"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 break 2
2672 done
2673 done
2674 IFS=$as_save_IFS
2678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2679 if test -n "$ac_ct_CC"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2681 $as_echo "$ac_ct_CC" >&6; }
2682 else
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2687 if test "x$ac_ct_CC" = x; then
2688 CC=""
2689 else
2690 case $cross_compiling:$ac_tool_warned in
2691 yes:)
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2694 ac_tool_warned=yes ;;
2695 esac
2696 CC=$ac_ct_CC
2698 else
2699 CC="$ac_cv_prog_CC"
2702 if test -z "$CC"; then
2703 if test -n "$ac_tool_prefix"; then
2704 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2705 set dummy ${ac_tool_prefix}cc; ac_word=$2
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if test "${ac_cv_prog_CC+set}" = set; then :
2709 $as_echo_n "(cached) " >&6
2710 else
2711 if test -n "$CC"; then
2712 ac_cv_prog_CC="$CC" # Let the user override the test.
2713 else
2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715 for as_dir in $PATH
2717 IFS=$as_save_IFS
2718 test -z "$as_dir" && as_dir=.
2719 for ac_exec_ext in '' $ac_executable_extensions; do
2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721 ac_cv_prog_CC="${ac_tool_prefix}cc"
2722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 break 2
2725 done
2726 done
2727 IFS=$as_save_IFS
2731 CC=$ac_cv_prog_CC
2732 if test -n "$CC"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2734 $as_echo "$CC" >&6; }
2735 else
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737 $as_echo "no" >&6; }
2743 if test -z "$CC"; then
2744 # Extract the first word of "cc", so it can be a program name with args.
2745 set dummy cc; ac_word=$2
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2747 $as_echo_n "checking for $ac_word... " >&6; }
2748 if test "${ac_cv_prog_CC+set}" = set; then :
2749 $as_echo_n "(cached) " >&6
2750 else
2751 if test -n "$CC"; then
2752 ac_cv_prog_CC="$CC" # Let the user override the test.
2753 else
2754 ac_prog_rejected=no
2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 for as_dir in $PATH
2758 IFS=$as_save_IFS
2759 test -z "$as_dir" && as_dir=.
2760 for ac_exec_ext in '' $ac_executable_extensions; do
2761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2762 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2763 ac_prog_rejected=yes
2764 continue
2766 ac_cv_prog_CC="cc"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 break 2
2770 done
2771 done
2772 IFS=$as_save_IFS
2774 if test $ac_prog_rejected = yes; then
2775 # We found a bogon in the path, so make sure we never use it.
2776 set dummy $ac_cv_prog_CC
2777 shift
2778 if test $# != 0; then
2779 # We chose a different compiler from the bogus one.
2780 # However, it has the same basename, so the bogon will be chosen
2781 # first if we set CC to just the basename; use the full file name.
2782 shift
2783 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2788 CC=$ac_cv_prog_CC
2789 if test -n "$CC"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2791 $as_echo "$CC" >&6; }
2792 else
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2799 if test -z "$CC"; then
2800 if test -n "$ac_tool_prefix"; then
2801 for ac_prog in cl.exe
2803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_CC+set}" = set; then :
2808 $as_echo_n "(cached) " >&6
2809 else
2810 if test -n "$CC"; then
2811 ac_cv_prog_CC="$CC" # Let the user override the test.
2812 else
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 for as_dir in $PATH
2816 IFS=$as_save_IFS
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 break 2
2824 done
2825 done
2826 IFS=$as_save_IFS
2830 CC=$ac_cv_prog_CC
2831 if test -n "$CC"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2833 $as_echo "$CC" >&6; }
2834 else
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2840 test -n "$CC" && break
2841 done
2843 if test -z "$CC"; then
2844 ac_ct_CC=$CC
2845 for ac_prog in cl.exe
2847 # Extract the first word of "$ac_prog", so it can be a program name with args.
2848 set dummy $ac_prog; ac_word=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2852 $as_echo_n "(cached) " >&6
2853 else
2854 if test -n "$ac_ct_CC"; then
2855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2856 else
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 for as_dir in $PATH
2860 IFS=$as_save_IFS
2861 test -z "$as_dir" && as_dir=.
2862 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864 ac_cv_prog_ac_ct_CC="$ac_prog"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 break 2
2868 done
2869 done
2870 IFS=$as_save_IFS
2874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2875 if test -n "$ac_ct_CC"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2877 $as_echo "$ac_ct_CC" >&6; }
2878 else
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2884 test -n "$ac_ct_CC" && break
2885 done
2887 if test "x$ac_ct_CC" = x; then
2888 CC=""
2889 else
2890 case $cross_compiling:$ac_tool_warned in
2891 yes:)
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2894 ac_tool_warned=yes ;;
2895 esac
2896 CC=$ac_ct_CC
2903 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 as_fn_error "no acceptable C compiler found in \$PATH
2906 See \`config.log' for more details." "$LINENO" 5; }
2908 # Provide some information about the compiler.
2909 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2910 set X $ac_compile
2911 ac_compiler=$2
2912 for ac_option in --version -v -V -qversion; do
2913 { { ac_try="$ac_compiler $ac_option >&5"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2921 ac_status=$?
2922 if test -s conftest.err; then
2923 sed '10a\
2924 ... rest of stderr output deleted ...
2925 10q' conftest.err >conftest.er1
2926 cat conftest.er1 >&5
2927 rm -f conftest.er1 conftest.err
2929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2930 test $ac_status = 0; }
2931 done
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2937 main ()
2941 return 0;
2943 _ACEOF
2944 ac_clean_files_save=$ac_clean_files
2945 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2946 # Try to create an executable without -o first, disregard a.out.
2947 # It will help us diagnose broken compilers, and finding out an intuition
2948 # of exeext.
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2950 $as_echo_n "checking for C compiler default output file name... " >&6; }
2951 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2953 # The possible output files:
2954 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2956 ac_rmfiles=
2957 for ac_file in $ac_files
2959 case $ac_file in
2960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2961 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2962 esac
2963 done
2964 rm -f $ac_rmfiles
2966 if { { ac_try="$ac_link_default"
2967 case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2970 esac
2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972 $as_echo "$ac_try_echo"; } >&5
2973 (eval "$ac_link_default") 2>&5
2974 ac_status=$?
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; }; then :
2977 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2978 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2979 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2980 # so that the user can short-circuit this test for compilers unknown to
2981 # Autoconf.
2982 for ac_file in $ac_files ''
2984 test -f "$ac_file" || continue
2985 case $ac_file in
2986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2988 [ab].out )
2989 # We found the default executable, but exeext='' is most
2990 # certainly right.
2991 break;;
2992 *.* )
2993 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2994 then :; else
2995 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2997 # We set ac_cv_exeext here because the later test for it is not
2998 # safe: cross compilers may not add the suffix if given an `-o'
2999 # argument, so we may need to know it at that point already.
3000 # Even if this section looks crufty: it has the advantage of
3001 # actually working.
3002 break;;
3004 break;;
3005 esac
3006 done
3007 test "$ac_cv_exeext" = no && ac_cv_exeext=
3009 else
3010 ac_file=''
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3013 $as_echo "$ac_file" >&6; }
3014 if test -z "$ac_file"; then :
3015 $as_echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3020 { as_fn_set_status 77
3021 as_fn_error "C compiler cannot create executables
3022 See \`config.log' for more details." "$LINENO" 5; }; }
3024 ac_exeext=$ac_cv_exeext
3026 # Check that the compiler produces executables we can run. If not, either
3027 # the compiler is broken, or we cross compile.
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3029 $as_echo_n "checking whether the C compiler works... " >&6; }
3030 # If not cross compiling, check that we can run a simple program.
3031 if test "$cross_compiling" != yes; then
3032 if { ac_try='./$ac_file'
3033 { { case "(($ac_try" in
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3036 esac
3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039 (eval "$ac_try") 2>&5
3040 ac_status=$?
3041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3042 test $ac_status = 0; }; }; then
3043 cross_compiling=no
3044 else
3045 if test "$cross_compiling" = maybe; then
3046 cross_compiling=yes
3047 else
3048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error "cannot run C compiled programs.
3051 If you meant to cross compile, use \`--host'.
3052 See \`config.log' for more details." "$LINENO" 5; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3057 $as_echo "yes" >&6; }
3059 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3060 ac_clean_files=$ac_clean_files_save
3061 # Check that the compiler produces executables we can run. If not, either
3062 # the compiler is broken, or we cross compile.
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3064 $as_echo_n "checking whether we are cross compiling... " >&6; }
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3066 $as_echo "$cross_compiling" >&6; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3069 $as_echo_n "checking for suffix of executables... " >&6; }
3070 if { { ac_try="$ac_link"
3071 case "(($ac_try" in
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3074 esac
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_link") 2>&5
3078 ac_status=$?
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; }; then :
3081 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3082 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3083 # work properly (i.e., refer to `conftest.exe'), while it won't with
3084 # `rm'.
3085 for ac_file in conftest.exe conftest conftest.*; do
3086 test -f "$ac_file" || continue
3087 case $ac_file in
3088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3089 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3090 break;;
3091 * ) break;;
3092 esac
3093 done
3094 else
3095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3097 as_fn_error "cannot compute suffix of executables: cannot compile and link
3098 See \`config.log' for more details." "$LINENO" 5; }
3100 rm -f conftest$ac_cv_exeext
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3102 $as_echo "$ac_cv_exeext" >&6; }
3104 rm -f conftest.$ac_ext
3105 EXEEXT=$ac_cv_exeext
3106 ac_exeext=$EXEEXT
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3108 $as_echo_n "checking for suffix of object files... " >&6; }
3109 if test "${ac_cv_objext+set}" = set; then :
3110 $as_echo_n "(cached) " >&6
3111 else
3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3116 main ()
3120 return 0;
3122 _ACEOF
3123 rm -f conftest.o conftest.obj
3124 if { { ac_try="$ac_compile"
3125 case "(($ac_try" in
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3128 esac
3129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130 $as_echo "$ac_try_echo"; } >&5
3131 (eval "$ac_compile") 2>&5
3132 ac_status=$?
3133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134 test $ac_status = 0; }; then :
3135 for ac_file in conftest.o conftest.obj conftest.*; do
3136 test -f "$ac_file" || continue;
3137 case $ac_file in
3138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3139 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3140 break;;
3141 esac
3142 done
3143 else
3144 $as_echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3149 as_fn_error "cannot compute suffix of object files: cannot compile
3150 See \`config.log' for more details." "$LINENO" 5; }
3152 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3155 $as_echo "$ac_cv_objext" >&6; }
3156 OBJEXT=$ac_cv_objext
3157 ac_objext=$OBJEXT
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3159 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3160 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3162 else
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3167 main ()
3169 #ifndef __GNUC__
3170 choke me
3171 #endif
3174 return 0;
3176 _ACEOF
3177 if ac_fn_c_try_compile "$LINENO"; then :
3178 ac_compiler_gnu=yes
3179 else
3180 ac_compiler_gnu=no
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3187 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3188 if test $ac_compiler_gnu = yes; then
3189 GCC=yes
3190 else
3191 GCC=
3193 ac_test_CFLAGS=${CFLAGS+set}
3194 ac_save_CFLAGS=$CFLAGS
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3196 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3197 if test "${ac_cv_prog_cc_g+set}" = set; then :
3198 $as_echo_n "(cached) " >&6
3199 else
3200 ac_save_c_werror_flag=$ac_c_werror_flag
3201 ac_c_werror_flag=yes
3202 ac_cv_prog_cc_g=no
3203 CFLAGS="-g"
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3208 main ()
3212 return 0;
3214 _ACEOF
3215 if ac_fn_c_try_compile "$LINENO"; then :
3216 ac_cv_prog_cc_g=yes
3217 else
3218 CFLAGS=""
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3223 main ()
3227 return 0;
3229 _ACEOF
3230 if ac_fn_c_try_compile "$LINENO"; then :
3232 else
3233 ac_c_werror_flag=$ac_save_c_werror_flag
3234 CFLAGS="-g"
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3239 main ()
3243 return 0;
3245 _ACEOF
3246 if ac_fn_c_try_compile "$LINENO"; then :
3247 ac_cv_prog_cc_g=yes
3249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3254 ac_c_werror_flag=$ac_save_c_werror_flag
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3257 $as_echo "$ac_cv_prog_cc_g" >&6; }
3258 if test "$ac_test_CFLAGS" = set; then
3259 CFLAGS=$ac_save_CFLAGS
3260 elif test $ac_cv_prog_cc_g = yes; then
3261 if test "$GCC" = yes; then
3262 CFLAGS="-g -O2"
3263 else
3264 CFLAGS="-g"
3266 else
3267 if test "$GCC" = yes; then
3268 CFLAGS="-O2"
3269 else
3270 CFLAGS=
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3274 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3275 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3276 $as_echo_n "(cached) " >&6
3277 else
3278 ac_cv_prog_cc_c89=no
3279 ac_save_CC=$CC
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3282 #include <stdarg.h>
3283 #include <stdio.h>
3284 #include <sys/types.h>
3285 #include <sys/stat.h>
3286 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3287 struct buf { int x; };
3288 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3289 static char *e (p, i)
3290 char **p;
3291 int i;
3293 return p[i];
3295 static char *f (char * (*g) (char **, int), char **p, ...)
3297 char *s;
3298 va_list v;
3299 va_start (v,p);
3300 s = g (p, va_arg (v,int));
3301 va_end (v);
3302 return s;
3305 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3306 function prototypes and stuff, but not '\xHH' hex character constants.
3307 These don't provoke an error unfortunately, instead are silently treated
3308 as 'x'. The following induces an error, until -std is added to get
3309 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3310 array size at least. It's necessary to write '\x00'==0 to get something
3311 that's true only with -std. */
3312 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3314 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3315 inside strings and character constants. */
3316 #define FOO(x) 'x'
3317 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3319 int test (int i, double x);
3320 struct s1 {int (*f) (int a);};
3321 struct s2 {int (*f) (double a);};
3322 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3323 int argc;
3324 char **argv;
3326 main ()
3328 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3330 return 0;
3332 _ACEOF
3333 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3334 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3336 CC="$ac_save_CC $ac_arg"
3337 if ac_fn_c_try_compile "$LINENO"; then :
3338 ac_cv_prog_cc_c89=$ac_arg
3340 rm -f core conftest.err conftest.$ac_objext
3341 test "x$ac_cv_prog_cc_c89" != "xno" && break
3342 done
3343 rm -f conftest.$ac_ext
3344 CC=$ac_save_CC
3347 # AC_CACHE_VAL
3348 case "x$ac_cv_prog_cc_c89" in
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3351 $as_echo "none needed" >&6; } ;;
3352 xno)
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3354 $as_echo "unsupported" >&6; } ;;
3356 CC="$CC $ac_cv_prog_cc_c89"
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3358 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3359 esac
3360 if test "x$ac_cv_prog_cc_c89" != xno; then :
3364 ac_ext=c
3365 ac_cpp='$CPP $CPPFLAGS'
3366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3369 DEPDIR="${am__leading_dot}deps"
3371 ac_config_commands="$ac_config_commands depfiles"
3374 am_make=${MAKE-make}
3375 cat > confinc << 'END'
3376 am__doit:
3377 @echo this is the am__doit target
3378 .PHONY: am__doit
3380 # If we don't find an include directive, just comment out the code.
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3382 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3383 am__include="#"
3384 am__quote=
3385 _am_result=none
3386 # First try GNU make style include.
3387 echo "include confinc" > confmf
3388 # Ignore all kinds of additional output from `make'.
3389 case `$am_make -s -f confmf 2> /dev/null` in #(
3390 *the\ am__doit\ target*)
3391 am__include=include
3392 am__quote=
3393 _am_result=GNU
3395 esac
3396 # Now try BSD make style include.
3397 if test "$am__include" = "#"; then
3398 echo '.include "confinc"' > confmf
3399 case `$am_make -s -f confmf 2> /dev/null` in #(
3400 *the\ am__doit\ target*)
3401 am__include=.include
3402 am__quote="\""
3403 _am_result=BSD
3405 esac
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3410 $as_echo "$_am_result" >&6; }
3411 rm -f confinc confmf
3413 # Check whether --enable-dependency-tracking was given.
3414 if test "${enable_dependency_tracking+set}" = set; then :
3415 enableval=$enable_dependency_tracking;
3418 if test "x$enable_dependency_tracking" != xno; then
3419 am_depcomp="$ac_aux_dir/depcomp"
3420 AMDEPBACKSLASH='\'
3421 am__nodep='_no'
3423 if test "x$enable_dependency_tracking" != xno; then
3424 AMDEP_TRUE=
3425 AMDEP_FALSE='#'
3426 else
3427 AMDEP_TRUE='#'
3428 AMDEP_FALSE=
3433 depcc="$CC" am_compiler_list=
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3436 $as_echo_n "checking dependency style of $depcc... " >&6; }
3437 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3438 $as_echo_n "(cached) " >&6
3439 else
3440 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3441 # We make a subdir and do the tests there. Otherwise we can end up
3442 # making bogus files that we don't know about and never remove. For
3443 # instance it was reported that on HP-UX the gcc test will end up
3444 # making a dummy file named `D' -- because `-MD' means `put the output
3445 # in D'.
3446 rm -rf conftest.dir
3447 mkdir conftest.dir
3448 # Copy depcomp to subdir because otherwise we won't find it if we're
3449 # using a relative directory.
3450 cp "$am_depcomp" conftest.dir
3451 cd conftest.dir
3452 # We will build objects and dependencies in a subdirectory because
3453 # it helps to detect inapplicable dependency modes. For instance
3454 # both Tru64's cc and ICC support -MD to output dependencies as a
3455 # side effect of compilation, but ICC will put the dependencies in
3456 # the current directory while Tru64 will put them in the object
3457 # directory.
3458 mkdir sub
3460 am_cv_CC_dependencies_compiler_type=none
3461 if test "$am_compiler_list" = ""; then
3462 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3464 am__universal=false
3465 case " $depcc " in #(
3466 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3467 esac
3469 for depmode in $am_compiler_list; do
3470 # Setup a source with many dependencies, because some compilers
3471 # like to wrap large dependency lists on column 80 (with \), and
3472 # we should not choose a depcomp mode which is confused by this.
3474 # We need to recreate these files for each test, as the compiler may
3475 # overwrite some of them when testing with obscure command lines.
3476 # This happens at least with the AIX C compiler.
3477 : > sub/conftest.c
3478 for i in 1 2 3 4 5 6; do
3479 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3480 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3481 # Solaris 8's {/usr,}/bin/sh.
3482 touch sub/conftst$i.h
3483 done
3484 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3486 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3487 # mode. It turns out that the SunPro C++ compiler does not properly
3488 # handle `-M -o', and we need to detect this. Also, some Intel
3489 # versions had trouble with output in subdirs
3490 am__obj=sub/conftest.${OBJEXT-o}
3491 am__minus_obj="-o $am__obj"
3492 case $depmode in
3493 gcc)
3494 # This depmode causes a compiler race in universal mode.
3495 test "$am__universal" = false || continue
3497 nosideeffect)
3498 # after this tag, mechanisms are not by side-effect, so they'll
3499 # only be used when explicitly requested
3500 if test "x$enable_dependency_tracking" = xyes; then
3501 continue
3502 else
3503 break
3506 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3507 # This compiler won't grok `-c -o', but also, the minuso test has
3508 # not run yet. These depmodes are late enough in the game, and
3509 # so weak that their functioning should not be impacted.
3510 am__obj=conftest.${OBJEXT-o}
3511 am__minus_obj=
3513 none) break ;;
3514 esac
3515 if depmode=$depmode \
3516 source=sub/conftest.c object=$am__obj \
3517 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3518 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3519 >/dev/null 2>conftest.err &&
3520 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3521 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3522 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3523 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3524 # icc doesn't choke on unknown options, it will just issue warnings
3525 # or remarks (even with -Werror). So we grep stderr for any message
3526 # that says an option was ignored or not supported.
3527 # When given -MP, icc 7.0 and 7.1 complain thusly:
3528 # icc: Command line warning: ignoring option '-M'; no argument required
3529 # The diagnosis changed in icc 8.0:
3530 # icc: Command line remark: option '-MP' not supported
3531 if (grep 'ignoring option' conftest.err ||
3532 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3533 am_cv_CC_dependencies_compiler_type=$depmode
3534 break
3537 done
3539 cd ..
3540 rm -rf conftest.dir
3541 else
3542 am_cv_CC_dependencies_compiler_type=none
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3547 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3548 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3551 test "x$enable_dependency_tracking" != xno \
3552 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3553 am__fastdepCC_TRUE=
3554 am__fastdepCC_FALSE='#'
3555 else
3556 am__fastdepCC_TRUE='#'
3557 am__fastdepCC_FALSE=
3561 ac_ext=go
3562 ac_compile='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3563 ac_link='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3564 ac_compile_gnu=yes
3565 if test -n "$ac_tool_prefix"; then
3566 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3567 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 $as_echo_n "checking for $ac_word... " >&6; }
3570 if test "${ac_cv_prog_GOC+set}" = set; then :
3571 $as_echo_n "(cached) " >&6
3572 else
3573 if test -n "$GOC"; then
3574 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3575 else
3576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 for as_dir in $PATH
3579 IFS=$as_save_IFS
3580 test -z "$as_dir" && as_dir=.
3581 for ac_exec_ext in '' $ac_executable_extensions; do
3582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
3584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3585 break 2
3587 done
3588 done
3589 IFS=$as_save_IFS
3593 GOC=$ac_cv_prog_GOC
3594 if test -n "$GOC"; then
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3596 $as_echo "$GOC" >&6; }
3597 else
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3599 $as_echo "no" >&6; }
3604 if test -z "$ac_cv_prog_GOC"; then
3605 ac_ct_GOC=$GOC
3606 # Extract the first word of "gccgo", so it can be a program name with args.
3607 set dummy gccgo; ac_word=$2
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3611 $as_echo_n "(cached) " >&6
3612 else
3613 if test -n "$ac_ct_GOC"; then
3614 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
3615 else
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 for as_dir in $PATH
3619 IFS=$as_save_IFS
3620 test -z "$as_dir" && as_dir=.
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3623 ac_cv_prog_ac_ct_GOC="gccgo"
3624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 break 2
3627 done
3628 done
3629 IFS=$as_save_IFS
3633 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
3634 if test -n "$ac_ct_GOC"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3636 $as_echo "$ac_ct_GOC" >&6; }
3637 else
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3642 if test "x$ac_ct_GOC" = x; then
3643 GOC=""
3644 else
3645 case $cross_compiling:$ac_tool_warned in
3646 yes:)
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3649 ac_tool_warned=yes ;;
3650 esac
3651 GOC=$ac_ct_GOC
3653 else
3654 GOC="$ac_cv_prog_GOC"
3657 if test -z "$GOC"; then
3658 if test -n "$ac_tool_prefix"; then
3659 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3660 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if test "${ac_cv_prog_GOC+set}" = set; then :
3664 $as_echo_n "(cached) " >&6
3665 else
3666 if test -n "$GOC"; then
3667 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3668 else
3669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670 for as_dir in $PATH
3672 IFS=$as_save_IFS
3673 test -z "$as_dir" && as_dir=.
3674 for ac_exec_ext in '' $ac_executable_extensions; do
3675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3676 ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
3677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3678 break 2
3680 done
3681 done
3682 IFS=$as_save_IFS
3686 GOC=$ac_cv_prog_GOC
3687 if test -n "$GOC"; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3689 $as_echo "$GOC" >&6; }
3690 else
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 $as_echo "no" >&6; }
3698 if test -z "$GOC"; then
3699 # Extract the first word of "gccgo", so it can be a program name with args.
3700 set dummy gccgo; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if test "${ac_cv_prog_GOC+set}" = set; then :
3704 $as_echo_n "(cached) " >&6
3705 else
3706 if test -n "$GOC"; then
3707 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3708 else
3709 ac_prog_rejected=no
3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 for as_dir in $PATH
3713 IFS=$as_save_IFS
3714 test -z "$as_dir" && as_dir=.
3715 for ac_exec_ext in '' $ac_executable_extensions; do
3716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3717 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
3718 ac_prog_rejected=yes
3719 continue
3721 ac_cv_prog_GOC="gccgo"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 break 2
3725 done
3726 done
3727 IFS=$as_save_IFS
3729 if test $ac_prog_rejected = yes; then
3730 # We found a bogon in the path, so make sure we never use it.
3731 set dummy $ac_cv_prog_GOC
3732 shift
3733 if test $# != 0; then
3734 # We chose a different compiler from the bogus one.
3735 # However, it has the same basename, so the bogon will be chosen
3736 # first if we set GOC to just the basename; use the full file name.
3737 shift
3738 ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
3743 GOC=$ac_cv_prog_GOC
3744 if test -n "$GOC"; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3746 $as_echo "$GOC" >&6; }
3747 else
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 $as_echo "no" >&6; }
3756 # Provide some information about the compiler.
3757 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
3758 set X $ac_compile
3759 ac_compiler=$2
3760 { { ac_try="$ac_compiler --version >&5"
3761 case "(($ac_try" in
3762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763 *) ac_try_echo=$ac_try;;
3764 esac
3765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3766 $as_echo "$ac_try_echo"; } >&5
3767 (eval "$ac_compiler --version >&5") 2>conftest.err
3768 ac_status=$?
3769 if test -s conftest.err; then
3770 sed '10a\
3771 ... rest of stderr output deleted ...
3772 10q' conftest.err >conftest.er1
3773 cat conftest.er1 >&5
3774 rm -f conftest.er1 conftest.err
3776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3777 test $ac_status = 0; }
3778 GOCFLAGS="-g -O2"
3779 ac_ext=c
3780 ac_cpp='$CPP $CPPFLAGS'
3781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3786 if test "$cross_compiling" = no; then
3787 NATIVE_TRUE=
3788 NATIVE_FALSE='#'
3789 else
3790 NATIVE_TRUE='#'
3791 NATIVE_FALSE=
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
3797 $as_echo_n "checking for socket libraries... " >&6; }
3798 if test "${gotools_cv_lib_sockets+set}" = set; then :
3799 $as_echo_n "(cached) " >&6
3800 else
3801 gotools_cv_lib_sockets=
3802 gotools_check_both=no
3803 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
3804 if test "x$ac_cv_func_connect" = x""yes; then :
3805 gotools_check_socket=no
3806 else
3807 gotools_check_socket=yes
3810 if test "$gotools_check_socket" = "yes"; then
3811 unset ac_cv_func_connect
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
3813 $as_echo_n "checking for main in -lsocket... " >&6; }
3814 if test "${ac_cv_lib_socket_main+set}" = set; then :
3815 $as_echo_n "(cached) " >&6
3816 else
3817 ac_check_lib_save_LIBS=$LIBS
3818 LIBS="-lsocket $LIBS"
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3824 main ()
3826 return main ();
3828 return 0;
3830 _ACEOF
3831 if ac_fn_c_try_link "$LINENO"; then :
3832 ac_cv_lib_socket_main=yes
3833 else
3834 ac_cv_lib_socket_main=no
3836 rm -f core conftest.err conftest.$ac_objext \
3837 conftest$ac_exeext conftest.$ac_ext
3838 LIBS=$ac_check_lib_save_LIBS
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
3841 $as_echo "$ac_cv_lib_socket_main" >&6; }
3842 if test "x$ac_cv_lib_socket_main" = x""yes; then :
3843 gotools_cv_lib_sockets="-lsocket"
3844 else
3845 gotools_check_both=yes
3849 if test "$gotools_check_both" = "yes"; then
3850 gotools_old_libs=$LIBS
3851 LIBS="$LIBS -lsocket -lnsl"
3852 unset ac_cv_func_accept
3853 ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept"
3854 if test "x$ac_cv_func_accept" = x""yes; then :
3855 gotools_check_nsl=no
3856 gotools_cv_lib_sockets="-lsocket -lnsl"
3859 unset ac_cv_func_accept
3860 LIBS=$gotools_old_libs
3862 unset ac_cv_func_gethostbyname
3863 gotools_old_libs="$LIBS"
3864 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
3865 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
3869 $as_echo_n "checking for main in -lnsl... " >&6; }
3870 if test "${ac_cv_lib_nsl_main+set}" = set; then :
3871 $as_echo_n "(cached) " >&6
3872 else
3873 ac_check_lib_save_LIBS=$LIBS
3874 LIBS="-lnsl $LIBS"
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3880 main ()
3882 return main ();
3884 return 0;
3886 _ACEOF
3887 if ac_fn_c_try_link "$LINENO"; then :
3888 ac_cv_lib_nsl_main=yes
3889 else
3890 ac_cv_lib_nsl_main=no
3892 rm -f core conftest.err conftest.$ac_objext \
3893 conftest$ac_exeext conftest.$ac_ext
3894 LIBS=$ac_check_lib_save_LIBS
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
3897 $as_echo "$ac_cv_lib_nsl_main" >&6; }
3898 if test "x$ac_cv_lib_nsl_main" = x""yes; then :
3899 gotools_cv_lib_sockets="$gotools_cv_lib_sockets -lnsl"
3904 unset ac_cv_func_gethostbyname
3905 LIBS=$gotools_old_libs
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gotools_cv_lib_sockets" >&5
3909 $as_echo "$gotools_cv_lib_sockets" >&6; }
3910 NET_LIBS="$gotools_cv_lib_sockets"
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
3914 $as_echo_n "checking for library containing sched_yield... " >&6; }
3915 if test "${ac_cv_search_sched_yield+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3917 else
3918 ac_func_search_save_LIBS=$LIBS
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3922 /* Override any GCC internal prototype to avoid an error.
3923 Use char because int might match the return type of a GCC
3924 builtin and then its argument prototype would still apply. */
3925 #ifdef __cplusplus
3926 extern "C"
3927 #endif
3928 char sched_yield ();
3930 main ()
3932 return sched_yield ();
3934 return 0;
3936 _ACEOF
3937 for ac_lib in '' rt; do
3938 if test -z "$ac_lib"; then
3939 ac_res="none required"
3940 else
3941 ac_res=-l$ac_lib
3942 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3944 if ac_fn_c_try_link "$LINENO"; then :
3945 ac_cv_search_sched_yield=$ac_res
3947 rm -f core conftest.err conftest.$ac_objext \
3948 conftest$ac_exeext
3949 if test "${ac_cv_search_sched_yield+set}" = set; then :
3950 break
3952 done
3953 if test "${ac_cv_search_sched_yield+set}" = set; then :
3955 else
3956 ac_cv_search_sched_yield=no
3958 rm conftest.$ac_ext
3959 LIBS=$ac_func_search_save_LIBS
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
3962 $as_echo "$ac_cv_search_sched_yield" >&6; }
3963 ac_res=$ac_cv_search_sched_yield
3964 if test "$ac_res" != no; then :
3965 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
3970 $as_echo_n "checking for library containing nanosleep... " >&6; }
3971 if test "${ac_cv_search_nanosleep+set}" = set; then :
3972 $as_echo_n "(cached) " >&6
3973 else
3974 ac_func_search_save_LIBS=$LIBS
3975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3978 /* Override any GCC internal prototype to avoid an error.
3979 Use char because int might match the return type of a GCC
3980 builtin and then its argument prototype would still apply. */
3981 #ifdef __cplusplus
3982 extern "C"
3983 #endif
3984 char nanosleep ();
3986 main ()
3988 return nanosleep ();
3990 return 0;
3992 _ACEOF
3993 for ac_lib in '' rt; do
3994 if test -z "$ac_lib"; then
3995 ac_res="none required"
3996 else
3997 ac_res=-l$ac_lib
3998 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4000 if ac_fn_c_try_link "$LINENO"; then :
4001 ac_cv_search_nanosleep=$ac_res
4003 rm -f core conftest.err conftest.$ac_objext \
4004 conftest$ac_exeext
4005 if test "${ac_cv_search_nanosleep+set}" = set; then :
4006 break
4008 done
4009 if test "${ac_cv_search_nanosleep+set}" = set; then :
4011 else
4012 ac_cv_search_nanosleep=no
4014 rm conftest.$ac_ext
4015 LIBS=$ac_func_search_save_LIBS
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
4018 $as_echo "$ac_cv_search_nanosleep" >&6; }
4019 ac_res=$ac_cv_search_nanosleep
4020 if test "$ac_res" != no; then :
4021 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4026 ac_config_files="$ac_config_files Makefile"
4029 cat >confcache <<\_ACEOF
4030 # This file is a shell script that caches the results of configure
4031 # tests run on this system so they can be shared between configure
4032 # scripts and configure runs, see configure's option --config-cache.
4033 # It is not useful on other systems. If it contains results you don't
4034 # want to keep, you may remove or edit it.
4036 # config.status only pays attention to the cache file if you give it
4037 # the --recheck option to rerun configure.
4039 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4040 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4041 # following values.
4043 _ACEOF
4045 # The following way of writing the cache mishandles newlines in values,
4046 # but we know of no workaround that is simple, portable, and efficient.
4047 # So, we kill variables containing newlines.
4048 # Ultrix sh set writes to stderr and can't be redirected directly,
4049 # and sets the high bit in the cache file unless we assign to the vars.
4051 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4052 eval ac_val=\$$ac_var
4053 case $ac_val in #(
4054 *${as_nl}*)
4055 case $ac_var in #(
4056 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4058 esac
4059 case $ac_var in #(
4060 _ | IFS | as_nl) ;; #(
4061 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4062 *) { eval $ac_var=; unset $ac_var;} ;;
4063 esac ;;
4064 esac
4065 done
4067 (set) 2>&1 |
4068 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4069 *${as_nl}ac_space=\ *)
4070 # `set' does not quote correctly, so add quotes: double-quote
4071 # substitution turns \\\\ into \\, and sed turns \\ into \.
4072 sed -n \
4073 "s/'/'\\\\''/g;
4074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4075 ;; #(
4077 # `set' quotes correctly as required by POSIX, so do not add quotes.
4078 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4080 esac |
4081 sort
4083 sed '
4084 /^ac_cv_env_/b end
4085 t clear
4086 :clear
4087 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4088 t end
4089 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4090 :end' >>confcache
4091 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4092 if test -w "$cache_file"; then
4093 test "x$cache_file" != "x/dev/null" &&
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4095 $as_echo "$as_me: updating cache $cache_file" >&6;}
4096 cat confcache >$cache_file
4097 else
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4099 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4102 rm -f confcache
4104 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4105 # Let make expand exec_prefix.
4106 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4108 # Transform confdefs.h into DEFS.
4109 # Protect against shell expansion while executing Makefile rules.
4110 # Protect against Makefile macro expansion.
4112 # If the first sed substitution is executed (which looks for macros that
4113 # take arguments), then branch to the quote section. Otherwise,
4114 # look for a macro that doesn't take arguments.
4115 ac_script='
4116 :mline
4117 /\\$/{
4119 s,\\\n,,
4120 b mline
4122 t clear
4123 :clear
4124 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4125 t quote
4126 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4127 t quote
4128 b any
4129 :quote
4130 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4131 s/\[/\\&/g
4132 s/\]/\\&/g
4133 s/\$/$$/g
4135 :any
4138 s/^\n//
4139 s/\n/ /g
4143 DEFS=`sed -n "$ac_script" confdefs.h`
4146 ac_libobjs=
4147 ac_ltlibobjs=
4148 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4149 # 1. Remove the extension, and $U if already installed.
4150 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4151 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4152 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4153 # will be set to the directory where LIBOBJS objects are built.
4154 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4155 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4156 done
4157 LIBOBJS=$ac_libobjs
4159 LTLIBOBJS=$ac_ltlibobjs
4162 if test -n "$EXEEXT"; then
4163 am__EXEEXT_TRUE=
4164 am__EXEEXT_FALSE='#'
4165 else
4166 am__EXEEXT_TRUE='#'
4167 am__EXEEXT_FALSE=
4170 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4171 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
4172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4174 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4175 as_fn_error "conditional \"AMDEP\" was never defined.
4176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4178 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4179 as_fn_error "conditional \"am__fastdepCC\" was never defined.
4180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4182 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
4183 as_fn_error "conditional \"NATIVE\" was never defined.
4184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4187 : ${CONFIG_STATUS=./config.status}
4188 ac_write_fail=0
4189 ac_clean_files_save=$ac_clean_files
4190 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4192 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4193 as_write_fail=0
4194 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4195 #! $SHELL
4196 # Generated by $as_me.
4197 # Run this file to recreate the current configuration.
4198 # Compiler output produced by configure, useful for debugging
4199 # configure, is in config.log if it exists.
4201 debug=false
4202 ac_cs_recheck=false
4203 ac_cs_silent=false
4205 SHELL=\${CONFIG_SHELL-$SHELL}
4206 export SHELL
4207 _ASEOF
4208 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4209 ## -------------------- ##
4210 ## M4sh Initialization. ##
4211 ## -------------------- ##
4213 # Be more Bourne compatible
4214 DUALCASE=1; export DUALCASE # for MKS sh
4215 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4216 emulate sh
4217 NULLCMD=:
4218 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4219 # is contrary to our usage. Disable this feature.
4220 alias -g '${1+"$@"}'='"$@"'
4221 setopt NO_GLOB_SUBST
4222 else
4223 case `(set -o) 2>/dev/null` in #(
4224 *posix*) :
4225 set -o posix ;; #(
4226 *) :
4228 esac
4232 as_nl='
4234 export as_nl
4235 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4236 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4237 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4238 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4239 # Prefer a ksh shell builtin over an external printf program on Solaris,
4240 # but without wasting forks for bash or zsh.
4241 if test -z "$BASH_VERSION$ZSH_VERSION" \
4242 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4243 as_echo='print -r --'
4244 as_echo_n='print -rn --'
4245 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4246 as_echo='printf %s\n'
4247 as_echo_n='printf %s'
4248 else
4249 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4250 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4251 as_echo_n='/usr/ucb/echo -n'
4252 else
4253 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4254 as_echo_n_body='eval
4255 arg=$1;
4256 case $arg in #(
4257 *"$as_nl"*)
4258 expr "X$arg" : "X\\(.*\\)$as_nl";
4259 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4260 esac;
4261 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4263 export as_echo_n_body
4264 as_echo_n='sh -c $as_echo_n_body as_echo'
4266 export as_echo_body
4267 as_echo='sh -c $as_echo_body as_echo'
4270 # The user is always right.
4271 if test "${PATH_SEPARATOR+set}" != set; then
4272 PATH_SEPARATOR=:
4273 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4274 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4275 PATH_SEPARATOR=';'
4280 # IFS
4281 # We need space, tab and new line, in precisely that order. Quoting is
4282 # there to prevent editors from complaining about space-tab.
4283 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4284 # splitting by setting IFS to empty value.)
4285 IFS=" "" $as_nl"
4287 # Find who we are. Look in the path if we contain no directory separator.
4288 case $0 in #((
4289 *[\\/]* ) as_myself=$0 ;;
4290 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 for as_dir in $PATH
4293 IFS=$as_save_IFS
4294 test -z "$as_dir" && as_dir=.
4295 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4296 done
4297 IFS=$as_save_IFS
4300 esac
4301 # We did not find ourselves, most probably we were run as `sh COMMAND'
4302 # in which case we are not to be found in the path.
4303 if test "x$as_myself" = x; then
4304 as_myself=$0
4306 if test ! -f "$as_myself"; then
4307 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4308 exit 1
4311 # Unset variables that we do not need and which cause bugs (e.g. in
4312 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4313 # suppresses any "Segmentation fault" message there. '((' could
4314 # trigger a bug in pdksh 5.2.14.
4315 for as_var in BASH_ENV ENV MAIL MAILPATH
4316 do eval test x\${$as_var+set} = xset \
4317 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4318 done
4319 PS1='$ '
4320 PS2='> '
4321 PS4='+ '
4323 # NLS nuisances.
4324 LC_ALL=C
4325 export LC_ALL
4326 LANGUAGE=C
4327 export LANGUAGE
4329 # CDPATH.
4330 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4333 # as_fn_error ERROR [LINENO LOG_FD]
4334 # ---------------------------------
4335 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4336 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4337 # script with status $?, using 1 if that was 0.
4338 as_fn_error ()
4340 as_status=$?; test $as_status -eq 0 && as_status=1
4341 if test "$3"; then
4342 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4343 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4345 $as_echo "$as_me: error: $1" >&2
4346 as_fn_exit $as_status
4347 } # as_fn_error
4350 # as_fn_set_status STATUS
4351 # -----------------------
4352 # Set $? to STATUS, without forking.
4353 as_fn_set_status ()
4355 return $1
4356 } # as_fn_set_status
4358 # as_fn_exit STATUS
4359 # -----------------
4360 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4361 as_fn_exit ()
4363 set +e
4364 as_fn_set_status $1
4365 exit $1
4366 } # as_fn_exit
4368 # as_fn_unset VAR
4369 # ---------------
4370 # Portably unset VAR.
4371 as_fn_unset ()
4373 { eval $1=; unset $1;}
4375 as_unset=as_fn_unset
4376 # as_fn_append VAR VALUE
4377 # ----------------------
4378 # Append the text in VALUE to the end of the definition contained in VAR. Take
4379 # advantage of any shell optimizations that allow amortized linear growth over
4380 # repeated appends, instead of the typical quadratic growth present in naive
4381 # implementations.
4382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4383 eval 'as_fn_append ()
4385 eval $1+=\$2
4387 else
4388 as_fn_append ()
4390 eval $1=\$$1\$2
4392 fi # as_fn_append
4394 # as_fn_arith ARG...
4395 # ------------------
4396 # Perform arithmetic evaluation on the ARGs, and store the result in the
4397 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4398 # must be portable across $(()) and expr.
4399 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4400 eval 'as_fn_arith ()
4402 as_val=$(( $* ))
4404 else
4405 as_fn_arith ()
4407 as_val=`expr "$@" || test $? -eq 1`
4409 fi # as_fn_arith
4412 if expr a : '\(a\)' >/dev/null 2>&1 &&
4413 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4414 as_expr=expr
4415 else
4416 as_expr=false
4419 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4420 as_basename=basename
4421 else
4422 as_basename=false
4425 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4426 as_dirname=dirname
4427 else
4428 as_dirname=false
4431 as_me=`$as_basename -- "$0" ||
4432 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4433 X"$0" : 'X\(//\)$' \| \
4434 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4435 $as_echo X/"$0" |
4436 sed '/^.*\/\([^/][^/]*\)\/*$/{
4437 s//\1/
4440 /^X\/\(\/\/\)$/{
4441 s//\1/
4444 /^X\/\(\/\).*/{
4445 s//\1/
4448 s/.*/./; q'`
4450 # Avoid depending upon Character Ranges.
4451 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4452 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4453 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4454 as_cr_digits='0123456789'
4455 as_cr_alnum=$as_cr_Letters$as_cr_digits
4457 ECHO_C= ECHO_N= ECHO_T=
4458 case `echo -n x` in #(((((
4459 -n*)
4460 case `echo 'xy\c'` in
4461 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4462 xy) ECHO_C='\c';;
4463 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4464 ECHO_T=' ';;
4465 esac;;
4467 ECHO_N='-n';;
4468 esac
4470 rm -f conf$$ conf$$.exe conf$$.file
4471 if test -d conf$$.dir; then
4472 rm -f conf$$.dir/conf$$.file
4473 else
4474 rm -f conf$$.dir
4475 mkdir conf$$.dir 2>/dev/null
4477 if (echo >conf$$.file) 2>/dev/null; then
4478 if ln -s conf$$.file conf$$ 2>/dev/null; then
4479 as_ln_s='ln -s'
4480 # ... but there are two gotchas:
4481 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4482 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4483 # In both cases, we have to default to `cp -p'.
4484 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4485 as_ln_s='cp -p'
4486 elif ln conf$$.file conf$$ 2>/dev/null; then
4487 as_ln_s=ln
4488 else
4489 as_ln_s='cp -p'
4491 else
4492 as_ln_s='cp -p'
4494 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4495 rmdir conf$$.dir 2>/dev/null
4498 # as_fn_mkdir_p
4499 # -------------
4500 # Create "$as_dir" as a directory, including parents if necessary.
4501 as_fn_mkdir_p ()
4504 case $as_dir in #(
4505 -*) as_dir=./$as_dir;;
4506 esac
4507 test -d "$as_dir" || eval $as_mkdir_p || {
4508 as_dirs=
4509 while :; do
4510 case $as_dir in #(
4511 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4512 *) as_qdir=$as_dir;;
4513 esac
4514 as_dirs="'$as_qdir' $as_dirs"
4515 as_dir=`$as_dirname -- "$as_dir" ||
4516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4517 X"$as_dir" : 'X\(//\)[^/]' \| \
4518 X"$as_dir" : 'X\(//\)$' \| \
4519 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4520 $as_echo X"$as_dir" |
4521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4522 s//\1/
4525 /^X\(\/\/\)[^/].*/{
4526 s//\1/
4529 /^X\(\/\/\)$/{
4530 s//\1/
4533 /^X\(\/\).*/{
4534 s//\1/
4537 s/.*/./; q'`
4538 test -d "$as_dir" && break
4539 done
4540 test -z "$as_dirs" || eval "mkdir $as_dirs"
4541 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4544 } # as_fn_mkdir_p
4545 if mkdir -p . 2>/dev/null; then
4546 as_mkdir_p='mkdir -p "$as_dir"'
4547 else
4548 test -d ./-p && rmdir ./-p
4549 as_mkdir_p=false
4552 if test -x / >/dev/null 2>&1; then
4553 as_test_x='test -x'
4554 else
4555 if ls -dL / >/dev/null 2>&1; then
4556 as_ls_L_option=L
4557 else
4558 as_ls_L_option=
4560 as_test_x='
4561 eval sh -c '\''
4562 if test -d "$1"; then
4563 test -d "$1/.";
4564 else
4565 case $1 in #(
4566 -*)set "./$1";;
4567 esac;
4568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4569 ???[sx]*):;;*)false;;esac;fi
4570 '\'' sh
4573 as_executable_p=$as_test_x
4575 # Sed expression to map a string onto a valid CPP name.
4576 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4578 # Sed expression to map a string onto a valid variable name.
4579 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4582 exec 6>&1
4583 ## ----------------------------------- ##
4584 ## Main body of $CONFIG_STATUS script. ##
4585 ## ----------------------------------- ##
4586 _ASEOF
4587 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4590 # Save the log message, to keep $0 and so on meaningful, and to
4591 # report actual input values of CONFIG_FILES etc. instead of their
4592 # values after options handling.
4593 ac_log="
4594 This file was extended by package-unused $as_me version-unused, which was
4595 generated by GNU Autoconf 2.64. Invocation command line was
4597 CONFIG_FILES = $CONFIG_FILES
4598 CONFIG_HEADERS = $CONFIG_HEADERS
4599 CONFIG_LINKS = $CONFIG_LINKS
4600 CONFIG_COMMANDS = $CONFIG_COMMANDS
4601 $ $0 $@
4603 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4606 _ACEOF
4608 case $ac_config_files in *"
4609 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4610 esac
4614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4615 # Files that config.status was made for.
4616 config_files="$ac_config_files"
4617 config_commands="$ac_config_commands"
4619 _ACEOF
4621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4622 ac_cs_usage="\
4623 \`$as_me' instantiates files and other configuration actions
4624 from templates according to the current configuration. Unless the files
4625 and actions are specified as TAGs, all are instantiated by default.
4627 Usage: $0 [OPTION]... [TAG]...
4629 -h, --help print this help, then exit
4630 -V, --version print version number and configuration settings, then exit
4631 -q, --quiet, --silent
4632 do not print progress messages
4633 -d, --debug don't remove temporary files
4634 --recheck update $as_me by reconfiguring in the same conditions
4635 --file=FILE[:TEMPLATE]
4636 instantiate the configuration file FILE
4638 Configuration files:
4639 $config_files
4641 Configuration commands:
4642 $config_commands
4644 Report bugs to the package provider."
4646 _ACEOF
4647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4648 ac_cs_version="\\
4649 package-unused config.status version-unused
4650 configured by $0, generated by GNU Autoconf 2.64,
4651 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4653 Copyright (C) 2009 Free Software Foundation, Inc.
4654 This config.status script is free software; the Free Software Foundation
4655 gives unlimited permission to copy, distribute and modify it."
4657 ac_pwd='$ac_pwd'
4658 srcdir='$srcdir'
4659 INSTALL='$INSTALL'
4660 MKDIR_P='$MKDIR_P'
4661 AWK='$AWK'
4662 test -n "\$AWK" || AWK=awk
4663 _ACEOF
4665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4666 # The default lists apply if the user does not specify any file.
4667 ac_need_defaults=:
4668 while test $# != 0
4670 case $1 in
4671 --*=*)
4672 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4673 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4674 ac_shift=:
4677 ac_option=$1
4678 ac_optarg=$2
4679 ac_shift=shift
4681 esac
4683 case $ac_option in
4684 # Handling of the options.
4685 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4686 ac_cs_recheck=: ;;
4687 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4688 $as_echo "$ac_cs_version"; exit ;;
4689 --debug | --debu | --deb | --de | --d | -d )
4690 debug=: ;;
4691 --file | --fil | --fi | --f )
4692 $ac_shift
4693 case $ac_optarg in
4694 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4695 esac
4696 as_fn_append CONFIG_FILES " '$ac_optarg'"
4697 ac_need_defaults=false;;
4698 --he | --h | --help | --hel | -h )
4699 $as_echo "$ac_cs_usage"; exit ;;
4700 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4701 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4702 ac_cs_silent=: ;;
4704 # This is an error.
4705 -*) as_fn_error "unrecognized option: \`$1'
4706 Try \`$0 --help' for more information." ;;
4708 *) as_fn_append ac_config_targets " $1"
4709 ac_need_defaults=false ;;
4711 esac
4712 shift
4713 done
4715 ac_configure_extra_args=
4717 if $ac_cs_silent; then
4718 exec 6>/dev/null
4719 ac_configure_extra_args="$ac_configure_extra_args --silent"
4722 _ACEOF
4723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4724 if \$ac_cs_recheck; then
4725 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4726 shift
4727 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4728 CONFIG_SHELL='$SHELL'
4729 export CONFIG_SHELL
4730 exec "\$@"
4733 _ACEOF
4734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4735 exec 5>>config.log
4737 echo
4738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4739 ## Running $as_me. ##
4740 _ASBOX
4741 $as_echo "$ac_log"
4742 } >&5
4744 _ACEOF
4745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4747 # INIT-COMMANDS
4749 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4751 _ACEOF
4753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4755 # Handling of arguments.
4756 for ac_config_target in $ac_config_targets
4758 case $ac_config_target in
4759 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4760 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4762 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4763 esac
4764 done
4767 # If the user did not use the arguments to specify the items to instantiate,
4768 # then the envvar interface is used. Set only those that are not.
4769 # We use the long form for the default assignment because of an extremely
4770 # bizarre bug on SunOS 4.1.3.
4771 if $ac_need_defaults; then
4772 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4773 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4776 # Have a temporary directory for convenience. Make it in the build tree
4777 # simply because there is no reason against having it here, and in addition,
4778 # creating and moving files from /tmp can sometimes cause problems.
4779 # Hook for its removal unless debugging.
4780 # Note that there is a small window in which the directory will not be cleaned:
4781 # after its creation but before its name has been assigned to `$tmp'.
4782 $debug ||
4784 tmp=
4785 trap 'exit_status=$?
4786 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4788 trap 'as_fn_exit 1' 1 2 13 15
4790 # Create a (secure) tmp directory for tmp files.
4793 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4794 test -n "$tmp" && test -d "$tmp"
4795 } ||
4797 tmp=./conf$$-$RANDOM
4798 (umask 077 && mkdir "$tmp")
4799 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4801 # Set up the scripts for CONFIG_FILES section.
4802 # No need to generate them if there are no CONFIG_FILES.
4803 # This happens for instance with `./config.status config.h'.
4804 if test -n "$CONFIG_FILES"; then
4807 ac_cr=`echo X | tr X '\015'`
4808 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4809 # But we know of no other shell where ac_cr would be empty at this
4810 # point, so we can use a bashism as a fallback.
4811 if test "x$ac_cr" = x; then
4812 eval ac_cr=\$\'\\r\'
4814 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4815 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4816 ac_cs_awk_cr='\r'
4817 else
4818 ac_cs_awk_cr=$ac_cr
4821 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4822 _ACEOF
4826 echo "cat >conf$$subs.awk <<_ACEOF" &&
4827 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4828 echo "_ACEOF"
4829 } >conf$$subs.sh ||
4830 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4831 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4832 ac_delim='%!_!# '
4833 for ac_last_try in false false false false false :; do
4834 . ./conf$$subs.sh ||
4835 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4837 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4838 if test $ac_delim_n = $ac_delim_num; then
4839 break
4840 elif $ac_last_try; then
4841 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4842 else
4843 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4845 done
4846 rm -f conf$$subs.sh
4848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4849 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4850 _ACEOF
4851 sed -n '
4853 s/^/S["/; s/!.*/"]=/
4856 s/^[^!]*!//
4857 :repl
4858 t repl
4859 s/'"$ac_delim"'$//
4860 t delim
4863 s/\(.\{148\}\).*/\1/
4864 t more1
4865 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4868 b repl
4869 :more1
4870 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4873 s/.\{148\}//
4874 t nl
4875 :delim
4877 s/\(.\{148\}\).*/\1/
4878 t more2
4879 s/["\\]/\\&/g; s/^/"/; s/$/"/
4882 :more2
4883 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4886 s/.\{148\}//
4887 t delim
4888 ' <conf$$subs.awk | sed '
4889 /^[^""]/{
4891 s/\n//
4893 ' >>$CONFIG_STATUS || ac_write_fail=1
4894 rm -f conf$$subs.awk
4895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4896 _ACAWK
4897 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4898 for (key in S) S_is_set[key] = 1
4899 FS = "\a"
4903 line = $ 0
4904 nfields = split(line, field, "@")
4905 substed = 0
4906 len = length(field[1])
4907 for (i = 2; i < nfields; i++) {
4908 key = field[i]
4909 keylen = length(key)
4910 if (S_is_set[key]) {
4911 value = S[key]
4912 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4913 len += length(value) + length(field[++i])
4914 substed = 1
4915 } else
4916 len += 1 + keylen
4919 print line
4922 _ACAWK
4923 _ACEOF
4924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4925 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4926 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4927 else
4929 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4930 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4931 _ACEOF
4933 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4934 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4935 # trailing colons and then remove the whole line if VPATH becomes empty
4936 # (actually we leave an empty line to preserve line numbers).
4937 if test "x$srcdir" = x.; then
4938 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4939 s/:*\$(srcdir):*/:/
4940 s/:*\${srcdir}:*/:/
4941 s/:*@srcdir@:*/:/
4942 s/^\([^=]*=[ ]*\):*/\1/
4943 s/:*$//
4944 s/^[^=]*=[ ]*$//
4948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4949 fi # test -n "$CONFIG_FILES"
4952 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4953 shift
4954 for ac_tag
4956 case $ac_tag in
4957 :[FHLC]) ac_mode=$ac_tag; continue;;
4958 esac
4959 case $ac_mode$ac_tag in
4960 :[FHL]*:*);;
4961 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4962 :[FH]-) ac_tag=-:-;;
4963 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4964 esac
4965 ac_save_IFS=$IFS
4966 IFS=:
4967 set x $ac_tag
4968 IFS=$ac_save_IFS
4969 shift
4970 ac_file=$1
4971 shift
4973 case $ac_mode in
4974 :L) ac_source=$1;;
4975 :[FH])
4976 ac_file_inputs=
4977 for ac_f
4979 case $ac_f in
4980 -) ac_f="$tmp/stdin";;
4981 *) # Look for the file first in the build tree, then in the source tree
4982 # (if the path is not absolute). The absolute path cannot be DOS-style,
4983 # because $ac_f cannot contain `:'.
4984 test -f "$ac_f" ||
4985 case $ac_f in
4986 [\\/$]*) false;;
4987 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4988 esac ||
4989 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4990 esac
4991 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4992 as_fn_append ac_file_inputs " '$ac_f'"
4993 done
4995 # Let's still pretend it is `configure' which instantiates (i.e., don't
4996 # use $as_me), people would be surprised to read:
4997 # /* config.h. Generated by config.status. */
4998 configure_input='Generated from '`
4999 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5000 `' by configure.'
5001 if test x"$ac_file" != x-; then
5002 configure_input="$ac_file. $configure_input"
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5004 $as_echo "$as_me: creating $ac_file" >&6;}
5006 # Neutralize special characters interpreted by sed in replacement strings.
5007 case $configure_input in #(
5008 *\&* | *\|* | *\\* )
5009 ac_sed_conf_input=`$as_echo "$configure_input" |
5010 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5011 *) ac_sed_conf_input=$configure_input;;
5012 esac
5014 case $ac_tag in
5015 *:-:* | *:-) cat >"$tmp/stdin" \
5016 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5017 esac
5019 esac
5021 ac_dir=`$as_dirname -- "$ac_file" ||
5022 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5023 X"$ac_file" : 'X\(//\)[^/]' \| \
5024 X"$ac_file" : 'X\(//\)$' \| \
5025 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5026 $as_echo X"$ac_file" |
5027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5028 s//\1/
5031 /^X\(\/\/\)[^/].*/{
5032 s//\1/
5035 /^X\(\/\/\)$/{
5036 s//\1/
5039 /^X\(\/\).*/{
5040 s//\1/
5043 s/.*/./; q'`
5044 as_dir="$ac_dir"; as_fn_mkdir_p
5045 ac_builddir=.
5047 case "$ac_dir" in
5048 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5050 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5051 # A ".." for each directory in $ac_dir_suffix.
5052 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5053 case $ac_top_builddir_sub in
5054 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5055 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5056 esac ;;
5057 esac
5058 ac_abs_top_builddir=$ac_pwd
5059 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5060 # for backward compatibility:
5061 ac_top_builddir=$ac_top_build_prefix
5063 case $srcdir in
5064 .) # We are building in place.
5065 ac_srcdir=.
5066 ac_top_srcdir=$ac_top_builddir_sub
5067 ac_abs_top_srcdir=$ac_pwd ;;
5068 [\\/]* | ?:[\\/]* ) # Absolute name.
5069 ac_srcdir=$srcdir$ac_dir_suffix;
5070 ac_top_srcdir=$srcdir
5071 ac_abs_top_srcdir=$srcdir ;;
5072 *) # Relative name.
5073 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5074 ac_top_srcdir=$ac_top_build_prefix$srcdir
5075 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5076 esac
5077 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5080 case $ac_mode in
5083 # CONFIG_FILE
5086 case $INSTALL in
5087 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5088 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5089 esac
5090 ac_MKDIR_P=$MKDIR_P
5091 case $MKDIR_P in
5092 [\\/$]* | ?:[\\/]* ) ;;
5093 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5094 esac
5095 _ACEOF
5097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5098 # If the template does not know about datarootdir, expand it.
5099 # FIXME: This hack should be removed a few years after 2.60.
5100 ac_datarootdir_hack=; ac_datarootdir_seen=
5101 ac_sed_dataroot='
5102 /datarootdir/ {
5106 /@datadir@/p
5107 /@docdir@/p
5108 /@infodir@/p
5109 /@localedir@/p
5110 /@mandir@/p'
5111 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5112 *datarootdir*) ac_datarootdir_seen=yes;;
5113 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5115 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5116 _ACEOF
5117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5118 ac_datarootdir_hack='
5119 s&@datadir@&$datadir&g
5120 s&@docdir@&$docdir&g
5121 s&@infodir@&$infodir&g
5122 s&@localedir@&$localedir&g
5123 s&@mandir@&$mandir&g
5124 s&\\\${datarootdir}&$datarootdir&g' ;;
5125 esac
5126 _ACEOF
5128 # Neutralize VPATH when `$srcdir' = `.'.
5129 # Shell code in configure.ac might set extrasub.
5130 # FIXME: do we really want to maintain this feature?
5131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5132 ac_sed_extra="$ac_vpsub
5133 $extrasub
5134 _ACEOF
5135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5137 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5138 s|@configure_input@|$ac_sed_conf_input|;t t
5139 s&@top_builddir@&$ac_top_builddir_sub&;t t
5140 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5141 s&@srcdir@&$ac_srcdir&;t t
5142 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5143 s&@top_srcdir@&$ac_top_srcdir&;t t
5144 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5145 s&@builddir@&$ac_builddir&;t t
5146 s&@abs_builddir@&$ac_abs_builddir&;t t
5147 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5148 s&@INSTALL@&$ac_INSTALL&;t t
5149 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5150 $ac_datarootdir_hack
5152 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5153 || as_fn_error "could not create $ac_file" "$LINENO" 5
5155 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5156 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5157 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5159 which seems to be undefined. Please make sure it is defined." >&5
5160 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5161 which seems to be undefined. Please make sure it is defined." >&2;}
5163 rm -f "$tmp/stdin"
5164 case $ac_file in
5165 -) cat "$tmp/out" && rm -f "$tmp/out";;
5166 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5167 esac \
5168 || as_fn_error "could not create $ac_file" "$LINENO" 5
5172 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5173 $as_echo "$as_me: executing $ac_file commands" >&6;}
5175 esac
5178 case $ac_file$ac_mode in
5179 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5180 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5181 # are listed without --file. Let's play safe and only enable the eval
5182 # if we detect the quoting.
5183 case $CONFIG_FILES in
5184 *\'*) eval set x "$CONFIG_FILES" ;;
5185 *) set x $CONFIG_FILES ;;
5186 esac
5187 shift
5188 for mf
5190 # Strip MF so we end up with the name of the file.
5191 mf=`echo "$mf" | sed -e 's/:.*$//'`
5192 # Check whether this is an Automake generated Makefile or not.
5193 # We used to match only the files named `Makefile.in', but
5194 # some people rename them; so instead we look at the file content.
5195 # Grep'ing the first line is not enough: some people post-process
5196 # each Makefile.in and add a new line on top of each file to say so.
5197 # Grep'ing the whole file is not good either: AIX grep has a line
5198 # limit of 2048, but all sed's we know have understand at least 4000.
5199 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5200 dirpart=`$as_dirname -- "$mf" ||
5201 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5202 X"$mf" : 'X\(//\)[^/]' \| \
5203 X"$mf" : 'X\(//\)$' \| \
5204 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5205 $as_echo X"$mf" |
5206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5207 s//\1/
5210 /^X\(\/\/\)[^/].*/{
5211 s//\1/
5214 /^X\(\/\/\)$/{
5215 s//\1/
5218 /^X\(\/\).*/{
5219 s//\1/
5222 s/.*/./; q'`
5223 else
5224 continue
5226 # Extract the definition of DEPDIR, am__include, and am__quote
5227 # from the Makefile without running `make'.
5228 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5229 test -z "$DEPDIR" && continue
5230 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5231 test -z "am__include" && continue
5232 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5233 # When using ansi2knr, U may be empty or an underscore; expand it
5234 U=`sed -n 's/^U = //p' < "$mf"`
5235 # Find all dependency output files, they are included files with
5236 # $(DEPDIR) in their names. We invoke sed twice because it is the
5237 # simplest approach to changing $(DEPDIR) to its actual value in the
5238 # expansion.
5239 for file in `sed -n "
5240 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5241 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5242 # Make sure the directory exists.
5243 test -f "$dirpart/$file" && continue
5244 fdir=`$as_dirname -- "$file" ||
5245 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5246 X"$file" : 'X\(//\)[^/]' \| \
5247 X"$file" : 'X\(//\)$' \| \
5248 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5249 $as_echo X"$file" |
5250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5251 s//\1/
5254 /^X\(\/\/\)[^/].*/{
5255 s//\1/
5258 /^X\(\/\/\)$/{
5259 s//\1/
5262 /^X\(\/\).*/{
5263 s//\1/
5266 s/.*/./; q'`
5267 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5268 # echo "creating $dirpart/$file"
5269 echo '# dummy' > "$dirpart/$file"
5270 done
5271 done
5275 esac
5276 done # for ac_tag
5279 as_fn_exit 0
5280 _ACEOF
5281 ac_clean_files=$ac_clean_files_save
5283 test $ac_write_fail = 0 ||
5284 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5287 # configure is writing to config.log, and then calls config.status.
5288 # config.status does its own redirection, appending to config.log.
5289 # Unfortunately, on DOS this fails, as config.log is still kept open
5290 # by configure, so config.status won't be able to write to it; its
5291 # output is simply discarded. So we exec the FD to /dev/null,
5292 # effectively closing config.log, so it can be properly (re)opened and
5293 # appended to by config.status. When coming back to configure, we
5294 # need to make the FD available again.
5295 if test "$no_create" != yes; then
5296 ac_cs_success=:
5297 ac_config_status_args=
5298 test "$silent" = yes &&
5299 ac_config_status_args="$ac_config_status_args --quiet"
5300 exec 5>/dev/null
5301 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5302 exec 5>>config.log
5303 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5304 # would make configure fail if this is the last instruction.
5305 $ac_cs_success || as_fn_exit $?
5307 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5309 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}