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