1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.59 for libmudflap 1.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='libmudflap' 269PACKAGE_TARNAME='libmudflap' 270PACKAGE_VERSION='1.0' 271PACKAGE_STRING='libmudflap 1.0' 272PACKAGE_BUGREPORT='' 273 274ac_unique_file="mf-runtime.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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS EGREP LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE build_libmudflapth toolexecdir toolexeclibdir NM ac_ct_NM SECTION_FLAGS 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_CPP_set=${CPP+set} 754ac_env_CPP_value=$CPP 755ac_cv_env_CPP_set=${CPP+set} 756ac_cv_env_CPP_value=$CPP 757ac_env_CPPFLAGS_set=${CPPFLAGS+set} 758ac_env_CPPFLAGS_value=$CPPFLAGS 759ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 760ac_cv_env_CPPFLAGS_value=$CPPFLAGS 761 762# 763# Report the --help message. 764# 765if test "$ac_init_help" = "long"; then 766 # Omit some internal or obsolete options to make the list less imposing. 767 # This message is too long to be a string in the A/UX 3.1 sh. 768 cat <<_ACEOF 769\`configure' configures libmudflap 1.0 to adapt to many kinds of systems. 770 771Usage: $0 [OPTION]... [VAR=VALUE]... 772 773To assign environment variables (e.g., CC, CFLAGS...), specify them as 774VAR=VALUE. See below for descriptions of some of the useful variables. 775 776Defaults for the options are specified in brackets. 777 778Configuration: 779 -h, --help display this help and exit 780 --help=short display options specific to this package 781 --help=recursive display the short help of all the included packages 782 -V, --version display version information and exit 783 -q, --quiet, --silent do not print \`checking...' messages 784 --cache-file=FILE cache test results in FILE [disabled] 785 -C, --config-cache alias for \`--cache-file=config.cache' 786 -n, --no-create do not create output files 787 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 788 789_ACEOF 790 791 cat <<_ACEOF 792Installation directories: 793 --prefix=PREFIX install architecture-independent files in PREFIX 794 [$ac_default_prefix] 795 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 796 [PREFIX] 797 798By default, \`make install' will install all the files in 799\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 800an installation prefix other than \`$ac_default_prefix' using \`--prefix', 801for instance \`--prefix=\$HOME'. 802 803For better control, use the options below. 804 805Fine tuning of the installation directories: 806 --bindir=DIR user executables [EPREFIX/bin] 807 --sbindir=DIR system admin executables [EPREFIX/sbin] 808 --libexecdir=DIR program executables [EPREFIX/libexec] 809 --datadir=DIR read-only architecture-independent data [PREFIX/share] 810 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 811 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 812 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 813 --libdir=DIR object code libraries [EPREFIX/lib] 814 --includedir=DIR C header files [PREFIX/include] 815 --oldincludedir=DIR C header files for non-gcc [/usr/include] 816 --infodir=DIR info documentation [PREFIX/info] 817 --mandir=DIR man documentation [PREFIX/man] 818_ACEOF 819 820 cat <<\_ACEOF 821 822Program names: 823 --program-prefix=PREFIX prepend PREFIX to installed program names 824 --program-suffix=SUFFIX append SUFFIX to installed program names 825 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 826 827System types: 828 --build=BUILD configure for building on BUILD [guessed] 829 --host=HOST cross-compile to build programs to run on HOST [BUILD] 830 --target=TARGET configure for building compilers for TARGET [HOST] 831_ACEOF 832fi 833 834if test -n "$ac_init_help"; then 835 case $ac_init_help in 836 short | recursive ) echo "Configuration of libmudflap 1.0:";; 837 esac 838 cat <<\_ACEOF 839 840Optional Features: 841 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 842 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 843 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory 844 --enable-maintainer-mode enable make rules and dependencies not useful 845 (and sometimes confusing) to the casual installer 846 --enable-multilib build many library versions (default) 847 --disable-dependency-tracking speeds up one-time build 848 --enable-dependency-tracking do not reject slow dependency extractors 849 --enable-shared=PKGS build shared libraries default=yes 850 --enable-static=PKGS build static libraries default=yes 851 --enable-fast-install=PKGS optimize for fast installation default=yes 852 --disable-libtool-lock avoid locking (might break parallel builds) 853 --enable-tls Use thread-local storage [default=yes] 854 855Optional Packages: 856 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 857 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 858 --with-gnu-ld assume the C compiler uses GNU ld default=no 859 --with-pic try to use only PIC/non-PIC objects default=use both 860 861Some influential environment variables: 862 CC C compiler command 863 CFLAGS C compiler flags 864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 865 nonstandard directory <lib dir> 866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 867 headers in a nonstandard directory <include dir> 868 CPP C preprocessor 869 870Use these variables to override the choices made by `configure' or to help 871it to find libraries and programs with nonstandard names/locations. 872 873_ACEOF 874fi 875 876if test "$ac_init_help" = "recursive"; then 877 # If there are subdirs, report their specific --help. 878 ac_popdir=`pwd` 879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 880 test -d $ac_dir || continue 881 ac_builddir=. 882 883if test "$ac_dir" != .; then 884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 885 # A "../" for each directory in $ac_dir_suffix. 886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 887else 888 ac_dir_suffix= ac_top_builddir= 889fi 890 891case $srcdir in 892 .) # No --srcdir option. We are building in place. 893 ac_srcdir=. 894 if test -z "$ac_top_builddir"; then 895 ac_top_srcdir=. 896 else 897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 898 fi ;; 899 [\\/]* | ?:[\\/]* ) # Absolute path. 900 ac_srcdir=$srcdir$ac_dir_suffix; 901 ac_top_srcdir=$srcdir ;; 902 *) # Relative path. 903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 904 ac_top_srcdir=$ac_top_builddir$srcdir ;; 905esac 906 907# Do not use `cd foo && pwd` to compute absolute paths, because 908# the directories may not exist. 909case `pwd` in 910.) ac_abs_builddir="$ac_dir";; 911*) 912 case "$ac_dir" in 913 .) ac_abs_builddir=`pwd`;; 914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 915 *) ac_abs_builddir=`pwd`/"$ac_dir";; 916 esac;; 917esac 918case $ac_abs_builddir in 919.) ac_abs_top_builddir=${ac_top_builddir}.;; 920*) 921 case ${ac_top_builddir}. in 922 .) ac_abs_top_builddir=$ac_abs_builddir;; 923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 925 esac;; 926esac 927case $ac_abs_builddir in 928.) ac_abs_srcdir=$ac_srcdir;; 929*) 930 case $ac_srcdir in 931 .) ac_abs_srcdir=$ac_abs_builddir;; 932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 934 esac;; 935esac 936case $ac_abs_builddir in 937.) ac_abs_top_srcdir=$ac_top_srcdir;; 938*) 939 case $ac_top_srcdir in 940 .) ac_abs_top_srcdir=$ac_abs_builddir;; 941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 943 esac;; 944esac 945 946 cd $ac_dir 947 # Check for guested configure; otherwise get Cygnus style configure. 948 if test -f $ac_srcdir/configure.gnu; then 949 echo 950 $SHELL $ac_srcdir/configure.gnu --help=recursive 951 elif test -f $ac_srcdir/configure; then 952 echo 953 $SHELL $ac_srcdir/configure --help=recursive 954 elif test -f $ac_srcdir/configure.ac || 955 test -f $ac_srcdir/configure.in; then 956 echo 957 $ac_configure --help 958 else 959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 960 fi 961 cd $ac_popdir 962 done 963fi 964 965test -n "$ac_init_help" && exit 0 966if $ac_init_version; then 967 cat <<\_ACEOF 968libmudflap configure 1.0 969generated by GNU Autoconf 2.59 970 971Copyright (C) 2003 Free Software Foundation, Inc. 972This configure script is free software; the Free Software Foundation 973gives unlimited permission to copy, distribute and modify it. 974_ACEOF 975 exit 0 976fi 977exec 5>config.log 978cat >&5 <<_ACEOF 979This file contains any messages produced by compilers while 980running configure, to aid debugging if configure makes a mistake. 981 982It was created by libmudflap $as_me 1.0, which was 983generated by GNU Autoconf 2.59. Invocation command line was 984 985 $ $0 $@ 986 987_ACEOF 988{ 989cat <<_ASUNAME 990## --------- ## 991## Platform. ## 992## --------- ## 993 994hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 995uname -m = `(uname -m) 2>/dev/null || echo unknown` 996uname -r = `(uname -r) 2>/dev/null || echo unknown` 997uname -s = `(uname -s) 2>/dev/null || echo unknown` 998uname -v = `(uname -v) 2>/dev/null || echo unknown` 999 1000/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1001/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1002 1003/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1004/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1005/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1006hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1007/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1008/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1009/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1010 1011_ASUNAME 1012 1013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1014for as_dir in $PATH 1015do 1016 IFS=$as_save_IFS 1017 test -z "$as_dir" && as_dir=. 1018 echo "PATH: $as_dir" 1019done 1020 1021} >&5 1022 1023cat >&5 <<_ACEOF 1024 1025 1026## ----------- ## 1027## Core tests. ## 1028## ----------- ## 1029 1030_ACEOF 1031 1032 1033# Keep a trace of the command line. 1034# Strip out --no-create and --no-recursion so they do not pile up. 1035# Strip out --silent because we don't want to record it for future runs. 1036# Also quote any args containing shell meta-characters. 1037# Make two passes to allow for proper duplicate-argument suppression. 1038ac_configure_args= 1039ac_configure_args0= 1040ac_configure_args1= 1041ac_sep= 1042ac_must_keep_next=false 1043for ac_pass in 1 2 1044do 1045 for ac_arg 1046 do 1047 case $ac_arg in 1048 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1050 | -silent | --silent | --silen | --sile | --sil) 1051 continue ;; 1052 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1053 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1054 esac 1055 case $ac_pass in 1056 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1057 2) 1058 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1059 if test $ac_must_keep_next = true; then 1060 ac_must_keep_next=false # Got value, back to normal. 1061 else 1062 case $ac_arg in 1063 *=* | --config-cache | -C | -disable-* | --disable-* \ 1064 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1065 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1066 | -with-* | --with-* | -without-* | --without-* | --x) 1067 case "$ac_configure_args0 " in 1068 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1069 esac 1070 ;; 1071 -* ) ac_must_keep_next=true ;; 1072 esac 1073 fi 1074 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1075 # Get rid of the leading space. 1076 ac_sep=" " 1077 ;; 1078 esac 1079 done 1080done 1081$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1082$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1083 1084# When interrupted or exit'd, cleanup temporary files, and complete 1085# config.log. We remove comments because anyway the quotes in there 1086# would cause problems or look ugly. 1087# WARNING: Be sure not to use single quotes in there, as some shells, 1088# such as our DU 5.0 friend, will then `close' the trap. 1089trap 'exit_status=$? 1090 # Save into config.log some information that might help in debugging. 1091 { 1092 echo 1093 1094 cat <<\_ASBOX 1095## ---------------- ## 1096## Cache variables. ## 1097## ---------------- ## 1098_ASBOX 1099 echo 1100 # The following way of writing the cache mishandles newlines in values, 1101{ 1102 (set) 2>&1 | 1103 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1104 *ac_space=\ *) 1105 sed -n \ 1106 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1108 ;; 1109 *) 1110 sed -n \ 1111 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1112 ;; 1113 esac; 1114} 1115 echo 1116 1117 cat <<\_ASBOX 1118## ----------------- ## 1119## Output variables. ## 1120## ----------------- ## 1121_ASBOX 1122 echo 1123 for ac_var in $ac_subst_vars 1124 do 1125 eval ac_val=$`echo $ac_var` 1126 echo "$ac_var='"'"'$ac_val'"'"'" 1127 done | sort 1128 echo 1129 1130 if test -n "$ac_subst_files"; then 1131 cat <<\_ASBOX 1132## ------------- ## 1133## Output files. ## 1134## ------------- ## 1135_ASBOX 1136 echo 1137 for ac_var in $ac_subst_files 1138 do 1139 eval ac_val=$`echo $ac_var` 1140 echo "$ac_var='"'"'$ac_val'"'"'" 1141 done | sort 1142 echo 1143 fi 1144 1145 if test -s confdefs.h; then 1146 cat <<\_ASBOX 1147## ----------- ## 1148## confdefs.h. ## 1149## ----------- ## 1150_ASBOX 1151 echo 1152 sed "/^$/d" confdefs.h | sort 1153 echo 1154 fi 1155 test "$ac_signal" != 0 && 1156 echo "$as_me: caught signal $ac_signal" 1157 echo "$as_me: exit $exit_status" 1158 } >&5 1159 rm -f core *.core && 1160 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1161 exit $exit_status 1162 ' 0 1163for ac_signal in 1 2 13 15; do 1164 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1165done 1166ac_signal=0 1167 1168# confdefs.h avoids OS command line length limits that DEFS can exceed. 1169rm -rf conftest* confdefs.h 1170# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1171echo >confdefs.h 1172 1173# Predefined preprocessor variables. 1174 1175cat >>confdefs.h <<_ACEOF 1176#define PACKAGE_NAME "$PACKAGE_NAME" 1177_ACEOF 1178 1179 1180cat >>confdefs.h <<_ACEOF 1181#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1182_ACEOF 1183 1184 1185cat >>confdefs.h <<_ACEOF 1186#define PACKAGE_VERSION "$PACKAGE_VERSION" 1187_ACEOF 1188 1189 1190cat >>confdefs.h <<_ACEOF 1191#define PACKAGE_STRING "$PACKAGE_STRING" 1192_ACEOF 1193 1194 1195cat >>confdefs.h <<_ACEOF 1196#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1197_ACEOF 1198 1199 1200# Let the site file select an alternate cache file if it wants to. 1201# Prefer explicitly selected file to automatically selected ones. 1202if test -z "$CONFIG_SITE"; then 1203 if test "x$prefix" != xNONE; then 1204 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1205 else 1206 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1207 fi 1208fi 1209for ac_site_file in $CONFIG_SITE; do 1210 if test -r "$ac_site_file"; then 1211 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1212echo "$as_me: loading site script $ac_site_file" >&6;} 1213 sed 's/^/| /' "$ac_site_file" >&5 1214 . "$ac_site_file" 1215 fi 1216done 1217 1218if test -r "$cache_file"; then 1219 # Some versions of bash will fail to source /dev/null (special 1220 # files actually), so we avoid doing that. 1221 if test -f "$cache_file"; then 1222 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1223echo "$as_me: loading cache $cache_file" >&6;} 1224 case $cache_file in 1225 [\\/]* | ?:[\\/]* ) . $cache_file;; 1226 *) . ./$cache_file;; 1227 esac 1228 fi 1229else 1230 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1231echo "$as_me: creating cache $cache_file" >&6;} 1232 >$cache_file 1233fi 1234 1235# Check that the precious variables saved in the cache have kept the same 1236# value. 1237ac_cache_corrupted=false 1238for ac_var in `(set) 2>&1 | 1239 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1240 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1241 eval ac_new_set=\$ac_env_${ac_var}_set 1242 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1243 eval ac_new_val="\$ac_env_${ac_var}_value" 1244 case $ac_old_set,$ac_new_set in 1245 set,) 1246 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1247echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1248 ac_cache_corrupted=: ;; 1249 ,set) 1250 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1251echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1252 ac_cache_corrupted=: ;; 1253 ,);; 1254 *) 1255 if test "x$ac_old_val" != "x$ac_new_val"; then 1256 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1257echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1258 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1259echo "$as_me: former value: $ac_old_val" >&2;} 1260 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1261echo "$as_me: current value: $ac_new_val" >&2;} 1262 ac_cache_corrupted=: 1263 fi;; 1264 esac 1265 # Pass precious variables to config.status. 1266 if test "$ac_new_set" = set; then 1267 case $ac_new_val in 1268 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1269 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1270 *) ac_arg=$ac_var=$ac_new_val ;; 1271 esac 1272 case " $ac_configure_args " in 1273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1274 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1275 esac 1276 fi 1277done 1278if $ac_cache_corrupted; then 1279 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1280echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1281 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1282echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1283 { (exit 1); exit 1; }; } 1284fi 1285 1286ac_ext=c 1287ac_cpp='$CPP $CPPFLAGS' 1288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1290ac_compiler_gnu=$ac_cv_c_compiler_gnu 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319ac_aux_dir= 1320for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1321 if test -f $ac_dir/install-sh; then 1322 ac_aux_dir=$ac_dir 1323 ac_install_sh="$ac_aux_dir/install-sh -c" 1324 break 1325 elif test -f $ac_dir/install.sh; then 1326 ac_aux_dir=$ac_dir 1327 ac_install_sh="$ac_aux_dir/install.sh -c" 1328 break 1329 elif test -f $ac_dir/shtool; then 1330 ac_aux_dir=$ac_dir 1331 ac_install_sh="$ac_aux_dir/shtool install -c" 1332 break 1333 fi 1334done 1335if test -z "$ac_aux_dir"; then 1336 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1337echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1338 { (exit 1); exit 1; }; } 1339fi 1340ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1341ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1342ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1343 1344# Make sure we can run config.sub. 1345$ac_config_sub sun4 >/dev/null 2>&1 || 1346 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1347echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1348 { (exit 1); exit 1; }; } 1349 1350echo "$as_me:$LINENO: checking build system type" >&5 1351echo $ECHO_N "checking build system type... $ECHO_C" >&6 1352if test "${ac_cv_build+set}" = set; then 1353 echo $ECHO_N "(cached) $ECHO_C" >&6 1354else 1355 ac_cv_build_alias=$build_alias 1356test -z "$ac_cv_build_alias" && 1357 ac_cv_build_alias=`$ac_config_guess` 1358test -z "$ac_cv_build_alias" && 1359 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1360echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1361 { (exit 1); exit 1; }; } 1362ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1363 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1364echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1365 { (exit 1); exit 1; }; } 1366 1367fi 1368echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1369echo "${ECHO_T}$ac_cv_build" >&6 1370build=$ac_cv_build 1371build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1372build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1373build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1374 1375 1376echo "$as_me:$LINENO: checking host system type" >&5 1377echo $ECHO_N "checking host system type... $ECHO_C" >&6 1378if test "${ac_cv_host+set}" = set; then 1379 echo $ECHO_N "(cached) $ECHO_C" >&6 1380else 1381 ac_cv_host_alias=$host_alias 1382test -z "$ac_cv_host_alias" && 1383 ac_cv_host_alias=$ac_cv_build_alias 1384ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1385 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1386echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1387 { (exit 1); exit 1; }; } 1388 1389fi 1390echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1391echo "${ECHO_T}$ac_cv_host" >&6 1392host=$ac_cv_host 1393host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1394host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1395host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1396 1397 1398echo "$as_me:$LINENO: checking target system type" >&5 1399echo $ECHO_N "checking target system type... $ECHO_C" >&6 1400if test "${ac_cv_target+set}" = set; then 1401 echo $ECHO_N "(cached) $ECHO_C" >&6 1402else 1403 ac_cv_target_alias=$target_alias 1404test "x$ac_cv_target_alias" = "x" && 1405 ac_cv_target_alias=$ac_cv_host_alias 1406ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1407 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1408echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1409 { (exit 1); exit 1; }; } 1410 1411fi 1412echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1413echo "${ECHO_T}$ac_cv_target" >&6 1414target=$ac_cv_target 1415target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1416target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1417target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1418 1419 1420# The aliases save the names the user supplied, while $host etc. 1421# will get canonicalized. 1422test -n "$target_alias" && 1423 test "$program_prefix$program_suffix$program_transform_name" = \ 1424 NONENONEs,x,x, && 1425 program_prefix=${target_alias}- 1426 case ${build_alias} in 1427 "") build_noncanonical=${build} ;; 1428 *) build_noncanonical=${build_alias} ;; 1429esac 1430 1431 case ${host_alias} in 1432 "") host_noncanonical=${build_noncanonical} ;; 1433 *) host_noncanonical=${host_alias} ;; 1434esac 1435 1436 case ${target_alias} in 1437 "") target_noncanonical=${host_noncanonical} ;; 1438 *) target_noncanonical=${target_alias} ;; 1439esac 1440 1441 1442 1443 1444am__api_version="1.9" 1445# Find a good install program. We prefer a C program (faster), 1446# so one script is as good as another. But avoid the broken or 1447# incompatible versions: 1448# SysV /etc/install, /usr/sbin/install 1449# SunOS /usr/etc/install 1450# IRIX /sbin/install 1451# AIX /bin/install 1452# AmigaOS /C/install, which installs bootblocks on floppy discs 1453# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1454# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1455# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1456# OS/2's system install, which has a completely different semantic 1457# ./install, which can be erroneously created by make from ./install.sh. 1458echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1459echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1460if test -z "$INSTALL"; then 1461if test "${ac_cv_path_install+set}" = set; then 1462 echo $ECHO_N "(cached) $ECHO_C" >&6 1463else 1464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1465for as_dir in $PATH 1466do 1467 IFS=$as_save_IFS 1468 test -z "$as_dir" && as_dir=. 1469 # Account for people who put trailing slashes in PATH elements. 1470case $as_dir/ in 1471 ./ | .// | /cC/* | \ 1472 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1473 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1474 /usr/ucb/* ) ;; 1475 *) 1476 # OSF1 and SCO ODT 3.0 have their own names for install. 1477 # Don't use installbsd from OSF since it installs stuff as root 1478 # by default. 1479 for ac_prog in ginstall scoinst install; do 1480 for ac_exec_ext in '' $ac_executable_extensions; do 1481 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1482 if test $ac_prog = install && 1483 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1484 # AIX install. It has an incompatible calling convention. 1485 : 1486 elif test $ac_prog = install && 1487 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1488 # program-specific install script used by HP pwplus--don't use. 1489 : 1490 else 1491 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1492 break 3 1493 fi 1494 fi 1495 done 1496 done 1497 ;; 1498esac 1499done 1500 1501 1502fi 1503 if test "${ac_cv_path_install+set}" = set; then 1504 INSTALL=$ac_cv_path_install 1505 else 1506 # As a last resort, use the slow shell script. We don't cache a 1507 # path for INSTALL within a source directory, because that will 1508 # break other packages using the cache if that directory is 1509 # removed, or if the path is relative. 1510 INSTALL=$ac_install_sh 1511 fi 1512fi 1513echo "$as_me:$LINENO: result: $INSTALL" >&5 1514echo "${ECHO_T}$INSTALL" >&6 1515 1516# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1517# It thinks the first close brace ends the variable substitution. 1518test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1519 1520test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1521 1522test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1523 1524echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1525echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1526# Just in case 1527sleep 1 1528echo timestamp > conftest.file 1529# Do `set' in a subshell so we don't clobber the current shell's 1530# arguments. Must try -L first in case configure is actually a 1531# symlink; some systems play weird games with the mod time of symlinks 1532# (eg FreeBSD returns the mod time of the symlink's containing 1533# directory). 1534if ( 1535 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1536 if test "$*" = "X"; then 1537 # -L didn't work. 1538 set X `ls -t $srcdir/configure conftest.file` 1539 fi 1540 rm -f conftest.file 1541 if test "$*" != "X $srcdir/configure conftest.file" \ 1542 && test "$*" != "X conftest.file $srcdir/configure"; then 1543 1544 # If neither matched, then we have a broken ls. This can happen 1545 # if, for instance, CONFIG_SHELL is bash and it inherits a 1546 # broken ls alias from the environment. This has actually 1547 # happened. Such a system could not be considered "sane". 1548 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1549alias in your environment" >&5 1550echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1551alias in your environment" >&2;} 1552 { (exit 1); exit 1; }; } 1553 fi 1554 1555 test "$2" = conftest.file 1556 ) 1557then 1558 # Ok. 1559 : 1560else 1561 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1562Check your system clock" >&5 1563echo "$as_me: error: newly created file is older than distributed files! 1564Check your system clock" >&2;} 1565 { (exit 1); exit 1; }; } 1566fi 1567echo "$as_me:$LINENO: result: yes" >&5 1568echo "${ECHO_T}yes" >&6 1569test "$program_prefix" != NONE && 1570 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1571# Use a double $ so make ignores it. 1572test "$program_suffix" != NONE && 1573 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1574# Double any \ or $. echo might interpret backslashes. 1575# By default was `s,x,x', remove it if useless. 1576cat <<\_ACEOF >conftest.sed 1577s/[\\$]/&&/g;s/;s,x,x,$// 1578_ACEOF 1579program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1580rm conftest.sed 1581 1582# expand $ac_aux_dir to an absolute path 1583am_aux_dir=`cd $ac_aux_dir && pwd` 1584 1585test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1586# Use eval to expand $SHELL 1587if eval "$MISSING --run true"; then 1588 am_missing_run="$MISSING --run " 1589else 1590 am_missing_run= 1591 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1592echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1593fi 1594 1595if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1596 # We used to keeping the `.' as first argument, in order to 1597 # allow $(mkdir_p) to be used without argument. As in 1598 # $(mkdir_p) $(somedir) 1599 # where $(somedir) is conditionally defined. However this is wrong 1600 # for two reasons: 1601 # 1. if the package is installed by a user who cannot write `.' 1602 # make install will fail, 1603 # 2. the above comment should most certainly read 1604 # $(mkdir_p) $(DESTDIR)$(somedir) 1605 # so it does not work when $(somedir) is undefined and 1606 # $(DESTDIR) is not. 1607 # To support the latter case, we have to write 1608 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1609 # so the `.' trick is pointless. 1610 mkdir_p='mkdir -p --' 1611else 1612 # On NextStep and OpenStep, the `mkdir' command does not 1613 # recognize any option. It will interpret all options as 1614 # directories to create, and then abort because `.' already 1615 # exists. 1616 for d in ./-p ./--version; 1617 do 1618 test -d $d && rmdir $d 1619 done 1620 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1621 if test -f "$ac_aux_dir/mkinstalldirs"; then 1622 mkdir_p='$(mkinstalldirs)' 1623 else 1624 mkdir_p='$(install_sh) -d' 1625 fi 1626fi 1627 1628for ac_prog in gawk mawk nawk awk 1629do 1630 # Extract the first word of "$ac_prog", so it can be a program name with args. 1631set dummy $ac_prog; ac_word=$2 1632echo "$as_me:$LINENO: checking for $ac_word" >&5 1633echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1634if test "${ac_cv_prog_AWK+set}" = set; then 1635 echo $ECHO_N "(cached) $ECHO_C" >&6 1636else 1637 if test -n "$AWK"; then 1638 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1639else 1640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1641for as_dir in $PATH 1642do 1643 IFS=$as_save_IFS 1644 test -z "$as_dir" && as_dir=. 1645 for ac_exec_ext in '' $ac_executable_extensions; do 1646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1647 ac_cv_prog_AWK="$ac_prog" 1648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1649 break 2 1650 fi 1651done 1652done 1653 1654fi 1655fi 1656AWK=$ac_cv_prog_AWK 1657if test -n "$AWK"; then 1658 echo "$as_me:$LINENO: result: $AWK" >&5 1659echo "${ECHO_T}$AWK" >&6 1660else 1661 echo "$as_me:$LINENO: result: no" >&5 1662echo "${ECHO_T}no" >&6 1663fi 1664 1665 test -n "$AWK" && break 1666done 1667 1668echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1669echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1670set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1671if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1672 echo $ECHO_N "(cached) $ECHO_C" >&6 1673else 1674 cat >conftest.make <<\_ACEOF 1675all: 1676 @echo 'ac_maketemp="$(MAKE)"' 1677_ACEOF 1678# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1679eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1680if test -n "$ac_maketemp"; then 1681 eval ac_cv_prog_make_${ac_make}_set=yes 1682else 1683 eval ac_cv_prog_make_${ac_make}_set=no 1684fi 1685rm -f conftest.make 1686fi 1687if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1688 echo "$as_me:$LINENO: result: yes" >&5 1689echo "${ECHO_T}yes" >&6 1690 SET_MAKE= 1691else 1692 echo "$as_me:$LINENO: result: no" >&5 1693echo "${ECHO_T}no" >&6 1694 SET_MAKE="MAKE=${MAKE-make}" 1695fi 1696 1697rm -rf .tst 2>/dev/null 1698mkdir .tst 2>/dev/null 1699if test -d .tst; then 1700 am__leading_dot=. 1701else 1702 am__leading_dot=_ 1703fi 1704rmdir .tst 2>/dev/null 1705 1706# test to see if srcdir already configured 1707if test "`cd $srcdir && pwd`" != "`pwd`" && 1708 test -f $srcdir/config.status; then 1709 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1710echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1711 { (exit 1); exit 1; }; } 1712fi 1713 1714# test whether we have cygpath 1715if test -z "$CYGPATH_W"; then 1716 if (cygpath --version) >/dev/null 2>/dev/null; then 1717 CYGPATH_W='cygpath -w' 1718 else 1719 CYGPATH_W=echo 1720 fi 1721fi 1722 1723 1724# Define the identity of the package. 1725 PACKAGE='libmudflap' 1726 VERSION='1.0' 1727 1728 1729cat >>confdefs.h <<_ACEOF 1730#define PACKAGE "$PACKAGE" 1731_ACEOF 1732 1733 1734cat >>confdefs.h <<_ACEOF 1735#define VERSION "$VERSION" 1736_ACEOF 1737 1738# Some tools Automake needs. 1739 1740ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1741 1742 1743AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1744 1745 1746AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1747 1748 1749AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1750 1751 1752MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1753 1754install_sh=${install_sh-"$am_aux_dir/install-sh"} 1755 1756# Installed binaries are usually stripped using `strip' when the user 1757# run `make install-strip'. However `strip' might not be the right 1758# tool to use in cross-compilation environments, therefore Automake 1759# will honor the `STRIP' environment variable to overrule this program. 1760if test "$cross_compiling" != no; then 1761 if test -n "$ac_tool_prefix"; then 1762 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1763set dummy ${ac_tool_prefix}strip; ac_word=$2 1764echo "$as_me:$LINENO: checking for $ac_word" >&5 1765echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1766if test "${ac_cv_prog_STRIP+set}" = set; then 1767 echo $ECHO_N "(cached) $ECHO_C" >&6 1768else 1769 if test -n "$STRIP"; then 1770 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1771else 1772as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1773for as_dir in $PATH 1774do 1775 IFS=$as_save_IFS 1776 test -z "$as_dir" && as_dir=. 1777 for ac_exec_ext in '' $ac_executable_extensions; do 1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1779 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1781 break 2 1782 fi 1783done 1784done 1785 1786fi 1787fi 1788STRIP=$ac_cv_prog_STRIP 1789if test -n "$STRIP"; then 1790 echo "$as_me:$LINENO: result: $STRIP" >&5 1791echo "${ECHO_T}$STRIP" >&6 1792else 1793 echo "$as_me:$LINENO: result: no" >&5 1794echo "${ECHO_T}no" >&6 1795fi 1796 1797fi 1798if test -z "$ac_cv_prog_STRIP"; then 1799 ac_ct_STRIP=$STRIP 1800 # Extract the first word of "strip", so it can be a program name with args. 1801set dummy strip; ac_word=$2 1802echo "$as_me:$LINENO: checking for $ac_word" >&5 1803echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1804if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1805 echo $ECHO_N "(cached) $ECHO_C" >&6 1806else 1807 if test -n "$ac_ct_STRIP"; then 1808 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1809else 1810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1811for as_dir in $PATH 1812do 1813 IFS=$as_save_IFS 1814 test -z "$as_dir" && as_dir=. 1815 for ac_exec_ext in '' $ac_executable_extensions; do 1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1817 ac_cv_prog_ac_ct_STRIP="strip" 1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1819 break 2 1820 fi 1821done 1822done 1823 1824 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1825fi 1826fi 1827ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1828if test -n "$ac_ct_STRIP"; then 1829 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1830echo "${ECHO_T}$ac_ct_STRIP" >&6 1831else 1832 echo "$as_me:$LINENO: result: no" >&5 1833echo "${ECHO_T}no" >&6 1834fi 1835 1836 STRIP=$ac_ct_STRIP 1837else 1838 STRIP="$ac_cv_prog_STRIP" 1839fi 1840 1841fi 1842INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1843 1844# We need awk for the "check" target. The system "awk" is bad on 1845# some platforms. 1846# Always define AMTAR for backward compatibility. 1847 1848AMTAR=${AMTAR-"${am_missing_run}tar"} 1849 1850am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 1851 1852 1853 1854 1855 1856 1857echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5 1858echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6 1859# Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given. 1860if test "${enable_version_specific_runtime_libs+set}" = set; then 1861 enableval="$enable_version_specific_runtime_libs" 1862 case "$enableval" in 1863 yes) version_specific_libs=yes ;; 1864 no) version_specific_libs=no ;; 1865 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5 1866echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;} 1867 { (exit 1); exit 1; }; };; 1868 esac 1869else 1870 version_specific_libs=no 1871fi; 1872echo "$as_me:$LINENO: result: $version_specific_libs" >&5 1873echo "${ECHO_T}$version_specific_libs" >&6 1874 1875echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 1876echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 1877 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1878if test "${enable_maintainer_mode+set}" = set; then 1879 enableval="$enable_maintainer_mode" 1880 USE_MAINTAINER_MODE=$enableval 1881else 1882 USE_MAINTAINER_MODE=no 1883fi; 1884 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 1885echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 1886 1887 1888if test $USE_MAINTAINER_MODE = yes; then 1889 MAINTAINER_MODE_TRUE= 1890 MAINTAINER_MODE_FALSE='#' 1891else 1892 MAINTAINER_MODE_TRUE='#' 1893 MAINTAINER_MODE_FALSE= 1894fi 1895 1896 MAINT=$MAINTAINER_MODE_TRUE 1897 1898 1899 1900 1901# Default to --enable-multilib 1902# Check whether --enable-multilib or --disable-multilib was given. 1903if test "${enable_multilib+set}" = set; then 1904 enableval="$enable_multilib" 1905 case "$enableval" in 1906 yes) multilib=yes ;; 1907 no) multilib=no ;; 1908 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5 1909echo "$as_me: error: bad value $enableval for multilib option" >&2;} 1910 { (exit 1); exit 1; }; } ;; 1911 esac 1912else 1913 multilib=yes 1914fi; 1915 1916# We may get other options which we leave undocumented: 1917# --with-target-subdir, --with-multisrctop, --with-multisubdir 1918# See config-ml.in if you want the gory details. 1919 1920if test "$srcdir" = "."; then 1921 if test "$with_target_subdir" != "."; then 1922 multi_basedir="$srcdir/$with_multisrctop../.." 1923 else 1924 multi_basedir="$srcdir/$with_multisrctop.." 1925 fi 1926else 1927 multi_basedir="$srcdir/.." 1928fi 1929 1930 1931 ac_config_commands="$ac_config_commands default-1" 1932 1933 1934target_alias=${target_alias-$host_alias} 1935 1936 1937 ac_config_headers="$ac_config_headers config.h" 1938 1939 1940ac_ext=c 1941ac_cpp='$CPP $CPPFLAGS' 1942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1944ac_compiler_gnu=$ac_cv_c_compiler_gnu 1945 1946# The same as in boehm-gc and libstdc++. Have to borrow it from there. 1947# We must force CC to /not/ be precious variables; otherwise 1948# the wrong, non-multilib-adjusted value will be used in multilibs. 1949# As a side effect, we have to subst CFLAGS ourselves. 1950 1951 1952 1953ac_ext=c 1954ac_cpp='$CPP $CPPFLAGS' 1955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1957ac_compiler_gnu=$ac_cv_c_compiler_gnu 1958if test -n "$ac_tool_prefix"; then 1959 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1960set dummy ${ac_tool_prefix}gcc; ac_word=$2 1961echo "$as_me:$LINENO: checking for $ac_word" >&5 1962echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1963if test "${ac_cv_prog_CC+set}" = set; then 1964 echo $ECHO_N "(cached) $ECHO_C" >&6 1965else 1966 if test -n "$CC"; then 1967 ac_cv_prog_CC="$CC" # Let the user override the test. 1968else 1969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1970for as_dir in $PATH 1971do 1972 IFS=$as_save_IFS 1973 test -z "$as_dir" && as_dir=. 1974 for ac_exec_ext in '' $ac_executable_extensions; do 1975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1976 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1978 break 2 1979 fi 1980done 1981done 1982 1983fi 1984fi 1985CC=$ac_cv_prog_CC 1986if test -n "$CC"; then 1987 echo "$as_me:$LINENO: result: $CC" >&5 1988echo "${ECHO_T}$CC" >&6 1989else 1990 echo "$as_me:$LINENO: result: no" >&5 1991echo "${ECHO_T}no" >&6 1992fi 1993 1994fi 1995if test -z "$ac_cv_prog_CC"; then 1996 ac_ct_CC=$CC 1997 # Extract the first word of "gcc", so it can be a program name with args. 1998set dummy gcc; ac_word=$2 1999echo "$as_me:$LINENO: checking for $ac_word" >&5 2000echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2001if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2002 echo $ECHO_N "(cached) $ECHO_C" >&6 2003else 2004 if test -n "$ac_ct_CC"; then 2005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2006else 2007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2008for as_dir in $PATH 2009do 2010 IFS=$as_save_IFS 2011 test -z "$as_dir" && as_dir=. 2012 for ac_exec_ext in '' $ac_executable_extensions; do 2013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2014 ac_cv_prog_ac_ct_CC="gcc" 2015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2016 break 2 2017 fi 2018done 2019done 2020 2021fi 2022fi 2023ac_ct_CC=$ac_cv_prog_ac_ct_CC 2024if test -n "$ac_ct_CC"; then 2025 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2026echo "${ECHO_T}$ac_ct_CC" >&6 2027else 2028 echo "$as_me:$LINENO: result: no" >&5 2029echo "${ECHO_T}no" >&6 2030fi 2031 2032 CC=$ac_ct_CC 2033else 2034 CC="$ac_cv_prog_CC" 2035fi 2036 2037if test -z "$CC"; then 2038 if test -n "$ac_tool_prefix"; then 2039 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2040set dummy ${ac_tool_prefix}cc; ac_word=$2 2041echo "$as_me:$LINENO: checking for $ac_word" >&5 2042echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2043if test "${ac_cv_prog_CC+set}" = set; then 2044 echo $ECHO_N "(cached) $ECHO_C" >&6 2045else 2046 if test -n "$CC"; then 2047 ac_cv_prog_CC="$CC" # Let the user override the test. 2048else 2049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2050for as_dir in $PATH 2051do 2052 IFS=$as_save_IFS 2053 test -z "$as_dir" && as_dir=. 2054 for ac_exec_ext in '' $ac_executable_extensions; do 2055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2056 ac_cv_prog_CC="${ac_tool_prefix}cc" 2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2058 break 2 2059 fi 2060done 2061done 2062 2063fi 2064fi 2065CC=$ac_cv_prog_CC 2066if test -n "$CC"; then 2067 echo "$as_me:$LINENO: result: $CC" >&5 2068echo "${ECHO_T}$CC" >&6 2069else 2070 echo "$as_me:$LINENO: result: no" >&5 2071echo "${ECHO_T}no" >&6 2072fi 2073 2074fi 2075if test -z "$ac_cv_prog_CC"; then 2076 ac_ct_CC=$CC 2077 # Extract the first word of "cc", so it can be a program name with args. 2078set dummy cc; ac_word=$2 2079echo "$as_me:$LINENO: checking for $ac_word" >&5 2080echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2081if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2082 echo $ECHO_N "(cached) $ECHO_C" >&6 2083else 2084 if test -n "$ac_ct_CC"; then 2085 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2086else 2087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2088for as_dir in $PATH 2089do 2090 IFS=$as_save_IFS 2091 test -z "$as_dir" && as_dir=. 2092 for ac_exec_ext in '' $ac_executable_extensions; do 2093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2094 ac_cv_prog_ac_ct_CC="cc" 2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2096 break 2 2097 fi 2098done 2099done 2100 2101fi 2102fi 2103ac_ct_CC=$ac_cv_prog_ac_ct_CC 2104if test -n "$ac_ct_CC"; then 2105 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2106echo "${ECHO_T}$ac_ct_CC" >&6 2107else 2108 echo "$as_me:$LINENO: result: no" >&5 2109echo "${ECHO_T}no" >&6 2110fi 2111 2112 CC=$ac_ct_CC 2113else 2114 CC="$ac_cv_prog_CC" 2115fi 2116 2117fi 2118if test -z "$CC"; then 2119 # Extract the first word of "cc", so it can be a program name with args. 2120set dummy cc; ac_word=$2 2121echo "$as_me:$LINENO: checking for $ac_word" >&5 2122echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2123if test "${ac_cv_prog_CC+set}" = set; then 2124 echo $ECHO_N "(cached) $ECHO_C" >&6 2125else 2126 if test -n "$CC"; then 2127 ac_cv_prog_CC="$CC" # Let the user override the test. 2128else 2129 ac_prog_rejected=no 2130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2131for as_dir in $PATH 2132do 2133 IFS=$as_save_IFS 2134 test -z "$as_dir" && as_dir=. 2135 for ac_exec_ext in '' $ac_executable_extensions; do 2136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2137 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2138 ac_prog_rejected=yes 2139 continue 2140 fi 2141 ac_cv_prog_CC="cc" 2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2143 break 2 2144 fi 2145done 2146done 2147 2148if test $ac_prog_rejected = yes; then 2149 # We found a bogon in the path, so make sure we never use it. 2150 set dummy $ac_cv_prog_CC 2151 shift 2152 if test $# != 0; then 2153 # We chose a different compiler from the bogus one. 2154 # However, it has the same basename, so the bogon will be chosen 2155 # first if we set CC to just the basename; use the full file name. 2156 shift 2157 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2158 fi 2159fi 2160fi 2161fi 2162CC=$ac_cv_prog_CC 2163if test -n "$CC"; then 2164 echo "$as_me:$LINENO: result: $CC" >&5 2165echo "${ECHO_T}$CC" >&6 2166else 2167 echo "$as_me:$LINENO: result: no" >&5 2168echo "${ECHO_T}no" >&6 2169fi 2170 2171fi 2172if test -z "$CC"; then 2173 if test -n "$ac_tool_prefix"; then 2174 for ac_prog in cl 2175 do 2176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2177set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2178echo "$as_me:$LINENO: checking for $ac_word" >&5 2179echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2180if test "${ac_cv_prog_CC+set}" = set; then 2181 echo $ECHO_N "(cached) $ECHO_C" >&6 2182else 2183 if test -n "$CC"; then 2184 ac_cv_prog_CC="$CC" # Let the user override the test. 2185else 2186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2187for as_dir in $PATH 2188do 2189 IFS=$as_save_IFS 2190 test -z "$as_dir" && as_dir=. 2191 for ac_exec_ext in '' $ac_executable_extensions; do 2192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2193 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2195 break 2 2196 fi 2197done 2198done 2199 2200fi 2201fi 2202CC=$ac_cv_prog_CC 2203if test -n "$CC"; then 2204 echo "$as_me:$LINENO: result: $CC" >&5 2205echo "${ECHO_T}$CC" >&6 2206else 2207 echo "$as_me:$LINENO: result: no" >&5 2208echo "${ECHO_T}no" >&6 2209fi 2210 2211 test -n "$CC" && break 2212 done 2213fi 2214if test -z "$CC"; then 2215 ac_ct_CC=$CC 2216 for ac_prog in cl 2217do 2218 # Extract the first word of "$ac_prog", so it can be a program name with args. 2219set dummy $ac_prog; ac_word=$2 2220echo "$as_me:$LINENO: checking for $ac_word" >&5 2221echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2222if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2223 echo $ECHO_N "(cached) $ECHO_C" >&6 2224else 2225 if test -n "$ac_ct_CC"; then 2226 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2227else 2228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2229for as_dir in $PATH 2230do 2231 IFS=$as_save_IFS 2232 test -z "$as_dir" && as_dir=. 2233 for ac_exec_ext in '' $ac_executable_extensions; do 2234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2235 ac_cv_prog_ac_ct_CC="$ac_prog" 2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2237 break 2 2238 fi 2239done 2240done 2241 2242fi 2243fi 2244ac_ct_CC=$ac_cv_prog_ac_ct_CC 2245if test -n "$ac_ct_CC"; then 2246 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2247echo "${ECHO_T}$ac_ct_CC" >&6 2248else 2249 echo "$as_me:$LINENO: result: no" >&5 2250echo "${ECHO_T}no" >&6 2251fi 2252 2253 test -n "$ac_ct_CC" && break 2254done 2255 2256 CC=$ac_ct_CC 2257fi 2258 2259fi 2260 2261 2262test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2263See \`config.log' for more details." >&5 2264echo "$as_me: error: no acceptable C compiler found in \$PATH 2265See \`config.log' for more details." >&2;} 2266 { (exit 1); exit 1; }; } 2267 2268# Provide some information about the compiler. 2269echo "$as_me:$LINENO:" \ 2270 "checking for C compiler version" >&5 2271ac_compiler=`set X $ac_compile; echo $2` 2272{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2273 (eval $ac_compiler --version </dev/null >&5) 2>&5 2274 ac_status=$? 2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2276 (exit $ac_status); } 2277{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2278 (eval $ac_compiler -v </dev/null >&5) 2>&5 2279 ac_status=$? 2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2281 (exit $ac_status); } 2282{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2283 (eval $ac_compiler -V </dev/null >&5) 2>&5 2284 ac_status=$? 2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2286 (exit $ac_status); } 2287 2288cat >conftest.$ac_ext <<_ACEOF 2289/* confdefs.h. */ 2290_ACEOF 2291cat confdefs.h >>conftest.$ac_ext 2292cat >>conftest.$ac_ext <<_ACEOF 2293/* end confdefs.h. */ 2294 2295int 2296main () 2297{ 2298 2299 ; 2300 return 0; 2301} 2302_ACEOF 2303ac_clean_files_save=$ac_clean_files 2304ac_clean_files="$ac_clean_files a.out a.exe b.out" 2305# Try to create an executable without -o first, disregard a.out. 2306# It will help us diagnose broken compilers, and finding out an intuition 2307# of exeext. 2308echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2309echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2310ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2311if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2312 (eval $ac_link_default) 2>&5 2313 ac_status=$? 2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 (exit $ac_status); }; then 2316 # Find the output, starting from the most likely. This scheme is 2317# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2318# resort. 2319 2320# Be careful to initialize this variable, since it used to be cached. 2321# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2322ac_cv_exeext= 2323# b.out is created by i960 compilers. 2324for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2325do 2326 test -f "$ac_file" || continue 2327 case $ac_file in 2328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2329 ;; 2330 conftest.$ac_ext ) 2331 # This is the source file. 2332 ;; 2333 [ab].out ) 2334 # We found the default executable, but exeext='' is most 2335 # certainly right. 2336 break;; 2337 *.* ) 2338 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2339 # FIXME: I believe we export ac_cv_exeext for Libtool, 2340 # but it would be cool to find out if it's true. Does anybody 2341 # maintain Libtool? --akim. 2342 export ac_cv_exeext 2343 break;; 2344 * ) 2345 break;; 2346 esac 2347done 2348else 2349 echo "$as_me: failed program was:" >&5 2350sed 's/^/| /' conftest.$ac_ext >&5 2351 2352{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2353See \`config.log' for more details." >&5 2354echo "$as_me: error: C compiler cannot create executables 2355See \`config.log' for more details." >&2;} 2356 { (exit 77); exit 77; }; } 2357fi 2358 2359ac_exeext=$ac_cv_exeext 2360echo "$as_me:$LINENO: result: $ac_file" >&5 2361echo "${ECHO_T}$ac_file" >&6 2362 2363# Check the compiler produces executables we can run. If not, either 2364# the compiler is broken, or we cross compile. 2365echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2366echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2367# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2368# If not cross compiling, check that we can run a simple program. 2369if test "$cross_compiling" != yes; then 2370 if { ac_try='./$ac_file' 2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2372 (eval $ac_try) 2>&5 2373 ac_status=$? 2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2375 (exit $ac_status); }; }; then 2376 cross_compiling=no 2377 else 2378 if test "$cross_compiling" = maybe; then 2379 cross_compiling=yes 2380 else 2381 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2382If you meant to cross compile, use \`--host'. 2383See \`config.log' for more details." >&5 2384echo "$as_me: error: cannot run C compiled programs. 2385If you meant to cross compile, use \`--host'. 2386See \`config.log' for more details." >&2;} 2387 { (exit 1); exit 1; }; } 2388 fi 2389 fi 2390fi 2391echo "$as_me:$LINENO: result: yes" >&5 2392echo "${ECHO_T}yes" >&6 2393 2394rm -f a.out a.exe conftest$ac_cv_exeext b.out 2395ac_clean_files=$ac_clean_files_save 2396# Check the compiler produces executables we can run. If not, either 2397# the compiler is broken, or we cross compile. 2398echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2399echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2400echo "$as_me:$LINENO: result: $cross_compiling" >&5 2401echo "${ECHO_T}$cross_compiling" >&6 2402 2403echo "$as_me:$LINENO: checking for suffix of executables" >&5 2404echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2405if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2406 (eval $ac_link) 2>&5 2407 ac_status=$? 2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2409 (exit $ac_status); }; then 2410 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2411# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2412# work properly (i.e., refer to `conftest.exe'), while it won't with 2413# `rm'. 2414for ac_file in conftest.exe conftest conftest.*; do 2415 test -f "$ac_file" || continue 2416 case $ac_file in 2417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2418 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2419 export ac_cv_exeext 2420 break;; 2421 * ) break;; 2422 esac 2423done 2424else 2425 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2426See \`config.log' for more details." >&5 2427echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2428See \`config.log' for more details." >&2;} 2429 { (exit 1); exit 1; }; } 2430fi 2431 2432rm -f conftest$ac_cv_exeext 2433echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2434echo "${ECHO_T}$ac_cv_exeext" >&6 2435 2436rm -f conftest.$ac_ext 2437EXEEXT=$ac_cv_exeext 2438ac_exeext=$EXEEXT 2439echo "$as_me:$LINENO: checking for suffix of object files" >&5 2440echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2441if test "${ac_cv_objext+set}" = set; then 2442 echo $ECHO_N "(cached) $ECHO_C" >&6 2443else 2444 cat >conftest.$ac_ext <<_ACEOF 2445/* confdefs.h. */ 2446_ACEOF 2447cat confdefs.h >>conftest.$ac_ext 2448cat >>conftest.$ac_ext <<_ACEOF 2449/* end confdefs.h. */ 2450 2451int 2452main () 2453{ 2454 2455 ; 2456 return 0; 2457} 2458_ACEOF 2459rm -f conftest.o conftest.obj 2460if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2461 (eval $ac_compile) 2>&5 2462 ac_status=$? 2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2464 (exit $ac_status); }; then 2465 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2466 case $ac_file in 2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2468 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2469 break;; 2470 esac 2471done 2472else 2473 echo "$as_me: failed program was:" >&5 2474sed 's/^/| /' conftest.$ac_ext >&5 2475 2476{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2477See \`config.log' for more details." >&5 2478echo "$as_me: error: cannot compute suffix of object files: cannot compile 2479See \`config.log' for more details." >&2;} 2480 { (exit 1); exit 1; }; } 2481fi 2482 2483rm -f conftest.$ac_cv_objext conftest.$ac_ext 2484fi 2485echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2486echo "${ECHO_T}$ac_cv_objext" >&6 2487OBJEXT=$ac_cv_objext 2488ac_objext=$OBJEXT 2489echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2490echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2491if test "${ac_cv_c_compiler_gnu+set}" = set; then 2492 echo $ECHO_N "(cached) $ECHO_C" >&6 2493else 2494 cat >conftest.$ac_ext <<_ACEOF 2495/* confdefs.h. */ 2496_ACEOF 2497cat confdefs.h >>conftest.$ac_ext 2498cat >>conftest.$ac_ext <<_ACEOF 2499/* end confdefs.h. */ 2500 2501int 2502main () 2503{ 2504#ifndef __GNUC__ 2505 choke me 2506#endif 2507 2508 ; 2509 return 0; 2510} 2511_ACEOF 2512rm -f conftest.$ac_objext 2513if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2514 (eval $ac_compile) 2>conftest.er1 2515 ac_status=$? 2516 grep -v '^ *+' conftest.er1 >conftest.err 2517 rm -f conftest.er1 2518 cat conftest.err >&5 2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2520 (exit $ac_status); } && 2521 { ac_try='test -z "$ac_c_werror_flag" 2522 || test ! -s conftest.err' 2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2524 (eval $ac_try) 2>&5 2525 ac_status=$? 2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2527 (exit $ac_status); }; } && 2528 { ac_try='test -s conftest.$ac_objext' 2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2530 (eval $ac_try) 2>&5 2531 ac_status=$? 2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2533 (exit $ac_status); }; }; then 2534 ac_compiler_gnu=yes 2535else 2536 echo "$as_me: failed program was:" >&5 2537sed 's/^/| /' conftest.$ac_ext >&5 2538 2539ac_compiler_gnu=no 2540fi 2541rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2542ac_cv_c_compiler_gnu=$ac_compiler_gnu 2543 2544fi 2545echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2546echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2547GCC=`test $ac_compiler_gnu = yes && echo yes` 2548ac_test_CFLAGS=${CFLAGS+set} 2549ac_save_CFLAGS=$CFLAGS 2550CFLAGS="-g" 2551echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2552echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2553if test "${ac_cv_prog_cc_g+set}" = set; then 2554 echo $ECHO_N "(cached) $ECHO_C" >&6 2555else 2556 cat >conftest.$ac_ext <<_ACEOF 2557/* confdefs.h. */ 2558_ACEOF 2559cat confdefs.h >>conftest.$ac_ext 2560cat >>conftest.$ac_ext <<_ACEOF 2561/* end confdefs.h. */ 2562 2563int 2564main () 2565{ 2566 2567 ; 2568 return 0; 2569} 2570_ACEOF 2571rm -f conftest.$ac_objext 2572if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2573 (eval $ac_compile) 2>conftest.er1 2574 ac_status=$? 2575 grep -v '^ *+' conftest.er1 >conftest.err 2576 rm -f conftest.er1 2577 cat conftest.err >&5 2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2579 (exit $ac_status); } && 2580 { ac_try='test -z "$ac_c_werror_flag" 2581 || test ! -s conftest.err' 2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2583 (eval $ac_try) 2>&5 2584 ac_status=$? 2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2586 (exit $ac_status); }; } && 2587 { ac_try='test -s conftest.$ac_objext' 2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2589 (eval $ac_try) 2>&5 2590 ac_status=$? 2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2592 (exit $ac_status); }; }; then 2593 ac_cv_prog_cc_g=yes 2594else 2595 echo "$as_me: failed program was:" >&5 2596sed 's/^/| /' conftest.$ac_ext >&5 2597 2598ac_cv_prog_cc_g=no 2599fi 2600rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2601fi 2602echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2603echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2604if test "$ac_test_CFLAGS" = set; then 2605 CFLAGS=$ac_save_CFLAGS 2606elif test $ac_cv_prog_cc_g = yes; then 2607 if test "$GCC" = yes; then 2608 CFLAGS="-g -O2" 2609 else 2610 CFLAGS="-g" 2611 fi 2612else 2613 if test "$GCC" = yes; then 2614 CFLAGS="-O2" 2615 else 2616 CFLAGS= 2617 fi 2618fi 2619echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2620echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2621if test "${ac_cv_prog_cc_stdc+set}" = set; then 2622 echo $ECHO_N "(cached) $ECHO_C" >&6 2623else 2624 ac_cv_prog_cc_stdc=no 2625ac_save_CC=$CC 2626cat >conftest.$ac_ext <<_ACEOF 2627/* confdefs.h. */ 2628_ACEOF 2629cat confdefs.h >>conftest.$ac_ext 2630cat >>conftest.$ac_ext <<_ACEOF 2631/* end confdefs.h. */ 2632#include <stdarg.h> 2633#include <stdio.h> 2634#include <sys/types.h> 2635#include <sys/stat.h> 2636/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2637struct buf { int x; }; 2638FILE * (*rcsopen) (struct buf *, struct stat *, int); 2639static char *e (p, i) 2640 char **p; 2641 int i; 2642{ 2643 return p[i]; 2644} 2645static char *f (char * (*g) (char **, int), char **p, ...) 2646{ 2647 char *s; 2648 va_list v; 2649 va_start (v,p); 2650 s = g (p, va_arg (v,int)); 2651 va_end (v); 2652 return s; 2653} 2654 2655/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2656 function prototypes and stuff, but not '\xHH' hex character constants. 2657 These don't provoke an error unfortunately, instead are silently treated 2658 as 'x'. The following induces an error, until -std1 is added to get 2659 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2660 array size at least. It's necessary to write '\x00'==0 to get something 2661 that's true only with -std1. */ 2662int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2663 2664int test (int i, double x); 2665struct s1 {int (*f) (int a);}; 2666struct s2 {int (*f) (double a);}; 2667int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2668int argc; 2669char **argv; 2670int 2671main () 2672{ 2673return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2674 ; 2675 return 0; 2676} 2677_ACEOF 2678# Don't try gcc -ansi; that turns off useful extensions and 2679# breaks some systems' header files. 2680# AIX -qlanglvl=ansi 2681# Ultrix and OSF/1 -std1 2682# HP-UX 10.20 and later -Ae 2683# HP-UX older versions -Aa -D_HPUX_SOURCE 2684# SVR4 -Xc -D__EXTENSIONS__ 2685for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2686do 2687 CC="$ac_save_CC $ac_arg" 2688 rm -f conftest.$ac_objext 2689if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2690 (eval $ac_compile) 2>conftest.er1 2691 ac_status=$? 2692 grep -v '^ *+' conftest.er1 >conftest.err 2693 rm -f conftest.er1 2694 cat conftest.err >&5 2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2696 (exit $ac_status); } && 2697 { ac_try='test -z "$ac_c_werror_flag" 2698 || test ! -s conftest.err' 2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2700 (eval $ac_try) 2>&5 2701 ac_status=$? 2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2703 (exit $ac_status); }; } && 2704 { ac_try='test -s conftest.$ac_objext' 2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2706 (eval $ac_try) 2>&5 2707 ac_status=$? 2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2709 (exit $ac_status); }; }; then 2710 ac_cv_prog_cc_stdc=$ac_arg 2711break 2712else 2713 echo "$as_me: failed program was:" >&5 2714sed 's/^/| /' conftest.$ac_ext >&5 2715 2716fi 2717rm -f conftest.err conftest.$ac_objext 2718done 2719rm -f conftest.$ac_ext conftest.$ac_objext 2720CC=$ac_save_CC 2721 2722fi 2723 2724case "x$ac_cv_prog_cc_stdc" in 2725 x|xno) 2726 echo "$as_me:$LINENO: result: none needed" >&5 2727echo "${ECHO_T}none needed" >&6 ;; 2728 *) 2729 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2730echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2731 CC="$CC $ac_cv_prog_cc_stdc" ;; 2732esac 2733 2734# Some people use a C++ compiler to compile C. Since we use `exit', 2735# in C++ we need to declare it. In case someone uses the same compiler 2736# for both compiling C and C++ we need to have the C++ compiler decide 2737# the declaration of exit, since it's the most demanding environment. 2738cat >conftest.$ac_ext <<_ACEOF 2739#ifndef __cplusplus 2740 choke me 2741#endif 2742_ACEOF 2743rm -f conftest.$ac_objext 2744if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2745 (eval $ac_compile) 2>conftest.er1 2746 ac_status=$? 2747 grep -v '^ *+' conftest.er1 >conftest.err 2748 rm -f conftest.er1 2749 cat conftest.err >&5 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2751 (exit $ac_status); } && 2752 { ac_try='test -z "$ac_c_werror_flag" 2753 || test ! -s conftest.err' 2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2755 (eval $ac_try) 2>&5 2756 ac_status=$? 2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2758 (exit $ac_status); }; } && 2759 { ac_try='test -s conftest.$ac_objext' 2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2761 (eval $ac_try) 2>&5 2762 ac_status=$? 2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764 (exit $ac_status); }; }; then 2765 for ac_declaration in \ 2766 '' \ 2767 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2768 'extern "C" void std::exit (int); using std::exit;' \ 2769 'extern "C" void exit (int) throw ();' \ 2770 'extern "C" void exit (int);' \ 2771 'void exit (int);' 2772do 2773 cat >conftest.$ac_ext <<_ACEOF 2774/* confdefs.h. */ 2775_ACEOF 2776cat confdefs.h >>conftest.$ac_ext 2777cat >>conftest.$ac_ext <<_ACEOF 2778/* end confdefs.h. */ 2779$ac_declaration 2780#include <stdlib.h> 2781int 2782main () 2783{ 2784exit (42); 2785 ; 2786 return 0; 2787} 2788_ACEOF 2789rm -f conftest.$ac_objext 2790if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2791 (eval $ac_compile) 2>conftest.er1 2792 ac_status=$? 2793 grep -v '^ *+' conftest.er1 >conftest.err 2794 rm -f conftest.er1 2795 cat conftest.err >&5 2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2797 (exit $ac_status); } && 2798 { ac_try='test -z "$ac_c_werror_flag" 2799 || test ! -s conftest.err' 2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2801 (eval $ac_try) 2>&5 2802 ac_status=$? 2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2804 (exit $ac_status); }; } && 2805 { ac_try='test -s conftest.$ac_objext' 2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2807 (eval $ac_try) 2>&5 2808 ac_status=$? 2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2810 (exit $ac_status); }; }; then 2811 : 2812else 2813 echo "$as_me: failed program was:" >&5 2814sed 's/^/| /' conftest.$ac_ext >&5 2815 2816continue 2817fi 2818rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2819 cat >conftest.$ac_ext <<_ACEOF 2820/* confdefs.h. */ 2821_ACEOF 2822cat confdefs.h >>conftest.$ac_ext 2823cat >>conftest.$ac_ext <<_ACEOF 2824/* end confdefs.h. */ 2825$ac_declaration 2826int 2827main () 2828{ 2829exit (42); 2830 ; 2831 return 0; 2832} 2833_ACEOF 2834rm -f conftest.$ac_objext 2835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2836 (eval $ac_compile) 2>conftest.er1 2837 ac_status=$? 2838 grep -v '^ *+' conftest.er1 >conftest.err 2839 rm -f conftest.er1 2840 cat conftest.err >&5 2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2842 (exit $ac_status); } && 2843 { ac_try='test -z "$ac_c_werror_flag" 2844 || test ! -s conftest.err' 2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2846 (eval $ac_try) 2>&5 2847 ac_status=$? 2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2849 (exit $ac_status); }; } && 2850 { ac_try='test -s conftest.$ac_objext' 2851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2852 (eval $ac_try) 2>&5 2853 ac_status=$? 2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2855 (exit $ac_status); }; }; then 2856 break 2857else 2858 echo "$as_me: failed program was:" >&5 2859sed 's/^/| /' conftest.$ac_ext >&5 2860 2861fi 2862rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2863done 2864rm -f conftest* 2865if test -n "$ac_declaration"; then 2866 echo '#ifdef __cplusplus' >>confdefs.h 2867 echo $ac_declaration >>confdefs.h 2868 echo '#endif' >>confdefs.h 2869fi 2870 2871else 2872 echo "$as_me: failed program was:" >&5 2873sed 's/^/| /' conftest.$ac_ext >&5 2874 2875fi 2876rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2877ac_ext=c 2878ac_cpp='$CPP $CPPFLAGS' 2879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2881ac_compiler_gnu=$ac_cv_c_compiler_gnu 2882DEPDIR="${am__leading_dot}deps" 2883 2884 ac_config_commands="$ac_config_commands depfiles" 2885 2886 2887am_make=${MAKE-make} 2888cat > confinc << 'END' 2889am__doit: 2890 @echo done 2891.PHONY: am__doit 2892END 2893# If we don't find an include directive, just comment out the code. 2894echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2895echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2896am__include="#" 2897am__quote= 2898_am_result=none 2899# First try GNU make style include. 2900echo "include confinc" > confmf 2901# We grep out `Entering directory' and `Leaving directory' 2902# messages which can occur if `w' ends up in MAKEFLAGS. 2903# In particular we don't look at `^make:' because GNU make might 2904# be invoked under some other name (usually "gmake"), in which 2905# case it prints its new name instead of `make'. 2906if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2907 am__include=include 2908 am__quote= 2909 _am_result=GNU 2910fi 2911# Now try BSD make style include. 2912if test "$am__include" = "#"; then 2913 echo '.include "confinc"' > confmf 2914 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2915 am__include=.include 2916 am__quote="\"" 2917 _am_result=BSD 2918 fi 2919fi 2920 2921 2922echo "$as_me:$LINENO: result: $_am_result" >&5 2923echo "${ECHO_T}$_am_result" >&6 2924rm -f confinc confmf 2925 2926# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2927if test "${enable_dependency_tracking+set}" = set; then 2928 enableval="$enable_dependency_tracking" 2929 2930fi; 2931if test "x$enable_dependency_tracking" != xno; then 2932 am_depcomp="$ac_aux_dir/depcomp" 2933 AMDEPBACKSLASH='\' 2934fi 2935 2936 2937if test "x$enable_dependency_tracking" != xno; then 2938 AMDEP_TRUE= 2939 AMDEP_FALSE='#' 2940else 2941 AMDEP_TRUE='#' 2942 AMDEP_FALSE= 2943fi 2944 2945 2946 2947 2948depcc="$CC" am_compiler_list= 2949 2950echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2951echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2952if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2953 echo $ECHO_N "(cached) $ECHO_C" >&6 2954else 2955 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2956 # We make a subdir and do the tests there. Otherwise we can end up 2957 # making bogus files that we don't know about and never remove. For 2958 # instance it was reported that on HP-UX the gcc test will end up 2959 # making a dummy file named `D' -- because `-MD' means `put the output 2960 # in D'. 2961 mkdir conftest.dir 2962 # Copy depcomp to subdir because otherwise we won't find it if we're 2963 # using a relative directory. 2964 cp "$am_depcomp" conftest.dir 2965 cd conftest.dir 2966 # We will build objects and dependencies in a subdirectory because 2967 # it helps to detect inapplicable dependency modes. For instance 2968 # both Tru64's cc and ICC support -MD to output dependencies as a 2969 # side effect of compilation, but ICC will put the dependencies in 2970 # the current directory while Tru64 will put them in the object 2971 # directory. 2972 mkdir sub 2973 2974 am_cv_CC_dependencies_compiler_type=none 2975 if test "$am_compiler_list" = ""; then 2976 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2977 fi 2978 for depmode in $am_compiler_list; do 2979 # Setup a source with many dependencies, because some compilers 2980 # like to wrap large dependency lists on column 80 (with \), and 2981 # we should not choose a depcomp mode which is confused by this. 2982 # 2983 # We need to recreate these files for each test, as the compiler may 2984 # overwrite some of them when testing with obscure command lines. 2985 # This happens at least with the AIX C compiler. 2986 : > sub/conftest.c 2987 for i in 1 2 3 4 5 6; do 2988 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2989 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2990 # Solaris 8's {/usr,}/bin/sh. 2991 touch sub/conftst$i.h 2992 done 2993 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2994 2995 case $depmode in 2996 nosideeffect) 2997 # after this tag, mechanisms are not by side-effect, so they'll 2998 # only be used when explicitly requested 2999 if test "x$enable_dependency_tracking" = xyes; then 3000 continue 3001 else 3002 break 3003 fi 3004 ;; 3005 none) break ;; 3006 esac 3007 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3008 # mode. It turns out that the SunPro C++ compiler does not properly 3009 # handle `-M -o', and we need to detect this. 3010 if depmode=$depmode \ 3011 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3012 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3013 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3014 >/dev/null 2>conftest.err && 3015 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3016 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3017 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3018 # icc doesn't choke on unknown options, it will just issue warnings 3019 # or remarks (even with -Werror). So we grep stderr for any message 3020 # that says an option was ignored or not supported. 3021 # When given -MP, icc 7.0 and 7.1 complain thusly: 3022 # icc: Command line warning: ignoring option '-M'; no argument required 3023 # The diagnosis changed in icc 8.0: 3024 # icc: Command line remark: option '-MP' not supported 3025 if (grep 'ignoring option' conftest.err || 3026 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3027 am_cv_CC_dependencies_compiler_type=$depmode 3028 break 3029 fi 3030 fi 3031 done 3032 3033 cd .. 3034 rm -rf conftest.dir 3035else 3036 am_cv_CC_dependencies_compiler_type=none 3037fi 3038 3039fi 3040echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3041echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3042CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3043 3044 3045 3046if 3047 test "x$enable_dependency_tracking" != xno \ 3048 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3049 am__fastdepCC_TRUE= 3050 am__fastdepCC_FALSE='#' 3051else 3052 am__fastdepCC_TRUE='#' 3053 am__fastdepCC_FALSE= 3054fi 3055 3056 3057 3058 3059 3060 3061if test "x$GCC" != "xyes"; then 3062 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5 3063echo "$as_me: error: libmudflap must be built with GCC" >&2;} 3064 { (exit 1); exit 1; }; } 3065fi 3066ac_ext=c 3067ac_cpp='$CPP $CPPFLAGS' 3068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3070ac_compiler_gnu=$ac_cv_c_compiler_gnu 3071echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3072echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3073# On Suns, sometimes $CPP names a directory. 3074if test -n "$CPP" && test -d "$CPP"; then 3075 CPP= 3076fi 3077if test -z "$CPP"; then 3078 if test "${ac_cv_prog_CPP+set}" = set; then 3079 echo $ECHO_N "(cached) $ECHO_C" >&6 3080else 3081 # Double quotes because CPP needs to be expanded 3082 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3083 do 3084 ac_preproc_ok=false 3085for ac_c_preproc_warn_flag in '' yes 3086do 3087 # Use a header file that comes with gcc, so configuring glibc 3088 # with a fresh cross-compiler works. 3089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3090 # <limits.h> exists even on freestanding compilers. 3091 # On the NeXT, cc -E runs the code through the compiler's parser, 3092 # not just through cpp. "Syntax error" is here to catch this case. 3093 cat >conftest.$ac_ext <<_ACEOF 3094/* confdefs.h. */ 3095_ACEOF 3096cat confdefs.h >>conftest.$ac_ext 3097cat >>conftest.$ac_ext <<_ACEOF 3098/* end confdefs.h. */ 3099#ifdef __STDC__ 3100# include <limits.h> 3101#else 3102# include <assert.h> 3103#endif 3104 Syntax error 3105_ACEOF 3106if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3108 ac_status=$? 3109 grep -v '^ *+' conftest.er1 >conftest.err 3110 rm -f conftest.er1 3111 cat conftest.err >&5 3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3113 (exit $ac_status); } >/dev/null; then 3114 if test -s conftest.err; then 3115 ac_cpp_err=$ac_c_preproc_warn_flag 3116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3117 else 3118 ac_cpp_err= 3119 fi 3120else 3121 ac_cpp_err=yes 3122fi 3123if test -z "$ac_cpp_err"; then 3124 : 3125else 3126 echo "$as_me: failed program was:" >&5 3127sed 's/^/| /' conftest.$ac_ext >&5 3128 3129 # Broken: fails on valid input. 3130continue 3131fi 3132rm -f conftest.err conftest.$ac_ext 3133 3134 # OK, works on sane cases. Now check whether non-existent headers 3135 # can be detected and how. 3136 cat >conftest.$ac_ext <<_ACEOF 3137/* confdefs.h. */ 3138_ACEOF 3139cat confdefs.h >>conftest.$ac_ext 3140cat >>conftest.$ac_ext <<_ACEOF 3141/* end confdefs.h. */ 3142#include <ac_nonexistent.h> 3143_ACEOF 3144if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3146 ac_status=$? 3147 grep -v '^ *+' conftest.er1 >conftest.err 3148 rm -f conftest.er1 3149 cat conftest.err >&5 3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3151 (exit $ac_status); } >/dev/null; then 3152 if test -s conftest.err; then 3153 ac_cpp_err=$ac_c_preproc_warn_flag 3154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3155 else 3156 ac_cpp_err= 3157 fi 3158else 3159 ac_cpp_err=yes 3160fi 3161if test -z "$ac_cpp_err"; then 3162 # Broken: success on invalid input. 3163continue 3164else 3165 echo "$as_me: failed program was:" >&5 3166sed 's/^/| /' conftest.$ac_ext >&5 3167 3168 # Passes both tests. 3169ac_preproc_ok=: 3170break 3171fi 3172rm -f conftest.err conftest.$ac_ext 3173 3174done 3175# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3176rm -f conftest.err conftest.$ac_ext 3177if $ac_preproc_ok; then 3178 break 3179fi 3180 3181 done 3182 ac_cv_prog_CPP=$CPP 3183 3184fi 3185 CPP=$ac_cv_prog_CPP 3186else 3187 ac_cv_prog_CPP=$CPP 3188fi 3189echo "$as_me:$LINENO: result: $CPP" >&5 3190echo "${ECHO_T}$CPP" >&6 3191ac_preproc_ok=false 3192for ac_c_preproc_warn_flag in '' yes 3193do 3194 # Use a header file that comes with gcc, so configuring glibc 3195 # with a fresh cross-compiler works. 3196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3197 # <limits.h> exists even on freestanding compilers. 3198 # On the NeXT, cc -E runs the code through the compiler's parser, 3199 # not just through cpp. "Syntax error" is here to catch this case. 3200 cat >conftest.$ac_ext <<_ACEOF 3201/* confdefs.h. */ 3202_ACEOF 3203cat confdefs.h >>conftest.$ac_ext 3204cat >>conftest.$ac_ext <<_ACEOF 3205/* end confdefs.h. */ 3206#ifdef __STDC__ 3207# include <limits.h> 3208#else 3209# include <assert.h> 3210#endif 3211 Syntax error 3212_ACEOF 3213if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3215 ac_status=$? 3216 grep -v '^ *+' conftest.er1 >conftest.err 3217 rm -f conftest.er1 3218 cat conftest.err >&5 3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3220 (exit $ac_status); } >/dev/null; then 3221 if test -s conftest.err; then 3222 ac_cpp_err=$ac_c_preproc_warn_flag 3223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3224 else 3225 ac_cpp_err= 3226 fi 3227else 3228 ac_cpp_err=yes 3229fi 3230if test -z "$ac_cpp_err"; then 3231 : 3232else 3233 echo "$as_me: failed program was:" >&5 3234sed 's/^/| /' conftest.$ac_ext >&5 3235 3236 # Broken: fails on valid input. 3237continue 3238fi 3239rm -f conftest.err conftest.$ac_ext 3240 3241 # OK, works on sane cases. Now check whether non-existent headers 3242 # can be detected and how. 3243 cat >conftest.$ac_ext <<_ACEOF 3244/* confdefs.h. */ 3245_ACEOF 3246cat confdefs.h >>conftest.$ac_ext 3247cat >>conftest.$ac_ext <<_ACEOF 3248/* end confdefs.h. */ 3249#include <ac_nonexistent.h> 3250_ACEOF 3251if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3253 ac_status=$? 3254 grep -v '^ *+' conftest.er1 >conftest.err 3255 rm -f conftest.er1 3256 cat conftest.err >&5 3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3258 (exit $ac_status); } >/dev/null; then 3259 if test -s conftest.err; then 3260 ac_cpp_err=$ac_c_preproc_warn_flag 3261 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3262 else 3263 ac_cpp_err= 3264 fi 3265else 3266 ac_cpp_err=yes 3267fi 3268if test -z "$ac_cpp_err"; then 3269 # Broken: success on invalid input. 3270continue 3271else 3272 echo "$as_me: failed program was:" >&5 3273sed 's/^/| /' conftest.$ac_ext >&5 3274 3275 # Passes both tests. 3276ac_preproc_ok=: 3277break 3278fi 3279rm -f conftest.err conftest.$ac_ext 3280 3281done 3282# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3283rm -f conftest.err conftest.$ac_ext 3284if $ac_preproc_ok; then 3285 : 3286else 3287 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3288See \`config.log' for more details." >&5 3289echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3290See \`config.log' for more details." >&2;} 3291 { (exit 1); exit 1; }; } 3292fi 3293 3294ac_ext=c 3295ac_cpp='$CPP $CPPFLAGS' 3296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3298ac_compiler_gnu=$ac_cv_c_compiler_gnu 3299 3300 3301# Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in 3302# symbol interposition. We disable shared libraries for these. 3303echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5 3304echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6 3305 3306cat >conftest.$ac_ext <<_ACEOF 3307/* confdefs.h. */ 3308_ACEOF 3309cat confdefs.h >>conftest.$ac_ext 3310cat >>conftest.$ac_ext <<_ACEOF 3311/* end confdefs.h. */ 3312 3313#define _GNU_SOURCE 3314#include <dlfcn.h> 3315 3316int 3317main () 3318{ 3319void *foo = dlsym (RTLD_NEXT, "exit"); 3320 ; 3321 return 0; 3322} 3323_ACEOF 3324rm -f conftest.$ac_objext 3325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3326 (eval $ac_compile) 2>conftest.er1 3327 ac_status=$? 3328 grep -v '^ *+' conftest.er1 >conftest.err 3329 rm -f conftest.er1 3330 cat conftest.err >&5 3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3332 (exit $ac_status); } && 3333 { ac_try='test -z "$ac_c_werror_flag" 3334 || test ! -s conftest.err' 3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3336 (eval $ac_try) 2>&5 3337 ac_status=$? 3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3339 (exit $ac_status); }; } && 3340 { ac_try='test -s conftest.$ac_objext' 3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3342 (eval $ac_try) 2>&5 3343 ac_status=$? 3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3345 (exit $ac_status); }; }; then 3346 echo "$as_me:$LINENO: result: yes" >&5 3347echo "${ECHO_T}yes" >&6 3348else 3349 echo "$as_me: failed program was:" >&5 3350sed 's/^/| /' conftest.$ac_ext >&5 3351 3352echo "$as_me:$LINENO: result: no" >&5 3353echo "${ECHO_T}no" >&6 3354enable_shared=no 3355fi 3356rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3357 3358 3359echo "$as_me:$LINENO: checking for egrep" >&5 3360echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3361if test "${ac_cv_prog_egrep+set}" = set; then 3362 echo $ECHO_N "(cached) $ECHO_C" >&6 3363else 3364 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3365 then ac_cv_prog_egrep='grep -E' 3366 else ac_cv_prog_egrep='egrep' 3367 fi 3368fi 3369echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3370echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3371 EGREP=$ac_cv_prog_egrep 3372 3373 3374echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3375echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3376if test "${ac_cv_header_stdc+set}" = set; then 3377 echo $ECHO_N "(cached) $ECHO_C" >&6 3378else 3379 cat >conftest.$ac_ext <<_ACEOF 3380/* confdefs.h. */ 3381_ACEOF 3382cat confdefs.h >>conftest.$ac_ext 3383cat >>conftest.$ac_ext <<_ACEOF 3384/* end confdefs.h. */ 3385#include <stdlib.h> 3386#include <stdarg.h> 3387#include <string.h> 3388#include <float.h> 3389 3390int 3391main () 3392{ 3393 3394 ; 3395 return 0; 3396} 3397_ACEOF 3398rm -f conftest.$ac_objext 3399if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3400 (eval $ac_compile) 2>conftest.er1 3401 ac_status=$? 3402 grep -v '^ *+' conftest.er1 >conftest.err 3403 rm -f conftest.er1 3404 cat conftest.err >&5 3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3406 (exit $ac_status); } && 3407 { ac_try='test -z "$ac_c_werror_flag" 3408 || test ! -s conftest.err' 3409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3410 (eval $ac_try) 2>&5 3411 ac_status=$? 3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3413 (exit $ac_status); }; } && 3414 { ac_try='test -s conftest.$ac_objext' 3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3416 (eval $ac_try) 2>&5 3417 ac_status=$? 3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3419 (exit $ac_status); }; }; then 3420 ac_cv_header_stdc=yes 3421else 3422 echo "$as_me: failed program was:" >&5 3423sed 's/^/| /' conftest.$ac_ext >&5 3424 3425ac_cv_header_stdc=no 3426fi 3427rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3428 3429if test $ac_cv_header_stdc = yes; then 3430 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3431 cat >conftest.$ac_ext <<_ACEOF 3432/* confdefs.h. */ 3433_ACEOF 3434cat confdefs.h >>conftest.$ac_ext 3435cat >>conftest.$ac_ext <<_ACEOF 3436/* end confdefs.h. */ 3437#include <string.h> 3438 3439_ACEOF 3440if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3441 $EGREP "memchr" >/dev/null 2>&1; then 3442 : 3443else 3444 ac_cv_header_stdc=no 3445fi 3446rm -f conftest* 3447 3448fi 3449 3450if test $ac_cv_header_stdc = yes; then 3451 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3452 cat >conftest.$ac_ext <<_ACEOF 3453/* confdefs.h. */ 3454_ACEOF 3455cat confdefs.h >>conftest.$ac_ext 3456cat >>conftest.$ac_ext <<_ACEOF 3457/* end confdefs.h. */ 3458#include <stdlib.h> 3459 3460_ACEOF 3461if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3462 $EGREP "free" >/dev/null 2>&1; then 3463 : 3464else 3465 ac_cv_header_stdc=no 3466fi 3467rm -f conftest* 3468 3469fi 3470 3471if test $ac_cv_header_stdc = yes; then 3472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3473 if test "$cross_compiling" = yes; then 3474 : 3475else 3476 cat >conftest.$ac_ext <<_ACEOF 3477/* confdefs.h. */ 3478_ACEOF 3479cat confdefs.h >>conftest.$ac_ext 3480cat >>conftest.$ac_ext <<_ACEOF 3481/* end confdefs.h. */ 3482#include <ctype.h> 3483#if ((' ' & 0x0FF) == 0x020) 3484# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3485# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3486#else 3487# define ISLOWER(c) \ 3488 (('a' <= (c) && (c) <= 'i') \ 3489 || ('j' <= (c) && (c) <= 'r') \ 3490 || ('s' <= (c) && (c) <= 'z')) 3491# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3492#endif 3493 3494#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3495int 3496main () 3497{ 3498 int i; 3499 for (i = 0; i < 256; i++) 3500 if (XOR (islower (i), ISLOWER (i)) 3501 || toupper (i) != TOUPPER (i)) 3502 exit(2); 3503 exit (0); 3504} 3505_ACEOF 3506rm -f conftest$ac_exeext 3507if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3508 (eval $ac_link) 2>&5 3509 ac_status=$? 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3511 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3513 (eval $ac_try) 2>&5 3514 ac_status=$? 3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3516 (exit $ac_status); }; }; then 3517 : 3518else 3519 echo "$as_me: program exited with status $ac_status" >&5 3520echo "$as_me: failed program was:" >&5 3521sed 's/^/| /' conftest.$ac_ext >&5 3522 3523( exit $ac_status ) 3524ac_cv_header_stdc=no 3525fi 3526rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3527fi 3528fi 3529fi 3530echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3531echo "${ECHO_T}$ac_cv_header_stdc" >&6 3532if test $ac_cv_header_stdc = yes; then 3533 3534cat >>confdefs.h <<\_ACEOF 3535#define STDC_HEADERS 1 3536_ACEOF 3537 3538fi 3539 3540# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3551 inttypes.h stdint.h unistd.h 3552do 3553as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3554echo "$as_me:$LINENO: checking for $ac_header" >&5 3555echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3556if eval "test \"\${$as_ac_Header+set}\" = set"; then 3557 echo $ECHO_N "(cached) $ECHO_C" >&6 3558else 3559 cat >conftest.$ac_ext <<_ACEOF 3560/* confdefs.h. */ 3561_ACEOF 3562cat confdefs.h >>conftest.$ac_ext 3563cat >>conftest.$ac_ext <<_ACEOF 3564/* end confdefs.h. */ 3565$ac_includes_default 3566 3567#include <$ac_header> 3568_ACEOF 3569rm -f conftest.$ac_objext 3570if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3571 (eval $ac_compile) 2>conftest.er1 3572 ac_status=$? 3573 grep -v '^ *+' conftest.er1 >conftest.err 3574 rm -f conftest.er1 3575 cat conftest.err >&5 3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3577 (exit $ac_status); } && 3578 { ac_try='test -z "$ac_c_werror_flag" 3579 || test ! -s conftest.err' 3580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3581 (eval $ac_try) 2>&5 3582 ac_status=$? 3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3584 (exit $ac_status); }; } && 3585 { ac_try='test -s conftest.$ac_objext' 3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3587 (eval $ac_try) 2>&5 3588 ac_status=$? 3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3590 (exit $ac_status); }; }; then 3591 eval "$as_ac_Header=yes" 3592else 3593 echo "$as_me: failed program was:" >&5 3594sed 's/^/| /' conftest.$ac_ext >&5 3595 3596eval "$as_ac_Header=no" 3597fi 3598rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3599fi 3600echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3601echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3602if test `eval echo '${'$as_ac_Header'}'` = yes; then 3603 cat >>confdefs.h <<_ACEOF 3604#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3605_ACEOF 3606 3607fi 3608 3609done 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631for ac_header in stdint.h execinfo.h signal.h dlfcn.h dirent.h pwd.h grp.h \ 3632 netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h ctype.h mntent.h \ 3633 sys/socket.h netinet/in.h arpa/inet.h dlfcn.h sys/mman.h 3634do 3635as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3636if eval "test \"\${$as_ac_Header+set}\" = set"; then 3637 echo "$as_me:$LINENO: checking for $ac_header" >&5 3638echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3639if eval "test \"\${$as_ac_Header+set}\" = set"; then 3640 echo $ECHO_N "(cached) $ECHO_C" >&6 3641fi 3642echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3643echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3644else 3645 # Is the header compilable? 3646echo "$as_me:$LINENO: checking $ac_header usability" >&5 3647echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3648cat >conftest.$ac_ext <<_ACEOF 3649/* confdefs.h. */ 3650_ACEOF 3651cat confdefs.h >>conftest.$ac_ext 3652cat >>conftest.$ac_ext <<_ACEOF 3653/* end confdefs.h. */ 3654$ac_includes_default 3655#include <$ac_header> 3656_ACEOF 3657rm -f conftest.$ac_objext 3658if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3659 (eval $ac_compile) 2>conftest.er1 3660 ac_status=$? 3661 grep -v '^ *+' conftest.er1 >conftest.err 3662 rm -f conftest.er1 3663 cat conftest.err >&5 3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3665 (exit $ac_status); } && 3666 { ac_try='test -z "$ac_c_werror_flag" 3667 || test ! -s conftest.err' 3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3669 (eval $ac_try) 2>&5 3670 ac_status=$? 3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3672 (exit $ac_status); }; } && 3673 { ac_try='test -s conftest.$ac_objext' 3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3675 (eval $ac_try) 2>&5 3676 ac_status=$? 3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3678 (exit $ac_status); }; }; then 3679 ac_header_compiler=yes 3680else 3681 echo "$as_me: failed program was:" >&5 3682sed 's/^/| /' conftest.$ac_ext >&5 3683 3684ac_header_compiler=no 3685fi 3686rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3687echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3688echo "${ECHO_T}$ac_header_compiler" >&6 3689 3690# Is the header present? 3691echo "$as_me:$LINENO: checking $ac_header presence" >&5 3692echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3693cat >conftest.$ac_ext <<_ACEOF 3694/* confdefs.h. */ 3695_ACEOF 3696cat confdefs.h >>conftest.$ac_ext 3697cat >>conftest.$ac_ext <<_ACEOF 3698/* end confdefs.h. */ 3699#include <$ac_header> 3700_ACEOF 3701if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3703 ac_status=$? 3704 grep -v '^ *+' conftest.er1 >conftest.err 3705 rm -f conftest.er1 3706 cat conftest.err >&5 3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3708 (exit $ac_status); } >/dev/null; then 3709 if test -s conftest.err; then 3710 ac_cpp_err=$ac_c_preproc_warn_flag 3711 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3712 else 3713 ac_cpp_err= 3714 fi 3715else 3716 ac_cpp_err=yes 3717fi 3718if test -z "$ac_cpp_err"; then 3719 ac_header_preproc=yes 3720else 3721 echo "$as_me: failed program was:" >&5 3722sed 's/^/| /' conftest.$ac_ext >&5 3723 3724 ac_header_preproc=no 3725fi 3726rm -f conftest.err conftest.$ac_ext 3727echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3728echo "${ECHO_T}$ac_header_preproc" >&6 3729 3730# So? What about this header? 3731case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3732 yes:no: ) 3733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3734echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3736echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3737 ac_header_preproc=yes 3738 ;; 3739 no:yes:* ) 3740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3741echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3743echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3745echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3747echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3749echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3751echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3752 ( 3753 cat <<\_ASBOX 3754## ------------------------------------- ## 3755## Report this to the libmudflap lists. ## 3756## ------------------------------------- ## 3757_ASBOX 3758 ) | 3759 sed "s/^/$as_me: WARNING: /" >&2 3760 ;; 3761esac 3762echo "$as_me:$LINENO: checking for $ac_header" >&5 3763echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3764if eval "test \"\${$as_ac_Header+set}\" = set"; then 3765 echo $ECHO_N "(cached) $ECHO_C" >&6 3766else 3767 eval "$as_ac_Header=\$ac_header_preproc" 3768fi 3769echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3770echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3771 3772fi 3773if test `eval echo '${'$as_ac_Header'}'` = yes; then 3774 cat >>confdefs.h <<_ACEOF 3775#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3776_ACEOF 3777 3778fi 3779 3780done 3781 3782 3783 3784 3785 3786 3787for ac_func in backtrace backtrace_symbols gettimeofday signal 3788do 3789as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3790echo "$as_me:$LINENO: checking for $ac_func" >&5 3791echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3792if eval "test \"\${$as_ac_var+set}\" = set"; then 3793 echo $ECHO_N "(cached) $ECHO_C" >&6 3794else 3795 cat >conftest.$ac_ext <<_ACEOF 3796/* confdefs.h. */ 3797_ACEOF 3798cat confdefs.h >>conftest.$ac_ext 3799cat >>conftest.$ac_ext <<_ACEOF 3800/* end confdefs.h. */ 3801/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 3802 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3803#define $ac_func innocuous_$ac_func 3804 3805/* System header to define __stub macros and hopefully few prototypes, 3806 which can conflict with char $ac_func (); below. 3807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3808 <limits.h> exists even on freestanding compilers. */ 3809 3810#ifdef __STDC__ 3811# include <limits.h> 3812#else 3813# include <assert.h> 3814#endif 3815 3816#undef $ac_func 3817 3818/* Override any gcc2 internal prototype to avoid an error. */ 3819#ifdef __cplusplus 3820extern "C" 3821{ 3822#endif 3823/* We use char because int might match the return type of a gcc2 3824 builtin and then its argument prototype would still apply. */ 3825char $ac_func (); 3826/* The GNU C library defines this for functions which it implements 3827 to always fail with ENOSYS. Some functions are actually named 3828 something starting with __ and the normal name is an alias. */ 3829#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3830choke me 3831#else 3832char (*f) () = $ac_func; 3833#endif 3834#ifdef __cplusplus 3835} 3836#endif 3837 3838int 3839main () 3840{ 3841return f != $ac_func; 3842 ; 3843 return 0; 3844} 3845_ACEOF 3846rm -f conftest.$ac_objext conftest$ac_exeext 3847if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3848 (eval $ac_link) 2>conftest.er1 3849 ac_status=$? 3850 grep -v '^ *+' conftest.er1 >conftest.err 3851 rm -f conftest.er1 3852 cat conftest.err >&5 3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3854 (exit $ac_status); } && 3855 { ac_try='test -z "$ac_c_werror_flag" 3856 || test ! -s conftest.err' 3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3858 (eval $ac_try) 2>&5 3859 ac_status=$? 3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3861 (exit $ac_status); }; } && 3862 { ac_try='test -s conftest$ac_exeext' 3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3864 (eval $ac_try) 2>&5 3865 ac_status=$? 3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3867 (exit $ac_status); }; }; then 3868 eval "$as_ac_var=yes" 3869else 3870 echo "$as_me: failed program was:" >&5 3871sed 's/^/| /' conftest.$ac_ext >&5 3872 3873eval "$as_ac_var=no" 3874fi 3875rm -f conftest.err conftest.$ac_objext \ 3876 conftest$ac_exeext conftest.$ac_ext 3877fi 3878echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3879echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3880if test `eval echo '${'$as_ac_var'}'` = yes; then 3881 cat >>confdefs.h <<_ACEOF 3882#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3883_ACEOF 3884 3885fi 3886done 3887 3888 3889 3890 3891 3892 3893for ac_func in fopen64 fseeko64 ftello64 stat64 freopen64 3894do 3895as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3896echo "$as_me:$LINENO: checking for $ac_func" >&5 3897echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3898if eval "test \"\${$as_ac_var+set}\" = set"; then 3899 echo $ECHO_N "(cached) $ECHO_C" >&6 3900else 3901 cat >conftest.$ac_ext <<_ACEOF 3902/* confdefs.h. */ 3903_ACEOF 3904cat confdefs.h >>conftest.$ac_ext 3905cat >>conftest.$ac_ext <<_ACEOF 3906/* end confdefs.h. */ 3907/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 3908 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3909#define $ac_func innocuous_$ac_func 3910 3911/* System header to define __stub macros and hopefully few prototypes, 3912 which can conflict with char $ac_func (); below. 3913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3914 <limits.h> exists even on freestanding compilers. */ 3915 3916#ifdef __STDC__ 3917# include <limits.h> 3918#else 3919# include <assert.h> 3920#endif 3921 3922#undef $ac_func 3923 3924/* Override any gcc2 internal prototype to avoid an error. */ 3925#ifdef __cplusplus 3926extern "C" 3927{ 3928#endif 3929/* We use char because int might match the return type of a gcc2 3930 builtin and then its argument prototype would still apply. */ 3931char $ac_func (); 3932/* The GNU C library defines this for functions which it implements 3933 to always fail with ENOSYS. Some functions are actually named 3934 something starting with __ and the normal name is an alias. */ 3935#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3936choke me 3937#else 3938char (*f) () = $ac_func; 3939#endif 3940#ifdef __cplusplus 3941} 3942#endif 3943 3944int 3945main () 3946{ 3947return f != $ac_func; 3948 ; 3949 return 0; 3950} 3951_ACEOF 3952rm -f conftest.$ac_objext conftest$ac_exeext 3953if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3954 (eval $ac_link) 2>conftest.er1 3955 ac_status=$? 3956 grep -v '^ *+' conftest.er1 >conftest.err 3957 rm -f conftest.er1 3958 cat conftest.err >&5 3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3960 (exit $ac_status); } && 3961 { ac_try='test -z "$ac_c_werror_flag" 3962 || test ! -s conftest.err' 3963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3964 (eval $ac_try) 2>&5 3965 ac_status=$? 3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3967 (exit $ac_status); }; } && 3968 { ac_try='test -s conftest$ac_exeext' 3969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3970 (eval $ac_try) 2>&5 3971 ac_status=$? 3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3973 (exit $ac_status); }; }; then 3974 eval "$as_ac_var=yes" 3975else 3976 echo "$as_me: failed program was:" >&5 3977sed 's/^/| /' conftest.$ac_ext >&5 3978 3979eval "$as_ac_var=no" 3980fi 3981rm -f conftest.err conftest.$ac_objext \ 3982 conftest$ac_exeext conftest.$ac_ext 3983fi 3984echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3985echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3986if test `eval echo '${'$as_ac_var'}'` = yes; then 3987 cat >>confdefs.h <<_ACEOF 3988#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3989_ACEOF 3990 3991fi 3992done 3993 3994 3995 3996 3997 3998for ac_func in setbuf setbuffer setlinebuf setvbuf 3999do 4000as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4001echo "$as_me:$LINENO: checking for $ac_func" >&5 4002echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4003if eval "test \"\${$as_ac_var+set}\" = set"; then 4004 echo $ECHO_N "(cached) $ECHO_C" >&6 4005else 4006 cat >conftest.$ac_ext <<_ACEOF 4007/* confdefs.h. */ 4008_ACEOF 4009cat confdefs.h >>conftest.$ac_ext 4010cat >>conftest.$ac_ext <<_ACEOF 4011/* end confdefs.h. */ 4012/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4013 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4014#define $ac_func innocuous_$ac_func 4015 4016/* System header to define __stub macros and hopefully few prototypes, 4017 which can conflict with char $ac_func (); below. 4018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4019 <limits.h> exists even on freestanding compilers. */ 4020 4021#ifdef __STDC__ 4022# include <limits.h> 4023#else 4024# include <assert.h> 4025#endif 4026 4027#undef $ac_func 4028 4029/* Override any gcc2 internal prototype to avoid an error. */ 4030#ifdef __cplusplus 4031extern "C" 4032{ 4033#endif 4034/* We use char because int might match the return type of a gcc2 4035 builtin and then its argument prototype would still apply. */ 4036char $ac_func (); 4037/* The GNU C library defines this for functions which it implements 4038 to always fail with ENOSYS. Some functions are actually named 4039 something starting with __ and the normal name is an alias. */ 4040#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4041choke me 4042#else 4043char (*f) () = $ac_func; 4044#endif 4045#ifdef __cplusplus 4046} 4047#endif 4048 4049int 4050main () 4051{ 4052return f != $ac_func; 4053 ; 4054 return 0; 4055} 4056_ACEOF 4057rm -f conftest.$ac_objext conftest$ac_exeext 4058if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4059 (eval $ac_link) 2>conftest.er1 4060 ac_status=$? 4061 grep -v '^ *+' conftest.er1 >conftest.err 4062 rm -f conftest.er1 4063 cat conftest.err >&5 4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4065 (exit $ac_status); } && 4066 { ac_try='test -z "$ac_c_werror_flag" 4067 || test ! -s conftest.err' 4068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4069 (eval $ac_try) 2>&5 4070 ac_status=$? 4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4072 (exit $ac_status); }; } && 4073 { ac_try='test -s conftest$ac_exeext' 4074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4075 (eval $ac_try) 2>&5 4076 ac_status=$? 4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4078 (exit $ac_status); }; }; then 4079 eval "$as_ac_var=yes" 4080else 4081 echo "$as_me: failed program was:" >&5 4082sed 's/^/| /' conftest.$ac_ext >&5 4083 4084eval "$as_ac_var=no" 4085fi 4086rm -f conftest.err conftest.$ac_objext \ 4087 conftest$ac_exeext conftest.$ac_ext 4088fi 4089echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4090echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4091if test `eval echo '${'$as_ac_var'}'` = yes; then 4092 cat >>confdefs.h <<_ACEOF 4093#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4094_ACEOF 4095 4096fi 4097done 4098 4099 4100 4101 4102 4103 4104for ac_func in strnlen memrchr strncpy memmem sethostname 4105do 4106as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4107echo "$as_me:$LINENO: checking for $ac_func" >&5 4108echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4109if eval "test \"\${$as_ac_var+set}\" = set"; then 4110 echo $ECHO_N "(cached) $ECHO_C" >&6 4111else 4112 cat >conftest.$ac_ext <<_ACEOF 4113/* confdefs.h. */ 4114_ACEOF 4115cat confdefs.h >>conftest.$ac_ext 4116cat >>conftest.$ac_ext <<_ACEOF 4117/* end confdefs.h. */ 4118/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4119 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4120#define $ac_func innocuous_$ac_func 4121 4122/* System header to define __stub macros and hopefully few prototypes, 4123 which can conflict with char $ac_func (); below. 4124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4125 <limits.h> exists even on freestanding compilers. */ 4126 4127#ifdef __STDC__ 4128# include <limits.h> 4129#else 4130# include <assert.h> 4131#endif 4132 4133#undef $ac_func 4134 4135/* Override any gcc2 internal prototype to avoid an error. */ 4136#ifdef __cplusplus 4137extern "C" 4138{ 4139#endif 4140/* We use char because int might match the return type of a gcc2 4141 builtin and then its argument prototype would still apply. */ 4142char $ac_func (); 4143/* The GNU C library defines this for functions which it implements 4144 to always fail with ENOSYS. Some functions are actually named 4145 something starting with __ and the normal name is an alias. */ 4146#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4147choke me 4148#else 4149char (*f) () = $ac_func; 4150#endif 4151#ifdef __cplusplus 4152} 4153#endif 4154 4155int 4156main () 4157{ 4158return f != $ac_func; 4159 ; 4160 return 0; 4161} 4162_ACEOF 4163rm -f conftest.$ac_objext conftest$ac_exeext 4164if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4165 (eval $ac_link) 2>conftest.er1 4166 ac_status=$? 4167 grep -v '^ *+' conftest.er1 >conftest.err 4168 rm -f conftest.er1 4169 cat conftest.err >&5 4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4171 (exit $ac_status); } && 4172 { ac_try='test -z "$ac_c_werror_flag" 4173 || test ! -s conftest.err' 4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4175 (eval $ac_try) 2>&5 4176 ac_status=$? 4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4178 (exit $ac_status); }; } && 4179 { ac_try='test -s conftest$ac_exeext' 4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4181 (eval $ac_try) 2>&5 4182 ac_status=$? 4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4184 (exit $ac_status); }; }; then 4185 eval "$as_ac_var=yes" 4186else 4187 echo "$as_me: failed program was:" >&5 4188sed 's/^/| /' conftest.$ac_ext >&5 4189 4190eval "$as_ac_var=no" 4191fi 4192rm -f conftest.err conftest.$ac_objext \ 4193 conftest$ac_exeext conftest.$ac_ext 4194fi 4195echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4196echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4197if test `eval echo '${'$as_ac_var'}'` = yes; then 4198 cat >>confdefs.h <<_ACEOF 4199#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4200_ACEOF 4201 4202fi 4203done 4204 4205 4206 4207 4208for ac_func in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc 4209do 4210as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4211echo "$as_me:$LINENO: checking for $ac_func" >&5 4212echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4213if eval "test \"\${$as_ac_var+set}\" = set"; then 4214 echo $ECHO_N "(cached) $ECHO_C" >&6 4215else 4216 cat >conftest.$ac_ext <<_ACEOF 4217/* confdefs.h. */ 4218_ACEOF 4219cat confdefs.h >>conftest.$ac_ext 4220cat >>conftest.$ac_ext <<_ACEOF 4221/* end confdefs.h. */ 4222/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4223 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4224#define $ac_func innocuous_$ac_func 4225 4226/* System header to define __stub macros and hopefully few prototypes, 4227 which can conflict with char $ac_func (); below. 4228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4229 <limits.h> exists even on freestanding compilers. */ 4230 4231#ifdef __STDC__ 4232# include <limits.h> 4233#else 4234# include <assert.h> 4235#endif 4236 4237#undef $ac_func 4238 4239/* Override any gcc2 internal prototype to avoid an error. */ 4240#ifdef __cplusplus 4241extern "C" 4242{ 4243#endif 4244/* We use char because int might match the return type of a gcc2 4245 builtin and then its argument prototype would still apply. */ 4246char $ac_func (); 4247/* The GNU C library defines this for functions which it implements 4248 to always fail with ENOSYS. Some functions are actually named 4249 something starting with __ and the normal name is an alias. */ 4250#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4251choke me 4252#else 4253char (*f) () = $ac_func; 4254#endif 4255#ifdef __cplusplus 4256} 4257#endif 4258 4259int 4260main () 4261{ 4262return f != $ac_func; 4263 ; 4264 return 0; 4265} 4266_ACEOF 4267rm -f conftest.$ac_objext conftest$ac_exeext 4268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4269 (eval $ac_link) 2>conftest.er1 4270 ac_status=$? 4271 grep -v '^ *+' conftest.er1 >conftest.err 4272 rm -f conftest.er1 4273 cat conftest.err >&5 4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4275 (exit $ac_status); } && 4276 { ac_try='test -z "$ac_c_werror_flag" 4277 || test ! -s conftest.err' 4278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4279 (eval $ac_try) 2>&5 4280 ac_status=$? 4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4282 (exit $ac_status); }; } && 4283 { ac_try='test -s conftest$ac_exeext' 4284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4285 (eval $ac_try) 2>&5 4286 ac_status=$? 4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4288 (exit $ac_status); }; }; then 4289 eval "$as_ac_var=yes" 4290else 4291 echo "$as_me: failed program was:" >&5 4292sed 's/^/| /' conftest.$ac_ext >&5 4293 4294eval "$as_ac_var=no" 4295fi 4296rm -f conftest.err conftest.$ac_objext \ 4297 conftest$ac_exeext conftest.$ac_ext 4298fi 4299echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4300echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4301if test `eval echo '${'$as_ac_var'}'` = yes; then 4302 cat >>confdefs.h <<_ACEOF 4303#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4304_ACEOF 4305 4306fi 4307done 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317for ac_func in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent 4318do 4319as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4320echo "$as_me:$LINENO: checking for $ac_func" >&5 4321echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4322if eval "test \"\${$as_ac_var+set}\" = set"; then 4323 echo $ECHO_N "(cached) $ECHO_C" >&6 4324else 4325 cat >conftest.$ac_ext <<_ACEOF 4326/* confdefs.h. */ 4327_ACEOF 4328cat confdefs.h >>conftest.$ac_ext 4329cat >>conftest.$ac_ext <<_ACEOF 4330/* end confdefs.h. */ 4331/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4332 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4333#define $ac_func innocuous_$ac_func 4334 4335/* System header to define __stub macros and hopefully few prototypes, 4336 which can conflict with char $ac_func (); below. 4337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4338 <limits.h> exists even on freestanding compilers. */ 4339 4340#ifdef __STDC__ 4341# include <limits.h> 4342#else 4343# include <assert.h> 4344#endif 4345 4346#undef $ac_func 4347 4348/* Override any gcc2 internal prototype to avoid an error. */ 4349#ifdef __cplusplus 4350extern "C" 4351{ 4352#endif 4353/* We use char because int might match the return type of a gcc2 4354 builtin and then its argument prototype would still apply. */ 4355char $ac_func (); 4356/* The GNU C library defines this for functions which it implements 4357 to always fail with ENOSYS. Some functions are actually named 4358 something starting with __ and the normal name is an alias. */ 4359#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4360choke me 4361#else 4362char (*f) () = $ac_func; 4363#endif 4364#ifdef __cplusplus 4365} 4366#endif 4367 4368int 4369main () 4370{ 4371return f != $ac_func; 4372 ; 4373 return 0; 4374} 4375_ACEOF 4376rm -f conftest.$ac_objext conftest$ac_exeext 4377if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4378 (eval $ac_link) 2>conftest.er1 4379 ac_status=$? 4380 grep -v '^ *+' conftest.er1 >conftest.err 4381 rm -f conftest.er1 4382 cat conftest.err >&5 4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4384 (exit $ac_status); } && 4385 { ac_try='test -z "$ac_c_werror_flag" 4386 || test ! -s conftest.err' 4387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4388 (eval $ac_try) 2>&5 4389 ac_status=$? 4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4391 (exit $ac_status); }; } && 4392 { ac_try='test -s conftest$ac_exeext' 4393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4394 (eval $ac_try) 2>&5 4395 ac_status=$? 4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4397 (exit $ac_status); }; }; then 4398 eval "$as_ac_var=yes" 4399else 4400 echo "$as_me: failed program was:" >&5 4401sed 's/^/| /' conftest.$ac_ext >&5 4402 4403eval "$as_ac_var=no" 4404fi 4405rm -f conftest.err conftest.$ac_objext \ 4406 conftest$ac_exeext conftest.$ac_ext 4407fi 4408echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4409echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4410if test `eval echo '${'$as_ac_var'}'` = yes; then 4411 cat >>confdefs.h <<_ACEOF 4412#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4413_ACEOF 4414 4415fi 4416done 4417 4418 4419 4420 4421 4422 4423for ac_func in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r 4424do 4425as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4426echo "$as_me:$LINENO: checking for $ac_func" >&5 4427echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4428if eval "test \"\${$as_ac_var+set}\" = set"; then 4429 echo $ECHO_N "(cached) $ECHO_C" >&6 4430else 4431 cat >conftest.$ac_ext <<_ACEOF 4432/* confdefs.h. */ 4433_ACEOF 4434cat confdefs.h >>conftest.$ac_ext 4435cat >>conftest.$ac_ext <<_ACEOF 4436/* end confdefs.h. */ 4437/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4438 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4439#define $ac_func innocuous_$ac_func 4440 4441/* System header to define __stub macros and hopefully few prototypes, 4442 which can conflict with char $ac_func (); below. 4443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4444 <limits.h> exists even on freestanding compilers. */ 4445 4446#ifdef __STDC__ 4447# include <limits.h> 4448#else 4449# include <assert.h> 4450#endif 4451 4452#undef $ac_func 4453 4454/* Override any gcc2 internal prototype to avoid an error. */ 4455#ifdef __cplusplus 4456extern "C" 4457{ 4458#endif 4459/* We use char because int might match the return type of a gcc2 4460 builtin and then its argument prototype would still apply. */ 4461char $ac_func (); 4462/* The GNU C library defines this for functions which it implements 4463 to always fail with ENOSYS. Some functions are actually named 4464 something starting with __ and the normal name is an alias. */ 4465#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4466choke me 4467#else 4468char (*f) () = $ac_func; 4469#endif 4470#ifdef __cplusplus 4471} 4472#endif 4473 4474int 4475main () 4476{ 4477return f != $ac_func; 4478 ; 4479 return 0; 4480} 4481_ACEOF 4482rm -f conftest.$ac_objext conftest$ac_exeext 4483if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4484 (eval $ac_link) 2>conftest.er1 4485 ac_status=$? 4486 grep -v '^ *+' conftest.er1 >conftest.err 4487 rm -f conftest.er1 4488 cat conftest.err >&5 4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4490 (exit $ac_status); } && 4491 { ac_try='test -z "$ac_c_werror_flag" 4492 || test ! -s conftest.err' 4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4494 (eval $ac_try) 2>&5 4495 ac_status=$? 4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4497 (exit $ac_status); }; } && 4498 { ac_try='test -s conftest$ac_exeext' 4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4500 (eval $ac_try) 2>&5 4501 ac_status=$? 4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4503 (exit $ac_status); }; }; then 4504 eval "$as_ac_var=yes" 4505else 4506 echo "$as_me: failed program was:" >&5 4507sed 's/^/| /' conftest.$ac_ext >&5 4508 4509eval "$as_ac_var=no" 4510fi 4511rm -f conftest.err conftest.$ac_objext \ 4512 conftest$ac_exeext conftest.$ac_ext 4513fi 4514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4515echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4516if test `eval echo '${'$as_ac_var'}'` = yes; then 4517 cat >>confdefs.h <<_ACEOF 4518#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4519_ACEOF 4520 4521fi 4522done 4523 4524 4525 4526 4527 4528 4529for ac_func in getservent getservbyname getservbyport getaddrinfo gai_strerror 4530do 4531as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4532echo "$as_me:$LINENO: checking for $ac_func" >&5 4533echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4534if eval "test \"\${$as_ac_var+set}\" = set"; then 4535 echo $ECHO_N "(cached) $ECHO_C" >&6 4536else 4537 cat >conftest.$ac_ext <<_ACEOF 4538/* confdefs.h. */ 4539_ACEOF 4540cat confdefs.h >>conftest.$ac_ext 4541cat >>conftest.$ac_ext <<_ACEOF 4542/* end confdefs.h. */ 4543/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4544 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4545#define $ac_func innocuous_$ac_func 4546 4547/* System header to define __stub macros and hopefully few prototypes, 4548 which can conflict with char $ac_func (); below. 4549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4550 <limits.h> exists even on freestanding compilers. */ 4551 4552#ifdef __STDC__ 4553# include <limits.h> 4554#else 4555# include <assert.h> 4556#endif 4557 4558#undef $ac_func 4559 4560/* Override any gcc2 internal prototype to avoid an error. */ 4561#ifdef __cplusplus 4562extern "C" 4563{ 4564#endif 4565/* We use char because int might match the return type of a gcc2 4566 builtin and then its argument prototype would still apply. */ 4567char $ac_func (); 4568/* The GNU C library defines this for functions which it implements 4569 to always fail with ENOSYS. Some functions are actually named 4570 something starting with __ and the normal name is an alias. */ 4571#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4572choke me 4573#else 4574char (*f) () = $ac_func; 4575#endif 4576#ifdef __cplusplus 4577} 4578#endif 4579 4580int 4581main () 4582{ 4583return f != $ac_func; 4584 ; 4585 return 0; 4586} 4587_ACEOF 4588rm -f conftest.$ac_objext conftest$ac_exeext 4589if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4590 (eval $ac_link) 2>conftest.er1 4591 ac_status=$? 4592 grep -v '^ *+' conftest.er1 >conftest.err 4593 rm -f conftest.er1 4594 cat conftest.err >&5 4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4596 (exit $ac_status); } && 4597 { ac_try='test -z "$ac_c_werror_flag" 4598 || test ! -s conftest.err' 4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4600 (eval $ac_try) 2>&5 4601 ac_status=$? 4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4603 (exit $ac_status); }; } && 4604 { ac_try='test -s conftest$ac_exeext' 4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4606 (eval $ac_try) 2>&5 4607 ac_status=$? 4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4609 (exit $ac_status); }; }; then 4610 eval "$as_ac_var=yes" 4611else 4612 echo "$as_me: failed program was:" >&5 4613sed 's/^/| /' conftest.$ac_ext >&5 4614 4615eval "$as_ac_var=no" 4616fi 4617rm -f conftest.err conftest.$ac_objext \ 4618 conftest$ac_exeext conftest.$ac_ext 4619fi 4620echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4621echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4622if test `eval echo '${'$as_ac_var'}'` = yes; then 4623 cat >>confdefs.h <<_ACEOF 4624#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4625_ACEOF 4626 4627fi 4628done 4629 4630 4631 4632 4633for ac_func in getprotoent getprotobyname getprotobynumber 4634do 4635as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4636echo "$as_me:$LINENO: checking for $ac_func" >&5 4637echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4638if eval "test \"\${$as_ac_var+set}\" = set"; then 4639 echo $ECHO_N "(cached) $ECHO_C" >&6 4640else 4641 cat >conftest.$ac_ext <<_ACEOF 4642/* confdefs.h. */ 4643_ACEOF 4644cat confdefs.h >>conftest.$ac_ext 4645cat >>conftest.$ac_ext <<_ACEOF 4646/* end confdefs.h. */ 4647/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4648 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4649#define $ac_func innocuous_$ac_func 4650 4651/* System header to define __stub macros and hopefully few prototypes, 4652 which can conflict with char $ac_func (); below. 4653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4654 <limits.h> exists even on freestanding compilers. */ 4655 4656#ifdef __STDC__ 4657# include <limits.h> 4658#else 4659# include <assert.h> 4660#endif 4661 4662#undef $ac_func 4663 4664/* Override any gcc2 internal prototype to avoid an error. */ 4665#ifdef __cplusplus 4666extern "C" 4667{ 4668#endif 4669/* We use char because int might match the return type of a gcc2 4670 builtin and then its argument prototype would still apply. */ 4671char $ac_func (); 4672/* The GNU C library defines this for functions which it implements 4673 to always fail with ENOSYS. Some functions are actually named 4674 something starting with __ and the normal name is an alias. */ 4675#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4676choke me 4677#else 4678char (*f) () = $ac_func; 4679#endif 4680#ifdef __cplusplus 4681} 4682#endif 4683 4684int 4685main () 4686{ 4687return f != $ac_func; 4688 ; 4689 return 0; 4690} 4691_ACEOF 4692rm -f conftest.$ac_objext conftest$ac_exeext 4693if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4694 (eval $ac_link) 2>conftest.er1 4695 ac_status=$? 4696 grep -v '^ *+' conftest.er1 >conftest.err 4697 rm -f conftest.er1 4698 cat conftest.err >&5 4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4700 (exit $ac_status); } && 4701 { ac_try='test -z "$ac_c_werror_flag" 4702 || test ! -s conftest.err' 4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4704 (eval $ac_try) 2>&5 4705 ac_status=$? 4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4707 (exit $ac_status); }; } && 4708 { ac_try='test -s conftest$ac_exeext' 4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4710 (eval $ac_try) 2>&5 4711 ac_status=$? 4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4713 (exit $ac_status); }; }; then 4714 eval "$as_ac_var=yes" 4715else 4716 echo "$as_me: failed program was:" >&5 4717sed 's/^/| /' conftest.$ac_ext >&5 4718 4719eval "$as_ac_var=no" 4720fi 4721rm -f conftest.err conftest.$ac_objext \ 4722 conftest$ac_exeext conftest.$ac_ext 4723fi 4724echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4725echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4726if test `eval echo '${'$as_ac_var'}'` = yes; then 4727 cat >>confdefs.h <<_ACEOF 4728#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4729_ACEOF 4730 4731fi 4732done 4733 4734 4735 4736 4737for ac_func in getmntent setmntent addmntent 4738do 4739as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4740echo "$as_me:$LINENO: checking for $ac_func" >&5 4741echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4742if eval "test \"\${$as_ac_var+set}\" = set"; then 4743 echo $ECHO_N "(cached) $ECHO_C" >&6 4744else 4745 cat >conftest.$ac_ext <<_ACEOF 4746/* confdefs.h. */ 4747_ACEOF 4748cat confdefs.h >>conftest.$ac_ext 4749cat >>conftest.$ac_ext <<_ACEOF 4750/* end confdefs.h. */ 4751/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4752 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4753#define $ac_func innocuous_$ac_func 4754 4755/* System header to define __stub macros and hopefully few prototypes, 4756 which can conflict with char $ac_func (); below. 4757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4758 <limits.h> exists even on freestanding compilers. */ 4759 4760#ifdef __STDC__ 4761# include <limits.h> 4762#else 4763# include <assert.h> 4764#endif 4765 4766#undef $ac_func 4767 4768/* Override any gcc2 internal prototype to avoid an error. */ 4769#ifdef __cplusplus 4770extern "C" 4771{ 4772#endif 4773/* We use char because int might match the return type of a gcc2 4774 builtin and then its argument prototype would still apply. */ 4775char $ac_func (); 4776/* The GNU C library defines this for functions which it implements 4777 to always fail with ENOSYS. Some functions are actually named 4778 something starting with __ and the normal name is an alias. */ 4779#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4780choke me 4781#else 4782char (*f) () = $ac_func; 4783#endif 4784#ifdef __cplusplus 4785} 4786#endif 4787 4788int 4789main () 4790{ 4791return f != $ac_func; 4792 ; 4793 return 0; 4794} 4795_ACEOF 4796rm -f conftest.$ac_objext conftest$ac_exeext 4797if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4798 (eval $ac_link) 2>conftest.er1 4799 ac_status=$? 4800 grep -v '^ *+' conftest.er1 >conftest.err 4801 rm -f conftest.er1 4802 cat conftest.err >&5 4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4804 (exit $ac_status); } && 4805 { ac_try='test -z "$ac_c_werror_flag" 4806 || test ! -s conftest.err' 4807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4808 (eval $ac_try) 2>&5 4809 ac_status=$? 4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4811 (exit $ac_status); }; } && 4812 { ac_try='test -s conftest$ac_exeext' 4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4814 (eval $ac_try) 2>&5 4815 ac_status=$? 4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4817 (exit $ac_status); }; }; then 4818 eval "$as_ac_var=yes" 4819else 4820 echo "$as_me: failed program was:" >&5 4821sed 's/^/| /' conftest.$ac_ext >&5 4822 4823eval "$as_ac_var=no" 4824fi 4825rm -f conftest.err conftest.$ac_objext \ 4826 conftest$ac_exeext conftest.$ac_ext 4827fi 4828echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4829echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4830if test `eval echo '${'$as_ac_var'}'` = yes; then 4831 cat >>confdefs.h <<_ACEOF 4832#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4833_ACEOF 4834 4835fi 4836done 4837 4838 4839 4840 4841for ac_func in inet_ntoa mmap munmap 4842do 4843as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4844echo "$as_me:$LINENO: checking for $ac_func" >&5 4845echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4846if eval "test \"\${$as_ac_var+set}\" = set"; then 4847 echo $ECHO_N "(cached) $ECHO_C" >&6 4848else 4849 cat >conftest.$ac_ext <<_ACEOF 4850/* confdefs.h. */ 4851_ACEOF 4852cat confdefs.h >>conftest.$ac_ext 4853cat >>conftest.$ac_ext <<_ACEOF 4854/* end confdefs.h. */ 4855/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4856 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4857#define $ac_func innocuous_$ac_func 4858 4859/* System header to define __stub macros and hopefully few prototypes, 4860 which can conflict with char $ac_func (); below. 4861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4862 <limits.h> exists even on freestanding compilers. */ 4863 4864#ifdef __STDC__ 4865# include <limits.h> 4866#else 4867# include <assert.h> 4868#endif 4869 4870#undef $ac_func 4871 4872/* Override any gcc2 internal prototype to avoid an error. */ 4873#ifdef __cplusplus 4874extern "C" 4875{ 4876#endif 4877/* We use char because int might match the return type of a gcc2 4878 builtin and then its argument prototype would still apply. */ 4879char $ac_func (); 4880/* The GNU C library defines this for functions which it implements 4881 to always fail with ENOSYS. Some functions are actually named 4882 something starting with __ and the normal name is an alias. */ 4883#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4884choke me 4885#else 4886char (*f) () = $ac_func; 4887#endif 4888#ifdef __cplusplus 4889} 4890#endif 4891 4892int 4893main () 4894{ 4895return f != $ac_func; 4896 ; 4897 return 0; 4898} 4899_ACEOF 4900rm -f conftest.$ac_objext conftest$ac_exeext 4901if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4902 (eval $ac_link) 2>conftest.er1 4903 ac_status=$? 4904 grep -v '^ *+' conftest.er1 >conftest.err 4905 rm -f conftest.er1 4906 cat conftest.err >&5 4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4908 (exit $ac_status); } && 4909 { ac_try='test -z "$ac_c_werror_flag" 4910 || test ! -s conftest.err' 4911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4912 (eval $ac_try) 2>&5 4913 ac_status=$? 4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4915 (exit $ac_status); }; } && 4916 { ac_try='test -s conftest$ac_exeext' 4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4918 (eval $ac_try) 2>&5 4919 ac_status=$? 4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4921 (exit $ac_status); }; }; then 4922 eval "$as_ac_var=yes" 4923else 4924 echo "$as_me: failed program was:" >&5 4925sed 's/^/| /' conftest.$ac_ext >&5 4926 4927eval "$as_ac_var=no" 4928fi 4929rm -f conftest.err conftest.$ac_objext \ 4930 conftest$ac_exeext conftest.$ac_ext 4931fi 4932echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4933echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4934if test `eval echo '${'$as_ac_var'}'` = yes; then 4935 cat >>confdefs.h <<_ACEOF 4936#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4937_ACEOF 4938 4939fi 4940done 4941 4942 4943cat >conftest.$ac_ext <<_ACEOF 4944/* confdefs.h. */ 4945_ACEOF 4946cat confdefs.h >>conftest.$ac_ext 4947cat >>conftest.$ac_ext <<_ACEOF 4948/* end confdefs.h. */ 4949#include <sys/types.h> 4950#include <sys/ipc.h> 4951#include <sys/sem.h> 4952int 4953main () 4954{ 4955union semun foo; 4956 ; 4957 return 0; 4958} 4959_ACEOF 4960rm -f conftest.$ac_objext 4961if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4962 (eval $ac_compile) 2>conftest.er1 4963 ac_status=$? 4964 grep -v '^ *+' conftest.er1 >conftest.err 4965 rm -f conftest.er1 4966 cat conftest.err >&5 4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4968 (exit $ac_status); } && 4969 { ac_try='test -z "$ac_c_werror_flag" 4970 || test ! -s conftest.err' 4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4972 (eval $ac_try) 2>&5 4973 ac_status=$? 4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4975 (exit $ac_status); }; } && 4976 { ac_try='test -s conftest.$ac_objext' 4977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4978 (eval $ac_try) 2>&5 4979 ac_status=$? 4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4981 (exit $ac_status); }; }; then 4982 mf_have_semun=1 4983else 4984 echo "$as_me: failed program was:" >&5 4985sed 's/^/| /' conftest.$ac_ext >&5 4986 4987mf_have_semun=0 4988fi 4989rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4990if test $mf_have_semun = 1 4991then 4992 4993cat >>confdefs.h <<\_ACEOF 4994#define HAVE_UNION_SEMUN 1 4995_ACEOF 4996 4997fi 4998 4999 5000echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5 5001echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6 5002cat >conftest.$ac_ext <<_ACEOF 5003/* confdefs.h. */ 5004_ACEOF 5005cat confdefs.h >>conftest.$ac_ext 5006cat >>conftest.$ac_ext <<_ACEOF 5007/* end confdefs.h. */ 5008#define _POSIX_PII_SOCKET 5009#include <sys/types.h> 5010#include <sys/socket.h> 5011int 5012main () 5013{ 5014socklen_t x = 5; 5015 ; 5016 return 0; 5017} 5018_ACEOF 5019rm -f conftest.$ac_objext 5020if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5021 (eval $ac_compile) 2>conftest.er1 5022 ac_status=$? 5023 grep -v '^ *+' conftest.er1 >conftest.err 5024 rm -f conftest.er1 5025 cat conftest.err >&5 5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5027 (exit $ac_status); } && 5028 { ac_try='test -z "$ac_c_werror_flag" 5029 || test ! -s conftest.err' 5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5031 (eval $ac_try) 2>&5 5032 ac_status=$? 5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5034 (exit $ac_status); }; } && 5035 { ac_try='test -s conftest.$ac_objext' 5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5037 (eval $ac_try) 2>&5 5038 ac_status=$? 5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040 (exit $ac_status); }; }; then 5041 5042cat >>confdefs.h <<\_ACEOF 5043#define HAVE_SOCKLEN_T 1 5044_ACEOF 5045 5046 echo "$as_me:$LINENO: result: yes" >&5 5047echo "${ECHO_T}yes" >&6 5048else 5049 echo "$as_me: failed program was:" >&5 5050sed 's/^/| /' conftest.$ac_ext >&5 5051 5052echo "$as_me:$LINENO: result: no" >&5 5053echo "${ECHO_T}no" >&6 5054fi 5055rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5056 5057 5058# Check whether --enable-shared or --disable-shared was given. 5059if test "${enable_shared+set}" = set; then 5060 enableval="$enable_shared" 5061 p=${PACKAGE-default} 5062case $enableval in 5063yes) enable_shared=yes ;; 5064no) enable_shared=no ;; 5065*) 5066 enable_shared=no 5067 # Look at the argument we got. We use all the common list separators. 5068 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 5069 for pkg in $enableval; do 5070 if test "X$pkg" = "X$p"; then 5071 enable_shared=yes 5072 fi 5073 done 5074 IFS="$ac_save_ifs" 5075 ;; 5076esac 5077else 5078 enable_shared=yes 5079fi; 5080# Check whether --enable-static or --disable-static was given. 5081if test "${enable_static+set}" = set; then 5082 enableval="$enable_static" 5083 p=${PACKAGE-default} 5084case $enableval in 5085yes) enable_static=yes ;; 5086no) enable_static=no ;; 5087*) 5088 enable_static=no 5089 # Look at the argument we got. We use all the common list separators. 5090 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 5091 for pkg in $enableval; do 5092 if test "X$pkg" = "X$p"; then 5093 enable_static=yes 5094 fi 5095 done 5096 IFS="$ac_save_ifs" 5097 ;; 5098esac 5099else 5100 enable_static=yes 5101fi; 5102# Check whether --enable-fast-install or --disable-fast-install was given. 5103if test "${enable_fast_install+set}" = set; then 5104 enableval="$enable_fast_install" 5105 p=${PACKAGE-default} 5106case $enableval in 5107yes) enable_fast_install=yes ;; 5108no) enable_fast_install=no ;; 5109*) 5110 enable_fast_install=no 5111 # Look at the argument we got. We use all the common list separators. 5112 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 5113 for pkg in $enableval; do 5114 if test "X$pkg" = "X$p"; then 5115 enable_fast_install=yes 5116 fi 5117 done 5118 IFS="$ac_save_ifs" 5119 ;; 5120esac 5121else 5122 enable_fast_install=yes 5123fi; 5124 5125# Check whether --with-gnu-ld or --without-gnu-ld was given. 5126if test "${with_gnu_ld+set}" = set; then 5127 withval="$with_gnu_ld" 5128 test "$withval" = no || with_gnu_ld=yes 5129else 5130 with_gnu_ld=no 5131fi; 5132ac_prog=ld 5133if test "$GCC" = yes; then 5134 # Check if gcc -print-prog-name=ld gives a path. 5135 echo "$as_me:$LINENO: checking for ld used by GCC" >&5 5136echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 5137 case $host in 5138 *-*-mingw*) 5139 # gcc leaves a trailing carriage return which upsets mingw 5140 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5141 *) 5142 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5143 esac 5144 case $ac_prog in 5145 # Accept absolute paths. 5146 [\\/]* | [A-Za-z]:[\\/]*) 5147 re_direlt='/[^/][^/]*/\.\./' 5148 # Canonicalize the path of ld 5149 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 5150 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 5151 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 5152 done 5153 test -z "$LD" && LD="$ac_prog" 5154 ;; 5155 "") 5156 # If it fails, then pretend we aren't using GCC. 5157 ac_prog=ld 5158 ;; 5159 *) 5160 # If it is relative, then search for the first ld in PATH. 5161 with_gnu_ld=unknown 5162 ;; 5163 esac 5164elif test "$with_gnu_ld" = yes; then 5165 echo "$as_me:$LINENO: checking for GNU ld" >&5 5166echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 5167else 5168 echo "$as_me:$LINENO: checking for non-GNU ld" >&5 5169echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 5170fi 5171if test "${lt_cv_path_LD+set}" = set; then 5172 echo $ECHO_N "(cached) $ECHO_C" >&6 5173else 5174 if test -z "$LD"; then 5175 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 5176 for ac_dir in $PATH; do 5177 test -z "$ac_dir" && ac_dir=. 5178 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5179 lt_cv_path_LD="$ac_dir/$ac_prog" 5180 # Check to see if the program is GNU ld. I'd rather use --version, 5181 # but apparently some GNU ld's only accept -v. 5182 # Break only if it was the GNU/non-GNU ld that we prefer. 5183 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 5184 test "$with_gnu_ld" != no && break 5185 else 5186 test "$with_gnu_ld" != yes && break 5187 fi 5188 fi 5189 done 5190 IFS="$ac_save_ifs" 5191else 5192 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5193fi 5194fi 5195 5196LD="$lt_cv_path_LD" 5197if test -n "$LD"; then 5198 echo "$as_me:$LINENO: result: $LD" >&5 5199echo "${ECHO_T}$LD" >&6 5200else 5201 echo "$as_me:$LINENO: result: no" >&5 5202echo "${ECHO_T}no" >&6 5203fi 5204test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 5205echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 5206 { (exit 1); exit 1; }; } 5207echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 5208echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 5209if test "${lt_cv_prog_gnu_ld+set}" = set; then 5210 echo $ECHO_N "(cached) $ECHO_C" >&6 5211else 5212 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 5213if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 5214 lt_cv_prog_gnu_ld=yes 5215else 5216 lt_cv_prog_gnu_ld=no 5217fi 5218fi 5219echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 5220echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 5221with_gnu_ld=$lt_cv_prog_gnu_ld 5222 5223 5224echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 5225echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 5226if test "${lt_cv_ld_reload_flag+set}" = set; then 5227 echo $ECHO_N "(cached) $ECHO_C" >&6 5228else 5229 lt_cv_ld_reload_flag='-r' 5230fi 5231echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 5232echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 5233reload_flag=$lt_cv_ld_reload_flag 5234test -n "$reload_flag" && reload_flag=" $reload_flag" 5235 5236echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 5237echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 5238if test "${lt_cv_path_NM+set}" = set; then 5239 echo $ECHO_N "(cached) $ECHO_C" >&6 5240else 5241 if test -n "$NM"; then 5242 # Let the user override the test. 5243 lt_cv_path_NM="$NM" 5244else 5245 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 5246 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do 5247 test -z "$ac_dir" && ac_dir=. 5248 tmp_nm=$ac_dir/${ac_tool_prefix}nm 5249 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then 5250 # Check to see if the nm accepts a BSD-compat flag. 5251 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5252 # nm: unknown option "B" ignored 5253 # Tru64's nm complains that /dev/null is an invalid object file 5254 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 5255 lt_cv_path_NM="$tmp_nm -B" 5256 break 5257 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 5258 lt_cv_path_NM="$tmp_nm -p" 5259 break 5260 else 5261 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5262 continue # so that we can try to find one that supports BSD flags 5263 fi 5264 fi 5265 done 5266 IFS="$ac_save_ifs" 5267 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 5268fi 5269fi 5270 5271NM="$lt_cv_path_NM" 5272echo "$as_me:$LINENO: result: $NM" >&5 5273echo "${ECHO_T}$NM" >&6 5274 5275echo "$as_me:$LINENO: checking whether ln -s works" >&5 5276echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 5277LN_S=$as_ln_s 5278if test "$LN_S" = "ln -s"; then 5279 echo "$as_me:$LINENO: result: yes" >&5 5280echo "${ECHO_T}yes" >&6 5281else 5282 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 5283echo "${ECHO_T}no, using $LN_S" >&6 5284fi 5285 5286echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 5287echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 5288if test "${lt_cv_deplibs_check_method+set}" = set; then 5289 echo $ECHO_N "(cached) $ECHO_C" >&6 5290else 5291 lt_cv_file_magic_cmd='$MAGIC_CMD' 5292lt_cv_file_magic_test_file= 5293lt_cv_deplibs_check_method='unknown' 5294# Need to set the preceding variable on all platforms that support 5295# interlibrary dependencies. 5296# 'none' -- dependencies not supported. 5297# `unknown' -- same as none, but documents that we really don't know. 5298# 'pass_all' -- all dependencies passed with no checks. 5299# 'test_compile' -- check by making test program. 5300# 'file_magic [regex]' -- check by looking for files in library path 5301# which responds to the $file_magic_cmd with a given egrep regex. 5302# If you have `file' or equivalent on your system and you're not sure 5303# whether `pass_all' will *always* work, you probably want this one. 5304 5305case $host_os in 5306aix*) 5307 lt_cv_deplibs_check_method=pass_all 5308 ;; 5309 5310beos*) 5311 lt_cv_deplibs_check_method=pass_all 5312 ;; 5313 5314bsdi4*) 5315 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5316 lt_cv_file_magic_cmd='/usr/bin/file -L' 5317 lt_cv_file_magic_test_file=/shlib/libc.so 5318 ;; 5319 5320cygwin* | mingw* |pw32*) 5321 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5322 lt_cv_file_magic_cmd='$OBJDUMP -f' 5323 ;; 5324 5325darwin* | rhapsody*) 5326 # this will be overwritten by pass_all, but leave it in just in case 5327 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 5328 lt_cv_file_magic_cmd='/usr/bin/file -L' 5329 case "$host_os" in 5330 rhapsody* | darwin1.012) 5331 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 5332 ;; 5333 *) # Darwin 1.3 on 5334 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 5335 ;; 5336 esac 5337 lt_cv_deplibs_check_method=pass_all 5338 ;; 5339 5340freebsd* | kfreebsd*-gnu) 5341 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 5342 case $host_cpu in 5343 i*86 ) 5344 # Not sure whether the presence of OpenBSD here was a mistake. 5345 # Let's accept both of them until this is cleared up. 5346 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 5347 lt_cv_file_magic_cmd=/usr/bin/file 5348 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5349 ;; 5350 esac 5351 else 5352 lt_cv_deplibs_check_method=pass_all 5353 fi 5354 ;; 5355 5356gnu*) 5357 lt_cv_deplibs_check_method=pass_all 5358 ;; 5359 5360hpux10.20*|hpux11*) 5361 case $host_cpu in 5362 hppa*) 5363 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5364 lt_cv_file_magic_cmd=/usr/bin/file 5365 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5366 ;; 5367 ia64*) 5368 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5369 lt_cv_file_magic_cmd=/usr/bin/file 5370 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5371 ;; 5372 esac 5373 ;; 5374 5375irix5* | irix6*) 5376 case $host_os in 5377 irix5*) 5378 # this will be overridden with pass_all, but let us keep it just in case 5379 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 5380 ;; 5381 *) 5382 case $LD in 5383 *-32|*"-32 ") libmagic=32-bit;; 5384 *-n32|*"-n32 ") libmagic=N32;; 5385 *-64|*"-64 ") libmagic=64-bit;; 5386 *) libmagic=never-match;; 5387 esac 5388 # this will be overridden with pass_all, but let us keep it just in case 5389 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 5390 ;; 5391 esac 5392 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` 5393 lt_cv_deplibs_check_method=pass_all 5394 ;; 5395 5396# This must be Linux ELF. 5397linux-gnu*) 5398 lt_cv_deplibs_check_method=pass_all 5399 ;; 5400 5401netbsd* | knetbsd*-gnu) 5402 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 5403 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 5404 else 5405 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 5406 fi 5407 ;; 5408 5409newsos6) 5410 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5411 lt_cv_file_magic_cmd=/usr/bin/file 5412 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5413 ;; 5414 5415osf3* | osf4* | osf5*) 5416 # this will be overridden with pass_all, but let us keep it just in case 5417 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' 5418 lt_cv_file_magic_test_file=/shlib/libc.so 5419 lt_cv_deplibs_check_method=pass_all 5420 ;; 5421 5422sco3.2v5*) 5423 lt_cv_deplibs_check_method=pass_all 5424 ;; 5425 5426solaris*) 5427 lt_cv_deplibs_check_method=pass_all 5428 lt_cv_file_magic_test_file=/lib/libc.so 5429 ;; 5430 5431sysv5uw[78]* | sysv4*uw2*) 5432 lt_cv_deplibs_check_method=pass_all 5433 ;; 5434 5435sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 5436 case $host_vendor in 5437 ncr) 5438 lt_cv_deplibs_check_method=pass_all 5439 ;; 5440 motorola) 5441 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 5442 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5443 ;; 5444 esac 5445 ;; 5446esac 5447 5448fi 5449echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 5450echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 5451file_magic_cmd=$lt_cv_file_magic_cmd 5452deplibs_check_method=$lt_cv_deplibs_check_method 5453 5454 5455 5456# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 5457 5458# find the maximum length of command line arguments 5459echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 5460echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 5461if test "${lt_cv_sys_max_cmd_len+set}" = set; then 5462 echo $ECHO_N "(cached) $ECHO_C" >&6 5463else 5464 i=0 5465 teststring="ABCD" 5466 5467 case $build_os in 5468 msdosdjgpp*) 5469 # On DJGPP, this test can blow up pretty badly due to problems in libc 5470 # (any single argument exceeding 2000 bytes causes a buffer overrun 5471 # during glob expansion). Even if it were fixed, the result of this 5472 # check would be larger than it should be. 5473 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5474 ;; 5475 5476 cygwin* | mingw*) 5477 # On Win9x/ME, this test blows up -- it succeeds, but takes 5478 # about 5 minutes as the teststring grows exponentially. 5479 # Worse, since 9x/ME are not pre-emptively multitasking, 5480 # you end up with a "frozen" computer, even though with patience 5481 # the test eventually succeeds (with a max line length of 256k). 5482 # Instead, let's just punt: use the minimum linelength reported by 5483 # all of the supported platforms: 8192 (on NT/2K/XP). 5484 lt_cv_sys_max_cmd_len=8192; 5485 ;; 5486 5487 amigaos*) 5488 # On AmigaOS with pdksh, this test takes hours, literally. 5489 # So we just punt and use a minimum line length of 8192. 5490 lt_cv_sys_max_cmd_len=8192; 5491 ;; 5492 5493 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5494 # This has been around since 386BSD, at least. Likely further. 5495 if test -x /sbin/sysctl; then 5496 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5497 elif test -x /usr/sbin/sysctl; then 5498 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5499 else 5500 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD 5501 fi 5502 # And add a safety zone 5503 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5504 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5505 ;; 5506 esac 5507 5508fi 5509 5510if test -n "$lt_cv_sys_max_cmd_len" ; then 5511 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 5512echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 5513else 5514 echo "$as_me:$LINENO: result: none" >&5 5515echo "${ECHO_T}none" >&6 5516fi 5517 5518 5519# Only perform the check for file, if the check method requires it 5520case $deplibs_check_method in 5521file_magic*) 5522 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 5523 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 5524echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 5525if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 5526 echo $ECHO_N "(cached) $ECHO_C" >&6 5527else 5528 case $MAGIC_CMD in 5529 /*) 5530 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 5531 ;; 5532 ?:/*) 5533 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. 5534 ;; 5535 *) 5536 ac_save_MAGIC_CMD="$MAGIC_CMD" 5537 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 5538 ac_dummy="/usr/bin:$PATH" 5539 for ac_dir in $ac_dummy; do 5540 test -z "$ac_dir" && ac_dir=. 5541 if test -f $ac_dir/${ac_tool_prefix}file; then 5542 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 5543 if test -n "$file_magic_test_file"; then 5544 case $deplibs_check_method in 5545 "file_magic "*) 5546 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 5547 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 5548 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 5549 egrep "$file_magic_regex" > /dev/null; then 5550 : 5551 else 5552 cat <<EOF 1>&2 5553 5554*** Warning: the command libtool uses to detect shared libraries, 5555*** $file_magic_cmd, produces output that libtool cannot recognize. 5556*** The result is that libtool may fail to recognize shared libraries 5557*** as such. This will affect the creation of libtool libraries that 5558*** depend on shared libraries, but programs linked with such libtool 5559*** libraries will work regardless of this problem. Nevertheless, you 5560*** may want to report the problem to your system manager and/or to 5561*** bug-libtool@gnu.org 5562 5563EOF 5564 fi ;; 5565 esac 5566 fi 5567 break 5568 fi 5569 done 5570 IFS="$ac_save_ifs" 5571 MAGIC_CMD="$ac_save_MAGIC_CMD" 5572 ;; 5573esac 5574fi 5575 5576MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 5577if test -n "$MAGIC_CMD"; then 5578 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 5579echo "${ECHO_T}$MAGIC_CMD" >&6 5580else 5581 echo "$as_me:$LINENO: result: no" >&5 5582echo "${ECHO_T}no" >&6 5583fi 5584 5585if test -z "$lt_cv_path_MAGIC_CMD"; then 5586 if test -n "$ac_tool_prefix"; then 5587 echo "$as_me:$LINENO: checking for file" >&5 5588echo $ECHO_N "checking for file... $ECHO_C" >&6 5589if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 5590 echo $ECHO_N "(cached) $ECHO_C" >&6 5591else 5592 case $MAGIC_CMD in 5593 /*) 5594 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 5595 ;; 5596 ?:/*) 5597 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. 5598 ;; 5599 *) 5600 ac_save_MAGIC_CMD="$MAGIC_CMD" 5601 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 5602 ac_dummy="/usr/bin:$PATH" 5603 for ac_dir in $ac_dummy; do 5604 test -z "$ac_dir" && ac_dir=. 5605 if test -f $ac_dir/file; then 5606 lt_cv_path_MAGIC_CMD="$ac_dir/file" 5607 if test -n "$file_magic_test_file"; then 5608 case $deplibs_check_method in 5609 "file_magic "*) 5610 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 5611 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 5612 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 5613 egrep "$file_magic_regex" > /dev/null; then 5614 : 5615 else 5616 cat <<EOF 1>&2 5617 5618*** Warning: the command libtool uses to detect shared libraries, 5619*** $file_magic_cmd, produces output that libtool cannot recognize. 5620*** The result is that libtool may fail to recognize shared libraries 5621*** as such. This will affect the creation of libtool libraries that 5622*** depend on shared libraries, but programs linked with such libtool 5623*** libraries will work regardless of this problem. Nevertheless, you 5624*** may want to report the problem to your system manager and/or to 5625*** bug-libtool@gnu.org 5626 5627EOF 5628 fi ;; 5629 esac 5630 fi 5631 break 5632 fi 5633 done 5634 IFS="$ac_save_ifs" 5635 MAGIC_CMD="$ac_save_MAGIC_CMD" 5636 ;; 5637esac 5638fi 5639 5640MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 5641if test -n "$MAGIC_CMD"; then 5642 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 5643echo "${ECHO_T}$MAGIC_CMD" >&6 5644else 5645 echo "$as_me:$LINENO: result: no" >&5 5646echo "${ECHO_T}no" >&6 5647fi 5648 5649 else 5650 MAGIC_CMD=: 5651 fi 5652fi 5653 5654 fi 5655 ;; 5656esac 5657 5658if test -n "$ac_tool_prefix"; then 5659 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5660set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5661echo "$as_me:$LINENO: checking for $ac_word" >&5 5662echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5663if test "${ac_cv_prog_RANLIB+set}" = set; then 5664 echo $ECHO_N "(cached) $ECHO_C" >&6 5665else 5666 if test -n "$RANLIB"; then 5667 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5668else 5669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5670for as_dir in $PATH 5671do 5672 IFS=$as_save_IFS 5673 test -z "$as_dir" && as_dir=. 5674 for ac_exec_ext in '' $ac_executable_extensions; do 5675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5676 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5678 break 2 5679 fi 5680done 5681done 5682 5683fi 5684fi 5685RANLIB=$ac_cv_prog_RANLIB 5686if test -n "$RANLIB"; then 5687 echo "$as_me:$LINENO: result: $RANLIB" >&5 5688echo "${ECHO_T}$RANLIB" >&6 5689else 5690 echo "$as_me:$LINENO: result: no" >&5 5691echo "${ECHO_T}no" >&6 5692fi 5693 5694fi 5695if test -z "$ac_cv_prog_RANLIB"; then 5696 ac_ct_RANLIB=$RANLIB 5697 # Extract the first word of "ranlib", so it can be a program name with args. 5698set dummy ranlib; ac_word=$2 5699echo "$as_me:$LINENO: checking for $ac_word" >&5 5700echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5701if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5702 echo $ECHO_N "(cached) $ECHO_C" >&6 5703else 5704 if test -n "$ac_ct_RANLIB"; then 5705 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5706else 5707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5708for as_dir in $PATH 5709do 5710 IFS=$as_save_IFS 5711 test -z "$as_dir" && as_dir=. 5712 for ac_exec_ext in '' $ac_executable_extensions; do 5713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5714 ac_cv_prog_ac_ct_RANLIB="ranlib" 5715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5716 break 2 5717 fi 5718done 5719done 5720 5721 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 5722fi 5723fi 5724ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5725if test -n "$ac_ct_RANLIB"; then 5726 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5727echo "${ECHO_T}$ac_ct_RANLIB" >&6 5728else 5729 echo "$as_me:$LINENO: result: no" >&5 5730echo "${ECHO_T}no" >&6 5731fi 5732 5733 RANLIB=$ac_ct_RANLIB 5734else 5735 RANLIB="$ac_cv_prog_RANLIB" 5736fi 5737 5738if test -n "$ac_tool_prefix"; then 5739 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5740set dummy ${ac_tool_prefix}strip; ac_word=$2 5741echo "$as_me:$LINENO: checking for $ac_word" >&5 5742echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5743if test "${ac_cv_prog_STRIP+set}" = set; then 5744 echo $ECHO_N "(cached) $ECHO_C" >&6 5745else 5746 if test -n "$STRIP"; then 5747 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5748else 5749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5750for as_dir in $PATH 5751do 5752 IFS=$as_save_IFS 5753 test -z "$as_dir" && as_dir=. 5754 for ac_exec_ext in '' $ac_executable_extensions; do 5755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5756 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5758 break 2 5759 fi 5760done 5761done 5762 5763fi 5764fi 5765STRIP=$ac_cv_prog_STRIP 5766if test -n "$STRIP"; then 5767 echo "$as_me:$LINENO: result: $STRIP" >&5 5768echo "${ECHO_T}$STRIP" >&6 5769else 5770 echo "$as_me:$LINENO: result: no" >&5 5771echo "${ECHO_T}no" >&6 5772fi 5773 5774fi 5775if test -z "$ac_cv_prog_STRIP"; then 5776 ac_ct_STRIP=$STRIP 5777 # Extract the first word of "strip", so it can be a program name with args. 5778set dummy strip; ac_word=$2 5779echo "$as_me:$LINENO: checking for $ac_word" >&5 5780echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5781if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 5782 echo $ECHO_N "(cached) $ECHO_C" >&6 5783else 5784 if test -n "$ac_ct_STRIP"; then 5785 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5786else 5787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5788for as_dir in $PATH 5789do 5790 IFS=$as_save_IFS 5791 test -z "$as_dir" && as_dir=. 5792 for ac_exec_ext in '' $ac_executable_extensions; do 5793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5794 ac_cv_prog_ac_ct_STRIP="strip" 5795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5796 break 2 5797 fi 5798done 5799done 5800 5801 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 5802fi 5803fi 5804ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5805if test -n "$ac_ct_STRIP"; then 5806 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 5807echo "${ECHO_T}$ac_ct_STRIP" >&6 5808else 5809 echo "$as_me:$LINENO: result: no" >&5 5810echo "${ECHO_T}no" >&6 5811fi 5812 5813 STRIP=$ac_ct_STRIP 5814else 5815 STRIP="$ac_cv_prog_STRIP" 5816fi 5817 5818 5819# Check for any special flags to pass to ltconfig. 5820libtool_flags="--cache-file=$cache_file" 5821test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" 5822test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 5823test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 5824test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 5825test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 5826 5827 5828# Check whether --enable-libtool-lock or --disable-libtool-lock was given. 5829if test "${enable_libtool_lock+set}" = set; then 5830 enableval="$enable_libtool_lock" 5831 5832fi; 5833test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" 5834test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" 5835 5836 5837# Check whether --with-pic or --without-pic was given. 5838if test "${with_pic+set}" = set; then 5839 withval="$with_pic" 5840 pic_mode="$withval" 5841else 5842 pic_mode=default 5843fi; 5844test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" 5845test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" 5846 5847# Some flags need to be propagated to the compiler or linker for good 5848# libtool support. 5849case $host in 5850*-*-irix6*) 5851 # Find out which ABI we are using. 5852 echo '#line 5852 "configure"' > conftest.$ac_ext 5853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5854 (eval $ac_compile) 2>&5 5855 ac_status=$? 5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5857 (exit $ac_status); }; then 5858 if test "$lt_cv_prog_gnu_ld" = yes; then 5859 case `/usr/bin/file conftest.$ac_objext` in 5860 *32-bit*) 5861 LD="${LD-ld} -melf32bsmip" 5862 ;; 5863 *N32*) 5864 LD="${LD-ld} -melf32bmipn32" 5865 ;; 5866 *64-bit*) 5867 LD="${LD-ld} -melf64bmip" 5868 ;; 5869 esac 5870 else 5871 case `/usr/bin/file conftest.$ac_objext` in 5872 *32-bit*) 5873 LD="${LD-ld} -32" 5874 ;; 5875 *N32*) 5876 LD="${LD-ld} -n32" 5877 ;; 5878 *64-bit*) 5879 LD="${LD-ld} -64" 5880 ;; 5881 esac 5882 fi 5883 fi 5884 rm -rf conftest* 5885 ;; 5886 5887ia64-*-hpux*) 5888 # Find out which ABI we are using. 5889 echo 'int i;' > conftest.$ac_ext 5890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5891 (eval $ac_compile) 2>&5 5892 ac_status=$? 5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5894 (exit $ac_status); }; then 5895 case "`/usr/bin/file conftest.o`" in 5896 *ELF-32*) 5897 HPUX_IA64_MODE="32" 5898 ;; 5899 *ELF-64*) 5900 HPUX_IA64_MODE="64" 5901 ;; 5902 esac 5903 fi 5904 rm -rf conftest* 5905 ;; 5906 5907x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 5908 # Find out which ABI we are using. 5909 echo 'int i;' > conftest.$ac_ext 5910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5911 (eval $ac_compile) 2>&5 5912 ac_status=$? 5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5914 (exit $ac_status); }; then 5915 case "`/usr/bin/file conftest.o`" in 5916 *32-bit*) 5917 case $host in 5918 x86_64-*linux*) 5919 LD="${LD-ld} -m elf_i386" 5920 ;; 5921 ppc64-*linux*|powerpc64-*linux*) 5922 LD="${LD-ld} -m elf32ppclinux" 5923 ;; 5924 s390x-*linux*) 5925 LD="${LD-ld} -m elf_s390" 5926 ;; 5927 sparc64-*linux*) 5928 LD="${LD-ld} -m elf32_sparc" 5929 ;; 5930 esac 5931 ;; 5932 *64-bit*) 5933 case $host in 5934 x86_64-*linux*) 5935 LD="${LD-ld} -m elf_x86_64" 5936 ;; 5937 ppc*-*linux*|powerpc*-*linux*) 5938 LD="${LD-ld} -m elf64ppc" 5939 ;; 5940 s390*-*linux*) 5941 LD="${LD-ld} -m elf64_s390" 5942 ;; 5943 sparc*-*linux*) 5944 LD="${LD-ld} -m elf64_sparc" 5945 ;; 5946 esac 5947 ;; 5948 esac 5949 fi 5950 rm -rf conftest* 5951 ;; 5952 5953*-*-sco3.2v5*) 5954 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5955 SAVE_CFLAGS="$CFLAGS" 5956 CFLAGS="$CFLAGS -belf" 5957 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 5958echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 5959if test "${lt_cv_cc_needs_belf+set}" = set; then 5960 echo $ECHO_N "(cached) $ECHO_C" >&6 5961else 5962 5963 5964 ac_ext=c 5965ac_cpp='$CPP $CPPFLAGS' 5966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5968ac_compiler_gnu=$ac_cv_c_compiler_gnu 5969 5970 cat >conftest.$ac_ext <<_ACEOF 5971/* confdefs.h. */ 5972_ACEOF 5973cat confdefs.h >>conftest.$ac_ext 5974cat >>conftest.$ac_ext <<_ACEOF 5975/* end confdefs.h. */ 5976 5977int 5978main () 5979{ 5980 5981 ; 5982 return 0; 5983} 5984_ACEOF 5985rm -f conftest.$ac_objext conftest$ac_exeext 5986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5987 (eval $ac_link) 2>conftest.er1 5988 ac_status=$? 5989 grep -v '^ *+' conftest.er1 >conftest.err 5990 rm -f conftest.er1 5991 cat conftest.err >&5 5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5993 (exit $ac_status); } && 5994 { ac_try='test -z "$ac_c_werror_flag" 5995 || test ! -s conftest.err' 5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5997 (eval $ac_try) 2>&5 5998 ac_status=$? 5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6000 (exit $ac_status); }; } && 6001 { ac_try='test -s conftest$ac_exeext' 6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6003 (eval $ac_try) 2>&5 6004 ac_status=$? 6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6006 (exit $ac_status); }; }; then 6007 lt_cv_cc_needs_belf=yes 6008else 6009 echo "$as_me: failed program was:" >&5 6010sed 's/^/| /' conftest.$ac_ext >&5 6011 6012lt_cv_cc_needs_belf=no 6013fi 6014rm -f conftest.err conftest.$ac_objext \ 6015 conftest$ac_exeext conftest.$ac_ext 6016 ac_ext=c 6017ac_cpp='$CPP $CPPFLAGS' 6018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6020ac_compiler_gnu=$ac_cv_c_compiler_gnu 6021 6022fi 6023echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 6024echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 6025 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6026 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6027 CFLAGS="$SAVE_CFLAGS" 6028 fi 6029 ;; 6030 6031 6032esac 6033 6034 6035# Save cache, so that ltconfig can load it 6036cat >confcache <<\_ACEOF 6037# This file is a shell script that caches the results of configure 6038# tests run on this system so they can be shared between configure 6039# scripts and configure runs, see configure's option --config-cache. 6040# It is not useful on other systems. If it contains results you don't 6041# want to keep, you may remove or edit it. 6042# 6043# config.status only pays attention to the cache file if you give it 6044# the --recheck option to rerun configure. 6045# 6046# `ac_cv_env_foo' variables (set or unset) will be overridden when 6047# loading this file, other *unset* `ac_cv_foo' will be assigned the 6048# following values. 6049 6050_ACEOF 6051 6052# The following way of writing the cache mishandles newlines in values, 6053# but we know of no workaround that is simple, portable, and efficient. 6054# So, don't put newlines in cache variables' values. 6055# Ultrix sh set writes to stderr and can't be redirected directly, 6056# and sets the high bit in the cache file unless we assign to the vars. 6057{ 6058 (set) 2>&1 | 6059 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6060 *ac_space=\ *) 6061 # `set' does not quote correctly, so add quotes (double-quote 6062 # substitution turns \\\\ into \\, and sed turns \\ into \). 6063 sed -n \ 6064 "s/'/'\\\\''/g; 6065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6066 ;; 6067 *) 6068 # `set' quotes correctly as required by POSIX, so do not add quotes. 6069 sed -n \ 6070 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6071 ;; 6072 esac; 6073} | 6074 sed ' 6075 t clear 6076 : clear 6077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6078 t end 6079 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6080 : end' >>confcache 6081if diff $cache_file confcache >/dev/null 2>&1; then :; else 6082 if test -w $cache_file; then 6083 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6084 cat confcache >$cache_file 6085 else 6086 echo "not updating unwritable cache $cache_file" 6087 fi 6088fi 6089rm -f confcache 6090 6091# Actually configure libtool. ac_aux_dir is where install-sh is found. 6092AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ 6093MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ 6094LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ 6095AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ 6096objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ 6097deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \ 6098${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ 6099$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ 6100|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5 6101echo "$as_me: error: libtool configure failed" >&2;} 6102 { (exit 1); exit 1; }; } 6103 6104# Reload cache, that may have been modified by ltconfig 6105if test -r "$cache_file"; then 6106 # Some versions of bash will fail to source /dev/null (special 6107 # files actually), so we avoid doing that. 6108 if test -f "$cache_file"; then 6109 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 6110echo "$as_me: loading cache $cache_file" >&6;} 6111 case $cache_file in 6112 [\\/]* | ?:[\\/]* ) . $cache_file;; 6113 *) . ./$cache_file;; 6114 esac 6115 fi 6116else 6117 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 6118echo "$as_me: creating cache $cache_file" >&6;} 6119 >$cache_file 6120fi 6121 6122 6123# This can be used to rebuild libtool when needed 6124LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh" 6125 6126# Always use our own libtool. 6127LIBTOOL='$(SHELL) $(top_builddir)/libtool' 6128 6129# Redirect the config.log output again, so that the ltconfig log is not 6130# clobbered by the next message. 6131exec 5>>./config.log 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141if test "${ac_cv_header_stdint_h+set}" = set; then 6142 echo "$as_me:$LINENO: checking for stdint.h" >&5 6143echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 6144if test "${ac_cv_header_stdint_h+set}" = set; then 6145 echo $ECHO_N "(cached) $ECHO_C" >&6 6146fi 6147echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 6148echo "${ECHO_T}$ac_cv_header_stdint_h" >&6 6149else 6150 # Is the header compilable? 6151echo "$as_me:$LINENO: checking stdint.h usability" >&5 6152echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6 6153cat >conftest.$ac_ext <<_ACEOF 6154/* confdefs.h. */ 6155_ACEOF 6156cat confdefs.h >>conftest.$ac_ext 6157cat >>conftest.$ac_ext <<_ACEOF 6158/* end confdefs.h. */ 6159$ac_includes_default 6160#include <stdint.h> 6161_ACEOF 6162rm -f conftest.$ac_objext 6163if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6164 (eval $ac_compile) 2>conftest.er1 6165 ac_status=$? 6166 grep -v '^ *+' conftest.er1 >conftest.err 6167 rm -f conftest.er1 6168 cat conftest.err >&5 6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6170 (exit $ac_status); } && 6171 { ac_try='test -z "$ac_c_werror_flag" 6172 || test ! -s conftest.err' 6173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6174 (eval $ac_try) 2>&5 6175 ac_status=$? 6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6177 (exit $ac_status); }; } && 6178 { ac_try='test -s conftest.$ac_objext' 6179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6180 (eval $ac_try) 2>&5 6181 ac_status=$? 6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6183 (exit $ac_status); }; }; then 6184 ac_header_compiler=yes 6185else 6186 echo "$as_me: failed program was:" >&5 6187sed 's/^/| /' conftest.$ac_ext >&5 6188 6189ac_header_compiler=no 6190fi 6191rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6192echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6193echo "${ECHO_T}$ac_header_compiler" >&6 6194 6195# Is the header present? 6196echo "$as_me:$LINENO: checking stdint.h presence" >&5 6197echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6 6198cat >conftest.$ac_ext <<_ACEOF 6199/* confdefs.h. */ 6200_ACEOF 6201cat confdefs.h >>conftest.$ac_ext 6202cat >>conftest.$ac_ext <<_ACEOF 6203/* end confdefs.h. */ 6204#include <stdint.h> 6205_ACEOF 6206if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6208 ac_status=$? 6209 grep -v '^ *+' conftest.er1 >conftest.err 6210 rm -f conftest.er1 6211 cat conftest.err >&5 6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6213 (exit $ac_status); } >/dev/null; then 6214 if test -s conftest.err; then 6215 ac_cpp_err=$ac_c_preproc_warn_flag 6216 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6217 else 6218 ac_cpp_err= 6219 fi 6220else 6221 ac_cpp_err=yes 6222fi 6223if test -z "$ac_cpp_err"; then 6224 ac_header_preproc=yes 6225else 6226 echo "$as_me: failed program was:" >&5 6227sed 's/^/| /' conftest.$ac_ext >&5 6228 6229 ac_header_preproc=no 6230fi 6231rm -f conftest.err conftest.$ac_ext 6232echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6233echo "${ECHO_T}$ac_header_preproc" >&6 6234 6235# So? What about this header? 6236case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6237 yes:no: ) 6238 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 6239echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6240 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 6241echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 6242 ac_header_preproc=yes 6243 ;; 6244 no:yes:* ) 6245 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 6246echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 6247 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5 6248echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;} 6249 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 6250echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 6251 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5 6252echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;} 6253 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 6254echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 6255 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 6256echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 6257 ( 6258 cat <<\_ASBOX 6259## ------------------------------------- ## 6260## Report this to the libmudflap lists. ## 6261## ------------------------------------- ## 6262_ASBOX 6263 ) | 6264 sed "s/^/$as_me: WARNING: /" >&2 6265 ;; 6266esac 6267echo "$as_me:$LINENO: checking for stdint.h" >&5 6268echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 6269if test "${ac_cv_header_stdint_h+set}" = set; then 6270 echo $ECHO_N "(cached) $ECHO_C" >&6 6271else 6272 ac_cv_header_stdint_h=$ac_header_preproc 6273fi 6274echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 6275echo "${ECHO_T}$ac_cv_header_stdint_h" >&6 6276 6277fi 6278if test $ac_cv_header_stdint_h = yes; then 6279 MF_HAVE_STDINT_H=1 6280else 6281 MF_HAVE_STDINT_H=0 6282fi 6283 6284 6285 6286if test $MF_HAVE_STDINT_H = 1 6287then 6288 MF_HAVE_UINTPTR_T=1 6289else 6290 cat >conftest.$ac_ext <<_ACEOF 6291/* confdefs.h. */ 6292_ACEOF 6293cat confdefs.h >>conftest.$ac_ext 6294cat >>conftest.$ac_ext <<_ACEOF 6295/* end confdefs.h. */ 6296#include <sys/types.h> 6297int 6298main () 6299{ 6300uintptr_t k = 0; 6301 ; 6302 return 0; 6303} 6304_ACEOF 6305rm -f conftest.$ac_objext 6306if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6307 (eval $ac_compile) 2>conftest.er1 6308 ac_status=$? 6309 grep -v '^ *+' conftest.er1 >conftest.err 6310 rm -f conftest.er1 6311 cat conftest.err >&5 6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6313 (exit $ac_status); } && 6314 { ac_try='test -z "$ac_c_werror_flag" 6315 || test ! -s conftest.err' 6316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6317 (eval $ac_try) 2>&5 6318 ac_status=$? 6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6320 (exit $ac_status); }; } && 6321 { ac_try='test -s conftest.$ac_objext' 6322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6323 (eval $ac_try) 2>&5 6324 ac_status=$? 6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6326 (exit $ac_status); }; }; then 6327 MF_HAVE_UINTPTR_T=1 6328else 6329 echo "$as_me: failed program was:" >&5 6330sed 's/^/| /' conftest.$ac_ext >&5 6331 6332MF_HAVE_UINTPTR_T=0 6333fi 6334rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6335fi 6336 6337 6338if test ! -d pth 6339then 6340 # libmudflapth objects are built in this subdirectory 6341 mkdir pth 6342fi 6343 6344 6345for ac_header in pthread.h 6346do 6347as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6348if eval "test \"\${$as_ac_Header+set}\" = set"; then 6349 echo "$as_me:$LINENO: checking for $ac_header" >&5 6350echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6351if eval "test \"\${$as_ac_Header+set}\" = set"; then 6352 echo $ECHO_N "(cached) $ECHO_C" >&6 6353fi 6354echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6355echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6356else 6357 # Is the header compilable? 6358echo "$as_me:$LINENO: checking $ac_header usability" >&5 6359echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6360cat >conftest.$ac_ext <<_ACEOF 6361/* confdefs.h. */ 6362_ACEOF 6363cat confdefs.h >>conftest.$ac_ext 6364cat >>conftest.$ac_ext <<_ACEOF 6365/* end confdefs.h. */ 6366$ac_includes_default 6367#include <$ac_header> 6368_ACEOF 6369rm -f conftest.$ac_objext 6370if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6371 (eval $ac_compile) 2>conftest.er1 6372 ac_status=$? 6373 grep -v '^ *+' conftest.er1 >conftest.err 6374 rm -f conftest.er1 6375 cat conftest.err >&5 6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6377 (exit $ac_status); } && 6378 { ac_try='test -z "$ac_c_werror_flag" 6379 || test ! -s conftest.err' 6380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6381 (eval $ac_try) 2>&5 6382 ac_status=$? 6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6384 (exit $ac_status); }; } && 6385 { ac_try='test -s conftest.$ac_objext' 6386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6387 (eval $ac_try) 2>&5 6388 ac_status=$? 6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6390 (exit $ac_status); }; }; then 6391 ac_header_compiler=yes 6392else 6393 echo "$as_me: failed program was:" >&5 6394sed 's/^/| /' conftest.$ac_ext >&5 6395 6396ac_header_compiler=no 6397fi 6398rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6399echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6400echo "${ECHO_T}$ac_header_compiler" >&6 6401 6402# Is the header present? 6403echo "$as_me:$LINENO: checking $ac_header presence" >&5 6404echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6405cat >conftest.$ac_ext <<_ACEOF 6406/* confdefs.h. */ 6407_ACEOF 6408cat confdefs.h >>conftest.$ac_ext 6409cat >>conftest.$ac_ext <<_ACEOF 6410/* end confdefs.h. */ 6411#include <$ac_header> 6412_ACEOF 6413if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6415 ac_status=$? 6416 grep -v '^ *+' conftest.er1 >conftest.err 6417 rm -f conftest.er1 6418 cat conftest.err >&5 6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6420 (exit $ac_status); } >/dev/null; then 6421 if test -s conftest.err; then 6422 ac_cpp_err=$ac_c_preproc_warn_flag 6423 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6424 else 6425 ac_cpp_err= 6426 fi 6427else 6428 ac_cpp_err=yes 6429fi 6430if test -z "$ac_cpp_err"; then 6431 ac_header_preproc=yes 6432else 6433 echo "$as_me: failed program was:" >&5 6434sed 's/^/| /' conftest.$ac_ext >&5 6435 6436 ac_header_preproc=no 6437fi 6438rm -f conftest.err conftest.$ac_ext 6439echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6440echo "${ECHO_T}$ac_header_preproc" >&6 6441 6442# So? What about this header? 6443case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6444 yes:no: ) 6445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6446echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6448echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6449 ac_header_preproc=yes 6450 ;; 6451 no:yes:* ) 6452 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6453echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6454 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6455echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6456 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6457echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6458 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6459echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6461echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6462 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6463echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6464 ( 6465 cat <<\_ASBOX 6466## ------------------------------------- ## 6467## Report this to the libmudflap lists. ## 6468## ------------------------------------- ## 6469_ASBOX 6470 ) | 6471 sed "s/^/$as_me: WARNING: /" >&2 6472 ;; 6473esac 6474echo "$as_me:$LINENO: checking for $ac_header" >&5 6475echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6476if eval "test \"\${$as_ac_Header+set}\" = set"; then 6477 echo $ECHO_N "(cached) $ECHO_C" >&6 6478else 6479 eval "$as_ac_Header=\$ac_header_preproc" 6480fi 6481echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6482echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6483 6484fi 6485if test `eval echo '${'$as_ac_Header'}'` = yes; then 6486 cat >>confdefs.h <<_ACEOF 6487#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6488_ACEOF 6489 6490fi 6491 6492done 6493 6494 6495echo "$as_me:$LINENO: checking for thread model used by GCC" >&5 6496echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6 6497target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` 6498echo "$as_me:$LINENO: result: $target_thread_file" >&5 6499echo "${ECHO_T}$target_thread_file" >&6 6500 6501# We only support posix threads, or no threads at all. 6502posix_threads= 6503case ${target_thread_file} in 6504 posix) 6505 posix_threads=yes 6506 ;; 6507 single) 6508 ;; 6509 *) 6510 echo "${target_thread_file} is an unsupported thread package" 1>&2 6511 exit 1 6512 ;; 6513esac 6514 6515 6516 6517if test "x$posix_threads" != "x"; then 6518 LIBMUDFLAPTH_TRUE= 6519 LIBMUDFLAPTH_FALSE='#' 6520else 6521 LIBMUDFLAPTH_TRUE='#' 6522 LIBMUDFLAPTH_FALSE= 6523fi 6524 6525if test "x$posix_threads" != "x" 6526then 6527 build_libmudflapth=1 6528else 6529 build_libmudflapth=0 6530fi 6531 6532 6533 6534echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 6535echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 6536if test "${ac_cv_lib_dl_dlsym+set}" = set; then 6537 echo $ECHO_N "(cached) $ECHO_C" >&6 6538else 6539 ac_check_lib_save_LIBS=$LIBS 6540LIBS="-ldl $LIBS" 6541cat >conftest.$ac_ext <<_ACEOF 6542/* confdefs.h. */ 6543_ACEOF 6544cat confdefs.h >>conftest.$ac_ext 6545cat >>conftest.$ac_ext <<_ACEOF 6546/* end confdefs.h. */ 6547 6548/* Override any gcc2 internal prototype to avoid an error. */ 6549#ifdef __cplusplus 6550extern "C" 6551#endif 6552/* We use char because int might match the return type of a gcc2 6553 builtin and then its argument prototype would still apply. */ 6554char dlsym (); 6555int 6556main () 6557{ 6558dlsym (); 6559 ; 6560 return 0; 6561} 6562_ACEOF 6563rm -f conftest.$ac_objext conftest$ac_exeext 6564if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6565 (eval $ac_link) 2>conftest.er1 6566 ac_status=$? 6567 grep -v '^ *+' conftest.er1 >conftest.err 6568 rm -f conftest.er1 6569 cat conftest.err >&5 6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6571 (exit $ac_status); } && 6572 { ac_try='test -z "$ac_c_werror_flag" 6573 || test ! -s conftest.err' 6574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6575 (eval $ac_try) 2>&5 6576 ac_status=$? 6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6578 (exit $ac_status); }; } && 6579 { ac_try='test -s conftest$ac_exeext' 6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6581 (eval $ac_try) 2>&5 6582 ac_status=$? 6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6584 (exit $ac_status); }; }; then 6585 ac_cv_lib_dl_dlsym=yes 6586else 6587 echo "$as_me: failed program was:" >&5 6588sed 's/^/| /' conftest.$ac_ext >&5 6589 6590ac_cv_lib_dl_dlsym=no 6591fi 6592rm -f conftest.err conftest.$ac_objext \ 6593 conftest$ac_exeext conftest.$ac_ext 6594LIBS=$ac_check_lib_save_LIBS 6595fi 6596echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 6597echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 6598if test $ac_cv_lib_dl_dlsym = yes; then 6599 cat >>confdefs.h <<_ACEOF 6600#define HAVE_LIBDL 1 6601_ACEOF 6602 6603 LIBS="-ldl $LIBS" 6604 6605fi 6606 6607 6608# Calculate toolexeclibdir 6609# Also toolexecdir, though it's only used in toolexeclibdir 6610case ${version_specific_libs} in 6611 yes) 6612 # Need the gcc compiler version to know where to install libraries 6613 # and header files if --enable-version-specific-runtime-libs option 6614 # is selected. 6615 toolexecdir='$(libdir)/gcc/$(target_alias)' 6616 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)' 6617 ;; 6618 no) 6619 if test -n "$with_cross_host" && 6620 test x"$with_cross_host" != x"no"; then 6621 # Install a library built with a cross compiler in tooldir, not libdir. 6622 toolexecdir='$(exec_prefix)/$(target_alias)' 6623 toolexeclibdir='$(toolexecdir)/lib' 6624 else 6625 toolexecdir='$(libdir)/gcc-lib/$(target_alias)' 6626 toolexeclibdir='$(libdir)' 6627 fi 6628 multi_os_directory=`$CC -print-multi-os-directory` 6629 case $multi_os_directory in 6630 .) ;; # Avoid trailing /. 6631 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; 6632 esac 6633 ;; 6634esac 6635 6636 6637 6638includedir=${toolexecdir}/include 6639 6640 6641pthread_create_version='""' 6642if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then 6643 # NB: don't check for -lpthread here, because then it would be 6644 # added to LIBS. For the thread-unaware libmudflap.la, we don't 6645 # want it there. 6646 6647 # glibc-related hacks. dlsym() may pick the wrong version of 6648 # interposed functions like pthread_create on modern glibc. 6649 # We need to find the proper symbol version string, and use 6650 # the nonstandard dlvsym(). 6651 6652for ac_func in dlvsym 6653do 6654as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6655echo "$as_me:$LINENO: checking for $ac_func" >&5 6656echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6657if eval "test \"\${$as_ac_var+set}\" = set"; then 6658 echo $ECHO_N "(cached) $ECHO_C" >&6 6659else 6660 cat >conftest.$ac_ext <<_ACEOF 6661/* confdefs.h. */ 6662_ACEOF 6663cat confdefs.h >>conftest.$ac_ext 6664cat >>conftest.$ac_ext <<_ACEOF 6665/* end confdefs.h. */ 6666/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6667 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6668#define $ac_func innocuous_$ac_func 6669 6670/* System header to define __stub macros and hopefully few prototypes, 6671 which can conflict with char $ac_func (); below. 6672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6673 <limits.h> exists even on freestanding compilers. */ 6674 6675#ifdef __STDC__ 6676# include <limits.h> 6677#else 6678# include <assert.h> 6679#endif 6680 6681#undef $ac_func 6682 6683/* Override any gcc2 internal prototype to avoid an error. */ 6684#ifdef __cplusplus 6685extern "C" 6686{ 6687#endif 6688/* We use char because int might match the return type of a gcc2 6689 builtin and then its argument prototype would still apply. */ 6690char $ac_func (); 6691/* The GNU C library defines this for functions which it implements 6692 to always fail with ENOSYS. Some functions are actually named 6693 something starting with __ and the normal name is an alias. */ 6694#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6695choke me 6696#else 6697char (*f) () = $ac_func; 6698#endif 6699#ifdef __cplusplus 6700} 6701#endif 6702 6703int 6704main () 6705{ 6706return f != $ac_func; 6707 ; 6708 return 0; 6709} 6710_ACEOF 6711rm -f conftest.$ac_objext conftest$ac_exeext 6712if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6713 (eval $ac_link) 2>conftest.er1 6714 ac_status=$? 6715 grep -v '^ *+' conftest.er1 >conftest.err 6716 rm -f conftest.er1 6717 cat conftest.err >&5 6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6719 (exit $ac_status); } && 6720 { ac_try='test -z "$ac_c_werror_flag" 6721 || test ! -s conftest.err' 6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6723 (eval $ac_try) 2>&5 6724 ac_status=$? 6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6726 (exit $ac_status); }; } && 6727 { ac_try='test -s conftest$ac_exeext' 6728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6729 (eval $ac_try) 2>&5 6730 ac_status=$? 6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6732 (exit $ac_status); }; }; then 6733 eval "$as_ac_var=yes" 6734else 6735 echo "$as_me: failed program was:" >&5 6736sed 's/^/| /' conftest.$ac_ext >&5 6737 6738eval "$as_ac_var=no" 6739fi 6740rm -f conftest.err conftest.$ac_objext \ 6741 conftest$ac_exeext conftest.$ac_ext 6742fi 6743echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6744echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6745if test `eval echo '${'$as_ac_var'}'` = yes; then 6746 cat >>confdefs.h <<_ACEOF 6747#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6748_ACEOF 6749 6750fi 6751done 6752 6753 if test -n "$ac_tool_prefix"; then 6754 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. 6755set dummy ${ac_tool_prefix}nm; ac_word=$2 6756echo "$as_me:$LINENO: checking for $ac_word" >&5 6757echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6758if test "${ac_cv_prog_NM+set}" = set; then 6759 echo $ECHO_N "(cached) $ECHO_C" >&6 6760else 6761 if test -n "$NM"; then 6762 ac_cv_prog_NM="$NM" # Let the user override the test. 6763else 6764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6765for as_dir in $PATH 6766do 6767 IFS=$as_save_IFS 6768 test -z "$as_dir" && as_dir=. 6769 for ac_exec_ext in '' $ac_executable_extensions; do 6770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6771 ac_cv_prog_NM="${ac_tool_prefix}nm" 6772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6773 break 2 6774 fi 6775done 6776done 6777 6778fi 6779fi 6780NM=$ac_cv_prog_NM 6781if test -n "$NM"; then 6782 echo "$as_me:$LINENO: result: $NM" >&5 6783echo "${ECHO_T}$NM" >&6 6784else 6785 echo "$as_me:$LINENO: result: no" >&5 6786echo "${ECHO_T}no" >&6 6787fi 6788 6789fi 6790if test -z "$ac_cv_prog_NM"; then 6791 ac_ct_NM=$NM 6792 # Extract the first word of "nm", so it can be a program name with args. 6793set dummy nm; ac_word=$2 6794echo "$as_me:$LINENO: checking for $ac_word" >&5 6795echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6796if test "${ac_cv_prog_ac_ct_NM+set}" = set; then 6797 echo $ECHO_N "(cached) $ECHO_C" >&6 6798else 6799 if test -n "$ac_ct_NM"; then 6800 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. 6801else 6802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6803for as_dir in $PATH 6804do 6805 IFS=$as_save_IFS 6806 test -z "$as_dir" && as_dir=. 6807 for ac_exec_ext in '' $ac_executable_extensions; do 6808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6809 ac_cv_prog_ac_ct_NM="nm" 6810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6811 break 2 6812 fi 6813done 6814done 6815 6816fi 6817fi 6818ac_ct_NM=$ac_cv_prog_ac_ct_NM 6819if test -n "$ac_ct_NM"; then 6820 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5 6821echo "${ECHO_T}$ac_ct_NM" >&6 6822else 6823 echo "$as_me:$LINENO: result: no" >&5 6824echo "${ECHO_T}no" >&6 6825fi 6826 6827 NM=$ac_ct_NM 6828else 6829 NM="$ac_cv_prog_NM" 6830fi 6831 6832 if test "x$ac_cv_have_dlvsym" != "x"; then 6833 # Try compiling a simple pthreads program. Find the shared libraries it 6834 # ends up with. Then use "nm" on those libraries to extract the 6835 # default symbol versioning suffix ("@@"), if any. But that's tricky. 6836 # Rather, run nm on the resulting executable. Unfortunately, autoconf 6837 # doesn't appear to have a macro that builds a test executable for 6838 # subsequent analysis ... so we do it by hand here. 6839 cat >> conftest.c << EOF 6840#include <pthread.h> 6841int main () { void *p = (void *) & pthread_create; return (int) p; } 6842EOF 6843 oldLIBS="$LIBS" 6844 LIBS="$LIBS -lpthread" 6845 pthread_create_version="\"\"" 6846 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5 6847echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6 6848 if eval $ac_link 2>&5 && test -s conftest${ac_exeext}; then 6849 version=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'` 6850 if test "x$version" != "x"; then 6851 pthread_create_version="\"$version\"" 6852 fi 6853 fi 6854 echo "$as_me:$LINENO: result: $pthread_create_version" >&5 6855echo "${ECHO_T}$pthread_create_version" >&6 6856 LIBS="$oldLIBS" 6857 fi 6858fi 6859 6860cat >>confdefs.h <<_ACEOF 6861#define PTHREAD_CREATE_VERSION $pthread_create_version 6862_ACEOF 6863 6864 6865 6866# Figure out whether the compiler supports "-ffunction-sections -fdata-sections", 6867# similarly to how libstdc++ does it 6868ac_test_CFLAGS="${CFLAGS+set}" 6869ac_save_CFLAGS="$CFLAGS" 6870 6871# Check for -ffunction-sections -fdata-sections 6872echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5 6873echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6 6874CFLAGS='-Werror -ffunction-sections -fdata-sections' 6875cat >conftest.$ac_ext <<_ACEOF 6876/* confdefs.h. */ 6877_ACEOF 6878cat confdefs.h >>conftest.$ac_ext 6879cat >>conftest.$ac_ext <<_ACEOF 6880/* end confdefs.h. */ 6881 6882int 6883main () 6884{ 6885int foo; 6886 ; 6887 return 0; 6888} 6889_ACEOF 6890rm -f conftest.$ac_objext 6891if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6892 (eval $ac_compile) 2>conftest.er1 6893 ac_status=$? 6894 grep -v '^ *+' conftest.er1 >conftest.err 6895 rm -f conftest.er1 6896 cat conftest.err >&5 6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6898 (exit $ac_status); } && 6899 { ac_try='test -z "$ac_c_werror_flag" 6900 || test ! -s conftest.err' 6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6902 (eval $ac_try) 2>&5 6903 ac_status=$? 6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6905 (exit $ac_status); }; } && 6906 { ac_try='test -s conftest.$ac_objext' 6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6908 (eval $ac_try) 2>&5 6909 ac_status=$? 6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6911 (exit $ac_status); }; }; then 6912 ac_fdsections=yes 6913else 6914 echo "$as_me: failed program was:" >&5 6915sed 's/^/| /' conftest.$ac_ext >&5 6916 6917ac_fdsections=no 6918fi 6919rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6920if test "$ac_test_CFLAGS" = set; then 6921 CFLAGS="$ac_save_CFLAGS" 6922else 6923 # this is the suspicious part 6924 CFLAGS="" 6925fi 6926if test x"$ac_fdsections" = x"yes"; then 6927 SECTION_FLAGS='-ffunction-sections -fdata-sections' 6928fi 6929echo "$as_me:$LINENO: result: $ac_fdsections" >&5 6930echo "${ECHO_T}$ac_fdsections" >&6 6931 6932 6933 6934# Check for the name of the symbol used for the entry point. 6935echo "$as_me:$LINENO: checking for the name of the symbol used for the entry point" >&5 6936echo $ECHO_N "checking for the name of the symbol used for the entry point... $ECHO_C" >&6 6937if test "${mudflap_cv_entry_point+set}" = set; then 6938 echo $ECHO_N "(cached) $ECHO_C" >&6 6939else 6940 6941for name in _start __start unknown; do 6942 cat >conftest.$ac_ext <<_ACEOF 6943/* confdefs.h. */ 6944_ACEOF 6945cat confdefs.h >>conftest.$ac_ext 6946cat >>conftest.$ac_ext <<_ACEOF 6947/* end confdefs.h. */ 6948extern char $name[]; 6949int 6950main () 6951{ 6952$name[0] = 0; 6953 ; 6954 return 0; 6955} 6956_ACEOF 6957rm -f conftest.$ac_objext conftest$ac_exeext 6958if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6959 (eval $ac_link) 2>conftest.er1 6960 ac_status=$? 6961 grep -v '^ *+' conftest.er1 >conftest.err 6962 rm -f conftest.er1 6963 cat conftest.err >&5 6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6965 (exit $ac_status); } && 6966 { ac_try='test -z "$ac_c_werror_flag" 6967 || test ! -s conftest.err' 6968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6969 (eval $ac_try) 2>&5 6970 ac_status=$? 6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6972 (exit $ac_status); }; } && 6973 { ac_try='test -s conftest$ac_exeext' 6974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6975 (eval $ac_try) 2>&5 6976 ac_status=$? 6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6978 (exit $ac_status); }; }; then 6979 break 6980else 6981 echo "$as_me: failed program was:" >&5 6982sed 's/^/| /' conftest.$ac_ext >&5 6983 6984fi 6985rm -f conftest.err conftest.$ac_objext \ 6986 conftest$ac_exeext conftest.$ac_ext 6987done 6988mudflap_cv_entry_point="$name" 6989fi 6990echo "$as_me:$LINENO: result: $mudflap_cv_entry_point" >&5 6991echo "${ECHO_T}$mudflap_cv_entry_point" >&6 6992if test "$mudflap_cv_entry_point" = unknown; then 6993 { { echo "$as_me:$LINENO: error: none of the known symbol names works" >&5 6994echo "$as_me: error: none of the known symbol names works" >&2;} 6995 { (exit 1); exit 1; }; } 6996fi 6997 6998cat >>confdefs.h <<_ACEOF 6999#define ENTRY_POINT $mudflap_cv_entry_point 7000_ACEOF 7001 7002 7003 7004if test ${multilib} = yes; then 7005 multilib_arg="--enable-multilib" 7006else 7007 multilib_arg= 7008fi 7009 7010# See if we support thread-local storage. 7011 7012 # Check whether --enable-tls or --disable-tls was given. 7013if test "${enable_tls+set}" = set; then 7014 enableval="$enable_tls" 7015 7016 case "$enableval" in 7017 yes|no) ;; 7018 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5 7019echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;} 7020 { (exit 1); exit 1; }; } ;; 7021 esac 7022 7023else 7024 enable_tls=yes 7025fi; 7026 7027 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5 7028echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6 7029if test "${have_tls+set}" = set; then 7030 echo $ECHO_N "(cached) $ECHO_C" >&6 7031else 7032 7033 if test "$cross_compiling" = yes; then 7034 cat >conftest.$ac_ext <<_ACEOF 7035__thread int foo; 7036_ACEOF 7037rm -f conftest.$ac_objext 7038if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7039 (eval $ac_compile) 2>conftest.er1 7040 ac_status=$? 7041 grep -v '^ *+' conftest.er1 >conftest.err 7042 rm -f conftest.er1 7043 cat conftest.err >&5 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 (exit $ac_status); } && 7046 { ac_try='test -z "$ac_c_werror_flag" 7047 || test ! -s conftest.err' 7048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7049 (eval $ac_try) 2>&5 7050 ac_status=$? 7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 (exit $ac_status); }; } && 7053 { ac_try='test -s conftest.$ac_objext' 7054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7055 (eval $ac_try) 2>&5 7056 ac_status=$? 7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7058 (exit $ac_status); }; }; then 7059 have_tls=yes 7060else 7061 echo "$as_me: failed program was:" >&5 7062sed 's/^/| /' conftest.$ac_ext >&5 7063 7064have_tls=no 7065fi 7066rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7067 7068else 7069 cat >conftest.$ac_ext <<_ACEOF 7070__thread int a; int b; int main() { return a = b; } 7071_ACEOF 7072rm -f conftest$ac_exeext 7073if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7074 (eval $ac_link) 2>&5 7075 ac_status=$? 7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7079 (eval $ac_try) 2>&5 7080 ac_status=$? 7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7082 (exit $ac_status); }; }; then 7083 save_LDFLAGS="$LDFLAGS" 7084 LDFLAGS="-static $LDFLAGS" 7085 cat >conftest.$ac_ext <<_ACEOF 7086int main() { return 0; } 7087_ACEOF 7088rm -f conftest.$ac_objext conftest$ac_exeext 7089if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7090 (eval $ac_link) 2>conftest.er1 7091 ac_status=$? 7092 grep -v '^ *+' conftest.er1 >conftest.err 7093 rm -f conftest.er1 7094 cat conftest.err >&5 7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7096 (exit $ac_status); } && 7097 { ac_try='test -z "$ac_c_werror_flag" 7098 || test ! -s conftest.err' 7099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7100 (eval $ac_try) 2>&5 7101 ac_status=$? 7102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7103 (exit $ac_status); }; } && 7104 { ac_try='test -s conftest$ac_exeext' 7105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7106 (eval $ac_try) 2>&5 7107 ac_status=$? 7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7109 (exit $ac_status); }; }; then 7110 if test "$cross_compiling" = yes; then 7111 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 7112See \`config.log' for more details." >&5 7113echo "$as_me: error: cannot run test program while cross compiling 7114See \`config.log' for more details." >&2;} 7115 { (exit 1); exit 1; }; } 7116else 7117 cat >conftest.$ac_ext <<_ACEOF 7118__thread int a; int b; int main() { return a = b; } 7119_ACEOF 7120rm -f conftest$ac_exeext 7121if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7122 (eval $ac_link) 2>&5 7123 ac_status=$? 7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7125 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7127 (eval $ac_try) 2>&5 7128 ac_status=$? 7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7130 (exit $ac_status); }; }; then 7131 have_tls=yes 7132else 7133 echo "$as_me: program exited with status $ac_status" >&5 7134echo "$as_me: failed program was:" >&5 7135sed 's/^/| /' conftest.$ac_ext >&5 7136 7137( exit $ac_status ) 7138have_tls=no 7139fi 7140rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7141fi 7142else 7143 echo "$as_me: failed program was:" >&5 7144sed 's/^/| /' conftest.$ac_ext >&5 7145 7146have_tls=yes 7147fi 7148rm -f conftest.err conftest.$ac_objext \ 7149 conftest$ac_exeext conftest.$ac_ext 7150 LDFLAGS="$save_LDFLAGS" 7151else 7152 echo "$as_me: program exited with status $ac_status" >&5 7153echo "$as_me: failed program was:" >&5 7154sed 's/^/| /' conftest.$ac_ext >&5 7155 7156( exit $ac_status ) 7157have_tls=no 7158fi 7159rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7160fi 7161fi 7162echo "$as_me:$LINENO: result: $have_tls" >&5 7163echo "${ECHO_T}$have_tls" >&6 7164 if test "$enable_tls $have_tls" = "yes yes"; then 7165 7166cat >>confdefs.h <<\_ACEOF 7167#define HAVE_TLS 1 7168_ACEOF 7169 7170 fi 7171 7172 ac_config_files="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp" 7173 7174cat >confcache <<\_ACEOF 7175# This file is a shell script that caches the results of configure 7176# tests run on this system so they can be shared between configure 7177# scripts and configure runs, see configure's option --config-cache. 7178# It is not useful on other systems. If it contains results you don't 7179# want to keep, you may remove or edit it. 7180# 7181# config.status only pays attention to the cache file if you give it 7182# the --recheck option to rerun configure. 7183# 7184# `ac_cv_env_foo' variables (set or unset) will be overridden when 7185# loading this file, other *unset* `ac_cv_foo' will be assigned the 7186# following values. 7187 7188_ACEOF 7189 7190# The following way of writing the cache mishandles newlines in values, 7191# but we know of no workaround that is simple, portable, and efficient. 7192# So, don't put newlines in cache variables' values. 7193# Ultrix sh set writes to stderr and can't be redirected directly, 7194# and sets the high bit in the cache file unless we assign to the vars. 7195{ 7196 (set) 2>&1 | 7197 case `(ac_space=' '; set | grep ac_space) 2>&1` in 7198 *ac_space=\ *) 7199 # `set' does not quote correctly, so add quotes (double-quote 7200 # substitution turns \\\\ into \\, and sed turns \\ into \). 7201 sed -n \ 7202 "s/'/'\\\\''/g; 7203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7204 ;; 7205 *) 7206 # `set' quotes correctly as required by POSIX, so do not add quotes. 7207 sed -n \ 7208 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 7209 ;; 7210 esac; 7211} | 7212 sed ' 7213 t clear 7214 : clear 7215 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7216 t end 7217 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7218 : end' >>confcache 7219if diff $cache_file confcache >/dev/null 2>&1; then :; else 7220 if test -w $cache_file; then 7221 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 7222 cat confcache >$cache_file 7223 else 7224 echo "not updating unwritable cache $cache_file" 7225 fi 7226fi 7227rm -f confcache 7228 7229test "x$prefix" = xNONE && prefix=$ac_default_prefix 7230# Let make expand exec_prefix. 7231test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7232 7233# VPATH may cause trouble with some makes, so we remove $(srcdir), 7234# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7235# trailing colons and then remove the whole line if VPATH becomes empty 7236# (actually we leave an empty line to preserve line numbers). 7237if test "x$srcdir" = x.; then 7238 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7239s/:*\$(srcdir):*/:/; 7240s/:*\${srcdir}:*/:/; 7241s/:*@srcdir@:*/:/; 7242s/^\([^=]*=[ ]*\):*/\1/; 7243s/:*$//; 7244s/^[^=]*=[ ]*$//; 7245}' 7246fi 7247 7248DEFS=-DHAVE_CONFIG_H 7249 7250ac_libobjs= 7251ac_ltlibobjs= 7252for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7253 # 1. Remove the extension, and $U if already installed. 7254 ac_i=`echo "$ac_i" | 7255 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7256 # 2. Add them. 7257 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7258 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 7259done 7260LIBOBJS=$ac_libobjs 7261 7262LTLIBOBJS=$ac_ltlibobjs 7263 7264 7265if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 7266 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 7267Usually this means the macro was only invoked conditionally." >&5 7268echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 7269Usually this means the macro was only invoked conditionally." >&2;} 7270 { (exit 1); exit 1; }; } 7271fi 7272if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 7273 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 7274Usually this means the macro was only invoked conditionally." >&5 7275echo "$as_me: error: conditional \"AMDEP\" was never defined. 7276Usually this means the macro was only invoked conditionally." >&2;} 7277 { (exit 1); exit 1; }; } 7278fi 7279if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7280 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 7281Usually this means the macro was only invoked conditionally." >&5 7282echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 7283Usually this means the macro was only invoked conditionally." >&2;} 7284 { (exit 1); exit 1; }; } 7285fi 7286if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then 7287 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined. 7288Usually this means the macro was only invoked conditionally." >&5 7289echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined. 7290Usually this means the macro was only invoked conditionally." >&2;} 7291 { (exit 1); exit 1; }; } 7292fi 7293 7294: ${CONFIG_STATUS=./config.status} 7295ac_clean_files_save=$ac_clean_files 7296ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7297{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 7298echo "$as_me: creating $CONFIG_STATUS" >&6;} 7299cat >$CONFIG_STATUS <<_ACEOF 7300#! $SHELL 7301# Generated by $as_me. 7302# Run this file to recreate the current configuration. 7303# Compiler output produced by configure, useful for debugging 7304# configure, is in config.log if it exists. 7305 7306debug=false 7307ac_cs_recheck=false 7308ac_cs_silent=false 7309SHELL=\${CONFIG_SHELL-$SHELL} 7310_ACEOF 7311 7312cat >>$CONFIG_STATUS <<\_ACEOF 7313## --------------------- ## 7314## M4sh Initialization. ## 7315## --------------------- ## 7316 7317# Be Bourne compatible 7318if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7319 emulate sh 7320 NULLCMD=: 7321 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 7322 # is contrary to our usage. Disable this feature. 7323 alias -g '${1+"$@"}'='"$@"' 7324elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7325 set -o posix 7326fi 7327DUALCASE=1; export DUALCASE # for MKS sh 7328 7329# Support unset when possible. 7330if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7331 as_unset=unset 7332else 7333 as_unset=false 7334fi 7335 7336 7337# Work around bugs in pre-3.0 UWIN ksh. 7338$as_unset ENV MAIL MAILPATH 7339PS1='$ ' 7340PS2='> ' 7341PS4='+ ' 7342 7343# NLS nuisances. 7344for as_var in \ 7345 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7346 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7347 LC_TELEPHONE LC_TIME 7348do 7349 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7350 eval $as_var=C; export $as_var 7351 else 7352 $as_unset $as_var 7353 fi 7354done 7355 7356# Required to use basename. 7357if expr a : '\(a\)' >/dev/null 2>&1; then 7358 as_expr=expr 7359else 7360 as_expr=false 7361fi 7362 7363if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 7364 as_basename=basename 7365else 7366 as_basename=false 7367fi 7368 7369 7370# Name of the executable. 7371as_me=`$as_basename "$0" || 7372$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7373 X"$0" : 'X\(//\)$' \| \ 7374 X"$0" : 'X\(/\)$' \| \ 7375 . : '\(.\)' 2>/dev/null || 7376echo X/"$0" | 7377 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7378 /^X\/\(\/\/\)$/{ s//\1/; q; } 7379 /^X\/\(\/\).*/{ s//\1/; q; } 7380 s/.*/./; q'` 7381 7382 7383# PATH needs CR, and LINENO needs CR and PATH. 7384# Avoid depending upon Character Ranges. 7385as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7386as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7387as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7388as_cr_digits='0123456789' 7389as_cr_alnum=$as_cr_Letters$as_cr_digits 7390 7391# The user is always right. 7392if test "${PATH_SEPARATOR+set}" != set; then 7393 echo "#! /bin/sh" >conf$$.sh 7394 echo "exit 0" >>conf$$.sh 7395 chmod +x conf$$.sh 7396 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7397 PATH_SEPARATOR=';' 7398 else 7399 PATH_SEPARATOR=: 7400 fi 7401 rm -f conf$$.sh 7402fi 7403 7404 7405 as_lineno_1=$LINENO 7406 as_lineno_2=$LINENO 7407 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7408 test "x$as_lineno_1" != "x$as_lineno_2" && 7409 test "x$as_lineno_3" = "x$as_lineno_2" || { 7410 # Find who we are. Look in the path if we contain no path at all 7411 # relative or not. 7412 case $0 in 7413 *[\\/]* ) as_myself=$0 ;; 7414 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7415for as_dir in $PATH 7416do 7417 IFS=$as_save_IFS 7418 test -z "$as_dir" && as_dir=. 7419 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7420done 7421 7422 ;; 7423 esac 7424 # We did not find ourselves, most probably we were run as `sh COMMAND' 7425 # in which case we are not to be found in the path. 7426 if test "x$as_myself" = x; then 7427 as_myself=$0 7428 fi 7429 if test ! -f "$as_myself"; then 7430 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7431echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7432 { (exit 1); exit 1; }; } 7433 fi 7434 case $CONFIG_SHELL in 7435 '') 7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7437for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 7438do 7439 IFS=$as_save_IFS 7440 test -z "$as_dir" && as_dir=. 7441 for as_base in sh bash ksh sh5; do 7442 case $as_dir in 7443 /*) 7444 if ("$as_dir/$as_base" -c ' 7445 as_lineno_1=$LINENO 7446 as_lineno_2=$LINENO 7447 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7448 test "x$as_lineno_1" != "x$as_lineno_2" && 7449 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 7450 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 7451 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 7452 CONFIG_SHELL=$as_dir/$as_base 7453 export CONFIG_SHELL 7454 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 7455 fi;; 7456 esac 7457 done 7458done 7459;; 7460 esac 7461 7462 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7463 # uniformly replaced by the line number. The first 'sed' inserts a 7464 # line-number line before each line; the second 'sed' does the real 7465 # work. The second script uses 'N' to pair each line-number line 7466 # with the numbered line, and appends trailing '-' during 7467 # substitution so that $LINENO is not a special case at line end. 7468 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7469 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 7470 sed '=' <$as_myself | 7471 sed ' 7472 N 7473 s,$,-, 7474 : loop 7475 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 7476 t loop 7477 s,-$,, 7478 s,^['$as_cr_digits']*\n,, 7479 ' >$as_me.lineno && 7480 chmod +x $as_me.lineno || 7481 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 7482echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 7483 { (exit 1); exit 1; }; } 7484 7485 # Don't try to exec as it changes $[0], causing all sort of problems 7486 # (the dirname of $[0] is not the place where we might find the 7487 # original and so on. Autoconf is especially sensible to this). 7488 . ./$as_me.lineno 7489 # Exit status is that of the last command. 7490 exit 7491} 7492 7493 7494case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 7495 *c*,-n*) ECHO_N= ECHO_C=' 7496' ECHO_T=' ' ;; 7497 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 7498 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7499esac 7500 7501if expr a : '\(a\)' >/dev/null 2>&1; then 7502 as_expr=expr 7503else 7504 as_expr=false 7505fi 7506 7507rm -f conf$$ conf$$.exe conf$$.file 7508echo >conf$$.file 7509if ln -s conf$$.file conf$$ 2>/dev/null; then 7510 # We could just check for DJGPP; but this test a) works b) is more generic 7511 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7512 if test -f conf$$.exe; then 7513 # Don't use ln at all; we don't have any links 7514 as_ln_s='cp -p' 7515 else 7516 as_ln_s='ln -s' 7517 fi 7518elif ln conf$$.file conf$$ 2>/dev/null; then 7519 as_ln_s=ln 7520else 7521 as_ln_s='cp -p' 7522fi 7523rm -f conf$$ conf$$.exe conf$$.file 7524 7525if mkdir -p . 2>/dev/null; then 7526 as_mkdir_p=: 7527else 7528 test -d ./-p && rmdir ./-p 7529 as_mkdir_p=false 7530fi 7531 7532as_executable_p="test -f" 7533 7534# Sed expression to map a string onto a valid CPP name. 7535as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7536 7537# Sed expression to map a string onto a valid variable name. 7538as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7539 7540 7541# IFS 7542# We need space, tab and new line, in precisely that order. 7543as_nl=' 7544' 7545IFS=" $as_nl" 7546 7547# CDPATH. 7548$as_unset CDPATH 7549 7550exec 6>&1 7551 7552# Open the log real soon, to keep \$[0] and so on meaningful, and to 7553# report actual input values of CONFIG_FILES etc. instead of their 7554# values after options handling. Logging --version etc. is OK. 7555exec 5>>config.log 7556{ 7557 echo 7558 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7559## Running $as_me. ## 7560_ASBOX 7561} >&5 7562cat >&5 <<_CSEOF 7563 7564This file was extended by libmudflap $as_me 1.0, which was 7565generated by GNU Autoconf 2.59. Invocation command line was 7566 7567 CONFIG_FILES = $CONFIG_FILES 7568 CONFIG_HEADERS = $CONFIG_HEADERS 7569 CONFIG_LINKS = $CONFIG_LINKS 7570 CONFIG_COMMANDS = $CONFIG_COMMANDS 7571 $ $0 $@ 7572 7573_CSEOF 7574echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7575echo >&5 7576_ACEOF 7577 7578# Files that config.status was made for. 7579if test -n "$ac_config_files"; then 7580 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7581fi 7582 7583if test -n "$ac_config_headers"; then 7584 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7585fi 7586 7587if test -n "$ac_config_links"; then 7588 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7589fi 7590 7591if test -n "$ac_config_commands"; then 7592 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7593fi 7594 7595cat >>$CONFIG_STATUS <<\_ACEOF 7596 7597ac_cs_usage="\ 7598\`$as_me' instantiates files from templates according to the 7599current configuration. 7600 7601Usage: $0 [OPTIONS] [FILE]... 7602 7603 -h, --help print this help, then exit 7604 -V, --version print version number, then exit 7605 -q, --quiet do not print progress messages 7606 -d, --debug don't remove temporary files 7607 --recheck update $as_me by reconfiguring in the same conditions 7608 --file=FILE[:TEMPLATE] 7609 instantiate the configuration file FILE 7610 --header=FILE[:TEMPLATE] 7611 instantiate the configuration header FILE 7612 7613Configuration files: 7614$config_files 7615 7616Configuration headers: 7617$config_headers 7618 7619Configuration commands: 7620$config_commands 7621 7622Report bugs to <bug-autoconf@gnu.org>." 7623_ACEOF 7624 7625cat >>$CONFIG_STATUS <<_ACEOF 7626ac_cs_version="\\ 7627libmudflap config.status 1.0 7628configured by $0, generated by GNU Autoconf 2.59, 7629 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7630 7631Copyright (C) 2003 Free Software Foundation, Inc. 7632This config.status script is free software; the Free Software Foundation 7633gives unlimited permission to copy, distribute and modify it." 7634srcdir=$srcdir 7635INSTALL="$INSTALL" 7636_ACEOF 7637 7638cat >>$CONFIG_STATUS <<\_ACEOF 7639# If no file are specified by the user, then we need to provide default 7640# value. By we need to know if files were specified by the user. 7641ac_need_defaults=: 7642while test $# != 0 7643do 7644 case $1 in 7645 --*=*) 7646 ac_option=`expr "x$1" : 'x\([^=]*\)='` 7647 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 7648 ac_shift=: 7649 ;; 7650 -*) 7651 ac_option=$1 7652 ac_optarg=$2 7653 ac_shift=shift 7654 ;; 7655 *) # This is not an option, so the user has probably given explicit 7656 # arguments. 7657 ac_option=$1 7658 ac_need_defaults=false;; 7659 esac 7660 7661 case $ac_option in 7662 # Handling of the options. 7663_ACEOF 7664cat >>$CONFIG_STATUS <<\_ACEOF 7665 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7666 ac_cs_recheck=: ;; 7667 --version | --vers* | -V ) 7668 echo "$ac_cs_version"; exit 0 ;; 7669 --he | --h) 7670 # Conflict between --help and --header 7671 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7672Try \`$0 --help' for more information." >&5 7673echo "$as_me: error: ambiguous option: $1 7674Try \`$0 --help' for more information." >&2;} 7675 { (exit 1); exit 1; }; };; 7676 --help | --hel | -h ) 7677 echo "$ac_cs_usage"; exit 0 ;; 7678 --debug | --d* | -d ) 7679 debug=: ;; 7680 --file | --fil | --fi | --f ) 7681 $ac_shift 7682 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7683 ac_need_defaults=false;; 7684 --header | --heade | --head | --hea ) 7685 $ac_shift 7686 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7687 ac_need_defaults=false;; 7688 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7689 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7690 ac_cs_silent=: ;; 7691 7692 # This is an error. 7693 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7694Try \`$0 --help' for more information." >&5 7695echo "$as_me: error: unrecognized option: $1 7696Try \`$0 --help' for more information." >&2;} 7697 { (exit 1); exit 1; }; } ;; 7698 7699 *) ac_config_targets="$ac_config_targets $1" ;; 7700 7701 esac 7702 shift 7703done 7704 7705ac_configure_extra_args= 7706 7707if $ac_cs_silent; then 7708 exec 6>/dev/null 7709 ac_configure_extra_args="$ac_configure_extra_args --silent" 7710fi 7711 7712_ACEOF 7713cat >>$CONFIG_STATUS <<_ACEOF 7714if \$ac_cs_recheck; then 7715 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7716 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7717fi 7718 7719_ACEOF 7720 7721cat >>$CONFIG_STATUS <<_ACEOF 7722# 7723# INIT-COMMANDS section. 7724# 7725 7726 7727srcdir="$srcdir" 7728host="$host" 7729target="$target" 7730with_multisubdir="$with_multisubdir" 7731with_multisrctop="$with_multisrctop" 7732with_target_subdir="$with_target_subdir" 7733ac_configure_args="${multilib_arg} ${ac_configure_args}" 7734multi_basedir="$multi_basedir" 7735CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 7736CC="$CC" 7737AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7738 7739_ACEOF 7740 7741 7742 7743cat >>$CONFIG_STATUS <<\_ACEOF 7744for ac_config_target in $ac_config_targets 7745do 7746 case "$ac_config_target" in 7747 # Handling of arguments. 7748 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7749 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; 7750 "testsuite/mfconfig.exp" ) CONFIG_FILES="$CONFIG_FILES testsuite/mfconfig.exp" ;; 7751 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 7752 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7753 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7754 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7755echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7756 { (exit 1); exit 1; }; };; 7757 esac 7758done 7759 7760# If the user did not use the arguments to specify the items to instantiate, 7761# then the envvar interface is used. Set only those that are not. 7762# We use the long form for the default assignment because of an extremely 7763# bizarre bug on SunOS 4.1.3. 7764if $ac_need_defaults; then 7765 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7766 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7767 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7768fi 7769 7770# Have a temporary directory for convenience. Make it in the build tree 7771# simply because there is no reason to put it here, and in addition, 7772# creating and moving files from /tmp can sometimes cause problems. 7773# Create a temporary directory, and hook for its removal unless debugging. 7774$debug || 7775{ 7776 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 7777 trap '{ (exit 1); exit 1; }' 1 2 13 15 7778} 7779 7780# Create a (secure) tmp directory for tmp files. 7781 7782{ 7783 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 7784 test -n "$tmp" && test -d "$tmp" 7785} || 7786{ 7787 tmp=./confstat$$-$RANDOM 7788 (umask 077 && mkdir $tmp) 7789} || 7790{ 7791 echo "$me: cannot create a temporary directory in ." >&2 7792 { (exit 1); exit 1; } 7793} 7794 7795_ACEOF 7796 7797cat >>$CONFIG_STATUS <<_ACEOF 7798 7799# 7800# CONFIG_FILES section. 7801# 7802 7803# No need to generate the scripts if there are no CONFIG_FILES. 7804# This happens for instance when ./config.status config.h 7805if test -n "\$CONFIG_FILES"; then 7806 # Protect against being on the right side of a sed subst in config.status. 7807 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 7808 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 7809s,@SHELL@,$SHELL,;t t 7810s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7811s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7812s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7813s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7814s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7815s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7816s,@exec_prefix@,$exec_prefix,;t t 7817s,@prefix@,$prefix,;t t 7818s,@program_transform_name@,$program_transform_name,;t t 7819s,@bindir@,$bindir,;t t 7820s,@sbindir@,$sbindir,;t t 7821s,@libexecdir@,$libexecdir,;t t 7822s,@datadir@,$datadir,;t t 7823s,@sysconfdir@,$sysconfdir,;t t 7824s,@sharedstatedir@,$sharedstatedir,;t t 7825s,@localstatedir@,$localstatedir,;t t 7826s,@libdir@,$libdir,;t t 7827s,@includedir@,$includedir,;t t 7828s,@oldincludedir@,$oldincludedir,;t t 7829s,@infodir@,$infodir,;t t 7830s,@mandir@,$mandir,;t t 7831s,@build_alias@,$build_alias,;t t 7832s,@host_alias@,$host_alias,;t t 7833s,@target_alias@,$target_alias,;t t 7834s,@DEFS@,$DEFS,;t t 7835s,@ECHO_C@,$ECHO_C,;t t 7836s,@ECHO_N@,$ECHO_N,;t t 7837s,@ECHO_T@,$ECHO_T,;t t 7838s,@LIBS@,$LIBS,;t t 7839s,@build@,$build,;t t 7840s,@build_cpu@,$build_cpu,;t t 7841s,@build_vendor@,$build_vendor,;t t 7842s,@build_os@,$build_os,;t t 7843s,@host@,$host,;t t 7844s,@host_cpu@,$host_cpu,;t t 7845s,@host_vendor@,$host_vendor,;t t 7846s,@host_os@,$host_os,;t t 7847s,@target@,$target,;t t 7848s,@target_cpu@,$target_cpu,;t t 7849s,@target_vendor@,$target_vendor,;t t 7850s,@target_os@,$target_os,;t t 7851s,@target_noncanonical@,$target_noncanonical,;t t 7852s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7853s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 7854s,@INSTALL_DATA@,$INSTALL_DATA,;t t 7855s,@CYGPATH_W@,$CYGPATH_W,;t t 7856s,@PACKAGE@,$PACKAGE,;t t 7857s,@VERSION@,$VERSION,;t t 7858s,@ACLOCAL@,$ACLOCAL,;t t 7859s,@AUTOCONF@,$AUTOCONF,;t t 7860s,@AUTOMAKE@,$AUTOMAKE,;t t 7861s,@AUTOHEADER@,$AUTOHEADER,;t t 7862s,@MAKEINFO@,$MAKEINFO,;t t 7863s,@install_sh@,$install_sh,;t t 7864s,@STRIP@,$STRIP,;t t 7865s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 7866s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 7867s,@mkdir_p@,$mkdir_p,;t t 7868s,@AWK@,$AWK,;t t 7869s,@SET_MAKE@,$SET_MAKE,;t t 7870s,@am__leading_dot@,$am__leading_dot,;t t 7871s,@AMTAR@,$AMTAR,;t t 7872s,@am__tar@,$am__tar,;t t 7873s,@am__untar@,$am__untar,;t t 7874s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 7875s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 7876s,@MAINT@,$MAINT,;t t 7877s,@multi_basedir@,$multi_basedir,;t t 7878s,@CC@,$CC,;t t 7879s,@ac_ct_CC@,$ac_ct_CC,;t t 7880s,@EXEEXT@,$EXEEXT,;t t 7881s,@OBJEXT@,$OBJEXT,;t t 7882s,@DEPDIR@,$DEPDIR,;t t 7883s,@am__include@,$am__include,;t t 7884s,@am__quote@,$am__quote,;t t 7885s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 7886s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 7887s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 7888s,@CCDEPMODE@,$CCDEPMODE,;t t 7889s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 7890s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 7891s,@CFLAGS@,$CFLAGS,;t t 7892s,@CPP@,$CPP,;t t 7893s,@CPPFLAGS@,$CPPFLAGS,;t t 7894s,@EGREP@,$EGREP,;t t 7895s,@LN_S@,$LN_S,;t t 7896s,@RANLIB@,$RANLIB,;t t 7897s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 7898s,@LIBTOOL@,$LIBTOOL,;t t 7899s,@enable_shared@,$enable_shared,;t t 7900s,@enable_static@,$enable_static,;t t 7901s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t 7902s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t 7903s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t 7904s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t 7905s,@build_libmudflapth@,$build_libmudflapth,;t t 7906s,@toolexecdir@,$toolexecdir,;t t 7907s,@toolexeclibdir@,$toolexeclibdir,;t t 7908s,@NM@,$NM,;t t 7909s,@ac_ct_NM@,$ac_ct_NM,;t t 7910s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t 7911s,@LIBOBJS@,$LIBOBJS,;t t 7912s,@LTLIBOBJS@,$LTLIBOBJS,;t t 7913CEOF 7914 7915_ACEOF 7916 7917 cat >>$CONFIG_STATUS <<\_ACEOF 7918 # Split the substitutions into bite-sized pieces for seds with 7919 # small command number limits, like on Digital OSF/1 and HP-UX. 7920 ac_max_sed_lines=48 7921 ac_sed_frag=1 # Number of current file. 7922 ac_beg=1 # First line for current file. 7923 ac_end=$ac_max_sed_lines # Line after last line for current file. 7924 ac_more_lines=: 7925 ac_sed_cmds= 7926 while $ac_more_lines; do 7927 if test $ac_beg -gt 1; then 7928 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7929 else 7930 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7931 fi 7932 if test ! -s $tmp/subs.frag; then 7933 ac_more_lines=false 7934 else 7935 # The purpose of the label and of the branching condition is to 7936 # speed up the sed processing (if there are no `@' at all, there 7937 # is no need to browse any of the substitutions). 7938 # These are the two extra sed commands mentioned above. 7939 (echo ':t 7940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 7941 if test -z "$ac_sed_cmds"; then 7942 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 7943 else 7944 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 7945 fi 7946 ac_sed_frag=`expr $ac_sed_frag + 1` 7947 ac_beg=$ac_end 7948 ac_end=`expr $ac_end + $ac_max_sed_lines` 7949 fi 7950 done 7951 if test -z "$ac_sed_cmds"; then 7952 ac_sed_cmds=cat 7953 fi 7954fi # test -n "$CONFIG_FILES" 7955 7956_ACEOF 7957cat >>$CONFIG_STATUS <<\_ACEOF 7958for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 7959 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7960 case $ac_file in 7961 - | *:- | *:-:* ) # input from stdin 7962 cat >$tmp/stdin 7963 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7964 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7965 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7966 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7967 * ) ac_file_in=$ac_file.in ;; 7968 esac 7969 7970 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 7971 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7972$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7973 X"$ac_file" : 'X\(//\)[^/]' \| \ 7974 X"$ac_file" : 'X\(//\)$' \| \ 7975 X"$ac_file" : 'X\(/\)' \| \ 7976 . : '\(.\)' 2>/dev/null || 7977echo X"$ac_file" | 7978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7979 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7980 /^X\(\/\/\)$/{ s//\1/; q; } 7981 /^X\(\/\).*/{ s//\1/; q; } 7982 s/.*/./; q'` 7983 { if $as_mkdir_p; then 7984 mkdir -p "$ac_dir" 7985 else 7986 as_dir="$ac_dir" 7987 as_dirs= 7988 while test ! -d "$as_dir"; do 7989 as_dirs="$as_dir $as_dirs" 7990 as_dir=`(dirname "$as_dir") 2>/dev/null || 7991$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7992 X"$as_dir" : 'X\(//\)[^/]' \| \ 7993 X"$as_dir" : 'X\(//\)$' \| \ 7994 X"$as_dir" : 'X\(/\)' \| \ 7995 . : '\(.\)' 2>/dev/null || 7996echo X"$as_dir" | 7997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7998 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7999 /^X\(\/\/\)$/{ s//\1/; q; } 8000 /^X\(\/\).*/{ s//\1/; q; } 8001 s/.*/./; q'` 8002 done 8003 test ! -n "$as_dirs" || mkdir $as_dirs 8004 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8005echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8006 { (exit 1); exit 1; }; }; } 8007 8008 ac_builddir=. 8009 8010if test "$ac_dir" != .; then 8011 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8012 # A "../" for each directory in $ac_dir_suffix. 8013 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8014else 8015 ac_dir_suffix= ac_top_builddir= 8016fi 8017 8018case $srcdir in 8019 .) # No --srcdir option. We are building in place. 8020 ac_srcdir=. 8021 if test -z "$ac_top_builddir"; then 8022 ac_top_srcdir=. 8023 else 8024 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8025 fi ;; 8026 [\\/]* | ?:[\\/]* ) # Absolute path. 8027 ac_srcdir=$srcdir$ac_dir_suffix; 8028 ac_top_srcdir=$srcdir ;; 8029 *) # Relative path. 8030 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8031 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8032esac 8033 8034# Do not use `cd foo && pwd` to compute absolute paths, because 8035# the directories may not exist. 8036case `pwd` in 8037.) ac_abs_builddir="$ac_dir";; 8038*) 8039 case "$ac_dir" in 8040 .) ac_abs_builddir=`pwd`;; 8041 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8042 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8043 esac;; 8044esac 8045case $ac_abs_builddir in 8046.) ac_abs_top_builddir=${ac_top_builddir}.;; 8047*) 8048 case ${ac_top_builddir}. in 8049 .) ac_abs_top_builddir=$ac_abs_builddir;; 8050 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8051 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8052 esac;; 8053esac 8054case $ac_abs_builddir in 8055.) ac_abs_srcdir=$ac_srcdir;; 8056*) 8057 case $ac_srcdir in 8058 .) ac_abs_srcdir=$ac_abs_builddir;; 8059 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8060 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8061 esac;; 8062esac 8063case $ac_abs_builddir in 8064.) ac_abs_top_srcdir=$ac_top_srcdir;; 8065*) 8066 case $ac_top_srcdir in 8067 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8068 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8069 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8070 esac;; 8071esac 8072 8073 8074 case $INSTALL in 8075 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8076 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 8077 esac 8078 8079 if test x"$ac_file" != x-; then 8080 { echo "$as_me:$LINENO: creating $ac_file" >&5 8081echo "$as_me: creating $ac_file" >&6;} 8082 rm -f "$ac_file" 8083 fi 8084 # Let's still pretend it is `configure' which instantiates (i.e., don't 8085 # use $as_me), people would be surprised to read: 8086 # /* config.h. Generated by config.status. */ 8087 if test x"$ac_file" = x-; then 8088 configure_input= 8089 else 8090 configure_input="$ac_file. " 8091 fi 8092 configure_input=$configure_input"Generated from `echo $ac_file_in | 8093 sed 's,.*/,,'` by configure." 8094 8095 # First look for the input files in the build tree, otherwise in the 8096 # src tree. 8097 ac_file_inputs=`IFS=: 8098 for f in $ac_file_in; do 8099 case $f in 8100 -) echo $tmp/stdin ;; 8101 [\\/$]*) 8102 # Absolute (can't be DOS-style, as IFS=:) 8103 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8104echo "$as_me: error: cannot find input file: $f" >&2;} 8105 { (exit 1); exit 1; }; } 8106 echo "$f";; 8107 *) # Relative 8108 if test -f "$f"; then 8109 # Build tree 8110 echo "$f" 8111 elif test -f "$srcdir/$f"; then 8112 # Source tree 8113 echo "$srcdir/$f" 8114 else 8115 # /dev/null tree 8116 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8117echo "$as_me: error: cannot find input file: $f" >&2;} 8118 { (exit 1); exit 1; }; } 8119 fi;; 8120 esac 8121 done` || { (exit 1); exit 1; } 8122_ACEOF 8123cat >>$CONFIG_STATUS <<_ACEOF 8124 sed "$ac_vpsub 8125$extrasub 8126_ACEOF 8127cat >>$CONFIG_STATUS <<\_ACEOF 8128:t 8129/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8130s,@configure_input@,$configure_input,;t t 8131s,@srcdir@,$ac_srcdir,;t t 8132s,@abs_srcdir@,$ac_abs_srcdir,;t t 8133s,@top_srcdir@,$ac_top_srcdir,;t t 8134s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8135s,@builddir@,$ac_builddir,;t t 8136s,@abs_builddir@,$ac_abs_builddir,;t t 8137s,@top_builddir@,$ac_top_builddir,;t t 8138s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8139s,@INSTALL@,$ac_INSTALL,;t t 8140" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8141 rm -f $tmp/stdin 8142 if test x"$ac_file" != x-; then 8143 mv $tmp/out $ac_file 8144 else 8145 cat $tmp/out 8146 rm -f $tmp/out 8147 fi 8148 8149done 8150_ACEOF 8151cat >>$CONFIG_STATUS <<\_ACEOF 8152 8153# 8154# CONFIG_HEADER section. 8155# 8156 8157# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8158# NAME is the cpp macro being defined and VALUE is the value it is being given. 8159# 8160# ac_d sets the value in "#define NAME VALUE" lines. 8161ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8162ac_dB='[ ].*$,\1#\2' 8163ac_dC=' ' 8164ac_dD=',;t' 8165# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8166ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8167ac_uB='$,\1#\2define\3' 8168ac_uC=' ' 8169ac_uD=',;t' 8170 8171for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8172 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8173 case $ac_file in 8174 - | *:- | *:-:* ) # input from stdin 8175 cat >$tmp/stdin 8176 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8177 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8178 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8179 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8180 * ) ac_file_in=$ac_file.in ;; 8181 esac 8182 8183 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8184echo "$as_me: creating $ac_file" >&6;} 8185 8186 # First look for the input files in the build tree, otherwise in the 8187 # src tree. 8188 ac_file_inputs=`IFS=: 8189 for f in $ac_file_in; do 8190 case $f in 8191 -) echo $tmp/stdin ;; 8192 [\\/$]*) 8193 # Absolute (can't be DOS-style, as IFS=:) 8194 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8195echo "$as_me: error: cannot find input file: $f" >&2;} 8196 { (exit 1); exit 1; }; } 8197 # Do quote $f, to prevent DOS paths from being IFS'd. 8198 echo "$f";; 8199 *) # Relative 8200 if test -f "$f"; then 8201 # Build tree 8202 echo "$f" 8203 elif test -f "$srcdir/$f"; then 8204 # Source tree 8205 echo "$srcdir/$f" 8206 else 8207 # /dev/null tree 8208 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8209echo "$as_me: error: cannot find input file: $f" >&2;} 8210 { (exit 1); exit 1; }; } 8211 fi;; 8212 esac 8213 done` || { (exit 1); exit 1; } 8214 # Remove the trailing spaces. 8215 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8216 8217_ACEOF 8218 8219# Transform confdefs.h into two sed scripts, `conftest.defines' and 8220# `conftest.undefs', that substitutes the proper values into 8221# config.h.in to produce config.h. The first handles `#define' 8222# templates, and the second `#undef' templates. 8223# And first: Protect against being on the right side of a sed subst in 8224# config.status. Protect against being in an unquoted here document 8225# in config.status. 8226rm -f conftest.defines conftest.undefs 8227# Using a here document instead of a string reduces the quoting nightmare. 8228# Putting comments in sed scripts is not portable. 8229# 8230# `end' is used to avoid that the second main sed command (meant for 8231# 0-ary CPP macros) applies to n-ary macro definitions. 8232# See the Autoconf documentation for `clear'. 8233cat >confdef2sed.sed <<\_ACEOF 8234s/[\\&,]/\\&/g 8235s,[\\$`],\\&,g 8236t clear 8237: clear 8238s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8239t end 8240s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8241: end 8242_ACEOF 8243# If some macros were called several times there might be several times 8244# the same #defines, which is useless. Nevertheless, we may not want to 8245# sort them, since we want the *last* AC-DEFINE to be honored. 8246uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8247sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8248rm -f confdef2sed.sed 8249 8250# This sed command replaces #undef with comments. This is necessary, for 8251# example, in the case of _POSIX_SOURCE, which is predefined and required 8252# on some systems where configure will not decide to define it. 8253cat >>conftest.undefs <<\_ACEOF 8254s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8255_ACEOF 8256 8257# Break up conftest.defines because some shells have a limit on the size 8258# of here documents, and old seds have small limits too (100 cmds). 8259echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8260echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8261echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8262echo ' :' >>$CONFIG_STATUS 8263rm -f conftest.tail 8264while grep . conftest.defines >/dev/null 8265do 8266 # Write a limited-size here document to $tmp/defines.sed. 8267 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8268 # Speed up: don't consider the non `#define' lines. 8269 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8270 # Work around the forget-to-reset-the-flag bug. 8271 echo 't clr' >>$CONFIG_STATUS 8272 echo ': clr' >>$CONFIG_STATUS 8273 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 8274 echo 'CEOF 8275 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8276 rm -f $tmp/in 8277 mv $tmp/out $tmp/in 8278' >>$CONFIG_STATUS 8279 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 8280 rm -f conftest.defines 8281 mv conftest.tail conftest.defines 8282done 8283rm -f conftest.defines 8284echo ' fi # grep' >>$CONFIG_STATUS 8285echo >>$CONFIG_STATUS 8286 8287# Break up conftest.undefs because some shells have a limit on the size 8288# of here documents, and old seds have small limits too (100 cmds). 8289echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8290rm -f conftest.tail 8291while grep . conftest.undefs >/dev/null 8292do 8293 # Write a limited-size here document to $tmp/undefs.sed. 8294 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8295 # Speed up: don't consider the non `#undef' 8296 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8297 # Work around the forget-to-reset-the-flag bug. 8298 echo 't clr' >>$CONFIG_STATUS 8299 echo ': clr' >>$CONFIG_STATUS 8300 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8301 echo 'CEOF 8302 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8303 rm -f $tmp/in 8304 mv $tmp/out $tmp/in 8305' >>$CONFIG_STATUS 8306 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8307 rm -f conftest.undefs 8308 mv conftest.tail conftest.undefs 8309done 8310rm -f conftest.undefs 8311 8312cat >>$CONFIG_STATUS <<\_ACEOF 8313 # Let's still pretend it is `configure' which instantiates (i.e., don't 8314 # use $as_me), people would be surprised to read: 8315 # /* config.h. Generated by config.status. */ 8316 if test x"$ac_file" = x-; then 8317 echo "/* Generated by configure. */" >$tmp/config.h 8318 else 8319 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 8320 fi 8321 cat $tmp/in >>$tmp/config.h 8322 rm -f $tmp/in 8323 if test x"$ac_file" != x-; then 8324 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8325 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8326echo "$as_me: $ac_file is unchanged" >&6;} 8327 else 8328 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8329$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8330 X"$ac_file" : 'X\(//\)[^/]' \| \ 8331 X"$ac_file" : 'X\(//\)$' \| \ 8332 X"$ac_file" : 'X\(/\)' \| \ 8333 . : '\(.\)' 2>/dev/null || 8334echo X"$ac_file" | 8335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8336 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8337 /^X\(\/\/\)$/{ s//\1/; q; } 8338 /^X\(\/\).*/{ s//\1/; q; } 8339 s/.*/./; q'` 8340 { if $as_mkdir_p; then 8341 mkdir -p "$ac_dir" 8342 else 8343 as_dir="$ac_dir" 8344 as_dirs= 8345 while test ! -d "$as_dir"; do 8346 as_dirs="$as_dir $as_dirs" 8347 as_dir=`(dirname "$as_dir") 2>/dev/null || 8348$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8349 X"$as_dir" : 'X\(//\)[^/]' \| \ 8350 X"$as_dir" : 'X\(//\)$' \| \ 8351 X"$as_dir" : 'X\(/\)' \| \ 8352 . : '\(.\)' 2>/dev/null || 8353echo X"$as_dir" | 8354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8355 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8356 /^X\(\/\/\)$/{ s//\1/; q; } 8357 /^X\(\/\).*/{ s//\1/; q; } 8358 s/.*/./; q'` 8359 done 8360 test ! -n "$as_dirs" || mkdir $as_dirs 8361 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8362echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8363 { (exit 1); exit 1; }; }; } 8364 8365 rm -f $ac_file 8366 mv $tmp/config.h $ac_file 8367 fi 8368 else 8369 cat $tmp/config.h 8370 rm -f $tmp/config.h 8371 fi 8372# Compute $ac_file's index in $config_headers. 8373_am_stamp_count=1 8374for _am_header in $config_headers :; do 8375 case $_am_header in 8376 $ac_file | $ac_file:* ) 8377 break ;; 8378 * ) 8379 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 8380 esac 8381done 8382echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 8383$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8384 X$ac_file : 'X\(//\)[^/]' \| \ 8385 X$ac_file : 'X\(//\)$' \| \ 8386 X$ac_file : 'X\(/\)' \| \ 8387 . : '\(.\)' 2>/dev/null || 8388echo X$ac_file | 8389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8390 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8391 /^X\(\/\/\)$/{ s//\1/; q; } 8392 /^X\(\/\).*/{ s//\1/; q; } 8393 s/.*/./; q'`/stamp-h$_am_stamp_count 8394done 8395_ACEOF 8396cat >>$CONFIG_STATUS <<\_ACEOF 8397 8398# 8399# CONFIG_COMMANDS section. 8400# 8401for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 8402 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 8403 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 8404 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 8405$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8406 X"$ac_dest" : 'X\(//\)[^/]' \| \ 8407 X"$ac_dest" : 'X\(//\)$' \| \ 8408 X"$ac_dest" : 'X\(/\)' \| \ 8409 . : '\(.\)' 2>/dev/null || 8410echo X"$ac_dest" | 8411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8412 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8413 /^X\(\/\/\)$/{ s//\1/; q; } 8414 /^X\(\/\).*/{ s//\1/; q; } 8415 s/.*/./; q'` 8416 { if $as_mkdir_p; then 8417 mkdir -p "$ac_dir" 8418 else 8419 as_dir="$ac_dir" 8420 as_dirs= 8421 while test ! -d "$as_dir"; do 8422 as_dirs="$as_dir $as_dirs" 8423 as_dir=`(dirname "$as_dir") 2>/dev/null || 8424$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8425 X"$as_dir" : 'X\(//\)[^/]' \| \ 8426 X"$as_dir" : 'X\(//\)$' \| \ 8427 X"$as_dir" : 'X\(/\)' \| \ 8428 . : '\(.\)' 2>/dev/null || 8429echo X"$as_dir" | 8430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8431 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8432 /^X\(\/\/\)$/{ s//\1/; q; } 8433 /^X\(\/\).*/{ s//\1/; q; } 8434 s/.*/./; q'` 8435 done 8436 test ! -n "$as_dirs" || mkdir $as_dirs 8437 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8438echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8439 { (exit 1); exit 1; }; }; } 8440 8441 ac_builddir=. 8442 8443if test "$ac_dir" != .; then 8444 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8445 # A "../" for each directory in $ac_dir_suffix. 8446 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8447else 8448 ac_dir_suffix= ac_top_builddir= 8449fi 8450 8451case $srcdir in 8452 .) # No --srcdir option. We are building in place. 8453 ac_srcdir=. 8454 if test -z "$ac_top_builddir"; then 8455 ac_top_srcdir=. 8456 else 8457 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8458 fi ;; 8459 [\\/]* | ?:[\\/]* ) # Absolute path. 8460 ac_srcdir=$srcdir$ac_dir_suffix; 8461 ac_top_srcdir=$srcdir ;; 8462 *) # Relative path. 8463 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8464 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8465esac 8466 8467# Do not use `cd foo && pwd` to compute absolute paths, because 8468# the directories may not exist. 8469case `pwd` in 8470.) ac_abs_builddir="$ac_dir";; 8471*) 8472 case "$ac_dir" in 8473 .) ac_abs_builddir=`pwd`;; 8474 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8475 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8476 esac;; 8477esac 8478case $ac_abs_builddir in 8479.) ac_abs_top_builddir=${ac_top_builddir}.;; 8480*) 8481 case ${ac_top_builddir}. in 8482 .) ac_abs_top_builddir=$ac_abs_builddir;; 8483 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8484 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8485 esac;; 8486esac 8487case $ac_abs_builddir in 8488.) ac_abs_srcdir=$ac_srcdir;; 8489*) 8490 case $ac_srcdir in 8491 .) ac_abs_srcdir=$ac_abs_builddir;; 8492 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8493 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8494 esac;; 8495esac 8496case $ac_abs_builddir in 8497.) ac_abs_top_srcdir=$ac_top_srcdir;; 8498*) 8499 case $ac_top_srcdir in 8500 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8501 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8502 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8503 esac;; 8504esac 8505 8506 8507 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 8508echo "$as_me: executing $ac_dest commands" >&6;} 8509 case $ac_dest in 8510 default-1 ) 8511# Only add multilib support code if we just rebuilt the top-level 8512# Makefile. 8513case " $CONFIG_FILES " in 8514 *" Makefile "*) 8515 ac_file=Makefile . ${multi_basedir}/config-ml.in 8516 ;; 8517esac ;; 8518 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 8519 # Strip MF so we end up with the name of the file. 8520 mf=`echo "$mf" | sed -e 's/:.*$//'` 8521 # Check whether this is an Automake generated Makefile or not. 8522 # We used to match only the files named `Makefile.in', but 8523 # some people rename them; so instead we look at the file content. 8524 # Grep'ing the first line is not enough: some people post-process 8525 # each Makefile.in and add a new line on top of each file to say so. 8526 # So let's grep whole file. 8527 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 8528 dirpart=`(dirname "$mf") 2>/dev/null || 8529$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8530 X"$mf" : 'X\(//\)[^/]' \| \ 8531 X"$mf" : 'X\(//\)$' \| \ 8532 X"$mf" : 'X\(/\)' \| \ 8533 . : '\(.\)' 2>/dev/null || 8534echo X"$mf" | 8535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8536 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8537 /^X\(\/\/\)$/{ s//\1/; q; } 8538 /^X\(\/\).*/{ s//\1/; q; } 8539 s/.*/./; q'` 8540 else 8541 continue 8542 fi 8543 # Extract the definition of DEPDIR, am__include, and am__quote 8544 # from the Makefile without running `make'. 8545 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 8546 test -z "$DEPDIR" && continue 8547 am__include=`sed -n 's/^am__include = //p' < "$mf"` 8548 test -z "am__include" && continue 8549 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 8550 # When using ansi2knr, U may be empty or an underscore; expand it 8551 U=`sed -n 's/^U = //p' < "$mf"` 8552 # Find all dependency output files, they are included files with 8553 # $(DEPDIR) in their names. We invoke sed twice because it is the 8554 # simplest approach to changing $(DEPDIR) to its actual value in the 8555 # expansion. 8556 for file in `sed -n " 8557 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 8558 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 8559 # Make sure the directory exists. 8560 test -f "$dirpart/$file" && continue 8561 fdir=`(dirname "$file") 2>/dev/null || 8562$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8563 X"$file" : 'X\(//\)[^/]' \| \ 8564 X"$file" : 'X\(//\)$' \| \ 8565 X"$file" : 'X\(/\)' \| \ 8566 . : '\(.\)' 2>/dev/null || 8567echo X"$file" | 8568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8569 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8570 /^X\(\/\/\)$/{ s//\1/; q; } 8571 /^X\(\/\).*/{ s//\1/; q; } 8572 s/.*/./; q'` 8573 { if $as_mkdir_p; then 8574 mkdir -p $dirpart/$fdir 8575 else 8576 as_dir=$dirpart/$fdir 8577 as_dirs= 8578 while test ! -d "$as_dir"; do 8579 as_dirs="$as_dir $as_dirs" 8580 as_dir=`(dirname "$as_dir") 2>/dev/null || 8581$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8582 X"$as_dir" : 'X\(//\)[^/]' \| \ 8583 X"$as_dir" : 'X\(//\)$' \| \ 8584 X"$as_dir" : 'X\(/\)' \| \ 8585 . : '\(.\)' 2>/dev/null || 8586echo X"$as_dir" | 8587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8588 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8589 /^X\(\/\/\)$/{ s//\1/; q; } 8590 /^X\(\/\).*/{ s//\1/; q; } 8591 s/.*/./; q'` 8592 done 8593 test ! -n "$as_dirs" || mkdir $as_dirs 8594 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 8595echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 8596 { (exit 1); exit 1; }; }; } 8597 8598 # echo "creating $dirpart/$file" 8599 echo '# dummy' > "$dirpart/$file" 8600 done 8601done 8602 ;; 8603 esac 8604done 8605_ACEOF 8606 8607cat >>$CONFIG_STATUS <<\_ACEOF 8608 8609{ (exit 0); exit 0; } 8610_ACEOF 8611chmod +x $CONFIG_STATUS 8612ac_clean_files=$ac_clean_files_save 8613 8614 8615# configure is writing to config.log, and then calls config.status. 8616# config.status does its own redirection, appending to config.log. 8617# Unfortunately, on DOS this fails, as config.log is still kept open 8618# by configure, so config.status won't be able to write to it; its 8619# output is simply discarded. So we exec the FD to /dev/null, 8620# effectively closing config.log, so it can be properly (re)opened and 8621# appended to by config.status. When coming back to configure, we 8622# need to make the FD available again. 8623if test "$no_create" != yes; then 8624 ac_cs_success=: 8625 ac_config_status_args= 8626 test "$silent" = yes && 8627 ac_config_status_args="$ac_config_status_args --quiet" 8628 exec 5>/dev/null 8629 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8630 exec 5>>config.log 8631 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8632 # would make configure fail if this is the last instruction. 8633 $ac_cs_success || { (exit 1); exit 1; } 8634fi 8635 8636