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