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