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