1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.59. 4# 5# Copyright (C) 2003 Free Software Foundation, Inc. 6# This configure script is free software; the Free Software Foundation 7# gives unlimited permission to copy, distribute and modify it. 8## --------------------- ## 9## M4sh Initialization. ## 10## --------------------- ## 11 12# Be Bourne compatible 13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21fi 22DUALCASE=1; export DUALCASE # for MKS sh 23 24# Support unset when possible. 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27else 28 as_unset=false 29fi 30 31 32# Work around bugs in pre-3.0 UWIN ksh. 33$as_unset ENV MAIL MAILPATH 34PS1='$ ' 35PS2='> ' 36PS4='+ ' 37 38# NLS nuisances. 39for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49done 50 51# Required to use basename. 52if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54else 55 as_expr=false 56fi 57 58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60else 61 as_basename=false 62fi 63 64 65# Name of the executable. 66as_me=`$as_basename "$0" || 67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78# PATH needs CR, and LINENO needs CR and PATH. 79# Avoid depending upon Character Ranges. 80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83as_cr_digits='0123456789' 84as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86# The user is always right. 87if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110for as_dir in $PATH 111do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152done 153;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184} 185 186 187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192esac 193 194if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196else 197 as_expr=false 198fi 199 200rm -f conf$$ conf$$.exe conf$$.file 201echo >conf$$.file 202if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213else 214 as_ln_s='cp -p' 215fi 216rm -f conf$$ conf$$.exe conf$$.file 217 218if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223fi 224 225as_executable_p="test -f" 226 227# Sed expression to map a string onto a valid CPP name. 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230# Sed expression to map a string onto a valid variable name. 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl" 239 240# CDPATH. 241$as_unset CDPATH 242 243 244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249exec 6>&1 250 251# 252# Initializations. 253# 254ac_default_prefix=/usr/local 255ac_config_libobj_dir=. 256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} 261 262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266 267# Identity of this package. 268PACKAGE_NAME= 269PACKAGE_TARNAME= 270PACKAGE_VERSION= 271PACKAGE_STRING= 272PACKAGE_BUGREPORT= 273 274# Factoring default headers for most tests. 275ac_includes_default="\ 276#include <stdio.h> 277#if HAVE_SYS_TYPES_H 278# include <sys/types.h> 279#endif 280#if HAVE_SYS_STAT_H 281# include <sys/stat.h> 282#endif 283#if STDC_HEADERS 284# include <stdlib.h> 285# include <stddef.h> 286#else 287# if HAVE_STDLIB_H 288# include <stdlib.h> 289# endif 290#endif 291#if HAVE_STRING_H 292# if !STDC_HEADERS && HAVE_MEMORY_H 293# include <memory.h> 294# endif 295# include <string.h> 296#endif 297#if HAVE_STRINGS_H 298# include <strings.h> 299#endif 300#if HAVE_INTTYPES_H 301# include <inttypes.h> 302#else 303# if HAVE_STDINT_H 304# include <stdint.h> 305# endif 306#endif 307#if HAVE_UNISTD_H 308# include <unistd.h> 309#endif" 310 311ac_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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LTLIBOBJS' 312ac_subst_files='' 313 314# Initialize some variables set by options. 315ac_init_help= 316ac_init_version=false 317# The variables have the same names as the options, with 318# dashes changed to underlines. 319cache_file=/dev/null 320exec_prefix=NONE 321no_create= 322no_recursion= 323prefix=NONE 324program_prefix=NONE 325program_suffix=NONE 326program_transform_name=s,x,x, 327silent= 328site= 329srcdir= 330verbose= 331x_includes=NONE 332x_libraries=NONE 333 334# Installation directory options. 335# These are left unexpanded so users can "make install exec_prefix=/foo" 336# and all the variables that are supposed to be based on exec_prefix 337# by default will actually change. 338# Use braces instead of parens because sh, perl, etc. also accept them. 339bindir='${exec_prefix}/bin' 340sbindir='${exec_prefix}/sbin' 341libexecdir='${exec_prefix}/libexec' 342datadir='${prefix}/share' 343sysconfdir='${prefix}/etc' 344sharedstatedir='${prefix}/com' 345localstatedir='${prefix}/var' 346libdir='${exec_prefix}/lib' 347includedir='${prefix}/include' 348oldincludedir='/usr/include' 349infodir='${prefix}/info' 350mandir='${prefix}/man' 351 352ac_prev= 353for ac_option 354do 355 # If the previous option needs an argument, assign it. 356 if test -n "$ac_prev"; then 357 eval "$ac_prev=\$ac_option" 358 ac_prev= 359 continue 360 fi 361 362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 363 364 # Accept the important Cygnus configure options, so we can diagnose typos. 365 366 case $ac_option in 367 368 -bindir | --bindir | --bindi | --bind | --bin | --bi) 369 ac_prev=bindir ;; 370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 371 bindir=$ac_optarg ;; 372 373 -build | --build | --buil | --bui | --bu) 374 ac_prev=build_alias ;; 375 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 376 build_alias=$ac_optarg ;; 377 378 -cache-file | --cache-file | --cache-fil | --cache-fi \ 379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 380 ac_prev=cache_file ;; 381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 383 cache_file=$ac_optarg ;; 384 385 --config-cache | -C) 386 cache_file=config.cache ;; 387 388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 389 ac_prev=datadir ;; 390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 391 | --da=*) 392 datadir=$ac_optarg ;; 393 394 -disable-* | --disable-*) 395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 396 # Reject names that are not valid shell variable names. 397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 399 { (exit 1); exit 1; }; } 400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 401 eval "enable_$ac_feature=no" ;; 402 403 -enable-* | --enable-*) 404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 405 # Reject names that are not valid shell variable names. 406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 408 { (exit 1); exit 1; }; } 409 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 410 case $ac_option in 411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 412 *) ac_optarg=yes ;; 413 esac 414 eval "enable_$ac_feature='$ac_optarg'" ;; 415 416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 418 | --exec | --exe | --ex) 419 ac_prev=exec_prefix ;; 420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 422 | --exec=* | --exe=* | --ex=*) 423 exec_prefix=$ac_optarg ;; 424 425 -gas | --gas | --ga | --g) 426 # Obsolete; use --with-gas. 427 with_gas=yes ;; 428 429 -help | --help | --hel | --he | -h) 430 ac_init_help=long ;; 431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 432 ac_init_help=recursive ;; 433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 434 ac_init_help=short ;; 435 436 -host | --host | --hos | --ho) 437 ac_prev=host_alias ;; 438 -host=* | --host=* | --hos=* | --ho=*) 439 host_alias=$ac_optarg ;; 440 441 -includedir | --includedir | --includedi | --included | --include \ 442 | --includ | --inclu | --incl | --inc) 443 ac_prev=includedir ;; 444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 445 | --includ=* | --inclu=* | --incl=* | --inc=*) 446 includedir=$ac_optarg ;; 447 448 -infodir | --infodir | --infodi | --infod | --info | --inf) 449 ac_prev=infodir ;; 450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 451 infodir=$ac_optarg ;; 452 453 -libdir | --libdir | --libdi | --libd) 454 ac_prev=libdir ;; 455 -libdir=* | --libdir=* | --libdi=* | --libd=*) 456 libdir=$ac_optarg ;; 457 458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 459 | --libexe | --libex | --libe) 460 ac_prev=libexecdir ;; 461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 462 | --libexe=* | --libex=* | --libe=*) 463 libexecdir=$ac_optarg ;; 464 465 -localstatedir | --localstatedir | --localstatedi | --localstated \ 466 | --localstate | --localstat | --localsta | --localst \ 467 | --locals | --local | --loca | --loc | --lo) 468 ac_prev=localstatedir ;; 469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 472 localstatedir=$ac_optarg ;; 473 474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 475 ac_prev=mandir ;; 476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 477 mandir=$ac_optarg ;; 478 479 -nfp | --nfp | --nf) 480 # Obsolete; use --without-fp. 481 with_fp=no ;; 482 483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 484 | --no-cr | --no-c | -n) 485 no_create=yes ;; 486 487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 489 no_recursion=yes ;; 490 491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 493 | --oldin | --oldi | --old | --ol | --o) 494 ac_prev=oldincludedir ;; 495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 498 oldincludedir=$ac_optarg ;; 499 500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 501 ac_prev=prefix ;; 502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 503 prefix=$ac_optarg ;; 504 505 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 506 | --program-pre | --program-pr | --program-p) 507 ac_prev=program_prefix ;; 508 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 510 program_prefix=$ac_optarg ;; 511 512 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 513 | --program-suf | --program-su | --program-s) 514 ac_prev=program_suffix ;; 515 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 517 program_suffix=$ac_optarg ;; 518 519 -program-transform-name | --program-transform-name \ 520 | --program-transform-nam | --program-transform-na \ 521 | --program-transform-n | --program-transform- \ 522 | --program-transform | --program-transfor \ 523 | --program-transfo | --program-transf \ 524 | --program-trans | --program-tran \ 525 | --progr-tra | --program-tr | --program-t) 526 ac_prev=program_transform_name ;; 527 -program-transform-name=* | --program-transform-name=* \ 528 | --program-transform-nam=* | --program-transform-na=* \ 529 | --program-transform-n=* | --program-transform-=* \ 530 | --program-transform=* | --program-transfor=* \ 531 | --program-transfo=* | --program-transf=* \ 532 | --program-trans=* | --program-tran=* \ 533 | --progr-tra=* | --program-tr=* | --program-t=*) 534 program_transform_name=$ac_optarg ;; 535 536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 537 | -silent | --silent | --silen | --sile | --sil) 538 silent=yes ;; 539 540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 541 ac_prev=sbindir ;; 542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 543 | --sbi=* | --sb=*) 544 sbindir=$ac_optarg ;; 545 546 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 548 | --sharedst | --shareds | --shared | --share | --shar \ 549 | --sha | --sh) 550 ac_prev=sharedstatedir ;; 551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 554 | --sha=* | --sh=*) 555 sharedstatedir=$ac_optarg ;; 556 557 -site | --site | --sit) 558 ac_prev=site ;; 559 -site=* | --site=* | --sit=*) 560 site=$ac_optarg ;; 561 562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 563 ac_prev=srcdir ;; 564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 565 srcdir=$ac_optarg ;; 566 567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 568 | --syscon | --sysco | --sysc | --sys | --sy) 569 ac_prev=sysconfdir ;; 570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 572 sysconfdir=$ac_optarg ;; 573 574 -target | --target | --targe | --targ | --tar | --ta | --t) 575 ac_prev=target_alias ;; 576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 577 target_alias=$ac_optarg ;; 578 579 -v | -verbose | --verbose | --verbos | --verbo | --verb) 580 verbose=yes ;; 581 582 -version | --version | --versio | --versi | --vers | -V) 583 ac_init_version=: ;; 584 585 -with-* | --with-*) 586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 587 # Reject names that are not valid shell variable names. 588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 589 { echo "$as_me: error: invalid package name: $ac_package" >&2 590 { (exit 1); exit 1; }; } 591 ac_package=`echo $ac_package| sed 's/-/_/g'` 592 case $ac_option in 593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 594 *) ac_optarg=yes ;; 595 esac 596 eval "with_$ac_package='$ac_optarg'" ;; 597 598 -without-* | --without-*) 599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 600 # Reject names that are not valid shell variable names. 601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 602 { echo "$as_me: error: invalid package name: $ac_package" >&2 603 { (exit 1); exit 1; }; } 604 ac_package=`echo $ac_package | sed 's/-/_/g'` 605 eval "with_$ac_package=no" ;; 606 607 --x) 608 # Obsolete; use --with-x. 609 with_x=yes ;; 610 611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 612 | --x-incl | --x-inc | --x-in | --x-i) 613 ac_prev=x_includes ;; 614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 616 x_includes=$ac_optarg ;; 617 618 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 620 ac_prev=x_libraries ;; 621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 623 x_libraries=$ac_optarg ;; 624 625 -*) { echo "$as_me: error: unrecognized option: $ac_option 626Try \`$0 --help' for more information." >&2 627 { (exit 1); exit 1; }; } 628 ;; 629 630 *=*) 631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 632 # Reject names that are not valid shell variable names. 633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 635 { (exit 1); exit 1; }; } 636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 637 eval "$ac_envvar='$ac_optarg'" 638 export $ac_envvar ;; 639 640 *) 641 # FIXME: should be removed in autoconf 3.0. 642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 646 ;; 647 648 esac 649done 650 651if test -n "$ac_prev"; then 652 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 653 { echo "$as_me: error: missing argument to $ac_option" >&2 654 { (exit 1); exit 1; }; } 655fi 656 657# Be sure to have absolute paths. 658for ac_var in exec_prefix prefix 659do 660 eval ac_val=$`echo $ac_var` 661 case $ac_val in 662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 664 { (exit 1); exit 1; }; };; 665 esac 666done 667 668# Be sure to have absolute paths. 669for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670 localstatedir libdir includedir oldincludedir infodir mandir 671do 672 eval ac_val=$`echo $ac_var` 673 case $ac_val in 674 [\\/$]* | ?:[\\/]* ) ;; 675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 676 { (exit 1); exit 1; }; };; 677 esac 678done 679 680# There might be people who depend on the old broken behavior: `$host' 681# used to hold the argument of --host etc. 682# FIXME: To remove some day. 683build=$build_alias 684host=$host_alias 685target=$target_alias 686 687# FIXME: To remove some day. 688if test "x$host_alias" != x; then 689 if test "x$build_alias" = x; then 690 cross_compiling=maybe 691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 692 If a cross compiler is detected then cross compile mode will be used." >&2 693 elif test "x$build_alias" != "x$host_alias"; then 694 cross_compiling=yes 695 fi 696fi 697 698ac_tool_prefix= 699test -n "$host_alias" && ac_tool_prefix=$host_alias- 700 701test "$silent" = yes && exec 6>/dev/null 702 703 704# Find the source files, if location was not specified. 705if test -z "$srcdir"; then 706 ac_srcdir_defaulted=yes 707 # Try the directory containing this script, then its parent. 708 ac_confdir=`(dirname "$0") 2>/dev/null || 709$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710 X"$0" : 'X\(//\)[^/]' \| \ 711 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 714echo X"$0" | 715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\).*/{ s//\1/; q; } 719 s/.*/./; q'` 720 srcdir=$ac_confdir 721 if test ! -r $srcdir/$ac_unique_file; then 722 srcdir=.. 723 fi 724else 725 ac_srcdir_defaulted=no 726fi 727if test ! -r $srcdir/$ac_unique_file; then 728 if test "$ac_srcdir_defaulted" = yes; then 729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 730 { (exit 1); exit 1; }; } 731 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 { (exit 1); exit 1; }; } 734 fi 735fi 736(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 738 { (exit 1); exit 1; }; } 739srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 740ac_env_build_alias_set=${build_alias+set} 741ac_env_build_alias_value=$build_alias 742ac_cv_env_build_alias_set=${build_alias+set} 743ac_cv_env_build_alias_value=$build_alias 744ac_env_host_alias_set=${host_alias+set} 745ac_env_host_alias_value=$host_alias 746ac_cv_env_host_alias_set=${host_alias+set} 747ac_cv_env_host_alias_value=$host_alias 748ac_env_target_alias_set=${target_alias+set} 749ac_env_target_alias_value=$target_alias 750ac_cv_env_target_alias_set=${target_alias+set} 751ac_cv_env_target_alias_value=$target_alias 752ac_env_CC_set=${CC+set} 753ac_env_CC_value=$CC 754ac_cv_env_CC_set=${CC+set} 755ac_cv_env_CC_value=$CC 756ac_env_CFLAGS_set=${CFLAGS+set} 757ac_env_CFLAGS_value=$CFLAGS 758ac_cv_env_CFLAGS_set=${CFLAGS+set} 759ac_cv_env_CFLAGS_value=$CFLAGS 760ac_env_LDFLAGS_set=${LDFLAGS+set} 761ac_env_LDFLAGS_value=$LDFLAGS 762ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 763ac_cv_env_LDFLAGS_value=$LDFLAGS 764ac_env_CPPFLAGS_set=${CPPFLAGS+set} 765ac_env_CPPFLAGS_value=$CPPFLAGS 766ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 767ac_cv_env_CPPFLAGS_value=$CPPFLAGS 768ac_env_CXX_set=${CXX+set} 769ac_env_CXX_value=$CXX 770ac_cv_env_CXX_set=${CXX+set} 771ac_cv_env_CXX_value=$CXX 772ac_env_CXXFLAGS_set=${CXXFLAGS+set} 773ac_env_CXXFLAGS_value=$CXXFLAGS 774ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 775ac_cv_env_CXXFLAGS_value=$CXXFLAGS 776ac_env_CPP_set=${CPP+set} 777ac_env_CPP_value=$CPP 778ac_cv_env_CPP_set=${CPP+set} 779ac_cv_env_CPP_value=$CPP 780 781# 782# Report the --help message. 783# 784if test "$ac_init_help" = "long"; then 785 # Omit some internal or obsolete options to make the list less imposing. 786 # This message is too long to be a string in the A/UX 3.1 sh. 787 cat <<_ACEOF 788\`configure' configures this package to adapt to many kinds of systems. 789 790Usage: $0 [OPTION]... [VAR=VALUE]... 791 792To assign environment variables (e.g., CC, CFLAGS...), specify them as 793VAR=VALUE. See below for descriptions of some of the useful variables. 794 795Defaults for the options are specified in brackets. 796 797Configuration: 798 -h, --help display this help and exit 799 --help=short display options specific to this package 800 --help=recursive display the short help of all the included packages 801 -V, --version display version information and exit 802 -q, --quiet, --silent do not print \`checking...' messages 803 --cache-file=FILE cache test results in FILE [disabled] 804 -C, --config-cache alias for \`--cache-file=config.cache' 805 -n, --no-create do not create output files 806 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 807 808_ACEOF 809 810 cat <<_ACEOF 811Installation directories: 812 --prefix=PREFIX install architecture-independent files in PREFIX 813 [$ac_default_prefix] 814 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 815 [PREFIX] 816 817By default, \`make install' will install all the files in 818\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 819an installation prefix other than \`$ac_default_prefix' using \`--prefix', 820for instance \`--prefix=\$HOME'. 821 822For better control, use the options below. 823 824Fine tuning of the installation directories: 825 --bindir=DIR user executables [EPREFIX/bin] 826 --sbindir=DIR system admin executables [EPREFIX/sbin] 827 --libexecdir=DIR program executables [EPREFIX/libexec] 828 --datadir=DIR read-only architecture-independent data [PREFIX/share] 829 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 830 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 831 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 832 --libdir=DIR object code libraries [EPREFIX/lib] 833 --includedir=DIR C header files [PREFIX/include] 834 --oldincludedir=DIR C header files for non-gcc [/usr/include] 835 --infodir=DIR info documentation [PREFIX/info] 836 --mandir=DIR man documentation [PREFIX/man] 837_ACEOF 838 839 cat <<\_ACEOF 840 841Program names: 842 --program-prefix=PREFIX prepend PREFIX to installed program names 843 --program-suffix=SUFFIX append SUFFIX to installed program names 844 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 845_ACEOF 846fi 847 848if test -n "$ac_init_help"; then 849 850 cat <<\_ACEOF 851 852Optional Features: 853 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 854 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 855 --disable-dependency-tracking speeds up one-time build 856 --enable-dependency-tracking do not reject slow dependency extractors 857 --enable-default-8bit Changes the default character handling to store 8 bit chars 858 --enable-cdb Enables use of Berkeley DB concurrent data store 859 --enable-no-deprecated Enables annoying deprecated warning 860 --enable-big-endian Causes all database reads and writes to use big-endian byte order 861 862Optional Packages: 863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 865 --with-assert Enables assertions for testing 866 --with-pbl=PATH Specify path to PBL install 867 --with-db=PATH Specify path to BerkelyDB install directory 868 --with-gdbm=PATH Specify path to GDBM install directory - not a good idea 869 --with-gif Enables processing of gif images (default) 870 --with-png Enables processing of png images (default) 871 --with-jpeg Enables processing of jpeg images (default) 872 873Some influential environment variables: 874 CC C compiler command 875 CFLAGS C compiler flags 876 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 877 nonstandard directory <lib dir> 878 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 879 headers in a nonstandard directory <include dir> 880 CXX C++ compiler command 881 CXXFLAGS C++ compiler flags 882 CPP C preprocessor 883 884Use these variables to override the choices made by `configure' or to help 885it to find libraries and programs with nonstandard names/locations. 886 887_ACEOF 888fi 889 890if test "$ac_init_help" = "recursive"; then 891 # If there are subdirs, report their specific --help. 892 ac_popdir=`pwd` 893 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 894 test -d $ac_dir || continue 895 ac_builddir=. 896 897if test "$ac_dir" != .; then 898 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 899 # A "../" for each directory in $ac_dir_suffix. 900 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 901else 902 ac_dir_suffix= ac_top_builddir= 903fi 904 905case $srcdir in 906 .) # No --srcdir option. We are building in place. 907 ac_srcdir=. 908 if test -z "$ac_top_builddir"; then 909 ac_top_srcdir=. 910 else 911 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 912 fi ;; 913 [\\/]* | ?:[\\/]* ) # Absolute path. 914 ac_srcdir=$srcdir$ac_dir_suffix; 915 ac_top_srcdir=$srcdir ;; 916 *) # Relative path. 917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 918 ac_top_srcdir=$ac_top_builddir$srcdir ;; 919esac 920 921# Do not use `cd foo && pwd` to compute absolute paths, because 922# the directories may not exist. 923case `pwd` in 924.) ac_abs_builddir="$ac_dir";; 925*) 926 case "$ac_dir" in 927 .) ac_abs_builddir=`pwd`;; 928 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 929 *) ac_abs_builddir=`pwd`/"$ac_dir";; 930 esac;; 931esac 932case $ac_abs_builddir in 933.) ac_abs_top_builddir=${ac_top_builddir}.;; 934*) 935 case ${ac_top_builddir}. in 936 .) ac_abs_top_builddir=$ac_abs_builddir;; 937 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 938 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 939 esac;; 940esac 941case $ac_abs_builddir in 942.) ac_abs_srcdir=$ac_srcdir;; 943*) 944 case $ac_srcdir in 945 .) ac_abs_srcdir=$ac_abs_builddir;; 946 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 947 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 948 esac;; 949esac 950case $ac_abs_builddir in 951.) ac_abs_top_srcdir=$ac_top_srcdir;; 952*) 953 case $ac_top_srcdir in 954 .) ac_abs_top_srcdir=$ac_abs_builddir;; 955 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 956 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 957 esac;; 958esac 959 960 cd $ac_dir 961 # Check for guested configure; otherwise get Cygnus style configure. 962 if test -f $ac_srcdir/configure.gnu; then 963 echo 964 $SHELL $ac_srcdir/configure.gnu --help=recursive 965 elif test -f $ac_srcdir/configure; then 966 echo 967 $SHELL $ac_srcdir/configure --help=recursive 968 elif test -f $ac_srcdir/configure.ac || 969 test -f $ac_srcdir/configure.in; then 970 echo 971 $ac_configure --help 972 else 973 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 974 fi 975 cd $ac_popdir 976 done 977fi 978 979test -n "$ac_init_help" && exit 0 980if $ac_init_version; then 981 cat <<\_ACEOF 982 983Copyright (C) 2003 Free Software Foundation, Inc. 984This configure script is free software; the Free Software Foundation 985gives unlimited permission to copy, distribute and modify it. 986_ACEOF 987 exit 0 988fi 989exec 5>config.log 990cat >&5 <<_ACEOF 991This file contains any messages produced by compilers while 992running configure, to aid debugging if configure makes a mistake. 993 994It was created by $as_me, which was 995generated by GNU Autoconf 2.59. Invocation command line was 996 997 $ $0 $@ 998 999_ACEOF 1000{ 1001cat <<_ASUNAME 1002## --------- ## 1003## Platform. ## 1004## --------- ## 1005 1006hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1007uname -m = `(uname -m) 2>/dev/null || echo unknown` 1008uname -r = `(uname -r) 2>/dev/null || echo unknown` 1009uname -s = `(uname -s) 2>/dev/null || echo unknown` 1010uname -v = `(uname -v) 2>/dev/null || echo unknown` 1011 1012/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1013/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1014 1015/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1016/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1017/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1018hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1019/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1020/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1021/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1022 1023_ASUNAME 1024 1025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1026for as_dir in $PATH 1027do 1028 IFS=$as_save_IFS 1029 test -z "$as_dir" && as_dir=. 1030 echo "PATH: $as_dir" 1031done 1032 1033} >&5 1034 1035cat >&5 <<_ACEOF 1036 1037 1038## ----------- ## 1039## Core tests. ## 1040## ----------- ## 1041 1042_ACEOF 1043 1044 1045# Keep a trace of the command line. 1046# Strip out --no-create and --no-recursion so they do not pile up. 1047# Strip out --silent because we don't want to record it for future runs. 1048# Also quote any args containing shell meta-characters. 1049# Make two passes to allow for proper duplicate-argument suppression. 1050ac_configure_args= 1051ac_configure_args0= 1052ac_configure_args1= 1053ac_sep= 1054ac_must_keep_next=false 1055for ac_pass in 1 2 1056do 1057 for ac_arg 1058 do 1059 case $ac_arg in 1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1062 | -silent | --silent | --silen | --sile | --sil) 1063 continue ;; 1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1066 esac 1067 case $ac_pass in 1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1069 2) 1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1071 if test $ac_must_keep_next = true; then 1072 ac_must_keep_next=false # Got value, back to normal. 1073 else 1074 case $ac_arg in 1075 *=* | --config-cache | -C | -disable-* | --disable-* \ 1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1078 | -with-* | --with-* | -without-* | --without-* | --x) 1079 case "$ac_configure_args0 " in 1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1081 esac 1082 ;; 1083 -* ) ac_must_keep_next=true ;; 1084 esac 1085 fi 1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1087 # Get rid of the leading space. 1088 ac_sep=" " 1089 ;; 1090 esac 1091 done 1092done 1093$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1094$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1095 1096# When interrupted or exit'd, cleanup temporary files, and complete 1097# config.log. We remove comments because anyway the quotes in there 1098# would cause problems or look ugly. 1099# WARNING: Be sure not to use single quotes in there, as some shells, 1100# such as our DU 5.0 friend, will then `close' the trap. 1101trap 'exit_status=$? 1102 # Save into config.log some information that might help in debugging. 1103 { 1104 echo 1105 1106 cat <<\_ASBOX 1107## ---------------- ## 1108## Cache variables. ## 1109## ---------------- ## 1110_ASBOX 1111 echo 1112 # The following way of writing the cache mishandles newlines in values, 1113{ 1114 (set) 2>&1 | 1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1116 *ac_space=\ *) 1117 sed -n \ 1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1120 ;; 1121 *) 1122 sed -n \ 1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1124 ;; 1125 esac; 1126} 1127 echo 1128 1129 cat <<\_ASBOX 1130## ----------------- ## 1131## Output variables. ## 1132## ----------------- ## 1133_ASBOX 1134 echo 1135 for ac_var in $ac_subst_vars 1136 do 1137 eval ac_val=$`echo $ac_var` 1138 echo "$ac_var='"'"'$ac_val'"'"'" 1139 done | sort 1140 echo 1141 1142 if test -n "$ac_subst_files"; then 1143 cat <<\_ASBOX 1144## ------------- ## 1145## Output files. ## 1146## ------------- ## 1147_ASBOX 1148 echo 1149 for ac_var in $ac_subst_files 1150 do 1151 eval ac_val=$`echo $ac_var` 1152 echo "$ac_var='"'"'$ac_val'"'"'" 1153 done | sort 1154 echo 1155 fi 1156 1157 if test -s confdefs.h; then 1158 cat <<\_ASBOX 1159## ----------- ## 1160## confdefs.h. ## 1161## ----------- ## 1162_ASBOX 1163 echo 1164 sed "/^$/d" confdefs.h | sort 1165 echo 1166 fi 1167 test "$ac_signal" != 0 && 1168 echo "$as_me: caught signal $ac_signal" 1169 echo "$as_me: exit $exit_status" 1170 } >&5 1171 rm -f core *.core && 1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1173 exit $exit_status 1174 ' 0 1175for ac_signal in 1 2 13 15; do 1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1177done 1178ac_signal=0 1179 1180# confdefs.h avoids OS command line length limits that DEFS can exceed. 1181rm -rf conftest* confdefs.h 1182# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1183echo >confdefs.h 1184 1185# Predefined preprocessor variables. 1186 1187cat >>confdefs.h <<_ACEOF 1188#define PACKAGE_NAME "$PACKAGE_NAME" 1189_ACEOF 1190 1191 1192cat >>confdefs.h <<_ACEOF 1193#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1194_ACEOF 1195 1196 1197cat >>confdefs.h <<_ACEOF 1198#define PACKAGE_VERSION "$PACKAGE_VERSION" 1199_ACEOF 1200 1201 1202cat >>confdefs.h <<_ACEOF 1203#define PACKAGE_STRING "$PACKAGE_STRING" 1204_ACEOF 1205 1206 1207cat >>confdefs.h <<_ACEOF 1208#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1209_ACEOF 1210 1211 1212# Let the site file select an alternate cache file if it wants to. 1213# Prefer explicitly selected file to automatically selected ones. 1214if test -z "$CONFIG_SITE"; then 1215 if test "x$prefix" != xNONE; then 1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1217 else 1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1219 fi 1220fi 1221for ac_site_file in $CONFIG_SITE; do 1222 if test -r "$ac_site_file"; then 1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1224echo "$as_me: loading site script $ac_site_file" >&6;} 1225 sed 's/^/| /' "$ac_site_file" >&5 1226 . "$ac_site_file" 1227 fi 1228done 1229 1230if test -r "$cache_file"; then 1231 # Some versions of bash will fail to source /dev/null (special 1232 # files actually), so we avoid doing that. 1233 if test -f "$cache_file"; then 1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1235echo "$as_me: loading cache $cache_file" >&6;} 1236 case $cache_file in 1237 [\\/]* | ?:[\\/]* ) . $cache_file;; 1238 *) . ./$cache_file;; 1239 esac 1240 fi 1241else 1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1243echo "$as_me: creating cache $cache_file" >&6;} 1244 >$cache_file 1245fi 1246 1247# Check that the precious variables saved in the cache have kept the same 1248# value. 1249ac_cache_corrupted=false 1250for ac_var in `(set) 2>&1 | 1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1253 eval ac_new_set=\$ac_env_${ac_var}_set 1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1255 eval ac_new_val="\$ac_env_${ac_var}_value" 1256 case $ac_old_set,$ac_new_set in 1257 set,) 1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1259echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1260 ac_cache_corrupted=: ;; 1261 ,set) 1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1263echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1264 ac_cache_corrupted=: ;; 1265 ,);; 1266 *) 1267 if test "x$ac_old_val" != "x$ac_new_val"; then 1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1269echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1271echo "$as_me: former value: $ac_old_val" >&2;} 1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1273echo "$as_me: current value: $ac_new_val" >&2;} 1274 ac_cache_corrupted=: 1275 fi;; 1276 esac 1277 # Pass precious variables to config.status. 1278 if test "$ac_new_set" = set; then 1279 case $ac_new_val in 1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1282 *) ac_arg=$ac_var=$ac_new_val ;; 1283 esac 1284 case " $ac_configure_args " in 1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1287 esac 1288 fi 1289done 1290if $ac_cache_corrupted; then 1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1292echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1294echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1295 { (exit 1); exit 1; }; } 1296fi 1297 1298ac_ext=c 1299ac_cpp='$CPP $CPPFLAGS' 1300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1302ac_compiler_gnu=$ac_cv_c_compiler_gnu 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 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=spamprobe 1629 VERSION=1.4d 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 2863ac_ext=cc 2864ac_cpp='$CXXCPP $CPPFLAGS' 2865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2868if test -n "$ac_tool_prefix"; then 2869 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2870 do 2871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2872set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2873echo "$as_me:$LINENO: checking for $ac_word" >&5 2874echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2875if test "${ac_cv_prog_CXX+set}" = set; then 2876 echo $ECHO_N "(cached) $ECHO_C" >&6 2877else 2878 if test -n "$CXX"; then 2879 ac_cv_prog_CXX="$CXX" # Let the user override the test. 2880else 2881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2882for as_dir in $PATH 2883do 2884 IFS=$as_save_IFS 2885 test -z "$as_dir" && as_dir=. 2886 for ac_exec_ext in '' $ac_executable_extensions; do 2887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2888 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2890 break 2 2891 fi 2892done 2893done 2894 2895fi 2896fi 2897CXX=$ac_cv_prog_CXX 2898if test -n "$CXX"; then 2899 echo "$as_me:$LINENO: result: $CXX" >&5 2900echo "${ECHO_T}$CXX" >&6 2901else 2902 echo "$as_me:$LINENO: result: no" >&5 2903echo "${ECHO_T}no" >&6 2904fi 2905 2906 test -n "$CXX" && break 2907 done 2908fi 2909if test -z "$CXX"; then 2910 ac_ct_CXX=$CXX 2911 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2912do 2913 # Extract the first word of "$ac_prog", so it can be a program name with args. 2914set dummy $ac_prog; ac_word=$2 2915echo "$as_me:$LINENO: checking for $ac_word" >&5 2916echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2917if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2918 echo $ECHO_N "(cached) $ECHO_C" >&6 2919else 2920 if test -n "$ac_ct_CXX"; then 2921 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2922else 2923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2924for as_dir in $PATH 2925do 2926 IFS=$as_save_IFS 2927 test -z "$as_dir" && as_dir=. 2928 for ac_exec_ext in '' $ac_executable_extensions; do 2929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2930 ac_cv_prog_ac_ct_CXX="$ac_prog" 2931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2932 break 2 2933 fi 2934done 2935done 2936 2937fi 2938fi 2939ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2940if test -n "$ac_ct_CXX"; then 2941 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2942echo "${ECHO_T}$ac_ct_CXX" >&6 2943else 2944 echo "$as_me:$LINENO: result: no" >&5 2945echo "${ECHO_T}no" >&6 2946fi 2947 2948 test -n "$ac_ct_CXX" && break 2949done 2950test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2951 2952 CXX=$ac_ct_CXX 2953fi 2954 2955 2956# Provide some information about the compiler. 2957echo "$as_me:$LINENO:" \ 2958 "checking for C++ compiler version" >&5 2959ac_compiler=`set X $ac_compile; echo $2` 2960{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2961 (eval $ac_compiler --version </dev/null >&5) 2>&5 2962 ac_status=$? 2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2964 (exit $ac_status); } 2965{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2966 (eval $ac_compiler -v </dev/null >&5) 2>&5 2967 ac_status=$? 2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2969 (exit $ac_status); } 2970{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2971 (eval $ac_compiler -V </dev/null >&5) 2>&5 2972 ac_status=$? 2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2974 (exit $ac_status); } 2975 2976echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2977echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2978if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2979 echo $ECHO_N "(cached) $ECHO_C" >&6 2980else 2981 cat >conftest.$ac_ext <<_ACEOF 2982/* confdefs.h. */ 2983_ACEOF 2984cat confdefs.h >>conftest.$ac_ext 2985cat >>conftest.$ac_ext <<_ACEOF 2986/* end confdefs.h. */ 2987 2988int 2989main () 2990{ 2991#ifndef __GNUC__ 2992 choke me 2993#endif 2994 2995 ; 2996 return 0; 2997} 2998_ACEOF 2999rm -f conftest.$ac_objext 3000if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3001 (eval $ac_compile) 2>conftest.er1 3002 ac_status=$? 3003 grep -v '^ *+' conftest.er1 >conftest.err 3004 rm -f conftest.er1 3005 cat conftest.err >&5 3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3007 (exit $ac_status); } && 3008 { ac_try='test -z "$ac_cxx_werror_flag" 3009 || test ! -s conftest.err' 3010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3011 (eval $ac_try) 2>&5 3012 ac_status=$? 3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3014 (exit $ac_status); }; } && 3015 { ac_try='test -s conftest.$ac_objext' 3016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3017 (eval $ac_try) 2>&5 3018 ac_status=$? 3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3020 (exit $ac_status); }; }; then 3021 ac_compiler_gnu=yes 3022else 3023 echo "$as_me: failed program was:" >&5 3024sed 's/^/| /' conftest.$ac_ext >&5 3025 3026ac_compiler_gnu=no 3027fi 3028rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3029ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3030 3031fi 3032echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3033echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3034GXX=`test $ac_compiler_gnu = yes && echo yes` 3035ac_test_CXXFLAGS=${CXXFLAGS+set} 3036ac_save_CXXFLAGS=$CXXFLAGS 3037CXXFLAGS="-g" 3038echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3039echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3040if test "${ac_cv_prog_cxx_g+set}" = set; then 3041 echo $ECHO_N "(cached) $ECHO_C" >&6 3042else 3043 cat >conftest.$ac_ext <<_ACEOF 3044/* confdefs.h. */ 3045_ACEOF 3046cat confdefs.h >>conftest.$ac_ext 3047cat >>conftest.$ac_ext <<_ACEOF 3048/* end confdefs.h. */ 3049 3050int 3051main () 3052{ 3053 3054 ; 3055 return 0; 3056} 3057_ACEOF 3058rm -f conftest.$ac_objext 3059if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3060 (eval $ac_compile) 2>conftest.er1 3061 ac_status=$? 3062 grep -v '^ *+' conftest.er1 >conftest.err 3063 rm -f conftest.er1 3064 cat conftest.err >&5 3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3066 (exit $ac_status); } && 3067 { ac_try='test -z "$ac_cxx_werror_flag" 3068 || test ! -s conftest.err' 3069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3070 (eval $ac_try) 2>&5 3071 ac_status=$? 3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3073 (exit $ac_status); }; } && 3074 { ac_try='test -s conftest.$ac_objext' 3075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3076 (eval $ac_try) 2>&5 3077 ac_status=$? 3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3079 (exit $ac_status); }; }; then 3080 ac_cv_prog_cxx_g=yes 3081else 3082 echo "$as_me: failed program was:" >&5 3083sed 's/^/| /' conftest.$ac_ext >&5 3084 3085ac_cv_prog_cxx_g=no 3086fi 3087rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3088fi 3089echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3090echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3091if test "$ac_test_CXXFLAGS" = set; then 3092 CXXFLAGS=$ac_save_CXXFLAGS 3093elif test $ac_cv_prog_cxx_g = yes; then 3094 if test "$GXX" = yes; then 3095 CXXFLAGS="-g -O2" 3096 else 3097 CXXFLAGS="-g" 3098 fi 3099else 3100 if test "$GXX" = yes; then 3101 CXXFLAGS="-O2" 3102 else 3103 CXXFLAGS= 3104 fi 3105fi 3106for ac_declaration in \ 3107 '' \ 3108 'extern "C" void std::exit (int) throw (); using std::exit;' \ 3109 'extern "C" void std::exit (int); using std::exit;' \ 3110 'extern "C" void exit (int) throw ();' \ 3111 'extern "C" void exit (int);' \ 3112 'void exit (int);' 3113do 3114 cat >conftest.$ac_ext <<_ACEOF 3115/* confdefs.h. */ 3116_ACEOF 3117cat confdefs.h >>conftest.$ac_ext 3118cat >>conftest.$ac_ext <<_ACEOF 3119/* end confdefs.h. */ 3120$ac_declaration 3121#include <stdlib.h> 3122int 3123main () 3124{ 3125exit (42); 3126 ; 3127 return 0; 3128} 3129_ACEOF 3130rm -f conftest.$ac_objext 3131if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3132 (eval $ac_compile) 2>conftest.er1 3133 ac_status=$? 3134 grep -v '^ *+' conftest.er1 >conftest.err 3135 rm -f conftest.er1 3136 cat conftest.err >&5 3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3138 (exit $ac_status); } && 3139 { ac_try='test -z "$ac_cxx_werror_flag" 3140 || test ! -s conftest.err' 3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3142 (eval $ac_try) 2>&5 3143 ac_status=$? 3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3145 (exit $ac_status); }; } && 3146 { ac_try='test -s conftest.$ac_objext' 3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3148 (eval $ac_try) 2>&5 3149 ac_status=$? 3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3151 (exit $ac_status); }; }; then 3152 : 3153else 3154 echo "$as_me: failed program was:" >&5 3155sed 's/^/| /' conftest.$ac_ext >&5 3156 3157continue 3158fi 3159rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3160 cat >conftest.$ac_ext <<_ACEOF 3161/* confdefs.h. */ 3162_ACEOF 3163cat confdefs.h >>conftest.$ac_ext 3164cat >>conftest.$ac_ext <<_ACEOF 3165/* end confdefs.h. */ 3166$ac_declaration 3167int 3168main () 3169{ 3170exit (42); 3171 ; 3172 return 0; 3173} 3174_ACEOF 3175rm -f conftest.$ac_objext 3176if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3177 (eval $ac_compile) 2>conftest.er1 3178 ac_status=$? 3179 grep -v '^ *+' conftest.er1 >conftest.err 3180 rm -f conftest.er1 3181 cat conftest.err >&5 3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3183 (exit $ac_status); } && 3184 { ac_try='test -z "$ac_cxx_werror_flag" 3185 || test ! -s conftest.err' 3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3187 (eval $ac_try) 2>&5 3188 ac_status=$? 3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3190 (exit $ac_status); }; } && 3191 { ac_try='test -s conftest.$ac_objext' 3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3193 (eval $ac_try) 2>&5 3194 ac_status=$? 3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); }; }; then 3197 break 3198else 3199 echo "$as_me: failed program was:" >&5 3200sed 's/^/| /' conftest.$ac_ext >&5 3201 3202fi 3203rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3204done 3205rm -f conftest* 3206if test -n "$ac_declaration"; then 3207 echo '#ifdef __cplusplus' >>confdefs.h 3208 echo $ac_declaration >>confdefs.h 3209 echo '#endif' >>confdefs.h 3210fi 3211 3212ac_ext=c 3213ac_cpp='$CPP $CPPFLAGS' 3214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3216ac_compiler_gnu=$ac_cv_c_compiler_gnu 3217 3218depcc="$CXX" am_compiler_list= 3219 3220echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3221echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3222if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 3223 echo $ECHO_N "(cached) $ECHO_C" >&6 3224else 3225 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3226 # We make a subdir and do the tests there. Otherwise we can end up 3227 # making bogus files that we don't know about and never remove. For 3228 # instance it was reported that on HP-UX the gcc test will end up 3229 # making a dummy file named `D' -- because `-MD' means `put the output 3230 # in D'. 3231 mkdir conftest.dir 3232 # Copy depcomp to subdir because otherwise we won't find it if we're 3233 # using a relative directory. 3234 cp "$am_depcomp" conftest.dir 3235 cd conftest.dir 3236 # We will build objects and dependencies in a subdirectory because 3237 # it helps to detect inapplicable dependency modes. For instance 3238 # both Tru64's cc and ICC support -MD to output dependencies as a 3239 # side effect of compilation, but ICC will put the dependencies in 3240 # the current directory while Tru64 will put them in the object 3241 # directory. 3242 mkdir sub 3243 3244 am_cv_CXX_dependencies_compiler_type=none 3245 if test "$am_compiler_list" = ""; then 3246 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3247 fi 3248 for depmode in $am_compiler_list; do 3249 # Setup a source with many dependencies, because some compilers 3250 # like to wrap large dependency lists on column 80 (with \), and 3251 # we should not choose a depcomp mode which is confused by this. 3252 # 3253 # We need to recreate these files for each test, as the compiler may 3254 # overwrite some of them when testing with obscure command lines. 3255 # This happens at least with the AIX C compiler. 3256 : > sub/conftest.c 3257 for i in 1 2 3 4 5 6; do 3258 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3259 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3260 # Solaris 8's {/usr,}/bin/sh. 3261 touch sub/conftst$i.h 3262 done 3263 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3264 3265 case $depmode in 3266 nosideeffect) 3267 # after this tag, mechanisms are not by side-effect, so they'll 3268 # only be used when explicitly requested 3269 if test "x$enable_dependency_tracking" = xyes; then 3270 continue 3271 else 3272 break 3273 fi 3274 ;; 3275 none) break ;; 3276 esac 3277 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3278 # mode. It turns out that the SunPro C++ compiler does not properly 3279 # handle `-M -o', and we need to detect this. 3280 if depmode=$depmode \ 3281 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3282 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3283 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3284 >/dev/null 2>conftest.err && 3285 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3286 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3287 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3288 # icc doesn't choke on unknown options, it will just issue warnings 3289 # or remarks (even with -Werror). So we grep stderr for any message 3290 # that says an option was ignored or not supported. 3291 # When given -MP, icc 7.0 and 7.1 complain thusly: 3292 # icc: Command line warning: ignoring option '-M'; no argument required 3293 # The diagnosis changed in icc 8.0: 3294 # icc: Command line remark: option '-MP' not supported 3295 if (grep 'ignoring option' conftest.err || 3296 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3297 am_cv_CXX_dependencies_compiler_type=$depmode 3298 break 3299 fi 3300 fi 3301 done 3302 3303 cd .. 3304 rm -rf conftest.dir 3305else 3306 am_cv_CXX_dependencies_compiler_type=none 3307fi 3308 3309fi 3310echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 3311echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 3312CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3313 3314 3315 3316if 3317 test "x$enable_dependency_tracking" != xno \ 3318 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3319 am__fastdepCXX_TRUE= 3320 am__fastdepCXX_FALSE='#' 3321else 3322 am__fastdepCXX_TRUE='#' 3323 am__fastdepCXX_FALSE= 3324fi 3325 3326 3327if test -n "$ac_tool_prefix"; then 3328 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3329set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3330echo "$as_me:$LINENO: checking for $ac_word" >&5 3331echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3332if test "${ac_cv_prog_RANLIB+set}" = set; then 3333 echo $ECHO_N "(cached) $ECHO_C" >&6 3334else 3335 if test -n "$RANLIB"; then 3336 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3337else 3338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3339for as_dir in $PATH 3340do 3341 IFS=$as_save_IFS 3342 test -z "$as_dir" && as_dir=. 3343 for ac_exec_ext in '' $ac_executable_extensions; do 3344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3345 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3347 break 2 3348 fi 3349done 3350done 3351 3352fi 3353fi 3354RANLIB=$ac_cv_prog_RANLIB 3355if test -n "$RANLIB"; then 3356 echo "$as_me:$LINENO: result: $RANLIB" >&5 3357echo "${ECHO_T}$RANLIB" >&6 3358else 3359 echo "$as_me:$LINENO: result: no" >&5 3360echo "${ECHO_T}no" >&6 3361fi 3362 3363fi 3364if test -z "$ac_cv_prog_RANLIB"; then 3365 ac_ct_RANLIB=$RANLIB 3366 # Extract the first word of "ranlib", so it can be a program name with args. 3367set dummy ranlib; ac_word=$2 3368echo "$as_me:$LINENO: checking for $ac_word" >&5 3369echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3370if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3371 echo $ECHO_N "(cached) $ECHO_C" >&6 3372else 3373 if test -n "$ac_ct_RANLIB"; then 3374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3375else 3376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3377for as_dir in $PATH 3378do 3379 IFS=$as_save_IFS 3380 test -z "$as_dir" && as_dir=. 3381 for ac_exec_ext in '' $ac_executable_extensions; do 3382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3383 ac_cv_prog_ac_ct_RANLIB="ranlib" 3384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3385 break 2 3386 fi 3387done 3388done 3389 3390 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3391fi 3392fi 3393ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3394if test -n "$ac_ct_RANLIB"; then 3395 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3396echo "${ECHO_T}$ac_ct_RANLIB" >&6 3397else 3398 echo "$as_me:$LINENO: result: no" >&5 3399echo "${ECHO_T}no" >&6 3400fi 3401 3402 RANLIB=$ac_ct_RANLIB 3403else 3404 RANLIB="$ac_cv_prog_RANLIB" 3405fi 3406 3407 3408 3409ac_ext=c 3410ac_cpp='$CPP $CPPFLAGS' 3411ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3412ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3413ac_compiler_gnu=$ac_cv_c_compiler_gnu 3414echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3415echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3416# On Suns, sometimes $CPP names a directory. 3417if test -n "$CPP" && test -d "$CPP"; then 3418 CPP= 3419fi 3420if test -z "$CPP"; then 3421 if test "${ac_cv_prog_CPP+set}" = set; then 3422 echo $ECHO_N "(cached) $ECHO_C" >&6 3423else 3424 # Double quotes because CPP needs to be expanded 3425 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3426 do 3427 ac_preproc_ok=false 3428for ac_c_preproc_warn_flag in '' yes 3429do 3430 # Use a header file that comes with gcc, so configuring glibc 3431 # with a fresh cross-compiler works. 3432 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3433 # <limits.h> exists even on freestanding compilers. 3434 # On the NeXT, cc -E runs the code through the compiler's parser, 3435 # not just through cpp. "Syntax error" is here to catch this case. 3436 cat >conftest.$ac_ext <<_ACEOF 3437/* confdefs.h. */ 3438_ACEOF 3439cat confdefs.h >>conftest.$ac_ext 3440cat >>conftest.$ac_ext <<_ACEOF 3441/* end confdefs.h. */ 3442#ifdef __STDC__ 3443# include <limits.h> 3444#else 3445# include <assert.h> 3446#endif 3447 Syntax error 3448_ACEOF 3449if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3450 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3451 ac_status=$? 3452 grep -v '^ *+' conftest.er1 >conftest.err 3453 rm -f conftest.er1 3454 cat conftest.err >&5 3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3456 (exit $ac_status); } >/dev/null; then 3457 if test -s conftest.err; then 3458 ac_cpp_err=$ac_c_preproc_warn_flag 3459 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3460 else 3461 ac_cpp_err= 3462 fi 3463else 3464 ac_cpp_err=yes 3465fi 3466if test -z "$ac_cpp_err"; then 3467 : 3468else 3469 echo "$as_me: failed program was:" >&5 3470sed 's/^/| /' conftest.$ac_ext >&5 3471 3472 # Broken: fails on valid input. 3473continue 3474fi 3475rm -f conftest.err conftest.$ac_ext 3476 3477 # OK, works on sane cases. Now check whether non-existent headers 3478 # can be detected and how. 3479 cat >conftest.$ac_ext <<_ACEOF 3480/* confdefs.h. */ 3481_ACEOF 3482cat confdefs.h >>conftest.$ac_ext 3483cat >>conftest.$ac_ext <<_ACEOF 3484/* end confdefs.h. */ 3485#include <ac_nonexistent.h> 3486_ACEOF 3487if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3488 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3489 ac_status=$? 3490 grep -v '^ *+' conftest.er1 >conftest.err 3491 rm -f conftest.er1 3492 cat conftest.err >&5 3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3494 (exit $ac_status); } >/dev/null; then 3495 if test -s conftest.err; then 3496 ac_cpp_err=$ac_c_preproc_warn_flag 3497 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3498 else 3499 ac_cpp_err= 3500 fi 3501else 3502 ac_cpp_err=yes 3503fi 3504if test -z "$ac_cpp_err"; then 3505 # Broken: success on invalid input. 3506continue 3507else 3508 echo "$as_me: failed program was:" >&5 3509sed 's/^/| /' conftest.$ac_ext >&5 3510 3511 # Passes both tests. 3512ac_preproc_ok=: 3513break 3514fi 3515rm -f conftest.err conftest.$ac_ext 3516 3517done 3518# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3519rm -f conftest.err conftest.$ac_ext 3520if $ac_preproc_ok; then 3521 break 3522fi 3523 3524 done 3525 ac_cv_prog_CPP=$CPP 3526 3527fi 3528 CPP=$ac_cv_prog_CPP 3529else 3530 ac_cv_prog_CPP=$CPP 3531fi 3532echo "$as_me:$LINENO: result: $CPP" >&5 3533echo "${ECHO_T}$CPP" >&6 3534ac_preproc_ok=false 3535for ac_c_preproc_warn_flag in '' yes 3536do 3537 # Use a header file that comes with gcc, so configuring glibc 3538 # with a fresh cross-compiler works. 3539 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3540 # <limits.h> exists even on freestanding compilers. 3541 # On the NeXT, cc -E runs the code through the compiler's parser, 3542 # not just through cpp. "Syntax error" is here to catch this case. 3543 cat >conftest.$ac_ext <<_ACEOF 3544/* confdefs.h. */ 3545_ACEOF 3546cat confdefs.h >>conftest.$ac_ext 3547cat >>conftest.$ac_ext <<_ACEOF 3548/* end confdefs.h. */ 3549#ifdef __STDC__ 3550# include <limits.h> 3551#else 3552# include <assert.h> 3553#endif 3554 Syntax error 3555_ACEOF 3556if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3558 ac_status=$? 3559 grep -v '^ *+' conftest.er1 >conftest.err 3560 rm -f conftest.er1 3561 cat conftest.err >&5 3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3563 (exit $ac_status); } >/dev/null; then 3564 if test -s conftest.err; then 3565 ac_cpp_err=$ac_c_preproc_warn_flag 3566 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3567 else 3568 ac_cpp_err= 3569 fi 3570else 3571 ac_cpp_err=yes 3572fi 3573if test -z "$ac_cpp_err"; then 3574 : 3575else 3576 echo "$as_me: failed program was:" >&5 3577sed 's/^/| /' conftest.$ac_ext >&5 3578 3579 # Broken: fails on valid input. 3580continue 3581fi 3582rm -f conftest.err conftest.$ac_ext 3583 3584 # OK, works on sane cases. Now check whether non-existent headers 3585 # can be detected and how. 3586 cat >conftest.$ac_ext <<_ACEOF 3587/* confdefs.h. */ 3588_ACEOF 3589cat confdefs.h >>conftest.$ac_ext 3590cat >>conftest.$ac_ext <<_ACEOF 3591/* end confdefs.h. */ 3592#include <ac_nonexistent.h> 3593_ACEOF 3594if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3596 ac_status=$? 3597 grep -v '^ *+' conftest.er1 >conftest.err 3598 rm -f conftest.er1 3599 cat conftest.err >&5 3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3601 (exit $ac_status); } >/dev/null; then 3602 if test -s conftest.err; then 3603 ac_cpp_err=$ac_c_preproc_warn_flag 3604 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3605 else 3606 ac_cpp_err= 3607 fi 3608else 3609 ac_cpp_err=yes 3610fi 3611if test -z "$ac_cpp_err"; then 3612 # Broken: success on invalid input. 3613continue 3614else 3615 echo "$as_me: failed program was:" >&5 3616sed 's/^/| /' conftest.$ac_ext >&5 3617 3618 # Passes both tests. 3619ac_preproc_ok=: 3620break 3621fi 3622rm -f conftest.err conftest.$ac_ext 3623 3624done 3625# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3626rm -f conftest.err conftest.$ac_ext 3627if $ac_preproc_ok; then 3628 : 3629else 3630 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3631See \`config.log' for more details." >&5 3632echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3633See \`config.log' for more details." >&2;} 3634 { (exit 1); exit 1; }; } 3635fi 3636 3637ac_ext=c 3638ac_cpp='$CPP $CPPFLAGS' 3639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3641ac_compiler_gnu=$ac_cv_c_compiler_gnu 3642 3643 3644echo "$as_me:$LINENO: checking for egrep" >&5 3645echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3646if test "${ac_cv_prog_egrep+set}" = set; then 3647 echo $ECHO_N "(cached) $ECHO_C" >&6 3648else 3649 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3650 then ac_cv_prog_egrep='grep -E' 3651 else ac_cv_prog_egrep='egrep' 3652 fi 3653fi 3654echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3655echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3656 EGREP=$ac_cv_prog_egrep 3657 3658 3659echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3660echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3661if test "${ac_cv_header_stdc+set}" = set; then 3662 echo $ECHO_N "(cached) $ECHO_C" >&6 3663else 3664 cat >conftest.$ac_ext <<_ACEOF 3665/* confdefs.h. */ 3666_ACEOF 3667cat confdefs.h >>conftest.$ac_ext 3668cat >>conftest.$ac_ext <<_ACEOF 3669/* end confdefs.h. */ 3670#include <stdlib.h> 3671#include <stdarg.h> 3672#include <string.h> 3673#include <float.h> 3674 3675int 3676main () 3677{ 3678 3679 ; 3680 return 0; 3681} 3682_ACEOF 3683rm -f conftest.$ac_objext 3684if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3685 (eval $ac_compile) 2>conftest.er1 3686 ac_status=$? 3687 grep -v '^ *+' conftest.er1 >conftest.err 3688 rm -f conftest.er1 3689 cat conftest.err >&5 3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3691 (exit $ac_status); } && 3692 { ac_try='test -z "$ac_c_werror_flag" 3693 || test ! -s conftest.err' 3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3695 (eval $ac_try) 2>&5 3696 ac_status=$? 3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3698 (exit $ac_status); }; } && 3699 { ac_try='test -s conftest.$ac_objext' 3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3701 (eval $ac_try) 2>&5 3702 ac_status=$? 3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3704 (exit $ac_status); }; }; then 3705 ac_cv_header_stdc=yes 3706else 3707 echo "$as_me: failed program was:" >&5 3708sed 's/^/| /' conftest.$ac_ext >&5 3709 3710ac_cv_header_stdc=no 3711fi 3712rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3713 3714if test $ac_cv_header_stdc = yes; then 3715 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3716 cat >conftest.$ac_ext <<_ACEOF 3717/* confdefs.h. */ 3718_ACEOF 3719cat confdefs.h >>conftest.$ac_ext 3720cat >>conftest.$ac_ext <<_ACEOF 3721/* end confdefs.h. */ 3722#include <string.h> 3723 3724_ACEOF 3725if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3726 $EGREP "memchr" >/dev/null 2>&1; then 3727 : 3728else 3729 ac_cv_header_stdc=no 3730fi 3731rm -f conftest* 3732 3733fi 3734 3735if test $ac_cv_header_stdc = yes; then 3736 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3737 cat >conftest.$ac_ext <<_ACEOF 3738/* confdefs.h. */ 3739_ACEOF 3740cat confdefs.h >>conftest.$ac_ext 3741cat >>conftest.$ac_ext <<_ACEOF 3742/* end confdefs.h. */ 3743#include <stdlib.h> 3744 3745_ACEOF 3746if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3747 $EGREP "free" >/dev/null 2>&1; then 3748 : 3749else 3750 ac_cv_header_stdc=no 3751fi 3752rm -f conftest* 3753 3754fi 3755 3756if test $ac_cv_header_stdc = yes; then 3757 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3758 if test "$cross_compiling" = yes; then 3759 : 3760else 3761 cat >conftest.$ac_ext <<_ACEOF 3762/* confdefs.h. */ 3763_ACEOF 3764cat confdefs.h >>conftest.$ac_ext 3765cat >>conftest.$ac_ext <<_ACEOF 3766/* end confdefs.h. */ 3767#include <ctype.h> 3768#if ((' ' & 0x0FF) == 0x020) 3769# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3770# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3771#else 3772# define ISLOWER(c) \ 3773 (('a' <= (c) && (c) <= 'i') \ 3774 || ('j' <= (c) && (c) <= 'r') \ 3775 || ('s' <= (c) && (c) <= 'z')) 3776# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3777#endif 3778 3779#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3780int 3781main () 3782{ 3783 int i; 3784 for (i = 0; i < 256; i++) 3785 if (XOR (islower (i), ISLOWER (i)) 3786 || toupper (i) != TOUPPER (i)) 3787 exit(2); 3788 exit (0); 3789} 3790_ACEOF 3791rm -f conftest$ac_exeext 3792if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3793 (eval $ac_link) 2>&5 3794 ac_status=$? 3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3796 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 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 : 3803else 3804 echo "$as_me: program exited with status $ac_status" >&5 3805echo "$as_me: failed program was:" >&5 3806sed 's/^/| /' conftest.$ac_ext >&5 3807 3808( exit $ac_status ) 3809ac_cv_header_stdc=no 3810fi 3811rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3812fi 3813fi 3814fi 3815echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3816echo "${ECHO_T}$ac_cv_header_stdc" >&6 3817if test $ac_cv_header_stdc = yes; then 3818 3819cat >>confdefs.h <<\_ACEOF 3820#define STDC_HEADERS 1 3821_ACEOF 3822 3823fi 3824 3825# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3836 inttypes.h stdint.h unistd.h 3837do 3838as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3839echo "$as_me:$LINENO: checking for $ac_header" >&5 3840echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3841if eval "test \"\${$as_ac_Header+set}\" = set"; then 3842 echo $ECHO_N "(cached) $ECHO_C" >&6 3843else 3844 cat >conftest.$ac_ext <<_ACEOF 3845/* confdefs.h. */ 3846_ACEOF 3847cat confdefs.h >>conftest.$ac_ext 3848cat >>conftest.$ac_ext <<_ACEOF 3849/* end confdefs.h. */ 3850$ac_includes_default 3851 3852#include <$ac_header> 3853_ACEOF 3854rm -f conftest.$ac_objext 3855if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3856 (eval $ac_compile) 2>conftest.er1 3857 ac_status=$? 3858 grep -v '^ *+' conftest.er1 >conftest.err 3859 rm -f conftest.er1 3860 cat conftest.err >&5 3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3862 (exit $ac_status); } && 3863 { ac_try='test -z "$ac_c_werror_flag" 3864 || test ! -s conftest.err' 3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3866 (eval $ac_try) 2>&5 3867 ac_status=$? 3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3869 (exit $ac_status); }; } && 3870 { ac_try='test -s conftest.$ac_objext' 3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3872 (eval $ac_try) 2>&5 3873 ac_status=$? 3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3875 (exit $ac_status); }; }; then 3876 eval "$as_ac_Header=yes" 3877else 3878 echo "$as_me: failed program was:" >&5 3879sed 's/^/| /' conftest.$ac_ext >&5 3880 3881eval "$as_ac_Header=no" 3882fi 3883rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3884fi 3885echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3886echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3887if test `eval echo '${'$as_ac_Header'}'` = yes; then 3888 cat >>confdefs.h <<_ACEOF 3889#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3890_ACEOF 3891 3892fi 3893 3894done 3895 3896 3897 3898for ac_header in unistd.h 3899do 3900as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3901if eval "test \"\${$as_ac_Header+set}\" = set"; then 3902 echo "$as_me:$LINENO: checking for $ac_header" >&5 3903echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3904if eval "test \"\${$as_ac_Header+set}\" = set"; then 3905 echo $ECHO_N "(cached) $ECHO_C" >&6 3906fi 3907echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3908echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3909else 3910 # Is the header compilable? 3911echo "$as_me:$LINENO: checking $ac_header usability" >&5 3912echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3913cat >conftest.$ac_ext <<_ACEOF 3914/* confdefs.h. */ 3915_ACEOF 3916cat confdefs.h >>conftest.$ac_ext 3917cat >>conftest.$ac_ext <<_ACEOF 3918/* end confdefs.h. */ 3919$ac_includes_default 3920#include <$ac_header> 3921_ACEOF 3922rm -f conftest.$ac_objext 3923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3924 (eval $ac_compile) 2>conftest.er1 3925 ac_status=$? 3926 grep -v '^ *+' conftest.er1 >conftest.err 3927 rm -f conftest.er1 3928 cat conftest.err >&5 3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3930 (exit $ac_status); } && 3931 { ac_try='test -z "$ac_c_werror_flag" 3932 || test ! -s conftest.err' 3933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3934 (eval $ac_try) 2>&5 3935 ac_status=$? 3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3937 (exit $ac_status); }; } && 3938 { ac_try='test -s conftest.$ac_objext' 3939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3940 (eval $ac_try) 2>&5 3941 ac_status=$? 3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3943 (exit $ac_status); }; }; then 3944 ac_header_compiler=yes 3945else 3946 echo "$as_me: failed program was:" >&5 3947sed 's/^/| /' conftest.$ac_ext >&5 3948 3949ac_header_compiler=no 3950fi 3951rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3952echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3953echo "${ECHO_T}$ac_header_compiler" >&6 3954 3955# Is the header present? 3956echo "$as_me:$LINENO: checking $ac_header presence" >&5 3957echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3958cat >conftest.$ac_ext <<_ACEOF 3959/* confdefs.h. */ 3960_ACEOF 3961cat confdefs.h >>conftest.$ac_ext 3962cat >>conftest.$ac_ext <<_ACEOF 3963/* end confdefs.h. */ 3964#include <$ac_header> 3965_ACEOF 3966if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3968 ac_status=$? 3969 grep -v '^ *+' conftest.er1 >conftest.err 3970 rm -f conftest.er1 3971 cat conftest.err >&5 3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3973 (exit $ac_status); } >/dev/null; then 3974 if test -s conftest.err; then 3975 ac_cpp_err=$ac_c_preproc_warn_flag 3976 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3977 else 3978 ac_cpp_err= 3979 fi 3980else 3981 ac_cpp_err=yes 3982fi 3983if test -z "$ac_cpp_err"; then 3984 ac_header_preproc=yes 3985else 3986 echo "$as_me: failed program was:" >&5 3987sed 's/^/| /' conftest.$ac_ext >&5 3988 3989 ac_header_preproc=no 3990fi 3991rm -f conftest.err conftest.$ac_ext 3992echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3993echo "${ECHO_T}$ac_header_preproc" >&6 3994 3995# So? What about this header? 3996case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3997 yes:no: ) 3998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3999echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4001echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4002 ac_header_preproc=yes 4003 ;; 4004 no:yes:* ) 4005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4006echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4008echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4010echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4012echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4014echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4016echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4017 ( 4018 cat <<\_ASBOX 4019## ------------------------------------------ ## 4020## Report this to the AC_PACKAGE_NAME lists. ## 4021## ------------------------------------------ ## 4022_ASBOX 4023 ) | 4024 sed "s/^/$as_me: WARNING: /" >&2 4025 ;; 4026esac 4027echo "$as_me:$LINENO: checking for $ac_header" >&5 4028echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4029if eval "test \"\${$as_ac_Header+set}\" = set"; then 4030 echo $ECHO_N "(cached) $ECHO_C" >&6 4031else 4032 eval "$as_ac_Header=\$ac_header_preproc" 4033fi 4034echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4035echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4036 4037fi 4038if test `eval echo '${'$as_ac_Header'}'` = yes; then 4039 cat >>confdefs.h <<_ACEOF 4040#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4041_ACEOF 4042 4043fi 4044 4045done 4046 4047 4048for ac_header in dirent.h 4049do 4050as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4051if eval "test \"\${$as_ac_Header+set}\" = set"; then 4052 echo "$as_me:$LINENO: checking for $ac_header" >&5 4053echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4054if eval "test \"\${$as_ac_Header+set}\" = set"; then 4055 echo $ECHO_N "(cached) $ECHO_C" >&6 4056fi 4057echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4058echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4059else 4060 # Is the header compilable? 4061echo "$as_me:$LINENO: checking $ac_header usability" >&5 4062echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4063cat >conftest.$ac_ext <<_ACEOF 4064/* confdefs.h. */ 4065_ACEOF 4066cat confdefs.h >>conftest.$ac_ext 4067cat >>conftest.$ac_ext <<_ACEOF 4068/* end confdefs.h. */ 4069$ac_includes_default 4070#include <$ac_header> 4071_ACEOF 4072rm -f conftest.$ac_objext 4073if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4074 (eval $ac_compile) 2>conftest.er1 4075 ac_status=$? 4076 grep -v '^ *+' conftest.er1 >conftest.err 4077 rm -f conftest.er1 4078 cat conftest.err >&5 4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4080 (exit $ac_status); } && 4081 { ac_try='test -z "$ac_c_werror_flag" 4082 || test ! -s conftest.err' 4083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4084 (eval $ac_try) 2>&5 4085 ac_status=$? 4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4087 (exit $ac_status); }; } && 4088 { ac_try='test -s conftest.$ac_objext' 4089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4090 (eval $ac_try) 2>&5 4091 ac_status=$? 4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4093 (exit $ac_status); }; }; then 4094 ac_header_compiler=yes 4095else 4096 echo "$as_me: failed program was:" >&5 4097sed 's/^/| /' conftest.$ac_ext >&5 4098 4099ac_header_compiler=no 4100fi 4101rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4102echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4103echo "${ECHO_T}$ac_header_compiler" >&6 4104 4105# Is the header present? 4106echo "$as_me:$LINENO: checking $ac_header presence" >&5 4107echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4108cat >conftest.$ac_ext <<_ACEOF 4109/* confdefs.h. */ 4110_ACEOF 4111cat confdefs.h >>conftest.$ac_ext 4112cat >>conftest.$ac_ext <<_ACEOF 4113/* end confdefs.h. */ 4114#include <$ac_header> 4115_ACEOF 4116if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4118 ac_status=$? 4119 grep -v '^ *+' conftest.er1 >conftest.err 4120 rm -f conftest.er1 4121 cat conftest.err >&5 4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4123 (exit $ac_status); } >/dev/null; then 4124 if test -s conftest.err; then 4125 ac_cpp_err=$ac_c_preproc_warn_flag 4126 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4127 else 4128 ac_cpp_err= 4129 fi 4130else 4131 ac_cpp_err=yes 4132fi 4133if test -z "$ac_cpp_err"; then 4134 ac_header_preproc=yes 4135else 4136 echo "$as_me: failed program was:" >&5 4137sed 's/^/| /' conftest.$ac_ext >&5 4138 4139 ac_header_preproc=no 4140fi 4141rm -f conftest.err conftest.$ac_ext 4142echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4143echo "${ECHO_T}$ac_header_preproc" >&6 4144 4145# So? What about this header? 4146case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4147 yes:no: ) 4148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4149echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4151echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4152 ac_header_preproc=yes 4153 ;; 4154 no:yes:* ) 4155 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4156echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4157 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4158echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4159 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4160echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4161 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4162echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4164echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4165 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4166echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4167 ( 4168 cat <<\_ASBOX 4169## ------------------------------------------ ## 4170## Report this to the AC_PACKAGE_NAME lists. ## 4171## ------------------------------------------ ## 4172_ASBOX 4173 ) | 4174 sed "s/^/$as_me: WARNING: /" >&2 4175 ;; 4176esac 4177echo "$as_me:$LINENO: checking for $ac_header" >&5 4178echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4179if eval "test \"\${$as_ac_Header+set}\" = set"; then 4180 echo $ECHO_N "(cached) $ECHO_C" >&6 4181else 4182 eval "$as_ac_Header=\$ac_header_preproc" 4183fi 4184echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4185echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4186 4187fi 4188if test `eval echo '${'$as_ac_Header'}'` = yes; then 4189 cat >>confdefs.h <<_ACEOF 4190#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4191_ACEOF 4192 4193fi 4194 4195done 4196 4197 4198cat >conftest.$ac_ext <<_ACEOF 4199/* confdefs.h. */ 4200_ACEOF 4201cat confdefs.h >>conftest.$ac_ext 4202cat >>conftest.$ac_ext <<_ACEOF 4203/* end confdefs.h. */ 4204#include <regex.h> 4205 4206_ACEOF 4207if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4208 $EGREP "regcomp" >/dev/null 2>&1; then 4209 cat >>confdefs.h <<\_ACEOF 4210#define HAVE_REGEX_H 1 4211_ACEOF 4212 4213else 4214 { { echo "$as_me:$LINENO: error: POSIX regcomp() function not available" >&5 4215echo "$as_me: error: POSIX regcomp() function not available" >&2;} 4216 { (exit 1); exit 1; }; } 4217fi 4218rm -f conftest* 4219 4220 4221# Check whether --enable-default-8bit or --disable-default-8bit was given. 4222if test "${enable_default_8bit+set}" = set; then 4223 enableval="$enable_default_8bit" 4224 cat >>confdefs.h <<\_ACEOF 4225#define USE_8BIT 1 4226_ACEOF 4227 4228fi; 4229 4230# Check whether --enable-cdb or --disable-cdb was given. 4231if test "${enable_cdb+set}" = set; then 4232 enableval="$enable_cdb" 4233 cat >>confdefs.h <<\_ACEOF 4234#define USE_CDB 1 4235_ACEOF 4236 4237fi; 4238 4239want_assert=0 4240 4241# Check whether --with-assert or --without-assert was given. 4242if test "${with_assert+set}" = set; then 4243 withval="$with_assert" 4244 4245 if test "x$withval" != "xno" ; then 4246 want_assert=1 4247 fi 4248 4249 4250fi; 4251if test $want_assert != 1 ; then 4252 CPPFLAGS="-DNDEBUG $CPPFLAGS" 4253fi 4254 4255# Check whether --enable-no-deprecated or --disable-no-deprecated was given. 4256if test "${enable_no_deprecated+set}" = set; then 4257 enableval="$enable_no_deprecated" 4258 CXXFLAGS="-Wno-deprecated $CXXFLAGS" 4259fi; 4260 4261# Check whether --enable-big-endian or --disable-big-endian was given. 4262if test "${enable_big_endian+set}" = set; then 4263 enableval="$enable_big_endian" 4264 cat >>confdefs.h <<\_ACEOF 4265#define FORCE_NETWORK_ORDER 1 4266_ACEOF 4267 4268fi; 4269 4270have_database=0 4271 4272 4273# Check whether --with-pbl or --without-pbl was given. 4274if test "${with_pbl+set}" = set; then 4275 withval="$with_pbl" 4276 4277 if test "x$withval" != "xno" ; then 4278 if test -d "$withval/lib"; then 4279 LDFLAGS="-L${withval}/lib $LDFLAGS" 4280 else 4281 LDFLAGS="-L${withval} $LDFLAGS" 4282 fi 4283 if test -d "$withval/include"; then 4284 CPPFLAGS="-I${withval}/include $CPPFLAGS" 4285 else 4286 CPPFLAGS="-I${withval} $CPPFLAGS" 4287 fi 4288 echo "$as_me:$LINENO: checking for pblIsamCommit in -lpbl" >&5 4289echo $ECHO_N "checking for pblIsamCommit in -lpbl... $ECHO_C" >&6 4290if test "${ac_cv_lib_pbl_pblIsamCommit+set}" = set; then 4291 echo $ECHO_N "(cached) $ECHO_C" >&6 4292else 4293 ac_check_lib_save_LIBS=$LIBS 4294LIBS="-lpbl $LIBS" 4295cat >conftest.$ac_ext <<_ACEOF 4296/* confdefs.h. */ 4297_ACEOF 4298cat confdefs.h >>conftest.$ac_ext 4299cat >>conftest.$ac_ext <<_ACEOF 4300/* end confdefs.h. */ 4301 4302/* Override any gcc2 internal prototype to avoid an error. */ 4303#ifdef __cplusplus 4304extern "C" 4305#endif 4306/* We use char because int might match the return type of a gcc2 4307 builtin and then its argument prototype would still apply. */ 4308char pblIsamCommit (); 4309int 4310main () 4311{ 4312pblIsamCommit (); 4313 ; 4314 return 0; 4315} 4316_ACEOF 4317rm -f conftest.$ac_objext conftest$ac_exeext 4318if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4319 (eval $ac_link) 2>conftest.er1 4320 ac_status=$? 4321 grep -v '^ *+' conftest.er1 >conftest.err 4322 rm -f conftest.er1 4323 cat conftest.err >&5 4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4325 (exit $ac_status); } && 4326 { ac_try='test -z "$ac_c_werror_flag" 4327 || test ! -s conftest.err' 4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4329 (eval $ac_try) 2>&5 4330 ac_status=$? 4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4332 (exit $ac_status); }; } && 4333 { ac_try='test -s conftest$ac_exeext' 4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4335 (eval $ac_try) 2>&5 4336 ac_status=$? 4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4338 (exit $ac_status); }; }; then 4339 ac_cv_lib_pbl_pblIsamCommit=yes 4340else 4341 echo "$as_me: failed program was:" >&5 4342sed 's/^/| /' conftest.$ac_ext >&5 4343 4344ac_cv_lib_pbl_pblIsamCommit=no 4345fi 4346rm -f conftest.err conftest.$ac_objext \ 4347 conftest$ac_exeext conftest.$ac_ext 4348LIBS=$ac_check_lib_save_LIBS 4349fi 4350echo "$as_me:$LINENO: result: $ac_cv_lib_pbl_pblIsamCommit" >&5 4351echo "${ECHO_T}$ac_cv_lib_pbl_pblIsamCommit" >&6 4352if test $ac_cv_lib_pbl_pblIsamCommit = yes; then 4353 LIBS="$LIBS -lpbl" 4354else 4355 echo "$as_me:$LINENO: checking for pblIsamClose in -lpbl" >&5 4356echo $ECHO_N "checking for pblIsamClose in -lpbl... $ECHO_C" >&6 4357if test "${ac_cv_lib_pbl_pblIsamClose+set}" = set; then 4358 echo $ECHO_N "(cached) $ECHO_C" >&6 4359else 4360 ac_check_lib_save_LIBS=$LIBS 4361LIBS="-lpbl $LIBS" 4362cat >conftest.$ac_ext <<_ACEOF 4363/* confdefs.h. */ 4364_ACEOF 4365cat confdefs.h >>conftest.$ac_ext 4366cat >>conftest.$ac_ext <<_ACEOF 4367/* end confdefs.h. */ 4368 4369/* Override any gcc2 internal prototype to avoid an error. */ 4370#ifdef __cplusplus 4371extern "C" 4372#endif 4373/* We use char because int might match the return type of a gcc2 4374 builtin and then its argument prototype would still apply. */ 4375char pblIsamClose (); 4376int 4377main () 4378{ 4379pblIsamClose (); 4380 ; 4381 return 0; 4382} 4383_ACEOF 4384rm -f conftest.$ac_objext conftest$ac_exeext 4385if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4386 (eval $ac_link) 2>conftest.er1 4387 ac_status=$? 4388 grep -v '^ *+' conftest.er1 >conftest.err 4389 rm -f conftest.er1 4390 cat conftest.err >&5 4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4392 (exit $ac_status); } && 4393 { ac_try='test -z "$ac_c_werror_flag" 4394 || test ! -s conftest.err' 4395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4396 (eval $ac_try) 2>&5 4397 ac_status=$? 4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4399 (exit $ac_status); }; } && 4400 { ac_try='test -s conftest$ac_exeext' 4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4402 (eval $ac_try) 2>&5 4403 ac_status=$? 4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4405 (exit $ac_status); }; }; then 4406 ac_cv_lib_pbl_pblIsamClose=yes 4407else 4408 echo "$as_me: failed program was:" >&5 4409sed 's/^/| /' conftest.$ac_ext >&5 4410 4411ac_cv_lib_pbl_pblIsamClose=no 4412fi 4413rm -f conftest.err conftest.$ac_objext \ 4414 conftest$ac_exeext conftest.$ac_ext 4415LIBS=$ac_check_lib_save_LIBS 4416fi 4417echo "$as_me:$LINENO: result: $ac_cv_lib_pbl_pblIsamClose" >&5 4418echo "${ECHO_T}$ac_cv_lib_pbl_pblIsamClose" >&6 4419if test $ac_cv_lib_pbl_pblIsamClose = yes; then 4420 LIBS="$LIBS -lpbl" 4421else 4422 { { echo "$as_me:$LINENO: error: No suitable PBL library found." >&5 4423echo "$as_me: error: No suitable PBL library found." >&2;} 4424 { (exit 1); exit 1; }; } 4425fi 4426 4427fi 4428 4429 cat >conftest.$ac_ext <<_ACEOF 4430/* confdefs.h. */ 4431_ACEOF 4432cat confdefs.h >>conftest.$ac_ext 4433cat >>conftest.$ac_ext <<_ACEOF 4434/* end confdefs.h. */ 4435 4436/* Override any gcc2 internal prototype to avoid an error. */ 4437#ifdef __cplusplus 4438extern "C" 4439#endif 4440/* We use char because int might match the return type of a gcc2 4441 builtin and then its argument prototype would still apply. */ 4442char pblIsamOpen (); 4443int 4444main () 4445{ 4446pblIsamOpen (); 4447 ; 4448 return 0; 4449} 4450_ACEOF 4451rm -f conftest.$ac_objext conftest$ac_exeext 4452if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4453 (eval $ac_link) 2>conftest.er1 4454 ac_status=$? 4455 grep -v '^ *+' conftest.er1 >conftest.err 4456 rm -f conftest.er1 4457 cat conftest.err >&5 4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4459 (exit $ac_status); } && 4460 { ac_try='test -z "$ac_c_werror_flag" 4461 || test ! -s conftest.err' 4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4463 (eval $ac_try) 2>&5 4464 ac_status=$? 4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4466 (exit $ac_status); }; } && 4467 { ac_try='test -s conftest$ac_exeext' 4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4469 (eval $ac_try) 2>&5 4470 ac_status=$? 4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4472 (exit $ac_status); }; }; then 4473 cat >>confdefs.h <<\_ACEOF 4474#define USE_PBL 1 4475_ACEOF 4476 have_database=1 4477else 4478 echo "$as_me: failed program was:" >&5 4479sed 's/^/| /' conftest.$ac_ext >&5 4480 4481fi 4482rm -f conftest.err conftest.$ac_objext \ 4483 conftest$ac_exeext conftest.$ac_ext 4484 fi 4485 4486 4487fi; 4488 4489if test $have_database = 0 ; then 4490 4491# Check whether --with-db or --without-db was given. 4492if test "${with_db+set}" = set; then 4493 withval="$with_db" 4494 4495 if test "x$withval" != "xno" ; then 4496 if test -d "$withval/lib"; then 4497 LDFLAGS="-L${withval}/lib $LDFLAGS" 4498 else 4499 LDFLAGS="-L${withval} $LDFLAGS" 4500 fi 4501 if test -d "$withval/include"; then 4502 CPPFLAGS="-I${withval}/include $CPPFLAGS" 4503 else 4504 CPPFLAGS="-I${withval} $CPPFLAGS" 4505 fi 4506 fi 4507 4508else 4509 4510 cat >conftest.$ac_ext <<_ACEOF 4511/* confdefs.h. */ 4512_ACEOF 4513cat confdefs.h >>conftest.$ac_ext 4514cat >>conftest.$ac_ext <<_ACEOF 4515/* end confdefs.h. */ 4516#include <db.h> 4517 4518_ACEOF 4519if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4520 $EGREP "DB_VERSION_MAJOR *3|4" >/dev/null 2>&1; then 4521 : 4522else 4523 { { echo "$as_me:$LINENO: error: No suitable BerkeleyDB db.h header file found. 4524 Use --with-db=PATH to specify the path to a version 3 or later install directory. 4525 You can download BerkeleyDB from http://www.sleepycat.com" >&5 4526echo "$as_me: error: No suitable BerkeleyDB db.h header file found. 4527 Use --with-db=PATH to specify the path to a version 3 or later install directory. 4528 You can download BerkeleyDB from http://www.sleepycat.com" >&2;} 4529 { (exit 1); exit 1; }; } 4530 4531fi 4532rm -f conftest* 4533 4534 4535 4536fi; 4537 echo "$as_me:$LINENO: checking for BerkeleyDB library" >&5 4538echo $ECHO_N "checking for BerkeleyDB library... $ECHO_C" >&6 4539if test "${dac_cv_search_BerkeleyDB+set}" = set; then 4540 echo $ECHO_N "(cached) $ECHO_C" >&6 4541else 4542 dac_save_LIBS=$LIBS 4543 dac_cv_search_BerkeleyDB=no 4544 cat >conftest.$ac_ext <<_ACEOF 4545/* confdefs.h. */ 4546_ACEOF 4547cat confdefs.h >>conftest.$ac_ext 4548cat >>conftest.$ac_ext <<_ACEOF 4549/* end confdefs.h. */ 4550#include <db.h> 4551int 4552main () 4553{ 4554DB *db; DB_ENV *dbEnv; db_create(&db, dbEnv, 0); 4555 ; 4556 return 0; 4557} 4558_ACEOF 4559 rm -f conftest.$ac_objext conftest$ac_exeext 4560if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4561 (eval $ac_link) 2>conftest.er1 4562 ac_status=$? 4563 grep -v '^ *+' conftest.er1 >conftest.err 4564 rm -f conftest.er1 4565 cat conftest.err >&5 4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4567 (exit $ac_status); } && 4568 { ac_try='test -z "$ac_c_werror_flag" 4569 || test ! -s conftest.err' 4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4571 (eval $ac_try) 2>&5 4572 ac_status=$? 4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4574 (exit $ac_status); }; } && 4575 { ac_try='test -s conftest$ac_exeext' 4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4577 (eval $ac_try) 2>&5 4578 ac_status=$? 4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4580 (exit $ac_status); }; }; then 4581 dac_cv_search_BerkeleyDB="present" 4582else 4583 echo "$as_me: failed program was:" >&5 4584sed 's/^/| /' conftest.$ac_ext >&5 4585 4586fi 4587rm -f conftest.err conftest.$ac_objext \ 4588 conftest$ac_exeext 4589 if test "$dac_cv_search_BerkeleyDB" = no; then 4590 for dac_lib in db db4 db-4 db3 db-3 ; do 4591 LIBS="-l$dac_lib $dac_save_LIBS" 4592 rm -f conftest.$ac_objext conftest$ac_exeext 4593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4594 (eval $ac_link) 2>conftest.er1 4595 ac_status=$? 4596 grep -v '^ *+' conftest.er1 >conftest.err 4597 rm -f conftest.er1 4598 cat conftest.err >&5 4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4600 (exit $ac_status); } && 4601 { ac_try='test -z "$ac_c_werror_flag" 4602 || test ! -s conftest.err' 4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4604 (eval $ac_try) 2>&5 4605 ac_status=$? 4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4607 (exit $ac_status); }; } && 4608 { ac_try='test -s conftest$ac_exeext' 4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4610 (eval $ac_try) 2>&5 4611 ac_status=$? 4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4613 (exit $ac_status); }; }; then 4614 dac_cv_search_BerkeleyDB="-l$dac_lib" break 4615else 4616 echo "$as_me: failed program was:" >&5 4617sed 's/^/| /' conftest.$ac_ext >&5 4618 4619fi 4620rm -f conftest.err conftest.$ac_objext \ 4621 conftest$ac_exeext 4622 done 4623 fi 4624 LIBS=$dac_save_LIBS 4625fi 4626echo "$as_me:$LINENO: result: $dac_cv_search_BerkeleyDB" >&5 4627echo "${ECHO_T}$dac_cv_search_BerkeleyDB" >&6 4628 if test "$dac_cv_search_BerkeleyDB" != no; then 4629 test "$dac_cv_search_BerkeleyDB" = "present" || LIBS="$dac_cv_search_BerkeleyDB $LIBS" ; cat >>confdefs.h <<\_ACEOF 4630#define USE_DB 1 4631_ACEOF 4632 have_database=1 4633fi 4634 4635fi 4636 4637if test $have_database = 0 ; then 4638 4639# Check whether --with-gdbm or --without-gdbm was given. 4640if test "${with_gdbm+set}" = set; then 4641 withval="$with_gdbm" 4642 4643 if test "x$withval" != "xno" ; then 4644 if test -d "$withval/lib"; then 4645 LDFLAGS="-L${withval}/lib $LDFLAGS" 4646 else 4647 LDFLAGS="-L${withval} $LDFLAGS" 4648 fi 4649 if test -d "$withval/include"; then 4650 CPPFLAGS="-I${withval}/include $CPPFLAGS" 4651 else 4652 CPPFLAGS="-I${withval} $CPPFLAGS" 4653 fi 4654 echo "$as_me:$LINENO: checking for library containing dbm_store" >&5 4655echo $ECHO_N "checking for library containing dbm_store... $ECHO_C" >&6 4656if test "${ac_cv_search_dbm_store+set}" = set; then 4657 echo $ECHO_N "(cached) $ECHO_C" >&6 4658else 4659 ac_func_search_save_LIBS=$LIBS 4660ac_cv_search_dbm_store=no 4661cat >conftest.$ac_ext <<_ACEOF 4662/* confdefs.h. */ 4663_ACEOF 4664cat confdefs.h >>conftest.$ac_ext 4665cat >>conftest.$ac_ext <<_ACEOF 4666/* end confdefs.h. */ 4667 4668/* Override any gcc2 internal prototype to avoid an error. */ 4669#ifdef __cplusplus 4670extern "C" 4671#endif 4672/* We use char because int might match the return type of a gcc2 4673 builtin and then its argument prototype would still apply. */ 4674char dbm_store (); 4675int 4676main () 4677{ 4678dbm_store (); 4679 ; 4680 return 0; 4681} 4682_ACEOF 4683rm -f conftest.$ac_objext conftest$ac_exeext 4684if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4685 (eval $ac_link) 2>conftest.er1 4686 ac_status=$? 4687 grep -v '^ *+' conftest.er1 >conftest.err 4688 rm -f conftest.er1 4689 cat conftest.err >&5 4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4691 (exit $ac_status); } && 4692 { ac_try='test -z "$ac_c_werror_flag" 4693 || test ! -s conftest.err' 4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4695 (eval $ac_try) 2>&5 4696 ac_status=$? 4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4698 (exit $ac_status); }; } && 4699 { ac_try='test -s conftest$ac_exeext' 4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4701 (eval $ac_try) 2>&5 4702 ac_status=$? 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4704 (exit $ac_status); }; }; then 4705 ac_cv_search_dbm_store="none required" 4706else 4707 echo "$as_me: failed program was:" >&5 4708sed 's/^/| /' conftest.$ac_ext >&5 4709 4710fi 4711rm -f conftest.err conftest.$ac_objext \ 4712 conftest$ac_exeext conftest.$ac_ext 4713if test "$ac_cv_search_dbm_store" = no; then 4714 for ac_lib in gdbm ndbm; do 4715 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4716 cat >conftest.$ac_ext <<_ACEOF 4717/* confdefs.h. */ 4718_ACEOF 4719cat confdefs.h >>conftest.$ac_ext 4720cat >>conftest.$ac_ext <<_ACEOF 4721/* end confdefs.h. */ 4722 4723/* Override any gcc2 internal prototype to avoid an error. */ 4724#ifdef __cplusplus 4725extern "C" 4726#endif 4727/* We use char because int might match the return type of a gcc2 4728 builtin and then its argument prototype would still apply. */ 4729char dbm_store (); 4730int 4731main () 4732{ 4733dbm_store (); 4734 ; 4735 return 0; 4736} 4737_ACEOF 4738rm -f conftest.$ac_objext conftest$ac_exeext 4739if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4740 (eval $ac_link) 2>conftest.er1 4741 ac_status=$? 4742 grep -v '^ *+' conftest.er1 >conftest.err 4743 rm -f conftest.er1 4744 cat conftest.err >&5 4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4746 (exit $ac_status); } && 4747 { ac_try='test -z "$ac_c_werror_flag" 4748 || test ! -s conftest.err' 4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4750 (eval $ac_try) 2>&5 4751 ac_status=$? 4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4753 (exit $ac_status); }; } && 4754 { ac_try='test -s conftest$ac_exeext' 4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4756 (eval $ac_try) 2>&5 4757 ac_status=$? 4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4759 (exit $ac_status); }; }; then 4760 ac_cv_search_dbm_store="-l$ac_lib" 4761break 4762else 4763 echo "$as_me: failed program was:" >&5 4764sed 's/^/| /' conftest.$ac_ext >&5 4765 4766fi 4767rm -f conftest.err conftest.$ac_objext \ 4768 conftest$ac_exeext conftest.$ac_ext 4769 done 4770fi 4771LIBS=$ac_func_search_save_LIBS 4772fi 4773echo "$as_me:$LINENO: result: $ac_cv_search_dbm_store" >&5 4774echo "${ECHO_T}$ac_cv_search_dbm_store" >&6 4775if test "$ac_cv_search_dbm_store" != no; then 4776 test "$ac_cv_search_dbm_store" = "none required" || LIBS="$ac_cv_search_dbm_store $LIBS" 4777 cat >>confdefs.h <<\_ACEOF 4778#define USE_DBM 1 4779_ACEOF 4780 have_database=1 4781fi 4782 4783 fi 4784 4785 4786fi; 4787fi 4788 4789cat >conftest.$ac_ext <<_ACEOF 4790/* confdefs.h. */ 4791_ACEOF 4792cat confdefs.h >>conftest.$ac_ext 4793cat >>conftest.$ac_ext <<_ACEOF 4794/* end confdefs.h. */ 4795 4796/* Override any gcc2 internal prototype to avoid an error. */ 4797#ifdef __cplusplus 4798extern "C" 4799#endif 4800/* We use char because int might match the return type of a gcc2 4801 builtin and then its argument prototype would still apply. */ 4802char mmap (); 4803int 4804main () 4805{ 4806mmap (); 4807 ; 4808 return 0; 4809} 4810_ACEOF 4811rm -f conftest.$ac_objext conftest$ac_exeext 4812if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4813 (eval $ac_link) 2>conftest.er1 4814 ac_status=$? 4815 grep -v '^ *+' conftest.er1 >conftest.err 4816 rm -f conftest.er1 4817 cat conftest.err >&5 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); } && 4820 { ac_try='test -z "$ac_c_werror_flag" 4821 || test ! -s conftest.err' 4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4823 (eval $ac_try) 2>&5 4824 ac_status=$? 4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4826 (exit $ac_status); }; } && 4827 { ac_try='test -s conftest$ac_exeext' 4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4829 (eval $ac_try) 2>&5 4830 ac_status=$? 4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4832 (exit $ac_status); }; }; then 4833 cat >>confdefs.h <<\_ACEOF 4834#define USE_MMAP 1 4835_ACEOF 4836 have_database=1 4837else 4838 echo "$as_me: failed program was:" >&5 4839sed 's/^/| /' conftest.$ac_ext >&5 4840 4841fi 4842rm -f conftest.err conftest.$ac_objext \ 4843 conftest$ac_exeext conftest.$ac_ext 4844 4845if test $have_database = 0 ; then 4846 { { echo "$as_me:$LINENO: error: No suitable database library (PDL or BerkeleyDB version 3 or higher) found. 4847 Specify location of proper package location using --with-db=PATH" >&5 4848echo "$as_me: error: No suitable database library (PDL or BerkeleyDB version 3 or higher) found. 4849 Specify location of proper package location using --with-db=PATH" >&2;} 4850 { (exit 1); exit 1; }; } 4851fi 4852 4853want_gif=1 4854 4855# Check whether --with-gif or --without-gif was given. 4856if test "${with_gif+set}" = set; then 4857 withval="$with_gif" 4858 4859 if test "x$withval" = "xno" ; then 4860 want_gif=0 4861 fi 4862 4863 4864fi; 4865if test $want_gif = 1 ; then 4866 if test "${ac_cv_header_gif_lib_h+set}" = set; then 4867 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 4868echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 4869if test "${ac_cv_header_gif_lib_h+set}" = set; then 4870 echo $ECHO_N "(cached) $ECHO_C" >&6 4871fi 4872echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 4873echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 4874else 4875 # Is the header compilable? 4876echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 4877echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6 4878cat >conftest.$ac_ext <<_ACEOF 4879/* confdefs.h. */ 4880_ACEOF 4881cat confdefs.h >>conftest.$ac_ext 4882cat >>conftest.$ac_ext <<_ACEOF 4883/* end confdefs.h. */ 4884$ac_includes_default 4885#include <gif_lib.h> 4886_ACEOF 4887rm -f conftest.$ac_objext 4888if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4889 (eval $ac_compile) 2>conftest.er1 4890 ac_status=$? 4891 grep -v '^ *+' conftest.er1 >conftest.err 4892 rm -f conftest.er1 4893 cat conftest.err >&5 4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4895 (exit $ac_status); } && 4896 { ac_try='test -z "$ac_c_werror_flag" 4897 || test ! -s conftest.err' 4898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4899 (eval $ac_try) 2>&5 4900 ac_status=$? 4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4902 (exit $ac_status); }; } && 4903 { ac_try='test -s conftest.$ac_objext' 4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4905 (eval $ac_try) 2>&5 4906 ac_status=$? 4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4908 (exit $ac_status); }; }; then 4909 ac_header_compiler=yes 4910else 4911 echo "$as_me: failed program was:" >&5 4912sed 's/^/| /' conftest.$ac_ext >&5 4913 4914ac_header_compiler=no 4915fi 4916rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4917echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4918echo "${ECHO_T}$ac_header_compiler" >&6 4919 4920# Is the header present? 4921echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 4922echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6 4923cat >conftest.$ac_ext <<_ACEOF 4924/* confdefs.h. */ 4925_ACEOF 4926cat confdefs.h >>conftest.$ac_ext 4927cat >>conftest.$ac_ext <<_ACEOF 4928/* end confdefs.h. */ 4929#include <gif_lib.h> 4930_ACEOF 4931if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4933 ac_status=$? 4934 grep -v '^ *+' conftest.er1 >conftest.err 4935 rm -f conftest.er1 4936 cat conftest.err >&5 4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4938 (exit $ac_status); } >/dev/null; then 4939 if test -s conftest.err; then 4940 ac_cpp_err=$ac_c_preproc_warn_flag 4941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4942 else 4943 ac_cpp_err= 4944 fi 4945else 4946 ac_cpp_err=yes 4947fi 4948if test -z "$ac_cpp_err"; then 4949 ac_header_preproc=yes 4950else 4951 echo "$as_me: failed program was:" >&5 4952sed 's/^/| /' conftest.$ac_ext >&5 4953 4954 ac_header_preproc=no 4955fi 4956rm -f conftest.err conftest.$ac_ext 4957echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4958echo "${ECHO_T}$ac_header_preproc" >&6 4959 4960# So? What about this header? 4961case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4962 yes:no: ) 4963 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 4964echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4965 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 4966echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} 4967 ac_header_preproc=yes 4968 ;; 4969 no:yes:* ) 4970 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 4971echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} 4972 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 4973echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} 4974 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 4975echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} 4976 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 4977echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} 4978 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 4979echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} 4980 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 4981echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} 4982 ( 4983 cat <<\_ASBOX 4984## ------------------------------------------ ## 4985## Report this to the AC_PACKAGE_NAME lists. ## 4986## ------------------------------------------ ## 4987_ASBOX 4988 ) | 4989 sed "s/^/$as_me: WARNING: /" >&2 4990 ;; 4991esac 4992echo "$as_me:$LINENO: checking for gif_lib.h" >&5 4993echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 4994if test "${ac_cv_header_gif_lib_h+set}" = set; then 4995 echo $ECHO_N "(cached) $ECHO_C" >&6 4996else 4997 ac_cv_header_gif_lib_h=$ac_header_preproc 4998fi 4999echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 5000echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 5001 5002fi 5003if test $ac_cv_header_gif_lib_h = yes; then 5004 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5 5005echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6 5006if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then 5007 echo $ECHO_N "(cached) $ECHO_C" >&6 5008else 5009 ac_check_lib_save_LIBS=$LIBS 5010LIBS="-lungif $LIBS" 5011cat >conftest.$ac_ext <<_ACEOF 5012/* confdefs.h. */ 5013_ACEOF 5014cat confdefs.h >>conftest.$ac_ext 5015cat >>conftest.$ac_ext <<_ACEOF 5016/* end confdefs.h. */ 5017 5018/* Override any gcc2 internal prototype to avoid an error. */ 5019#ifdef __cplusplus 5020extern "C" 5021#endif 5022/* We use char because int might match the return type of a gcc2 5023 builtin and then its argument prototype would still apply. */ 5024char DGifOpen (); 5025int 5026main () 5027{ 5028DGifOpen (); 5029 ; 5030 return 0; 5031} 5032_ACEOF 5033rm -f conftest.$ac_objext conftest$ac_exeext 5034if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5035 (eval $ac_link) 2>conftest.er1 5036 ac_status=$? 5037 grep -v '^ *+' conftest.er1 >conftest.err 5038 rm -f conftest.er1 5039 cat conftest.err >&5 5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5041 (exit $ac_status); } && 5042 { ac_try='test -z "$ac_c_werror_flag" 5043 || test ! -s conftest.err' 5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5045 (eval $ac_try) 2>&5 5046 ac_status=$? 5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5048 (exit $ac_status); }; } && 5049 { ac_try='test -s conftest$ac_exeext' 5050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5051 (eval $ac_try) 2>&5 5052 ac_status=$? 5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5054 (exit $ac_status); }; }; then 5055 ac_cv_lib_ungif_DGifOpen=yes 5056else 5057 echo "$as_me: failed program was:" >&5 5058sed 's/^/| /' conftest.$ac_ext >&5 5059 5060ac_cv_lib_ungif_DGifOpen=no 5061fi 5062rm -f conftest.err conftest.$ac_objext \ 5063 conftest$ac_exeext conftest.$ac_ext 5064LIBS=$ac_check_lib_save_LIBS 5065fi 5066echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5 5067echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6 5068if test $ac_cv_lib_ungif_DGifOpen = yes; then 5069 cat >>confdefs.h <<\_ACEOF 5070#define HAVE_UNGIF 1 5071_ACEOF 5072 LIBS="$LIBS -lungif" 5073else 5074 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5 5075echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6 5076if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then 5077 echo $ECHO_N "(cached) $ECHO_C" >&6 5078else 5079 ac_check_lib_save_LIBS=$LIBS 5080LIBS="-lgif $LIBS" 5081cat >conftest.$ac_ext <<_ACEOF 5082/* confdefs.h. */ 5083_ACEOF 5084cat confdefs.h >>conftest.$ac_ext 5085cat >>conftest.$ac_ext <<_ACEOF 5086/* end confdefs.h. */ 5087 5088/* Override any gcc2 internal prototype to avoid an error. */ 5089#ifdef __cplusplus 5090extern "C" 5091#endif 5092/* We use char because int might match the return type of a gcc2 5093 builtin and then its argument prototype would still apply. */ 5094char DGifOpen (); 5095int 5096main () 5097{ 5098DGifOpen (); 5099 ; 5100 return 0; 5101} 5102_ACEOF 5103rm -f conftest.$ac_objext conftest$ac_exeext 5104if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5105 (eval $ac_link) 2>conftest.er1 5106 ac_status=$? 5107 grep -v '^ *+' conftest.er1 >conftest.err 5108 rm -f conftest.er1 5109 cat conftest.err >&5 5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5111 (exit $ac_status); } && 5112 { ac_try='test -z "$ac_c_werror_flag" 5113 || test ! -s conftest.err' 5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5115 (eval $ac_try) 2>&5 5116 ac_status=$? 5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5118 (exit $ac_status); }; } && 5119 { ac_try='test -s conftest$ac_exeext' 5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5121 (eval $ac_try) 2>&5 5122 ac_status=$? 5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5124 (exit $ac_status); }; }; then 5125 ac_cv_lib_gif_DGifOpen=yes 5126else 5127 echo "$as_me: failed program was:" >&5 5128sed 's/^/| /' conftest.$ac_ext >&5 5129 5130ac_cv_lib_gif_DGifOpen=no 5131fi 5132rm -f conftest.err conftest.$ac_objext \ 5133 conftest$ac_exeext conftest.$ac_ext 5134LIBS=$ac_check_lib_save_LIBS 5135fi 5136echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5 5137echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6 5138if test $ac_cv_lib_gif_DGifOpen = yes; then 5139 cat >>confdefs.h <<\_ACEOF 5140#define HAVE_UNGIF 1 5141_ACEOF 5142 LIBS="$LIBS -lgif" 5143fi 5144 5145fi 5146 5147fi 5148 5149 5150fi 5151 5152want_png=1 5153 5154# Check whether --with-png or --without-png was given. 5155if test "${with_png+set}" = set; then 5156 withval="$with_png" 5157 5158 if test "x$withval" = "xno" ; then 5159 want_png=0 5160 fi 5161 5162 5163fi; 5164if test $want_png = 1 ; then 5165 if test "${ac_cv_header_png_h+set}" = set; then 5166 echo "$as_me:$LINENO: checking for png.h" >&5 5167echo $ECHO_N "checking for png.h... $ECHO_C" >&6 5168if test "${ac_cv_header_png_h+set}" = set; then 5169 echo $ECHO_N "(cached) $ECHO_C" >&6 5170fi 5171echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5 5172echo "${ECHO_T}$ac_cv_header_png_h" >&6 5173else 5174 # Is the header compilable? 5175echo "$as_me:$LINENO: checking png.h usability" >&5 5176echo $ECHO_N "checking png.h usability... $ECHO_C" >&6 5177cat >conftest.$ac_ext <<_ACEOF 5178/* confdefs.h. */ 5179_ACEOF 5180cat confdefs.h >>conftest.$ac_ext 5181cat >>conftest.$ac_ext <<_ACEOF 5182/* end confdefs.h. */ 5183$ac_includes_default 5184#include <png.h> 5185_ACEOF 5186rm -f conftest.$ac_objext 5187if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5188 (eval $ac_compile) 2>conftest.er1 5189 ac_status=$? 5190 grep -v '^ *+' conftest.er1 >conftest.err 5191 rm -f conftest.er1 5192 cat conftest.err >&5 5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5194 (exit $ac_status); } && 5195 { ac_try='test -z "$ac_c_werror_flag" 5196 || test ! -s conftest.err' 5197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5198 (eval $ac_try) 2>&5 5199 ac_status=$? 5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); }; } && 5202 { ac_try='test -s conftest.$ac_objext' 5203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5204 (eval $ac_try) 2>&5 5205 ac_status=$? 5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5207 (exit $ac_status); }; }; then 5208 ac_header_compiler=yes 5209else 5210 echo "$as_me: failed program was:" >&5 5211sed 's/^/| /' conftest.$ac_ext >&5 5212 5213ac_header_compiler=no 5214fi 5215rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5216echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5217echo "${ECHO_T}$ac_header_compiler" >&6 5218 5219# Is the header present? 5220echo "$as_me:$LINENO: checking png.h presence" >&5 5221echo $ECHO_N "checking png.h presence... $ECHO_C" >&6 5222cat >conftest.$ac_ext <<_ACEOF 5223/* confdefs.h. */ 5224_ACEOF 5225cat confdefs.h >>conftest.$ac_ext 5226cat >>conftest.$ac_ext <<_ACEOF 5227/* end confdefs.h. */ 5228#include <png.h> 5229_ACEOF 5230if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5232 ac_status=$? 5233 grep -v '^ *+' conftest.er1 >conftest.err 5234 rm -f conftest.er1 5235 cat conftest.err >&5 5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5237 (exit $ac_status); } >/dev/null; then 5238 if test -s conftest.err; then 5239 ac_cpp_err=$ac_c_preproc_warn_flag 5240 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5241 else 5242 ac_cpp_err= 5243 fi 5244else 5245 ac_cpp_err=yes 5246fi 5247if test -z "$ac_cpp_err"; then 5248 ac_header_preproc=yes 5249else 5250 echo "$as_me: failed program was:" >&5 5251sed 's/^/| /' conftest.$ac_ext >&5 5252 5253 ac_header_preproc=no 5254fi 5255rm -f conftest.err conftest.$ac_ext 5256echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5257echo "${ECHO_T}$ac_header_preproc" >&6 5258 5259# So? What about this header? 5260case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5261 yes:no: ) 5262 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5 5263echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5264 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5 5265echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;} 5266 ac_header_preproc=yes 5267 ;; 5268 no:yes:* ) 5269 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5 5270echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;} 5271 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5 5272echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;} 5273 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5 5274echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;} 5275 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5 5276echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;} 5277 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5 5278echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;} 5279 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5 5280echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;} 5281 ( 5282 cat <<\_ASBOX 5283## ------------------------------------------ ## 5284## Report this to the AC_PACKAGE_NAME lists. ## 5285## ------------------------------------------ ## 5286_ASBOX 5287 ) | 5288 sed "s/^/$as_me: WARNING: /" >&2 5289 ;; 5290esac 5291echo "$as_me:$LINENO: checking for png.h" >&5 5292echo $ECHO_N "checking for png.h... $ECHO_C" >&6 5293if test "${ac_cv_header_png_h+set}" = set; then 5294 echo $ECHO_N "(cached) $ECHO_C" >&6 5295else 5296 ac_cv_header_png_h=$ac_header_preproc 5297fi 5298echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5 5299echo "${ECHO_T}$ac_cv_header_png_h" >&6 5300 5301fi 5302if test $ac_cv_header_png_h = yes; then 5303 echo "$as_me:$LINENO: checking for png_set_progressive_read_fn in -lpng" >&5 5304echo $ECHO_N "checking for png_set_progressive_read_fn in -lpng... $ECHO_C" >&6 5305if test "${ac_cv_lib_png_png_set_progressive_read_fn+set}" = set; then 5306 echo $ECHO_N "(cached) $ECHO_C" >&6 5307else 5308 ac_check_lib_save_LIBS=$LIBS 5309LIBS="-lpng $LIBS" 5310cat >conftest.$ac_ext <<_ACEOF 5311/* confdefs.h. */ 5312_ACEOF 5313cat confdefs.h >>conftest.$ac_ext 5314cat >>conftest.$ac_ext <<_ACEOF 5315/* end confdefs.h. */ 5316 5317/* Override any gcc2 internal prototype to avoid an error. */ 5318#ifdef __cplusplus 5319extern "C" 5320#endif 5321/* We use char because int might match the return type of a gcc2 5322 builtin and then its argument prototype would still apply. */ 5323char png_set_progressive_read_fn (); 5324int 5325main () 5326{ 5327png_set_progressive_read_fn (); 5328 ; 5329 return 0; 5330} 5331_ACEOF 5332rm -f conftest.$ac_objext conftest$ac_exeext 5333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5334 (eval $ac_link) 2>conftest.er1 5335 ac_status=$? 5336 grep -v '^ *+' conftest.er1 >conftest.err 5337 rm -f conftest.er1 5338 cat conftest.err >&5 5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5340 (exit $ac_status); } && 5341 { ac_try='test -z "$ac_c_werror_flag" 5342 || test ! -s conftest.err' 5343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5344 (eval $ac_try) 2>&5 5345 ac_status=$? 5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5347 (exit $ac_status); }; } && 5348 { ac_try='test -s conftest$ac_exeext' 5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5350 (eval $ac_try) 2>&5 5351 ac_status=$? 5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5353 (exit $ac_status); }; }; then 5354 ac_cv_lib_png_png_set_progressive_read_fn=yes 5355else 5356 echo "$as_me: failed program was:" >&5 5357sed 's/^/| /' conftest.$ac_ext >&5 5358 5359ac_cv_lib_png_png_set_progressive_read_fn=no 5360fi 5361rm -f conftest.err conftest.$ac_objext \ 5362 conftest$ac_exeext conftest.$ac_ext 5363LIBS=$ac_check_lib_save_LIBS 5364fi 5365echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_set_progressive_read_fn" >&5 5366echo "${ECHO_T}$ac_cv_lib_png_png_set_progressive_read_fn" >&6 5367if test $ac_cv_lib_png_png_set_progressive_read_fn = yes; then 5368 cat >>confdefs.h <<\_ACEOF 5369#define HAVE_PNG 1 5370_ACEOF 5371 LIBS="$LIBS -lpng" 5372fi 5373 5374fi 5375 5376 5377fi 5378 5379want_jpeg=1 5380 5381# Check whether --with-jpeg or --without-jpeg was given. 5382if test "${with_jpeg+set}" = set; then 5383 withval="$with_jpeg" 5384 5385 if test "x$withval" = "xno" ; then 5386 want_jpeg=0 5387 fi 5388 5389 5390fi; 5391if test $want_jpeg = 1 ; then 5392 if test "${ac_cv_header_jpeglib_h+set}" = set; then 5393 echo "$as_me:$LINENO: checking for jpeglib.h" >&5 5394echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6 5395if test "${ac_cv_header_jpeglib_h+set}" = set; then 5396 echo $ECHO_N "(cached) $ECHO_C" >&6 5397fi 5398echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5 5399echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6 5400else 5401 # Is the header compilable? 5402echo "$as_me:$LINENO: checking jpeglib.h usability" >&5 5403echo $ECHO_N "checking jpeglib.h usability... $ECHO_C" >&6 5404cat >conftest.$ac_ext <<_ACEOF 5405/* confdefs.h. */ 5406_ACEOF 5407cat confdefs.h >>conftest.$ac_ext 5408cat >>conftest.$ac_ext <<_ACEOF 5409/* end confdefs.h. */ 5410$ac_includes_default 5411#include <jpeglib.h> 5412_ACEOF 5413rm -f conftest.$ac_objext 5414if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5415 (eval $ac_compile) 2>conftest.er1 5416 ac_status=$? 5417 grep -v '^ *+' conftest.er1 >conftest.err 5418 rm -f conftest.er1 5419 cat conftest.err >&5 5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5421 (exit $ac_status); } && 5422 { ac_try='test -z "$ac_c_werror_flag" 5423 || test ! -s conftest.err' 5424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5425 (eval $ac_try) 2>&5 5426 ac_status=$? 5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5428 (exit $ac_status); }; } && 5429 { ac_try='test -s conftest.$ac_objext' 5430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5431 (eval $ac_try) 2>&5 5432 ac_status=$? 5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5434 (exit $ac_status); }; }; then 5435 ac_header_compiler=yes 5436else 5437 echo "$as_me: failed program was:" >&5 5438sed 's/^/| /' conftest.$ac_ext >&5 5439 5440ac_header_compiler=no 5441fi 5442rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5443echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5444echo "${ECHO_T}$ac_header_compiler" >&6 5445 5446# Is the header present? 5447echo "$as_me:$LINENO: checking jpeglib.h presence" >&5 5448echo $ECHO_N "checking jpeglib.h presence... $ECHO_C" >&6 5449cat >conftest.$ac_ext <<_ACEOF 5450/* confdefs.h. */ 5451_ACEOF 5452cat confdefs.h >>conftest.$ac_ext 5453cat >>conftest.$ac_ext <<_ACEOF 5454/* end confdefs.h. */ 5455#include <jpeglib.h> 5456_ACEOF 5457if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5459 ac_status=$? 5460 grep -v '^ *+' conftest.er1 >conftest.err 5461 rm -f conftest.er1 5462 cat conftest.err >&5 5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5464 (exit $ac_status); } >/dev/null; then 5465 if test -s conftest.err; then 5466 ac_cpp_err=$ac_c_preproc_warn_flag 5467 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5468 else 5469 ac_cpp_err= 5470 fi 5471else 5472 ac_cpp_err=yes 5473fi 5474if test -z "$ac_cpp_err"; then 5475 ac_header_preproc=yes 5476else 5477 echo "$as_me: failed program was:" >&5 5478sed 's/^/| /' conftest.$ac_ext >&5 5479 5480 ac_header_preproc=no 5481fi 5482rm -f conftest.err conftest.$ac_ext 5483echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5484echo "${ECHO_T}$ac_header_preproc" >&6 5485 5486# So? What about this header? 5487case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5488 yes:no: ) 5489 { echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5 5490echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5491 { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5 5492echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;} 5493 ac_header_preproc=yes 5494 ;; 5495 no:yes:* ) 5496 { echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5 5497echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;} 5498 { echo "$as_me:$LINENO: WARNING: jpeglib.h: check for missing prerequisite headers?" >&5 5499echo "$as_me: WARNING: jpeglib.h: check for missing prerequisite headers?" >&2;} 5500 { echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5 5501echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;} 5502 { echo "$as_me:$LINENO: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&5 5503echo "$as_me: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&2;} 5504 { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5 5505echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;} 5506 { echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5 5507echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;} 5508 ( 5509 cat <<\_ASBOX 5510## ------------------------------------------ ## 5511## Report this to the AC_PACKAGE_NAME lists. ## 5512## ------------------------------------------ ## 5513_ASBOX 5514 ) | 5515 sed "s/^/$as_me: WARNING: /" >&2 5516 ;; 5517esac 5518echo "$as_me:$LINENO: checking for jpeglib.h" >&5 5519echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6 5520if test "${ac_cv_header_jpeglib_h+set}" = set; then 5521 echo $ECHO_N "(cached) $ECHO_C" >&6 5522else 5523 ac_cv_header_jpeglib_h=$ac_header_preproc 5524fi 5525echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5 5526echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6 5527 5528fi 5529if test $ac_cv_header_jpeglib_h = yes; then 5530 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5 5531echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6 5532if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then 5533 echo $ECHO_N "(cached) $ECHO_C" >&6 5534else 5535 ac_check_lib_save_LIBS=$LIBS 5536LIBS="-ljpeg $LIBS" 5537cat >conftest.$ac_ext <<_ACEOF 5538/* confdefs.h. */ 5539_ACEOF 5540cat confdefs.h >>conftest.$ac_ext 5541cat >>conftest.$ac_ext <<_ACEOF 5542/* end confdefs.h. */ 5543 5544/* Override any gcc2 internal prototype to avoid an error. */ 5545#ifdef __cplusplus 5546extern "C" 5547#endif 5548/* We use char because int might match the return type of a gcc2 5549 builtin and then its argument prototype would still apply. */ 5550char jpeg_read_header (); 5551int 5552main () 5553{ 5554jpeg_read_header (); 5555 ; 5556 return 0; 5557} 5558_ACEOF 5559rm -f conftest.$ac_objext conftest$ac_exeext 5560if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5561 (eval $ac_link) 2>conftest.er1 5562 ac_status=$? 5563 grep -v '^ *+' conftest.er1 >conftest.err 5564 rm -f conftest.er1 5565 cat conftest.err >&5 5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5567 (exit $ac_status); } && 5568 { ac_try='test -z "$ac_c_werror_flag" 5569 || test ! -s conftest.err' 5570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5571 (eval $ac_try) 2>&5 5572 ac_status=$? 5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5574 (exit $ac_status); }; } && 5575 { ac_try='test -s conftest$ac_exeext' 5576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5577 (eval $ac_try) 2>&5 5578 ac_status=$? 5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5580 (exit $ac_status); }; }; then 5581 ac_cv_lib_jpeg_jpeg_read_header=yes 5582else 5583 echo "$as_me: failed program was:" >&5 5584sed 's/^/| /' conftest.$ac_ext >&5 5585 5586ac_cv_lib_jpeg_jpeg_read_header=no 5587fi 5588rm -f conftest.err conftest.$ac_objext \ 5589 conftest$ac_exeext conftest.$ac_ext 5590LIBS=$ac_check_lib_save_LIBS 5591fi 5592echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5 5593echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6 5594if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then 5595 cat >>confdefs.h <<\_ACEOF 5596#define HAVE_JPEG 1 5597_ACEOF 5598 LIBS="$LIBS -ljpeg" 5599fi 5600 5601fi 5602 5603 5604fi 5605 5606# Find a good install program. We prefer a C program (faster), 5607# so one script is as good as another. But avoid the broken or 5608# incompatible versions: 5609# SysV /etc/install, /usr/sbin/install 5610# SunOS /usr/etc/install 5611# IRIX /sbin/install 5612# AIX /bin/install 5613# AmigaOS /C/install, which installs bootblocks on floppy discs 5614# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 5615# AFS /usr/afsws/bin/install, which mishandles nonexistent args 5616# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 5617# OS/2's system install, which has a completely different semantic 5618# ./install, which can be erroneously created by make from ./install.sh. 5619echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 5620echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 5621if test -z "$INSTALL"; then 5622if test "${ac_cv_path_install+set}" = set; then 5623 echo $ECHO_N "(cached) $ECHO_C" >&6 5624else 5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5626for as_dir in $PATH 5627do 5628 IFS=$as_save_IFS 5629 test -z "$as_dir" && as_dir=. 5630 # Account for people who put trailing slashes in PATH elements. 5631case $as_dir/ in 5632 ./ | .// | /cC/* | \ 5633 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 5634 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 5635 /usr/ucb/* ) ;; 5636 *) 5637 # OSF1 and SCO ODT 3.0 have their own names for install. 5638 # Don't use installbsd from OSF since it installs stuff as root 5639 # by default. 5640 for ac_prog in ginstall scoinst install; do 5641 for ac_exec_ext in '' $ac_executable_extensions; do 5642 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 5643 if test $ac_prog = install && 5644 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 5645 # AIX install. It has an incompatible calling convention. 5646 : 5647 elif test $ac_prog = install && 5648 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 5649 # program-specific install script used by HP pwplus--don't use. 5650 : 5651 else 5652 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 5653 break 3 5654 fi 5655 fi 5656 done 5657 done 5658 ;; 5659esac 5660done 5661 5662 5663fi 5664 if test "${ac_cv_path_install+set}" = set; then 5665 INSTALL=$ac_cv_path_install 5666 else 5667 # As a last resort, use the slow shell script. We don't cache a 5668 # path for INSTALL within a source directory, because that will 5669 # break other packages using the cache if that directory is 5670 # removed, or if the path is relative. 5671 INSTALL=$ac_install_sh 5672 fi 5673fi 5674echo "$as_me:$LINENO: result: $INSTALL" >&5 5675echo "${ECHO_T}$INSTALL" >&6 5676 5677# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5678# It thinks the first close brace ends the variable substitution. 5679test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 5680 5681test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 5682 5683test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 5684 5685 ac_config_files="$ac_config_files Makefile src/Makefile src/database/Makefile src/hdl/Makefile src/includes/Makefile src/input/Makefile src/parser/Makefile src/utility/Makefile src/spamprobe/Makefile" 5686cat >confcache <<\_ACEOF 5687# This file is a shell script that caches the results of configure 5688# tests run on this system so they can be shared between configure 5689# scripts and configure runs, see configure's option --config-cache. 5690# It is not useful on other systems. If it contains results you don't 5691# want to keep, you may remove or edit it. 5692# 5693# config.status only pays attention to the cache file if you give it 5694# the --recheck option to rerun configure. 5695# 5696# `ac_cv_env_foo' variables (set or unset) will be overridden when 5697# loading this file, other *unset* `ac_cv_foo' will be assigned the 5698# following values. 5699 5700_ACEOF 5701 5702# The following way of writing the cache mishandles newlines in values, 5703# but we know of no workaround that is simple, portable, and efficient. 5704# So, don't put newlines in cache variables' values. 5705# Ultrix sh set writes to stderr and can't be redirected directly, 5706# and sets the high bit in the cache file unless we assign to the vars. 5707{ 5708 (set) 2>&1 | 5709 case `(ac_space=' '; set | grep ac_space) 2>&1` in 5710 *ac_space=\ *) 5711 # `set' does not quote correctly, so add quotes (double-quote 5712 # substitution turns \\\\ into \\, and sed turns \\ into \). 5713 sed -n \ 5714 "s/'/'\\\\''/g; 5715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5716 ;; 5717 *) 5718 # `set' quotes correctly as required by POSIX, so do not add quotes. 5719 sed -n \ 5720 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 5721 ;; 5722 esac; 5723} | 5724 sed ' 5725 t clear 5726 : clear 5727 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5728 t end 5729 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5730 : end' >>confcache 5731if diff $cache_file confcache >/dev/null 2>&1; then :; else 5732 if test -w $cache_file; then 5733 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 5734 cat confcache >$cache_file 5735 else 5736 echo "not updating unwritable cache $cache_file" 5737 fi 5738fi 5739rm -f confcache 5740 5741test "x$prefix" = xNONE && prefix=$ac_default_prefix 5742# Let make expand exec_prefix. 5743test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5744 5745# VPATH may cause trouble with some makes, so we remove $(srcdir), 5746# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5747# trailing colons and then remove the whole line if VPATH becomes empty 5748# (actually we leave an empty line to preserve line numbers). 5749if test "x$srcdir" = x.; then 5750 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5751s/:*\$(srcdir):*/:/; 5752s/:*\${srcdir}:*/:/; 5753s/:*@srcdir@:*/:/; 5754s/^\([^=]*=[ ]*\):*/\1/; 5755s/:*$//; 5756s/^[^=]*=[ ]*$//; 5757}' 5758fi 5759 5760# Transform confdefs.h into DEFS. 5761# Protect against shell expansion while executing Makefile rules. 5762# Protect against Makefile macro expansion. 5763# 5764# If the first sed substitution is executed (which looks for macros that 5765# take arguments), then we branch to the quote section. Otherwise, 5766# look for a macro that doesn't take arguments. 5767cat >confdef2opt.sed <<\_ACEOF 5768t clear 5769: clear 5770s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 5771t quote 5772s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 5773t quote 5774d 5775: quote 5776s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 5777s,\[,\\&,g 5778s,\],\\&,g 5779s,\$,$$,g 5780p 5781_ACEOF 5782# We use echo to avoid assuming a particular line-breaking character. 5783# The extra dot is to prevent the shell from consuming trailing 5784# line-breaks from the sub-command output. A line-break within 5785# single-quotes doesn't work because, if this script is created in a 5786# platform that uses two characters for line-breaks (e.g., DOS), tr 5787# would break. 5788ac_LF_and_DOT=`echo; echo .` 5789DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 5790rm -f confdef2opt.sed 5791 5792 5793ac_libobjs= 5794ac_ltlibobjs= 5795for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5796 # 1. Remove the extension, and $U if already installed. 5797 ac_i=`echo "$ac_i" | 5798 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 5799 # 2. Add them. 5800 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 5801 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 5802done 5803LIBOBJS=$ac_libobjs 5804 5805LTLIBOBJS=$ac_ltlibobjs 5806 5807 5808if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5809 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5810Usually this means the macro was only invoked conditionally." >&5 5811echo "$as_me: error: conditional \"AMDEP\" was never defined. 5812Usually this means the macro was only invoked conditionally." >&2;} 5813 { (exit 1); exit 1; }; } 5814fi 5815if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5816 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5817Usually this means the macro was only invoked conditionally." >&5 5818echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5819Usually this means the macro was only invoked conditionally." >&2;} 5820 { (exit 1); exit 1; }; } 5821fi 5822if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 5823 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 5824Usually this means the macro was only invoked conditionally." >&5 5825echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 5826Usually this means the macro was only invoked conditionally." >&2;} 5827 { (exit 1); exit 1; }; } 5828fi 5829 5830: ${CONFIG_STATUS=./config.status} 5831ac_clean_files_save=$ac_clean_files 5832ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5833{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5834echo "$as_me: creating $CONFIG_STATUS" >&6;} 5835cat >$CONFIG_STATUS <<_ACEOF 5836#! $SHELL 5837# Generated by $as_me. 5838# Run this file to recreate the current configuration. 5839# Compiler output produced by configure, useful for debugging 5840# configure, is in config.log if it exists. 5841 5842debug=false 5843ac_cs_recheck=false 5844ac_cs_silent=false 5845SHELL=\${CONFIG_SHELL-$SHELL} 5846_ACEOF 5847 5848cat >>$CONFIG_STATUS <<\_ACEOF 5849## --------------------- ## 5850## M4sh Initialization. ## 5851## --------------------- ## 5852 5853# Be Bourne compatible 5854if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5855 emulate sh 5856 NULLCMD=: 5857 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5858 # is contrary to our usage. Disable this feature. 5859 alias -g '${1+"$@"}'='"$@"' 5860elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5861 set -o posix 5862fi 5863DUALCASE=1; export DUALCASE # for MKS sh 5864 5865# Support unset when possible. 5866if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5867 as_unset=unset 5868else 5869 as_unset=false 5870fi 5871 5872 5873# Work around bugs in pre-3.0 UWIN ksh. 5874$as_unset ENV MAIL MAILPATH 5875PS1='$ ' 5876PS2='> ' 5877PS4='+ ' 5878 5879# NLS nuisances. 5880for as_var in \ 5881 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5882 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5883 LC_TELEPHONE LC_TIME 5884do 5885 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5886 eval $as_var=C; export $as_var 5887 else 5888 $as_unset $as_var 5889 fi 5890done 5891 5892# Required to use basename. 5893if expr a : '\(a\)' >/dev/null 2>&1; then 5894 as_expr=expr 5895else 5896 as_expr=false 5897fi 5898 5899if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5900 as_basename=basename 5901else 5902 as_basename=false 5903fi 5904 5905 5906# Name of the executable. 5907as_me=`$as_basename "$0" || 5908$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5909 X"$0" : 'X\(//\)$' \| \ 5910 X"$0" : 'X\(/\)$' \| \ 5911 . : '\(.\)' 2>/dev/null || 5912echo X/"$0" | 5913 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5914 /^X\/\(\/\/\)$/{ s//\1/; q; } 5915 /^X\/\(\/\).*/{ s//\1/; q; } 5916 s/.*/./; q'` 5917 5918 5919# PATH needs CR, and LINENO needs CR and PATH. 5920# Avoid depending upon Character Ranges. 5921as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5922as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5923as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5924as_cr_digits='0123456789' 5925as_cr_alnum=$as_cr_Letters$as_cr_digits 5926 5927# The user is always right. 5928if test "${PATH_SEPARATOR+set}" != set; then 5929 echo "#! /bin/sh" >conf$$.sh 5930 echo "exit 0" >>conf$$.sh 5931 chmod +x conf$$.sh 5932 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5933 PATH_SEPARATOR=';' 5934 else 5935 PATH_SEPARATOR=: 5936 fi 5937 rm -f conf$$.sh 5938fi 5939 5940 5941 as_lineno_1=$LINENO 5942 as_lineno_2=$LINENO 5943 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5944 test "x$as_lineno_1" != "x$as_lineno_2" && 5945 test "x$as_lineno_3" = "x$as_lineno_2" || { 5946 # Find who we are. Look in the path if we contain no path at all 5947 # relative or not. 5948 case $0 in 5949 *[\\/]* ) as_myself=$0 ;; 5950 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5951for as_dir in $PATH 5952do 5953 IFS=$as_save_IFS 5954 test -z "$as_dir" && as_dir=. 5955 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5956done 5957 5958 ;; 5959 esac 5960 # We did not find ourselves, most probably we were run as `sh COMMAND' 5961 # in which case we are not to be found in the path. 5962 if test "x$as_myself" = x; then 5963 as_myself=$0 5964 fi 5965 if test ! -f "$as_myself"; then 5966 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5967echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5968 { (exit 1); exit 1; }; } 5969 fi 5970 case $CONFIG_SHELL in 5971 '') 5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5973for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5974do 5975 IFS=$as_save_IFS 5976 test -z "$as_dir" && as_dir=. 5977 for as_base in sh bash ksh sh5; do 5978 case $as_dir in 5979 /*) 5980 if ("$as_dir/$as_base" -c ' 5981 as_lineno_1=$LINENO 5982 as_lineno_2=$LINENO 5983 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5984 test "x$as_lineno_1" != "x$as_lineno_2" && 5985 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5986 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 5987 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 5988 CONFIG_SHELL=$as_dir/$as_base 5989 export CONFIG_SHELL 5990 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5991 fi;; 5992 esac 5993 done 5994done 5995;; 5996 esac 5997 5998 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5999 # uniformly replaced by the line number. The first 'sed' inserts a 6000 # line-number line before each line; the second 'sed' does the real 6001 # work. The second script uses 'N' to pair each line-number line 6002 # with the numbered line, and appends trailing '-' during 6003 # substitution so that $LINENO is not a special case at line end. 6004 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 6005 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 6006 sed '=' <$as_myself | 6007 sed ' 6008 N 6009 s,$,-, 6010 : loop 6011 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 6012 t loop 6013 s,-$,, 6014 s,^['$as_cr_digits']*\n,, 6015 ' >$as_me.lineno && 6016 chmod +x $as_me.lineno || 6017 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 6018echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 6019 { (exit 1); exit 1; }; } 6020 6021 # Don't try to exec as it changes $[0], causing all sort of problems 6022 # (the dirname of $[0] is not the place where we might find the 6023 # original and so on. Autoconf is especially sensible to this). 6024 . ./$as_me.lineno 6025 # Exit status is that of the last command. 6026 exit 6027} 6028 6029 6030case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 6031 *c*,-n*) ECHO_N= ECHO_C=' 6032' ECHO_T=' ' ;; 6033 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 6034 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 6035esac 6036 6037if expr a : '\(a\)' >/dev/null 2>&1; then 6038 as_expr=expr 6039else 6040 as_expr=false 6041fi 6042 6043rm -f conf$$ conf$$.exe conf$$.file 6044echo >conf$$.file 6045if ln -s conf$$.file conf$$ 2>/dev/null; then 6046 # We could just check for DJGPP; but this test a) works b) is more generic 6047 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 6048 if test -f conf$$.exe; then 6049 # Don't use ln at all; we don't have any links 6050 as_ln_s='cp -p' 6051 else 6052 as_ln_s='ln -s' 6053 fi 6054elif ln conf$$.file conf$$ 2>/dev/null; then 6055 as_ln_s=ln 6056else 6057 as_ln_s='cp -p' 6058fi 6059rm -f conf$$ conf$$.exe conf$$.file 6060 6061if mkdir -p . 2>/dev/null; then 6062 as_mkdir_p=: 6063else 6064 test -d ./-p && rmdir ./-p 6065 as_mkdir_p=false 6066fi 6067 6068as_executable_p="test -f" 6069 6070# Sed expression to map a string onto a valid CPP name. 6071as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6072 6073# Sed expression to map a string onto a valid variable name. 6074as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6075 6076 6077# IFS 6078# We need space, tab and new line, in precisely that order. 6079as_nl=' 6080' 6081IFS=" $as_nl" 6082 6083# CDPATH. 6084$as_unset CDPATH 6085 6086exec 6>&1 6087 6088# Open the log real soon, to keep \$[0] and so on meaningful, and to 6089# report actual input values of CONFIG_FILES etc. instead of their 6090# values after options handling. Logging --version etc. is OK. 6091exec 5>>config.log 6092{ 6093 echo 6094 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6095## Running $as_me. ## 6096_ASBOX 6097} >&5 6098cat >&5 <<_CSEOF 6099 6100This file was extended by $as_me, which was 6101generated by GNU Autoconf 2.59. Invocation command line was 6102 6103 CONFIG_FILES = $CONFIG_FILES 6104 CONFIG_HEADERS = $CONFIG_HEADERS 6105 CONFIG_LINKS = $CONFIG_LINKS 6106 CONFIG_COMMANDS = $CONFIG_COMMANDS 6107 $ $0 $@ 6108 6109_CSEOF 6110echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 6111echo >&5 6112_ACEOF 6113 6114# Files that config.status was made for. 6115if test -n "$ac_config_files"; then 6116 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 6117fi 6118 6119if test -n "$ac_config_headers"; then 6120 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 6121fi 6122 6123if test -n "$ac_config_links"; then 6124 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 6125fi 6126 6127if test -n "$ac_config_commands"; then 6128 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 6129fi 6130 6131cat >>$CONFIG_STATUS <<\_ACEOF 6132 6133ac_cs_usage="\ 6134\`$as_me' instantiates files from templates according to the 6135current configuration. 6136 6137Usage: $0 [OPTIONS] [FILE]... 6138 6139 -h, --help print this help, then exit 6140 -V, --version print version number, then exit 6141 -q, --quiet do not print progress messages 6142 -d, --debug don't remove temporary files 6143 --recheck update $as_me by reconfiguring in the same conditions 6144 --file=FILE[:TEMPLATE] 6145 instantiate the configuration file FILE 6146 6147Configuration files: 6148$config_files 6149 6150Configuration commands: 6151$config_commands 6152 6153Report bugs to <bug-autoconf@gnu.org>." 6154_ACEOF 6155 6156cat >>$CONFIG_STATUS <<_ACEOF 6157ac_cs_version="\\ 6158config.status 6159configured by $0, generated by GNU Autoconf 2.59, 6160 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 6161 6162Copyright (C) 2003 Free Software Foundation, Inc. 6163This config.status script is free software; the Free Software Foundation 6164gives unlimited permission to copy, distribute and modify it." 6165srcdir=$srcdir 6166INSTALL="$INSTALL" 6167_ACEOF 6168 6169cat >>$CONFIG_STATUS <<\_ACEOF 6170# If no file are specified by the user, then we need to provide default 6171# value. By we need to know if files were specified by the user. 6172ac_need_defaults=: 6173while test $# != 0 6174do 6175 case $1 in 6176 --*=*) 6177 ac_option=`expr "x$1" : 'x\([^=]*\)='` 6178 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 6179 ac_shift=: 6180 ;; 6181 -*) 6182 ac_option=$1 6183 ac_optarg=$2 6184 ac_shift=shift 6185 ;; 6186 *) # This is not an option, so the user has probably given explicit 6187 # arguments. 6188 ac_option=$1 6189 ac_need_defaults=false;; 6190 esac 6191 6192 case $ac_option in 6193 # Handling of the options. 6194_ACEOF 6195cat >>$CONFIG_STATUS <<\_ACEOF 6196 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6197 ac_cs_recheck=: ;; 6198 --version | --vers* | -V ) 6199 echo "$ac_cs_version"; exit 0 ;; 6200 --he | --h) 6201 # Conflict between --help and --header 6202 { { echo "$as_me:$LINENO: error: ambiguous option: $1 6203Try \`$0 --help' for more information." >&5 6204echo "$as_me: error: ambiguous option: $1 6205Try \`$0 --help' for more information." >&2;} 6206 { (exit 1); exit 1; }; };; 6207 --help | --hel | -h ) 6208 echo "$ac_cs_usage"; exit 0 ;; 6209 --debug | --d* | -d ) 6210 debug=: ;; 6211 --file | --fil | --fi | --f ) 6212 $ac_shift 6213 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 6214 ac_need_defaults=false;; 6215 --header | --heade | --head | --hea ) 6216 $ac_shift 6217 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 6218 ac_need_defaults=false;; 6219 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6220 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6221 ac_cs_silent=: ;; 6222 6223 # This is an error. 6224 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 6225Try \`$0 --help' for more information." >&5 6226echo "$as_me: error: unrecognized option: $1 6227Try \`$0 --help' for more information." >&2;} 6228 { (exit 1); exit 1; }; } ;; 6229 6230 *) ac_config_targets="$ac_config_targets $1" ;; 6231 6232 esac 6233 shift 6234done 6235 6236ac_configure_extra_args= 6237 6238if $ac_cs_silent; then 6239 exec 6>/dev/null 6240 ac_configure_extra_args="$ac_configure_extra_args --silent" 6241fi 6242 6243_ACEOF 6244cat >>$CONFIG_STATUS <<_ACEOF 6245if \$ac_cs_recheck; then 6246 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 6247 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6248fi 6249 6250_ACEOF 6251 6252cat >>$CONFIG_STATUS <<_ACEOF 6253# 6254# INIT-COMMANDS section. 6255# 6256 6257AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 6258 6259_ACEOF 6260 6261 6262 6263cat >>$CONFIG_STATUS <<\_ACEOF 6264for ac_config_target in $ac_config_targets 6265do 6266 case "$ac_config_target" in 6267 # Handling of arguments. 6268 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6269 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 6270 "src/database/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/database/Makefile" ;; 6271 "src/hdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/hdl/Makefile" ;; 6272 "src/includes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/includes/Makefile" ;; 6273 "src/input/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/input/Makefile" ;; 6274 "src/parser/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/parser/Makefile" ;; 6275 "src/utility/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utility/Makefile" ;; 6276 "src/spamprobe/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/spamprobe/Makefile" ;; 6277 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6278 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 6279echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 6280 { (exit 1); exit 1; }; };; 6281 esac 6282done 6283 6284# If the user did not use the arguments to specify the items to instantiate, 6285# then the envvar interface is used. Set only those that are not. 6286# We use the long form for the default assignment because of an extremely 6287# bizarre bug on SunOS 4.1.3. 6288if $ac_need_defaults; then 6289 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6290 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 6291fi 6292 6293# Have a temporary directory for convenience. Make it in the build tree 6294# simply because there is no reason to put it here, and in addition, 6295# creating and moving files from /tmp can sometimes cause problems. 6296# Create a temporary directory, and hook for its removal unless debugging. 6297$debug || 6298{ 6299 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 6300 trap '{ (exit 1); exit 1; }' 1 2 13 15 6301} 6302 6303# Create a (secure) tmp directory for tmp files. 6304 6305{ 6306 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 6307 test -n "$tmp" && test -d "$tmp" 6308} || 6309{ 6310 tmp=./confstat$$-$RANDOM 6311 (umask 077 && mkdir $tmp) 6312} || 6313{ 6314 echo "$me: cannot create a temporary directory in ." >&2 6315 { (exit 1); exit 1; } 6316} 6317 6318_ACEOF 6319 6320cat >>$CONFIG_STATUS <<_ACEOF 6321 6322# 6323# CONFIG_FILES section. 6324# 6325 6326# No need to generate the scripts if there are no CONFIG_FILES. 6327# This happens for instance when ./config.status config.h 6328if test -n "\$CONFIG_FILES"; then 6329 # Protect against being on the right side of a sed subst in config.status. 6330 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 6331 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 6332s,@SHELL@,$SHELL,;t t 6333s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 6334s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 6335s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 6336s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 6337s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 6338s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 6339s,@exec_prefix@,$exec_prefix,;t t 6340s,@prefix@,$prefix,;t t 6341s,@program_transform_name@,$program_transform_name,;t t 6342s,@bindir@,$bindir,;t t 6343s,@sbindir@,$sbindir,;t t 6344s,@libexecdir@,$libexecdir,;t t 6345s,@datadir@,$datadir,;t t 6346s,@sysconfdir@,$sysconfdir,;t t 6347s,@sharedstatedir@,$sharedstatedir,;t t 6348s,@localstatedir@,$localstatedir,;t t 6349s,@libdir@,$libdir,;t t 6350s,@includedir@,$includedir,;t t 6351s,@oldincludedir@,$oldincludedir,;t t 6352s,@infodir@,$infodir,;t t 6353s,@mandir@,$mandir,;t t 6354s,@build_alias@,$build_alias,;t t 6355s,@host_alias@,$host_alias,;t t 6356s,@target_alias@,$target_alias,;t t 6357s,@DEFS@,$DEFS,;t t 6358s,@ECHO_C@,$ECHO_C,;t t 6359s,@ECHO_N@,$ECHO_N,;t t 6360s,@ECHO_T@,$ECHO_T,;t t 6361s,@LIBS@,$LIBS,;t t 6362s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 6363s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 6364s,@INSTALL_DATA@,$INSTALL_DATA,;t t 6365s,@CYGPATH_W@,$CYGPATH_W,;t t 6366s,@PACKAGE@,$PACKAGE,;t t 6367s,@VERSION@,$VERSION,;t t 6368s,@ACLOCAL@,$ACLOCAL,;t t 6369s,@AUTOCONF@,$AUTOCONF,;t t 6370s,@AUTOMAKE@,$AUTOMAKE,;t t 6371s,@AUTOHEADER@,$AUTOHEADER,;t t 6372s,@MAKEINFO@,$MAKEINFO,;t t 6373s,@install_sh@,$install_sh,;t t 6374s,@STRIP@,$STRIP,;t t 6375s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 6376s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 6377s,@mkdir_p@,$mkdir_p,;t t 6378s,@AWK@,$AWK,;t t 6379s,@SET_MAKE@,$SET_MAKE,;t t 6380s,@am__leading_dot@,$am__leading_dot,;t t 6381s,@AMTAR@,$AMTAR,;t t 6382s,@am__tar@,$am__tar,;t t 6383s,@am__untar@,$am__untar,;t t 6384s,@CC@,$CC,;t t 6385s,@CFLAGS@,$CFLAGS,;t t 6386s,@LDFLAGS@,$LDFLAGS,;t t 6387s,@CPPFLAGS@,$CPPFLAGS,;t t 6388s,@ac_ct_CC@,$ac_ct_CC,;t t 6389s,@EXEEXT@,$EXEEXT,;t t 6390s,@OBJEXT@,$OBJEXT,;t t 6391s,@DEPDIR@,$DEPDIR,;t t 6392s,@am__include@,$am__include,;t t 6393s,@am__quote@,$am__quote,;t t 6394s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 6395s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 6396s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 6397s,@CCDEPMODE@,$CCDEPMODE,;t t 6398s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 6399s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 6400s,@CXX@,$CXX,;t t 6401s,@CXXFLAGS@,$CXXFLAGS,;t t 6402s,@ac_ct_CXX@,$ac_ct_CXX,;t t 6403s,@CXXDEPMODE@,$CXXDEPMODE,;t t 6404s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t 6405s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t 6406s,@RANLIB@,$RANLIB,;t t 6407s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 6408s,@CPP@,$CPP,;t t 6409s,@EGREP@,$EGREP,;t t 6410s,@LIBOBJS@,$LIBOBJS,;t t 6411s,@LTLIBOBJS@,$LTLIBOBJS,;t t 6412CEOF 6413 6414_ACEOF 6415 6416 cat >>$CONFIG_STATUS <<\_ACEOF 6417 # Split the substitutions into bite-sized pieces for seds with 6418 # small command number limits, like on Digital OSF/1 and HP-UX. 6419 ac_max_sed_lines=48 6420 ac_sed_frag=1 # Number of current file. 6421 ac_beg=1 # First line for current file. 6422 ac_end=$ac_max_sed_lines # Line after last line for current file. 6423 ac_more_lines=: 6424 ac_sed_cmds= 6425 while $ac_more_lines; do 6426 if test $ac_beg -gt 1; then 6427 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6428 else 6429 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6430 fi 6431 if test ! -s $tmp/subs.frag; then 6432 ac_more_lines=false 6433 else 6434 # The purpose of the label and of the branching condition is to 6435 # speed up the sed processing (if there are no `@' at all, there 6436 # is no need to browse any of the substitutions). 6437 # These are the two extra sed commands mentioned above. 6438 (echo ':t 6439 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 6440 if test -z "$ac_sed_cmds"; then 6441 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 6442 else 6443 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 6444 fi 6445 ac_sed_frag=`expr $ac_sed_frag + 1` 6446 ac_beg=$ac_end 6447 ac_end=`expr $ac_end + $ac_max_sed_lines` 6448 fi 6449 done 6450 if test -z "$ac_sed_cmds"; then 6451 ac_sed_cmds=cat 6452 fi 6453fi # test -n "$CONFIG_FILES" 6454 6455_ACEOF 6456cat >>$CONFIG_STATUS <<\_ACEOF 6457for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 6458 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6459 case $ac_file in 6460 - | *:- | *:-:* ) # input from stdin 6461 cat >$tmp/stdin 6462 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6463 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6464 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6465 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6466 * ) ac_file_in=$ac_file.in ;; 6467 esac 6468 6469 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 6470 ac_dir=`(dirname "$ac_file") 2>/dev/null || 6471$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6472 X"$ac_file" : 'X\(//\)[^/]' \| \ 6473 X"$ac_file" : 'X\(//\)$' \| \ 6474 X"$ac_file" : 'X\(/\)' \| \ 6475 . : '\(.\)' 2>/dev/null || 6476echo X"$ac_file" | 6477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6478 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6479 /^X\(\/\/\)$/{ s//\1/; q; } 6480 /^X\(\/\).*/{ s//\1/; q; } 6481 s/.*/./; q'` 6482 { if $as_mkdir_p; then 6483 mkdir -p "$ac_dir" 6484 else 6485 as_dir="$ac_dir" 6486 as_dirs= 6487 while test ! -d "$as_dir"; do 6488 as_dirs="$as_dir $as_dirs" 6489 as_dir=`(dirname "$as_dir") 2>/dev/null || 6490$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6491 X"$as_dir" : 'X\(//\)[^/]' \| \ 6492 X"$as_dir" : 'X\(//\)$' \| \ 6493 X"$as_dir" : 'X\(/\)' \| \ 6494 . : '\(.\)' 2>/dev/null || 6495echo X"$as_dir" | 6496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6497 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6498 /^X\(\/\/\)$/{ s//\1/; q; } 6499 /^X\(\/\).*/{ s//\1/; q; } 6500 s/.*/./; q'` 6501 done 6502 test ! -n "$as_dirs" || mkdir $as_dirs 6503 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6504echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6505 { (exit 1); exit 1; }; }; } 6506 6507 ac_builddir=. 6508 6509if test "$ac_dir" != .; then 6510 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6511 # A "../" for each directory in $ac_dir_suffix. 6512 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6513else 6514 ac_dir_suffix= ac_top_builddir= 6515fi 6516 6517case $srcdir in 6518 .) # No --srcdir option. We are building in place. 6519 ac_srcdir=. 6520 if test -z "$ac_top_builddir"; then 6521 ac_top_srcdir=. 6522 else 6523 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 6524 fi ;; 6525 [\\/]* | ?:[\\/]* ) # Absolute path. 6526 ac_srcdir=$srcdir$ac_dir_suffix; 6527 ac_top_srcdir=$srcdir ;; 6528 *) # Relative path. 6529 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 6530 ac_top_srcdir=$ac_top_builddir$srcdir ;; 6531esac 6532 6533# Do not use `cd foo && pwd` to compute absolute paths, because 6534# the directories may not exist. 6535case `pwd` in 6536.) ac_abs_builddir="$ac_dir";; 6537*) 6538 case "$ac_dir" in 6539 .) ac_abs_builddir=`pwd`;; 6540 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 6541 *) ac_abs_builddir=`pwd`/"$ac_dir";; 6542 esac;; 6543esac 6544case $ac_abs_builddir in 6545.) ac_abs_top_builddir=${ac_top_builddir}.;; 6546*) 6547 case ${ac_top_builddir}. in 6548 .) ac_abs_top_builddir=$ac_abs_builddir;; 6549 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 6550 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 6551 esac;; 6552esac 6553case $ac_abs_builddir in 6554.) ac_abs_srcdir=$ac_srcdir;; 6555*) 6556 case $ac_srcdir in 6557 .) ac_abs_srcdir=$ac_abs_builddir;; 6558 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 6559 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 6560 esac;; 6561esac 6562case $ac_abs_builddir in 6563.) ac_abs_top_srcdir=$ac_top_srcdir;; 6564*) 6565 case $ac_top_srcdir in 6566 .) ac_abs_top_srcdir=$ac_abs_builddir;; 6567 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 6568 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 6569 esac;; 6570esac 6571 6572 6573 case $INSTALL in 6574 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6575 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 6576 esac 6577 6578 if test x"$ac_file" != x-; then 6579 { echo "$as_me:$LINENO: creating $ac_file" >&5 6580echo "$as_me: creating $ac_file" >&6;} 6581 rm -f "$ac_file" 6582 fi 6583 # Let's still pretend it is `configure' which instantiates (i.e., don't 6584 # use $as_me), people would be surprised to read: 6585 # /* config.h. Generated by config.status. */ 6586 if test x"$ac_file" = x-; then 6587 configure_input= 6588 else 6589 configure_input="$ac_file. " 6590 fi 6591 configure_input=$configure_input"Generated from `echo $ac_file_in | 6592 sed 's,.*/,,'` by configure." 6593 6594 # First look for the input files in the build tree, otherwise in the 6595 # src tree. 6596 ac_file_inputs=`IFS=: 6597 for f in $ac_file_in; do 6598 case $f in 6599 -) echo $tmp/stdin ;; 6600 [\\/$]*) 6601 # Absolute (can't be DOS-style, as IFS=:) 6602 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6603echo "$as_me: error: cannot find input file: $f" >&2;} 6604 { (exit 1); exit 1; }; } 6605 echo "$f";; 6606 *) # Relative 6607 if test -f "$f"; then 6608 # Build tree 6609 echo "$f" 6610 elif test -f "$srcdir/$f"; then 6611 # Source tree 6612 echo "$srcdir/$f" 6613 else 6614 # /dev/null tree 6615 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6616echo "$as_me: error: cannot find input file: $f" >&2;} 6617 { (exit 1); exit 1; }; } 6618 fi;; 6619 esac 6620 done` || { (exit 1); exit 1; } 6621_ACEOF 6622cat >>$CONFIG_STATUS <<_ACEOF 6623 sed "$ac_vpsub 6624$extrasub 6625_ACEOF 6626cat >>$CONFIG_STATUS <<\_ACEOF 6627:t 6628/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6629s,@configure_input@,$configure_input,;t t 6630s,@srcdir@,$ac_srcdir,;t t 6631s,@abs_srcdir@,$ac_abs_srcdir,;t t 6632s,@top_srcdir@,$ac_top_srcdir,;t t 6633s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 6634s,@builddir@,$ac_builddir,;t t 6635s,@abs_builddir@,$ac_abs_builddir,;t t 6636s,@top_builddir@,$ac_top_builddir,;t t 6637s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 6638s,@INSTALL@,$ac_INSTALL,;t t 6639" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 6640 rm -f $tmp/stdin 6641 if test x"$ac_file" != x-; then 6642 mv $tmp/out $ac_file 6643 else 6644 cat $tmp/out 6645 rm -f $tmp/out 6646 fi 6647 6648done 6649_ACEOF 6650cat >>$CONFIG_STATUS <<\_ACEOF 6651 6652# 6653# CONFIG_COMMANDS section. 6654# 6655for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 6656 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 6657 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 6658 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 6659$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6660 X"$ac_dest" : 'X\(//\)[^/]' \| \ 6661 X"$ac_dest" : 'X\(//\)$' \| \ 6662 X"$ac_dest" : 'X\(/\)' \| \ 6663 . : '\(.\)' 2>/dev/null || 6664echo X"$ac_dest" | 6665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6666 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6667 /^X\(\/\/\)$/{ s//\1/; q; } 6668 /^X\(\/\).*/{ s//\1/; q; } 6669 s/.*/./; q'` 6670 { if $as_mkdir_p; then 6671 mkdir -p "$ac_dir" 6672 else 6673 as_dir="$ac_dir" 6674 as_dirs= 6675 while test ! -d "$as_dir"; do 6676 as_dirs="$as_dir $as_dirs" 6677 as_dir=`(dirname "$as_dir") 2>/dev/null || 6678$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6679 X"$as_dir" : 'X\(//\)[^/]' \| \ 6680 X"$as_dir" : 'X\(//\)$' \| \ 6681 X"$as_dir" : 'X\(/\)' \| \ 6682 . : '\(.\)' 2>/dev/null || 6683echo X"$as_dir" | 6684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6685 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6686 /^X\(\/\/\)$/{ s//\1/; q; } 6687 /^X\(\/\).*/{ s//\1/; q; } 6688 s/.*/./; q'` 6689 done 6690 test ! -n "$as_dirs" || mkdir $as_dirs 6691 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6692echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6693 { (exit 1); exit 1; }; }; } 6694 6695 ac_builddir=. 6696 6697if test "$ac_dir" != .; then 6698 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6699 # A "../" for each directory in $ac_dir_suffix. 6700 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6701else 6702 ac_dir_suffix= ac_top_builddir= 6703fi 6704 6705case $srcdir in 6706 .) # No --srcdir option. We are building in place. 6707 ac_srcdir=. 6708 if test -z "$ac_top_builddir"; then 6709 ac_top_srcdir=. 6710 else 6711 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 6712 fi ;; 6713 [\\/]* | ?:[\\/]* ) # Absolute path. 6714 ac_srcdir=$srcdir$ac_dir_suffix; 6715 ac_top_srcdir=$srcdir ;; 6716 *) # Relative path. 6717 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 6718 ac_top_srcdir=$ac_top_builddir$srcdir ;; 6719esac 6720 6721# Do not use `cd foo && pwd` to compute absolute paths, because 6722# the directories may not exist. 6723case `pwd` in 6724.) ac_abs_builddir="$ac_dir";; 6725*) 6726 case "$ac_dir" in 6727 .) ac_abs_builddir=`pwd`;; 6728 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 6729 *) ac_abs_builddir=`pwd`/"$ac_dir";; 6730 esac;; 6731esac 6732case $ac_abs_builddir in 6733.) ac_abs_top_builddir=${ac_top_builddir}.;; 6734*) 6735 case ${ac_top_builddir}. in 6736 .) ac_abs_top_builddir=$ac_abs_builddir;; 6737 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 6738 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 6739 esac;; 6740esac 6741case $ac_abs_builddir in 6742.) ac_abs_srcdir=$ac_srcdir;; 6743*) 6744 case $ac_srcdir in 6745 .) ac_abs_srcdir=$ac_abs_builddir;; 6746 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 6747 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 6748 esac;; 6749esac 6750case $ac_abs_builddir in 6751.) ac_abs_top_srcdir=$ac_top_srcdir;; 6752*) 6753 case $ac_top_srcdir in 6754 .) ac_abs_top_srcdir=$ac_abs_builddir;; 6755 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 6756 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 6757 esac;; 6758esac 6759 6760 6761 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 6762echo "$as_me: executing $ac_dest commands" >&6;} 6763 case $ac_dest in 6764 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 6765 # Strip MF so we end up with the name of the file. 6766 mf=`echo "$mf" | sed -e 's/:.*$//'` 6767 # Check whether this is an Automake generated Makefile or not. 6768 # We used to match only the files named `Makefile.in', but 6769 # some people rename them; so instead we look at the file content. 6770 # Grep'ing the first line is not enough: some people post-process 6771 # each Makefile.in and add a new line on top of each file to say so. 6772 # So let's grep whole file. 6773 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 6774 dirpart=`(dirname "$mf") 2>/dev/null || 6775$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6776 X"$mf" : 'X\(//\)[^/]' \| \ 6777 X"$mf" : 'X\(//\)$' \| \ 6778 X"$mf" : 'X\(/\)' \| \ 6779 . : '\(.\)' 2>/dev/null || 6780echo X"$mf" | 6781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6782 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6783 /^X\(\/\/\)$/{ s//\1/; q; } 6784 /^X\(\/\).*/{ s//\1/; q; } 6785 s/.*/./; q'` 6786 else 6787 continue 6788 fi 6789 # Extract the definition of DEPDIR, am__include, and am__quote 6790 # from the Makefile without running `make'. 6791 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6792 test -z "$DEPDIR" && continue 6793 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6794 test -z "am__include" && continue 6795 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6796 # When using ansi2knr, U may be empty or an underscore; expand it 6797 U=`sed -n 's/^U = //p' < "$mf"` 6798 # Find all dependency output files, they are included files with 6799 # $(DEPDIR) in their names. We invoke sed twice because it is the 6800 # simplest approach to changing $(DEPDIR) to its actual value in the 6801 # expansion. 6802 for file in `sed -n " 6803 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6804 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6805 # Make sure the directory exists. 6806 test -f "$dirpart/$file" && continue 6807 fdir=`(dirname "$file") 2>/dev/null || 6808$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6809 X"$file" : 'X\(//\)[^/]' \| \ 6810 X"$file" : 'X\(//\)$' \| \ 6811 X"$file" : 'X\(/\)' \| \ 6812 . : '\(.\)' 2>/dev/null || 6813echo X"$file" | 6814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6815 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6816 /^X\(\/\/\)$/{ s//\1/; q; } 6817 /^X\(\/\).*/{ s//\1/; q; } 6818 s/.*/./; q'` 6819 { if $as_mkdir_p; then 6820 mkdir -p $dirpart/$fdir 6821 else 6822 as_dir=$dirpart/$fdir 6823 as_dirs= 6824 while test ! -d "$as_dir"; do 6825 as_dirs="$as_dir $as_dirs" 6826 as_dir=`(dirname "$as_dir") 2>/dev/null || 6827$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6828 X"$as_dir" : 'X\(//\)[^/]' \| \ 6829 X"$as_dir" : 'X\(//\)$' \| \ 6830 X"$as_dir" : 'X\(/\)' \| \ 6831 . : '\(.\)' 2>/dev/null || 6832echo X"$as_dir" | 6833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6834 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6835 /^X\(\/\/\)$/{ s//\1/; q; } 6836 /^X\(\/\).*/{ s//\1/; q; } 6837 s/.*/./; q'` 6838 done 6839 test ! -n "$as_dirs" || mkdir $as_dirs 6840 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 6841echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 6842 { (exit 1); exit 1; }; }; } 6843 6844 # echo "creating $dirpart/$file" 6845 echo '# dummy' > "$dirpart/$file" 6846 done 6847done 6848 ;; 6849 esac 6850done 6851_ACEOF 6852 6853cat >>$CONFIG_STATUS <<\_ACEOF 6854 6855{ (exit 0); exit 0; } 6856_ACEOF 6857chmod +x $CONFIG_STATUS 6858ac_clean_files=$ac_clean_files_save 6859 6860 6861# configure is writing to config.log, and then calls config.status. 6862# config.status does its own redirection, appending to config.log. 6863# Unfortunately, on DOS this fails, as config.log is still kept open 6864# by configure, so config.status won't be able to write to it; its 6865# output is simply discarded. So we exec the FD to /dev/null, 6866# effectively closing config.log, so it can be properly (re)opened and 6867# appended to by config.status. When coming back to configure, we 6868# need to make the FD available again. 6869if test "$no_create" != yes; then 6870 ac_cs_success=: 6871 ac_config_status_args= 6872 test "$silent" = yes && 6873 ac_config_status_args="$ac_config_status_args --quiet" 6874 exec 5>/dev/null 6875 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6876 exec 5>>config.log 6877 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6878 # would make configure fail if this is the last instruction. 6879 $ac_cs_success || { (exit 1); exit 1; } 6880fi 6881 6882