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