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