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