1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.53. 4@%:@ 5@%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6@%:@ Free Software Foundation, Inc. 7@%:@ This configure script is free software; the Free Software Foundation 8@%:@ gives unlimited permission to copy, distribute and modify it. 9 10if expr a : '\(a\)' >/dev/null 2>&1; then 11 as_expr=expr 12else 13 as_expr=false 14fi 15 16 17## --------------------- ## 18## M4sh Initialization. ## 19## --------------------- ## 20 21# Be Bourne compatible 22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 23 emulate sh 24 NULLCMD=: 25elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 26 set -o posix 27fi 28 29# NLS nuisances. 30# Support unset when possible. 31if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 32 as_unset=unset 33else 34 as_unset=false 35fi 36 37(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 38 { $as_unset LANG || test "${LANG+set}" != set; } || 39 { LANG=C; export LANG; } 40(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 42 { LC_ALL=C; export LC_ALL; } 43(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 45 { LC_TIME=C; export LC_TIME; } 46(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 48 { LC_CTYPE=C; export LC_CTYPE; } 49(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 51 { LANGUAGE=C; export LANGUAGE; } 52(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 54 { LC_COLLATE=C; export LC_COLLATE; } 55(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 57 { LC_NUMERIC=C; export LC_NUMERIC; } 58(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 60 { LC_MESSAGES=C; export LC_MESSAGES; } 61 62 63# Name of the executable. 64as_me=`(basename "$0") 2>/dev/null || 65$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 66 X"$0" : 'X\(//\)$' \| \ 67 X"$0" : 'X\(/\)$' \| \ 68 . : '\(.\)' 2>/dev/null || 69echo X/"$0" | 70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 71 /^X\/\(\/\/\)$/{ s//\1/; q; } 72 /^X\/\(\/\).*/{ s//\1/; q; } 73 s/.*/./; q'` 74 75# PATH needs CR, and LINENO needs CR and PATH. 76# Avoid depending upon Character Ranges. 77as_cr_letters='abcdefghijklmnopqrstuvwxyz' 78as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 79as_cr_Letters=$as_cr_letters$as_cr_LETTERS 80as_cr_digits='0123456789' 81as_cr_alnum=$as_cr_Letters$as_cr_digits 82 83# The user is always right. 84if test "${PATH_SEPARATOR+set}" != set; then 85 echo "#! /bin/sh" >conftest.sh 86 echo "exit 0" >>conftest.sh 87 chmod +x conftest.sh 88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 89 PATH_SEPARATOR=';' 90 else 91 PATH_SEPARATOR=: 92 fi 93 rm -f conftest.sh 94fi 95 96 97 as_lineno_1=$LINENO 98 as_lineno_2=$LINENO 99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 100 test "x$as_lineno_1" != "x$as_lineno_2" && 101 test "x$as_lineno_3" = "x$as_lineno_2" || { 102 # Find who we are. Look in the path if we contain no path at all 103 # relative or not. 104 case $0 in 105 *[\\/]* ) as_myself=$0 ;; 106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 107for as_dir in $PATH 108do 109 IFS=$as_save_IFS 110 test -z "$as_dir" && as_dir=. 111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 112done 113 114 ;; 115 esac 116 # We did not find ourselves, most probably we were run as `sh COMMAND' 117 # in which case we are not to be found in the path. 118 if test "x$as_myself" = x; then 119 as_myself=$0 120 fi 121 if test ! -f "$as_myself"; then 122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 123 { (exit 1); exit 1; }; } 124 fi 125 case $CONFIG_SHELL in 126 '') 127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 128for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 129do 130 IFS=$as_save_IFS 131 test -z "$as_dir" && as_dir=. 132 for as_base in sh bash ksh sh5; do 133 case $as_dir in 134 /*) 135 if ("$as_dir/$as_base" -c ' 136 as_lineno_1=$LINENO 137 as_lineno_2=$LINENO 138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 139 test "x$as_lineno_1" != "x$as_lineno_2" && 140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 141 CONFIG_SHELL=$as_dir/$as_base 142 export CONFIG_SHELL 143 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 144 fi;; 145 esac 146 done 147done 148;; 149 esac 150 151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 152 # uniformly replaced by the line number. The first 'sed' inserts a 153 # line-number line before each line; the second 'sed' does the real 154 # work. The second script uses 'N' to pair each line-number line 155 # with the numbered line, and appends trailing '-' during 156 # substitution so that $LINENO is not a special case at line end. 157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 159 sed '=' <$as_myself | 160 sed ' 161 N 162 s,$,-, 163 : loop 164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 165 t loop 166 s,-$,, 167 s,^['$as_cr_digits']*\n,, 168 ' >$as_me.lineno && 169 chmod +x $as_me.lineno || 170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 171 { (exit 1); exit 1; }; } 172 173 # Don't try to exec as it changes $[0], causing all sort of problems 174 # (the dirname of $[0] is not the place where we might find the 175 # original and so on. Autoconf is especially sensible to this). 176 . ./$as_me.lineno 177 # Exit status is that of the last command. 178 exit 179} 180 181 182case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 183 *c*,-n*) ECHO_N= ECHO_C=' 184' ECHO_T=' ' ;; 185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 187esac 188 189if expr a : '\(a\)' >/dev/null 2>&1; then 190 as_expr=expr 191else 192 as_expr=false 193fi 194 195rm -f conf$$ conf$$.exe conf$$.file 196echo >conf$$.file 197if ln -s conf$$.file conf$$ 2>/dev/null; then 198 # We could just check for DJGPP; but this test a) works b) is more generic 199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 200 if test -f conf$$.exe; then 201 # Don't use ln at all; we don't have any links 202 as_ln_s='cp -p' 203 else 204 as_ln_s='ln -s' 205 fi 206elif ln conf$$.file conf$$ 2>/dev/null; then 207 as_ln_s=ln 208else 209 as_ln_s='cp -p' 210fi 211rm -f conf$$ conf$$.exe conf$$.file 212 213as_executable_p="test -f" 214 215# Sed expression to map a string onto a valid CPP name. 216as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 217 218# Sed expression to map a string onto a valid variable name. 219as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 220 221 222# IFS 223# We need space, tab and new line, in precisely that order. 224as_nl=' 225' 226IFS=" $as_nl" 227 228# CDPATH. 229$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 230 231 232# Name of the host. 233# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 234# so uname gets run too. 235ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 236 237exec 6>&1 238 239# 240# Initializations. 241# 242ac_default_prefix=/usr/local 243cross_compiling=no 244subdirs= 245MFLAGS= 246MAKEFLAGS= 247SHELL=${CONFIG_SHELL-/bin/sh} 248 249# Maximum number of lines to put in a shell here document. 250# This variable seems obsolete. It should probably be removed, and 251# only ac_max_sed_lines should be used. 252: ${ac_max_here_lines=38} 253 254# Identity of this package. 255PACKAGE_NAME= 256PACKAGE_TARNAME= 257PACKAGE_VERSION= 258PACKAGE_STRING= 259PACKAGE_BUGREPORT= 260 261ac_unique_file="" 262# Factoring default headers for most tests. 263ac_includes_default="\ 264#include <stdio.h> 265#if HAVE_SYS_TYPES_H 266# include <sys/types.h> 267#endif 268#if HAVE_SYS_STAT_H 269# include <sys/stat.h> 270#endif 271#if STDC_HEADERS 272# include <stdlib.h> 273# include <stddef.h> 274#else 275# if HAVE_STDLIB_H 276# include <stdlib.h> 277# endif 278#endif 279#if HAVE_STRING_H 280# if !STDC_HEADERS && HAVE_MEMORY_H 281# include <memory.h> 282# endif 283# include <string.h> 284#endif 285#if HAVE_STRINGS_H 286# include <strings.h> 287#endif 288#if HAVE_INTTYPES_H 289# include <inttypes.h> 290#else 291# if HAVE_STDINT_H 292# include <stdint.h> 293# endif 294#endif 295#if HAVE_UNISTD_H 296# include <unistd.h> 297#endif" 298 299 300# Initialize some variables set by options. 301ac_init_help= 302ac_init_version=false 303# The variables have the same names as the options, with 304# dashes changed to underlines. 305cache_file=/dev/null 306exec_prefix=NONE 307no_create= 308no_recursion= 309prefix=NONE 310program_prefix=NONE 311program_suffix=NONE 312program_transform_name=s,x,x, 313silent= 314site= 315srcdir= 316verbose= 317x_includes=NONE 318x_libraries=NONE 319 320# Installation directory options. 321# These are left unexpanded so users can "make install exec_prefix=/foo" 322# and all the variables that are supposed to be based on exec_prefix 323# by default will actually change. 324# Use braces instead of parens because sh, perl, etc. also accept them. 325bindir='${exec_prefix}/bin' 326sbindir='${exec_prefix}/sbin' 327libexecdir='${exec_prefix}/libexec' 328datadir='${prefix}/share' 329sysconfdir='${prefix}/etc' 330sharedstatedir='${prefix}/com' 331localstatedir='${prefix}/var' 332libdir='${exec_prefix}/lib' 333includedir='${prefix}/include' 334oldincludedir='/usr/include' 335infodir='${prefix}/info' 336mandir='${prefix}/man' 337 338ac_prev= 339for ac_option 340do 341 # If the previous option needs an argument, assign it. 342 if test -n "$ac_prev"; then 343 eval "$ac_prev=\$ac_option" 344 ac_prev= 345 continue 346 fi 347 348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 349 350 # Accept the important Cygnus configure options, so we can diagnose typos. 351 352 case $ac_option in 353 354 -bindir | --bindir | --bindi | --bind | --bin | --bi) 355 ac_prev=bindir ;; 356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 357 bindir=$ac_optarg ;; 358 359 -build | --build | --buil | --bui | --bu) 360 ac_prev=build_alias ;; 361 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 362 build_alias=$ac_optarg ;; 363 364 -cache-file | --cache-file | --cache-fil | --cache-fi \ 365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 366 ac_prev=cache_file ;; 367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 369 cache_file=$ac_optarg ;; 370 371 --config-cache | -C) 372 cache_file=config.cache ;; 373 374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 375 ac_prev=datadir ;; 376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 377 | --da=*) 378 datadir=$ac_optarg ;; 379 380 -disable-* | --disable-*) 381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 382 # Reject names that are not valid shell variable names. 383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 385 { (exit 1); exit 1; }; } 386 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 387 eval "enable_$ac_feature=no" ;; 388 389 -enable-* | --enable-*) 390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 391 # Reject names that are not valid shell variable names. 392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 394 { (exit 1); exit 1; }; } 395 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 396 case $ac_option in 397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 398 *) ac_optarg=yes ;; 399 esac 400 eval "enable_$ac_feature='$ac_optarg'" ;; 401 402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 404 | --exec | --exe | --ex) 405 ac_prev=exec_prefix ;; 406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 408 | --exec=* | --exe=* | --ex=*) 409 exec_prefix=$ac_optarg ;; 410 411 -gas | --gas | --ga | --g) 412 # Obsolete; use --with-gas. 413 with_gas=yes ;; 414 415 -help | --help | --hel | --he | -h) 416 ac_init_help=long ;; 417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 418 ac_init_help=recursive ;; 419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 420 ac_init_help=short ;; 421 422 -host | --host | --hos | --ho) 423 ac_prev=host_alias ;; 424 -host=* | --host=* | --hos=* | --ho=*) 425 host_alias=$ac_optarg ;; 426 427 -includedir | --includedir | --includedi | --included | --include \ 428 | --includ | --inclu | --incl | --inc) 429 ac_prev=includedir ;; 430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 431 | --includ=* | --inclu=* | --incl=* | --inc=*) 432 includedir=$ac_optarg ;; 433 434 -infodir | --infodir | --infodi | --infod | --info | --inf) 435 ac_prev=infodir ;; 436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 437 infodir=$ac_optarg ;; 438 439 -libdir | --libdir | --libdi | --libd) 440 ac_prev=libdir ;; 441 -libdir=* | --libdir=* | --libdi=* | --libd=*) 442 libdir=$ac_optarg ;; 443 444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 445 | --libexe | --libex | --libe) 446 ac_prev=libexecdir ;; 447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 448 | --libexe=* | --libex=* | --libe=*) 449 libexecdir=$ac_optarg ;; 450 451 -localstatedir | --localstatedir | --localstatedi | --localstated \ 452 | --localstate | --localstat | --localsta | --localst \ 453 | --locals | --local | --loca | --loc | --lo) 454 ac_prev=localstatedir ;; 455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 458 localstatedir=$ac_optarg ;; 459 460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 461 ac_prev=mandir ;; 462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 463 mandir=$ac_optarg ;; 464 465 -nfp | --nfp | --nf) 466 # Obsolete; use --without-fp. 467 with_fp=no ;; 468 469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 470 | --no-cr | --no-c | -n) 471 no_create=yes ;; 472 473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 475 no_recursion=yes ;; 476 477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 479 | --oldin | --oldi | --old | --ol | --o) 480 ac_prev=oldincludedir ;; 481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 484 oldincludedir=$ac_optarg ;; 485 486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 487 ac_prev=prefix ;; 488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 489 prefix=$ac_optarg ;; 490 491 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 492 | --program-pre | --program-pr | --program-p) 493 ac_prev=program_prefix ;; 494 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 496 program_prefix=$ac_optarg ;; 497 498 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 499 | --program-suf | --program-su | --program-s) 500 ac_prev=program_suffix ;; 501 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 503 program_suffix=$ac_optarg ;; 504 505 -program-transform-name | --program-transform-name \ 506 | --program-transform-nam | --program-transform-na \ 507 | --program-transform-n | --program-transform- \ 508 | --program-transform | --program-transfor \ 509 | --program-transfo | --program-transf \ 510 | --program-trans | --program-tran \ 511 | --progr-tra | --program-tr | --program-t) 512 ac_prev=program_transform_name ;; 513 -program-transform-name=* | --program-transform-name=* \ 514 | --program-transform-nam=* | --program-transform-na=* \ 515 | --program-transform-n=* | --program-transform-=* \ 516 | --program-transform=* | --program-transfor=* \ 517 | --program-transfo=* | --program-transf=* \ 518 | --program-trans=* | --program-tran=* \ 519 | --progr-tra=* | --program-tr=* | --program-t=*) 520 program_transform_name=$ac_optarg ;; 521 522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 523 | -silent | --silent | --silen | --sile | --sil) 524 silent=yes ;; 525 526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 527 ac_prev=sbindir ;; 528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 529 | --sbi=* | --sb=*) 530 sbindir=$ac_optarg ;; 531 532 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 534 | --sharedst | --shareds | --shared | --share | --shar \ 535 | --sha | --sh) 536 ac_prev=sharedstatedir ;; 537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 540 | --sha=* | --sh=*) 541 sharedstatedir=$ac_optarg ;; 542 543 -site | --site | --sit) 544 ac_prev=site ;; 545 -site=* | --site=* | --sit=*) 546 site=$ac_optarg ;; 547 548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 549 ac_prev=srcdir ;; 550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 551 srcdir=$ac_optarg ;; 552 553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 554 | --syscon | --sysco | --sysc | --sys | --sy) 555 ac_prev=sysconfdir ;; 556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 558 sysconfdir=$ac_optarg ;; 559 560 -target | --target | --targe | --targ | --tar | --ta | --t) 561 ac_prev=target_alias ;; 562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 563 target_alias=$ac_optarg ;; 564 565 -v | -verbose | --verbose | --verbos | --verbo | --verb) 566 verbose=yes ;; 567 568 -version | --version | --versio | --versi | --vers | -V) 569 ac_init_version=: ;; 570 571 -with-* | --with-*) 572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 573 # Reject names that are not valid shell variable names. 574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 575 { echo "$as_me: error: invalid package name: $ac_package" >&2 576 { (exit 1); exit 1; }; } 577 ac_package=`echo $ac_package| sed 's/-/_/g'` 578 case $ac_option in 579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 580 *) ac_optarg=yes ;; 581 esac 582 eval "with_$ac_package='$ac_optarg'" ;; 583 584 -without-* | --without-*) 585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 586 # Reject names that are not valid shell variable names. 587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 588 { echo "$as_me: error: invalid package name: $ac_package" >&2 589 { (exit 1); exit 1; }; } 590 ac_package=`echo $ac_package | sed 's/-/_/g'` 591 eval "with_$ac_package=no" ;; 592 593 --x) 594 # Obsolete; use --with-x. 595 with_x=yes ;; 596 597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 598 | --x-incl | --x-inc | --x-in | --x-i) 599 ac_prev=x_includes ;; 600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 602 x_includes=$ac_optarg ;; 603 604 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 606 ac_prev=x_libraries ;; 607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 609 x_libraries=$ac_optarg ;; 610 611 -*) { echo "$as_me: error: unrecognized option: $ac_option 612Try \`$0 --help' for more information." >&2 613 { (exit 1); exit 1; }; } 614 ;; 615 616 *=*) 617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 618 # Reject names that are not valid shell variable names. 619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 621 { (exit 1); exit 1; }; } 622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 623 eval "$ac_envvar='$ac_optarg'" 624 export $ac_envvar ;; 625 626 *) 627 # FIXME: should be removed in autoconf 3.0. 628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 632 ;; 633 634 esac 635done 636 637if test -n "$ac_prev"; then 638 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 639 { echo "$as_me: error: missing argument to $ac_option" >&2 640 { (exit 1); exit 1; }; } 641fi 642 643# Be sure to have absolute paths. 644for ac_var in exec_prefix prefix 645do 646 eval ac_val=$`echo $ac_var` 647 case $ac_val in 648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 650 { (exit 1); exit 1; }; };; 651 esac 652done 653 654# Be sure to have absolute paths. 655for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 656 localstatedir libdir includedir oldincludedir infodir mandir 657do 658 eval ac_val=$`echo $ac_var` 659 case $ac_val in 660 [\\/$]* | ?:[\\/]* ) ;; 661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 662 { (exit 1); exit 1; }; };; 663 esac 664done 665 666# There might be people who depend on the old broken behavior: `$host' 667# used to hold the argument of --host etc. 668# FIXME: To remove some day. 669build=$build_alias 670host=$host_alias 671target=$target_alias 672 673# FIXME: To remove some day. 674if test "x$host_alias" != x; then 675 if test "x$build_alias" = x; then 676 cross_compiling=maybe 677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 678 If a cross compiler is detected then cross compile mode will be used." >&2 679 elif test "x$build_alias" != "x$host_alias"; then 680 cross_compiling=yes 681 fi 682fi 683 684ac_tool_prefix= 685test -n "$host_alias" && ac_tool_prefix=$host_alias- 686 687test "$silent" = yes && exec 6>/dev/null 688 689 690# Find the source files, if location was not specified. 691if test -z "$srcdir"; then 692 ac_srcdir_defaulted=yes 693 # Try the directory containing this script, then its parent. 694 ac_confdir=`(dirname "$0") 2>/dev/null || 695$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 696 X"$0" : 'X\(//\)[^/]' \| \ 697 X"$0" : 'X\(//\)$' \| \ 698 X"$0" : 'X\(/\)' \| \ 699 . : '\(.\)' 2>/dev/null || 700echo X"$0" | 701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 702 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 703 /^X\(\/\/\)$/{ s//\1/; q; } 704 /^X\(\/\).*/{ s//\1/; q; } 705 s/.*/./; q'` 706 srcdir=$ac_confdir 707 if test ! -r $srcdir/$ac_unique_file; then 708 srcdir=.. 709 fi 710else 711 ac_srcdir_defaulted=no 712fi 713if test ! -r $srcdir/$ac_unique_file; then 714 if test "$ac_srcdir_defaulted" = yes; then 715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 716 { (exit 1); exit 1; }; } 717 else 718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 719 { (exit 1); exit 1; }; } 720 fi 721fi 722srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 723ac_env_build_alias_set=${build_alias+set} 724ac_env_build_alias_value=$build_alias 725ac_cv_env_build_alias_set=${build_alias+set} 726ac_cv_env_build_alias_value=$build_alias 727ac_env_host_alias_set=${host_alias+set} 728ac_env_host_alias_value=$host_alias 729ac_cv_env_host_alias_set=${host_alias+set} 730ac_cv_env_host_alias_value=$host_alias 731ac_env_target_alias_set=${target_alias+set} 732ac_env_target_alias_value=$target_alias 733ac_cv_env_target_alias_set=${target_alias+set} 734ac_cv_env_target_alias_value=$target_alias 735ac_env_CC_set=${CC+set} 736ac_env_CC_value=$CC 737ac_cv_env_CC_set=${CC+set} 738ac_cv_env_CC_value=$CC 739ac_env_CFLAGS_set=${CFLAGS+set} 740ac_env_CFLAGS_value=$CFLAGS 741ac_cv_env_CFLAGS_set=${CFLAGS+set} 742ac_cv_env_CFLAGS_value=$CFLAGS 743ac_env_LDFLAGS_set=${LDFLAGS+set} 744ac_env_LDFLAGS_value=$LDFLAGS 745ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 746ac_cv_env_LDFLAGS_value=$LDFLAGS 747ac_env_CPPFLAGS_set=${CPPFLAGS+set} 748ac_env_CPPFLAGS_value=$CPPFLAGS 749ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 750ac_cv_env_CPPFLAGS_value=$CPPFLAGS 751ac_env_CPP_set=${CPP+set} 752ac_env_CPP_value=$CPP 753ac_cv_env_CPP_set=${CPP+set} 754ac_cv_env_CPP_value=$CPP 755 756# 757# Report the --help message. 758# 759if test "$ac_init_help" = "long"; then 760 # Omit some internal or obsolete options to make the list less imposing. 761 # This message is too long to be a string in the A/UX 3.1 sh. 762 cat <<_ACEOF 763\`configure' configures this package to adapt to many kinds of systems. 764 765Usage: $0 [OPTION]... [VAR=VALUE]... 766 767To assign environment variables (e.g., CC, CFLAGS...), specify them as 768VAR=VALUE. See below for descriptions of some of the useful variables. 769 770Defaults for the options are specified in brackets. 771 772Configuration: 773 -h, --help display this help and exit 774 --help=short display options specific to this package 775 --help=recursive display the short help of all the included packages 776 -V, --version display version information and exit 777 -q, --quiet, --silent do not print \`checking...' messages 778 --cache-file=FILE cache test results in FILE [disabled] 779 -C, --config-cache alias for \`--cache-file=config.cache' 780 -n, --no-create do not create output files 781 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 782 783_ACEOF 784 785 cat <<_ACEOF 786Installation directories: 787 --prefix=PREFIX install architecture-independent files in PREFIX 788 [$ac_default_prefix] 789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 790 [PREFIX] 791 792By default, \`make install' will install all the files in 793\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 794an installation prefix other than \`$ac_default_prefix' using \`--prefix', 795for instance \`--prefix=\$HOME'. 796 797For better control, use the options below. 798 799Fine tuning of the installation directories: 800 --bindir=DIR user executables [EPREFIX/bin] 801 --sbindir=DIR system admin executables [EPREFIX/sbin] 802 --libexecdir=DIR program executables [EPREFIX/libexec] 803 --datadir=DIR read-only architecture-independent data [PREFIX/share] 804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 806 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 807 --libdir=DIR object code libraries [EPREFIX/lib] 808 --includedir=DIR C header files [PREFIX/include] 809 --oldincludedir=DIR C header files for non-gcc [/usr/include] 810 --infodir=DIR info documentation [PREFIX/info] 811 --mandir=DIR man documentation [PREFIX/man] 812_ACEOF 813 814 cat <<\_ACEOF 815 816Program names: 817 --program-prefix=PREFIX prepend PREFIX to installed program names 818 --program-suffix=SUFFIX append SUFFIX to installed program names 819 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 820_ACEOF 821fi 822 823if test -n "$ac_init_help"; then 824 825 cat <<\_ACEOF 826 827Optional Features: 828 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 829 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 830 --disable-dependency-tracking Speeds up one-time builds 831 --enable-dependency-tracking Do not reject slow dependency extractors 832 833Some influential environment variables: 834 CC C compiler command 835 CFLAGS C compiler flags 836 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 837 nonstandard directory <lib dir> 838 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 839 headers in a nonstandard directory <include dir> 840 CPP C preprocessor 841 842Use these variables to override the choices made by `configure' or to help 843it to find libraries and programs with nonstandard names/locations. 844 845_ACEOF 846fi 847 848if test "$ac_init_help" = "recursive"; then 849 # If there are subdirs, report their specific --help. 850 ac_popdir=`pwd` 851 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 852 test -d $ac_dir || continue 853 ac_builddir=. 854 855if test "$ac_dir" != .; then 856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 857 # A "../" for each directory in $ac_dir_suffix. 858 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 859else 860 ac_dir_suffix= ac_top_builddir= 861fi 862 863case $srcdir in 864 .) # No --srcdir option. We are building in place. 865 ac_srcdir=. 866 if test -z "$ac_top_builddir"; then 867 ac_top_srcdir=. 868 else 869 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 870 fi ;; 871 [\\/]* | ?:[\\/]* ) # Absolute path. 872 ac_srcdir=$srcdir$ac_dir_suffix; 873 ac_top_srcdir=$srcdir ;; 874 *) # Relative path. 875 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 876 ac_top_srcdir=$ac_top_builddir$srcdir ;; 877esac 878# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 879# absolute. 880ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 881ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 882ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 883ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 884 885 cd $ac_dir 886 # Check for guested configure; otherwise get Cygnus style configure. 887 if test -f $ac_srcdir/configure.gnu; then 888 echo 889 $SHELL $ac_srcdir/configure.gnu --help=recursive 890 elif test -f $ac_srcdir/configure; then 891 echo 892 $SHELL $ac_srcdir/configure --help=recursive 893 elif test -f $ac_srcdir/configure.ac || 894 test -f $ac_srcdir/configure.in; then 895 echo 896 $ac_configure --help 897 else 898 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 899 fi 900 cd $ac_popdir 901 done 902fi 903 904test -n "$ac_init_help" && exit 0 905if $ac_init_version; then 906 cat <<\_ACEOF 907 908Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 909Free Software Foundation, Inc. 910This configure script is free software; the Free Software Foundation 911gives unlimited permission to copy, distribute and modify it. 912_ACEOF 913 exit 0 914fi 915exec 5>config.log 916cat >&5 <<_ACEOF 917This file contains any messages produced by compilers while 918running configure, to aid debugging if configure makes a mistake. 919 920It was created by $as_me, which was 921generated by GNU Autoconf 2.53. Invocation command line was 922 923 $ $0 $@ 924 925_ACEOF 926{ 927cat <<_ASUNAME 928@%:@@%:@ --------- @%:@@%:@ 929@%:@@%:@ Platform. @%:@@%:@ 930@%:@@%:@ --------- @%:@@%:@ 931 932hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 933uname -m = `(uname -m) 2>/dev/null || echo unknown` 934uname -r = `(uname -r) 2>/dev/null || echo unknown` 935uname -s = `(uname -s) 2>/dev/null || echo unknown` 936uname -v = `(uname -v) 2>/dev/null || echo unknown` 937 938/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 939/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 940 941/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 942/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 943/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 944hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 945/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 946/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 947/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 948 949_ASUNAME 950 951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 952for as_dir in $PATH 953do 954 IFS=$as_save_IFS 955 test -z "$as_dir" && as_dir=. 956 echo "PATH: $as_dir" 957done 958 959} >&5 960 961cat >&5 <<_ACEOF 962 963 964@%:@@%:@ ----------- @%:@@%:@ 965@%:@@%:@ Core tests. @%:@@%:@ 966@%:@@%:@ ----------- @%:@@%:@ 967 968_ACEOF 969 970 971# Keep a trace of the command line. 972# Strip out --no-create and --no-recursion so they do not pile up. 973# Also quote any args containing shell meta-characters. 974ac_configure_args= 975ac_sep= 976for ac_arg 977do 978 case $ac_arg in 979 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 980 | --no-cr | --no-c | -n ) continue ;; 981 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 982 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 983 continue ;; 984 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 985 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 986 esac 987 case " $ac_configure_args " in 988 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 989 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 990 ac_sep=" " ;; 991 esac 992 # Get rid of the leading space. 993done 994 995# When interrupted or exit'd, cleanup temporary files, and complete 996# config.log. We remove comments because anyway the quotes in there 997# would cause problems or look ugly. 998# WARNING: Be sure not to use single quotes in there, as some shells, 999# such as our DU 5.0 friend, will then `close' the trap. 1000trap 'exit_status=$? 1001 # Save into config.log some information that might help in debugging. 1002 { 1003 echo 1004 cat <<\_ASBOX 1005@%:@@%:@ ---------------- @%:@@%:@ 1006@%:@@%:@ Cache variables. @%:@@%:@ 1007@%:@@%:@ ---------------- @%:@@%:@ 1008_ASBOX 1009 echo 1010 # The following way of writing the cache mishandles newlines in values, 1011{ 1012 (set) 2>&1 | 1013 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1014 *ac_space=\ *) 1015 sed -n \ 1016 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1018 ;; 1019 *) 1020 sed -n \ 1021 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1022 ;; 1023 esac; 1024} 1025 echo 1026 if test -s confdefs.h; then 1027 cat <<\_ASBOX 1028@%:@@%:@ ----------- @%:@@%:@ 1029@%:@@%:@ confdefs.h. @%:@@%:@ 1030@%:@@%:@ ----------- @%:@@%:@ 1031_ASBOX 1032 echo 1033 sed "/^$/d" confdefs.h 1034 echo 1035 fi 1036 test "$ac_signal" != 0 && 1037 echo "$as_me: caught signal $ac_signal" 1038 echo "$as_me: exit $exit_status" 1039 } >&5 1040 rm -f core core.* *.core && 1041 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1042 exit $exit_status 1043 ' 0 1044for ac_signal in 1 2 13 15; do 1045 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1046done 1047ac_signal=0 1048 1049# confdefs.h avoids OS command line length limits that DEFS can exceed. 1050rm -rf conftest* confdefs.h 1051# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1052echo >confdefs.h 1053 1054# Predefined preprocessor variables. 1055 1056cat >>confdefs.h <<_ACEOF 1057@%:@define PACKAGE_NAME "$PACKAGE_NAME" 1058_ACEOF 1059 1060 1061cat >>confdefs.h <<_ACEOF 1062@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1063_ACEOF 1064 1065 1066cat >>confdefs.h <<_ACEOF 1067@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 1068_ACEOF 1069 1070 1071cat >>confdefs.h <<_ACEOF 1072@%:@define PACKAGE_STRING "$PACKAGE_STRING" 1073_ACEOF 1074 1075 1076cat >>confdefs.h <<_ACEOF 1077@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1078_ACEOF 1079 1080 1081# Let the site file select an alternate cache file if it wants to. 1082# Prefer explicitly selected file to automatically selected ones. 1083if test -z "$CONFIG_SITE"; then 1084 if test "x$prefix" != xNONE; then 1085 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1086 else 1087 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1088 fi 1089fi 1090for ac_site_file in $CONFIG_SITE; do 1091 if test -r "$ac_site_file"; then 1092 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1093echo "$as_me: loading site script $ac_site_file" >&6;} 1094 sed 's/^/| /' "$ac_site_file" >&5 1095 . "$ac_site_file" 1096 fi 1097done 1098 1099if test -r "$cache_file"; then 1100 # Some versions of bash will fail to source /dev/null (special 1101 # files actually), so we avoid doing that. 1102 if test -f "$cache_file"; then 1103 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1104echo "$as_me: loading cache $cache_file" >&6;} 1105 case $cache_file in 1106 [\\/]* | ?:[\\/]* ) . $cache_file;; 1107 *) . ./$cache_file;; 1108 esac 1109 fi 1110else 1111 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1112echo "$as_me: creating cache $cache_file" >&6;} 1113 >$cache_file 1114fi 1115 1116# Check that the precious variables saved in the cache have kept the same 1117# value. 1118ac_cache_corrupted=false 1119for ac_var in `(set) 2>&1 | 1120 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1121 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1122 eval ac_new_set=\$ac_env_${ac_var}_set 1123 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1124 eval ac_new_val="\$ac_env_${ac_var}_value" 1125 case $ac_old_set,$ac_new_set in 1126 set,) 1127 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1128echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1129 ac_cache_corrupted=: ;; 1130 ,set) 1131 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1132echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1133 ac_cache_corrupted=: ;; 1134 ,);; 1135 *) 1136 if test "x$ac_old_val" != "x$ac_new_val"; then 1137 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1138echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1139 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1140echo "$as_me: former value: $ac_old_val" >&2;} 1141 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1142echo "$as_me: current value: $ac_new_val" >&2;} 1143 ac_cache_corrupted=: 1144 fi;; 1145 esac 1146 # Pass precious variables to config.status. 1147 if test "$ac_new_set" = set; then 1148 case $ac_new_val in 1149 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1150 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1151 *) ac_arg=$ac_var=$ac_new_val ;; 1152 esac 1153 case " $ac_configure_args " in 1154 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1155 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1156 esac 1157 fi 1158done 1159if $ac_cache_corrupted; then 1160 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1161echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1162 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1163echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1164 { (exit 1); exit 1; }; } 1165fi 1166 1167ac_ext=c 1168ac_cpp='$CPP $CPPFLAGS' 1169ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1170ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1171ac_compiler_gnu=$ac_cv_c_compiler_gnu 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191ac_aux_dir= 1192for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1193 if test -f $ac_dir/install-sh; then 1194 ac_aux_dir=$ac_dir 1195 ac_install_sh="$ac_aux_dir/install-sh -c" 1196 break 1197 elif test -f $ac_dir/install.sh; then 1198 ac_aux_dir=$ac_dir 1199 ac_install_sh="$ac_aux_dir/install.sh -c" 1200 break 1201 elif test -f $ac_dir/shtool; then 1202 ac_aux_dir=$ac_dir 1203 ac_install_sh="$ac_aux_dir/shtool install -c" 1204 break 1205 fi 1206done 1207if test -z "$ac_aux_dir"; then 1208 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1209echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1210 { (exit 1); exit 1; }; } 1211fi 1212ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1213ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1214ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1215 1216# Find a good install program. We prefer a C program (faster), 1217# so one script is as good as another. But avoid the broken or 1218# incompatible versions: 1219# SysV /etc/install, /usr/sbin/install 1220# SunOS /usr/etc/install 1221# IRIX /sbin/install 1222# AIX /bin/install 1223# AmigaOS /C/install, which installs bootblocks on floppy discs 1224# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1225# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1226# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1227# ./install, which can be erroneously created by make from ./install.sh. 1228echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1229echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1230if test -z "$INSTALL"; then 1231if test "${ac_cv_path_install+set}" = set; then 1232 echo $ECHO_N "(cached) $ECHO_C" >&6 1233else 1234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1235for as_dir in $PATH 1236do 1237 IFS=$as_save_IFS 1238 test -z "$as_dir" && as_dir=. 1239 # Account for people who put trailing slashes in PATH elements. 1240case $as_dir/ in 1241 ./ | .// | /cC/* | \ 1242 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1243 /usr/ucb/* ) ;; 1244 *) 1245 # OSF1 and SCO ODT 3.0 have their own names for install. 1246 # Don't use installbsd from OSF since it installs stuff as root 1247 # by default. 1248 for ac_prog in ginstall scoinst install; do 1249 for ac_exec_ext in '' $ac_executable_extensions; do 1250 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1251 if test $ac_prog = install && 1252 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1253 # AIX install. It has an incompatible calling convention. 1254 : 1255 elif test $ac_prog = install && 1256 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1257 # program-specific install script used by HP pwplus--don't use. 1258 : 1259 else 1260 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1261 break 3 1262 fi 1263 fi 1264 done 1265 done 1266 ;; 1267esac 1268done 1269 1270 1271fi 1272 if test "${ac_cv_path_install+set}" = set; then 1273 INSTALL=$ac_cv_path_install 1274 else 1275 # As a last resort, use the slow shell script. We don't cache a 1276 # path for INSTALL within a source directory, because that will 1277 # break other packages using the cache if that directory is 1278 # removed, or if the path is relative. 1279 INSTALL=$ac_install_sh 1280 fi 1281fi 1282echo "$as_me:$LINENO: result: $INSTALL" >&5 1283echo "${ECHO_T}$INSTALL" >&6 1284 1285# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1286# It thinks the first close brace ends the variable substitution. 1287test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1288 1289test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1290 1291test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1292 1293echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1294echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1295# Just in case 1296sleep 1 1297echo timestamp > conftest.file 1298# Do `set' in a subshell so we don't clobber the current shell's 1299# arguments. Must try -L first in case configure is actually a 1300# symlink; some systems play weird games with the mod time of symlinks 1301# (eg FreeBSD returns the mod time of the symlink's containing 1302# directory). 1303if ( 1304 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1305 if test "$*" = "X"; then 1306 # -L didn't work. 1307 set X `ls -t $srcdir/configure conftest.file` 1308 fi 1309 rm -f conftest.file 1310 if test "$*" != "X $srcdir/configure conftest.file" \ 1311 && test "$*" != "X conftest.file $srcdir/configure"; then 1312 1313 # If neither matched, then we have a broken ls. This can happen 1314 # if, for instance, CONFIG_SHELL is bash and it inherits a 1315 # broken ls alias from the environment. This has actually 1316 # happened. Such a system could not be considered "sane". 1317 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1318alias in your environment" >&5 1319echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1320alias in your environment" >&2;} 1321 { (exit 1); exit 1; }; } 1322 fi 1323 1324 test "$2" = conftest.file 1325 ) 1326then 1327 # Ok. 1328 : 1329else 1330 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1331Check your system clock" >&5 1332echo "$as_me: error: newly created file is older than distributed files! 1333Check your system clock" >&2;} 1334 { (exit 1); exit 1; }; } 1335fi 1336echo "$as_me:$LINENO: result: yes" >&5 1337echo "${ECHO_T}yes" >&6 1338test "$program_prefix" != NONE && 1339 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1340# Use a double $ so make ignores it. 1341test "$program_suffix" != NONE && 1342 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1343# Double any \ or $. echo might interpret backslashes. 1344# By default was `s,x,x', remove it if useless. 1345cat <<\_ACEOF >conftest.sed 1346s/[\\$]/&&/g;s/;s,x,x,$// 1347_ACEOF 1348program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1349rm conftest.sed 1350 1351 1352# expand $ac_aux_dir to an absolute path 1353am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd` 1354 1355test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1356# Use eval to expand $SHELL 1357if eval "$MISSING --run true"; then 1358 am_missing_run="$MISSING --run " 1359else 1360 am_missing_run= 1361 am_backtick='`' 1362 { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5 1363echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;} 1364fi 1365 1366for ac_prog in gawk mawk nawk awk 1367do 1368 # Extract the first word of "$ac_prog", so it can be a program name with args. 1369set dummy $ac_prog; ac_word=$2 1370echo "$as_me:$LINENO: checking for $ac_word" >&5 1371echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1372if test "${ac_cv_prog_AWK+set}" = set; then 1373 echo $ECHO_N "(cached) $ECHO_C" >&6 1374else 1375 if test -n "$AWK"; then 1376 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1377else 1378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1379for as_dir in $PATH 1380do 1381 IFS=$as_save_IFS 1382 test -z "$as_dir" && as_dir=. 1383 for ac_exec_ext in '' $ac_executable_extensions; do 1384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1385 ac_cv_prog_AWK="$ac_prog" 1386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1387 break 2 1388 fi 1389done 1390done 1391 1392fi 1393fi 1394AWK=$ac_cv_prog_AWK 1395if test -n "$AWK"; then 1396 echo "$as_me:$LINENO: result: $AWK" >&5 1397echo "${ECHO_T}$AWK" >&6 1398else 1399 echo "$as_me:$LINENO: result: no" >&5 1400echo "${ECHO_T}no" >&6 1401fi 1402 1403 test -n "$AWK" && break 1404done 1405 1406echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 1407echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 1408set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1409if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1410 echo $ECHO_N "(cached) $ECHO_C" >&6 1411else 1412 cat >conftest.make <<\_ACEOF 1413all: 1414 @echo 'ac_maketemp="${MAKE}"' 1415_ACEOF 1416# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1417eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1418if test -n "$ac_maketemp"; then 1419 eval ac_cv_prog_make_${ac_make}_set=yes 1420else 1421 eval ac_cv_prog_make_${ac_make}_set=no 1422fi 1423rm -f conftest.make 1424fi 1425if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1426 echo "$as_me:$LINENO: result: yes" >&5 1427echo "${ECHO_T}yes" >&6 1428 SET_MAKE= 1429else 1430 echo "$as_me:$LINENO: result: no" >&5 1431echo "${ECHO_T}no" >&6 1432 SET_MAKE="MAKE=${MAKE-make}" 1433fi 1434 1435# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 1436if test "${enable_dependency_tracking+set}" = set; then 1437 enableval="$enable_dependency_tracking" 1438 1439fi; 1440if test "x$enable_dependency_tracking" != xno; then 1441 am_depcomp="$ac_aux_dir/depcomp" 1442 AMDEPBACKSLASH='\' 1443fi 1444 1445 1446if test "x$enable_dependency_tracking" != xno; then 1447 AMDEP_TRUE= 1448 AMDEP_FALSE='#' 1449else 1450 AMDEP_TRUE='#' 1451 AMDEP_FALSE= 1452fi 1453 1454 1455 1456 1457rm -f .deps 2>/dev/null 1458mkdir .deps 2>/dev/null 1459if test -d .deps; then 1460 DEPDIR=.deps 1461else 1462 # MS-DOS does not allow filenames that begin with a dot. 1463 DEPDIR=_deps 1464fi 1465rmdir .deps 2>/dev/null 1466 1467 1468# test to see if srcdir already configured 1469if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" && 1470 test -f $srcdir/config.status; then 1471 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1472echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1473 { (exit 1); exit 1; }; } 1474fi 1475 1476# Define the identity of the package. 1477PACKAGE=mp3wrap 1478VERSION=0.5 1479 1480cat >>confdefs.h <<_ACEOF 1481@%:@define PACKAGE "$PACKAGE" 1482_ACEOF 1483 1484 1485cat >>confdefs.h <<_ACEOF 1486@%:@define VERSION "$VERSION" 1487_ACEOF 1488 1489 1490# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow 1491# the ones we care about. 1492 1493# Autoconf 2.50 always computes EXEEXT. However we need to be 1494# compatible with 2.13, for now. So we always define EXEEXT, but we 1495# don't compute it. 1496 1497# Similar for OBJEXT -- only we only use OBJEXT if the user actually 1498# requests that it be used. This is a bit dumb. 1499: ${OBJEXT=o} 1500 1501 1502# Some tools Automake needs. 1503 1504ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"} 1505 1506 1507AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1508 1509 1510AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"} 1511 1512 1513AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1514 1515 1516MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1517 1518 1519AMTAR=${AMTAR-"${am_missing_run}tar"} 1520 1521install_sh=${install_sh-"$am_aux_dir/install-sh"} 1522 1523INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1524 1525# We need awk for the "check" target. The system "awk" is bad on 1526# some platforms. 1527 1528 1529# Checks for programs. 1530ac_ext=c 1531ac_cpp='$CPP $CPPFLAGS' 1532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1534ac_compiler_gnu=$ac_cv_c_compiler_gnu 1535if test -n "$ac_tool_prefix"; then 1536 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1537set dummy ${ac_tool_prefix}gcc; ac_word=$2 1538echo "$as_me:$LINENO: checking for $ac_word" >&5 1539echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1540if test "${ac_cv_prog_CC+set}" = set; then 1541 echo $ECHO_N "(cached) $ECHO_C" >&6 1542else 1543 if test -n "$CC"; then 1544 ac_cv_prog_CC="$CC" # Let the user override the test. 1545else 1546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1547for as_dir in $PATH 1548do 1549 IFS=$as_save_IFS 1550 test -z "$as_dir" && as_dir=. 1551 for ac_exec_ext in '' $ac_executable_extensions; do 1552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1553 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1555 break 2 1556 fi 1557done 1558done 1559 1560fi 1561fi 1562CC=$ac_cv_prog_CC 1563if test -n "$CC"; then 1564 echo "$as_me:$LINENO: result: $CC" >&5 1565echo "${ECHO_T}$CC" >&6 1566else 1567 echo "$as_me:$LINENO: result: no" >&5 1568echo "${ECHO_T}no" >&6 1569fi 1570 1571fi 1572if test -z "$ac_cv_prog_CC"; then 1573 ac_ct_CC=$CC 1574 # Extract the first word of "gcc", so it can be a program name with args. 1575set dummy gcc; ac_word=$2 1576echo "$as_me:$LINENO: checking for $ac_word" >&5 1577echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1578if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1579 echo $ECHO_N "(cached) $ECHO_C" >&6 1580else 1581 if test -n "$ac_ct_CC"; then 1582 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1583else 1584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1585for as_dir in $PATH 1586do 1587 IFS=$as_save_IFS 1588 test -z "$as_dir" && as_dir=. 1589 for ac_exec_ext in '' $ac_executable_extensions; do 1590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1591 ac_cv_prog_ac_ct_CC="gcc" 1592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1593 break 2 1594 fi 1595done 1596done 1597 1598fi 1599fi 1600ac_ct_CC=$ac_cv_prog_ac_ct_CC 1601if test -n "$ac_ct_CC"; then 1602 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1603echo "${ECHO_T}$ac_ct_CC" >&6 1604else 1605 echo "$as_me:$LINENO: result: no" >&5 1606echo "${ECHO_T}no" >&6 1607fi 1608 1609 CC=$ac_ct_CC 1610else 1611 CC="$ac_cv_prog_CC" 1612fi 1613 1614if test -z "$CC"; then 1615 if test -n "$ac_tool_prefix"; then 1616 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1617set dummy ${ac_tool_prefix}cc; ac_word=$2 1618echo "$as_me:$LINENO: checking for $ac_word" >&5 1619echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1620if test "${ac_cv_prog_CC+set}" = set; then 1621 echo $ECHO_N "(cached) $ECHO_C" >&6 1622else 1623 if test -n "$CC"; then 1624 ac_cv_prog_CC="$CC" # Let the user override the test. 1625else 1626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1627for as_dir in $PATH 1628do 1629 IFS=$as_save_IFS 1630 test -z "$as_dir" && as_dir=. 1631 for ac_exec_ext in '' $ac_executable_extensions; do 1632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1633 ac_cv_prog_CC="${ac_tool_prefix}cc" 1634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1635 break 2 1636 fi 1637done 1638done 1639 1640fi 1641fi 1642CC=$ac_cv_prog_CC 1643if test -n "$CC"; then 1644 echo "$as_me:$LINENO: result: $CC" >&5 1645echo "${ECHO_T}$CC" >&6 1646else 1647 echo "$as_me:$LINENO: result: no" >&5 1648echo "${ECHO_T}no" >&6 1649fi 1650 1651fi 1652if test -z "$ac_cv_prog_CC"; then 1653 ac_ct_CC=$CC 1654 # Extract the first word of "cc", so it can be a program name with args. 1655set dummy cc; ac_word=$2 1656echo "$as_me:$LINENO: checking for $ac_word" >&5 1657echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1658if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1659 echo $ECHO_N "(cached) $ECHO_C" >&6 1660else 1661 if test -n "$ac_ct_CC"; then 1662 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1663else 1664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1665for as_dir in $PATH 1666do 1667 IFS=$as_save_IFS 1668 test -z "$as_dir" && as_dir=. 1669 for ac_exec_ext in '' $ac_executable_extensions; do 1670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1671 ac_cv_prog_ac_ct_CC="cc" 1672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1673 break 2 1674 fi 1675done 1676done 1677 1678fi 1679fi 1680ac_ct_CC=$ac_cv_prog_ac_ct_CC 1681if test -n "$ac_ct_CC"; then 1682 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1683echo "${ECHO_T}$ac_ct_CC" >&6 1684else 1685 echo "$as_me:$LINENO: result: no" >&5 1686echo "${ECHO_T}no" >&6 1687fi 1688 1689 CC=$ac_ct_CC 1690else 1691 CC="$ac_cv_prog_CC" 1692fi 1693 1694fi 1695if test -z "$CC"; then 1696 # Extract the first word of "cc", so it can be a program name with args. 1697set dummy cc; ac_word=$2 1698echo "$as_me:$LINENO: checking for $ac_word" >&5 1699echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1700if test "${ac_cv_prog_CC+set}" = set; then 1701 echo $ECHO_N "(cached) $ECHO_C" >&6 1702else 1703 if test -n "$CC"; then 1704 ac_cv_prog_CC="$CC" # Let the user override the test. 1705else 1706 ac_prog_rejected=no 1707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1708for as_dir in $PATH 1709do 1710 IFS=$as_save_IFS 1711 test -z "$as_dir" && as_dir=. 1712 for ac_exec_ext in '' $ac_executable_extensions; do 1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1714 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1715 ac_prog_rejected=yes 1716 continue 1717 fi 1718 ac_cv_prog_CC="cc" 1719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1720 break 2 1721 fi 1722done 1723done 1724 1725if test $ac_prog_rejected = yes; then 1726 # We found a bogon in the path, so make sure we never use it. 1727 set dummy $ac_cv_prog_CC 1728 shift 1729 if test $@%:@ != 0; then 1730 # We chose a different compiler from the bogus one. 1731 # However, it has the same basename, so the bogon will be chosen 1732 # first if we set CC to just the basename; use the full file name. 1733 shift 1734 set dummy "$as_dir/$ac_word" ${1+"$@"} 1735 shift 1736 ac_cv_prog_CC="$@" 1737 fi 1738fi 1739fi 1740fi 1741CC=$ac_cv_prog_CC 1742if test -n "$CC"; then 1743 echo "$as_me:$LINENO: result: $CC" >&5 1744echo "${ECHO_T}$CC" >&6 1745else 1746 echo "$as_me:$LINENO: result: no" >&5 1747echo "${ECHO_T}no" >&6 1748fi 1749 1750fi 1751if test -z "$CC"; then 1752 if test -n "$ac_tool_prefix"; then 1753 for ac_prog in cl 1754 do 1755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1756set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1757echo "$as_me:$LINENO: checking for $ac_word" >&5 1758echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1759if test "${ac_cv_prog_CC+set}" = set; then 1760 echo $ECHO_N "(cached) $ECHO_C" >&6 1761else 1762 if test -n "$CC"; then 1763 ac_cv_prog_CC="$CC" # Let the user override the test. 1764else 1765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1766for as_dir in $PATH 1767do 1768 IFS=$as_save_IFS 1769 test -z "$as_dir" && as_dir=. 1770 for ac_exec_ext in '' $ac_executable_extensions; do 1771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1772 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1774 break 2 1775 fi 1776done 1777done 1778 1779fi 1780fi 1781CC=$ac_cv_prog_CC 1782if test -n "$CC"; then 1783 echo "$as_me:$LINENO: result: $CC" >&5 1784echo "${ECHO_T}$CC" >&6 1785else 1786 echo "$as_me:$LINENO: result: no" >&5 1787echo "${ECHO_T}no" >&6 1788fi 1789 1790 test -n "$CC" && break 1791 done 1792fi 1793if test -z "$CC"; then 1794 ac_ct_CC=$CC 1795 for ac_prog in cl 1796do 1797 # Extract the first word of "$ac_prog", so it can be a program name with args. 1798set dummy $ac_prog; ac_word=$2 1799echo "$as_me:$LINENO: checking for $ac_word" >&5 1800echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1801if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1802 echo $ECHO_N "(cached) $ECHO_C" >&6 1803else 1804 if test -n "$ac_ct_CC"; then 1805 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1806else 1807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1808for as_dir in $PATH 1809do 1810 IFS=$as_save_IFS 1811 test -z "$as_dir" && as_dir=. 1812 for ac_exec_ext in '' $ac_executable_extensions; do 1813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1814 ac_cv_prog_ac_ct_CC="$ac_prog" 1815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1816 break 2 1817 fi 1818done 1819done 1820 1821fi 1822fi 1823ac_ct_CC=$ac_cv_prog_ac_ct_CC 1824if test -n "$ac_ct_CC"; then 1825 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1826echo "${ECHO_T}$ac_ct_CC" >&6 1827else 1828 echo "$as_me:$LINENO: result: no" >&5 1829echo "${ECHO_T}no" >&6 1830fi 1831 1832 test -n "$ac_ct_CC" && break 1833done 1834 1835 CC=$ac_ct_CC 1836fi 1837 1838fi 1839 1840 1841test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 1842echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} 1843 { (exit 1); exit 1; }; } 1844 1845# Provide some information about the compiler. 1846echo "$as_me:$LINENO:" \ 1847 "checking for C compiler version" >&5 1848ac_compiler=`set X $ac_compile; echo $2` 1849{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1850 (eval $ac_compiler --version </dev/null >&5) 2>&5 1851 ac_status=$? 1852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1853 (exit $ac_status); } 1854{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1855 (eval $ac_compiler -v </dev/null >&5) 2>&5 1856 ac_status=$? 1857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1858 (exit $ac_status); } 1859{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1860 (eval $ac_compiler -V </dev/null >&5) 2>&5 1861 ac_status=$? 1862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1863 (exit $ac_status); } 1864 1865cat >conftest.$ac_ext <<_ACEOF 1866#line $LINENO "configure" 1867#include "confdefs.h" 1868 1869#ifdef F77_DUMMY_MAIN 1870# ifdef __cplusplus 1871 extern "C" 1872# endif 1873 int F77_DUMMY_MAIN() { return 1; } 1874#endif 1875int 1876main () 1877{ 1878 1879 ; 1880 return 0; 1881} 1882_ACEOF 1883ac_clean_files_save=$ac_clean_files 1884ac_clean_files="$ac_clean_files a.out a.exe" 1885# Try to create an executable without -o first, disregard a.out. 1886# It will help us diagnose broken compilers, and finding out an intuition 1887# of exeext. 1888echo "$as_me:$LINENO: checking for C compiler default output" >&5 1889echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1890ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1891if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1892 (eval $ac_link_default) 2>&5 1893 ac_status=$? 1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1895 (exit $ac_status); }; then 1896 # Find the output, starting from the most likely. This scheme is 1897# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1898# resort. 1899 1900# Be careful to initialize this variable, since it used to be cached. 1901# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1902ac_cv_exeext= 1903for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; 1904 ls a.out conftest 2>/dev/null; 1905 ls a.* conftest.* 2>/dev/null`; do 1906 case $ac_file in 1907 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; 1908 a.out ) # We found the default executable, but exeext='' is most 1909 # certainly right. 1910 break;; 1911 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1912 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1913 export ac_cv_exeext 1914 break;; 1915 * ) break;; 1916 esac 1917done 1918else 1919 echo "$as_me: failed program was:" >&5 1920cat conftest.$ac_ext >&5 1921{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 1922echo "$as_me: error: C compiler cannot create executables" >&2;} 1923 { (exit 77); exit 77; }; } 1924fi 1925 1926ac_exeext=$ac_cv_exeext 1927echo "$as_me:$LINENO: result: $ac_file" >&5 1928echo "${ECHO_T}$ac_file" >&6 1929 1930# Check the compiler produces executables we can run. If not, either 1931# the compiler is broken, or we cross compile. 1932echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1933echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1934# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1935# If not cross compiling, check that we can run a simple program. 1936if test "$cross_compiling" != yes; then 1937 if { ac_try='./$ac_file' 1938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1939 (eval $ac_try) 2>&5 1940 ac_status=$? 1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1942 (exit $ac_status); }; }; then 1943 cross_compiling=no 1944 else 1945 if test "$cross_compiling" = maybe; then 1946 cross_compiling=yes 1947 else 1948 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1949If you meant to cross compile, use \`--host'." >&5 1950echo "$as_me: error: cannot run C compiled programs. 1951If you meant to cross compile, use \`--host'." >&2;} 1952 { (exit 1); exit 1; }; } 1953 fi 1954 fi 1955fi 1956echo "$as_me:$LINENO: result: yes" >&5 1957echo "${ECHO_T}yes" >&6 1958 1959rm -f a.out a.exe conftest$ac_cv_exeext 1960ac_clean_files=$ac_clean_files_save 1961# Check the compiler produces executables we can run. If not, either 1962# the compiler is broken, or we cross compile. 1963echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1964echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1965echo "$as_me:$LINENO: result: $cross_compiling" >&5 1966echo "${ECHO_T}$cross_compiling" >&6 1967 1968echo "$as_me:$LINENO: checking for suffix of executables" >&5 1969echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1970if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1971 (eval $ac_link) 2>&5 1972 ac_status=$? 1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1974 (exit $ac_status); }; then 1975 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1976# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1977# work properly (i.e., refer to `conftest.exe'), while it won't with 1978# `rm'. 1979for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1980 case $ac_file in 1981 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1982 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1983 export ac_cv_exeext 1984 break;; 1985 * ) break;; 1986 esac 1987done 1988else 1989 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 1990echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} 1991 { (exit 1); exit 1; }; } 1992fi 1993 1994rm -f conftest$ac_cv_exeext 1995echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1996echo "${ECHO_T}$ac_cv_exeext" >&6 1997 1998rm -f conftest.$ac_ext 1999EXEEXT=$ac_cv_exeext 2000ac_exeext=$EXEEXT 2001echo "$as_me:$LINENO: checking for suffix of object files" >&5 2002echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2003if test "${ac_cv_objext+set}" = set; then 2004 echo $ECHO_N "(cached) $ECHO_C" >&6 2005else 2006 cat >conftest.$ac_ext <<_ACEOF 2007#line $LINENO "configure" 2008#include "confdefs.h" 2009 2010#ifdef F77_DUMMY_MAIN 2011# ifdef __cplusplus 2012 extern "C" 2013# endif 2014 int F77_DUMMY_MAIN() { return 1; } 2015#endif 2016int 2017main () 2018{ 2019 2020 ; 2021 return 0; 2022} 2023_ACEOF 2024rm -f conftest.o conftest.obj 2025if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2026 (eval $ac_compile) 2>&5 2027 ac_status=$? 2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2029 (exit $ac_status); }; then 2030 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2031 case $ac_file in 2032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2033 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2034 break;; 2035 esac 2036done 2037else 2038 echo "$as_me: failed program was:" >&5 2039cat conftest.$ac_ext >&5 2040{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 2041echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} 2042 { (exit 1); exit 1; }; } 2043fi 2044 2045rm -f conftest.$ac_cv_objext conftest.$ac_ext 2046fi 2047echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2048echo "${ECHO_T}$ac_cv_objext" >&6 2049OBJEXT=$ac_cv_objext 2050ac_objext=$OBJEXT 2051echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2052echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2053if test "${ac_cv_c_compiler_gnu+set}" = set; then 2054 echo $ECHO_N "(cached) $ECHO_C" >&6 2055else 2056 cat >conftest.$ac_ext <<_ACEOF 2057#line $LINENO "configure" 2058#include "confdefs.h" 2059 2060#ifdef F77_DUMMY_MAIN 2061# ifdef __cplusplus 2062 extern "C" 2063# endif 2064 int F77_DUMMY_MAIN() { return 1; } 2065#endif 2066int 2067main () 2068{ 2069#ifndef __GNUC__ 2070 choke me 2071#endif 2072 2073 ; 2074 return 0; 2075} 2076_ACEOF 2077rm -f conftest.$ac_objext 2078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2079 (eval $ac_compile) 2>&5 2080 ac_status=$? 2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2082 (exit $ac_status); } && 2083 { ac_try='test -s conftest.$ac_objext' 2084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2085 (eval $ac_try) 2>&5 2086 ac_status=$? 2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2088 (exit $ac_status); }; }; then 2089 ac_compiler_gnu=yes 2090else 2091 echo "$as_me: failed program was:" >&5 2092cat conftest.$ac_ext >&5 2093ac_compiler_gnu=no 2094fi 2095rm -f conftest.$ac_objext conftest.$ac_ext 2096ac_cv_c_compiler_gnu=$ac_compiler_gnu 2097 2098fi 2099echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2100echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2101GCC=`test $ac_compiler_gnu = yes && echo yes` 2102ac_test_CFLAGS=${CFLAGS+set} 2103ac_save_CFLAGS=$CFLAGS 2104CFLAGS="-g" 2105echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2106echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2107if test "${ac_cv_prog_cc_g+set}" = set; then 2108 echo $ECHO_N "(cached) $ECHO_C" >&6 2109else 2110 cat >conftest.$ac_ext <<_ACEOF 2111#line $LINENO "configure" 2112#include "confdefs.h" 2113 2114#ifdef F77_DUMMY_MAIN 2115# ifdef __cplusplus 2116 extern "C" 2117# endif 2118 int F77_DUMMY_MAIN() { return 1; } 2119#endif 2120int 2121main () 2122{ 2123 2124 ; 2125 return 0; 2126} 2127_ACEOF 2128rm -f conftest.$ac_objext 2129if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2130 (eval $ac_compile) 2>&5 2131 ac_status=$? 2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2133 (exit $ac_status); } && 2134 { ac_try='test -s conftest.$ac_objext' 2135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2136 (eval $ac_try) 2>&5 2137 ac_status=$? 2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2139 (exit $ac_status); }; }; then 2140 ac_cv_prog_cc_g=yes 2141else 2142 echo "$as_me: failed program was:" >&5 2143cat conftest.$ac_ext >&5 2144ac_cv_prog_cc_g=no 2145fi 2146rm -f conftest.$ac_objext conftest.$ac_ext 2147fi 2148echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2149echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2150if test "$ac_test_CFLAGS" = set; then 2151 CFLAGS=$ac_save_CFLAGS 2152elif test $ac_cv_prog_cc_g = yes; then 2153 if test "$GCC" = yes; then 2154 CFLAGS="-g -O2" 2155 else 2156 CFLAGS="-g" 2157 fi 2158else 2159 if test "$GCC" = yes; then 2160 CFLAGS="-O2" 2161 else 2162 CFLAGS= 2163 fi 2164fi 2165# Some people use a C++ compiler to compile C. Since we use `exit', 2166# in C++ we need to declare it. In case someone uses the same compiler 2167# for both compiling C and C++ we need to have the C++ compiler decide 2168# the declaration of exit, since it's the most demanding environment. 2169cat >conftest.$ac_ext <<_ACEOF 2170@%:@ifndef __cplusplus 2171 choke me 2172@%:@endif 2173_ACEOF 2174rm -f conftest.$ac_objext 2175if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2176 (eval $ac_compile) 2>&5 2177 ac_status=$? 2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2179 (exit $ac_status); } && 2180 { ac_try='test -s conftest.$ac_objext' 2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2182 (eval $ac_try) 2>&5 2183 ac_status=$? 2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2185 (exit $ac_status); }; }; then 2186 for ac_declaration in \ 2187 ''\ 2188 '#include <stdlib.h>' \ 2189 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2190 'extern "C" void std::exit (int); using std::exit;' \ 2191 'extern "C" void exit (int) throw ();' \ 2192 'extern "C" void exit (int);' \ 2193 'void exit (int);' 2194do 2195 cat >conftest.$ac_ext <<_ACEOF 2196#line $LINENO "configure" 2197#include "confdefs.h" 2198@%:@include <stdlib.h> 2199$ac_declaration 2200#ifdef F77_DUMMY_MAIN 2201# ifdef __cplusplus 2202 extern "C" 2203# endif 2204 int F77_DUMMY_MAIN() { return 1; } 2205#endif 2206int 2207main () 2208{ 2209exit (42); 2210 ; 2211 return 0; 2212} 2213_ACEOF 2214rm -f conftest.$ac_objext 2215if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2216 (eval $ac_compile) 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 : 2227else 2228 echo "$as_me: failed program was:" >&5 2229cat conftest.$ac_ext >&5 2230continue 2231fi 2232rm -f conftest.$ac_objext conftest.$ac_ext 2233 cat >conftest.$ac_ext <<_ACEOF 2234#line $LINENO "configure" 2235#include "confdefs.h" 2236$ac_declaration 2237#ifdef F77_DUMMY_MAIN 2238# ifdef __cplusplus 2239 extern "C" 2240# endif 2241 int F77_DUMMY_MAIN() { return 1; } 2242#endif 2243int 2244main () 2245{ 2246exit (42); 2247 ; 2248 return 0; 2249} 2250_ACEOF 2251rm -f conftest.$ac_objext 2252if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2253 (eval $ac_compile) 2>&5 2254 ac_status=$? 2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2256 (exit $ac_status); } && 2257 { ac_try='test -s conftest.$ac_objext' 2258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2259 (eval $ac_try) 2>&5 2260 ac_status=$? 2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2262 (exit $ac_status); }; }; then 2263 break 2264else 2265 echo "$as_me: failed program was:" >&5 2266cat conftest.$ac_ext >&5 2267fi 2268rm -f conftest.$ac_objext conftest.$ac_ext 2269done 2270rm -f conftest* 2271if test -n "$ac_declaration"; then 2272 echo '#ifdef __cplusplus' >>confdefs.h 2273 echo $ac_declaration >>confdefs.h 2274 echo '#endif' >>confdefs.h 2275fi 2276 2277else 2278 echo "$as_me: failed program was:" >&5 2279cat conftest.$ac_ext >&5 2280fi 2281rm -f conftest.$ac_objext conftest.$ac_ext 2282ac_ext=c 2283ac_cpp='$CPP $CPPFLAGS' 2284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2286ac_compiler_gnu=$ac_cv_c_compiler_gnu 2287 2288ac_config_commands="$ac_config_commands default-1" 2289 2290am_make=${MAKE-make} 2291cat > confinc << 'END' 2292doit: 2293 @echo done 2294END 2295# If we don't find an include directive, just comment out the code. 2296echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2297echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2298am__include='#' 2299am__quote= 2300_am_result=none 2301# First try GNU make style include. 2302echo "include confinc" > confmf 2303# We grep out `Entering directory' and `Leaving directory' 2304# messages which can occur if `w' ends up in MAKEFLAGS. 2305# In particular we don't look at `^make:' because GNU make might 2306# be invoked under some other name (usually "gmake"), in which 2307# case it prints its new name instead of `make'. 2308if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then 2309 am__include=include 2310 am__quote= 2311 _am_result=GNU 2312fi 2313# Now try BSD make style include. 2314if test "$am__include" = "#"; then 2315 echo '.include "confinc"' > confmf 2316 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2317 am__include=.include 2318 am__quote='"' 2319 _am_result=BSD 2320 fi 2321fi 2322 2323 2324echo "$as_me:$LINENO: result: $_am_result" >&5 2325echo "${ECHO_T}$_am_result" >&6 2326rm -f confinc confmf 2327 2328 2329depcc="$CC" am_compiler_list= 2330 2331echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2332echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2333if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2334 echo $ECHO_N "(cached) $ECHO_C" >&6 2335else 2336 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2337 # We make a subdir and do the tests there. Otherwise we can end up 2338 # making bogus files that we don't know about and never remove. For 2339 # instance it was reported that on HP-UX the gcc test will end up 2340 # making a dummy file named `D' -- because `-MD' means `put the output 2341 # in D'. 2342 mkdir conftest.dir 2343 # Copy depcomp to subdir because otherwise we won't find it if we're 2344 # using a relative directory. 2345 cp "$am_depcomp" conftest.dir 2346 cd conftest.dir 2347 2348 am_cv_CC_dependencies_compiler_type=none 2349 if test "$am_compiler_list" = ""; then 2350 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2351 fi 2352 for depmode in $am_compiler_list; do 2353 # We need to recreate these files for each test, as the compiler may 2354 # overwrite some of them when testing with obscure command lines. 2355 # This happens at least with the AIX C compiler. 2356 echo '#include "conftest.h"' > conftest.c 2357 echo 'int i;' > conftest.h 2358 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2359 2360 case $depmode in 2361 nosideeffect) 2362 # after this tag, mechanisms are not by side-effect, so they'll 2363 # only be used when explicitly requested 2364 if test "x$enable_dependency_tracking" = xyes; then 2365 continue 2366 else 2367 break 2368 fi 2369 ;; 2370 none) break ;; 2371 esac 2372 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2373 # mode. It turns out that the SunPro C++ compiler does not properly 2374 # handle `-M -o', and we need to detect this. 2375 if depmode=$depmode \ 2376 source=conftest.c object=conftest.o \ 2377 depfile=conftest.Po tmpdepfile=conftest.TPo \ 2378 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 2379 grep conftest.h conftest.Po > /dev/null 2>&1 && 2380 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2381 am_cv_CC_dependencies_compiler_type=$depmode 2382 break 2383 fi 2384 done 2385 2386 cd .. 2387 rm -rf conftest.dir 2388else 2389 am_cv_CC_dependencies_compiler_type=none 2390fi 2391 2392fi 2393echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2394echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2395CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type" 2396 2397 2398# Find a good install program. We prefer a C program (faster), 2399# so one script is as good as another. But avoid the broken or 2400# incompatible versions: 2401# SysV /etc/install, /usr/sbin/install 2402# SunOS /usr/etc/install 2403# IRIX /sbin/install 2404# AIX /bin/install 2405# AmigaOS /C/install, which installs bootblocks on floppy discs 2406# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2407# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2408# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2409# ./install, which can be erroneously created by make from ./install.sh. 2410echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2411echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2412if test -z "$INSTALL"; then 2413if test "${ac_cv_path_install+set}" = set; then 2414 echo $ECHO_N "(cached) $ECHO_C" >&6 2415else 2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2417for as_dir in $PATH 2418do 2419 IFS=$as_save_IFS 2420 test -z "$as_dir" && as_dir=. 2421 # Account for people who put trailing slashes in PATH elements. 2422case $as_dir/ in 2423 ./ | .// | /cC/* | \ 2424 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2425 /usr/ucb/* ) ;; 2426 *) 2427 # OSF1 and SCO ODT 3.0 have their own names for install. 2428 # Don't use installbsd from OSF since it installs stuff as root 2429 # by default. 2430 for ac_prog in ginstall scoinst install; do 2431 for ac_exec_ext in '' $ac_executable_extensions; do 2432 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2433 if test $ac_prog = install && 2434 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2435 # AIX install. It has an incompatible calling convention. 2436 : 2437 elif test $ac_prog = install && 2438 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2439 # program-specific install script used by HP pwplus--don't use. 2440 : 2441 else 2442 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2443 break 3 2444 fi 2445 fi 2446 done 2447 done 2448 ;; 2449esac 2450done 2451 2452 2453fi 2454 if test "${ac_cv_path_install+set}" = set; then 2455 INSTALL=$ac_cv_path_install 2456 else 2457 # As a last resort, use the slow shell script. We don't cache a 2458 # path for INSTALL within a source directory, because that will 2459 # break other packages using the cache if that directory is 2460 # removed, or if the path is relative. 2461 INSTALL=$ac_install_sh 2462 fi 2463fi 2464echo "$as_me:$LINENO: result: $INSTALL" >&5 2465echo "${ECHO_T}$INSTALL" >&6 2466 2467# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2468# It thinks the first close brace ends the variable substitution. 2469test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2470 2471test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2472 2473test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2474 2475 2476# Checks for libraries. 2477 2478# Checks for header files. 2479 2480# Checks for typedefs, structures, and compiler characteristics. 2481 2482echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 2483echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 2484if test "${ac_cv_c_bigendian+set}" = set; then 2485 echo $ECHO_N "(cached) $ECHO_C" >&6 2486else 2487 # See if sys/param.h defines the BYTE_ORDER macro. 2488cat >conftest.$ac_ext <<_ACEOF 2489#line $LINENO "configure" 2490#include "confdefs.h" 2491#include <sys/types.h> 2492#include <sys/param.h> 2493 2494#ifdef F77_DUMMY_MAIN 2495# ifdef __cplusplus 2496 extern "C" 2497# endif 2498 int F77_DUMMY_MAIN() { return 1; } 2499#endif 2500int 2501main () 2502{ 2503#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 2504 bogus endian macros 2505#endif 2506 2507 ; 2508 return 0; 2509} 2510_ACEOF 2511rm -f conftest.$ac_objext 2512if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2513 (eval $ac_compile) 2>&5 2514 ac_status=$? 2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2516 (exit $ac_status); } && 2517 { ac_try='test -s conftest.$ac_objext' 2518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2519 (eval $ac_try) 2>&5 2520 ac_status=$? 2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2522 (exit $ac_status); }; }; then 2523 # It does; now see whether it defined to BIG_ENDIAN or not. 2524cat >conftest.$ac_ext <<_ACEOF 2525#line $LINENO "configure" 2526#include "confdefs.h" 2527#include <sys/types.h> 2528#include <sys/param.h> 2529 2530#ifdef F77_DUMMY_MAIN 2531# ifdef __cplusplus 2532 extern "C" 2533# endif 2534 int F77_DUMMY_MAIN() { return 1; } 2535#endif 2536int 2537main () 2538{ 2539#if BYTE_ORDER != BIG_ENDIAN 2540 not big endian 2541#endif 2542 2543 ; 2544 return 0; 2545} 2546_ACEOF 2547rm -f conftest.$ac_objext 2548if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2549 (eval $ac_compile) 2>&5 2550 ac_status=$? 2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2552 (exit $ac_status); } && 2553 { ac_try='test -s conftest.$ac_objext' 2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2555 (eval $ac_try) 2>&5 2556 ac_status=$? 2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2558 (exit $ac_status); }; }; then 2559 ac_cv_c_bigendian=yes 2560else 2561 echo "$as_me: failed program was:" >&5 2562cat conftest.$ac_ext >&5 2563ac_cv_c_bigendian=no 2564fi 2565rm -f conftest.$ac_objext conftest.$ac_ext 2566else 2567 echo "$as_me: failed program was:" >&5 2568cat conftest.$ac_ext >&5 2569# It does not; compile a test program. 2570if test "$cross_compiling" = yes; then 2571 # try to guess the endianess by grep'ing values into an object file 2572 ac_cv_c_bigendian=unknown 2573 cat >conftest.$ac_ext <<_ACEOF 2574#line $LINENO "configure" 2575#include "confdefs.h" 2576short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 2577short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 2578void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 2579short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 2580short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 2581void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 2582#ifdef F77_DUMMY_MAIN 2583# ifdef __cplusplus 2584 extern "C" 2585# endif 2586 int F77_DUMMY_MAIN() { return 1; } 2587#endif 2588int 2589main () 2590{ 2591 _ascii (); _ebcdic (); 2592 ; 2593 return 0; 2594} 2595_ACEOF 2596rm -f conftest.$ac_objext 2597if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2598 (eval $ac_compile) 2>&5 2599 ac_status=$? 2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2601 (exit $ac_status); } && 2602 { ac_try='test -s conftest.$ac_objext' 2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2604 (eval $ac_try) 2>&5 2605 ac_status=$? 2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2607 (exit $ac_status); }; }; then 2608 if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 2609 ac_cv_c_bigendian=yes 2610fi 2611if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 2612 if test "$ac_cv_c_bigendian" = unknown; then 2613 ac_cv_c_bigendian=no 2614 else 2615 # finding both strings is unlikely to happen, but who knows? 2616 ac_cv_c_bigendian=unknown 2617 fi 2618fi 2619else 2620 echo "$as_me: failed program was:" >&5 2621cat conftest.$ac_ext >&5 2622fi 2623rm -f conftest.$ac_objext conftest.$ac_ext 2624else 2625 cat >conftest.$ac_ext <<_ACEOF 2626#line $LINENO "configure" 2627#include "confdefs.h" 2628int 2629main () 2630{ 2631 /* Are we little or big endian? From Harbison&Steele. */ 2632 union 2633 { 2634 long l; 2635 char c[sizeof (long)]; 2636 } u; 2637 u.l = 1; 2638 exit (u.c[sizeof (long) - 1] == 1); 2639} 2640_ACEOF 2641rm -f conftest$ac_exeext 2642if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2643 (eval $ac_link) 2>&5 2644 ac_status=$? 2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2648 (eval $ac_try) 2>&5 2649 ac_status=$? 2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2651 (exit $ac_status); }; }; then 2652 ac_cv_c_bigendian=no 2653else 2654 echo "$as_me: program exited with status $ac_status" >&5 2655echo "$as_me: failed program was:" >&5 2656cat conftest.$ac_ext >&5 2657( exit $ac_status ) 2658ac_cv_c_bigendian=yes 2659fi 2660rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2661fi 2662fi 2663rm -f conftest.$ac_objext conftest.$ac_ext 2664fi 2665echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 2666echo "${ECHO_T}$ac_cv_c_bigendian" >&6 2667case $ac_cv_c_bigendian in 2668 yes) 2669 2670cat >>confdefs.h <<\_ACEOF 2671@%:@define WORDS_BIGENDIAN 1 2672_ACEOF 2673 ;; 2674 no) 2675 ;; 2676 *) 2677 { { echo "$as_me:$LINENO: error: unknown endianess 2678presetting ac_cv_c_bigendian=no (or yes) will help" >&5 2679echo "$as_me: error: unknown endianess 2680presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 2681 { (exit 1); exit 1; }; } ;; 2682esac 2683 2684echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2685echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2686if test "${ac_cv_prog_cc_stdc+set}" = set; then 2687 echo $ECHO_N "(cached) $ECHO_C" >&6 2688else 2689 ac_cv_prog_cc_stdc=no 2690ac_save_CC=$CC 2691cat >conftest.$ac_ext <<_ACEOF 2692#line $LINENO "configure" 2693#include "confdefs.h" 2694#include <stdarg.h> 2695#include <stdio.h> 2696#include <sys/types.h> 2697#include <sys/stat.h> 2698/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2699struct buf { int x; }; 2700FILE * (*rcsopen) (struct buf *, struct stat *, int); 2701static char *e (p, i) 2702 char **p; 2703 int i; 2704{ 2705 return p[i]; 2706} 2707static char *f (char * (*g) (char **, int), char **p, ...) 2708{ 2709 char *s; 2710 va_list v; 2711 va_start (v,p); 2712 s = g (p, va_arg (v,int)); 2713 va_end (v); 2714 return s; 2715} 2716int test (int i, double x); 2717struct s1 {int (*f) (int a);}; 2718struct s2 {int (*f) (double a);}; 2719int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2720int argc; 2721char **argv; 2722#ifdef F77_DUMMY_MAIN 2723# ifdef __cplusplus 2724 extern "C" 2725# endif 2726 int F77_DUMMY_MAIN() { return 1; } 2727#endif 2728int 2729main () 2730{ 2731return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2732 ; 2733 return 0; 2734} 2735_ACEOF 2736# Don't try gcc -ansi; that turns off useful extensions and 2737# breaks some systems' header files. 2738# AIX -qlanglvl=ansi 2739# Ultrix and OSF/1 -std1 2740# HP-UX 10.20 and later -Ae 2741# HP-UX older versions -Aa -D_HPUX_SOURCE 2742# SVR4 -Xc -D__EXTENSIONS__ 2743for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2744do 2745 CC="$ac_save_CC $ac_arg" 2746 rm -f conftest.$ac_objext 2747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2748 (eval $ac_compile) 2>&5 2749 ac_status=$? 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2751 (exit $ac_status); } && 2752 { ac_try='test -s conftest.$ac_objext' 2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2754 (eval $ac_try) 2>&5 2755 ac_status=$? 2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2757 (exit $ac_status); }; }; then 2758 ac_cv_prog_cc_stdc=$ac_arg 2759break 2760else 2761 echo "$as_me: failed program was:" >&5 2762cat conftest.$ac_ext >&5 2763fi 2764rm -f conftest.$ac_objext 2765done 2766rm -f conftest.$ac_ext conftest.$ac_objext 2767CC=$ac_save_CC 2768 2769fi 2770 2771case "x$ac_cv_prog_cc_stdc" in 2772 x|xno) 2773 echo "$as_me:$LINENO: result: none needed" >&5 2774echo "${ECHO_T}none needed" >&6 ;; 2775 *) 2776 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2777echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2778 CC="$CC $ac_cv_prog_cc_stdc" ;; 2779esac 2780 2781echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 2782echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 2783if test "${ac_cv_c_const+set}" = set; then 2784 echo $ECHO_N "(cached) $ECHO_C" >&6 2785else 2786 cat >conftest.$ac_ext <<_ACEOF 2787#line $LINENO "configure" 2788#include "confdefs.h" 2789 2790#ifdef F77_DUMMY_MAIN 2791# ifdef __cplusplus 2792 extern "C" 2793# endif 2794 int F77_DUMMY_MAIN() { return 1; } 2795#endif 2796int 2797main () 2798{ 2799/* FIXME: Include the comments suggested by Paul. */ 2800#ifndef __cplusplus 2801 /* Ultrix mips cc rejects this. */ 2802 typedef int charset[2]; 2803 const charset x; 2804 /* SunOS 4.1.1 cc rejects this. */ 2805 char const *const *ccp; 2806 char **p; 2807 /* NEC SVR4.0.2 mips cc rejects this. */ 2808 struct point {int x, y;}; 2809 static struct point const zero = {0,0}; 2810 /* AIX XL C 1.02.0.0 rejects this. 2811 It does not let you subtract one const X* pointer from another in 2812 an arm of an if-expression whose if-part is not a constant 2813 expression */ 2814 const char *g = "string"; 2815 ccp = &g + (g ? g-g : 0); 2816 /* HPUX 7.0 cc rejects these. */ 2817 ++ccp; 2818 p = (char**) ccp; 2819 ccp = (char const *const *) p; 2820 { /* SCO 3.2v4 cc rejects this. */ 2821 char *t; 2822 char const *s = 0 ? (char *) 0 : (char const *) 0; 2823 2824 *t++ = 0; 2825 } 2826 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 2827 int x[] = {25, 17}; 2828 const int *foo = &x[0]; 2829 ++foo; 2830 } 2831 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 2832 typedef const int *iptr; 2833 iptr p = 0; 2834 ++p; 2835 } 2836 { /* AIX XL C 1.02.0.0 rejects this saying 2837 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 2838 struct s { int j; const int *ap[3]; }; 2839 struct s *b; b->j = 5; 2840 } 2841 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 2842 const int foo = 10; 2843 } 2844#endif 2845 2846 ; 2847 return 0; 2848} 2849_ACEOF 2850rm -f conftest.$ac_objext 2851if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2852 (eval $ac_compile) 2>&5 2853 ac_status=$? 2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2855 (exit $ac_status); } && 2856 { ac_try='test -s conftest.$ac_objext' 2857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2858 (eval $ac_try) 2>&5 2859 ac_status=$? 2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2861 (exit $ac_status); }; }; then 2862 ac_cv_c_const=yes 2863else 2864 echo "$as_me: failed program was:" >&5 2865cat conftest.$ac_ext >&5 2866ac_cv_c_const=no 2867fi 2868rm -f conftest.$ac_objext conftest.$ac_ext 2869fi 2870echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 2871echo "${ECHO_T}$ac_cv_c_const" >&6 2872if test $ac_cv_c_const = no; then 2873 2874cat >>confdefs.h <<\_ACEOF 2875@%:@define const 2876_ACEOF 2877 2878fi 2879 2880echo "$as_me:$LINENO: checking for inline" >&5 2881echo $ECHO_N "checking for inline... $ECHO_C" >&6 2882if test "${ac_cv_c_inline+set}" = set; then 2883 echo $ECHO_N "(cached) $ECHO_C" >&6 2884else 2885 ac_cv_c_inline=no 2886for ac_kw in inline __inline__ __inline; do 2887 cat >conftest.$ac_ext <<_ACEOF 2888#line $LINENO "configure" 2889#include "confdefs.h" 2890#ifndef __cplusplus 2891static $ac_kw int static_foo () {return 0; } 2892$ac_kw int foo () {return 0; } 2893#endif 2894 2895_ACEOF 2896rm -f conftest.$ac_objext 2897if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2898 (eval $ac_compile) 2>&5 2899 ac_status=$? 2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2901 (exit $ac_status); } && 2902 { ac_try='test -s conftest.$ac_objext' 2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2904 (eval $ac_try) 2>&5 2905 ac_status=$? 2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2907 (exit $ac_status); }; }; then 2908 ac_cv_c_inline=$ac_kw; break 2909else 2910 echo "$as_me: failed program was:" >&5 2911cat conftest.$ac_ext >&5 2912fi 2913rm -f conftest.$ac_objext conftest.$ac_ext 2914done 2915 2916fi 2917echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 2918echo "${ECHO_T}$ac_cv_c_inline" >&6 2919case $ac_cv_c_inline in 2920 inline | yes) ;; 2921 no) 2922cat >>confdefs.h <<\_ACEOF 2923@%:@define inline 2924_ACEOF 2925 ;; 2926 *) cat >>confdefs.h <<_ACEOF 2927@%:@define inline $ac_cv_c_inline 2928_ACEOF 2929 ;; 2930esac 2931 2932 2933# Checks for library functions. 2934 2935for ac_func in memset 2936do 2937as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 2938echo "$as_me:$LINENO: checking for $ac_func" >&5 2939echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 2940if eval "test \"\${$as_ac_var+set}\" = set"; then 2941 echo $ECHO_N "(cached) $ECHO_C" >&6 2942else 2943 cat >conftest.$ac_ext <<_ACEOF 2944#line $LINENO "configure" 2945#include "confdefs.h" 2946/* System header to define __stub macros and hopefully few prototypes, 2947 which can conflict with char $ac_func (); below. */ 2948#include <assert.h> 2949/* Override any gcc2 internal prototype to avoid an error. */ 2950#ifdef __cplusplus 2951extern "C" 2952#endif 2953/* We use char because int might match the return type of a gcc2 2954 builtin and then its argument prototype would still apply. */ 2955char $ac_func (); 2956char (*f) (); 2957 2958#ifdef F77_DUMMY_MAIN 2959# ifdef __cplusplus 2960 extern "C" 2961# endif 2962 int F77_DUMMY_MAIN() { return 1; } 2963#endif 2964int 2965main () 2966{ 2967/* The GNU C library defines this for functions which it implements 2968 to always fail with ENOSYS. Some functions are actually named 2969 something starting with __ and the normal name is an alias. */ 2970#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2971choke me 2972#else 2973f = $ac_func; 2974#endif 2975 2976 ; 2977 return 0; 2978} 2979_ACEOF 2980rm -f conftest.$ac_objext conftest$ac_exeext 2981if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2982 (eval $ac_link) 2>&5 2983 ac_status=$? 2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2985 (exit $ac_status); } && 2986 { ac_try='test -s conftest$ac_exeext' 2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2988 (eval $ac_try) 2>&5 2989 ac_status=$? 2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2991 (exit $ac_status); }; }; then 2992 eval "$as_ac_var=yes" 2993else 2994 echo "$as_me: failed program was:" >&5 2995cat conftest.$ac_ext >&5 2996eval "$as_ac_var=no" 2997fi 2998rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2999fi 3000echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3001echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3002if test `eval echo '${'$as_ac_var'}'` = yes; then 3003 cat >>confdefs.h <<_ACEOF 3004@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3005_ACEOF 3006 3007fi 3008done 3009 3010ac_ext=c 3011ac_cpp='$CPP $CPPFLAGS' 3012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3014ac_compiler_gnu=$ac_cv_c_compiler_gnu 3015echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3016echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3017# On Suns, sometimes $CPP names a directory. 3018if test -n "$CPP" && test -d "$CPP"; then 3019 CPP= 3020fi 3021if test -z "$CPP"; then 3022 if test "${ac_cv_prog_CPP+set}" = set; then 3023 echo $ECHO_N "(cached) $ECHO_C" >&6 3024else 3025 # Double quotes because CPP needs to be expanded 3026 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3027 do 3028 ac_preproc_ok=false 3029for ac_c_preproc_warn_flag in '' yes 3030do 3031 # Use a header file that comes with gcc, so configuring glibc 3032 # with a fresh cross-compiler works. 3033 # On the NeXT, cc -E runs the code through the compiler's parser, 3034 # not just through cpp. "Syntax error" is here to catch this case. 3035 cat >conftest.$ac_ext <<_ACEOF 3036#line $LINENO "configure" 3037#include "confdefs.h" 3038@%:@include <assert.h> 3039 Syntax error 3040_ACEOF 3041if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3043 ac_status=$? 3044 egrep -v '^ *\+' conftest.er1 >conftest.err 3045 rm -f conftest.er1 3046 cat conftest.err >&5 3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3048 (exit $ac_status); } >/dev/null; then 3049 if test -s conftest.err; then 3050 ac_cpp_err=$ac_c_preproc_warn_flag 3051 else 3052 ac_cpp_err= 3053 fi 3054else 3055 ac_cpp_err=yes 3056fi 3057if test -z "$ac_cpp_err"; then 3058 : 3059else 3060 echo "$as_me: failed program was:" >&5 3061 cat conftest.$ac_ext >&5 3062 # Broken: fails on valid input. 3063continue 3064fi 3065rm -f conftest.err conftest.$ac_ext 3066 3067 # OK, works on sane cases. Now check whether non-existent headers 3068 # can be detected and how. 3069 cat >conftest.$ac_ext <<_ACEOF 3070#line $LINENO "configure" 3071#include "confdefs.h" 3072@%:@include <ac_nonexistent.h> 3073_ACEOF 3074if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3076 ac_status=$? 3077 egrep -v '^ *\+' conftest.er1 >conftest.err 3078 rm -f conftest.er1 3079 cat conftest.err >&5 3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3081 (exit $ac_status); } >/dev/null; then 3082 if test -s conftest.err; then 3083 ac_cpp_err=$ac_c_preproc_warn_flag 3084 else 3085 ac_cpp_err= 3086 fi 3087else 3088 ac_cpp_err=yes 3089fi 3090if test -z "$ac_cpp_err"; then 3091 # Broken: success on invalid input. 3092continue 3093else 3094 echo "$as_me: failed program was:" >&5 3095 cat conftest.$ac_ext >&5 3096 # Passes both tests. 3097ac_preproc_ok=: 3098break 3099fi 3100rm -f conftest.err conftest.$ac_ext 3101 3102done 3103# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3104rm -f conftest.err conftest.$ac_ext 3105if $ac_preproc_ok; then 3106 break 3107fi 3108 3109 done 3110 ac_cv_prog_CPP=$CPP 3111 3112fi 3113 CPP=$ac_cv_prog_CPP 3114else 3115 ac_cv_prog_CPP=$CPP 3116fi 3117echo "$as_me:$LINENO: result: $CPP" >&5 3118echo "${ECHO_T}$CPP" >&6 3119ac_preproc_ok=false 3120for ac_c_preproc_warn_flag in '' yes 3121do 3122 # Use a header file that comes with gcc, so configuring glibc 3123 # with a fresh cross-compiler works. 3124 # On the NeXT, cc -E runs the code through the compiler's parser, 3125 # not just through cpp. "Syntax error" is here to catch this case. 3126 cat >conftest.$ac_ext <<_ACEOF 3127#line $LINENO "configure" 3128#include "confdefs.h" 3129@%:@include <assert.h> 3130 Syntax error 3131_ACEOF 3132if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3134 ac_status=$? 3135 egrep -v '^ *\+' conftest.er1 >conftest.err 3136 rm -f conftest.er1 3137 cat conftest.err >&5 3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3139 (exit $ac_status); } >/dev/null; then 3140 if test -s conftest.err; then 3141 ac_cpp_err=$ac_c_preproc_warn_flag 3142 else 3143 ac_cpp_err= 3144 fi 3145else 3146 ac_cpp_err=yes 3147fi 3148if test -z "$ac_cpp_err"; then 3149 : 3150else 3151 echo "$as_me: failed program was:" >&5 3152 cat conftest.$ac_ext >&5 3153 # Broken: fails on valid input. 3154continue 3155fi 3156rm -f conftest.err conftest.$ac_ext 3157 3158 # OK, works on sane cases. Now check whether non-existent headers 3159 # can be detected and how. 3160 cat >conftest.$ac_ext <<_ACEOF 3161#line $LINENO "configure" 3162#include "confdefs.h" 3163@%:@include <ac_nonexistent.h> 3164_ACEOF 3165if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3167 ac_status=$? 3168 egrep -v '^ *\+' conftest.er1 >conftest.err 3169 rm -f conftest.er1 3170 cat conftest.err >&5 3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3172 (exit $ac_status); } >/dev/null; then 3173 if test -s conftest.err; then 3174 ac_cpp_err=$ac_c_preproc_warn_flag 3175 else 3176 ac_cpp_err= 3177 fi 3178else 3179 ac_cpp_err=yes 3180fi 3181if test -z "$ac_cpp_err"; then 3182 # Broken: success on invalid input. 3183continue 3184else 3185 echo "$as_me: failed program was:" >&5 3186 cat conftest.$ac_ext >&5 3187 # Passes both tests. 3188ac_preproc_ok=: 3189break 3190fi 3191rm -f conftest.err conftest.$ac_ext 3192 3193done 3194# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3195rm -f conftest.err conftest.$ac_ext 3196if $ac_preproc_ok; then 3197 : 3198else 3199 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 3200echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3201 { (exit 1); exit 1; }; } 3202fi 3203 3204ac_ext=c 3205ac_cpp='$CPP $CPPFLAGS' 3206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3208ac_compiler_gnu=$ac_cv_c_compiler_gnu 3209 3210 3211echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3212echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3213if test "${ac_cv_header_stdc+set}" = set; then 3214 echo $ECHO_N "(cached) $ECHO_C" >&6 3215else 3216 cat >conftest.$ac_ext <<_ACEOF 3217#line $LINENO "configure" 3218#include "confdefs.h" 3219#include <stdlib.h> 3220#include <stdarg.h> 3221#include <string.h> 3222#include <float.h> 3223 3224_ACEOF 3225if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3227 ac_status=$? 3228 egrep -v '^ *\+' conftest.er1 >conftest.err 3229 rm -f conftest.er1 3230 cat conftest.err >&5 3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3232 (exit $ac_status); } >/dev/null; then 3233 if test -s conftest.err; then 3234 ac_cpp_err=$ac_c_preproc_warn_flag 3235 else 3236 ac_cpp_err= 3237 fi 3238else 3239 ac_cpp_err=yes 3240fi 3241if test -z "$ac_cpp_err"; then 3242 ac_cv_header_stdc=yes 3243else 3244 echo "$as_me: failed program was:" >&5 3245 cat conftest.$ac_ext >&5 3246 ac_cv_header_stdc=no 3247fi 3248rm -f conftest.err conftest.$ac_ext 3249 3250if test $ac_cv_header_stdc = yes; then 3251 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3252 cat >conftest.$ac_ext <<_ACEOF 3253#line $LINENO "configure" 3254#include "confdefs.h" 3255#include <string.h> 3256 3257_ACEOF 3258if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3259 egrep "memchr" >/dev/null 2>&1; then 3260 : 3261else 3262 ac_cv_header_stdc=no 3263fi 3264rm -f conftest* 3265 3266fi 3267 3268if test $ac_cv_header_stdc = yes; then 3269 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3270 cat >conftest.$ac_ext <<_ACEOF 3271#line $LINENO "configure" 3272#include "confdefs.h" 3273#include <stdlib.h> 3274 3275_ACEOF 3276if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3277 egrep "free" >/dev/null 2>&1; then 3278 : 3279else 3280 ac_cv_header_stdc=no 3281fi 3282rm -f conftest* 3283 3284fi 3285 3286if test $ac_cv_header_stdc = yes; then 3287 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3288 if test "$cross_compiling" = yes; then 3289 : 3290else 3291 cat >conftest.$ac_ext <<_ACEOF 3292#line $LINENO "configure" 3293#include "confdefs.h" 3294#include <ctype.h> 3295#if ((' ' & 0x0FF) == 0x020) 3296# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3297# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3298#else 3299# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 3300 || ('j' <= (c) && (c) <= 'r') \ 3301 || ('s' <= (c) && (c) <= 'z')) 3302# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3303#endif 3304 3305#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3306int 3307main () 3308{ 3309 int i; 3310 for (i = 0; i < 256; i++) 3311 if (XOR (islower (i), ISLOWER (i)) 3312 || toupper (i) != TOUPPER (i)) 3313 exit(2); 3314 exit (0); 3315} 3316_ACEOF 3317rm -f conftest$ac_exeext 3318if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3319 (eval $ac_link) 2>&5 3320 ac_status=$? 3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3324 (eval $ac_try) 2>&5 3325 ac_status=$? 3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3327 (exit $ac_status); }; }; then 3328 : 3329else 3330 echo "$as_me: program exited with status $ac_status" >&5 3331echo "$as_me: failed program was:" >&5 3332cat conftest.$ac_ext >&5 3333( exit $ac_status ) 3334ac_cv_header_stdc=no 3335fi 3336rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3337fi 3338fi 3339fi 3340echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3341echo "${ECHO_T}$ac_cv_header_stdc" >&6 3342if test $ac_cv_header_stdc = yes; then 3343 3344cat >>confdefs.h <<\_ACEOF 3345@%:@define STDC_HEADERS 1 3346_ACEOF 3347 3348fi 3349 3350# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3361 inttypes.h stdint.h unistd.h 3362do 3363as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3364echo "$as_me:$LINENO: checking for $ac_header" >&5 3365echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3366if eval "test \"\${$as_ac_Header+set}\" = set"; then 3367 echo $ECHO_N "(cached) $ECHO_C" >&6 3368else 3369 cat >conftest.$ac_ext <<_ACEOF 3370#line $LINENO "configure" 3371#include "confdefs.h" 3372$ac_includes_default 3373 3374@%:@include <$ac_header> 3375_ACEOF 3376rm -f conftest.$ac_objext 3377if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3378 (eval $ac_compile) 2>&5 3379 ac_status=$? 3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3381 (exit $ac_status); } && 3382 { ac_try='test -s conftest.$ac_objext' 3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3384 (eval $ac_try) 2>&5 3385 ac_status=$? 3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3387 (exit $ac_status); }; }; then 3388 eval "$as_ac_Header=yes" 3389else 3390 echo "$as_me: failed program was:" >&5 3391cat conftest.$ac_ext >&5 3392eval "$as_ac_Header=no" 3393fi 3394rm -f conftest.$ac_objext conftest.$ac_ext 3395fi 3396echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3397echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3398if test `eval echo '${'$as_ac_Header'}'` = yes; then 3399 cat >>confdefs.h <<_ACEOF 3400@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3401_ACEOF 3402 3403fi 3404 3405done 3406 3407 3408 3409for ac_header in stdlib.h 3410do 3411as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3412if eval "test \"\${$as_ac_Header+set}\" = set"; then 3413 echo "$as_me:$LINENO: checking for $ac_header" >&5 3414echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3415if eval "test \"\${$as_ac_Header+set}\" = set"; then 3416 echo $ECHO_N "(cached) $ECHO_C" >&6 3417fi 3418echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3419echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3420else 3421 # Is the header compilable? 3422echo "$as_me:$LINENO: checking $ac_header usability" >&5 3423echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3424cat >conftest.$ac_ext <<_ACEOF 3425#line $LINENO "configure" 3426#include "confdefs.h" 3427$ac_includes_default 3428@%:@include <$ac_header> 3429_ACEOF 3430rm -f conftest.$ac_objext 3431if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3432 (eval $ac_compile) 2>&5 3433 ac_status=$? 3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3435 (exit $ac_status); } && 3436 { ac_try='test -s conftest.$ac_objext' 3437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3438 (eval $ac_try) 2>&5 3439 ac_status=$? 3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3441 (exit $ac_status); }; }; then 3442 ac_header_compiler=yes 3443else 3444 echo "$as_me: failed program was:" >&5 3445cat conftest.$ac_ext >&5 3446ac_header_compiler=no 3447fi 3448rm -f conftest.$ac_objext conftest.$ac_ext 3449echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3450echo "${ECHO_T}$ac_header_compiler" >&6 3451 3452# Is the header present? 3453echo "$as_me:$LINENO: checking $ac_header presence" >&5 3454echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3455cat >conftest.$ac_ext <<_ACEOF 3456#line $LINENO "configure" 3457#include "confdefs.h" 3458@%:@include <$ac_header> 3459_ACEOF 3460if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3462 ac_status=$? 3463 egrep -v '^ *\+' conftest.er1 >conftest.err 3464 rm -f conftest.er1 3465 cat conftest.err >&5 3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3467 (exit $ac_status); } >/dev/null; then 3468 if test -s conftest.err; then 3469 ac_cpp_err=$ac_c_preproc_warn_flag 3470 else 3471 ac_cpp_err= 3472 fi 3473else 3474 ac_cpp_err=yes 3475fi 3476if test -z "$ac_cpp_err"; then 3477 ac_header_preproc=yes 3478else 3479 echo "$as_me: failed program was:" >&5 3480 cat conftest.$ac_ext >&5 3481 ac_header_preproc=no 3482fi 3483rm -f conftest.err conftest.$ac_ext 3484echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3485echo "${ECHO_T}$ac_header_preproc" >&6 3486 3487# So? What about this header? 3488case $ac_header_compiler:$ac_header_preproc in 3489 yes:no ) 3490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3491echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3493echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3494 no:yes ) 3495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3496echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3498echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3500echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3501esac 3502echo "$as_me:$LINENO: checking for $ac_header" >&5 3503echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3504if eval "test \"\${$as_ac_Header+set}\" = set"; then 3505 echo $ECHO_N "(cached) $ECHO_C" >&6 3506else 3507 eval "$as_ac_Header=$ac_header_preproc" 3508fi 3509echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3510echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3511 3512fi 3513if test `eval echo '${'$as_ac_Header'}'` = yes; then 3514 cat >>confdefs.h <<_ACEOF 3515@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3516_ACEOF 3517 3518fi 3519 3520done 3521 3522echo "$as_me:$LINENO: checking for working malloc" >&5 3523echo $ECHO_N "checking for working malloc... $ECHO_C" >&6 3524if test "${ac_cv_func_malloc_works+set}" = set; then 3525 echo $ECHO_N "(cached) $ECHO_C" >&6 3526else 3527 if test "$cross_compiling" = yes; then 3528 ac_cv_func_malloc_works=no 3529else 3530 cat >conftest.$ac_ext <<_ACEOF 3531#line $LINENO "configure" 3532#include "confdefs.h" 3533#if STDC_HEADERS || HAVE_STDLIB_H 3534# include <stdlib.h> 3535#else 3536char *malloc (); 3537#endif 3538 3539#ifdef F77_DUMMY_MAIN 3540# ifdef __cplusplus 3541 extern "C" 3542# endif 3543 int F77_DUMMY_MAIN() { return 1; } 3544#endif 3545int 3546main () 3547{ 3548exit (malloc (0) ? 0 : 1); 3549 ; 3550 return 0; 3551} 3552_ACEOF 3553rm -f conftest$ac_exeext 3554if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3555 (eval $ac_link) 2>&5 3556 ac_status=$? 3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3560 (eval $ac_try) 2>&5 3561 ac_status=$? 3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3563 (exit $ac_status); }; }; then 3564 ac_cv_func_malloc_works=yes 3565else 3566 echo "$as_me: program exited with status $ac_status" >&5 3567echo "$as_me: failed program was:" >&5 3568cat conftest.$ac_ext >&5 3569( exit $ac_status ) 3570ac_cv_func_malloc_works=no 3571fi 3572rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3573fi 3574fi 3575echo "$as_me:$LINENO: result: $ac_cv_func_malloc_works" >&5 3576echo "${ECHO_T}$ac_cv_func_malloc_works" >&6 3577if test $ac_cv_func_malloc_works = yes; then 3578 3579cat >>confdefs.h <<\_ACEOF 3580@%:@define HAVE_MALLOC 1 3581_ACEOF 3582 3583fi 3584 3585 3586ac_config_files="$ac_config_files Makefile" 3587 3588cat >confcache <<\_ACEOF 3589# This file is a shell script that caches the results of configure 3590# tests run on this system so they can be shared between configure 3591# scripts and configure runs, see configure's option --config-cache. 3592# It is not useful on other systems. If it contains results you don't 3593# want to keep, you may remove or edit it. 3594# 3595# config.status only pays attention to the cache file if you give it 3596# the --recheck option to rerun configure. 3597# 3598# `ac_cv_env_foo' variables (set or unset) will be overriden when 3599# loading this file, other *unset* `ac_cv_foo' will be assigned the 3600# following values. 3601 3602_ACEOF 3603 3604# The following way of writing the cache mishandles newlines in values, 3605# but we know of no workaround that is simple, portable, and efficient. 3606# So, don't put newlines in cache variables' values. 3607# Ultrix sh set writes to stderr and can't be redirected directly, 3608# and sets the high bit in the cache file unless we assign to the vars. 3609{ 3610 (set) 2>&1 | 3611 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3612 *ac_space=\ *) 3613 # `set' does not quote correctly, so add quotes (double-quote 3614 # substitution turns \\\\ into \\, and sed turns \\ into \). 3615 sed -n \ 3616 "s/'/'\\\\''/g; 3617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3618 ;; 3619 *) 3620 # `set' quotes correctly as required by POSIX, so do not add quotes. 3621 sed -n \ 3622 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3623 ;; 3624 esac; 3625} | 3626 sed ' 3627 t clear 3628 : clear 3629 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3630 t end 3631 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3632 : end' >>confcache 3633if cmp -s $cache_file confcache; then :; else 3634 if test -w $cache_file; then 3635 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3636 cat confcache >$cache_file 3637 else 3638 echo "not updating unwritable cache $cache_file" 3639 fi 3640fi 3641rm -f confcache 3642 3643test "x$prefix" = xNONE && prefix=$ac_default_prefix 3644# Let make expand exec_prefix. 3645test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3646 3647# VPATH may cause trouble with some makes, so we remove $(srcdir), 3648# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3649# trailing colons and then remove the whole line if VPATH becomes empty 3650# (actually we leave an empty line to preserve line numbers). 3651if test "x$srcdir" = x.; then 3652 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3653s/:*\$(srcdir):*/:/; 3654s/:*\${srcdir}:*/:/; 3655s/:*@srcdir@:*/:/; 3656s/^\([^=]*=[ ]*\):*/\1/; 3657s/:*$//; 3658s/^[^=]*=[ ]*$//; 3659}' 3660fi 3661 3662# Transform confdefs.h into DEFS. 3663# Protect against shell expansion while executing Makefile rules. 3664# Protect against Makefile macro expansion. 3665# 3666# If the first sed substitution is executed (which looks for macros that 3667# take arguments), then we branch to the quote section. Otherwise, 3668# look for a macro that doesn't take arguments. 3669cat >confdef2opt.sed <<\_ACEOF 3670t clear 3671: clear 3672s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 3673t quote 3674s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 3675t quote 3676d 3677: quote 3678s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 3679s,\[,\\&,g 3680s,\],\\&,g 3681s,\$,$$,g 3682p 3683_ACEOF 3684# We use echo to avoid assuming a particular line-breaking character. 3685# The extra dot is to prevent the shell from consuming trailing 3686# line-breaks from the sub-command output. A line-break within 3687# single-quotes doesn't work because, if this script is created in a 3688# platform that uses two characters for line-breaks (e.g., DOS), tr 3689# would break. 3690ac_LF_and_DOT=`echo; echo .` 3691DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 3692rm -f confdef2opt.sed 3693 3694 3695 3696: ${CONFIG_STATUS=./config.status} 3697ac_clean_files_save=$ac_clean_files 3698ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3699{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3700echo "$as_me: creating $CONFIG_STATUS" >&6;} 3701cat >$CONFIG_STATUS <<_ACEOF 3702#! $SHELL 3703# Generated by $as_me. 3704# Run this file to recreate the current configuration. 3705# Compiler output produced by configure, useful for debugging 3706# configure, is in config.log if it exists. 3707 3708debug=false 3709SHELL=\${CONFIG_SHELL-$SHELL} 3710_ACEOF 3711 3712cat >>$CONFIG_STATUS <<\_ACEOF 3713 3714## --------------------- ## 3715## M4sh Initialization. ## 3716## --------------------- ## 3717 3718# Be Bourne compatible 3719if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3720 emulate sh 3721 NULLCMD=: 3722elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3723 set -o posix 3724fi 3725 3726# NLS nuisances. 3727# Support unset when possible. 3728if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 3729 as_unset=unset 3730else 3731 as_unset=false 3732fi 3733 3734(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 3735 { $as_unset LANG || test "${LANG+set}" != set; } || 3736 { LANG=C; export LANG; } 3737(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 3738 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 3739 { LC_ALL=C; export LC_ALL; } 3740(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 3741 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 3742 { LC_TIME=C; export LC_TIME; } 3743(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 3744 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 3745 { LC_CTYPE=C; export LC_CTYPE; } 3746(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 3747 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 3748 { LANGUAGE=C; export LANGUAGE; } 3749(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 3750 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 3751 { LC_COLLATE=C; export LC_COLLATE; } 3752(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 3753 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 3754 { LC_NUMERIC=C; export LC_NUMERIC; } 3755(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 3756 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 3757 { LC_MESSAGES=C; export LC_MESSAGES; } 3758 3759 3760# Name of the executable. 3761as_me=`(basename "$0") 2>/dev/null || 3762$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3763 X"$0" : 'X\(//\)$' \| \ 3764 X"$0" : 'X\(/\)$' \| \ 3765 . : '\(.\)' 2>/dev/null || 3766echo X/"$0" | 3767 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3768 /^X\/\(\/\/\)$/{ s//\1/; q; } 3769 /^X\/\(\/\).*/{ s//\1/; q; } 3770 s/.*/./; q'` 3771 3772# PATH needs CR, and LINENO needs CR and PATH. 3773# Avoid depending upon Character Ranges. 3774as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3775as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3776as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3777as_cr_digits='0123456789' 3778as_cr_alnum=$as_cr_Letters$as_cr_digits 3779 3780# The user is always right. 3781if test "${PATH_SEPARATOR+set}" != set; then 3782 echo "#! /bin/sh" >conftest.sh 3783 echo "exit 0" >>conftest.sh 3784 chmod +x conftest.sh 3785 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 3786 PATH_SEPARATOR=';' 3787 else 3788 PATH_SEPARATOR=: 3789 fi 3790 rm -f conftest.sh 3791fi 3792 3793 3794 as_lineno_1=$LINENO 3795 as_lineno_2=$LINENO 3796 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3797 test "x$as_lineno_1" != "x$as_lineno_2" && 3798 test "x$as_lineno_3" = "x$as_lineno_2" || { 3799 # Find who we are. Look in the path if we contain no path at all 3800 # relative or not. 3801 case $0 in 3802 *[\\/]* ) as_myself=$0 ;; 3803 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3804for as_dir in $PATH 3805do 3806 IFS=$as_save_IFS 3807 test -z "$as_dir" && as_dir=. 3808 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3809done 3810 3811 ;; 3812 esac 3813 # We did not find ourselves, most probably we were run as `sh COMMAND' 3814 # in which case we are not to be found in the path. 3815 if test "x$as_myself" = x; then 3816 as_myself=$0 3817 fi 3818 if test ! -f "$as_myself"; then 3819 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3820echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3821 { (exit 1); exit 1; }; } 3822 fi 3823 case $CONFIG_SHELL in 3824 '') 3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3826for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3827do 3828 IFS=$as_save_IFS 3829 test -z "$as_dir" && as_dir=. 3830 for as_base in sh bash ksh sh5; do 3831 case $as_dir in 3832 /*) 3833 if ("$as_dir/$as_base" -c ' 3834 as_lineno_1=$LINENO 3835 as_lineno_2=$LINENO 3836 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3837 test "x$as_lineno_1" != "x$as_lineno_2" && 3838 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3839 CONFIG_SHELL=$as_dir/$as_base 3840 export CONFIG_SHELL 3841 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3842 fi;; 3843 esac 3844 done 3845done 3846;; 3847 esac 3848 3849 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3850 # uniformly replaced by the line number. The first 'sed' inserts a 3851 # line-number line before each line; the second 'sed' does the real 3852 # work. The second script uses 'N' to pair each line-number line 3853 # with the numbered line, and appends trailing '-' during 3854 # substitution so that $LINENO is not a special case at line end. 3855 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3856 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3857 sed '=' <$as_myself | 3858 sed ' 3859 N 3860 s,$,-, 3861 : loop 3862 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3863 t loop 3864 s,-$,, 3865 s,^['$as_cr_digits']*\n,, 3866 ' >$as_me.lineno && 3867 chmod +x $as_me.lineno || 3868 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3869echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3870 { (exit 1); exit 1; }; } 3871 3872 # Don't try to exec as it changes $[0], causing all sort of problems 3873 # (the dirname of $[0] is not the place where we might find the 3874 # original and so on. Autoconf is especially sensible to this). 3875 . ./$as_me.lineno 3876 # Exit status is that of the last command. 3877 exit 3878} 3879 3880 3881case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3882 *c*,-n*) ECHO_N= ECHO_C=' 3883' ECHO_T=' ' ;; 3884 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3885 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3886esac 3887 3888if expr a : '\(a\)' >/dev/null 2>&1; then 3889 as_expr=expr 3890else 3891 as_expr=false 3892fi 3893 3894rm -f conf$$ conf$$.exe conf$$.file 3895echo >conf$$.file 3896if ln -s conf$$.file conf$$ 2>/dev/null; then 3897 # We could just check for DJGPP; but this test a) works b) is more generic 3898 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3899 if test -f conf$$.exe; then 3900 # Don't use ln at all; we don't have any links 3901 as_ln_s='cp -p' 3902 else 3903 as_ln_s='ln -s' 3904 fi 3905elif ln conf$$.file conf$$ 2>/dev/null; then 3906 as_ln_s=ln 3907else 3908 as_ln_s='cp -p' 3909fi 3910rm -f conf$$ conf$$.exe conf$$.file 3911 3912as_executable_p="test -f" 3913 3914# Sed expression to map a string onto a valid CPP name. 3915as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 3916 3917# Sed expression to map a string onto a valid variable name. 3918as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 3919 3920 3921# IFS 3922# We need space, tab and new line, in precisely that order. 3923as_nl=' 3924' 3925IFS=" $as_nl" 3926 3927# CDPATH. 3928$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 3929 3930exec 6>&1 3931 3932# Open the log real soon, to keep \$[0] and so on meaningful, and to 3933# report actual input values of CONFIG_FILES etc. instead of their 3934# values after options handling. Logging --version etc. is OK. 3935exec 5>>config.log 3936{ 3937 echo 3938 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 3939@%:@@%:@ Running $as_me. @%:@@%:@ 3940_ASBOX 3941} >&5 3942cat >&5 <<_CSEOF 3943 3944This file was extended by $as_me, which was 3945generated by GNU Autoconf 2.53. Invocation command line was 3946 3947 CONFIG_FILES = $CONFIG_FILES 3948 CONFIG_HEADERS = $CONFIG_HEADERS 3949 CONFIG_LINKS = $CONFIG_LINKS 3950 CONFIG_COMMANDS = $CONFIG_COMMANDS 3951 $ $0 $@ 3952 3953_CSEOF 3954echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3955echo >&5 3956_ACEOF 3957 3958# Files that config.status was made for. 3959if test -n "$ac_config_files"; then 3960 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3961fi 3962 3963if test -n "$ac_config_headers"; then 3964 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3965fi 3966 3967if test -n "$ac_config_links"; then 3968 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3969fi 3970 3971if test -n "$ac_config_commands"; then 3972 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3973fi 3974 3975cat >>$CONFIG_STATUS <<\_ACEOF 3976 3977ac_cs_usage="\ 3978\`$as_me' instantiates files from templates according to the 3979current configuration. 3980 3981Usage: $0 [OPTIONS] [FILE]... 3982 3983 -h, --help print this help, then exit 3984 -V, --version print version number, then exit 3985 -d, --debug don't remove temporary files 3986 --recheck update $as_me by reconfiguring in the same conditions 3987 --file=FILE[:TEMPLATE] 3988 instantiate the configuration file FILE 3989 3990Configuration files: 3991$config_files 3992 3993Configuration commands: 3994$config_commands 3995 3996Report bugs to <bug-autoconf@gnu.org>." 3997_ACEOF 3998 3999cat >>$CONFIG_STATUS <<_ACEOF 4000ac_cs_version="\\ 4001config.status 4002configured by $0, generated by GNU Autoconf 2.53, 4003 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4004 4005Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 4006Free Software Foundation, Inc. 4007This config.status script is free software; the Free Software Foundation 4008gives unlimited permission to copy, distribute and modify it." 4009srcdir=$srcdir 4010INSTALL="$INSTALL" 4011_ACEOF 4012 4013cat >>$CONFIG_STATUS <<\_ACEOF 4014# If no file are specified by the user, then we need to provide default 4015# value. By we need to know if files were specified by the user. 4016ac_need_defaults=: 4017while test $# != 0 4018do 4019 case $1 in 4020 --*=*) 4021 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4022 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4023 shift 4024 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 4025 shift 4026 ;; 4027 -*);; 4028 *) # This is not an option, so the user has probably given explicit 4029 # arguments. 4030 ac_need_defaults=false;; 4031 esac 4032 4033 case $1 in 4034 # Handling of the options. 4035_ACEOF 4036cat >>$CONFIG_STATUS <<_ACEOF 4037 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4038 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 4039 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 4040_ACEOF 4041cat >>$CONFIG_STATUS <<\_ACEOF 4042 --version | --vers* | -V ) 4043 echo "$ac_cs_version"; exit 0 ;; 4044 --he | --h) 4045 # Conflict between --help and --header 4046 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4047Try \`$0 --help' for more information." >&5 4048echo "$as_me: error: ambiguous option: $1 4049Try \`$0 --help' for more information." >&2;} 4050 { (exit 1); exit 1; }; };; 4051 --help | --hel | -h ) 4052 echo "$ac_cs_usage"; exit 0 ;; 4053 --debug | --d* | -d ) 4054 debug=: ;; 4055 --file | --fil | --fi | --f ) 4056 shift 4057 CONFIG_FILES="$CONFIG_FILES $1" 4058 ac_need_defaults=false;; 4059 --header | --heade | --head | --hea ) 4060 shift 4061 CONFIG_HEADERS="$CONFIG_HEADERS $1" 4062 ac_need_defaults=false;; 4063 4064 # This is an error. 4065 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4066Try \`$0 --help' for more information." >&5 4067echo "$as_me: error: unrecognized option: $1 4068Try \`$0 --help' for more information." >&2;} 4069 { (exit 1); exit 1; }; } ;; 4070 4071 *) ac_config_targets="$ac_config_targets $1" ;; 4072 4073 esac 4074 shift 4075done 4076 4077_ACEOF 4078 4079cat >>$CONFIG_STATUS <<_ACEOF 4080# 4081# INIT-COMMANDS section. 4082# 4083 4084AMDEP_TRUE="$AMDEP_TRUE" 4085ac_aux_dir="$ac_aux_dir" 4086 4087_ACEOF 4088 4089 4090 4091cat >>$CONFIG_STATUS <<\_ACEOF 4092for ac_config_target in $ac_config_targets 4093do 4094 case "$ac_config_target" in 4095 # Handling of arguments. 4096 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4097 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 4098 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4099echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4100 { (exit 1); exit 1; }; };; 4101 esac 4102done 4103 4104# If the user did not use the arguments to specify the items to instantiate, 4105# then the envvar interface is used. Set only those that are not. 4106# We use the long form for the default assignment because of an extremely 4107# bizarre bug on SunOS 4.1.3. 4108if $ac_need_defaults; then 4109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4110 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4111fi 4112 4113# Create a temporary directory, and hook for its removal unless debugging. 4114$debug || 4115{ 4116 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 4117 trap '{ (exit 1); exit 1; }' 1 2 13 15 4118} 4119 4120# Create a (secure) tmp directory for tmp files. 4121: ${TMPDIR=/tmp} 4122{ 4123 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 4124 test -n "$tmp" && test -d "$tmp" 4125} || 4126{ 4127 tmp=$TMPDIR/cs$$-$RANDOM 4128 (umask 077 && mkdir $tmp) 4129} || 4130{ 4131 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 4132 { (exit 1); exit 1; } 4133} 4134 4135_ACEOF 4136 4137cat >>$CONFIG_STATUS <<_ACEOF 4138 4139# 4140# CONFIG_FILES section. 4141# 4142 4143# No need to generate the scripts if there are no CONFIG_FILES. 4144# This happens for instance when ./config.status config.h 4145if test -n "\$CONFIG_FILES"; then 4146 # Protect against being on the right side of a sed subst in config.status. 4147 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 4148 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4149s,@SHELL@,$SHELL,;t t 4150s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4151s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4152s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4153s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4154s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4155s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4156s,@exec_prefix@,$exec_prefix,;t t 4157s,@prefix@,$prefix,;t t 4158s,@program_transform_name@,$program_transform_name,;t t 4159s,@bindir@,$bindir,;t t 4160s,@sbindir@,$sbindir,;t t 4161s,@libexecdir@,$libexecdir,;t t 4162s,@datadir@,$datadir,;t t 4163s,@sysconfdir@,$sysconfdir,;t t 4164s,@sharedstatedir@,$sharedstatedir,;t t 4165s,@localstatedir@,$localstatedir,;t t 4166s,@libdir@,$libdir,;t t 4167s,@includedir@,$includedir,;t t 4168s,@oldincludedir@,$oldincludedir,;t t 4169s,@infodir@,$infodir,;t t 4170s,@mandir@,$mandir,;t t 4171s,@build_alias@,$build_alias,;t t 4172s,@host_alias@,$host_alias,;t t 4173s,@target_alias@,$target_alias,;t t 4174s,@DEFS@,$DEFS,;t t 4175s,@ECHO_C@,$ECHO_C,;t t 4176s,@ECHO_N@,$ECHO_N,;t t 4177s,@ECHO_T@,$ECHO_T,;t t 4178s,@LIBS@,$LIBS,;t t 4179s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 4180s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 4181s,@INSTALL_DATA@,$INSTALL_DATA,;t t 4182s,@PACKAGE@,$PACKAGE,;t t 4183s,@VERSION@,$VERSION,;t t 4184s,@EXEEXT@,$EXEEXT,;t t 4185s,@OBJEXT@,$OBJEXT,;t t 4186s,@ACLOCAL@,$ACLOCAL,;t t 4187s,@AUTOCONF@,$AUTOCONF,;t t 4188s,@AUTOMAKE@,$AUTOMAKE,;t t 4189s,@AUTOHEADER@,$AUTOHEADER,;t t 4190s,@MAKEINFO@,$MAKEINFO,;t t 4191s,@AMTAR@,$AMTAR,;t t 4192s,@install_sh@,$install_sh,;t t 4193s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 4194s,@AWK@,$AWK,;t t 4195s,@SET_MAKE@,$SET_MAKE,;t t 4196s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 4197s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 4198s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 4199s,@DEPDIR@,$DEPDIR,;t t 4200s,@CC@,$CC,;t t 4201s,@CFLAGS@,$CFLAGS,;t t 4202s,@LDFLAGS@,$LDFLAGS,;t t 4203s,@CPPFLAGS@,$CPPFLAGS,;t t 4204s,@ac_ct_CC@,$ac_ct_CC,;t t 4205s,@am__include@,$am__include,;t t 4206s,@am__quote@,$am__quote,;t t 4207s,@CCDEPMODE@,$CCDEPMODE,;t t 4208s,@CPP@,$CPP,;t t 4209CEOF 4210 4211_ACEOF 4212 4213 cat >>$CONFIG_STATUS <<\_ACEOF 4214 # Split the substitutions into bite-sized pieces for seds with 4215 # small command number limits, like on Digital OSF/1 and HP-UX. 4216 ac_max_sed_lines=48 4217 ac_sed_frag=1 # Number of current file. 4218 ac_beg=1 # First line for current file. 4219 ac_end=$ac_max_sed_lines # Line after last line for current file. 4220 ac_more_lines=: 4221 ac_sed_cmds= 4222 while $ac_more_lines; do 4223 if test $ac_beg -gt 1; then 4224 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4225 else 4226 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4227 fi 4228 if test ! -s $tmp/subs.frag; then 4229 ac_more_lines=false 4230 else 4231 # The purpose of the label and of the branching condition is to 4232 # speed up the sed processing (if there are no `@' at all, there 4233 # is no need to browse any of the substitutions). 4234 # These are the two extra sed commands mentioned above. 4235 (echo ':t 4236 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4237 if test -z "$ac_sed_cmds"; then 4238 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4239 else 4240 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4241 fi 4242 ac_sed_frag=`expr $ac_sed_frag + 1` 4243 ac_beg=$ac_end 4244 ac_end=`expr $ac_end + $ac_max_sed_lines` 4245 fi 4246 done 4247 if test -z "$ac_sed_cmds"; then 4248 ac_sed_cmds=cat 4249 fi 4250fi # test -n "$CONFIG_FILES" 4251 4252_ACEOF 4253cat >>$CONFIG_STATUS <<\_ACEOF 4254for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4255 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4256 case $ac_file in 4257 - | *:- | *:-:* ) # input from stdin 4258 cat >$tmp/stdin 4259 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4260 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4261 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4262 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4263 * ) ac_file_in=$ac_file.in ;; 4264 esac 4265 4266 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4267 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4268$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4269 X"$ac_file" : 'X\(//\)[^/]' \| \ 4270 X"$ac_file" : 'X\(//\)$' \| \ 4271 X"$ac_file" : 'X\(/\)' \| \ 4272 . : '\(.\)' 2>/dev/null || 4273echo X"$ac_file" | 4274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4275 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4276 /^X\(\/\/\)$/{ s//\1/; q; } 4277 /^X\(\/\).*/{ s//\1/; q; } 4278 s/.*/./; q'` 4279 { case "$ac_dir" in 4280 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 4281 *) as_incr_dir=.;; 4282esac 4283as_dummy="$ac_dir" 4284for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 4285 case $as_mkdir_dir in 4286 # Skip DOS drivespec 4287 ?:) as_incr_dir=$as_mkdir_dir ;; 4288 *) 4289 as_incr_dir=$as_incr_dir/$as_mkdir_dir 4290 test -d "$as_incr_dir" || 4291 mkdir "$as_incr_dir" || 4292 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 4293echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} 4294 { (exit 1); exit 1; }; } 4295 ;; 4296 esac 4297done; } 4298 4299 ac_builddir=. 4300 4301if test "$ac_dir" != .; then 4302 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4303 # A "../" for each directory in $ac_dir_suffix. 4304 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4305else 4306 ac_dir_suffix= ac_top_builddir= 4307fi 4308 4309case $srcdir in 4310 .) # No --srcdir option. We are building in place. 4311 ac_srcdir=. 4312 if test -z "$ac_top_builddir"; then 4313 ac_top_srcdir=. 4314 else 4315 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4316 fi ;; 4317 [\\/]* | ?:[\\/]* ) # Absolute path. 4318 ac_srcdir=$srcdir$ac_dir_suffix; 4319 ac_top_srcdir=$srcdir ;; 4320 *) # Relative path. 4321 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4322 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4323esac 4324# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 4325# absolute. 4326ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 4327ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 4328ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 4329ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 4330 4331 4332 case $INSTALL in 4333 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4334 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 4335 esac 4336 4337 if test x"$ac_file" != x-; then 4338 { echo "$as_me:$LINENO: creating $ac_file" >&5 4339echo "$as_me: creating $ac_file" >&6;} 4340 rm -f "$ac_file" 4341 fi 4342 # Let's still pretend it is `configure' which instantiates (i.e., don't 4343 # use $as_me), people would be surprised to read: 4344 # /* config.h. Generated by config.status. */ 4345 if test x"$ac_file" = x-; then 4346 configure_input= 4347 else 4348 configure_input="$ac_file. " 4349 fi 4350 configure_input=$configure_input"Generated from `echo $ac_file_in | 4351 sed 's,.*/,,'` by configure." 4352 4353 # First look for the input files in the build tree, otherwise in the 4354 # src tree. 4355 ac_file_inputs=`IFS=: 4356 for f in $ac_file_in; do 4357 case $f in 4358 -) echo $tmp/stdin ;; 4359 [\\/$]*) 4360 # Absolute (can't be DOS-style, as IFS=:) 4361 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4362echo "$as_me: error: cannot find input file: $f" >&2;} 4363 { (exit 1); exit 1; }; } 4364 echo $f;; 4365 *) # Relative 4366 if test -f "$f"; then 4367 # Build tree 4368 echo $f 4369 elif test -f "$srcdir/$f"; then 4370 # Source tree 4371 echo $srcdir/$f 4372 else 4373 # /dev/null tree 4374 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4375echo "$as_me: error: cannot find input file: $f" >&2;} 4376 { (exit 1); exit 1; }; } 4377 fi;; 4378 esac 4379 done` || { (exit 1); exit 1; } 4380_ACEOF 4381cat >>$CONFIG_STATUS <<_ACEOF 4382 sed "$ac_vpsub 4383$extrasub 4384_ACEOF 4385cat >>$CONFIG_STATUS <<\_ACEOF 4386:t 4387/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4388s,@configure_input@,$configure_input,;t t 4389s,@srcdir@,$ac_srcdir,;t t 4390s,@abs_srcdir@,$ac_abs_srcdir,;t t 4391s,@top_srcdir@,$ac_top_srcdir,;t t 4392s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 4393s,@builddir@,$ac_builddir,;t t 4394s,@abs_builddir@,$ac_abs_builddir,;t t 4395s,@top_builddir@,$ac_top_builddir,;t t 4396s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4397s,@INSTALL@,$ac_INSTALL,;t t 4398" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4399 rm -f $tmp/stdin 4400 if test x"$ac_file" != x-; then 4401 mv $tmp/out $ac_file 4402 else 4403 cat $tmp/out 4404 rm -f $tmp/out 4405 fi 4406 4407done 4408_ACEOF 4409cat >>$CONFIG_STATUS <<\_ACEOF 4410 4411# 4412# CONFIG_COMMANDS section. 4413# 4414for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 4415 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 4416 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 4417 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 4418$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4419 X"$ac_dest" : 'X\(//\)[^/]' \| \ 4420 X"$ac_dest" : 'X\(//\)$' \| \ 4421 X"$ac_dest" : 'X\(/\)' \| \ 4422 . : '\(.\)' 2>/dev/null || 4423echo X"$ac_dest" | 4424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4425 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4426 /^X\(\/\/\)$/{ s//\1/; q; } 4427 /^X\(\/\).*/{ s//\1/; q; } 4428 s/.*/./; q'` 4429 ac_builddir=. 4430 4431if test "$ac_dir" != .; then 4432 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4433 # A "../" for each directory in $ac_dir_suffix. 4434 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4435else 4436 ac_dir_suffix= ac_top_builddir= 4437fi 4438 4439case $srcdir in 4440 .) # No --srcdir option. We are building in place. 4441 ac_srcdir=. 4442 if test -z "$ac_top_builddir"; then 4443 ac_top_srcdir=. 4444 else 4445 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4446 fi ;; 4447 [\\/]* | ?:[\\/]* ) # Absolute path. 4448 ac_srcdir=$srcdir$ac_dir_suffix; 4449 ac_top_srcdir=$srcdir ;; 4450 *) # Relative path. 4451 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4452 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4453esac 4454# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 4455# absolute. 4456ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 4457ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 4458ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 4459ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 4460 4461 4462 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 4463echo "$as_me: executing $ac_dest commands" >&6;} 4464 case $ac_dest in 4465 default-1 ) 4466test x"$AMDEP_TRUE" != x"" || 4467for mf in $CONFIG_FILES; do 4468 case "$mf" in 4469 Makefile) dirpart=.;; 4470 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;; 4471 *) continue;; 4472 esac 4473 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 4474 # Extract the definition of DEP_FILES from the Makefile without 4475 # running `make'. 4476 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 4477 test -z "$DEPDIR" && continue 4478 # When using ansi2knr, U may be empty or an underscore; expand it 4479 U=`sed -n -e '/^U = / s///p' < "$mf"` 4480 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 4481 # We invoke sed twice because it is the simplest approach to 4482 # changing $(DEPDIR) to its actual value in the expansion. 4483 for file in `sed -n -e ' 4484 /^DEP_FILES = .*\\\\$/ { 4485 s/^DEP_FILES = // 4486 :loop 4487 s/\\\\$// 4488 p 4489 n 4490 /\\\\$/ b loop 4491 p 4492 } 4493 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 4494 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 4495 # Make sure the directory exists. 4496 test -f "$dirpart/$file" && continue 4497 fdir=`echo "$file" | sed -e 's|/[^/]*$||'` 4498 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1 4499 # echo "creating $dirpart/$file" 4500 echo '# dummy' > "$dirpart/$file" 4501 done 4502done 4503 ;; 4504 esac 4505done 4506_ACEOF 4507 4508cat >>$CONFIG_STATUS <<\_ACEOF 4509 4510{ (exit 0); exit 0; } 4511_ACEOF 4512chmod +x $CONFIG_STATUS 4513ac_clean_files=$ac_clean_files_save 4514 4515 4516# configure is writing to config.log, and then calls config.status. 4517# config.status does its own redirection, appending to config.log. 4518# Unfortunately, on DOS this fails, as config.log is still kept open 4519# by configure, so config.status won't be able to write to it; its 4520# output is simply discarded. So we exec the FD to /dev/null, 4521# effectively closing config.log, so it can be properly (re)opened and 4522# appended to by config.status. When coming back to configure, we 4523# need to make the FD available again. 4524if test "$no_create" != yes; then 4525 ac_cs_success=: 4526 exec 5>/dev/null 4527 $SHELL $CONFIG_STATUS || ac_cs_success=false 4528 exec 5>>config.log 4529 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4530 # would make configure fail if this is the last instruction. 4531 $ac_cs_success || { (exit 1); exit 1; } 4532fi 4533 4534