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