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