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