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