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