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