1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.64. 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= 547PACKAGE_TARNAME= 548PACKAGE_VERSION= 549PACKAGE_STRING= 550PACKAGE_BUGREPORT= 551PACKAGE_URL= 552 553ac_unique_file="Makefile.in" 554ac_subst_vars='LTLIBOBJS 555LIBOBJS 556warn_cflags 557OBJEXT 558EXEEXT 559ac_ct_CC 560CPPFLAGS 561LDFLAGS 562CFLAGS 563CC 564ADA_CFLAGS 565EXTRA_GNATTOOLS 566TOOLS_TARGET_PAIRS 567default_gnattools_target 568LN_S 569target_noncanonical 570target_os 571target_vendor 572target_cpu 573target 574host_os 575host_vendor 576host_cpu 577host 578build_os 579build_vendor 580build_cpu 581build 582INSTALL_DATA 583INSTALL_SCRIPT 584INSTALL_PROGRAM 585MAINT 586target_alias 587host_alias 588build_alias 589LIBS 590ECHO_T 591ECHO_N 592ECHO_C 593DEFS 594mandir 595localedir 596libdir 597psdir 598pdfdir 599dvidir 600htmldir 601infodir 602docdir 603oldincludedir 604includedir 605localstatedir 606sharedstatedir 607sysconfdir 608datadir 609datarootdir 610libexecdir 611sbindir 612bindir 613program_transform_name 614prefix 615exec_prefix 616PACKAGE_URL 617PACKAGE_BUGREPORT 618PACKAGE_STRING 619PACKAGE_VERSION 620PACKAGE_TARNAME 621PACKAGE_NAME 622PATH_SEPARATOR 623SHELL' 624ac_subst_files='' 625ac_user_opts=' 626enable_option_checking 627enable_maintainer_mode 628' 629 ac_precious_vars='build_alias 630host_alias 631target_alias 632CC 633CFLAGS 634LDFLAGS 635LIBS 636CPPFLAGS' 637 638 639# Initialize some variables set by options. 640ac_init_help= 641ac_init_version=false 642ac_unrecognized_opts= 643ac_unrecognized_sep= 644# The variables have the same names as the options, with 645# dashes changed to underlines. 646cache_file=/dev/null 647exec_prefix=NONE 648no_create= 649no_recursion= 650prefix=NONE 651program_prefix=NONE 652program_suffix=NONE 653program_transform_name=s,x,x, 654silent= 655site= 656srcdir= 657verbose= 658x_includes=NONE 659x_libraries=NONE 660 661# Installation directory options. 662# These are left unexpanded so users can "make install exec_prefix=/foo" 663# and all the variables that are supposed to be based on exec_prefix 664# by default will actually change. 665# Use braces instead of parens because sh, perl, etc. also accept them. 666# (The list follows the same order as the GNU Coding Standards.) 667bindir='${exec_prefix}/bin' 668sbindir='${exec_prefix}/sbin' 669libexecdir='${exec_prefix}/libexec' 670datarootdir='${prefix}/share' 671datadir='${datarootdir}' 672sysconfdir='${prefix}/etc' 673sharedstatedir='${prefix}/com' 674localstatedir='${prefix}/var' 675includedir='${prefix}/include' 676oldincludedir='/usr/include' 677docdir='${datarootdir}/doc/${PACKAGE}' 678infodir='${datarootdir}/info' 679htmldir='${docdir}' 680dvidir='${docdir}' 681pdfdir='${docdir}' 682psdir='${docdir}' 683libdir='${exec_prefix}/lib' 684localedir='${datarootdir}/locale' 685mandir='${datarootdir}/man' 686 687ac_prev= 688ac_dashdash= 689for ac_option 690do 691 # If the previous option needs an argument, assign it. 692 if test -n "$ac_prev"; then 693 eval $ac_prev=\$ac_option 694 ac_prev= 695 continue 696 fi 697 698 case $ac_option in 699 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 700 *) ac_optarg=yes ;; 701 esac 702 703 # Accept the important Cygnus configure options, so we can diagnose typos. 704 705 case $ac_dashdash$ac_option in 706 --) 707 ac_dashdash=yes ;; 708 709 -bindir | --bindir | --bindi | --bind | --bin | --bi) 710 ac_prev=bindir ;; 711 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 712 bindir=$ac_optarg ;; 713 714 -build | --build | --buil | --bui | --bu) 715 ac_prev=build_alias ;; 716 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 717 build_alias=$ac_optarg ;; 718 719 -cache-file | --cache-file | --cache-fil | --cache-fi \ 720 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 721 ac_prev=cache_file ;; 722 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 723 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 724 cache_file=$ac_optarg ;; 725 726 --config-cache | -C) 727 cache_file=config.cache ;; 728 729 -datadir | --datadir | --datadi | --datad) 730 ac_prev=datadir ;; 731 -datadir=* | --datadir=* | --datadi=* | --datad=*) 732 datadir=$ac_optarg ;; 733 734 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 735 | --dataroo | --dataro | --datar) 736 ac_prev=datarootdir ;; 737 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 738 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 739 datarootdir=$ac_optarg ;; 740 741 -disable-* | --disable-*) 742 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 743 # Reject names that are not valid shell variable names. 744 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 745 as_fn_error "invalid feature name: $ac_useropt" 746 ac_useropt_orig=$ac_useropt 747 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 748 case $ac_user_opts in 749 *" 750"enable_$ac_useropt" 751"*) ;; 752 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 753 ac_unrecognized_sep=', ';; 754 esac 755 eval enable_$ac_useropt=no ;; 756 757 -docdir | --docdir | --docdi | --doc | --do) 758 ac_prev=docdir ;; 759 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 760 docdir=$ac_optarg ;; 761 762 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 763 ac_prev=dvidir ;; 764 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 765 dvidir=$ac_optarg ;; 766 767 -enable-* | --enable-*) 768 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 769 # Reject names that are not valid shell variable names. 770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 771 as_fn_error "invalid feature name: $ac_useropt" 772 ac_useropt_orig=$ac_useropt 773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 774 case $ac_user_opts in 775 *" 776"enable_$ac_useropt" 777"*) ;; 778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 779 ac_unrecognized_sep=', ';; 780 esac 781 eval enable_$ac_useropt=\$ac_optarg ;; 782 783 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 784 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 785 | --exec | --exe | --ex) 786 ac_prev=exec_prefix ;; 787 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 788 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 789 | --exec=* | --exe=* | --ex=*) 790 exec_prefix=$ac_optarg ;; 791 792 -gas | --gas | --ga | --g) 793 # Obsolete; use --with-gas. 794 with_gas=yes ;; 795 796 -help | --help | --hel | --he | -h) 797 ac_init_help=long ;; 798 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 799 ac_init_help=recursive ;; 800 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 801 ac_init_help=short ;; 802 803 -host | --host | --hos | --ho) 804 ac_prev=host_alias ;; 805 -host=* | --host=* | --hos=* | --ho=*) 806 host_alias=$ac_optarg ;; 807 808 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 809 ac_prev=htmldir ;; 810 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 811 | --ht=*) 812 htmldir=$ac_optarg ;; 813 814 -includedir | --includedir | --includedi | --included | --include \ 815 | --includ | --inclu | --incl | --inc) 816 ac_prev=includedir ;; 817 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 818 | --includ=* | --inclu=* | --incl=* | --inc=*) 819 includedir=$ac_optarg ;; 820 821 -infodir | --infodir | --infodi | --infod | --info | --inf) 822 ac_prev=infodir ;; 823 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 824 infodir=$ac_optarg ;; 825 826 -libdir | --libdir | --libdi | --libd) 827 ac_prev=libdir ;; 828 -libdir=* | --libdir=* | --libdi=* | --libd=*) 829 libdir=$ac_optarg ;; 830 831 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 832 | --libexe | --libex | --libe) 833 ac_prev=libexecdir ;; 834 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 835 | --libexe=* | --libex=* | --libe=*) 836 libexecdir=$ac_optarg ;; 837 838 -localedir | --localedir | --localedi | --localed | --locale) 839 ac_prev=localedir ;; 840 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 841 localedir=$ac_optarg ;; 842 843 -localstatedir | --localstatedir | --localstatedi | --localstated \ 844 | --localstate | --localstat | --localsta | --localst | --locals) 845 ac_prev=localstatedir ;; 846 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 847 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 848 localstatedir=$ac_optarg ;; 849 850 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 851 ac_prev=mandir ;; 852 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 853 mandir=$ac_optarg ;; 854 855 -nfp | --nfp | --nf) 856 # Obsolete; use --without-fp. 857 with_fp=no ;; 858 859 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 860 | --no-cr | --no-c | -n) 861 no_create=yes ;; 862 863 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 864 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 865 no_recursion=yes ;; 866 867 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 868 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 869 | --oldin | --oldi | --old | --ol | --o) 870 ac_prev=oldincludedir ;; 871 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 872 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 873 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 874 oldincludedir=$ac_optarg ;; 875 876 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 877 ac_prev=prefix ;; 878 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 879 prefix=$ac_optarg ;; 880 881 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 882 | --program-pre | --program-pr | --program-p) 883 ac_prev=program_prefix ;; 884 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 885 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 886 program_prefix=$ac_optarg ;; 887 888 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 889 | --program-suf | --program-su | --program-s) 890 ac_prev=program_suffix ;; 891 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 892 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 893 program_suffix=$ac_optarg ;; 894 895 -program-transform-name | --program-transform-name \ 896 | --program-transform-nam | --program-transform-na \ 897 | --program-transform-n | --program-transform- \ 898 | --program-transform | --program-transfor \ 899 | --program-transfo | --program-transf \ 900 | --program-trans | --program-tran \ 901 | --progr-tra | --program-tr | --program-t) 902 ac_prev=program_transform_name ;; 903 -program-transform-name=* | --program-transform-name=* \ 904 | --program-transform-nam=* | --program-transform-na=* \ 905 | --program-transform-n=* | --program-transform-=* \ 906 | --program-transform=* | --program-transfor=* \ 907 | --program-transfo=* | --program-transf=* \ 908 | --program-trans=* | --program-tran=* \ 909 | --progr-tra=* | --program-tr=* | --program-t=*) 910 program_transform_name=$ac_optarg ;; 911 912 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 913 ac_prev=pdfdir ;; 914 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 915 pdfdir=$ac_optarg ;; 916 917 -psdir | --psdir | --psdi | --psd | --ps) 918 ac_prev=psdir ;; 919 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 920 psdir=$ac_optarg ;; 921 922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 923 | -silent | --silent | --silen | --sile | --sil) 924 silent=yes ;; 925 926 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 927 ac_prev=sbindir ;; 928 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 929 | --sbi=* | --sb=*) 930 sbindir=$ac_optarg ;; 931 932 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 933 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 934 | --sharedst | --shareds | --shared | --share | --shar \ 935 | --sha | --sh) 936 ac_prev=sharedstatedir ;; 937 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 938 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 939 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 940 | --sha=* | --sh=*) 941 sharedstatedir=$ac_optarg ;; 942 943 -site | --site | --sit) 944 ac_prev=site ;; 945 -site=* | --site=* | --sit=*) 946 site=$ac_optarg ;; 947 948 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 949 ac_prev=srcdir ;; 950 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 951 srcdir=$ac_optarg ;; 952 953 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 954 | --syscon | --sysco | --sysc | --sys | --sy) 955 ac_prev=sysconfdir ;; 956 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 957 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 958 sysconfdir=$ac_optarg ;; 959 960 -target | --target | --targe | --targ | --tar | --ta | --t) 961 ac_prev=target_alias ;; 962 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 963 target_alias=$ac_optarg ;; 964 965 -v | -verbose | --verbose | --verbos | --verbo | --verb) 966 verbose=yes ;; 967 968 -version | --version | --versio | --versi | --vers | -V) 969 ac_init_version=: ;; 970 971 -with-* | --with-*) 972 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 973 # Reject names that are not valid shell variable names. 974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 975 as_fn_error "invalid package name: $ac_useropt" 976 ac_useropt_orig=$ac_useropt 977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 978 case $ac_user_opts in 979 *" 980"with_$ac_useropt" 981"*) ;; 982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 983 ac_unrecognized_sep=', ';; 984 esac 985 eval with_$ac_useropt=\$ac_optarg ;; 986 987 -without-* | --without-*) 988 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 989 # Reject names that are not valid shell variable names. 990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 991 as_fn_error "invalid package name: $ac_useropt" 992 ac_useropt_orig=$ac_useropt 993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 994 case $ac_user_opts in 995 *" 996"with_$ac_useropt" 997"*) ;; 998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 999 ac_unrecognized_sep=', ';; 1000 esac 1001 eval with_$ac_useropt=no ;; 1002 1003 --x) 1004 # Obsolete; use --with-x. 1005 with_x=yes ;; 1006 1007 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1008 | --x-incl | --x-inc | --x-in | --x-i) 1009 ac_prev=x_includes ;; 1010 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1011 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1012 x_includes=$ac_optarg ;; 1013 1014 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1015 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1016 ac_prev=x_libraries ;; 1017 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1018 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1019 x_libraries=$ac_optarg ;; 1020 1021 -*) as_fn_error "unrecognized option: \`$ac_option' 1022Try \`$0 --help' for more information." 1023 ;; 1024 1025 *=*) 1026 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1027 # Reject names that are not valid shell variable names. 1028 case $ac_envvar in #( 1029 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1030 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1031 esac 1032 eval $ac_envvar=\$ac_optarg 1033 export $ac_envvar ;; 1034 1035 *) 1036 # FIXME: should be removed in autoconf 3.0. 1037 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1038 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1039 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1040 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1041 ;; 1042 1043 esac 1044done 1045 1046if test -n "$ac_prev"; then 1047 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1048 as_fn_error "missing argument to $ac_option" 1049fi 1050 1051if test -n "$ac_unrecognized_opts"; then 1052 case $enable_option_checking in 1053 no) ;; 1054 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1055 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1056 esac 1057fi 1058 1059# Check all directory arguments for consistency. 1060for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1061 datadir sysconfdir sharedstatedir localstatedir includedir \ 1062 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1063 libdir localedir mandir 1064do 1065 eval ac_val=\$$ac_var 1066 # Remove trailing slashes. 1067 case $ac_val in 1068 */ ) 1069 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1070 eval $ac_var=\$ac_val;; 1071 esac 1072 # Be sure to have absolute directory names. 1073 case $ac_val in 1074 [\\/$]* | ?:[\\/]* ) continue;; 1075 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1076 esac 1077 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1078done 1079 1080# There might be people who depend on the old broken behavior: `$host' 1081# used to hold the argument of --host etc. 1082# FIXME: To remove some day. 1083build=$build_alias 1084host=$host_alias 1085target=$target_alias 1086 1087# FIXME: To remove some day. 1088if test "x$host_alias" != x; then 1089 if test "x$build_alias" = x; then 1090 cross_compiling=maybe 1091 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1092 If a cross compiler is detected then cross compile mode will be used." >&2 1093 elif test "x$build_alias" != "x$host_alias"; then 1094 cross_compiling=yes 1095 fi 1096fi 1097 1098ac_tool_prefix= 1099test -n "$host_alias" && ac_tool_prefix=$host_alias- 1100 1101test "$silent" = yes && exec 6>/dev/null 1102 1103 1104ac_pwd=`pwd` && test -n "$ac_pwd" && 1105ac_ls_di=`ls -di .` && 1106ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1107 as_fn_error "working directory cannot be determined" 1108test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1109 as_fn_error "pwd does not report name of working directory" 1110 1111 1112# Find the source files, if location was not specified. 1113if test -z "$srcdir"; then 1114 ac_srcdir_defaulted=yes 1115 # Try the directory containing this script, then the parent directory. 1116 ac_confdir=`$as_dirname -- "$as_myself" || 1117$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1118 X"$as_myself" : 'X\(//\)[^/]' \| \ 1119 X"$as_myself" : 'X\(//\)$' \| \ 1120 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1121$as_echo X"$as_myself" | 1122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1123 s//\1/ 1124 q 1125 } 1126 /^X\(\/\/\)[^/].*/{ 1127 s//\1/ 1128 q 1129 } 1130 /^X\(\/\/\)$/{ 1131 s//\1/ 1132 q 1133 } 1134 /^X\(\/\).*/{ 1135 s//\1/ 1136 q 1137 } 1138 s/.*/./; q'` 1139 srcdir=$ac_confdir 1140 if test ! -r "$srcdir/$ac_unique_file"; then 1141 srcdir=.. 1142 fi 1143else 1144 ac_srcdir_defaulted=no 1145fi 1146if test ! -r "$srcdir/$ac_unique_file"; then 1147 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1148 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1149fi 1150ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1151ac_abs_confdir=`( 1152 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1153 pwd)` 1154# When building in place, set srcdir=. 1155if test "$ac_abs_confdir" = "$ac_pwd"; then 1156 srcdir=. 1157fi 1158# Remove unnecessary trailing slashes from srcdir. 1159# Double slashes in file names in object file debugging info 1160# mess up M-x gdb in Emacs. 1161case $srcdir in 1162*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1163esac 1164for ac_var in $ac_precious_vars; do 1165 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1166 eval ac_env_${ac_var}_value=\$${ac_var} 1167 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1168 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1169done 1170 1171# 1172# Report the --help message. 1173# 1174if test "$ac_init_help" = "long"; then 1175 # Omit some internal or obsolete options to make the list less imposing. 1176 # This message is too long to be a string in the A/UX 3.1 sh. 1177 cat <<_ACEOF 1178\`configure' configures this package to adapt to many kinds of systems. 1179 1180Usage: $0 [OPTION]... [VAR=VALUE]... 1181 1182To assign environment variables (e.g., CC, CFLAGS...), specify them as 1183VAR=VALUE. See below for descriptions of some of the useful variables. 1184 1185Defaults for the options are specified in brackets. 1186 1187Configuration: 1188 -h, --help display this help and exit 1189 --help=short display options specific to this package 1190 --help=recursive display the short help of all the included packages 1191 -V, --version display version information and exit 1192 -q, --quiet, --silent do not print \`checking...' messages 1193 --cache-file=FILE cache test results in FILE [disabled] 1194 -C, --config-cache alias for \`--cache-file=config.cache' 1195 -n, --no-create do not create output files 1196 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1197 1198Installation directories: 1199 --prefix=PREFIX install architecture-independent files in PREFIX 1200 [$ac_default_prefix] 1201 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1202 [PREFIX] 1203 1204By default, \`make install' will install all the files in 1205\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1206an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1207for instance \`--prefix=\$HOME'. 1208 1209For better control, use the options below. 1210 1211Fine tuning of the installation directories: 1212 --bindir=DIR user executables [EPREFIX/bin] 1213 --sbindir=DIR system admin executables [EPREFIX/sbin] 1214 --libexecdir=DIR program executables [EPREFIX/libexec] 1215 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1216 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1217 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1218 --libdir=DIR object code libraries [EPREFIX/lib] 1219 --includedir=DIR C header files [PREFIX/include] 1220 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1221 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1222 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1223 --infodir=DIR info documentation [DATAROOTDIR/info] 1224 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1225 --mandir=DIR man documentation [DATAROOTDIR/man] 1226 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1227 --htmldir=DIR html documentation [DOCDIR] 1228 --dvidir=DIR dvi documentation [DOCDIR] 1229 --pdfdir=DIR pdf documentation [DOCDIR] 1230 --psdir=DIR ps documentation [DOCDIR] 1231_ACEOF 1232 1233 cat <<\_ACEOF 1234 1235System types: 1236 --build=BUILD configure for building on BUILD [guessed] 1237 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1238 --target=TARGET configure for building compilers for TARGET [HOST] 1239_ACEOF 1240fi 1241 1242if test -n "$ac_init_help"; then 1243 1244 cat <<\_ACEOF 1245 1246Optional Features: 1247 --disable-option-checking ignore unrecognized --enable/--with options 1248 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1249 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1250 --enable-maintainer-mode 1251 enable make rules and dependencies not useful (and 1252 sometimes confusing) to the casual installer 1253 1254Some influential environment variables: 1255 CC C compiler command 1256 CFLAGS C compiler flags 1257 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1258 nonstandard directory <lib dir> 1259 LIBS libraries to pass to the linker, e.g. -l<library> 1260 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1261 you have headers in a nonstandard directory <include dir> 1262 1263Use these variables to override the choices made by `configure' or to help 1264it to find libraries and programs with nonstandard names/locations. 1265 1266Report bugs to the package provider. 1267_ACEOF 1268ac_status=$? 1269fi 1270 1271if test "$ac_init_help" = "recursive"; then 1272 # If there are subdirs, report their specific --help. 1273 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1274 test -d "$ac_dir" || 1275 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1276 continue 1277 ac_builddir=. 1278 1279case "$ac_dir" in 1280.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1281*) 1282 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1283 # A ".." for each directory in $ac_dir_suffix. 1284 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1285 case $ac_top_builddir_sub in 1286 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1287 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1288 esac ;; 1289esac 1290ac_abs_top_builddir=$ac_pwd 1291ac_abs_builddir=$ac_pwd$ac_dir_suffix 1292# for backward compatibility: 1293ac_top_builddir=$ac_top_build_prefix 1294 1295case $srcdir in 1296 .) # We are building in place. 1297 ac_srcdir=. 1298 ac_top_srcdir=$ac_top_builddir_sub 1299 ac_abs_top_srcdir=$ac_pwd ;; 1300 [\\/]* | ?:[\\/]* ) # Absolute name. 1301 ac_srcdir=$srcdir$ac_dir_suffix; 1302 ac_top_srcdir=$srcdir 1303 ac_abs_top_srcdir=$srcdir ;; 1304 *) # Relative name. 1305 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1306 ac_top_srcdir=$ac_top_build_prefix$srcdir 1307 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1308esac 1309ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1310 1311 cd "$ac_dir" || { ac_status=$?; continue; } 1312 # Check for guested configure. 1313 if test -f "$ac_srcdir/configure.gnu"; then 1314 echo && 1315 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1316 elif test -f "$ac_srcdir/configure"; then 1317 echo && 1318 $SHELL "$ac_srcdir/configure" --help=recursive 1319 else 1320 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1321 fi || ac_status=$? 1322 cd "$ac_pwd" || { ac_status=$?; break; } 1323 done 1324fi 1325 1326test -n "$ac_init_help" && exit $ac_status 1327if $ac_init_version; then 1328 cat <<\_ACEOF 1329configure 1330generated by GNU Autoconf 2.64 1331 1332Copyright (C) 2009 Free Software Foundation, Inc. 1333This configure script is free software; the Free Software Foundation 1334gives unlimited permission to copy, distribute and modify it. 1335_ACEOF 1336 exit 1337fi 1338 1339## ------------------------ ## 1340## Autoconf initialization. ## 1341## ------------------------ ## 1342 1343# ac_fn_c_try_compile LINENO 1344# -------------------------- 1345# Try to compile conftest.$ac_ext, and return whether this succeeded. 1346ac_fn_c_try_compile () 1347{ 1348 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1349 rm -f conftest.$ac_objext 1350 if { { ac_try="$ac_compile" 1351case "(($ac_try" in 1352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1353 *) ac_try_echo=$ac_try;; 1354esac 1355eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1356$as_echo "$ac_try_echo"; } >&5 1357 (eval "$ac_compile") 2>conftest.err 1358 ac_status=$? 1359 if test -s conftest.err; then 1360 grep -v '^ *+' conftest.err >conftest.er1 1361 cat conftest.er1 >&5 1362 mv -f conftest.er1 conftest.err 1363 fi 1364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1365 test $ac_status = 0; } && { 1366 test -z "$ac_c_werror_flag" || 1367 test ! -s conftest.err 1368 } && test -s conftest.$ac_objext; then : 1369 ac_retval=0 1370else 1371 $as_echo "$as_me: failed program was:" >&5 1372sed 's/^/| /' conftest.$ac_ext >&5 1373 1374 ac_retval=1 1375fi 1376 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1377 return $ac_retval 1378 1379} # ac_fn_c_try_compile 1380cat >config.log <<_ACEOF 1381This file contains any messages produced by compilers while 1382running configure, to aid debugging if configure makes a mistake. 1383 1384It was created by $as_me, which was 1385generated by GNU Autoconf 2.64. Invocation command line was 1386 1387 $ $0 $@ 1388 1389_ACEOF 1390exec 5>>config.log 1391{ 1392cat <<_ASUNAME 1393## --------- ## 1394## Platform. ## 1395## --------- ## 1396 1397hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1398uname -m = `(uname -m) 2>/dev/null || echo unknown` 1399uname -r = `(uname -r) 2>/dev/null || echo unknown` 1400uname -s = `(uname -s) 2>/dev/null || echo unknown` 1401uname -v = `(uname -v) 2>/dev/null || echo unknown` 1402 1403/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1404/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1405 1406/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1407/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1408/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1409/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1410/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1411/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1412/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1413 1414_ASUNAME 1415 1416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1417for as_dir in $PATH 1418do 1419 IFS=$as_save_IFS 1420 test -z "$as_dir" && as_dir=. 1421 $as_echo "PATH: $as_dir" 1422 done 1423IFS=$as_save_IFS 1424 1425} >&5 1426 1427cat >&5 <<_ACEOF 1428 1429 1430## ----------- ## 1431## Core tests. ## 1432## ----------- ## 1433 1434_ACEOF 1435 1436 1437# Keep a trace of the command line. 1438# Strip out --no-create and --no-recursion so they do not pile up. 1439# Strip out --silent because we don't want to record it for future runs. 1440# Also quote any args containing shell meta-characters. 1441# Make two passes to allow for proper duplicate-argument suppression. 1442ac_configure_args= 1443ac_configure_args0= 1444ac_configure_args1= 1445ac_must_keep_next=false 1446for ac_pass in 1 2 1447do 1448 for ac_arg 1449 do 1450 case $ac_arg in 1451 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1452 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1453 | -silent | --silent | --silen | --sile | --sil) 1454 continue ;; 1455 *\'*) 1456 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1457 esac 1458 case $ac_pass in 1459 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1460 2) 1461 as_fn_append ac_configure_args1 " '$ac_arg'" 1462 if test $ac_must_keep_next = true; then 1463 ac_must_keep_next=false # Got value, back to normal. 1464 else 1465 case $ac_arg in 1466 *=* | --config-cache | -C | -disable-* | --disable-* \ 1467 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1468 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1469 | -with-* | --with-* | -without-* | --without-* | --x) 1470 case "$ac_configure_args0 " in 1471 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1472 esac 1473 ;; 1474 -* ) ac_must_keep_next=true ;; 1475 esac 1476 fi 1477 as_fn_append ac_configure_args " '$ac_arg'" 1478 ;; 1479 esac 1480 done 1481done 1482{ ac_configure_args0=; unset ac_configure_args0;} 1483{ ac_configure_args1=; unset ac_configure_args1;} 1484 1485# When interrupted or exit'd, cleanup temporary files, and complete 1486# config.log. We remove comments because anyway the quotes in there 1487# would cause problems or look ugly. 1488# WARNING: Use '\'' to represent an apostrophe within the trap. 1489# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1490trap 'exit_status=$? 1491 # Save into config.log some information that might help in debugging. 1492 { 1493 echo 1494 1495 cat <<\_ASBOX 1496## ---------------- ## 1497## Cache variables. ## 1498## ---------------- ## 1499_ASBOX 1500 echo 1501 # The following way of writing the cache mishandles newlines in values, 1502( 1503 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1504 eval ac_val=\$$ac_var 1505 case $ac_val in #( 1506 *${as_nl}*) 1507 case $ac_var in #( 1508 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1509$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1510 esac 1511 case $ac_var in #( 1512 _ | IFS | as_nl) ;; #( 1513 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1514 *) { eval $ac_var=; unset $ac_var;} ;; 1515 esac ;; 1516 esac 1517 done 1518 (set) 2>&1 | 1519 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1520 *${as_nl}ac_space=\ *) 1521 sed -n \ 1522 "s/'\''/'\''\\\\'\'''\''/g; 1523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1524 ;; #( 1525 *) 1526 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1527 ;; 1528 esac | 1529 sort 1530) 1531 echo 1532 1533 cat <<\_ASBOX 1534## ----------------- ## 1535## Output variables. ## 1536## ----------------- ## 1537_ASBOX 1538 echo 1539 for ac_var in $ac_subst_vars 1540 do 1541 eval ac_val=\$$ac_var 1542 case $ac_val in 1543 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1544 esac 1545 $as_echo "$ac_var='\''$ac_val'\''" 1546 done | sort 1547 echo 1548 1549 if test -n "$ac_subst_files"; then 1550 cat <<\_ASBOX 1551## ------------------- ## 1552## File substitutions. ## 1553## ------------------- ## 1554_ASBOX 1555 echo 1556 for ac_var in $ac_subst_files 1557 do 1558 eval ac_val=\$$ac_var 1559 case $ac_val in 1560 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1561 esac 1562 $as_echo "$ac_var='\''$ac_val'\''" 1563 done | sort 1564 echo 1565 fi 1566 1567 if test -s confdefs.h; then 1568 cat <<\_ASBOX 1569## ----------- ## 1570## confdefs.h. ## 1571## ----------- ## 1572_ASBOX 1573 echo 1574 cat confdefs.h 1575 echo 1576 fi 1577 test "$ac_signal" != 0 && 1578 $as_echo "$as_me: caught signal $ac_signal" 1579 $as_echo "$as_me: exit $exit_status" 1580 } >&5 1581 rm -f core *.core core.conftest.* && 1582 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1583 exit $exit_status 1584' 0 1585for ac_signal in 1 2 13 15; do 1586 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1587done 1588ac_signal=0 1589 1590# confdefs.h avoids OS command line length limits that DEFS can exceed. 1591rm -f -r conftest* confdefs.h 1592 1593$as_echo "/* confdefs.h */" > confdefs.h 1594 1595# Predefined preprocessor variables. 1596 1597cat >>confdefs.h <<_ACEOF 1598#define PACKAGE_NAME "$PACKAGE_NAME" 1599_ACEOF 1600 1601cat >>confdefs.h <<_ACEOF 1602#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1603_ACEOF 1604 1605cat >>confdefs.h <<_ACEOF 1606#define PACKAGE_VERSION "$PACKAGE_VERSION" 1607_ACEOF 1608 1609cat >>confdefs.h <<_ACEOF 1610#define PACKAGE_STRING "$PACKAGE_STRING" 1611_ACEOF 1612 1613cat >>confdefs.h <<_ACEOF 1614#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1615_ACEOF 1616 1617cat >>confdefs.h <<_ACEOF 1618#define PACKAGE_URL "$PACKAGE_URL" 1619_ACEOF 1620 1621 1622# Let the site file select an alternate cache file if it wants to. 1623# Prefer an explicitly selected file to automatically selected ones. 1624ac_site_file1=NONE 1625ac_site_file2=NONE 1626if test -n "$CONFIG_SITE"; then 1627 ac_site_file1=$CONFIG_SITE 1628elif test "x$prefix" != xNONE; then 1629 ac_site_file1=$prefix/share/config.site 1630 ac_site_file2=$prefix/etc/config.site 1631else 1632 ac_site_file1=$ac_default_prefix/share/config.site 1633 ac_site_file2=$ac_default_prefix/etc/config.site 1634fi 1635for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1636do 1637 test "x$ac_site_file" = xNONE && continue 1638 if test -r "$ac_site_file"; then 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1640$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1641 sed 's/^/| /' "$ac_site_file" >&5 1642 . "$ac_site_file" 1643 fi 1644done 1645 1646if test -r "$cache_file"; then 1647 # Some versions of bash will fail to source /dev/null (special 1648 # files actually), so we avoid doing that. 1649 if test -f "$cache_file"; then 1650 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1651$as_echo "$as_me: loading cache $cache_file" >&6;} 1652 case $cache_file in 1653 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1654 *) . "./$cache_file";; 1655 esac 1656 fi 1657else 1658 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1659$as_echo "$as_me: creating cache $cache_file" >&6;} 1660 >$cache_file 1661fi 1662 1663# Check that the precious variables saved in the cache have kept the same 1664# value. 1665ac_cache_corrupted=false 1666for ac_var in $ac_precious_vars; do 1667 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1668 eval ac_new_set=\$ac_env_${ac_var}_set 1669 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1670 eval ac_new_val=\$ac_env_${ac_var}_value 1671 case $ac_old_set,$ac_new_set in 1672 set,) 1673 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1674$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1675 ac_cache_corrupted=: ;; 1676 ,set) 1677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1678$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1679 ac_cache_corrupted=: ;; 1680 ,);; 1681 *) 1682 if test "x$ac_old_val" != "x$ac_new_val"; then 1683 # differences in whitespace do not lead to failure. 1684 ac_old_val_w=`echo x $ac_old_val` 1685 ac_new_val_w=`echo x $ac_new_val` 1686 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1688$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1689 ac_cache_corrupted=: 1690 else 1691 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1692$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1693 eval $ac_var=\$ac_old_val 1694 fi 1695 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1696$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1697 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1698$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1699 fi;; 1700 esac 1701 # Pass precious variables to config.status. 1702 if test "$ac_new_set" = set; then 1703 case $ac_new_val in 1704 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1705 *) ac_arg=$ac_var=$ac_new_val ;; 1706 esac 1707 case " $ac_configure_args " in 1708 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1709 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1710 esac 1711 fi 1712done 1713if $ac_cache_corrupted; then 1714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1715$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1716 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1717$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1718 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1719fi 1720## -------------------- ## 1721## Main body of script. ## 1722## -------------------- ## 1723 1724ac_ext=c 1725ac_cpp='$CPP $CPPFLAGS' 1726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1728ac_compiler_gnu=$ac_cv_c_compiler_gnu 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738# Command-line options. 1739# Very limited version of AC_MAINTAINER_MODE. 1740# Check whether --enable-maintainer-mode was given. 1741if test "${enable_maintainer_mode+set}" = set; then : 1742 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in 1743 yes) MAINT='' ;; 1744 no) MAINT='#' ;; 1745 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;; 1746 esac 1747 maintainer_mode=${enableval} 1748else 1749 MAINT='#' 1750fi 1751 1752 1753# Start of actual configure tests 1754 1755ac_aux_dir= 1756for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1757 for ac_t in install-sh install.sh shtool; do 1758 if test -f "$ac_dir/$ac_t"; then 1759 ac_aux_dir=$ac_dir 1760 ac_install_sh="$ac_aux_dir/$ac_t -c" 1761 break 2 1762 fi 1763 done 1764done 1765if test -z "$ac_aux_dir"; then 1766 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1767fi 1768 1769# These three variables are undocumented and unsupported, 1770# and are intended to be withdrawn in a future Autoconf release. 1771# They can cause serious problems if a builder's source tree is in a directory 1772# whose full name contains unusual characters. 1773ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1774ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1775ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1776 1777 1778# Find a good install program. We prefer a C program (faster), 1779# so one script is as good as another. But avoid the broken or 1780# incompatible versions: 1781# SysV /etc/install, /usr/sbin/install 1782# SunOS /usr/etc/install 1783# IRIX /sbin/install 1784# AIX /bin/install 1785# AmigaOS /C/install, which installs bootblocks on floppy discs 1786# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1787# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1788# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1789# OS/2's system install, which has a completely different semantic 1790# ./install, which can be erroneously created by make from ./install.sh. 1791# Reject install programs that cannot install multiple files. 1792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1793$as_echo_n "checking for a BSD-compatible install... " >&6; } 1794if test -z "$INSTALL"; then 1795if test "${ac_cv_path_install+set}" = set; then : 1796 $as_echo_n "(cached) " >&6 1797else 1798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1799for as_dir in $PATH 1800do 1801 IFS=$as_save_IFS 1802 test -z "$as_dir" && as_dir=. 1803 # Account for people who put trailing slashes in PATH elements. 1804case $as_dir/ in #(( 1805 ./ | .// | /[cC]/* | \ 1806 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1807 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1808 /usr/ucb/* ) ;; 1809 *) 1810 # OSF1 and SCO ODT 3.0 have their own names for install. 1811 # Don't use installbsd from OSF since it installs stuff as root 1812 # by default. 1813 for ac_prog in ginstall scoinst install; do 1814 for ac_exec_ext in '' $ac_executable_extensions; do 1815 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1816 if test $ac_prog = install && 1817 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1818 # AIX install. It has an incompatible calling convention. 1819 : 1820 elif test $ac_prog = install && 1821 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1822 # program-specific install script used by HP pwplus--don't use. 1823 : 1824 else 1825 rm -rf conftest.one conftest.two conftest.dir 1826 echo one > conftest.one 1827 echo two > conftest.two 1828 mkdir conftest.dir 1829 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1830 test -s conftest.one && test -s conftest.two && 1831 test -s conftest.dir/conftest.one && 1832 test -s conftest.dir/conftest.two 1833 then 1834 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1835 break 3 1836 fi 1837 fi 1838 fi 1839 done 1840 done 1841 ;; 1842esac 1843 1844 done 1845IFS=$as_save_IFS 1846 1847rm -rf conftest.one conftest.two conftest.dir 1848 1849fi 1850 if test "${ac_cv_path_install+set}" = set; then 1851 INSTALL=$ac_cv_path_install 1852 else 1853 # As a last resort, use the slow shell script. Don't cache a 1854 # value for INSTALL within a source directory, because that will 1855 # break other packages using the cache if that directory is 1856 # removed, or if the value is a relative name. 1857 INSTALL=$ac_install_sh 1858 fi 1859fi 1860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 1861$as_echo "$INSTALL" >&6; } 1862 1863# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1864# It thinks the first close brace ends the variable substitution. 1865test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1866 1867test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1868 1869test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1870 1871 1872# Make sure we can run config.sub. 1873$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1874 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 1875 1876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1877$as_echo_n "checking build system type... " >&6; } 1878if test "${ac_cv_build+set}" = set; then : 1879 $as_echo_n "(cached) " >&6 1880else 1881 ac_build_alias=$build_alias 1882test "x$ac_build_alias" = x && 1883 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1884test "x$ac_build_alias" = x && 1885 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1886ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1887 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 1888 1889fi 1890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1891$as_echo "$ac_cv_build" >&6; } 1892case $ac_cv_build in 1893*-*-*) ;; 1894*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1895esac 1896build=$ac_cv_build 1897ac_save_IFS=$IFS; IFS='-' 1898set x $ac_cv_build 1899shift 1900build_cpu=$1 1901build_vendor=$2 1902shift; shift 1903# Remember, the first character of IFS is used to create $*, 1904# except with old shells: 1905build_os=$* 1906IFS=$ac_save_IFS 1907case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1908 1909 1910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 1911$as_echo_n "checking host system type... " >&6; } 1912if test "${ac_cv_host+set}" = set; then : 1913 $as_echo_n "(cached) " >&6 1914else 1915 if test "x$host_alias" = x; then 1916 ac_cv_host=$ac_cv_build 1917else 1918 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1919 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 1920fi 1921 1922fi 1923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1924$as_echo "$ac_cv_host" >&6; } 1925case $ac_cv_host in 1926*-*-*) ;; 1927*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1928esac 1929host=$ac_cv_host 1930ac_save_IFS=$IFS; IFS='-' 1931set x $ac_cv_host 1932shift 1933host_cpu=$1 1934host_vendor=$2 1935shift; shift 1936# Remember, the first character of IFS is used to create $*, 1937# except with old shells: 1938host_os=$* 1939IFS=$ac_save_IFS 1940case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1941 1942 1943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 1944$as_echo_n "checking target system type... " >&6; } 1945if test "${ac_cv_target+set}" = set; then : 1946 $as_echo_n "(cached) " >&6 1947else 1948 if test "x$target_alias" = x; then 1949 ac_cv_target=$ac_cv_host 1950else 1951 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1952 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 1953fi 1954 1955fi 1956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 1957$as_echo "$ac_cv_target" >&6; } 1958case $ac_cv_target in 1959*-*-*) ;; 1960*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1961esac 1962target=$ac_cv_target 1963ac_save_IFS=$IFS; IFS='-' 1964set x $ac_cv_target 1965shift 1966target_cpu=$1 1967target_vendor=$2 1968shift; shift 1969# Remember, the first character of IFS is used to create $*, 1970# except with old shells: 1971target_os=$* 1972IFS=$ac_save_IFS 1973case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1974 1975 1976# The aliases save the names the user supplied, while $host etc. 1977# will get canonicalized. 1978test -n "$target_alias" && 1979 test "$program_prefix$program_suffix$program_transform_name" = \ 1980 NONENONEs,x,x, && 1981 program_prefix=${target_alias}- 1982 1983 case ${build_alias} in 1984 "") build_noncanonical=${build} ;; 1985 *) build_noncanonical=${build_alias} ;; 1986esac 1987 1988 case ${host_alias} in 1989 "") host_noncanonical=${build_noncanonical} ;; 1990 *) host_noncanonical=${host_alias} ;; 1991esac 1992 1993 case ${target_alias} in 1994 "") target_noncanonical=${host_noncanonical} ;; 1995 *) target_noncanonical=${target_alias} ;; 1996esac 1997 1998 1999 2000 2001# Need to pass this down for now :-P 2002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2003$as_echo_n "checking whether ln -s works... " >&6; } 2004LN_S=$as_ln_s 2005if test "$LN_S" = "ln -s"; then 2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2007$as_echo "yes" >&6; } 2008else 2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2010$as_echo "no, using $LN_S" >&6; } 2011fi 2012 2013 2014# Determine what to build for 'gnattools' 2015if test $build = $target ; then 2016 # Note that build=target is almost certainly the wrong test; FIXME 2017 default_gnattools_target="gnattools-native" 2018else 2019 default_gnattools_target="gnattools-cross" 2020fi 2021 2022 2023# Target-specific stuff (defaults) 2024TOOLS_TARGET_PAIRS= 2025 2026EXTRA_GNATTOOLS= 2027 2028 2029# Per-target case statement 2030# ------------------------- 2031case "${target}" in 2032 *-*-aix*) 2033 TOOLS_TARGET_PAIRS="\ 2034 mlib-tgt-specific.adb<mlib-tgt-specific-aix.adb \ 2035 indepsw.adb<indepsw-aix.adb" 2036 ;; 2037 *-*-darwin*) 2038 TOOLS_TARGET_PAIRS="\ 2039 mlib-tgt-specific.adb<mlib-tgt-specific-darwin.adb \ 2040 indepsw.adb<indepsw-darwin.adb" 2041 ;; 2042 *-*-freebsd*) 2043 TOOLS_TARGET_PAIRS="\ 2044 mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ 2045 indepsw.adb<indepsw-gnu.adb" 2046 ;; 2047 *-*-linux*) 2048 TOOLS_TARGET_PAIRS="\ 2049 mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ 2050 indepsw.adb<indepsw-gnu.adb" 2051 ;; 2052 *-*-solaris*) 2053 TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb" 2054 ;; 2055 *-*-vxworks*) 2056 TOOLS_TARGET_PAIRS="\ 2057 mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \ 2058 indepsw.adb<indepsw-gnu.adb" 2059 ;; 2060 hppa*-hp-hpux10*) 2061 ;; 2062 hppa*-hp-hpux11*) 2063 TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-hpux.adb" 2064 ;; 2065 ia64-hp-hpux11*) 2066 TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-ia64-hpux.adb" 2067 ;; 2068 alpha*-*-vms* | alpha*-*-openvms*) 2069 TOOLS_TARGET_PAIRS="\ 2070 mlib-tgt-specific.adb<mlib-tgt-specific-vms-alpha.adb \ 2071 symbols.adb<symbols-vms.adb \ 2072 symbols-processing.adb<symbols-processing-vms-alpha.adb" 2073 EXTRA_GNATTOOLS='../../gnatlbr$(exeext) ../../gnatsym$(exeext)' 2074 ;; 2075 ia64-*-vms* | ia64-*-openvms*) 2076 TOOLS_TARGET_PAIRS="\ 2077 mlib-tgt-specific.adb<mlib-tgt-specific-vms-ia64.adb \ 2078 symbols.adb<symbols-vms.adb \ 2079 symbols-processing.adb<symbols-processing-vms-ia64.adb" 2080 EXTRA_GNATTOOLS='../../gnatlbr$(exeext) ../../gnatsym$(exeext)' 2081 ;; 2082 *-*-cygwin32* | *-*-mingw32* | *-*-pe) 2083 TOOLS_TARGET_PAIRS="\ 2084 mlib-tgt-specific.adb<mlib-tgt-specific-mingw.adb \ 2085 indepsw.adb<indepsw-mingw.adb" 2086 EXTRA_GNATTOOLS='../../gnatdll$(exeext)' 2087 ;; 2088esac 2089 2090# From user or toplevel makefile. 2091 2092 2093ac_ext=c 2094ac_cpp='$CPP $CPPFLAGS' 2095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2097ac_compiler_gnu=$ac_cv_c_compiler_gnu 2098if test -n "$ac_tool_prefix"; then 2099 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2100set dummy ${ac_tool_prefix}gcc; ac_word=$2 2101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2102$as_echo_n "checking for $ac_word... " >&6; } 2103if test "${ac_cv_prog_CC+set}" = set; then : 2104 $as_echo_n "(cached) " >&6 2105else 2106 if test -n "$CC"; then 2107 ac_cv_prog_CC="$CC" # Let the user override the test. 2108else 2109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2110for as_dir in $PATH 2111do 2112 IFS=$as_save_IFS 2113 test -z "$as_dir" && as_dir=. 2114 for ac_exec_ext in '' $ac_executable_extensions; do 2115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2116 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2118 break 2 2119 fi 2120done 2121 done 2122IFS=$as_save_IFS 2123 2124fi 2125fi 2126CC=$ac_cv_prog_CC 2127if test -n "$CC"; then 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2129$as_echo "$CC" >&6; } 2130else 2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2132$as_echo "no" >&6; } 2133fi 2134 2135 2136fi 2137if test -z "$ac_cv_prog_CC"; then 2138 ac_ct_CC=$CC 2139 # Extract the first word of "gcc", so it can be a program name with args. 2140set dummy gcc; ac_word=$2 2141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2142$as_echo_n "checking for $ac_word... " >&6; } 2143if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2144 $as_echo_n "(cached) " >&6 2145else 2146 if test -n "$ac_ct_CC"; then 2147 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2148else 2149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2150for as_dir in $PATH 2151do 2152 IFS=$as_save_IFS 2153 test -z "$as_dir" && as_dir=. 2154 for ac_exec_ext in '' $ac_executable_extensions; do 2155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2156 ac_cv_prog_ac_ct_CC="gcc" 2157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2158 break 2 2159 fi 2160done 2161 done 2162IFS=$as_save_IFS 2163 2164fi 2165fi 2166ac_ct_CC=$ac_cv_prog_ac_ct_CC 2167if test -n "$ac_ct_CC"; then 2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2169$as_echo "$ac_ct_CC" >&6; } 2170else 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2172$as_echo "no" >&6; } 2173fi 2174 2175 if test "x$ac_ct_CC" = x; then 2176 CC="" 2177 else 2178 case $cross_compiling:$ac_tool_warned in 2179yes:) 2180{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2181$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2182ac_tool_warned=yes ;; 2183esac 2184 CC=$ac_ct_CC 2185 fi 2186else 2187 CC="$ac_cv_prog_CC" 2188fi 2189 2190if test -z "$CC"; then 2191 if test -n "$ac_tool_prefix"; then 2192 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2193set dummy ${ac_tool_prefix}cc; ac_word=$2 2194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2195$as_echo_n "checking for $ac_word... " >&6; } 2196if test "${ac_cv_prog_CC+set}" = set; then : 2197 $as_echo_n "(cached) " >&6 2198else 2199 if test -n "$CC"; then 2200 ac_cv_prog_CC="$CC" # Let the user override the test. 2201else 2202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2203for as_dir in $PATH 2204do 2205 IFS=$as_save_IFS 2206 test -z "$as_dir" && as_dir=. 2207 for ac_exec_ext in '' $ac_executable_extensions; do 2208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2209 ac_cv_prog_CC="${ac_tool_prefix}cc" 2210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2211 break 2 2212 fi 2213done 2214 done 2215IFS=$as_save_IFS 2216 2217fi 2218fi 2219CC=$ac_cv_prog_CC 2220if test -n "$CC"; then 2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2222$as_echo "$CC" >&6; } 2223else 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2225$as_echo "no" >&6; } 2226fi 2227 2228 2229 fi 2230fi 2231if test -z "$CC"; then 2232 # Extract the first word of "cc", so it can be a program name with args. 2233set dummy cc; ac_word=$2 2234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2235$as_echo_n "checking for $ac_word... " >&6; } 2236if test "${ac_cv_prog_CC+set}" = set; then : 2237 $as_echo_n "(cached) " >&6 2238else 2239 if test -n "$CC"; then 2240 ac_cv_prog_CC="$CC" # Let the user override the test. 2241else 2242 ac_prog_rejected=no 2243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2244for as_dir in $PATH 2245do 2246 IFS=$as_save_IFS 2247 test -z "$as_dir" && as_dir=. 2248 for ac_exec_ext in '' $ac_executable_extensions; do 2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2250 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2251 ac_prog_rejected=yes 2252 continue 2253 fi 2254 ac_cv_prog_CC="cc" 2255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2256 break 2 2257 fi 2258done 2259 done 2260IFS=$as_save_IFS 2261 2262if test $ac_prog_rejected = yes; then 2263 # We found a bogon in the path, so make sure we never use it. 2264 set dummy $ac_cv_prog_CC 2265 shift 2266 if test $# != 0; then 2267 # We chose a different compiler from the bogus one. 2268 # However, it has the same basename, so the bogon will be chosen 2269 # first if we set CC to just the basename; use the full file name. 2270 shift 2271 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2272 fi 2273fi 2274fi 2275fi 2276CC=$ac_cv_prog_CC 2277if test -n "$CC"; then 2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2279$as_echo "$CC" >&6; } 2280else 2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2282$as_echo "no" >&6; } 2283fi 2284 2285 2286fi 2287if test -z "$CC"; then 2288 if test -n "$ac_tool_prefix"; then 2289 for ac_prog in cl.exe 2290 do 2291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2292set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2294$as_echo_n "checking for $ac_word... " >&6; } 2295if test "${ac_cv_prog_CC+set}" = set; then : 2296 $as_echo_n "(cached) " >&6 2297else 2298 if test -n "$CC"; then 2299 ac_cv_prog_CC="$CC" # Let the user override the test. 2300else 2301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2302for as_dir in $PATH 2303do 2304 IFS=$as_save_IFS 2305 test -z "$as_dir" && as_dir=. 2306 for ac_exec_ext in '' $ac_executable_extensions; do 2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2308 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2310 break 2 2311 fi 2312done 2313 done 2314IFS=$as_save_IFS 2315 2316fi 2317fi 2318CC=$ac_cv_prog_CC 2319if test -n "$CC"; then 2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2321$as_echo "$CC" >&6; } 2322else 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2324$as_echo "no" >&6; } 2325fi 2326 2327 2328 test -n "$CC" && break 2329 done 2330fi 2331if test -z "$CC"; then 2332 ac_ct_CC=$CC 2333 for ac_prog in cl.exe 2334do 2335 # Extract the first word of "$ac_prog", so it can be a program name with args. 2336set dummy $ac_prog; ac_word=$2 2337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2338$as_echo_n "checking for $ac_word... " >&6; } 2339if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2340 $as_echo_n "(cached) " >&6 2341else 2342 if test -n "$ac_ct_CC"; then 2343 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2344else 2345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2346for as_dir in $PATH 2347do 2348 IFS=$as_save_IFS 2349 test -z "$as_dir" && as_dir=. 2350 for ac_exec_ext in '' $ac_executable_extensions; do 2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2352 ac_cv_prog_ac_ct_CC="$ac_prog" 2353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2354 break 2 2355 fi 2356done 2357 done 2358IFS=$as_save_IFS 2359 2360fi 2361fi 2362ac_ct_CC=$ac_cv_prog_ac_ct_CC 2363if test -n "$ac_ct_CC"; then 2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2365$as_echo "$ac_ct_CC" >&6; } 2366else 2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2368$as_echo "no" >&6; } 2369fi 2370 2371 2372 test -n "$ac_ct_CC" && break 2373done 2374 2375 if test "x$ac_ct_CC" = x; then 2376 CC="" 2377 else 2378 case $cross_compiling:$ac_tool_warned in 2379yes:) 2380{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2381$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2382ac_tool_warned=yes ;; 2383esac 2384 CC=$ac_ct_CC 2385 fi 2386fi 2387 2388fi 2389 2390 2391test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2392$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2393as_fn_error "no acceptable C compiler found in \$PATH 2394See \`config.log' for more details." "$LINENO" 5; } 2395 2396# Provide some information about the compiler. 2397$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2398set X $ac_compile 2399ac_compiler=$2 2400for ac_option in --version -v -V -qversion; do 2401 { { ac_try="$ac_compiler $ac_option >&5" 2402case "(($ac_try" in 2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2404 *) ac_try_echo=$ac_try;; 2405esac 2406eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2407$as_echo "$ac_try_echo"; } >&5 2408 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2409 ac_status=$? 2410 if test -s conftest.err; then 2411 sed '10a\ 2412... rest of stderr output deleted ... 2413 10q' conftest.err >conftest.er1 2414 cat conftest.er1 >&5 2415 rm -f conftest.er1 conftest.err 2416 fi 2417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2418 test $ac_status = 0; } 2419done 2420 2421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2422/* end confdefs.h. */ 2423 2424int 2425main () 2426{ 2427 2428 ; 2429 return 0; 2430} 2431_ACEOF 2432ac_clean_files_save=$ac_clean_files 2433ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 2434# Try to create an executable without -o first, disregard a.out. 2435# It will help us diagnose broken compilers, and finding out an intuition 2436# of exeext. 2437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2438$as_echo_n "checking for C compiler default output file name... " >&6; } 2439ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2440 2441# The possible output files: 2442ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2443 2444ac_rmfiles= 2445for ac_file in $ac_files 2446do 2447 case $ac_file in 2448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2449 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2450 esac 2451done 2452rm -f $ac_rmfiles 2453 2454if { { ac_try="$ac_link_default" 2455case "(($ac_try" in 2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2457 *) ac_try_echo=$ac_try;; 2458esac 2459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2460$as_echo "$ac_try_echo"; } >&5 2461 (eval "$ac_link_default") 2>&5 2462 ac_status=$? 2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2464 test $ac_status = 0; }; then : 2465 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2466# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2467# in a Makefile. We should not override ac_cv_exeext if it was cached, 2468# so that the user can short-circuit this test for compilers unknown to 2469# Autoconf. 2470for ac_file in $ac_files '' 2471do 2472 test -f "$ac_file" || continue 2473 case $ac_file in 2474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2475 ;; 2476 [ab].out ) 2477 # We found the default executable, but exeext='' is most 2478 # certainly right. 2479 break;; 2480 *.* ) 2481 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2482 then :; else 2483 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2484 fi 2485 # We set ac_cv_exeext here because the later test for it is not 2486 # safe: cross compilers may not add the suffix if given an `-o' 2487 # argument, so we may need to know it at that point already. 2488 # Even if this section looks crufty: it has the advantage of 2489 # actually working. 2490 break;; 2491 * ) 2492 break;; 2493 esac 2494done 2495test "$ac_cv_exeext" = no && ac_cv_exeext= 2496 2497else 2498 ac_file='' 2499fi 2500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2501$as_echo "$ac_file" >&6; } 2502if test -z "$ac_file"; then : 2503 $as_echo "$as_me: failed program was:" >&5 2504sed 's/^/| /' conftest.$ac_ext >&5 2505 2506{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2508{ as_fn_set_status 77 2509as_fn_error "C compiler cannot create executables 2510See \`config.log' for more details." "$LINENO" 5; }; } 2511fi 2512ac_exeext=$ac_cv_exeext 2513 2514# Check that the compiler produces executables we can run. If not, either 2515# the compiler is broken, or we cross compile. 2516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2517$as_echo_n "checking whether the C compiler works... " >&6; } 2518# If not cross compiling, check that we can run a simple program. 2519if test "$cross_compiling" != yes; then 2520 if { ac_try='./$ac_file' 2521 { { case "(($ac_try" in 2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2523 *) ac_try_echo=$ac_try;; 2524esac 2525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2526$as_echo "$ac_try_echo"; } >&5 2527 (eval "$ac_try") 2>&5 2528 ac_status=$? 2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2530 test $ac_status = 0; }; }; then 2531 cross_compiling=no 2532 else 2533 if test "$cross_compiling" = maybe; then 2534 cross_compiling=yes 2535 else 2536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2538as_fn_error "cannot run C compiled programs. 2539If you meant to cross compile, use \`--host'. 2540See \`config.log' for more details." "$LINENO" 5; } 2541 fi 2542 fi 2543fi 2544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2545$as_echo "yes" >&6; } 2546 2547rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 2548ac_clean_files=$ac_clean_files_save 2549# Check that the compiler produces executables we can run. If not, either 2550# the compiler is broken, or we cross compile. 2551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2552$as_echo_n "checking whether we are cross compiling... " >&6; } 2553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2554$as_echo "$cross_compiling" >&6; } 2555 2556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2557$as_echo_n "checking for suffix of executables... " >&6; } 2558if { { ac_try="$ac_link" 2559case "(($ac_try" in 2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2561 *) ac_try_echo=$ac_try;; 2562esac 2563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2564$as_echo "$ac_try_echo"; } >&5 2565 (eval "$ac_link") 2>&5 2566 ac_status=$? 2567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2568 test $ac_status = 0; }; then : 2569 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2570# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2571# work properly (i.e., refer to `conftest.exe'), while it won't with 2572# `rm'. 2573for ac_file in conftest.exe conftest conftest.*; do 2574 test -f "$ac_file" || continue 2575 case $ac_file in 2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2577 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2578 break;; 2579 * ) break;; 2580 esac 2581done 2582else 2583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2584$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2585as_fn_error "cannot compute suffix of executables: cannot compile and link 2586See \`config.log' for more details." "$LINENO" 5; } 2587fi 2588rm -f conftest$ac_cv_exeext 2589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2590$as_echo "$ac_cv_exeext" >&6; } 2591 2592rm -f conftest.$ac_ext 2593EXEEXT=$ac_cv_exeext 2594ac_exeext=$EXEEXT 2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2596$as_echo_n "checking for suffix of object files... " >&6; } 2597if test "${ac_cv_objext+set}" = set; then : 2598 $as_echo_n "(cached) " >&6 2599else 2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2601/* end confdefs.h. */ 2602 2603int 2604main () 2605{ 2606 2607 ; 2608 return 0; 2609} 2610_ACEOF 2611rm -f conftest.o conftest.obj 2612if { { ac_try="$ac_compile" 2613case "(($ac_try" in 2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2615 *) ac_try_echo=$ac_try;; 2616esac 2617eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2618$as_echo "$ac_try_echo"; } >&5 2619 (eval "$ac_compile") 2>&5 2620 ac_status=$? 2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2622 test $ac_status = 0; }; then : 2623 for ac_file in conftest.o conftest.obj conftest.*; do 2624 test -f "$ac_file" || continue; 2625 case $ac_file in 2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2627 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2628 break;; 2629 esac 2630done 2631else 2632 $as_echo "$as_me: failed program was:" >&5 2633sed 's/^/| /' conftest.$ac_ext >&5 2634 2635{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2636$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2637as_fn_error "cannot compute suffix of object files: cannot compile 2638See \`config.log' for more details." "$LINENO" 5; } 2639fi 2640rm -f conftest.$ac_cv_objext conftest.$ac_ext 2641fi 2642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2643$as_echo "$ac_cv_objext" >&6; } 2644OBJEXT=$ac_cv_objext 2645ac_objext=$OBJEXT 2646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2647$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2648if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2649 $as_echo_n "(cached) " >&6 2650else 2651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2652/* end confdefs.h. */ 2653 2654int 2655main () 2656{ 2657#ifndef __GNUC__ 2658 choke me 2659#endif 2660 2661 ; 2662 return 0; 2663} 2664_ACEOF 2665if ac_fn_c_try_compile "$LINENO"; then : 2666 ac_compiler_gnu=yes 2667else 2668 ac_compiler_gnu=no 2669fi 2670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2671ac_cv_c_compiler_gnu=$ac_compiler_gnu 2672 2673fi 2674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2675$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2676if test $ac_compiler_gnu = yes; then 2677 GCC=yes 2678else 2679 GCC= 2680fi 2681ac_test_CFLAGS=${CFLAGS+set} 2682ac_save_CFLAGS=$CFLAGS 2683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2684$as_echo_n "checking whether $CC accepts -g... " >&6; } 2685if test "${ac_cv_prog_cc_g+set}" = set; then : 2686 $as_echo_n "(cached) " >&6 2687else 2688 ac_save_c_werror_flag=$ac_c_werror_flag 2689 ac_c_werror_flag=yes 2690 ac_cv_prog_cc_g=no 2691 CFLAGS="-g" 2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2693/* end confdefs.h. */ 2694 2695int 2696main () 2697{ 2698 2699 ; 2700 return 0; 2701} 2702_ACEOF 2703if ac_fn_c_try_compile "$LINENO"; then : 2704 ac_cv_prog_cc_g=yes 2705else 2706 CFLAGS="" 2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2708/* end confdefs.h. */ 2709 2710int 2711main () 2712{ 2713 2714 ; 2715 return 0; 2716} 2717_ACEOF 2718if ac_fn_c_try_compile "$LINENO"; then : 2719 2720else 2721 ac_c_werror_flag=$ac_save_c_werror_flag 2722 CFLAGS="-g" 2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2724/* end confdefs.h. */ 2725 2726int 2727main () 2728{ 2729 2730 ; 2731 return 0; 2732} 2733_ACEOF 2734if ac_fn_c_try_compile "$LINENO"; then : 2735 ac_cv_prog_cc_g=yes 2736fi 2737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2738fi 2739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2740fi 2741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2742 ac_c_werror_flag=$ac_save_c_werror_flag 2743fi 2744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2745$as_echo "$ac_cv_prog_cc_g" >&6; } 2746if test "$ac_test_CFLAGS" = set; then 2747 CFLAGS=$ac_save_CFLAGS 2748elif test $ac_cv_prog_cc_g = yes; then 2749 if test "$GCC" = yes; then 2750 CFLAGS="-g -O2" 2751 else 2752 CFLAGS="-g" 2753 fi 2754else 2755 if test "$GCC" = yes; then 2756 CFLAGS="-O2" 2757 else 2758 CFLAGS= 2759 fi 2760fi 2761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2762$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2763if test "${ac_cv_prog_cc_c89+set}" = set; then : 2764 $as_echo_n "(cached) " >&6 2765else 2766 ac_cv_prog_cc_c89=no 2767ac_save_CC=$CC 2768cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2769/* end confdefs.h. */ 2770#include <stdarg.h> 2771#include <stdio.h> 2772#include <sys/types.h> 2773#include <sys/stat.h> 2774/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2775struct buf { int x; }; 2776FILE * (*rcsopen) (struct buf *, struct stat *, int); 2777static char *e (p, i) 2778 char **p; 2779 int i; 2780{ 2781 return p[i]; 2782} 2783static char *f (char * (*g) (char **, int), char **p, ...) 2784{ 2785 char *s; 2786 va_list v; 2787 va_start (v,p); 2788 s = g (p, va_arg (v,int)); 2789 va_end (v); 2790 return s; 2791} 2792 2793/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2794 function prototypes and stuff, but not '\xHH' hex character constants. 2795 These don't provoke an error unfortunately, instead are silently treated 2796 as 'x'. The following induces an error, until -std is added to get 2797 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2798 array size at least. It's necessary to write '\x00'==0 to get something 2799 that's true only with -std. */ 2800int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2801 2802/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2803 inside strings and character constants. */ 2804#define FOO(x) 'x' 2805int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2806 2807int test (int i, double x); 2808struct s1 {int (*f) (int a);}; 2809struct s2 {int (*f) (double a);}; 2810int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2811int argc; 2812char **argv; 2813int 2814main () 2815{ 2816return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2817 ; 2818 return 0; 2819} 2820_ACEOF 2821for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2822 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2823do 2824 CC="$ac_save_CC $ac_arg" 2825 if ac_fn_c_try_compile "$LINENO"; then : 2826 ac_cv_prog_cc_c89=$ac_arg 2827fi 2828rm -f core conftest.err conftest.$ac_objext 2829 test "x$ac_cv_prog_cc_c89" != "xno" && break 2830done 2831rm -f conftest.$ac_ext 2832CC=$ac_save_CC 2833 2834fi 2835# AC_CACHE_VAL 2836case "x$ac_cv_prog_cc_c89" in 2837 x) 2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2839$as_echo "none needed" >&6; } ;; 2840 xno) 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2842$as_echo "unsupported" >&6; } ;; 2843 *) 2844 CC="$CC $ac_cv_prog_cc_c89" 2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2846$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2847esac 2848if test "x$ac_cv_prog_cc_c89" != xno; then : 2849 2850fi 2851 2852ac_ext=c 2853ac_cpp='$CPP $CPPFLAGS' 2854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2856ac_compiler_gnu=$ac_cv_c_compiler_gnu 2857 2858warn_cflags= 2859if test "x$GCC" = "xyes"; then 2860 warn_cflags='$(GCC_WARN_CFLAGS)' 2861fi 2862 2863 2864# Output: create a Makefile. 2865ac_config_files="$ac_config_files Makefile" 2866 2867 2868cat >confcache <<\_ACEOF 2869# This file is a shell script that caches the results of configure 2870# tests run on this system so they can be shared between configure 2871# scripts and configure runs, see configure's option --config-cache. 2872# It is not useful on other systems. If it contains results you don't 2873# want to keep, you may remove or edit it. 2874# 2875# config.status only pays attention to the cache file if you give it 2876# the --recheck option to rerun configure. 2877# 2878# `ac_cv_env_foo' variables (set or unset) will be overridden when 2879# loading this file, other *unset* `ac_cv_foo' will be assigned the 2880# following values. 2881 2882_ACEOF 2883 2884# The following way of writing the cache mishandles newlines in values, 2885# but we know of no workaround that is simple, portable, and efficient. 2886# So, we kill variables containing newlines. 2887# Ultrix sh set writes to stderr and can't be redirected directly, 2888# and sets the high bit in the cache file unless we assign to the vars. 2889( 2890 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 2891 eval ac_val=\$$ac_var 2892 case $ac_val in #( 2893 *${as_nl}*) 2894 case $ac_var in #( 2895 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2896$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2897 esac 2898 case $ac_var in #( 2899 _ | IFS | as_nl) ;; #( 2900 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2901 *) { eval $ac_var=; unset $ac_var;} ;; 2902 esac ;; 2903 esac 2904 done 2905 2906 (set) 2>&1 | 2907 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2908 *${as_nl}ac_space=\ *) 2909 # `set' does not quote correctly, so add quotes: double-quote 2910 # substitution turns \\\\ into \\, and sed turns \\ into \. 2911 sed -n \ 2912 "s/'/'\\\\''/g; 2913 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2914 ;; #( 2915 *) 2916 # `set' quotes correctly as required by POSIX, so do not add quotes. 2917 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2918 ;; 2919 esac | 2920 sort 2921) | 2922 sed ' 2923 /^ac_cv_env_/b end 2924 t clear 2925 :clear 2926 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2927 t end 2928 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2929 :end' >>confcache 2930if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2931 if test -w "$cache_file"; then 2932 test "x$cache_file" != "x/dev/null" && 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 2934$as_echo "$as_me: updating cache $cache_file" >&6;} 2935 cat confcache >$cache_file 2936 else 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 2938$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 2939 fi 2940fi 2941rm -f confcache 2942 2943test "x$prefix" = xNONE && prefix=$ac_default_prefix 2944# Let make expand exec_prefix. 2945test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2946 2947# Transform confdefs.h into DEFS. 2948# Protect against shell expansion while executing Makefile rules. 2949# Protect against Makefile macro expansion. 2950# 2951# If the first sed substitution is executed (which looks for macros that 2952# take arguments), then branch to the quote section. Otherwise, 2953# look for a macro that doesn't take arguments. 2954ac_script=' 2955:mline 2956/\\$/{ 2957 N 2958 s,\\\n,, 2959 b mline 2960} 2961t clear 2962:clear 2963s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 2964t quote 2965s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 2966t quote 2967b any 2968:quote 2969s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 2970s/\[/\\&/g 2971s/\]/\\&/g 2972s/\$/$$/g 2973H 2974:any 2975${ 2976 g 2977 s/^\n// 2978 s/\n/ /g 2979 p 2980} 2981' 2982DEFS=`sed -n "$ac_script" confdefs.h` 2983 2984 2985ac_libobjs= 2986ac_ltlibobjs= 2987for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2988 # 1. Remove the extension, and $U if already installed. 2989 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 2990 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 2991 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2992 # will be set to the directory where LIBOBJS objects are built. 2993 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2994 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 2995done 2996LIBOBJS=$ac_libobjs 2997 2998LTLIBOBJS=$ac_ltlibobjs 2999 3000 3001 3002: ${CONFIG_STATUS=./config.status} 3003ac_write_fail=0 3004ac_clean_files_save=$ac_clean_files 3005ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3006{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3007$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3008as_write_fail=0 3009cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3010#! $SHELL 3011# Generated by $as_me. 3012# Run this file to recreate the current configuration. 3013# Compiler output produced by configure, useful for debugging 3014# configure, is in config.log if it exists. 3015 3016debug=false 3017ac_cs_recheck=false 3018ac_cs_silent=false 3019 3020SHELL=\${CONFIG_SHELL-$SHELL} 3021export SHELL 3022_ASEOF 3023cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3024## -------------------- ## 3025## M4sh Initialization. ## 3026## -------------------- ## 3027 3028# Be more Bourne compatible 3029DUALCASE=1; export DUALCASE # for MKS sh 3030if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3031 emulate sh 3032 NULLCMD=: 3033 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3034 # is contrary to our usage. Disable this feature. 3035 alias -g '${1+"$@"}'='"$@"' 3036 setopt NO_GLOB_SUBST 3037else 3038 case `(set -o) 2>/dev/null` in #( 3039 *posix*) : 3040 set -o posix ;; #( 3041 *) : 3042 ;; 3043esac 3044fi 3045 3046 3047as_nl=' 3048' 3049export as_nl 3050# Printing a long string crashes Solaris 7 /usr/bin/printf. 3051as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3052as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3053as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3054# Prefer a ksh shell builtin over an external printf program on Solaris, 3055# but without wasting forks for bash or zsh. 3056if test -z "$BASH_VERSION$ZSH_VERSION" \ 3057 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3058 as_echo='print -r --' 3059 as_echo_n='print -rn --' 3060elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3061 as_echo='printf %s\n' 3062 as_echo_n='printf %s' 3063else 3064 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3065 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3066 as_echo_n='/usr/ucb/echo -n' 3067 else 3068 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3069 as_echo_n_body='eval 3070 arg=$1; 3071 case $arg in #( 3072 *"$as_nl"*) 3073 expr "X$arg" : "X\\(.*\\)$as_nl"; 3074 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3075 esac; 3076 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3077 ' 3078 export as_echo_n_body 3079 as_echo_n='sh -c $as_echo_n_body as_echo' 3080 fi 3081 export as_echo_body 3082 as_echo='sh -c $as_echo_body as_echo' 3083fi 3084 3085# The user is always right. 3086if test "${PATH_SEPARATOR+set}" != set; then 3087 PATH_SEPARATOR=: 3088 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3089 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3090 PATH_SEPARATOR=';' 3091 } 3092fi 3093 3094 3095# IFS 3096# We need space, tab and new line, in precisely that order. Quoting is 3097# there to prevent editors from complaining about space-tab. 3098# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3099# splitting by setting IFS to empty value.) 3100IFS=" "" $as_nl" 3101 3102# Find who we are. Look in the path if we contain no directory separator. 3103case $0 in #(( 3104 *[\\/]* ) as_myself=$0 ;; 3105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3106for as_dir in $PATH 3107do 3108 IFS=$as_save_IFS 3109 test -z "$as_dir" && as_dir=. 3110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3111 done 3112IFS=$as_save_IFS 3113 3114 ;; 3115esac 3116# We did not find ourselves, most probably we were run as `sh COMMAND' 3117# in which case we are not to be found in the path. 3118if test "x$as_myself" = x; then 3119 as_myself=$0 3120fi 3121if test ! -f "$as_myself"; then 3122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3123 exit 1 3124fi 3125 3126# Unset variables that we do not need and which cause bugs (e.g. in 3127# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3128# suppresses any "Segmentation fault" message there. '((' could 3129# trigger a bug in pdksh 5.2.14. 3130for as_var in BASH_ENV ENV MAIL MAILPATH 3131do eval test x\${$as_var+set} = xset \ 3132 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3133done 3134PS1='$ ' 3135PS2='> ' 3136PS4='+ ' 3137 3138# NLS nuisances. 3139LC_ALL=C 3140export LC_ALL 3141LANGUAGE=C 3142export LANGUAGE 3143 3144# CDPATH. 3145(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3146 3147 3148# as_fn_error ERROR [LINENO LOG_FD] 3149# --------------------------------- 3150# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3151# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3152# script with status $?, using 1 if that was 0. 3153as_fn_error () 3154{ 3155 as_status=$?; test $as_status -eq 0 && as_status=1 3156 if test "$3"; then 3157 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3158 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 3159 fi 3160 $as_echo "$as_me: error: $1" >&2 3161 as_fn_exit $as_status 3162} # as_fn_error 3163 3164 3165# as_fn_set_status STATUS 3166# ----------------------- 3167# Set $? to STATUS, without forking. 3168as_fn_set_status () 3169{ 3170 return $1 3171} # as_fn_set_status 3172 3173# as_fn_exit STATUS 3174# ----------------- 3175# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3176as_fn_exit () 3177{ 3178 set +e 3179 as_fn_set_status $1 3180 exit $1 3181} # as_fn_exit 3182 3183# as_fn_unset VAR 3184# --------------- 3185# Portably unset VAR. 3186as_fn_unset () 3187{ 3188 { eval $1=; unset $1;} 3189} 3190as_unset=as_fn_unset 3191# as_fn_append VAR VALUE 3192# ---------------------- 3193# Append the text in VALUE to the end of the definition contained in VAR. Take 3194# advantage of any shell optimizations that allow amortized linear growth over 3195# repeated appends, instead of the typical quadratic growth present in naive 3196# implementations. 3197if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3198 eval 'as_fn_append () 3199 { 3200 eval $1+=\$2 3201 }' 3202else 3203 as_fn_append () 3204 { 3205 eval $1=\$$1\$2 3206 } 3207fi # as_fn_append 3208 3209# as_fn_arith ARG... 3210# ------------------ 3211# Perform arithmetic evaluation on the ARGs, and store the result in the 3212# global $as_val. Take advantage of shells that can avoid forks. The arguments 3213# must be portable across $(()) and expr. 3214if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3215 eval 'as_fn_arith () 3216 { 3217 as_val=$(( $* )) 3218 }' 3219else 3220 as_fn_arith () 3221 { 3222 as_val=`expr "$@" || test $? -eq 1` 3223 } 3224fi # as_fn_arith 3225 3226 3227if expr a : '\(a\)' >/dev/null 2>&1 && 3228 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3229 as_expr=expr 3230else 3231 as_expr=false 3232fi 3233 3234if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3235 as_basename=basename 3236else 3237 as_basename=false 3238fi 3239 3240if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3241 as_dirname=dirname 3242else 3243 as_dirname=false 3244fi 3245 3246as_me=`$as_basename -- "$0" || 3247$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3248 X"$0" : 'X\(//\)$' \| \ 3249 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3250$as_echo X/"$0" | 3251 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3252 s//\1/ 3253 q 3254 } 3255 /^X\/\(\/\/\)$/{ 3256 s//\1/ 3257 q 3258 } 3259 /^X\/\(\/\).*/{ 3260 s//\1/ 3261 q 3262 } 3263 s/.*/./; q'` 3264 3265# Avoid depending upon Character Ranges. 3266as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3267as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3268as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3269as_cr_digits='0123456789' 3270as_cr_alnum=$as_cr_Letters$as_cr_digits 3271 3272ECHO_C= ECHO_N= ECHO_T= 3273case `echo -n x` in #((((( 3274-n*) 3275 case `echo 'xy\c'` in 3276 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3277 xy) ECHO_C='\c';; 3278 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3279 ECHO_T=' ';; 3280 esac;; 3281*) 3282 ECHO_N='-n';; 3283esac 3284 3285rm -f conf$$ conf$$.exe conf$$.file 3286if test -d conf$$.dir; then 3287 rm -f conf$$.dir/conf$$.file 3288else 3289 rm -f conf$$.dir 3290 mkdir conf$$.dir 2>/dev/null 3291fi 3292if (echo >conf$$.file) 2>/dev/null; then 3293 if ln -s conf$$.file conf$$ 2>/dev/null; then 3294 as_ln_s='ln -s' 3295 # ... but there are two gotchas: 3296 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3297 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3298 # In both cases, we have to default to `cp -p'. 3299 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3300 as_ln_s='cp -p' 3301 elif ln conf$$.file conf$$ 2>/dev/null; then 3302 as_ln_s=ln 3303 else 3304 as_ln_s='cp -p' 3305 fi 3306else 3307 as_ln_s='cp -p' 3308fi 3309rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3310rmdir conf$$.dir 2>/dev/null 3311 3312 3313# as_fn_mkdir_p 3314# ------------- 3315# Create "$as_dir" as a directory, including parents if necessary. 3316as_fn_mkdir_p () 3317{ 3318 3319 case $as_dir in #( 3320 -*) as_dir=./$as_dir;; 3321 esac 3322 test -d "$as_dir" || eval $as_mkdir_p || { 3323 as_dirs= 3324 while :; do 3325 case $as_dir in #( 3326 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3327 *) as_qdir=$as_dir;; 3328 esac 3329 as_dirs="'$as_qdir' $as_dirs" 3330 as_dir=`$as_dirname -- "$as_dir" || 3331$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3332 X"$as_dir" : 'X\(//\)[^/]' \| \ 3333 X"$as_dir" : 'X\(//\)$' \| \ 3334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3335$as_echo X"$as_dir" | 3336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3337 s//\1/ 3338 q 3339 } 3340 /^X\(\/\/\)[^/].*/{ 3341 s//\1/ 3342 q 3343 } 3344 /^X\(\/\/\)$/{ 3345 s//\1/ 3346 q 3347 } 3348 /^X\(\/\).*/{ 3349 s//\1/ 3350 q 3351 } 3352 s/.*/./; q'` 3353 test -d "$as_dir" && break 3354 done 3355 test -z "$as_dirs" || eval "mkdir $as_dirs" 3356 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 3357 3358 3359} # as_fn_mkdir_p 3360if mkdir -p . 2>/dev/null; then 3361 as_mkdir_p='mkdir -p "$as_dir"' 3362else 3363 test -d ./-p && rmdir ./-p 3364 as_mkdir_p=false 3365fi 3366 3367if test -x / >/dev/null 2>&1; then 3368 as_test_x='test -x' 3369else 3370 if ls -dL / >/dev/null 2>&1; then 3371 as_ls_L_option=L 3372 else 3373 as_ls_L_option= 3374 fi 3375 as_test_x=' 3376 eval sh -c '\'' 3377 if test -d "$1"; then 3378 test -d "$1/."; 3379 else 3380 case $1 in #( 3381 -*)set "./$1";; 3382 esac; 3383 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 3384 ???[sx]*):;;*)false;;esac;fi 3385 '\'' sh 3386 ' 3387fi 3388as_executable_p=$as_test_x 3389 3390# Sed expression to map a string onto a valid CPP name. 3391as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3392 3393# Sed expression to map a string onto a valid variable name. 3394as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3395 3396 3397exec 6>&1 3398## ----------------------------------- ## 3399## Main body of $CONFIG_STATUS script. ## 3400## ----------------------------------- ## 3401_ASEOF 3402test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3403 3404cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3405# Save the log message, to keep $0 and so on meaningful, and to 3406# report actual input values of CONFIG_FILES etc. instead of their 3407# values after options handling. 3408ac_log=" 3409This file was extended by $as_me, which was 3410generated by GNU Autoconf 2.64. Invocation command line was 3411 3412 CONFIG_FILES = $CONFIG_FILES 3413 CONFIG_HEADERS = $CONFIG_HEADERS 3414 CONFIG_LINKS = $CONFIG_LINKS 3415 CONFIG_COMMANDS = $CONFIG_COMMANDS 3416 $ $0 $@ 3417 3418on `(hostname || uname -n) 2>/dev/null | sed 1q` 3419" 3420 3421_ACEOF 3422 3423case $ac_config_files in *" 3424"*) set x $ac_config_files; shift; ac_config_files=$*;; 3425esac 3426 3427 3428 3429cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3430# Files that config.status was made for. 3431config_files="$ac_config_files" 3432 3433_ACEOF 3434 3435cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3436ac_cs_usage="\ 3437\`$as_me' instantiates files and other configuration actions 3438from templates according to the current configuration. Unless the files 3439and actions are specified as TAGs, all are instantiated by default. 3440 3441Usage: $0 [OPTION]... [TAG]... 3442 3443 -h, --help print this help, then exit 3444 -V, --version print version number and configuration settings, then exit 3445 -q, --quiet, --silent 3446 do not print progress messages 3447 -d, --debug don't remove temporary files 3448 --recheck update $as_me by reconfiguring in the same conditions 3449 --file=FILE[:TEMPLATE] 3450 instantiate the configuration file FILE 3451 3452Configuration files: 3453$config_files 3454 3455Report bugs to the package provider." 3456 3457_ACEOF 3458cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3459ac_cs_version="\\ 3460config.status 3461configured by $0, generated by GNU Autoconf 2.64, 3462 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 3463 3464Copyright (C) 2009 Free Software Foundation, Inc. 3465This config.status script is free software; the Free Software Foundation 3466gives unlimited permission to copy, distribute and modify it." 3467 3468ac_pwd='$ac_pwd' 3469srcdir='$srcdir' 3470INSTALL='$INSTALL' 3471test -n "\$AWK" || AWK=awk 3472_ACEOF 3473 3474cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3475# The default lists apply if the user does not specify any file. 3476ac_need_defaults=: 3477while test $# != 0 3478do 3479 case $1 in 3480 --*=*) 3481 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3482 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3483 ac_shift=: 3484 ;; 3485 *) 3486 ac_option=$1 3487 ac_optarg=$2 3488 ac_shift=shift 3489 ;; 3490 esac 3491 3492 case $ac_option in 3493 # Handling of the options. 3494 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3495 ac_cs_recheck=: ;; 3496 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3497 $as_echo "$ac_cs_version"; exit ;; 3498 --debug | --debu | --deb | --de | --d | -d ) 3499 debug=: ;; 3500 --file | --fil | --fi | --f ) 3501 $ac_shift 3502 case $ac_optarg in 3503 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3504 esac 3505 as_fn_append CONFIG_FILES " '$ac_optarg'" 3506 ac_need_defaults=false;; 3507 --he | --h | --help | --hel | -h ) 3508 $as_echo "$ac_cs_usage"; exit ;; 3509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3510 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3511 ac_cs_silent=: ;; 3512 3513 # This is an error. 3514 -*) as_fn_error "unrecognized option: \`$1' 3515Try \`$0 --help' for more information." ;; 3516 3517 *) as_fn_append ac_config_targets " $1" 3518 ac_need_defaults=false ;; 3519 3520 esac 3521 shift 3522done 3523 3524ac_configure_extra_args= 3525 3526if $ac_cs_silent; then 3527 exec 6>/dev/null 3528 ac_configure_extra_args="$ac_configure_extra_args --silent" 3529fi 3530 3531_ACEOF 3532cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3533if \$ac_cs_recheck; then 3534 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3535 shift 3536 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3537 CONFIG_SHELL='$SHELL' 3538 export CONFIG_SHELL 3539 exec "\$@" 3540fi 3541 3542_ACEOF 3543cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3544exec 5>>config.log 3545{ 3546 echo 3547 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3548## Running $as_me. ## 3549_ASBOX 3550 $as_echo "$ac_log" 3551} >&5 3552 3553_ACEOF 3554cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3555_ACEOF 3556 3557cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3558 3559# Handling of arguments. 3560for ac_config_target in $ac_config_targets 3561do 3562 case $ac_config_target in 3563 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3564 3565 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3566 esac 3567done 3568 3569 3570# If the user did not use the arguments to specify the items to instantiate, 3571# then the envvar interface is used. Set only those that are not. 3572# We use the long form for the default assignment because of an extremely 3573# bizarre bug on SunOS 4.1.3. 3574if $ac_need_defaults; then 3575 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3576fi 3577 3578# Have a temporary directory for convenience. Make it in the build tree 3579# simply because there is no reason against having it here, and in addition, 3580# creating and moving files from /tmp can sometimes cause problems. 3581# Hook for its removal unless debugging. 3582# Note that there is a small window in which the directory will not be cleaned: 3583# after its creation but before its name has been assigned to `$tmp'. 3584$debug || 3585{ 3586 tmp= 3587 trap 'exit_status=$? 3588 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3589' 0 3590 trap 'as_fn_exit 1' 1 2 13 15 3591} 3592# Create a (secure) tmp directory for tmp files. 3593 3594{ 3595 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3596 test -n "$tmp" && test -d "$tmp" 3597} || 3598{ 3599 tmp=./conf$$-$RANDOM 3600 (umask 077 && mkdir "$tmp") 3601} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 3602 3603# Set up the scripts for CONFIG_FILES section. 3604# No need to generate them if there are no CONFIG_FILES. 3605# This happens for instance with `./config.status config.h'. 3606if test -n "$CONFIG_FILES"; then 3607 3608 3609ac_cr=`echo X | tr X '\015'` 3610# On cygwin, bash can eat \r inside `` if the user requested igncr. 3611# But we know of no other shell where ac_cr would be empty at this 3612# point, so we can use a bashism as a fallback. 3613if test "x$ac_cr" = x; then 3614 eval ac_cr=\$\'\\r\' 3615fi 3616ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3617if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3618 ac_cs_awk_cr='\r' 3619else 3620 ac_cs_awk_cr=$ac_cr 3621fi 3622 3623echo 'BEGIN {' >"$tmp/subs1.awk" && 3624_ACEOF 3625 3626 3627{ 3628 echo "cat >conf$$subs.awk <<_ACEOF" && 3629 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3630 echo "_ACEOF" 3631} >conf$$subs.sh || 3632 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 3633ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 3634ac_delim='%!_!# ' 3635for ac_last_try in false false false false false :; do 3636 . ./conf$$subs.sh || 3637 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 3638 3639 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3640 if test $ac_delim_n = $ac_delim_num; then 3641 break 3642 elif $ac_last_try; then 3643 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 3644 else 3645 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3646 fi 3647done 3648rm -f conf$$subs.sh 3649 3650cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3651cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 3652_ACEOF 3653sed -n ' 3654h 3655s/^/S["/; s/!.*/"]=/ 3656p 3657g 3658s/^[^!]*!// 3659:repl 3660t repl 3661s/'"$ac_delim"'$// 3662t delim 3663:nl 3664h 3665s/\(.\{148\}\).*/\1/ 3666t more1 3667s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3668p 3669n 3670b repl 3671:more1 3672s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3673p 3674g 3675s/.\{148\}// 3676t nl 3677:delim 3678h 3679s/\(.\{148\}\).*/\1/ 3680t more2 3681s/["\\]/\\&/g; s/^/"/; s/$/"/ 3682p 3683b 3684:more2 3685s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3686p 3687g 3688s/.\{148\}// 3689t delim 3690' <conf$$subs.awk | sed ' 3691/^[^""]/{ 3692 N 3693 s/\n// 3694} 3695' >>$CONFIG_STATUS || ac_write_fail=1 3696rm -f conf$$subs.awk 3697cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3698_ACAWK 3699cat >>"\$tmp/subs1.awk" <<_ACAWK && 3700 for (key in S) S_is_set[key] = 1 3701 FS = "" 3702 3703} 3704{ 3705 line = $ 0 3706 nfields = split(line, field, "@") 3707 substed = 0 3708 len = length(field[1]) 3709 for (i = 2; i < nfields; i++) { 3710 key = field[i] 3711 keylen = length(key) 3712 if (S_is_set[key]) { 3713 value = S[key] 3714 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3715 len += length(value) + length(field[++i]) 3716 substed = 1 3717 } else 3718 len += 1 + keylen 3719 } 3720 3721 print line 3722} 3723 3724_ACAWK 3725_ACEOF 3726cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3727if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3728 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3729else 3730 cat 3731fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 3732 || as_fn_error "could not setup config files machinery" "$LINENO" 5 3733_ACEOF 3734 3735# VPATH may cause trouble with some makes, so we remove $(srcdir), 3736# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3737# trailing colons and then remove the whole line if VPATH becomes empty 3738# (actually we leave an empty line to preserve line numbers). 3739if test "x$srcdir" = x.; then 3740 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3741s/:*\$(srcdir):*/:/ 3742s/:*\${srcdir}:*/:/ 3743s/:*@srcdir@:*/:/ 3744s/^\([^=]*=[ ]*\):*/\1/ 3745s/:*$// 3746s/^[^=]*=[ ]*$// 3747}' 3748fi 3749 3750cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3751fi # test -n "$CONFIG_FILES" 3752 3753 3754eval set X " :F $CONFIG_FILES " 3755shift 3756for ac_tag 3757do 3758 case $ac_tag in 3759 :[FHLC]) ac_mode=$ac_tag; continue;; 3760 esac 3761 case $ac_mode$ac_tag in 3762 :[FHL]*:*);; 3763 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 3764 :[FH]-) ac_tag=-:-;; 3765 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3766 esac 3767 ac_save_IFS=$IFS 3768 IFS=: 3769 set x $ac_tag 3770 IFS=$ac_save_IFS 3771 shift 3772 ac_file=$1 3773 shift 3774 3775 case $ac_mode in 3776 :L) ac_source=$1;; 3777 :[FH]) 3778 ac_file_inputs= 3779 for ac_f 3780 do 3781 case $ac_f in 3782 -) ac_f="$tmp/stdin";; 3783 *) # Look for the file first in the build tree, then in the source tree 3784 # (if the path is not absolute). The absolute path cannot be DOS-style, 3785 # because $ac_f cannot contain `:'. 3786 test -f "$ac_f" || 3787 case $ac_f in 3788 [\\/$]*) false;; 3789 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3790 esac || 3791 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 3792 esac 3793 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3794 as_fn_append ac_file_inputs " '$ac_f'" 3795 done 3796 3797 # Let's still pretend it is `configure' which instantiates (i.e., don't 3798 # use $as_me), people would be surprised to read: 3799 # /* config.h. Generated by config.status. */ 3800 configure_input='Generated from '` 3801 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 3802 `' by configure.' 3803 if test x"$ac_file" != x-; then 3804 configure_input="$ac_file. $configure_input" 3805 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 3806$as_echo "$as_me: creating $ac_file" >&6;} 3807 fi 3808 # Neutralize special characters interpreted by sed in replacement strings. 3809 case $configure_input in #( 3810 *\&* | *\|* | *\\* ) 3811 ac_sed_conf_input=`$as_echo "$configure_input" | 3812 sed 's/[\\\\&|]/\\\\&/g'`;; #( 3813 *) ac_sed_conf_input=$configure_input;; 3814 esac 3815 3816 case $ac_tag in 3817 *:-:* | *:-) cat >"$tmp/stdin" \ 3818 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 3819 esac 3820 ;; 3821 esac 3822 3823 ac_dir=`$as_dirname -- "$ac_file" || 3824$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3825 X"$ac_file" : 'X\(//\)[^/]' \| \ 3826 X"$ac_file" : 'X\(//\)$' \| \ 3827 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3828$as_echo X"$ac_file" | 3829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3830 s//\1/ 3831 q 3832 } 3833 /^X\(\/\/\)[^/].*/{ 3834 s//\1/ 3835 q 3836 } 3837 /^X\(\/\/\)$/{ 3838 s//\1/ 3839 q 3840 } 3841 /^X\(\/\).*/{ 3842 s//\1/ 3843 q 3844 } 3845 s/.*/./; q'` 3846 as_dir="$ac_dir"; as_fn_mkdir_p 3847 ac_builddir=. 3848 3849case "$ac_dir" in 3850.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3851*) 3852 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 3853 # A ".." for each directory in $ac_dir_suffix. 3854 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 3855 case $ac_top_builddir_sub in 3856 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3857 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3858 esac ;; 3859esac 3860ac_abs_top_builddir=$ac_pwd 3861ac_abs_builddir=$ac_pwd$ac_dir_suffix 3862# for backward compatibility: 3863ac_top_builddir=$ac_top_build_prefix 3864 3865case $srcdir in 3866 .) # We are building in place. 3867 ac_srcdir=. 3868 ac_top_srcdir=$ac_top_builddir_sub 3869 ac_abs_top_srcdir=$ac_pwd ;; 3870 [\\/]* | ?:[\\/]* ) # Absolute name. 3871 ac_srcdir=$srcdir$ac_dir_suffix; 3872 ac_top_srcdir=$srcdir 3873 ac_abs_top_srcdir=$srcdir ;; 3874 *) # Relative name. 3875 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3876 ac_top_srcdir=$ac_top_build_prefix$srcdir 3877 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3878esac 3879ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3880 3881 3882 case $ac_mode in 3883 :F) 3884 # 3885 # CONFIG_FILE 3886 # 3887 3888 case $INSTALL in 3889 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3890 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 3891 esac 3892_ACEOF 3893 3894cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3895# If the template does not know about datarootdir, expand it. 3896# FIXME: This hack should be removed a few years after 2.60. 3897ac_datarootdir_hack=; ac_datarootdir_seen= 3898ac_sed_dataroot=' 3899/datarootdir/ { 3900 p 3901 q 3902} 3903/@datadir@/p 3904/@docdir@/p 3905/@infodir@/p 3906/@localedir@/p 3907/@mandir@/p' 3908case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 3909*datarootdir*) ac_datarootdir_seen=yes;; 3910*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3912$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3913_ACEOF 3914cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3915 ac_datarootdir_hack=' 3916 s&@datadir@&$datadir&g 3917 s&@docdir@&$docdir&g 3918 s&@infodir@&$infodir&g 3919 s&@localedir@&$localedir&g 3920 s&@mandir@&$mandir&g 3921 s&\\\${datarootdir}&$datarootdir&g' ;; 3922esac 3923_ACEOF 3924 3925# Neutralize VPATH when `$srcdir' = `.'. 3926# Shell code in configure.ac might set extrasub. 3927# FIXME: do we really want to maintain this feature? 3928cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3929ac_sed_extra="$ac_vpsub 3930$extrasub 3931_ACEOF 3932cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3933:t 3934/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3935s|@configure_input@|$ac_sed_conf_input|;t t 3936s&@top_builddir@&$ac_top_builddir_sub&;t t 3937s&@top_build_prefix@&$ac_top_build_prefix&;t t 3938s&@srcdir@&$ac_srcdir&;t t 3939s&@abs_srcdir@&$ac_abs_srcdir&;t t 3940s&@top_srcdir@&$ac_top_srcdir&;t t 3941s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 3942s&@builddir@&$ac_builddir&;t t 3943s&@abs_builddir@&$ac_abs_builddir&;t t 3944s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 3945s&@INSTALL@&$ac_INSTALL&;t t 3946$ac_datarootdir_hack 3947" 3948eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 3949 || as_fn_error "could not create $ac_file" "$LINENO" 5 3950 3951test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 3952 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 3953 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3955which seems to be undefined. Please make sure it is defined." >&5 3956$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3957which seems to be undefined. Please make sure it is defined." >&2;} 3958 3959 rm -f "$tmp/stdin" 3960 case $ac_file in 3961 -) cat "$tmp/out" && rm -f "$tmp/out";; 3962 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 3963 esac \ 3964 || as_fn_error "could not create $ac_file" "$LINENO" 5 3965 ;; 3966 3967 3968 3969 esac 3970 3971done # for ac_tag 3972 3973 3974as_fn_exit 0 3975_ACEOF 3976ac_clean_files=$ac_clean_files_save 3977 3978test $ac_write_fail = 0 || 3979 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 3980 3981 3982# configure is writing to config.log, and then calls config.status. 3983# config.status does its own redirection, appending to config.log. 3984# Unfortunately, on DOS this fails, as config.log is still kept open 3985# by configure, so config.status won't be able to write to it; its 3986# output is simply discarded. So we exec the FD to /dev/null, 3987# effectively closing config.log, so it can be properly (re)opened and 3988# appended to by config.status. When coming back to configure, we 3989# need to make the FD available again. 3990if test "$no_create" != yes; then 3991 ac_cs_success=: 3992 ac_config_status_args= 3993 test "$silent" = yes && 3994 ac_config_status_args="$ac_config_status_args --quiet" 3995 exec 5>/dev/null 3996 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3997 exec 5>>config.log 3998 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3999 # would make configure fail if this is the last instruction. 4000 $ac_cs_success || as_fn_exit $? 4001fi 4002if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4004$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4005fi 4006 4007