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