configure revision 8255a313
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.63 for encodings 1.0.3. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27esac 28 29fi 30 31 32 33 34# PATH needs CR 35# Avoid depending upon Character Ranges. 36as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39as_cr_digits='0123456789' 40as_cr_alnum=$as_cr_Letters$as_cr_digits 41 42as_nl=' 43' 44export as_nl 45# Printing a long string crashes Solaris 7 /usr/bin/printf. 46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83# Support unset when possible. 84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85 as_unset=unset 86else 87 as_unset=false 88fi 89 90 91# IFS 92# We need space, tab and new line, in precisely that order. Quoting is 93# there to prevent editors from complaining about space-tab. 94# (If _AS_PATH_WALK were called with IFS unset, it would disable word 95# splitting by setting IFS to empty value.) 96IFS=" "" $as_nl" 97 98# Find who we are. Look in the path if we contain no directory separator. 99case $0 in 100 *[\\/]* ) as_myself=$0 ;; 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 102for as_dir in $PATH 103do 104 IFS=$as_save_IFS 105 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107done 108IFS=$as_save_IFS 109 110 ;; 111esac 112# We did not find ourselves, most probably we were run as `sh COMMAND' 113# in which case we are not to be found in the path. 114if test "x$as_myself" = x; then 115 as_myself=$0 116fi 117if test ! -f "$as_myself"; then 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120fi 121 122# Work around bugs in pre-3.0 UWIN ksh. 123for as_var in ENV MAIL MAILPATH 124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# Required to use basename. 137if expr a : '\(a\)' >/dev/null 2>&1 && 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then 139 as_expr=expr 140else 141 as_expr=false 142fi 143 144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 145 as_basename=basename 146else 147 as_basename=false 148fi 149 150 151# Name of the executable. 152as_me=`$as_basename -- "$0" || 153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 154 X"$0" : 'X\(//\)$' \| \ 155 X"$0" : 'X\(/\)' \| . 2>/dev/null || 156$as_echo X/"$0" | 157 sed '/^.*\/\([^/][^/]*\)\/*$/{ 158 s//\1/ 159 q 160 } 161 /^X\/\(\/\/\)$/{ 162 s//\1/ 163 q 164 } 165 /^X\/\(\/\).*/{ 166 s//\1/ 167 q 168 } 169 s/.*/./; q'` 170 171# CDPATH. 172$as_unset CDPATH 173 174 175if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178else 179 as_have_required=no 180fi 181 182 if test $as_have_required = yes && (eval ": 183(as_func_return () { 184 (exit \$1) 185} 186as_func_success () { 187 as_func_return 0 188} 189as_func_failure () { 190 as_func_return 1 191} 192as_func_ret_success () { 193 return 0 194} 195as_func_ret_failure () { 196 return 1 197} 198 199exitcode=0 200if as_func_success; then 201 : 202else 203 exitcode=1 204 echo as_func_success failed. 205fi 206 207if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210fi 211 212if as_func_ret_success; then 213 : 214else 215 exitcode=1 216 echo as_func_ret_success failed. 217fi 218 219if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222fi 223 224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226else 227 exitcode=1 228 echo positional parameters were not saved. 229fi 230 231test \$exitcode = 0) || { (exit 1); exit 1; } 232 233( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238") 2> /dev/null; then 239 : 240else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253done 254IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$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 # Pre-4.2 versions of Zsh do 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_ASEOF 278}; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292esac 293 294fi 295 296 297: 298(as_func_return () { 299 (exit $1) 300} 301as_func_success () { 302 as_func_return 0 303} 304as_func_failure () { 305 as_func_return 1 306} 307as_func_ret_success () { 308 return 0 309} 310as_func_ret_failure () { 311 return 1 312} 313 314exitcode=0 315if as_func_success; then 316 : 317else 318 exitcode=1 319 echo as_func_success failed. 320fi 321 322if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325fi 326 327if as_func_ret_success; then 328 : 329else 330 exitcode=1 331 echo as_func_ret_success failed. 332fi 333 334if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337fi 338 339if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341else 342 exitcode=1 343 echo positional parameters were not saved. 344fi 345 346test $exitcode = 0) || { (exit 1); exit 1; } 347 348( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354_ASEOF 355}; then 356 break 357fi 358 359fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378fi 379 380 381fi 382 383fi 384 385 386 387(eval "as_func_return () { 388 (exit \$1) 389} 390as_func_success () { 391 as_func_return 0 392} 393as_func_failure () { 394 as_func_return 1 395} 396as_func_ret_success () { 397 return 0 398} 399as_func_ret_failure () { 400 return 1 401} 402 403exitcode=0 404if as_func_success; then 405 : 406else 407 exitcode=1 408 echo as_func_success failed. 409fi 410 411if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414fi 415 416if as_func_ret_success; then 417 : 418else 419 exitcode=1 420 echo as_func_ret_success failed. 421fi 422 423if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426fi 427 428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430else 431 exitcode=1 432 echo positional parameters were not saved. 433fi 434 435test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441} 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 460 sed -n ' 461 p 462 /[$]LINENO/= 463 ' <$as_myself | 464 sed ' 465 s/[$]LINENO.*/&-/ 466 t lineno 467 b 468 :lineno 469 N 470 :loop 471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 472 t loop 473 s/-\n.*// 474 ' >$as_me.lineno && 475 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 479 # Don't try to exec as it changes $[0], causing all sort of problems 480 # (the dirname of $[0] is not the place where we might find the 481 # original and so on. Autoconf is especially sensitive to this). 482 . "./$as_me.lineno" 483 # Exit status is that of the last command. 484 exit 485} 486 487 488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490else 491 as_dirname=false 492fi 493 494ECHO_C= ECHO_N= ECHO_T= 495case `echo -n x` in 496-n*) 497 case `echo 'x\c'` in 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 500 esac;; 501*) 502 ECHO_N='-n';; 503esac 504if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507else 508 as_expr=false 509fi 510 511rm -f conf$$ conf$$.exe conf$$.file 512if test -d conf$$.dir; then 513 rm -f conf$$.dir/conf$$.file 514else 515 rm -f conf$$.dir 516 mkdir conf$$.dir 2>/dev/null 517fi 518if (echo >conf$$.file) 2>/dev/null; then 519 if ln -s conf$$.file conf$$ 2>/dev/null; then 520 as_ln_s='ln -s' 521 # ... but there are two gotchas: 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p'. 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p' 527 elif ln conf$$.file conf$$ 2>/dev/null; then 528 as_ln_s=ln 529 else 530 as_ln_s='cp -p' 531 fi 532else 533 as_ln_s='cp -p' 534fi 535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 536rmdir conf$$.dir 2>/dev/null 537 538if mkdir -p . 2>/dev/null; then 539 as_mkdir_p=: 540else 541 test -d ./-p && rmdir ./-p 542 as_mkdir_p=false 543fi 544 545if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565fi 566as_executable_p=$as_test_x 567 568# Sed expression to map a string onto a valid CPP name. 569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 570 571# Sed expression to map a string onto a valid variable name. 572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 573 574 575 576exec 7<&0 </dev/null 6>&1 577 578# Name of the host. 579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 580# so uname gets run too. 581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 582 583# 584# Initializations. 585# 586ac_default_prefix=/usr/local 587ac_clean_files= 588ac_config_libobj_dir=. 589LIBOBJS= 590cross_compiling=no 591subdirs= 592MFLAGS= 593MAKEFLAGS= 594SHELL=${CONFIG_SHELL-/bin/sh} 595 596# Identity of this package. 597PACKAGE_NAME='encodings' 598PACKAGE_TARNAME='encodings' 599PACKAGE_VERSION='1.0.3' 600PACKAGE_STRING='encodings 1.0.3' 601PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 602 603# Factoring default headers for most tests. 604ac_includes_default="\ 605#include <stdio.h> 606#ifdef HAVE_SYS_TYPES_H 607# include <sys/types.h> 608#endif 609#ifdef HAVE_SYS_STAT_H 610# include <sys/stat.h> 611#endif 612#ifdef STDC_HEADERS 613# include <stdlib.h> 614# include <stddef.h> 615#else 616# ifdef HAVE_STDLIB_H 617# include <stdlib.h> 618# endif 619#endif 620#ifdef HAVE_STRING_H 621# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 622# include <memory.h> 623# endif 624# include <string.h> 625#endif 626#ifdef HAVE_STRINGS_H 627# include <strings.h> 628#endif 629#ifdef HAVE_INTTYPES_H 630# include <inttypes.h> 631#endif 632#ifdef HAVE_STDINT_H 633# include <stdint.h> 634#endif 635#ifdef HAVE_UNISTD_H 636# include <unistd.h> 637#endif" 638 639ac_subst_vars='am__EXEEXT_FALSE 640am__EXEEXT_TRUE 641LTLIBOBJS 642LIBOBJS 643ENCODINGSDIR 644FONTROOTDIR 645PKG_CONFIG 646GZIP 647GZIP_LARGE_FALSE 648GZIP_LARGE_TRUE 649GZIP_SMALL_FALSE 650GZIP_SMALL_TRUE 651MKFONTSCALE 652ADMIN_MAN_DIR 653DRIVER_MAN_DIR 654MISC_MAN_DIR 655FILE_MAN_DIR 656LIB_MAN_DIR 657APP_MAN_DIR 658ADMIN_MAN_SUFFIX 659DRIVER_MAN_SUFFIX 660MISC_MAN_SUFFIX 661FILE_MAN_SUFFIX 662LIB_MAN_SUFFIX 663APP_MAN_SUFFIX 664host_os 665host_vendor 666host_cpu 667host 668build_os 669build_vendor 670build_cpu 671build 672distcleancheck_listfiles 673CHANGELOG_CMD 674AM_BACKSLASH 675AM_DEFAULT_VERBOSITY 676CWARNFLAGS 677EGREP 678GREP 679CPP 680am__fastdepCC_FALSE 681am__fastdepCC_TRUE 682CCDEPMODE 683AMDEPBACKSLASH 684AMDEP_FALSE 685AMDEP_TRUE 686am__quote 687am__include 688DEPDIR 689OBJEXT 690EXEEXT 691ac_ct_CC 692CPPFLAGS 693LDFLAGS 694CFLAGS 695CC 696am__untar 697am__tar 698AMTAR 699am__leading_dot 700SET_MAKE 701AWK 702mkdir_p 703MKDIR_P 704INSTALL_STRIP_PROGRAM 705STRIP 706install_sh 707MAKEINFO 708AUTOHEADER 709AUTOMAKE 710AUTOCONF 711ACLOCAL 712VERSION 713PACKAGE 714CYGPATH_W 715am__isrc 716INSTALL_DATA 717INSTALL_SCRIPT 718INSTALL_PROGRAM 719target_alias 720host_alias 721build_alias 722LIBS 723ECHO_T 724ECHO_N 725ECHO_C 726DEFS 727mandir 728localedir 729libdir 730psdir 731pdfdir 732dvidir 733htmldir 734infodir 735docdir 736oldincludedir 737includedir 738localstatedir 739sharedstatedir 740sysconfdir 741datadir 742datarootdir 743libexecdir 744sbindir 745bindir 746program_transform_name 747prefix 748exec_prefix 749PACKAGE_BUGREPORT 750PACKAGE_STRING 751PACKAGE_VERSION 752PACKAGE_TARNAME 753PACKAGE_NAME 754PATH_SEPARATOR 755SHELL' 756ac_subst_files='' 757ac_user_opts=' 758enable_option_checking 759enable_dependency_tracking 760enable_silent_rules 761enable_strict_compilation 762with_release_version 763enable_gzip_small_encodings 764enable_gzip_large_encodings 765with_fontrootdir 766with_encodingsdir 767' 768 ac_precious_vars='build_alias 769host_alias 770target_alias 771CC 772CFLAGS 773LDFLAGS 774LIBS 775CPPFLAGS 776CPP 777PKG_CONFIG' 778 779 780# Initialize some variables set by options. 781ac_init_help= 782ac_init_version=false 783ac_unrecognized_opts= 784ac_unrecognized_sep= 785# The variables have the same names as the options, with 786# dashes changed to underlines. 787cache_file=/dev/null 788exec_prefix=NONE 789no_create= 790no_recursion= 791prefix=NONE 792program_prefix=NONE 793program_suffix=NONE 794program_transform_name=s,x,x, 795silent= 796site= 797srcdir= 798verbose= 799x_includes=NONE 800x_libraries=NONE 801 802# Installation directory options. 803# These are left unexpanded so users can "make install exec_prefix=/foo" 804# and all the variables that are supposed to be based on exec_prefix 805# by default will actually change. 806# Use braces instead of parens because sh, perl, etc. also accept them. 807# (The list follows the same order as the GNU Coding Standards.) 808bindir='${exec_prefix}/bin' 809sbindir='${exec_prefix}/sbin' 810libexecdir='${exec_prefix}/libexec' 811datarootdir='${prefix}/share' 812datadir='${datarootdir}' 813sysconfdir='${prefix}/etc' 814sharedstatedir='${prefix}/com' 815localstatedir='${prefix}/var' 816includedir='${prefix}/include' 817oldincludedir='/usr/include' 818docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 819infodir='${datarootdir}/info' 820htmldir='${docdir}' 821dvidir='${docdir}' 822pdfdir='${docdir}' 823psdir='${docdir}' 824libdir='${exec_prefix}/lib' 825localedir='${datarootdir}/locale' 826mandir='${datarootdir}/man' 827 828ac_prev= 829ac_dashdash= 830for ac_option 831do 832 # If the previous option needs an argument, assign it. 833 if test -n "$ac_prev"; then 834 eval $ac_prev=\$ac_option 835 ac_prev= 836 continue 837 fi 838 839 case $ac_option in 840 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 841 *) ac_optarg=yes ;; 842 esac 843 844 # Accept the important Cygnus configure options, so we can diagnose typos. 845 846 case $ac_dashdash$ac_option in 847 --) 848 ac_dashdash=yes ;; 849 850 -bindir | --bindir | --bindi | --bind | --bin | --bi) 851 ac_prev=bindir ;; 852 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 853 bindir=$ac_optarg ;; 854 855 -build | --build | --buil | --bui | --bu) 856 ac_prev=build_alias ;; 857 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 858 build_alias=$ac_optarg ;; 859 860 -cache-file | --cache-file | --cache-fil | --cache-fi \ 861 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 862 ac_prev=cache_file ;; 863 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 864 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 865 cache_file=$ac_optarg ;; 866 867 --config-cache | -C) 868 cache_file=config.cache ;; 869 870 -datadir | --datadir | --datadi | --datad) 871 ac_prev=datadir ;; 872 -datadir=* | --datadir=* | --datadi=* | --datad=*) 873 datadir=$ac_optarg ;; 874 875 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 876 | --dataroo | --dataro | --datar) 877 ac_prev=datarootdir ;; 878 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 879 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 880 datarootdir=$ac_optarg ;; 881 882 -disable-* | --disable-*) 883 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 884 # Reject names that are not valid shell variable names. 885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 886 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 887 { (exit 1); exit 1; }; } 888 ac_useropt_orig=$ac_useropt 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 890 case $ac_user_opts in 891 *" 892"enable_$ac_useropt" 893"*) ;; 894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 895 ac_unrecognized_sep=', ';; 896 esac 897 eval enable_$ac_useropt=no ;; 898 899 -docdir | --docdir | --docdi | --doc | --do) 900 ac_prev=docdir ;; 901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 902 docdir=$ac_optarg ;; 903 904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 905 ac_prev=dvidir ;; 906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 907 dvidir=$ac_optarg ;; 908 909 -enable-* | --enable-*) 910 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 911 # Reject names that are not valid shell variable names. 912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 913 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 914 { (exit 1); exit 1; }; } 915 ac_useropt_orig=$ac_useropt 916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 917 case $ac_user_opts in 918 *" 919"enable_$ac_useropt" 920"*) ;; 921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 922 ac_unrecognized_sep=', ';; 923 esac 924 eval enable_$ac_useropt=\$ac_optarg ;; 925 926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 928 | --exec | --exe | --ex) 929 ac_prev=exec_prefix ;; 930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 932 | --exec=* | --exe=* | --ex=*) 933 exec_prefix=$ac_optarg ;; 934 935 -gas | --gas | --ga | --g) 936 # Obsolete; use --with-gas. 937 with_gas=yes ;; 938 939 -help | --help | --hel | --he | -h) 940 ac_init_help=long ;; 941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 942 ac_init_help=recursive ;; 943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 944 ac_init_help=short ;; 945 946 -host | --host | --hos | --ho) 947 ac_prev=host_alias ;; 948 -host=* | --host=* | --hos=* | --ho=*) 949 host_alias=$ac_optarg ;; 950 951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 952 ac_prev=htmldir ;; 953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 954 | --ht=*) 955 htmldir=$ac_optarg ;; 956 957 -includedir | --includedir | --includedi | --included | --include \ 958 | --includ | --inclu | --incl | --inc) 959 ac_prev=includedir ;; 960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 961 | --includ=* | --inclu=* | --incl=* | --inc=*) 962 includedir=$ac_optarg ;; 963 964 -infodir | --infodir | --infodi | --infod | --info | --inf) 965 ac_prev=infodir ;; 966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 967 infodir=$ac_optarg ;; 968 969 -libdir | --libdir | --libdi | --libd) 970 ac_prev=libdir ;; 971 -libdir=* | --libdir=* | --libdi=* | --libd=*) 972 libdir=$ac_optarg ;; 973 974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 975 | --libexe | --libex | --libe) 976 ac_prev=libexecdir ;; 977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 978 | --libexe=* | --libex=* | --libe=*) 979 libexecdir=$ac_optarg ;; 980 981 -localedir | --localedir | --localedi | --localed | --locale) 982 ac_prev=localedir ;; 983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 984 localedir=$ac_optarg ;; 985 986 -localstatedir | --localstatedir | --localstatedi | --localstated \ 987 | --localstate | --localstat | --localsta | --localst | --locals) 988 ac_prev=localstatedir ;; 989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 991 localstatedir=$ac_optarg ;; 992 993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 994 ac_prev=mandir ;; 995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 996 mandir=$ac_optarg ;; 997 998 -nfp | --nfp | --nf) 999 # Obsolete; use --without-fp. 1000 with_fp=no ;; 1001 1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1003 | --no-cr | --no-c | -n) 1004 no_create=yes ;; 1005 1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1008 no_recursion=yes ;; 1009 1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1012 | --oldin | --oldi | --old | --ol | --o) 1013 ac_prev=oldincludedir ;; 1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1017 oldincludedir=$ac_optarg ;; 1018 1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1020 ac_prev=prefix ;; 1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1022 prefix=$ac_optarg ;; 1023 1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1025 | --program-pre | --program-pr | --program-p) 1026 ac_prev=program_prefix ;; 1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1029 program_prefix=$ac_optarg ;; 1030 1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1032 | --program-suf | --program-su | --program-s) 1033 ac_prev=program_suffix ;; 1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1036 program_suffix=$ac_optarg ;; 1037 1038 -program-transform-name | --program-transform-name \ 1039 | --program-transform-nam | --program-transform-na \ 1040 | --program-transform-n | --program-transform- \ 1041 | --program-transform | --program-transfor \ 1042 | --program-transfo | --program-transf \ 1043 | --program-trans | --program-tran \ 1044 | --progr-tra | --program-tr | --program-t) 1045 ac_prev=program_transform_name ;; 1046 -program-transform-name=* | --program-transform-name=* \ 1047 | --program-transform-nam=* | --program-transform-na=* \ 1048 | --program-transform-n=* | --program-transform-=* \ 1049 | --program-transform=* | --program-transfor=* \ 1050 | --program-transfo=* | --program-transf=* \ 1051 | --program-trans=* | --program-tran=* \ 1052 | --progr-tra=* | --program-tr=* | --program-t=*) 1053 program_transform_name=$ac_optarg ;; 1054 1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1056 ac_prev=pdfdir ;; 1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1058 pdfdir=$ac_optarg ;; 1059 1060 -psdir | --psdir | --psdi | --psd | --ps) 1061 ac_prev=psdir ;; 1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1063 psdir=$ac_optarg ;; 1064 1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1066 | -silent | --silent | --silen | --sile | --sil) 1067 silent=yes ;; 1068 1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1070 ac_prev=sbindir ;; 1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1072 | --sbi=* | --sb=*) 1073 sbindir=$ac_optarg ;; 1074 1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1077 | --sharedst | --shareds | --shared | --share | --shar \ 1078 | --sha | --sh) 1079 ac_prev=sharedstatedir ;; 1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1083 | --sha=* | --sh=*) 1084 sharedstatedir=$ac_optarg ;; 1085 1086 -site | --site | --sit) 1087 ac_prev=site ;; 1088 -site=* | --site=* | --sit=*) 1089 site=$ac_optarg ;; 1090 1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1092 ac_prev=srcdir ;; 1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1094 srcdir=$ac_optarg ;; 1095 1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1097 | --syscon | --sysco | --sysc | --sys | --sy) 1098 ac_prev=sysconfdir ;; 1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1101 sysconfdir=$ac_optarg ;; 1102 1103 -target | --target | --targe | --targ | --tar | --ta | --t) 1104 ac_prev=target_alias ;; 1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1106 target_alias=$ac_optarg ;; 1107 1108 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1109 verbose=yes ;; 1110 1111 -version | --version | --versio | --versi | --vers | -V) 1112 ac_init_version=: ;; 1113 1114 -with-* | --with-*) 1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1116 # Reject names that are not valid shell variable names. 1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1118 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1119 { (exit 1); exit 1; }; } 1120 ac_useropt_orig=$ac_useropt 1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1122 case $ac_user_opts in 1123 *" 1124"with_$ac_useropt" 1125"*) ;; 1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1127 ac_unrecognized_sep=', ';; 1128 esac 1129 eval with_$ac_useropt=\$ac_optarg ;; 1130 1131 -without-* | --without-*) 1132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1133 # Reject names that are not valid shell variable names. 1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1135 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1136 { (exit 1); exit 1; }; } 1137 ac_useropt_orig=$ac_useropt 1138 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1139 case $ac_user_opts in 1140 *" 1141"with_$ac_useropt" 1142"*) ;; 1143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1144 ac_unrecognized_sep=', ';; 1145 esac 1146 eval with_$ac_useropt=no ;; 1147 1148 --x) 1149 # Obsolete; use --with-x. 1150 with_x=yes ;; 1151 1152 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1153 | --x-incl | --x-inc | --x-in | --x-i) 1154 ac_prev=x_includes ;; 1155 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1156 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1157 x_includes=$ac_optarg ;; 1158 1159 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1160 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1161 ac_prev=x_libraries ;; 1162 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1164 x_libraries=$ac_optarg ;; 1165 1166 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1167Try \`$0 --help' for more information." >&2 1168 { (exit 1); exit 1; }; } 1169 ;; 1170 1171 *=*) 1172 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1173 # Reject names that are not valid shell variable names. 1174 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1175 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1176 { (exit 1); exit 1; }; } 1177 eval $ac_envvar=\$ac_optarg 1178 export $ac_envvar ;; 1179 1180 *) 1181 # FIXME: should be removed in autoconf 3.0. 1182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1185 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1186 ;; 1187 1188 esac 1189done 1190 1191if test -n "$ac_prev"; then 1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1193 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1194 { (exit 1); exit 1; }; } 1195fi 1196 1197if test -n "$ac_unrecognized_opts"; then 1198 case $enable_option_checking in 1199 no) ;; 1200 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1201 { (exit 1); exit 1; }; } ;; 1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1203 esac 1204fi 1205 1206# Check all directory arguments for consistency. 1207for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1208 datadir sysconfdir sharedstatedir localstatedir includedir \ 1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1210 libdir localedir mandir 1211do 1212 eval ac_val=\$$ac_var 1213 # Remove trailing slashes. 1214 case $ac_val in 1215 */ ) 1216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1217 eval $ac_var=\$ac_val;; 1218 esac 1219 # Be sure to have absolute directory names. 1220 case $ac_val in 1221 [\\/$]* | ?:[\\/]* ) continue;; 1222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1223 esac 1224 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1225 { (exit 1); exit 1; }; } 1226done 1227 1228# There might be people who depend on the old broken behavior: `$host' 1229# used to hold the argument of --host etc. 1230# FIXME: To remove some day. 1231build=$build_alias 1232host=$host_alias 1233target=$target_alias 1234 1235# FIXME: To remove some day. 1236if test "x$host_alias" != x; then 1237 if test "x$build_alias" = x; then 1238 cross_compiling=maybe 1239 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1240 If a cross compiler is detected then cross compile mode will be used." >&2 1241 elif test "x$build_alias" != "x$host_alias"; then 1242 cross_compiling=yes 1243 fi 1244fi 1245 1246ac_tool_prefix= 1247test -n "$host_alias" && ac_tool_prefix=$host_alias- 1248 1249test "$silent" = yes && exec 6>/dev/null 1250 1251 1252ac_pwd=`pwd` && test -n "$ac_pwd" && 1253ac_ls_di=`ls -di .` && 1254ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1255 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1256 { (exit 1); exit 1; }; } 1257test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1258 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1259 { (exit 1); exit 1; }; } 1260 1261 1262# Find the source files, if location was not specified. 1263if test -z "$srcdir"; then 1264 ac_srcdir_defaulted=yes 1265 # Try the directory containing this script, then the parent directory. 1266 ac_confdir=`$as_dirname -- "$as_myself" || 1267$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1268 X"$as_myself" : 'X\(//\)[^/]' \| \ 1269 X"$as_myself" : 'X\(//\)$' \| \ 1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1271$as_echo X"$as_myself" | 1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1273 s//\1/ 1274 q 1275 } 1276 /^X\(\/\/\)[^/].*/{ 1277 s//\1/ 1278 q 1279 } 1280 /^X\(\/\/\)$/{ 1281 s//\1/ 1282 q 1283 } 1284 /^X\(\/\).*/{ 1285 s//\1/ 1286 q 1287 } 1288 s/.*/./; q'` 1289 srcdir=$ac_confdir 1290 if test ! -r "$srcdir/$ac_unique_file"; then 1291 srcdir=.. 1292 fi 1293else 1294 ac_srcdir_defaulted=no 1295fi 1296if test ! -r "$srcdir/$ac_unique_file"; then 1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1298 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1299 { (exit 1); exit 1; }; } 1300fi 1301ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1302ac_abs_confdir=`( 1303 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1304 { (exit 1); exit 1; }; } 1305 pwd)` 1306# When building in place, set srcdir=. 1307if test "$ac_abs_confdir" = "$ac_pwd"; then 1308 srcdir=. 1309fi 1310# Remove unnecessary trailing slashes from srcdir. 1311# Double slashes in file names in object file debugging info 1312# mess up M-x gdb in Emacs. 1313case $srcdir in 1314*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1315esac 1316for ac_var in $ac_precious_vars; do 1317 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1318 eval ac_env_${ac_var}_value=\$${ac_var} 1319 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1320 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1321done 1322 1323# 1324# Report the --help message. 1325# 1326if test "$ac_init_help" = "long"; then 1327 # Omit some internal or obsolete options to make the list less imposing. 1328 # This message is too long to be a string in the A/UX 3.1 sh. 1329 cat <<_ACEOF 1330\`configure' configures encodings 1.0.3 to adapt to many kinds of systems. 1331 1332Usage: $0 [OPTION]... [VAR=VALUE]... 1333 1334To assign environment variables (e.g., CC, CFLAGS...), specify them as 1335VAR=VALUE. See below for descriptions of some of the useful variables. 1336 1337Defaults for the options are specified in brackets. 1338 1339Configuration: 1340 -h, --help display this help and exit 1341 --help=short display options specific to this package 1342 --help=recursive display the short help of all the included packages 1343 -V, --version display version information and exit 1344 -q, --quiet, --silent do not print \`checking...' messages 1345 --cache-file=FILE cache test results in FILE [disabled] 1346 -C, --config-cache alias for \`--cache-file=config.cache' 1347 -n, --no-create do not create output files 1348 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1349 1350Installation directories: 1351 --prefix=PREFIX install architecture-independent files in PREFIX 1352 [$ac_default_prefix] 1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1354 [PREFIX] 1355 1356By default, \`make install' will install all the files in 1357\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1358an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1359for instance \`--prefix=\$HOME'. 1360 1361For better control, use the options below. 1362 1363Fine tuning of the installation directories: 1364 --bindir=DIR user executables [EPREFIX/bin] 1365 --sbindir=DIR system admin executables [EPREFIX/sbin] 1366 --libexecdir=DIR program executables [EPREFIX/libexec] 1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1370 --libdir=DIR object code libraries [EPREFIX/lib] 1371 --includedir=DIR C header files [PREFIX/include] 1372 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1375 --infodir=DIR info documentation [DATAROOTDIR/info] 1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1377 --mandir=DIR man documentation [DATAROOTDIR/man] 1378 --docdir=DIR documentation root [DATAROOTDIR/doc/encodings] 1379 --htmldir=DIR html documentation [DOCDIR] 1380 --dvidir=DIR dvi documentation [DOCDIR] 1381 --pdfdir=DIR pdf documentation [DOCDIR] 1382 --psdir=DIR ps documentation [DOCDIR] 1383_ACEOF 1384 1385 cat <<\_ACEOF 1386 1387Program names: 1388 --program-prefix=PREFIX prepend PREFIX to installed program names 1389 --program-suffix=SUFFIX append SUFFIX to installed program names 1390 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1391 1392System types: 1393 --build=BUILD configure for building on BUILD [guessed] 1394 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1395_ACEOF 1396fi 1397 1398if test -n "$ac_init_help"; then 1399 case $ac_init_help in 1400 short | recursive ) echo "Configuration of encodings 1.0.3:";; 1401 esac 1402 cat <<\_ACEOF 1403 1404Optional Features: 1405 --disable-option-checking ignore unrecognized --enable/--with options 1406 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1407 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1408 --disable-dependency-tracking speeds up one-time build 1409 --enable-dependency-tracking do not reject slow dependency extractors 1410 --enable-silent-rules less verbose build output (undo: `make V=1') 1411 --disable-silent-rules verbose build output (undo: `make V=0') 1412 --enable-strict-compilation 1413 Enable all warnings from compiler and make them 1414 errors (default: disabled) 1415 --disable-gzip-small-encodings 1416 Disable compression of small encoding files 1417 --disable-gzip-large-encodings 1418 Disable compression of large encoding files 1419 1420Optional Packages: 1421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1423 --with-release-version=STRING 1424 Use release version string in package name 1425 --with-fontrootdir=DIR Path to root directory for font files 1426 --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings] 1427 1428Some influential environment variables: 1429 CC C compiler command 1430 CFLAGS C compiler flags 1431 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1432 nonstandard directory <lib dir> 1433 LIBS libraries to pass to the linker, e.g. -l<library> 1434 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1435 you have headers in a nonstandard directory <include dir> 1436 CPP C preprocessor 1437 PKG_CONFIG path to pkg-config utility 1438 1439Use these variables to override the choices made by `configure' or to help 1440it to find libraries and programs with nonstandard names/locations. 1441 1442Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1443_ACEOF 1444ac_status=$? 1445fi 1446 1447if test "$ac_init_help" = "recursive"; then 1448 # If there are subdirs, report their specific --help. 1449 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1450 test -d "$ac_dir" || 1451 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1452 continue 1453 ac_builddir=. 1454 1455case "$ac_dir" in 1456.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1457*) 1458 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1459 # A ".." for each directory in $ac_dir_suffix. 1460 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1461 case $ac_top_builddir_sub in 1462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1464 esac ;; 1465esac 1466ac_abs_top_builddir=$ac_pwd 1467ac_abs_builddir=$ac_pwd$ac_dir_suffix 1468# for backward compatibility: 1469ac_top_builddir=$ac_top_build_prefix 1470 1471case $srcdir in 1472 .) # We are building in place. 1473 ac_srcdir=. 1474 ac_top_srcdir=$ac_top_builddir_sub 1475 ac_abs_top_srcdir=$ac_pwd ;; 1476 [\\/]* | ?:[\\/]* ) # Absolute name. 1477 ac_srcdir=$srcdir$ac_dir_suffix; 1478 ac_top_srcdir=$srcdir 1479 ac_abs_top_srcdir=$srcdir ;; 1480 *) # Relative name. 1481 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1482 ac_top_srcdir=$ac_top_build_prefix$srcdir 1483 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1484esac 1485ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1486 1487 cd "$ac_dir" || { ac_status=$?; continue; } 1488 # Check for guested configure. 1489 if test -f "$ac_srcdir/configure.gnu"; then 1490 echo && 1491 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1492 elif test -f "$ac_srcdir/configure"; then 1493 echo && 1494 $SHELL "$ac_srcdir/configure" --help=recursive 1495 else 1496 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1497 fi || ac_status=$? 1498 cd "$ac_pwd" || { ac_status=$?; break; } 1499 done 1500fi 1501 1502test -n "$ac_init_help" && exit $ac_status 1503if $ac_init_version; then 1504 cat <<\_ACEOF 1505encodings configure 1.0.3 1506generated by GNU Autoconf 2.63 1507 1508Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 15092002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1510This configure script is free software; the Free Software Foundation 1511gives unlimited permission to copy, distribute and modify it. 1512_ACEOF 1513 exit 1514fi 1515cat >config.log <<_ACEOF 1516This file contains any messages produced by compilers while 1517running configure, to aid debugging if configure makes a mistake. 1518 1519It was created by encodings $as_me 1.0.3, which was 1520generated by GNU Autoconf 2.63. Invocation command line was 1521 1522 $ $0 $@ 1523 1524_ACEOF 1525exec 5>>config.log 1526{ 1527cat <<_ASUNAME 1528## --------- ## 1529## Platform. ## 1530## --------- ## 1531 1532hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1533uname -m = `(uname -m) 2>/dev/null || echo unknown` 1534uname -r = `(uname -r) 2>/dev/null || echo unknown` 1535uname -s = `(uname -s) 2>/dev/null || echo unknown` 1536uname -v = `(uname -v) 2>/dev/null || echo unknown` 1537 1538/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1539/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1540 1541/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1542/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1543/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1544/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1545/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1546/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1547/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1548 1549_ASUNAME 1550 1551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1552for as_dir in $PATH 1553do 1554 IFS=$as_save_IFS 1555 test -z "$as_dir" && as_dir=. 1556 $as_echo "PATH: $as_dir" 1557done 1558IFS=$as_save_IFS 1559 1560} >&5 1561 1562cat >&5 <<_ACEOF 1563 1564 1565## ----------- ## 1566## Core tests. ## 1567## ----------- ## 1568 1569_ACEOF 1570 1571 1572# Keep a trace of the command line. 1573# Strip out --no-create and --no-recursion so they do not pile up. 1574# Strip out --silent because we don't want to record it for future runs. 1575# Also quote any args containing shell meta-characters. 1576# Make two passes to allow for proper duplicate-argument suppression. 1577ac_configure_args= 1578ac_configure_args0= 1579ac_configure_args1= 1580ac_must_keep_next=false 1581for ac_pass in 1 2 1582do 1583 for ac_arg 1584 do 1585 case $ac_arg in 1586 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1588 | -silent | --silent | --silen | --sile | --sil) 1589 continue ;; 1590 *\'*) 1591 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1592 esac 1593 case $ac_pass in 1594 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1595 2) 1596 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1597 if test $ac_must_keep_next = true; then 1598 ac_must_keep_next=false # Got value, back to normal. 1599 else 1600 case $ac_arg in 1601 *=* | --config-cache | -C | -disable-* | --disable-* \ 1602 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1603 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1604 | -with-* | --with-* | -without-* | --without-* | --x) 1605 case "$ac_configure_args0 " in 1606 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1607 esac 1608 ;; 1609 -* ) ac_must_keep_next=true ;; 1610 esac 1611 fi 1612 ac_configure_args="$ac_configure_args '$ac_arg'" 1613 ;; 1614 esac 1615 done 1616done 1617$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1618$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1619 1620# When interrupted or exit'd, cleanup temporary files, and complete 1621# config.log. We remove comments because anyway the quotes in there 1622# would cause problems or look ugly. 1623# WARNING: Use '\'' to represent an apostrophe within the trap. 1624# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1625trap 'exit_status=$? 1626 # Save into config.log some information that might help in debugging. 1627 { 1628 echo 1629 1630 cat <<\_ASBOX 1631## ---------------- ## 1632## Cache variables. ## 1633## ---------------- ## 1634_ASBOX 1635 echo 1636 # The following way of writing the cache mishandles newlines in values, 1637( 1638 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1639 eval ac_val=\$$ac_var 1640 case $ac_val in #( 1641 *${as_nl}*) 1642 case $ac_var in #( 1643 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1644$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1645 esac 1646 case $ac_var in #( 1647 _ | IFS | as_nl) ;; #( 1648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1649 *) $as_unset $ac_var ;; 1650 esac ;; 1651 esac 1652 done 1653 (set) 2>&1 | 1654 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1655 *${as_nl}ac_space=\ *) 1656 sed -n \ 1657 "s/'\''/'\''\\\\'\'''\''/g; 1658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1659 ;; #( 1660 *) 1661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1662 ;; 1663 esac | 1664 sort 1665) 1666 echo 1667 1668 cat <<\_ASBOX 1669## ----------------- ## 1670## Output variables. ## 1671## ----------------- ## 1672_ASBOX 1673 echo 1674 for ac_var in $ac_subst_vars 1675 do 1676 eval ac_val=\$$ac_var 1677 case $ac_val in 1678 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1679 esac 1680 $as_echo "$ac_var='\''$ac_val'\''" 1681 done | sort 1682 echo 1683 1684 if test -n "$ac_subst_files"; then 1685 cat <<\_ASBOX 1686## ------------------- ## 1687## File substitutions. ## 1688## ------------------- ## 1689_ASBOX 1690 echo 1691 for ac_var in $ac_subst_files 1692 do 1693 eval ac_val=\$$ac_var 1694 case $ac_val in 1695 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1696 esac 1697 $as_echo "$ac_var='\''$ac_val'\''" 1698 done | sort 1699 echo 1700 fi 1701 1702 if test -s confdefs.h; then 1703 cat <<\_ASBOX 1704## ----------- ## 1705## confdefs.h. ## 1706## ----------- ## 1707_ASBOX 1708 echo 1709 cat confdefs.h 1710 echo 1711 fi 1712 test "$ac_signal" != 0 && 1713 $as_echo "$as_me: caught signal $ac_signal" 1714 $as_echo "$as_me: exit $exit_status" 1715 } >&5 1716 rm -f core *.core core.conftest.* && 1717 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1718 exit $exit_status 1719' 0 1720for ac_signal in 1 2 13 15; do 1721 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1722done 1723ac_signal=0 1724 1725# confdefs.h avoids OS command line length limits that DEFS can exceed. 1726rm -f -r conftest* confdefs.h 1727 1728# Predefined preprocessor variables. 1729 1730cat >>confdefs.h <<_ACEOF 1731#define PACKAGE_NAME "$PACKAGE_NAME" 1732_ACEOF 1733 1734 1735cat >>confdefs.h <<_ACEOF 1736#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1737_ACEOF 1738 1739 1740cat >>confdefs.h <<_ACEOF 1741#define PACKAGE_VERSION "$PACKAGE_VERSION" 1742_ACEOF 1743 1744 1745cat >>confdefs.h <<_ACEOF 1746#define PACKAGE_STRING "$PACKAGE_STRING" 1747_ACEOF 1748 1749 1750cat >>confdefs.h <<_ACEOF 1751#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1752_ACEOF 1753 1754 1755# Let the site file select an alternate cache file if it wants to. 1756# Prefer an explicitly selected file to automatically selected ones. 1757ac_site_file1=NONE 1758ac_site_file2=NONE 1759if test -n "$CONFIG_SITE"; then 1760 ac_site_file1=$CONFIG_SITE 1761elif test "x$prefix" != xNONE; then 1762 ac_site_file1=$prefix/share/config.site 1763 ac_site_file2=$prefix/etc/config.site 1764else 1765 ac_site_file1=$ac_default_prefix/share/config.site 1766 ac_site_file2=$ac_default_prefix/etc/config.site 1767fi 1768for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1769do 1770 test "x$ac_site_file" = xNONE && continue 1771 if test -r "$ac_site_file"; then 1772 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1773$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1774 sed 's/^/| /' "$ac_site_file" >&5 1775 . "$ac_site_file" 1776 fi 1777done 1778 1779if test -r "$cache_file"; then 1780 # Some versions of bash will fail to source /dev/null (special 1781 # files actually), so we avoid doing that. 1782 if test -f "$cache_file"; then 1783 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1784$as_echo "$as_me: loading cache $cache_file" >&6;} 1785 case $cache_file in 1786 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1787 *) . "./$cache_file";; 1788 esac 1789 fi 1790else 1791 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1792$as_echo "$as_me: creating cache $cache_file" >&6;} 1793 >$cache_file 1794fi 1795 1796# Check that the precious variables saved in the cache have kept the same 1797# value. 1798ac_cache_corrupted=false 1799for ac_var in $ac_precious_vars; do 1800 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1801 eval ac_new_set=\$ac_env_${ac_var}_set 1802 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1803 eval ac_new_val=\$ac_env_${ac_var}_value 1804 case $ac_old_set,$ac_new_set in 1805 set,) 1806 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1807$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1808 ac_cache_corrupted=: ;; 1809 ,set) 1810 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1811$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1812 ac_cache_corrupted=: ;; 1813 ,);; 1814 *) 1815 if test "x$ac_old_val" != "x$ac_new_val"; then 1816 # differences in whitespace do not lead to failure. 1817 ac_old_val_w=`echo x $ac_old_val` 1818 ac_new_val_w=`echo x $ac_new_val` 1819 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1820 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1821$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1822 ac_cache_corrupted=: 1823 else 1824 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1825$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1826 eval $ac_var=\$ac_old_val 1827 fi 1828 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1829$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1830 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1831$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1832 fi;; 1833 esac 1834 # Pass precious variables to config.status. 1835 if test "$ac_new_set" = set; then 1836 case $ac_new_val in 1837 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1838 *) ac_arg=$ac_var=$ac_new_val ;; 1839 esac 1840 case " $ac_configure_args " in 1841 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1842 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1843 esac 1844 fi 1845done 1846if $ac_cache_corrupted; then 1847 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1848$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1849 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1850$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1851 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1852$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1853 { (exit 1); exit 1; }; } 1854fi 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880ac_ext=c 1881ac_cpp='$CPP $CPPFLAGS' 1882ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1883ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1884ac_compiler_gnu=$ac_cv_c_compiler_gnu 1885 1886 1887am__api_version='1.11' 1888 1889ac_aux_dir= 1890for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1891 if test -f "$ac_dir/install-sh"; then 1892 ac_aux_dir=$ac_dir 1893 ac_install_sh="$ac_aux_dir/install-sh -c" 1894 break 1895 elif test -f "$ac_dir/install.sh"; then 1896 ac_aux_dir=$ac_dir 1897 ac_install_sh="$ac_aux_dir/install.sh -c" 1898 break 1899 elif test -f "$ac_dir/shtool"; then 1900 ac_aux_dir=$ac_dir 1901 ac_install_sh="$ac_aux_dir/shtool install -c" 1902 break 1903 fi 1904done 1905if test -z "$ac_aux_dir"; then 1906 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1907$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1908 { (exit 1); exit 1; }; } 1909fi 1910 1911# These three variables are undocumented and unsupported, 1912# and are intended to be withdrawn in a future Autoconf release. 1913# They can cause serious problems if a builder's source tree is in a directory 1914# whose full name contains unusual characters. 1915ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1916ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1917ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1918 1919 1920# Find a good install program. We prefer a C program (faster), 1921# so one script is as good as another. But avoid the broken or 1922# incompatible versions: 1923# SysV /etc/install, /usr/sbin/install 1924# SunOS /usr/etc/install 1925# IRIX /sbin/install 1926# AIX /bin/install 1927# AmigaOS /C/install, which installs bootblocks on floppy discs 1928# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1929# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1930# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1931# OS/2's system install, which has a completely different semantic 1932# ./install, which can be erroneously created by make from ./install.sh. 1933# Reject install programs that cannot install multiple files. 1934{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1935$as_echo_n "checking for a BSD-compatible install... " >&6; } 1936if test -z "$INSTALL"; then 1937if test "${ac_cv_path_install+set}" = set; then 1938 $as_echo_n "(cached) " >&6 1939else 1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1941for as_dir in $PATH 1942do 1943 IFS=$as_save_IFS 1944 test -z "$as_dir" && as_dir=. 1945 # Account for people who put trailing slashes in PATH elements. 1946case $as_dir/ in 1947 ./ | .// | /cC/* | \ 1948 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1949 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1950 /usr/ucb/* ) ;; 1951 *) 1952 # OSF1 and SCO ODT 3.0 have their own names for install. 1953 # Don't use installbsd from OSF since it installs stuff as root 1954 # by default. 1955 for ac_prog in ginstall scoinst install; do 1956 for ac_exec_ext in '' $ac_executable_extensions; do 1957 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1958 if test $ac_prog = install && 1959 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1960 # AIX install. It has an incompatible calling convention. 1961 : 1962 elif test $ac_prog = install && 1963 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1964 # program-specific install script used by HP pwplus--don't use. 1965 : 1966 else 1967 rm -rf conftest.one conftest.two conftest.dir 1968 echo one > conftest.one 1969 echo two > conftest.two 1970 mkdir conftest.dir 1971 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1972 test -s conftest.one && test -s conftest.two && 1973 test -s conftest.dir/conftest.one && 1974 test -s conftest.dir/conftest.two 1975 then 1976 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1977 break 3 1978 fi 1979 fi 1980 fi 1981 done 1982 done 1983 ;; 1984esac 1985 1986done 1987IFS=$as_save_IFS 1988 1989rm -rf conftest.one conftest.two conftest.dir 1990 1991fi 1992 if test "${ac_cv_path_install+set}" = set; then 1993 INSTALL=$ac_cv_path_install 1994 else 1995 # As a last resort, use the slow shell script. Don't cache a 1996 # value for INSTALL within a source directory, because that will 1997 # break other packages using the cache if that directory is 1998 # removed, or if the value is a relative name. 1999 INSTALL=$ac_install_sh 2000 fi 2001fi 2002{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2003$as_echo "$INSTALL" >&6; } 2004 2005# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2006# It thinks the first close brace ends the variable substitution. 2007test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2008 2009test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2010 2011test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2012 2013{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2014$as_echo_n "checking whether build environment is sane... " >&6; } 2015# Just in case 2016sleep 1 2017echo timestamp > conftest.file 2018# Reject unsafe characters in $srcdir or the absolute working directory 2019# name. Accept space and tab only in the latter. 2020am_lf=' 2021' 2022case `pwd` in 2023 *[\\\"\#\$\&\'\`$am_lf]*) 2024 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 2025$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 2026 { (exit 1); exit 1; }; };; 2027esac 2028case $srcdir in 2029 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2030 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 2031$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 2032 { (exit 1); exit 1; }; };; 2033esac 2034 2035# Do `set' in a subshell so we don't clobber the current shell's 2036# arguments. Must try -L first in case configure is actually a 2037# symlink; some systems play weird games with the mod time of symlinks 2038# (eg FreeBSD returns the mod time of the symlink's containing 2039# directory). 2040if ( 2041 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2042 if test "$*" = "X"; then 2043 # -L didn't work. 2044 set X `ls -t "$srcdir/configure" conftest.file` 2045 fi 2046 rm -f conftest.file 2047 if test "$*" != "X $srcdir/configure conftest.file" \ 2048 && test "$*" != "X conftest.file $srcdir/configure"; then 2049 2050 # If neither matched, then we have a broken ls. This can happen 2051 # if, for instance, CONFIG_SHELL is bash and it inherits a 2052 # broken ls alias from the environment. This has actually 2053 # happened. Such a system could not be considered "sane". 2054 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2055alias in your environment" >&5 2056$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2057alias in your environment" >&2;} 2058 { (exit 1); exit 1; }; } 2059 fi 2060 2061 test "$2" = conftest.file 2062 ) 2063then 2064 # Ok. 2065 : 2066else 2067 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2068Check your system clock" >&5 2069$as_echo "$as_me: error: newly created file is older than distributed files! 2070Check your system clock" >&2;} 2071 { (exit 1); exit 1; }; } 2072fi 2073{ $as_echo "$as_me:$LINENO: result: yes" >&5 2074$as_echo "yes" >&6; } 2075test "$program_prefix" != NONE && 2076 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2077# Use a double $ so make ignores it. 2078test "$program_suffix" != NONE && 2079 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2080# Double any \ or $. 2081# By default was `s,x,x', remove it if useless. 2082ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2083program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2084 2085# expand $ac_aux_dir to an absolute path 2086am_aux_dir=`cd $ac_aux_dir && pwd` 2087 2088if test x"${MISSING+set}" != xset; then 2089 case $am_aux_dir in 2090 *\ * | *\ *) 2091 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2092 *) 2093 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2094 esac 2095fi 2096# Use eval to expand $SHELL 2097if eval "$MISSING --run true"; then 2098 am_missing_run="$MISSING --run " 2099else 2100 am_missing_run= 2101 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2102$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2103fi 2104 2105if test x"${install_sh}" != xset; then 2106 case $am_aux_dir in 2107 *\ * | *\ *) 2108 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2109 *) 2110 install_sh="\${SHELL} $am_aux_dir/install-sh" 2111 esac 2112fi 2113 2114# Installed binaries are usually stripped using `strip' when the user 2115# run `make install-strip'. However `strip' might not be the right 2116# tool to use in cross-compilation environments, therefore Automake 2117# will honor the `STRIP' environment variable to overrule this program. 2118if test "$cross_compiling" != no; then 2119 if test -n "$ac_tool_prefix"; then 2120 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2121set dummy ${ac_tool_prefix}strip; ac_word=$2 2122{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2123$as_echo_n "checking for $ac_word... " >&6; } 2124if test "${ac_cv_prog_STRIP+set}" = set; then 2125 $as_echo_n "(cached) " >&6 2126else 2127 if test -n "$STRIP"; then 2128 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2129else 2130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2131for as_dir in $PATH 2132do 2133 IFS=$as_save_IFS 2134 test -z "$as_dir" && as_dir=. 2135 for ac_exec_ext in '' $ac_executable_extensions; do 2136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2137 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2139 break 2 2140 fi 2141done 2142done 2143IFS=$as_save_IFS 2144 2145fi 2146fi 2147STRIP=$ac_cv_prog_STRIP 2148if test -n "$STRIP"; then 2149 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2150$as_echo "$STRIP" >&6; } 2151else 2152 { $as_echo "$as_me:$LINENO: result: no" >&5 2153$as_echo "no" >&6; } 2154fi 2155 2156 2157fi 2158if test -z "$ac_cv_prog_STRIP"; then 2159 ac_ct_STRIP=$STRIP 2160 # Extract the first word of "strip", so it can be a program name with args. 2161set dummy strip; ac_word=$2 2162{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2163$as_echo_n "checking for $ac_word... " >&6; } 2164if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2165 $as_echo_n "(cached) " >&6 2166else 2167 if test -n "$ac_ct_STRIP"; then 2168 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2169else 2170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2171for as_dir in $PATH 2172do 2173 IFS=$as_save_IFS 2174 test -z "$as_dir" && as_dir=. 2175 for ac_exec_ext in '' $ac_executable_extensions; do 2176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2177 ac_cv_prog_ac_ct_STRIP="strip" 2178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2179 break 2 2180 fi 2181done 2182done 2183IFS=$as_save_IFS 2184 2185fi 2186fi 2187ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2188if test -n "$ac_ct_STRIP"; then 2189 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2190$as_echo "$ac_ct_STRIP" >&6; } 2191else 2192 { $as_echo "$as_me:$LINENO: result: no" >&5 2193$as_echo "no" >&6; } 2194fi 2195 2196 if test "x$ac_ct_STRIP" = x; then 2197 STRIP=":" 2198 else 2199 case $cross_compiling:$ac_tool_warned in 2200yes:) 2201{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2202$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2203ac_tool_warned=yes ;; 2204esac 2205 STRIP=$ac_ct_STRIP 2206 fi 2207else 2208 STRIP="$ac_cv_prog_STRIP" 2209fi 2210 2211fi 2212INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2213 2214{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2215$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2216if test -z "$MKDIR_P"; then 2217 if test "${ac_cv_path_mkdir+set}" = set; then 2218 $as_echo_n "(cached) " >&6 2219else 2220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2221for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2222do 2223 IFS=$as_save_IFS 2224 test -z "$as_dir" && as_dir=. 2225 for ac_prog in mkdir gmkdir; do 2226 for ac_exec_ext in '' $ac_executable_extensions; do 2227 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2228 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2229 'mkdir (GNU coreutils) '* | \ 2230 'mkdir (coreutils) '* | \ 2231 'mkdir (fileutils) '4.1*) 2232 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2233 break 3;; 2234 esac 2235 done 2236 done 2237done 2238IFS=$as_save_IFS 2239 2240fi 2241 2242 if test "${ac_cv_path_mkdir+set}" = set; then 2243 MKDIR_P="$ac_cv_path_mkdir -p" 2244 else 2245 # As a last resort, use the slow shell script. Don't cache a 2246 # value for MKDIR_P within a source directory, because that will 2247 # break other packages using the cache if that directory is 2248 # removed, or if the value is a relative name. 2249 test -d ./--version && rmdir ./--version 2250 MKDIR_P="$ac_install_sh -d" 2251 fi 2252fi 2253{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2254$as_echo "$MKDIR_P" >&6; } 2255 2256mkdir_p="$MKDIR_P" 2257case $mkdir_p in 2258 [\\/$]* | ?:[\\/]*) ;; 2259 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2260esac 2261 2262for ac_prog in gawk mawk nawk awk 2263do 2264 # Extract the first word of "$ac_prog", so it can be a program name with args. 2265set dummy $ac_prog; ac_word=$2 2266{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2267$as_echo_n "checking for $ac_word... " >&6; } 2268if test "${ac_cv_prog_AWK+set}" = set; then 2269 $as_echo_n "(cached) " >&6 2270else 2271 if test -n "$AWK"; then 2272 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2273else 2274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2275for as_dir in $PATH 2276do 2277 IFS=$as_save_IFS 2278 test -z "$as_dir" && as_dir=. 2279 for ac_exec_ext in '' $ac_executable_extensions; do 2280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2281 ac_cv_prog_AWK="$ac_prog" 2282 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2283 break 2 2284 fi 2285done 2286done 2287IFS=$as_save_IFS 2288 2289fi 2290fi 2291AWK=$ac_cv_prog_AWK 2292if test -n "$AWK"; then 2293 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2294$as_echo "$AWK" >&6; } 2295else 2296 { $as_echo "$as_me:$LINENO: result: no" >&5 2297$as_echo "no" >&6; } 2298fi 2299 2300 2301 test -n "$AWK" && break 2302done 2303 2304{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2305$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2306set x ${MAKE-make} 2307ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2308if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2309 $as_echo_n "(cached) " >&6 2310else 2311 cat >conftest.make <<\_ACEOF 2312SHELL = /bin/sh 2313all: 2314 @echo '@@@%%%=$(MAKE)=@@@%%%' 2315_ACEOF 2316# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2317case `${MAKE-make} -f conftest.make 2>/dev/null` in 2318 *@@@%%%=?*=@@@%%%*) 2319 eval ac_cv_prog_make_${ac_make}_set=yes;; 2320 *) 2321 eval ac_cv_prog_make_${ac_make}_set=no;; 2322esac 2323rm -f conftest.make 2324fi 2325if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2326 { $as_echo "$as_me:$LINENO: result: yes" >&5 2327$as_echo "yes" >&6; } 2328 SET_MAKE= 2329else 2330 { $as_echo "$as_me:$LINENO: result: no" >&5 2331$as_echo "no" >&6; } 2332 SET_MAKE="MAKE=${MAKE-make}" 2333fi 2334 2335rm -rf .tst 2>/dev/null 2336mkdir .tst 2>/dev/null 2337if test -d .tst; then 2338 am__leading_dot=. 2339else 2340 am__leading_dot=_ 2341fi 2342rmdir .tst 2>/dev/null 2343 2344if test "`cd $srcdir && pwd`" != "`pwd`"; then 2345 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2346 # is not polluted with repeated "-I." 2347 am__isrc=' -I$(srcdir)' 2348 # test to see if srcdir already configured 2349 if test -f $srcdir/config.status; then 2350 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2351$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2352 { (exit 1); exit 1; }; } 2353 fi 2354fi 2355 2356# test whether we have cygpath 2357if test -z "$CYGPATH_W"; then 2358 if (cygpath --version) >/dev/null 2>/dev/null; then 2359 CYGPATH_W='cygpath -w' 2360 else 2361 CYGPATH_W=echo 2362 fi 2363fi 2364 2365 2366# Define the identity of the package. 2367 PACKAGE='encodings' 2368 VERSION='1.0.3' 2369 2370 2371cat >>confdefs.h <<_ACEOF 2372#define PACKAGE "$PACKAGE" 2373_ACEOF 2374 2375 2376cat >>confdefs.h <<_ACEOF 2377#define VERSION "$VERSION" 2378_ACEOF 2379 2380# Some tools Automake needs. 2381 2382ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2383 2384 2385AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2386 2387 2388AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2389 2390 2391AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2392 2393 2394MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2395 2396# We need awk for the "check" target. The system "awk" is bad on 2397# some platforms. 2398# Always define AMTAR for backward compatibility. 2399 2400AMTAR=${AMTAR-"${am_missing_run}tar"} 2401 2402am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2403 2404 2405 2406 2407 2408 2409# Require xorg-macros: XORG_DEFAULT_OPTIONS 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421DEPDIR="${am__leading_dot}deps" 2422 2423ac_config_commands="$ac_config_commands depfiles" 2424 2425 2426am_make=${MAKE-make} 2427cat > confinc << 'END' 2428am__doit: 2429 @echo this is the am__doit target 2430.PHONY: am__doit 2431END 2432# If we don't find an include directive, just comment out the code. 2433{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2434$as_echo_n "checking for style of include used by $am_make... " >&6; } 2435am__include="#" 2436am__quote= 2437_am_result=none 2438# First try GNU make style include. 2439echo "include confinc" > confmf 2440# Ignore all kinds of additional output from `make'. 2441case `$am_make -s -f confmf 2> /dev/null` in #( 2442*the\ am__doit\ target*) 2443 am__include=include 2444 am__quote= 2445 _am_result=GNU 2446 ;; 2447esac 2448# Now try BSD make style include. 2449if test "$am__include" = "#"; then 2450 echo '.include "confinc"' > confmf 2451 case `$am_make -s -f confmf 2> /dev/null` in #( 2452 *the\ am__doit\ target*) 2453 am__include=.include 2454 am__quote="\"" 2455 _am_result=BSD 2456 ;; 2457 esac 2458fi 2459 2460 2461{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 2462$as_echo "$_am_result" >&6; } 2463rm -f confinc confmf 2464 2465# Check whether --enable-dependency-tracking was given. 2466if test "${enable_dependency_tracking+set}" = set; then 2467 enableval=$enable_dependency_tracking; 2468fi 2469 2470if test "x$enable_dependency_tracking" != xno; then 2471 am_depcomp="$ac_aux_dir/depcomp" 2472 AMDEPBACKSLASH='\' 2473fi 2474 if test "x$enable_dependency_tracking" != xno; then 2475 AMDEP_TRUE= 2476 AMDEP_FALSE='#' 2477else 2478 AMDEP_TRUE='#' 2479 AMDEP_FALSE= 2480fi 2481 2482 2483ac_ext=c 2484ac_cpp='$CPP $CPPFLAGS' 2485ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2486ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2487ac_compiler_gnu=$ac_cv_c_compiler_gnu 2488if test -n "$ac_tool_prefix"; then 2489 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2490set dummy ${ac_tool_prefix}gcc; ac_word=$2 2491{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2492$as_echo_n "checking for $ac_word... " >&6; } 2493if test "${ac_cv_prog_CC+set}" = set; then 2494 $as_echo_n "(cached) " >&6 2495else 2496 if test -n "$CC"; then 2497 ac_cv_prog_CC="$CC" # Let the user override the test. 2498else 2499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2500for as_dir in $PATH 2501do 2502 IFS=$as_save_IFS 2503 test -z "$as_dir" && as_dir=. 2504 for ac_exec_ext in '' $ac_executable_extensions; do 2505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2506 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2507 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2508 break 2 2509 fi 2510done 2511done 2512IFS=$as_save_IFS 2513 2514fi 2515fi 2516CC=$ac_cv_prog_CC 2517if test -n "$CC"; then 2518 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2519$as_echo "$CC" >&6; } 2520else 2521 { $as_echo "$as_me:$LINENO: result: no" >&5 2522$as_echo "no" >&6; } 2523fi 2524 2525 2526fi 2527if test -z "$ac_cv_prog_CC"; then 2528 ac_ct_CC=$CC 2529 # Extract the first word of "gcc", so it can be a program name with args. 2530set dummy gcc; ac_word=$2 2531{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2532$as_echo_n "checking for $ac_word... " >&6; } 2533if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2534 $as_echo_n "(cached) " >&6 2535else 2536 if test -n "$ac_ct_CC"; then 2537 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2538else 2539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2540for as_dir in $PATH 2541do 2542 IFS=$as_save_IFS 2543 test -z "$as_dir" && as_dir=. 2544 for ac_exec_ext in '' $ac_executable_extensions; do 2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2546 ac_cv_prog_ac_ct_CC="gcc" 2547 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2548 break 2 2549 fi 2550done 2551done 2552IFS=$as_save_IFS 2553 2554fi 2555fi 2556ac_ct_CC=$ac_cv_prog_ac_ct_CC 2557if test -n "$ac_ct_CC"; then 2558 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2559$as_echo "$ac_ct_CC" >&6; } 2560else 2561 { $as_echo "$as_me:$LINENO: result: no" >&5 2562$as_echo "no" >&6; } 2563fi 2564 2565 if test "x$ac_ct_CC" = x; then 2566 CC="" 2567 else 2568 case $cross_compiling:$ac_tool_warned in 2569yes:) 2570{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2571$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2572ac_tool_warned=yes ;; 2573esac 2574 CC=$ac_ct_CC 2575 fi 2576else 2577 CC="$ac_cv_prog_CC" 2578fi 2579 2580if test -z "$CC"; then 2581 if test -n "$ac_tool_prefix"; then 2582 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2583set dummy ${ac_tool_prefix}cc; ac_word=$2 2584{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2585$as_echo_n "checking for $ac_word... " >&6; } 2586if test "${ac_cv_prog_CC+set}" = set; then 2587 $as_echo_n "(cached) " >&6 2588else 2589 if test -n "$CC"; then 2590 ac_cv_prog_CC="$CC" # Let the user override the test. 2591else 2592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2593for as_dir in $PATH 2594do 2595 IFS=$as_save_IFS 2596 test -z "$as_dir" && as_dir=. 2597 for ac_exec_ext in '' $ac_executable_extensions; do 2598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2599 ac_cv_prog_CC="${ac_tool_prefix}cc" 2600 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2601 break 2 2602 fi 2603done 2604done 2605IFS=$as_save_IFS 2606 2607fi 2608fi 2609CC=$ac_cv_prog_CC 2610if test -n "$CC"; then 2611 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2612$as_echo "$CC" >&6; } 2613else 2614 { $as_echo "$as_me:$LINENO: result: no" >&5 2615$as_echo "no" >&6; } 2616fi 2617 2618 2619 fi 2620fi 2621if test -z "$CC"; then 2622 # Extract the first word of "cc", so it can be a program name with args. 2623set dummy cc; ac_word=$2 2624{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2625$as_echo_n "checking for $ac_word... " >&6; } 2626if test "${ac_cv_prog_CC+set}" = set; then 2627 $as_echo_n "(cached) " >&6 2628else 2629 if test -n "$CC"; then 2630 ac_cv_prog_CC="$CC" # Let the user override the test. 2631else 2632 ac_prog_rejected=no 2633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2634for as_dir in $PATH 2635do 2636 IFS=$as_save_IFS 2637 test -z "$as_dir" && as_dir=. 2638 for ac_exec_ext in '' $ac_executable_extensions; do 2639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2640 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2641 ac_prog_rejected=yes 2642 continue 2643 fi 2644 ac_cv_prog_CC="cc" 2645 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2646 break 2 2647 fi 2648done 2649done 2650IFS=$as_save_IFS 2651 2652if test $ac_prog_rejected = yes; then 2653 # We found a bogon in the path, so make sure we never use it. 2654 set dummy $ac_cv_prog_CC 2655 shift 2656 if test $# != 0; then 2657 # We chose a different compiler from the bogus one. 2658 # However, it has the same basename, so the bogon will be chosen 2659 # first if we set CC to just the basename; use the full file name. 2660 shift 2661 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2662 fi 2663fi 2664fi 2665fi 2666CC=$ac_cv_prog_CC 2667if test -n "$CC"; then 2668 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2669$as_echo "$CC" >&6; } 2670else 2671 { $as_echo "$as_me:$LINENO: result: no" >&5 2672$as_echo "no" >&6; } 2673fi 2674 2675 2676fi 2677if test -z "$CC"; then 2678 if test -n "$ac_tool_prefix"; then 2679 for ac_prog in cl.exe 2680 do 2681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2682set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2683{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2684$as_echo_n "checking for $ac_word... " >&6; } 2685if test "${ac_cv_prog_CC+set}" = set; then 2686 $as_echo_n "(cached) " >&6 2687else 2688 if test -n "$CC"; then 2689 ac_cv_prog_CC="$CC" # Let the user override the test. 2690else 2691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2692for as_dir in $PATH 2693do 2694 IFS=$as_save_IFS 2695 test -z "$as_dir" && as_dir=. 2696 for ac_exec_ext in '' $ac_executable_extensions; do 2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2698 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2699 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2700 break 2 2701 fi 2702done 2703done 2704IFS=$as_save_IFS 2705 2706fi 2707fi 2708CC=$ac_cv_prog_CC 2709if test -n "$CC"; then 2710 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2711$as_echo "$CC" >&6; } 2712else 2713 { $as_echo "$as_me:$LINENO: result: no" >&5 2714$as_echo "no" >&6; } 2715fi 2716 2717 2718 test -n "$CC" && break 2719 done 2720fi 2721if test -z "$CC"; then 2722 ac_ct_CC=$CC 2723 for ac_prog in cl.exe 2724do 2725 # Extract the first word of "$ac_prog", so it can be a program name with args. 2726set dummy $ac_prog; ac_word=$2 2727{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2728$as_echo_n "checking for $ac_word... " >&6; } 2729if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2730 $as_echo_n "(cached) " >&6 2731else 2732 if test -n "$ac_ct_CC"; then 2733 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2734else 2735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2736for as_dir in $PATH 2737do 2738 IFS=$as_save_IFS 2739 test -z "$as_dir" && as_dir=. 2740 for ac_exec_ext in '' $ac_executable_extensions; do 2741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2742 ac_cv_prog_ac_ct_CC="$ac_prog" 2743 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2744 break 2 2745 fi 2746done 2747done 2748IFS=$as_save_IFS 2749 2750fi 2751fi 2752ac_ct_CC=$ac_cv_prog_ac_ct_CC 2753if test -n "$ac_ct_CC"; then 2754 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2755$as_echo "$ac_ct_CC" >&6; } 2756else 2757 { $as_echo "$as_me:$LINENO: result: no" >&5 2758$as_echo "no" >&6; } 2759fi 2760 2761 2762 test -n "$ac_ct_CC" && break 2763done 2764 2765 if test "x$ac_ct_CC" = x; then 2766 CC="" 2767 else 2768 case $cross_compiling:$ac_tool_warned in 2769yes:) 2770{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2771$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2772ac_tool_warned=yes ;; 2773esac 2774 CC=$ac_ct_CC 2775 fi 2776fi 2777 2778fi 2779 2780 2781test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2782$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2783{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2784See \`config.log' for more details." >&5 2785$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2786See \`config.log' for more details." >&2;} 2787 { (exit 1); exit 1; }; }; } 2788 2789# Provide some information about the compiler. 2790$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2791set X $ac_compile 2792ac_compiler=$2 2793{ (ac_try="$ac_compiler --version >&5" 2794case "(($ac_try" in 2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2796 *) ac_try_echo=$ac_try;; 2797esac 2798eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2799$as_echo "$ac_try_echo") >&5 2800 (eval "$ac_compiler --version >&5") 2>&5 2801 ac_status=$? 2802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2803 (exit $ac_status); } 2804{ (ac_try="$ac_compiler -v >&5" 2805case "(($ac_try" in 2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2807 *) ac_try_echo=$ac_try;; 2808esac 2809eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2810$as_echo "$ac_try_echo") >&5 2811 (eval "$ac_compiler -v >&5") 2>&5 2812 ac_status=$? 2813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2814 (exit $ac_status); } 2815{ (ac_try="$ac_compiler -V >&5" 2816case "(($ac_try" in 2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2818 *) ac_try_echo=$ac_try;; 2819esac 2820eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2821$as_echo "$ac_try_echo") >&5 2822 (eval "$ac_compiler -V >&5") 2>&5 2823 ac_status=$? 2824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2825 (exit $ac_status); } 2826 2827cat >conftest.$ac_ext <<_ACEOF 2828/* confdefs.h. */ 2829_ACEOF 2830cat confdefs.h >>conftest.$ac_ext 2831cat >>conftest.$ac_ext <<_ACEOF 2832/* end confdefs.h. */ 2833 2834int 2835main () 2836{ 2837 2838 ; 2839 return 0; 2840} 2841_ACEOF 2842ac_clean_files_save=$ac_clean_files 2843ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2844# Try to create an executable without -o first, disregard a.out. 2845# It will help us diagnose broken compilers, and finding out an intuition 2846# of exeext. 2847{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2848$as_echo_n "checking for C compiler default output file name... " >&6; } 2849ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2850 2851# The possible output files: 2852ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2853 2854ac_rmfiles= 2855for ac_file in $ac_files 2856do 2857 case $ac_file in 2858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2859 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2860 esac 2861done 2862rm -f $ac_rmfiles 2863 2864if { (ac_try="$ac_link_default" 2865case "(($ac_try" in 2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2867 *) ac_try_echo=$ac_try;; 2868esac 2869eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2870$as_echo "$ac_try_echo") >&5 2871 (eval "$ac_link_default") 2>&5 2872 ac_status=$? 2873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2874 (exit $ac_status); }; then 2875 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2876# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2877# in a Makefile. We should not override ac_cv_exeext if it was cached, 2878# so that the user can short-circuit this test for compilers unknown to 2879# Autoconf. 2880for ac_file in $ac_files '' 2881do 2882 test -f "$ac_file" || continue 2883 case $ac_file in 2884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2885 ;; 2886 [ab].out ) 2887 # We found the default executable, but exeext='' is most 2888 # certainly right. 2889 break;; 2890 *.* ) 2891 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2892 then :; else 2893 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2894 fi 2895 # We set ac_cv_exeext here because the later test for it is not 2896 # safe: cross compilers may not add the suffix if given an `-o' 2897 # argument, so we may need to know it at that point already. 2898 # Even if this section looks crufty: it has the advantage of 2899 # actually working. 2900 break;; 2901 * ) 2902 break;; 2903 esac 2904done 2905test "$ac_cv_exeext" = no && ac_cv_exeext= 2906 2907else 2908 ac_file='' 2909fi 2910 2911{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2912$as_echo "$ac_file" >&6; } 2913if test -z "$ac_file"; then 2914 $as_echo "$as_me: failed program was:" >&5 2915sed 's/^/| /' conftest.$ac_ext >&5 2916 2917{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2918$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2919{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2920See \`config.log' for more details." >&5 2921$as_echo "$as_me: error: C compiler cannot create executables 2922See \`config.log' for more details." >&2;} 2923 { (exit 77); exit 77; }; }; } 2924fi 2925 2926ac_exeext=$ac_cv_exeext 2927 2928# Check that the compiler produces executables we can run. If not, either 2929# the compiler is broken, or we cross compile. 2930{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2931$as_echo_n "checking whether the C compiler works... " >&6; } 2932# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2933# If not cross compiling, check that we can run a simple program. 2934if test "$cross_compiling" != yes; then 2935 if { ac_try='./$ac_file' 2936 { (case "(($ac_try" in 2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2938 *) ac_try_echo=$ac_try;; 2939esac 2940eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2941$as_echo "$ac_try_echo") >&5 2942 (eval "$ac_try") 2>&5 2943 ac_status=$? 2944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2945 (exit $ac_status); }; }; then 2946 cross_compiling=no 2947 else 2948 if test "$cross_compiling" = maybe; then 2949 cross_compiling=yes 2950 else 2951 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2952$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2953{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2954If you meant to cross compile, use \`--host'. 2955See \`config.log' for more details." >&5 2956$as_echo "$as_me: error: cannot run C compiled programs. 2957If you meant to cross compile, use \`--host'. 2958See \`config.log' for more details." >&2;} 2959 { (exit 1); exit 1; }; }; } 2960 fi 2961 fi 2962fi 2963{ $as_echo "$as_me:$LINENO: result: yes" >&5 2964$as_echo "yes" >&6; } 2965 2966rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2967ac_clean_files=$ac_clean_files_save 2968# Check that the compiler produces executables we can run. If not, either 2969# the compiler is broken, or we cross compile. 2970{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2971$as_echo_n "checking whether we are cross compiling... " >&6; } 2972{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2973$as_echo "$cross_compiling" >&6; } 2974 2975{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2976$as_echo_n "checking for suffix of executables... " >&6; } 2977if { (ac_try="$ac_link" 2978case "(($ac_try" in 2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2980 *) ac_try_echo=$ac_try;; 2981esac 2982eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2983$as_echo "$ac_try_echo") >&5 2984 (eval "$ac_link") 2>&5 2985 ac_status=$? 2986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2987 (exit $ac_status); }; then 2988 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2989# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2990# work properly (i.e., refer to `conftest.exe'), while it won't with 2991# `rm'. 2992for ac_file in conftest.exe conftest conftest.*; do 2993 test -f "$ac_file" || continue 2994 case $ac_file in 2995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2996 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2997 break;; 2998 * ) break;; 2999 esac 3000done 3001else 3002 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3003$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3004{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3005See \`config.log' for more details." >&5 3006$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3007See \`config.log' for more details." >&2;} 3008 { (exit 1); exit 1; }; }; } 3009fi 3010 3011rm -f conftest$ac_cv_exeext 3012{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3013$as_echo "$ac_cv_exeext" >&6; } 3014 3015rm -f conftest.$ac_ext 3016EXEEXT=$ac_cv_exeext 3017ac_exeext=$EXEEXT 3018{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3019$as_echo_n "checking for suffix of object files... " >&6; } 3020if test "${ac_cv_objext+set}" = set; then 3021 $as_echo_n "(cached) " >&6 3022else 3023 cat >conftest.$ac_ext <<_ACEOF 3024/* confdefs.h. */ 3025_ACEOF 3026cat confdefs.h >>conftest.$ac_ext 3027cat >>conftest.$ac_ext <<_ACEOF 3028/* end confdefs.h. */ 3029 3030int 3031main () 3032{ 3033 3034 ; 3035 return 0; 3036} 3037_ACEOF 3038rm -f conftest.o conftest.obj 3039if { (ac_try="$ac_compile" 3040case "(($ac_try" in 3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3042 *) ac_try_echo=$ac_try;; 3043esac 3044eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3045$as_echo "$ac_try_echo") >&5 3046 (eval "$ac_compile") 2>&5 3047 ac_status=$? 3048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3049 (exit $ac_status); }; then 3050 for ac_file in conftest.o conftest.obj conftest.*; do 3051 test -f "$ac_file" || continue; 3052 case $ac_file in 3053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3054 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3055 break;; 3056 esac 3057done 3058else 3059 $as_echo "$as_me: failed program was:" >&5 3060sed 's/^/| /' conftest.$ac_ext >&5 3061 3062{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3063$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3064{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3065See \`config.log' for more details." >&5 3066$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3067See \`config.log' for more details." >&2;} 3068 { (exit 1); exit 1; }; }; } 3069fi 3070 3071rm -f conftest.$ac_cv_objext conftest.$ac_ext 3072fi 3073{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3074$as_echo "$ac_cv_objext" >&6; } 3075OBJEXT=$ac_cv_objext 3076ac_objext=$OBJEXT 3077{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3078$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3079if test "${ac_cv_c_compiler_gnu+set}" = set; then 3080 $as_echo_n "(cached) " >&6 3081else 3082 cat >conftest.$ac_ext <<_ACEOF 3083/* confdefs.h. */ 3084_ACEOF 3085cat confdefs.h >>conftest.$ac_ext 3086cat >>conftest.$ac_ext <<_ACEOF 3087/* end confdefs.h. */ 3088 3089int 3090main () 3091{ 3092#ifndef __GNUC__ 3093 choke me 3094#endif 3095 3096 ; 3097 return 0; 3098} 3099_ACEOF 3100rm -f conftest.$ac_objext 3101if { (ac_try="$ac_compile" 3102case "(($ac_try" in 3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3104 *) ac_try_echo=$ac_try;; 3105esac 3106eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3107$as_echo "$ac_try_echo") >&5 3108 (eval "$ac_compile") 2>conftest.er1 3109 ac_status=$? 3110 grep -v '^ *+' conftest.er1 >conftest.err 3111 rm -f conftest.er1 3112 cat conftest.err >&5 3113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3114 (exit $ac_status); } && { 3115 test -z "$ac_c_werror_flag" || 3116 test ! -s conftest.err 3117 } && test -s conftest.$ac_objext; then 3118 ac_compiler_gnu=yes 3119else 3120 $as_echo "$as_me: failed program was:" >&5 3121sed 's/^/| /' conftest.$ac_ext >&5 3122 3123 ac_compiler_gnu=no 3124fi 3125 3126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3127ac_cv_c_compiler_gnu=$ac_compiler_gnu 3128 3129fi 3130{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3131$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3132if test $ac_compiler_gnu = yes; then 3133 GCC=yes 3134else 3135 GCC= 3136fi 3137ac_test_CFLAGS=${CFLAGS+set} 3138ac_save_CFLAGS=$CFLAGS 3139{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3140$as_echo_n "checking whether $CC accepts -g... " >&6; } 3141if test "${ac_cv_prog_cc_g+set}" = set; then 3142 $as_echo_n "(cached) " >&6 3143else 3144 ac_save_c_werror_flag=$ac_c_werror_flag 3145 ac_c_werror_flag=yes 3146 ac_cv_prog_cc_g=no 3147 CFLAGS="-g" 3148 cat >conftest.$ac_ext <<_ACEOF 3149/* confdefs.h. */ 3150_ACEOF 3151cat confdefs.h >>conftest.$ac_ext 3152cat >>conftest.$ac_ext <<_ACEOF 3153/* end confdefs.h. */ 3154 3155int 3156main () 3157{ 3158 3159 ; 3160 return 0; 3161} 3162_ACEOF 3163rm -f conftest.$ac_objext 3164if { (ac_try="$ac_compile" 3165case "(($ac_try" in 3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3167 *) ac_try_echo=$ac_try;; 3168esac 3169eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3170$as_echo "$ac_try_echo") >&5 3171 (eval "$ac_compile") 2>conftest.er1 3172 ac_status=$? 3173 grep -v '^ *+' conftest.er1 >conftest.err 3174 rm -f conftest.er1 3175 cat conftest.err >&5 3176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3177 (exit $ac_status); } && { 3178 test -z "$ac_c_werror_flag" || 3179 test ! -s conftest.err 3180 } && test -s conftest.$ac_objext; then 3181 ac_cv_prog_cc_g=yes 3182else 3183 $as_echo "$as_me: failed program was:" >&5 3184sed 's/^/| /' conftest.$ac_ext >&5 3185 3186 CFLAGS="" 3187 cat >conftest.$ac_ext <<_ACEOF 3188/* confdefs.h. */ 3189_ACEOF 3190cat confdefs.h >>conftest.$ac_ext 3191cat >>conftest.$ac_ext <<_ACEOF 3192/* end confdefs.h. */ 3193 3194int 3195main () 3196{ 3197 3198 ; 3199 return 0; 3200} 3201_ACEOF 3202rm -f conftest.$ac_objext 3203if { (ac_try="$ac_compile" 3204case "(($ac_try" in 3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3206 *) ac_try_echo=$ac_try;; 3207esac 3208eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3209$as_echo "$ac_try_echo") >&5 3210 (eval "$ac_compile") 2>conftest.er1 3211 ac_status=$? 3212 grep -v '^ *+' conftest.er1 >conftest.err 3213 rm -f conftest.er1 3214 cat conftest.err >&5 3215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3216 (exit $ac_status); } && { 3217 test -z "$ac_c_werror_flag" || 3218 test ! -s conftest.err 3219 } && test -s conftest.$ac_objext; then 3220 : 3221else 3222 $as_echo "$as_me: failed program was:" >&5 3223sed 's/^/| /' conftest.$ac_ext >&5 3224 3225 ac_c_werror_flag=$ac_save_c_werror_flag 3226 CFLAGS="-g" 3227 cat >conftest.$ac_ext <<_ACEOF 3228/* confdefs.h. */ 3229_ACEOF 3230cat confdefs.h >>conftest.$ac_ext 3231cat >>conftest.$ac_ext <<_ACEOF 3232/* end confdefs.h. */ 3233 3234int 3235main () 3236{ 3237 3238 ; 3239 return 0; 3240} 3241_ACEOF 3242rm -f conftest.$ac_objext 3243if { (ac_try="$ac_compile" 3244case "(($ac_try" in 3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3246 *) ac_try_echo=$ac_try;; 3247esac 3248eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3249$as_echo "$ac_try_echo") >&5 3250 (eval "$ac_compile") 2>conftest.er1 3251 ac_status=$? 3252 grep -v '^ *+' conftest.er1 >conftest.err 3253 rm -f conftest.er1 3254 cat conftest.err >&5 3255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3256 (exit $ac_status); } && { 3257 test -z "$ac_c_werror_flag" || 3258 test ! -s conftest.err 3259 } && test -s conftest.$ac_objext; then 3260 ac_cv_prog_cc_g=yes 3261else 3262 $as_echo "$as_me: failed program was:" >&5 3263sed 's/^/| /' conftest.$ac_ext >&5 3264 3265 3266fi 3267 3268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3269fi 3270 3271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3272fi 3273 3274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3275 ac_c_werror_flag=$ac_save_c_werror_flag 3276fi 3277{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3278$as_echo "$ac_cv_prog_cc_g" >&6; } 3279if test "$ac_test_CFLAGS" = set; then 3280 CFLAGS=$ac_save_CFLAGS 3281elif test $ac_cv_prog_cc_g = yes; then 3282 if test "$GCC" = yes; then 3283 CFLAGS="-g -O2" 3284 else 3285 CFLAGS="-g" 3286 fi 3287else 3288 if test "$GCC" = yes; then 3289 CFLAGS="-O2" 3290 else 3291 CFLAGS= 3292 fi 3293fi 3294{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3295$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3296if test "${ac_cv_prog_cc_c89+set}" = set; then 3297 $as_echo_n "(cached) " >&6 3298else 3299 ac_cv_prog_cc_c89=no 3300ac_save_CC=$CC 3301cat >conftest.$ac_ext <<_ACEOF 3302/* confdefs.h. */ 3303_ACEOF 3304cat confdefs.h >>conftest.$ac_ext 3305cat >>conftest.$ac_ext <<_ACEOF 3306/* end confdefs.h. */ 3307#include <stdarg.h> 3308#include <stdio.h> 3309#include <sys/types.h> 3310#include <sys/stat.h> 3311/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3312struct buf { int x; }; 3313FILE * (*rcsopen) (struct buf *, struct stat *, int); 3314static char *e (p, i) 3315 char **p; 3316 int i; 3317{ 3318 return p[i]; 3319} 3320static char *f (char * (*g) (char **, int), char **p, ...) 3321{ 3322 char *s; 3323 va_list v; 3324 va_start (v,p); 3325 s = g (p, va_arg (v,int)); 3326 va_end (v); 3327 return s; 3328} 3329 3330/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3331 function prototypes and stuff, but not '\xHH' hex character constants. 3332 These don't provoke an error unfortunately, instead are silently treated 3333 as 'x'. The following induces an error, until -std is added to get 3334 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3335 array size at least. It's necessary to write '\x00'==0 to get something 3336 that's true only with -std. */ 3337int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3338 3339/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3340 inside strings and character constants. */ 3341#define FOO(x) 'x' 3342int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3343 3344int test (int i, double x); 3345struct s1 {int (*f) (int a);}; 3346struct s2 {int (*f) (double a);}; 3347int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3348int argc; 3349char **argv; 3350int 3351main () 3352{ 3353return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3354 ; 3355 return 0; 3356} 3357_ACEOF 3358for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3359 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3360do 3361 CC="$ac_save_CC $ac_arg" 3362 rm -f conftest.$ac_objext 3363if { (ac_try="$ac_compile" 3364case "(($ac_try" in 3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3366 *) ac_try_echo=$ac_try;; 3367esac 3368eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3369$as_echo "$ac_try_echo") >&5 3370 (eval "$ac_compile") 2>conftest.er1 3371 ac_status=$? 3372 grep -v '^ *+' conftest.er1 >conftest.err 3373 rm -f conftest.er1 3374 cat conftest.err >&5 3375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3376 (exit $ac_status); } && { 3377 test -z "$ac_c_werror_flag" || 3378 test ! -s conftest.err 3379 } && test -s conftest.$ac_objext; then 3380 ac_cv_prog_cc_c89=$ac_arg 3381else 3382 $as_echo "$as_me: failed program was:" >&5 3383sed 's/^/| /' conftest.$ac_ext >&5 3384 3385 3386fi 3387 3388rm -f core conftest.err conftest.$ac_objext 3389 test "x$ac_cv_prog_cc_c89" != "xno" && break 3390done 3391rm -f conftest.$ac_ext 3392CC=$ac_save_CC 3393 3394fi 3395# AC_CACHE_VAL 3396case "x$ac_cv_prog_cc_c89" in 3397 x) 3398 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3399$as_echo "none needed" >&6; } ;; 3400 xno) 3401 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3402$as_echo "unsupported" >&6; } ;; 3403 *) 3404 CC="$CC $ac_cv_prog_cc_c89" 3405 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3406$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3407esac 3408 3409 3410ac_ext=c 3411ac_cpp='$CPP $CPPFLAGS' 3412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3414ac_compiler_gnu=$ac_cv_c_compiler_gnu 3415 3416depcc="$CC" am_compiler_list= 3417 3418{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3419$as_echo_n "checking dependency style of $depcc... " >&6; } 3420if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3421 $as_echo_n "(cached) " >&6 3422else 3423 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3424 # We make a subdir and do the tests there. Otherwise we can end up 3425 # making bogus files that we don't know about and never remove. For 3426 # instance it was reported that on HP-UX the gcc test will end up 3427 # making a dummy file named `D' -- because `-MD' means `put the output 3428 # in D'. 3429 mkdir conftest.dir 3430 # Copy depcomp to subdir because otherwise we won't find it if we're 3431 # using a relative directory. 3432 cp "$am_depcomp" conftest.dir 3433 cd conftest.dir 3434 # We will build objects and dependencies in a subdirectory because 3435 # it helps to detect inapplicable dependency modes. For instance 3436 # both Tru64's cc and ICC support -MD to output dependencies as a 3437 # side effect of compilation, but ICC will put the dependencies in 3438 # the current directory while Tru64 will put them in the object 3439 # directory. 3440 mkdir sub 3441 3442 am_cv_CC_dependencies_compiler_type=none 3443 if test "$am_compiler_list" = ""; then 3444 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3445 fi 3446 am__universal=false 3447 case " $depcc " in #( 3448 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3449 esac 3450 3451 for depmode in $am_compiler_list; do 3452 # Setup a source with many dependencies, because some compilers 3453 # like to wrap large dependency lists on column 80 (with \), and 3454 # we should not choose a depcomp mode which is confused by this. 3455 # 3456 # We need to recreate these files for each test, as the compiler may 3457 # overwrite some of them when testing with obscure command lines. 3458 # This happens at least with the AIX C compiler. 3459 : > sub/conftest.c 3460 for i in 1 2 3 4 5 6; do 3461 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3462 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3463 # Solaris 8's {/usr,}/bin/sh. 3464 touch sub/conftst$i.h 3465 done 3466 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3467 3468 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3469 # mode. It turns out that the SunPro C++ compiler does not properly 3470 # handle `-M -o', and we need to detect this. Also, some Intel 3471 # versions had trouble with output in subdirs 3472 am__obj=sub/conftest.${OBJEXT-o} 3473 am__minus_obj="-o $am__obj" 3474 case $depmode in 3475 gcc) 3476 # This depmode causes a compiler race in universal mode. 3477 test "$am__universal" = false || continue 3478 ;; 3479 nosideeffect) 3480 # after this tag, mechanisms are not by side-effect, so they'll 3481 # only be used when explicitly requested 3482 if test "x$enable_dependency_tracking" = xyes; then 3483 continue 3484 else 3485 break 3486 fi 3487 ;; 3488 msvisualcpp | msvcmsys) 3489 # This compiler won't grok `-c -o', but also, the minuso test has 3490 # not run yet. These depmodes are late enough in the game, and 3491 # so weak that their functioning should not be impacted. 3492 am__obj=conftest.${OBJEXT-o} 3493 am__minus_obj= 3494 ;; 3495 none) break ;; 3496 esac 3497 if depmode=$depmode \ 3498 source=sub/conftest.c object=$am__obj \ 3499 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3500 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3501 >/dev/null 2>conftest.err && 3502 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3503 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3504 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3505 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3506 # icc doesn't choke on unknown options, it will just issue warnings 3507 # or remarks (even with -Werror). So we grep stderr for any message 3508 # that says an option was ignored or not supported. 3509 # When given -MP, icc 7.0 and 7.1 complain thusly: 3510 # icc: Command line warning: ignoring option '-M'; no argument required 3511 # The diagnosis changed in icc 8.0: 3512 # icc: Command line remark: option '-MP' not supported 3513 if (grep 'ignoring option' conftest.err || 3514 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3515 am_cv_CC_dependencies_compiler_type=$depmode 3516 break 3517 fi 3518 fi 3519 done 3520 3521 cd .. 3522 rm -rf conftest.dir 3523else 3524 am_cv_CC_dependencies_compiler_type=none 3525fi 3526 3527fi 3528{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3529$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3530CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3531 3532 if 3533 test "x$enable_dependency_tracking" != xno \ 3534 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3535 am__fastdepCC_TRUE= 3536 am__fastdepCC_FALSE='#' 3537else 3538 am__fastdepCC_TRUE='#' 3539 am__fastdepCC_FALSE= 3540fi 3541 3542 3543 3544ac_ext=c 3545ac_cpp='$CPP $CPPFLAGS' 3546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3548ac_compiler_gnu=$ac_cv_c_compiler_gnu 3549{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3550$as_echo_n "checking how to run the C preprocessor... " >&6; } 3551# On Suns, sometimes $CPP names a directory. 3552if test -n "$CPP" && test -d "$CPP"; then 3553 CPP= 3554fi 3555if test -z "$CPP"; then 3556 if test "${ac_cv_prog_CPP+set}" = set; then 3557 $as_echo_n "(cached) " >&6 3558else 3559 # Double quotes because CPP needs to be expanded 3560 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3561 do 3562 ac_preproc_ok=false 3563for ac_c_preproc_warn_flag in '' yes 3564do 3565 # Use a header file that comes with gcc, so configuring glibc 3566 # with a fresh cross-compiler works. 3567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3568 # <limits.h> exists even on freestanding compilers. 3569 # On the NeXT, cc -E runs the code through the compiler's parser, 3570 # not just through cpp. "Syntax error" is here to catch this case. 3571 cat >conftest.$ac_ext <<_ACEOF 3572/* confdefs.h. */ 3573_ACEOF 3574cat confdefs.h >>conftest.$ac_ext 3575cat >>conftest.$ac_ext <<_ACEOF 3576/* end confdefs.h. */ 3577#ifdef __STDC__ 3578# include <limits.h> 3579#else 3580# include <assert.h> 3581#endif 3582 Syntax error 3583_ACEOF 3584if { (ac_try="$ac_cpp conftest.$ac_ext" 3585case "(($ac_try" in 3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3587 *) ac_try_echo=$ac_try;; 3588esac 3589eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3590$as_echo "$ac_try_echo") >&5 3591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3592 ac_status=$? 3593 grep -v '^ *+' conftest.er1 >conftest.err 3594 rm -f conftest.er1 3595 cat conftest.err >&5 3596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3597 (exit $ac_status); } >/dev/null && { 3598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3599 test ! -s conftest.err 3600 }; then 3601 : 3602else 3603 $as_echo "$as_me: failed program was:" >&5 3604sed 's/^/| /' conftest.$ac_ext >&5 3605 3606 # Broken: fails on valid input. 3607continue 3608fi 3609 3610rm -f conftest.err conftest.$ac_ext 3611 3612 # OK, works on sane cases. Now check whether nonexistent headers 3613 # can be detected and how. 3614 cat >conftest.$ac_ext <<_ACEOF 3615/* confdefs.h. */ 3616_ACEOF 3617cat confdefs.h >>conftest.$ac_ext 3618cat >>conftest.$ac_ext <<_ACEOF 3619/* end confdefs.h. */ 3620#include <ac_nonexistent.h> 3621_ACEOF 3622if { (ac_try="$ac_cpp conftest.$ac_ext" 3623case "(($ac_try" in 3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3625 *) ac_try_echo=$ac_try;; 3626esac 3627eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3628$as_echo "$ac_try_echo") >&5 3629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3630 ac_status=$? 3631 grep -v '^ *+' conftest.er1 >conftest.err 3632 rm -f conftest.er1 3633 cat conftest.err >&5 3634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3635 (exit $ac_status); } >/dev/null && { 3636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3637 test ! -s conftest.err 3638 }; then 3639 # Broken: success on invalid input. 3640continue 3641else 3642 $as_echo "$as_me: failed program was:" >&5 3643sed 's/^/| /' conftest.$ac_ext >&5 3644 3645 # Passes both tests. 3646ac_preproc_ok=: 3647break 3648fi 3649 3650rm -f conftest.err conftest.$ac_ext 3651 3652done 3653# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3654rm -f conftest.err conftest.$ac_ext 3655if $ac_preproc_ok; then 3656 break 3657fi 3658 3659 done 3660 ac_cv_prog_CPP=$CPP 3661 3662fi 3663 CPP=$ac_cv_prog_CPP 3664else 3665 ac_cv_prog_CPP=$CPP 3666fi 3667{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 3668$as_echo "$CPP" >&6; } 3669ac_preproc_ok=false 3670for ac_c_preproc_warn_flag in '' yes 3671do 3672 # Use a header file that comes with gcc, so configuring glibc 3673 # with a fresh cross-compiler works. 3674 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3675 # <limits.h> exists even on freestanding compilers. 3676 # On the NeXT, cc -E runs the code through the compiler's parser, 3677 # not just through cpp. "Syntax error" is here to catch this case. 3678 cat >conftest.$ac_ext <<_ACEOF 3679/* confdefs.h. */ 3680_ACEOF 3681cat confdefs.h >>conftest.$ac_ext 3682cat >>conftest.$ac_ext <<_ACEOF 3683/* end confdefs.h. */ 3684#ifdef __STDC__ 3685# include <limits.h> 3686#else 3687# include <assert.h> 3688#endif 3689 Syntax error 3690_ACEOF 3691if { (ac_try="$ac_cpp conftest.$ac_ext" 3692case "(($ac_try" in 3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3694 *) ac_try_echo=$ac_try;; 3695esac 3696eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3697$as_echo "$ac_try_echo") >&5 3698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3699 ac_status=$? 3700 grep -v '^ *+' conftest.er1 >conftest.err 3701 rm -f conftest.er1 3702 cat conftest.err >&5 3703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3704 (exit $ac_status); } >/dev/null && { 3705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3706 test ! -s conftest.err 3707 }; then 3708 : 3709else 3710 $as_echo "$as_me: failed program was:" >&5 3711sed 's/^/| /' conftest.$ac_ext >&5 3712 3713 # Broken: fails on valid input. 3714continue 3715fi 3716 3717rm -f conftest.err conftest.$ac_ext 3718 3719 # OK, works on sane cases. Now check whether nonexistent headers 3720 # can be detected and how. 3721 cat >conftest.$ac_ext <<_ACEOF 3722/* confdefs.h. */ 3723_ACEOF 3724cat confdefs.h >>conftest.$ac_ext 3725cat >>conftest.$ac_ext <<_ACEOF 3726/* end confdefs.h. */ 3727#include <ac_nonexistent.h> 3728_ACEOF 3729if { (ac_try="$ac_cpp conftest.$ac_ext" 3730case "(($ac_try" in 3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3732 *) ac_try_echo=$ac_try;; 3733esac 3734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3735$as_echo "$ac_try_echo") >&5 3736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3737 ac_status=$? 3738 grep -v '^ *+' conftest.er1 >conftest.err 3739 rm -f conftest.er1 3740 cat conftest.err >&5 3741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3742 (exit $ac_status); } >/dev/null && { 3743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3744 test ! -s conftest.err 3745 }; then 3746 # Broken: success on invalid input. 3747continue 3748else 3749 $as_echo "$as_me: failed program was:" >&5 3750sed 's/^/| /' conftest.$ac_ext >&5 3751 3752 # Passes both tests. 3753ac_preproc_ok=: 3754break 3755fi 3756 3757rm -f conftest.err conftest.$ac_ext 3758 3759done 3760# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3761rm -f conftest.err conftest.$ac_ext 3762if $ac_preproc_ok; then 3763 : 3764else 3765 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3767{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3768See \`config.log' for more details." >&5 3769$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3770See \`config.log' for more details." >&2;} 3771 { (exit 1); exit 1; }; }; } 3772fi 3773 3774ac_ext=c 3775ac_cpp='$CPP $CPPFLAGS' 3776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3778ac_compiler_gnu=$ac_cv_c_compiler_gnu 3779 3780 3781{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3782$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3783if test "${ac_cv_path_GREP+set}" = set; then 3784 $as_echo_n "(cached) " >&6 3785else 3786 if test -z "$GREP"; then 3787 ac_path_GREP_found=false 3788 # Loop through the user's path and test for each of PROGNAME-LIST 3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3790for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3791do 3792 IFS=$as_save_IFS 3793 test -z "$as_dir" && as_dir=. 3794 for ac_prog in grep ggrep; do 3795 for ac_exec_ext in '' $ac_executable_extensions; do 3796 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3797 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3798# Check for GNU ac_path_GREP and select it if it is found. 3799 # Check for GNU $ac_path_GREP 3800case `"$ac_path_GREP" --version 2>&1` in 3801*GNU*) 3802 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3803*) 3804 ac_count=0 3805 $as_echo_n 0123456789 >"conftest.in" 3806 while : 3807 do 3808 cat "conftest.in" "conftest.in" >"conftest.tmp" 3809 mv "conftest.tmp" "conftest.in" 3810 cp "conftest.in" "conftest.nl" 3811 $as_echo 'GREP' >> "conftest.nl" 3812 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3813 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3814 ac_count=`expr $ac_count + 1` 3815 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3816 # Best one so far, save it but keep looking for a better one 3817 ac_cv_path_GREP="$ac_path_GREP" 3818 ac_path_GREP_max=$ac_count 3819 fi 3820 # 10*(2^10) chars as input seems more than enough 3821 test $ac_count -gt 10 && break 3822 done 3823 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3824esac 3825 3826 $ac_path_GREP_found && break 3 3827 done 3828 done 3829done 3830IFS=$as_save_IFS 3831 if test -z "$ac_cv_path_GREP"; then 3832 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3833$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3834 { (exit 1); exit 1; }; } 3835 fi 3836else 3837 ac_cv_path_GREP=$GREP 3838fi 3839 3840fi 3841{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3842$as_echo "$ac_cv_path_GREP" >&6; } 3843 GREP="$ac_cv_path_GREP" 3844 3845 3846{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 3847$as_echo_n "checking for egrep... " >&6; } 3848if test "${ac_cv_path_EGREP+set}" = set; then 3849 $as_echo_n "(cached) " >&6 3850else 3851 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3852 then ac_cv_path_EGREP="$GREP -E" 3853 else 3854 if test -z "$EGREP"; then 3855 ac_path_EGREP_found=false 3856 # Loop through the user's path and test for each of PROGNAME-LIST 3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3858for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3859do 3860 IFS=$as_save_IFS 3861 test -z "$as_dir" && as_dir=. 3862 for ac_prog in egrep; do 3863 for ac_exec_ext in '' $ac_executable_extensions; do 3864 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3865 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3866# Check for GNU ac_path_EGREP and select it if it is found. 3867 # Check for GNU $ac_path_EGREP 3868case `"$ac_path_EGREP" --version 2>&1` in 3869*GNU*) 3870 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3871*) 3872 ac_count=0 3873 $as_echo_n 0123456789 >"conftest.in" 3874 while : 3875 do 3876 cat "conftest.in" "conftest.in" >"conftest.tmp" 3877 mv "conftest.tmp" "conftest.in" 3878 cp "conftest.in" "conftest.nl" 3879 $as_echo 'EGREP' >> "conftest.nl" 3880 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3881 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3882 ac_count=`expr $ac_count + 1` 3883 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3884 # Best one so far, save it but keep looking for a better one 3885 ac_cv_path_EGREP="$ac_path_EGREP" 3886 ac_path_EGREP_max=$ac_count 3887 fi 3888 # 10*(2^10) chars as input seems more than enough 3889 test $ac_count -gt 10 && break 3890 done 3891 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3892esac 3893 3894 $ac_path_EGREP_found && break 3 3895 done 3896 done 3897done 3898IFS=$as_save_IFS 3899 if test -z "$ac_cv_path_EGREP"; then 3900 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3901$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3902 { (exit 1); exit 1; }; } 3903 fi 3904else 3905 ac_cv_path_EGREP=$EGREP 3906fi 3907 3908 fi 3909fi 3910{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3911$as_echo "$ac_cv_path_EGREP" >&6; } 3912 EGREP="$ac_cv_path_EGREP" 3913 3914 3915{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3916$as_echo_n "checking for ANSI C header files... " >&6; } 3917if test "${ac_cv_header_stdc+set}" = set; then 3918 $as_echo_n "(cached) " >&6 3919else 3920 cat >conftest.$ac_ext <<_ACEOF 3921/* confdefs.h. */ 3922_ACEOF 3923cat confdefs.h >>conftest.$ac_ext 3924cat >>conftest.$ac_ext <<_ACEOF 3925/* end confdefs.h. */ 3926#include <stdlib.h> 3927#include <stdarg.h> 3928#include <string.h> 3929#include <float.h> 3930 3931int 3932main () 3933{ 3934 3935 ; 3936 return 0; 3937} 3938_ACEOF 3939rm -f conftest.$ac_objext 3940if { (ac_try="$ac_compile" 3941case "(($ac_try" in 3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3943 *) ac_try_echo=$ac_try;; 3944esac 3945eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3946$as_echo "$ac_try_echo") >&5 3947 (eval "$ac_compile") 2>conftest.er1 3948 ac_status=$? 3949 grep -v '^ *+' conftest.er1 >conftest.err 3950 rm -f conftest.er1 3951 cat conftest.err >&5 3952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3953 (exit $ac_status); } && { 3954 test -z "$ac_c_werror_flag" || 3955 test ! -s conftest.err 3956 } && test -s conftest.$ac_objext; then 3957 ac_cv_header_stdc=yes 3958else 3959 $as_echo "$as_me: failed program was:" >&5 3960sed 's/^/| /' conftest.$ac_ext >&5 3961 3962 ac_cv_header_stdc=no 3963fi 3964 3965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3966 3967if test $ac_cv_header_stdc = yes; then 3968 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3969 cat >conftest.$ac_ext <<_ACEOF 3970/* confdefs.h. */ 3971_ACEOF 3972cat confdefs.h >>conftest.$ac_ext 3973cat >>conftest.$ac_ext <<_ACEOF 3974/* end confdefs.h. */ 3975#include <string.h> 3976 3977_ACEOF 3978if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3979 $EGREP "memchr" >/dev/null 2>&1; then 3980 : 3981else 3982 ac_cv_header_stdc=no 3983fi 3984rm -f conftest* 3985 3986fi 3987 3988if test $ac_cv_header_stdc = yes; then 3989 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3990 cat >conftest.$ac_ext <<_ACEOF 3991/* confdefs.h. */ 3992_ACEOF 3993cat confdefs.h >>conftest.$ac_ext 3994cat >>conftest.$ac_ext <<_ACEOF 3995/* end confdefs.h. */ 3996#include <stdlib.h> 3997 3998_ACEOF 3999if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4000 $EGREP "free" >/dev/null 2>&1; then 4001 : 4002else 4003 ac_cv_header_stdc=no 4004fi 4005rm -f conftest* 4006 4007fi 4008 4009if test $ac_cv_header_stdc = yes; then 4010 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4011 if test "$cross_compiling" = yes; then 4012 : 4013else 4014 cat >conftest.$ac_ext <<_ACEOF 4015/* confdefs.h. */ 4016_ACEOF 4017cat confdefs.h >>conftest.$ac_ext 4018cat >>conftest.$ac_ext <<_ACEOF 4019/* end confdefs.h. */ 4020#include <ctype.h> 4021#include <stdlib.h> 4022#if ((' ' & 0x0FF) == 0x020) 4023# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4024# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4025#else 4026# define ISLOWER(c) \ 4027 (('a' <= (c) && (c) <= 'i') \ 4028 || ('j' <= (c) && (c) <= 'r') \ 4029 || ('s' <= (c) && (c) <= 'z')) 4030# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4031#endif 4032 4033#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4034int 4035main () 4036{ 4037 int i; 4038 for (i = 0; i < 256; i++) 4039 if (XOR (islower (i), ISLOWER (i)) 4040 || toupper (i) != TOUPPER (i)) 4041 return 2; 4042 return 0; 4043} 4044_ACEOF 4045rm -f conftest$ac_exeext 4046if { (ac_try="$ac_link" 4047case "(($ac_try" in 4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4049 *) ac_try_echo=$ac_try;; 4050esac 4051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4052$as_echo "$ac_try_echo") >&5 4053 (eval "$ac_link") 2>&5 4054 ac_status=$? 4055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4057 { (case "(($ac_try" in 4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4059 *) ac_try_echo=$ac_try;; 4060esac 4061eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4062$as_echo "$ac_try_echo") >&5 4063 (eval "$ac_try") 2>&5 4064 ac_status=$? 4065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4066 (exit $ac_status); }; }; then 4067 : 4068else 4069 $as_echo "$as_me: program exited with status $ac_status" >&5 4070$as_echo "$as_me: failed program was:" >&5 4071sed 's/^/| /' conftest.$ac_ext >&5 4072 4073( exit $ac_status ) 4074ac_cv_header_stdc=no 4075fi 4076rm -rf conftest.dSYM 4077rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4078fi 4079 4080 4081fi 4082fi 4083{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4084$as_echo "$ac_cv_header_stdc" >&6; } 4085if test $ac_cv_header_stdc = yes; then 4086 4087cat >>confdefs.h <<\_ACEOF 4088#define STDC_HEADERS 1 4089_ACEOF 4090 4091fi 4092 4093# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4104 inttypes.h stdint.h unistd.h 4105do 4106as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4107{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4108$as_echo_n "checking for $ac_header... " >&6; } 4109if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4110 $as_echo_n "(cached) " >&6 4111else 4112 cat >conftest.$ac_ext <<_ACEOF 4113/* confdefs.h. */ 4114_ACEOF 4115cat confdefs.h >>conftest.$ac_ext 4116cat >>conftest.$ac_ext <<_ACEOF 4117/* end confdefs.h. */ 4118$ac_includes_default 4119 4120#include <$ac_header> 4121_ACEOF 4122rm -f conftest.$ac_objext 4123if { (ac_try="$ac_compile" 4124case "(($ac_try" in 4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4126 *) ac_try_echo=$ac_try;; 4127esac 4128eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4129$as_echo "$ac_try_echo") >&5 4130 (eval "$ac_compile") 2>conftest.er1 4131 ac_status=$? 4132 grep -v '^ *+' conftest.er1 >conftest.err 4133 rm -f conftest.er1 4134 cat conftest.err >&5 4135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4136 (exit $ac_status); } && { 4137 test -z "$ac_c_werror_flag" || 4138 test ! -s conftest.err 4139 } && test -s conftest.$ac_objext; then 4140 eval "$as_ac_Header=yes" 4141else 4142 $as_echo "$as_me: failed program was:" >&5 4143sed 's/^/| /' conftest.$ac_ext >&5 4144 4145 eval "$as_ac_Header=no" 4146fi 4147 4148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4149fi 4150ac_res=`eval 'as_val=${'$as_ac_Header'} 4151 $as_echo "$as_val"'` 4152 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4153$as_echo "$ac_res" >&6; } 4154as_val=`eval 'as_val=${'$as_ac_Header'} 4155 $as_echo "$as_val"'` 4156 if test "x$as_val" = x""yes; then 4157 cat >>confdefs.h <<_ACEOF 4158#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4159_ACEOF 4160 4161fi 4162 4163done 4164 4165 4166 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 4167$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4168if test "${ac_cv_prog_cc_c99+set}" = set; then 4169 $as_echo_n "(cached) " >&6 4170else 4171 ac_cv_prog_cc_c99=no 4172ac_save_CC=$CC 4173cat >conftest.$ac_ext <<_ACEOF 4174/* confdefs.h. */ 4175_ACEOF 4176cat confdefs.h >>conftest.$ac_ext 4177cat >>conftest.$ac_ext <<_ACEOF 4178/* end confdefs.h. */ 4179#include <stdarg.h> 4180#include <stdbool.h> 4181#include <stdlib.h> 4182#include <wchar.h> 4183#include <stdio.h> 4184 4185// Check varargs macros. These examples are taken from C99 6.10.3.5. 4186#define debug(...) fprintf (stderr, __VA_ARGS__) 4187#define showlist(...) puts (#__VA_ARGS__) 4188#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4189static void 4190test_varargs_macros (void) 4191{ 4192 int x = 1234; 4193 int y = 5678; 4194 debug ("Flag"); 4195 debug ("X = %d\n", x); 4196 showlist (The first, second, and third items.); 4197 report (x>y, "x is %d but y is %d", x, y); 4198} 4199 4200// Check long long types. 4201#define BIG64 18446744073709551615ull 4202#define BIG32 4294967295ul 4203#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4204#if !BIG_OK 4205 your preprocessor is broken; 4206#endif 4207#if BIG_OK 4208#else 4209 your preprocessor is broken; 4210#endif 4211static long long int bignum = -9223372036854775807LL; 4212static unsigned long long int ubignum = BIG64; 4213 4214struct incomplete_array 4215{ 4216 int datasize; 4217 double data[]; 4218}; 4219 4220struct named_init { 4221 int number; 4222 const wchar_t *name; 4223 double average; 4224}; 4225 4226typedef const char *ccp; 4227 4228static inline int 4229test_restrict (ccp restrict text) 4230{ 4231 // See if C++-style comments work. 4232 // Iterate through items via the restricted pointer. 4233 // Also check for declarations in for loops. 4234 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4235 continue; 4236 return 0; 4237} 4238 4239// Check varargs and va_copy. 4240static void 4241test_varargs (const char *format, ...) 4242{ 4243 va_list args; 4244 va_start (args, format); 4245 va_list args_copy; 4246 va_copy (args_copy, args); 4247 4248 const char *str; 4249 int number; 4250 float fnumber; 4251 4252 while (*format) 4253 { 4254 switch (*format++) 4255 { 4256 case 's': // string 4257 str = va_arg (args_copy, const char *); 4258 break; 4259 case 'd': // int 4260 number = va_arg (args_copy, int); 4261 break; 4262 case 'f': // float 4263 fnumber = va_arg (args_copy, double); 4264 break; 4265 default: 4266 break; 4267 } 4268 } 4269 va_end (args_copy); 4270 va_end (args); 4271} 4272 4273int 4274main () 4275{ 4276 4277 // Check bool. 4278 _Bool success = false; 4279 4280 // Check restrict. 4281 if (test_restrict ("String literal") == 0) 4282 success = true; 4283 char *restrict newvar = "Another string"; 4284 4285 // Check varargs. 4286 test_varargs ("s, d' f .", "string", 65, 34.234); 4287 test_varargs_macros (); 4288 4289 // Check flexible array members. 4290 struct incomplete_array *ia = 4291 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4292 ia->datasize = 10; 4293 for (int i = 0; i < ia->datasize; ++i) 4294 ia->data[i] = i * 1.234; 4295 4296 // Check named initializers. 4297 struct named_init ni = { 4298 .number = 34, 4299 .name = L"Test wide string", 4300 .average = 543.34343, 4301 }; 4302 4303 ni.number = 58; 4304 4305 int dynamic_array[ni.number]; 4306 dynamic_array[ni.number - 1] = 543; 4307 4308 // work around unused variable warnings 4309 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4310 || dynamic_array[ni.number - 1] != 543); 4311 4312 ; 4313 return 0; 4314} 4315_ACEOF 4316for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 4317do 4318 CC="$ac_save_CC $ac_arg" 4319 rm -f conftest.$ac_objext 4320if { (ac_try="$ac_compile" 4321case "(($ac_try" in 4322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4323 *) ac_try_echo=$ac_try;; 4324esac 4325eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4326$as_echo "$ac_try_echo") >&5 4327 (eval "$ac_compile") 2>conftest.er1 4328 ac_status=$? 4329 grep -v '^ *+' conftest.er1 >conftest.err 4330 rm -f conftest.er1 4331 cat conftest.err >&5 4332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4333 (exit $ac_status); } && { 4334 test -z "$ac_c_werror_flag" || 4335 test ! -s conftest.err 4336 } && test -s conftest.$ac_objext; then 4337 ac_cv_prog_cc_c99=$ac_arg 4338else 4339 $as_echo "$as_me: failed program was:" >&5 4340sed 's/^/| /' conftest.$ac_ext >&5 4341 4342 4343fi 4344 4345rm -f core conftest.err conftest.$ac_objext 4346 test "x$ac_cv_prog_cc_c99" != "xno" && break 4347done 4348rm -f conftest.$ac_ext 4349CC=$ac_save_CC 4350 4351fi 4352# AC_CACHE_VAL 4353case "x$ac_cv_prog_cc_c99" in 4354 x) 4355 { $as_echo "$as_me:$LINENO: result: none needed" >&5 4356$as_echo "none needed" >&6; } ;; 4357 xno) 4358 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 4359$as_echo "unsupported" >&6; } ;; 4360 *) 4361 CC="$CC $ac_cv_prog_cc_c99" 4362 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 4363$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4364esac 4365 4366 4367 4368# Make sure we can run config.sub. 4369$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4370 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4371$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4372 { (exit 1); exit 1; }; } 4373 4374{ $as_echo "$as_me:$LINENO: checking build system type" >&5 4375$as_echo_n "checking build system type... " >&6; } 4376if test "${ac_cv_build+set}" = set; then 4377 $as_echo_n "(cached) " >&6 4378else 4379 ac_build_alias=$build_alias 4380test "x$ac_build_alias" = x && 4381 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4382test "x$ac_build_alias" = x && 4383 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4384$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4385 { (exit 1); exit 1; }; } 4386ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4387 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4388$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4389 { (exit 1); exit 1; }; } 4390 4391fi 4392{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4393$as_echo "$ac_cv_build" >&6; } 4394case $ac_cv_build in 4395*-*-*) ;; 4396*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4397$as_echo "$as_me: error: invalid value of canonical build" >&2;} 4398 { (exit 1); exit 1; }; };; 4399esac 4400build=$ac_cv_build 4401ac_save_IFS=$IFS; IFS='-' 4402set x $ac_cv_build 4403shift 4404build_cpu=$1 4405build_vendor=$2 4406shift; shift 4407# Remember, the first character of IFS is used to create $*, 4408# except with old shells: 4409build_os=$* 4410IFS=$ac_save_IFS 4411case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4412 4413 4414{ $as_echo "$as_me:$LINENO: checking host system type" >&5 4415$as_echo_n "checking host system type... " >&6; } 4416if test "${ac_cv_host+set}" = set; then 4417 $as_echo_n "(cached) " >&6 4418else 4419 if test "x$host_alias" = x; then 4420 ac_cv_host=$ac_cv_build 4421else 4422 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4423 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4424$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4425 { (exit 1); exit 1; }; } 4426fi 4427 4428fi 4429{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4430$as_echo "$ac_cv_host" >&6; } 4431case $ac_cv_host in 4432*-*-*) ;; 4433*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4434$as_echo "$as_me: error: invalid value of canonical host" >&2;} 4435 { (exit 1); exit 1; }; };; 4436esac 4437host=$ac_cv_host 4438ac_save_IFS=$IFS; IFS='-' 4439set x $ac_cv_host 4440shift 4441host_cpu=$1 4442host_vendor=$2 4443shift; shift 4444# Remember, the first character of IFS is used to create $*, 4445# except with old shells: 4446host_os=$* 4447IFS=$ac_save_IFS 4448case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4449 4450 4451 4452 4453 4454if test "x$GCC" = xyes ; then 4455 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4456-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4457-Wbad-function-cast" 4458 case `$CC -dumpversion` in 4459 3.4.* | 4.*) 4460 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4461 ;; 4462 esac 4463else 4464 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 4465$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 4466if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 4467 $as_echo_n "(cached) " >&6 4468else 4469 cat >conftest.$ac_ext <<_ACEOF 4470/* confdefs.h. */ 4471_ACEOF 4472cat confdefs.h >>conftest.$ac_ext 4473cat >>conftest.$ac_ext <<_ACEOF 4474/* end confdefs.h. */ 4475$ac_includes_default 4476int 4477main () 4478{ 4479#ifndef __SUNPRO_C 4480 (void) __SUNPRO_C; 4481#endif 4482 4483 ; 4484 return 0; 4485} 4486_ACEOF 4487rm -f conftest.$ac_objext 4488if { (ac_try="$ac_compile" 4489case "(($ac_try" in 4490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4491 *) ac_try_echo=$ac_try;; 4492esac 4493eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4494$as_echo "$ac_try_echo") >&5 4495 (eval "$ac_compile") 2>conftest.er1 4496 ac_status=$? 4497 grep -v '^ *+' conftest.er1 >conftest.err 4498 rm -f conftest.er1 4499 cat conftest.err >&5 4500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4501 (exit $ac_status); } && { 4502 test -z "$ac_c_werror_flag" || 4503 test ! -s conftest.err 4504 } && test -s conftest.$ac_objext; then 4505 ac_cv_have_decl___SUNPRO_C=yes 4506else 4507 $as_echo "$as_me: failed program was:" >&5 4508sed 's/^/| /' conftest.$ac_ext >&5 4509 4510 ac_cv_have_decl___SUNPRO_C=no 4511fi 4512 4513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4514fi 4515{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 4516$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 4517if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 4518 SUNCC="yes" 4519else 4520 SUNCC="no" 4521fi 4522 4523 if test "x$SUNCC" = "xyes"; then 4524 CWARNFLAGS="-v" 4525 fi 4526fi 4527 4528# Check whether --enable-silent-rules was given. 4529if test "${enable_silent_rules+set}" = set; then 4530 enableval=$enable_silent_rules; 4531fi 4532 4533case $enable_silent_rules in 4534yes) AM_DEFAULT_VERBOSITY=0;; 4535no) AM_DEFAULT_VERBOSITY=1;; 4536*) AM_DEFAULT_VERBOSITY=0;; 4537esac 4538AM_BACKSLASH='\' 4539 4540 4541 4542 4543 4544 4545 4546# Check whether --enable-strict-compilation was given. 4547if test "${enable_strict_compilation+set}" = set; then 4548 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4549else 4550 STRICT_COMPILE=no 4551fi 4552 4553if test "x$STRICT_COMPILE" = "xyes"; then 4554 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 4555$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 4556if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 4557 $as_echo_n "(cached) " >&6 4558else 4559 cat >conftest.$ac_ext <<_ACEOF 4560/* confdefs.h. */ 4561_ACEOF 4562cat confdefs.h >>conftest.$ac_ext 4563cat >>conftest.$ac_ext <<_ACEOF 4564/* end confdefs.h. */ 4565$ac_includes_default 4566int 4567main () 4568{ 4569#ifndef __SUNPRO_C 4570 (void) __SUNPRO_C; 4571#endif 4572 4573 ; 4574 return 0; 4575} 4576_ACEOF 4577rm -f conftest.$ac_objext 4578if { (ac_try="$ac_compile" 4579case "(($ac_try" in 4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4581 *) ac_try_echo=$ac_try;; 4582esac 4583eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4584$as_echo "$ac_try_echo") >&5 4585 (eval "$ac_compile") 2>conftest.er1 4586 ac_status=$? 4587 grep -v '^ *+' conftest.er1 >conftest.err 4588 rm -f conftest.er1 4589 cat conftest.err >&5 4590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4591 (exit $ac_status); } && { 4592 test -z "$ac_c_werror_flag" || 4593 test ! -s conftest.err 4594 } && test -s conftest.$ac_objext; then 4595 ac_cv_have_decl___SUNPRO_C=yes 4596else 4597 $as_echo "$as_me: failed program was:" >&5 4598sed 's/^/| /' conftest.$ac_ext >&5 4599 4600 ac_cv_have_decl___SUNPRO_C=no 4601fi 4602 4603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4604fi 4605{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 4606$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 4607if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 4608 SUNCC="yes" 4609else 4610 SUNCC="no" 4611fi 4612 4613 { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 4614$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 4615if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 4616 $as_echo_n "(cached) " >&6 4617else 4618 cat >conftest.$ac_ext <<_ACEOF 4619/* confdefs.h. */ 4620_ACEOF 4621cat confdefs.h >>conftest.$ac_ext 4622cat >>conftest.$ac_ext <<_ACEOF 4623/* end confdefs.h. */ 4624$ac_includes_default 4625int 4626main () 4627{ 4628#ifndef __INTEL_COMPILER 4629 (void) __INTEL_COMPILER; 4630#endif 4631 4632 ; 4633 return 0; 4634} 4635_ACEOF 4636rm -f conftest.$ac_objext 4637if { (ac_try="$ac_compile" 4638case "(($ac_try" in 4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4640 *) ac_try_echo=$ac_try;; 4641esac 4642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4643$as_echo "$ac_try_echo") >&5 4644 (eval "$ac_compile") 2>conftest.er1 4645 ac_status=$? 4646 grep -v '^ *+' conftest.er1 >conftest.err 4647 rm -f conftest.er1 4648 cat conftest.err >&5 4649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4650 (exit $ac_status); } && { 4651 test -z "$ac_c_werror_flag" || 4652 test ! -s conftest.err 4653 } && test -s conftest.$ac_objext; then 4654 ac_cv_have_decl___INTEL_COMPILER=yes 4655else 4656 $as_echo "$as_me: failed program was:" >&5 4657sed 's/^/| /' conftest.$ac_ext >&5 4658 4659 ac_cv_have_decl___INTEL_COMPILER=no 4660fi 4661 4662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4663fi 4664{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 4665$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 4666if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 4667 INTELCC="yes" 4668else 4669 INTELCC="no" 4670fi 4671 4672 if test "x$GCC" = xyes ; then 4673 STRICT_CFLAGS="-pedantic -Werror" 4674 elif test "x$SUNCC" = "xyes"; then 4675 STRICT_CFLAGS="-errwarn" 4676 elif test "x$INTELCC" = "xyes"; then 4677 STRICT_CFLAGS="-Werror" 4678 fi 4679fi 4680CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4681 4682 4683 4684 4685# Check whether --with-release-version was given. 4686if test "${with_release_version+set}" = set; then 4687 withval=$with_release_version; RELEASE_VERSION="$withval" 4688else 4689 RELEASE_VERSION="" 4690fi 4691 4692 if test "x$RELEASE_VERSION" != "x"; then 4693 PACKAGE="$PACKAGE-$RELEASE_VERSION" 4694 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 4695 { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 4696$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 4697 fi 4698 4699cat >>confdefs.h <<_ACEOF 4700#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4701_ACEOF 4702 4703 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4704 if test "x$PVM" = "x"; then 4705 PVM="0" 4706 fi 4707 4708cat >>confdefs.h <<_ACEOF 4709#define PACKAGE_VERSION_MINOR $PVM 4710_ACEOF 4711 4712 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4713 if test "x$PVP" = "x"; then 4714 PVP="0" 4715 fi 4716 4717cat >>confdefs.h <<_ACEOF 4718#define PACKAGE_VERSION_PATCHLEVEL $PVP 4719_ACEOF 4720 4721 4722 4723CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 4724mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 4725echo 'git directory not found: installing possibly empty changelog.' >&2)" 4726 4727distcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 4728 4729 4730 4731 4732 4733if test x$APP_MAN_SUFFIX = x ; then 4734 APP_MAN_SUFFIX=1 4735fi 4736if test x$APP_MAN_DIR = x ; then 4737 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4738fi 4739 4740if test x$LIB_MAN_SUFFIX = x ; then 4741 LIB_MAN_SUFFIX=3 4742fi 4743if test x$LIB_MAN_DIR = x ; then 4744 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4745fi 4746 4747if test x$FILE_MAN_SUFFIX = x ; then 4748 case $host_os in 4749 solaris*) FILE_MAN_SUFFIX=4 ;; 4750 *) FILE_MAN_SUFFIX=5 ;; 4751 esac 4752fi 4753if test x$FILE_MAN_DIR = x ; then 4754 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4755fi 4756 4757if test x$MISC_MAN_SUFFIX = x ; then 4758 case $host_os in 4759 solaris*) MISC_MAN_SUFFIX=5 ;; 4760 *) MISC_MAN_SUFFIX=7 ;; 4761 esac 4762fi 4763if test x$MISC_MAN_DIR = x ; then 4764 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4765fi 4766 4767if test x$DRIVER_MAN_SUFFIX = x ; then 4768 case $host_os in 4769 solaris*) DRIVER_MAN_SUFFIX=7 ;; 4770 *) DRIVER_MAN_SUFFIX=4 ;; 4771 esac 4772fi 4773if test x$DRIVER_MAN_DIR = x ; then 4774 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4775fi 4776 4777if test x$ADMIN_MAN_SUFFIX = x ; then 4778 case $host_os in 4779 solaris*) ADMIN_MAN_SUFFIX=1m ;; 4780 *) ADMIN_MAN_SUFFIX=8 ;; 4781 esac 4782fi 4783if test x$ADMIN_MAN_DIR = x ; then 4784 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4785fi 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803# Find a good install program. We prefer a C program (faster), 4804# so one script is as good as another. But avoid the broken or 4805# incompatible versions: 4806# SysV /etc/install, /usr/sbin/install 4807# SunOS /usr/etc/install 4808# IRIX /sbin/install 4809# AIX /bin/install 4810# AmigaOS /C/install, which installs bootblocks on floppy discs 4811# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4812# AFS /usr/afsws/bin/install, which mishandles nonexistent args 4813# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4814# OS/2's system install, which has a completely different semantic 4815# ./install, which can be erroneously created by make from ./install.sh. 4816# Reject install programs that cannot install multiple files. 4817{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4818$as_echo_n "checking for a BSD-compatible install... " >&6; } 4819if test -z "$INSTALL"; then 4820if test "${ac_cv_path_install+set}" = set; then 4821 $as_echo_n "(cached) " >&6 4822else 4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4824for as_dir in $PATH 4825do 4826 IFS=$as_save_IFS 4827 test -z "$as_dir" && as_dir=. 4828 # Account for people who put trailing slashes in PATH elements. 4829case $as_dir/ in 4830 ./ | .// | /cC/* | \ 4831 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4832 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4833 /usr/ucb/* ) ;; 4834 *) 4835 # OSF1 and SCO ODT 3.0 have their own names for install. 4836 # Don't use installbsd from OSF since it installs stuff as root 4837 # by default. 4838 for ac_prog in ginstall scoinst install; do 4839 for ac_exec_ext in '' $ac_executable_extensions; do 4840 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 4841 if test $ac_prog = install && 4842 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4843 # AIX install. It has an incompatible calling convention. 4844 : 4845 elif test $ac_prog = install && 4846 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4847 # program-specific install script used by HP pwplus--don't use. 4848 : 4849 else 4850 rm -rf conftest.one conftest.two conftest.dir 4851 echo one > conftest.one 4852 echo two > conftest.two 4853 mkdir conftest.dir 4854 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4855 test -s conftest.one && test -s conftest.two && 4856 test -s conftest.dir/conftest.one && 4857 test -s conftest.dir/conftest.two 4858 then 4859 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4860 break 3 4861 fi 4862 fi 4863 fi 4864 done 4865 done 4866 ;; 4867esac 4868 4869done 4870IFS=$as_save_IFS 4871 4872rm -rf conftest.one conftest.two conftest.dir 4873 4874fi 4875 if test "${ac_cv_path_install+set}" = set; then 4876 INSTALL=$ac_cv_path_install 4877 else 4878 # As a last resort, use the slow shell script. Don't cache a 4879 # value for INSTALL within a source directory, because that will 4880 # break other packages using the cache if that directory is 4881 # removed, or if the value is a relative name. 4882 INSTALL=$ac_install_sh 4883 fi 4884fi 4885{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4886$as_echo "$INSTALL" >&6; } 4887 4888# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4889# It thinks the first close brace ends the variable substitution. 4890test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 4891 4892test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 4893 4894test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4895 4896 4897# Require X.Org's font util macros 1.1 or later 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910# mkfontscale 4911 4912 # Extract the first word of "mkfontscale", so it can be a program name with args. 4913set dummy mkfontscale; ac_word=$2 4914{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4915$as_echo_n "checking for $ac_word... " >&6; } 4916if test "${ac_cv_path_MKFONTSCALE+set}" = set; then 4917 $as_echo_n "(cached) " >&6 4918else 4919 case $MKFONTSCALE in 4920 [\\/]* | ?:[\\/]*) 4921 ac_cv_path_MKFONTSCALE="$MKFONTSCALE" # Let the user override the test with a path. 4922 ;; 4923 *) 4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4925for as_dir in $PATH 4926do 4927 IFS=$as_save_IFS 4928 test -z "$as_dir" && as_dir=. 4929 for ac_exec_ext in '' $ac_executable_extensions; do 4930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4931 ac_cv_path_MKFONTSCALE="$as_dir/$ac_word$ac_exec_ext" 4932 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4933 break 2 4934 fi 4935done 4936done 4937IFS=$as_save_IFS 4938 4939 ;; 4940esac 4941fi 4942MKFONTSCALE=$ac_cv_path_MKFONTSCALE 4943if test -n "$MKFONTSCALE"; then 4944 { $as_echo "$as_me:$LINENO: result: $MKFONTSCALE" >&5 4945$as_echo "$MKFONTSCALE" >&6; } 4946else 4947 { $as_echo "$as_me:$LINENO: result: no" >&5 4948$as_echo "no" >&6; } 4949fi 4950 4951 4952 if test x"MKFONTSCALE" = x; then 4953 { { $as_echo "$as_me:$LINENO: error: mkfontscale is required to build $PACKAGE_NAME." >&5 4954$as_echo "$as_me: error: mkfontscale is required to build $PACKAGE_NAME." >&2;} 4955 { (exit 1); exit 1; }; } 4956 fi 4957 4958 4959# Choose whether or not to compress encodings - default is to compress all 4960 4961{ $as_echo "$as_me:$LINENO: checking if small encodings should be compressed" >&5 4962$as_echo_n "checking if small encodings should be compressed... " >&6; } 4963# Check whether --enable-gzip-small-encodings was given. 4964if test "${enable_gzip_small_encodings+set}" = set; then 4965 enableval=$enable_gzip_small_encodings; GZIP_SMALL="$enableval" 4966else 4967 GZIP_SMALL="yes" 4968fi 4969 4970 if test x$GZIP_SMALL = xyes; then 4971 GZIP_SMALL_TRUE= 4972 GZIP_SMALL_FALSE='#' 4973else 4974 GZIP_SMALL_TRUE='#' 4975 GZIP_SMALL_FALSE= 4976fi 4977 4978{ $as_echo "$as_me:$LINENO: result: ${GZIP_SMALL}" >&5 4979$as_echo "${GZIP_SMALL}" >&6; } 4980 4981{ $as_echo "$as_me:$LINENO: checking if large encodings should be compressed" >&5 4982$as_echo_n "checking if large encodings should be compressed... " >&6; } 4983# Check whether --enable-gzip-large-encodings was given. 4984if test "${enable_gzip_large_encodings+set}" = set; then 4985 enableval=$enable_gzip_large_encodings; GZIP_LARGE="$enableval" 4986else 4987 GZIP_LARGE="yes" 4988fi 4989 4990 if test x$GZIP_LARGE = xyes; then 4991 GZIP_LARGE_TRUE= 4992 GZIP_LARGE_FALSE='#' 4993else 4994 GZIP_LARGE_TRUE='#' 4995 GZIP_LARGE_FALSE= 4996fi 4997 4998{ $as_echo "$as_me:$LINENO: result: ${GZIP_LARGE}" >&5 4999$as_echo "${GZIP_LARGE}" >&6; } 5000 5001# gzip 5002 5003if test x$GZIP_SMALL = xyes -o x$GZIP_LARGE = xyes ; then 5004 # Extract the first word of "gzip", so it can be a program name with args. 5005set dummy gzip; ac_word=$2 5006{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5007$as_echo_n "checking for $ac_word... " >&6; } 5008if test "${ac_cv_path_GZIP+set}" = set; then 5009 $as_echo_n "(cached) " >&6 5010else 5011 case $GZIP in 5012 [\\/]* | ?:[\\/]*) 5013 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. 5014 ;; 5015 *) 5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5017for as_dir in $PATH 5018do 5019 IFS=$as_save_IFS 5020 test -z "$as_dir" && as_dir=. 5021 for ac_exec_ext in '' $ac_executable_extensions; do 5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5023 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext" 5024 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5025 break 2 5026 fi 5027done 5028done 5029IFS=$as_save_IFS 5030 5031 ;; 5032esac 5033fi 5034GZIP=$ac_cv_path_GZIP 5035if test -n "$GZIP"; then 5036 { $as_echo "$as_me:$LINENO: result: $GZIP" >&5 5037$as_echo "$GZIP" >&6; } 5038else 5039 { $as_echo "$as_me:$LINENO: result: no" >&5 5040$as_echo "no" >&6; } 5041fi 5042 5043 5044 if [ -z $GZIP ]; then 5045 { { $as_echo "$as_me:$LINENO: error: gzip is needed to compress font encodings" >&5 5046$as_echo "$as_me: error: gzip is needed to compress font encodings" >&2;} 5047 { (exit 1); exit 1; }; } 5048 fi 5049fi 5050 5051 5052 5053if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 5054 if test -n "$ac_tool_prefix"; then 5055 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 5056set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 5057{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5058$as_echo_n "checking for $ac_word... " >&6; } 5059if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 5060 $as_echo_n "(cached) " >&6 5061else 5062 case $PKG_CONFIG in 5063 [\\/]* | ?:[\\/]*) 5064 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 5065 ;; 5066 *) 5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5068for as_dir in $PATH 5069do 5070 IFS=$as_save_IFS 5071 test -z "$as_dir" && as_dir=. 5072 for ac_exec_ext in '' $ac_executable_extensions; do 5073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5074 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5076 break 2 5077 fi 5078done 5079done 5080IFS=$as_save_IFS 5081 5082 ;; 5083esac 5084fi 5085PKG_CONFIG=$ac_cv_path_PKG_CONFIG 5086if test -n "$PKG_CONFIG"; then 5087 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 5088$as_echo "$PKG_CONFIG" >&6; } 5089else 5090 { $as_echo "$as_me:$LINENO: result: no" >&5 5091$as_echo "no" >&6; } 5092fi 5093 5094 5095fi 5096if test -z "$ac_cv_path_PKG_CONFIG"; then 5097 ac_pt_PKG_CONFIG=$PKG_CONFIG 5098 # Extract the first word of "pkg-config", so it can be a program name with args. 5099set dummy pkg-config; ac_word=$2 5100{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5101$as_echo_n "checking for $ac_word... " >&6; } 5102if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 5103 $as_echo_n "(cached) " >&6 5104else 5105 case $ac_pt_PKG_CONFIG in 5106 [\\/]* | ?:[\\/]*) 5107 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 5108 ;; 5109 *) 5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5111for as_dir in $PATH 5112do 5113 IFS=$as_save_IFS 5114 test -z "$as_dir" && as_dir=. 5115 for ac_exec_ext in '' $ac_executable_extensions; do 5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5117 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5118 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5119 break 2 5120 fi 5121done 5122done 5123IFS=$as_save_IFS 5124 5125 ;; 5126esac 5127fi 5128ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 5129if test -n "$ac_pt_PKG_CONFIG"; then 5130 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 5131$as_echo "$ac_pt_PKG_CONFIG" >&6; } 5132else 5133 { $as_echo "$as_me:$LINENO: result: no" >&5 5134$as_echo "no" >&6; } 5135fi 5136 5137 if test "x$ac_pt_PKG_CONFIG" = x; then 5138 PKG_CONFIG="" 5139 else 5140 case $cross_compiling:$ac_tool_warned in 5141yes:) 5142{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5143$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5144ac_tool_warned=yes ;; 5145esac 5146 PKG_CONFIG=$ac_pt_PKG_CONFIG 5147 fi 5148else 5149 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 5150fi 5151 5152fi 5153if test -n "$PKG_CONFIG"; then 5154 _pkg_min_version=0.9.0 5155 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 5156$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 5157 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 5158 { $as_echo "$as_me:$LINENO: result: yes" >&5 5159$as_echo "yes" >&6; } 5160 else 5161 { $as_echo "$as_me:$LINENO: result: no" >&5 5162$as_echo "no" >&6; } 5163 PKG_CONFIG="" 5164 fi 5165 5166fi 5167 5168 5169 5170 { $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5 5171$as_echo_n "checking for root directory for font files... " >&6; } 5172 5173# Check whether --with-fontrootdir was given. 5174if test "${with_fontrootdir+set}" = set; then 5175 withval=$with_fontrootdir; FONTROOTDIR="$withval" 5176fi 5177 5178 # if --with-fontrootdir not specified... 5179 if test "x${FONTROOTDIR}" = "x"; then 5180 FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 5181 fi 5182 # ...and if pkg-config didn't find fontdir in fontutil.pc... 5183 if test "x${FONTROOTDIR}" = "x"; then 5184 FONTROOTDIR="${datadir}/fonts/X11" 5185 fi 5186 5187 { $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5 5188$as_echo "${FONTROOTDIR}" >&6; } 5189 5190 5191 5192 5193 { $as_echo "$as_me:$LINENO: checking for directory for encodings files" >&5 5194$as_echo_n "checking for directory for encodings files... " >&6; } 5195 5196# Check whether --with-encodingsdir was given. 5197if test "${with_encodingsdir+set}" = set; then 5198 withval=$with_encodingsdir; ENCODINGSDIR="${withval}" 5199else 5200 ENCODINGSDIR='${FONTROOTDIR}/encodings' 5201fi 5202 5203 5204 { $as_echo "$as_me:$LINENO: result: ${ENCODINGSDIR}" >&5 5205$as_echo "${ENCODINGSDIR}" >&6; } 5206 5207 5208ac_config_files="$ac_config_files Makefile large/Makefile" 5209 5210cat >confcache <<\_ACEOF 5211# This file is a shell script that caches the results of configure 5212# tests run on this system so they can be shared between configure 5213# scripts and configure runs, see configure's option --config-cache. 5214# It is not useful on other systems. If it contains results you don't 5215# want to keep, you may remove or edit it. 5216# 5217# config.status only pays attention to the cache file if you give it 5218# the --recheck option to rerun configure. 5219# 5220# `ac_cv_env_foo' variables (set or unset) will be overridden when 5221# loading this file, other *unset* `ac_cv_foo' will be assigned the 5222# following values. 5223 5224_ACEOF 5225 5226# The following way of writing the cache mishandles newlines in values, 5227# but we know of no workaround that is simple, portable, and efficient. 5228# So, we kill variables containing newlines. 5229# Ultrix sh set writes to stderr and can't be redirected directly, 5230# and sets the high bit in the cache file unless we assign to the vars. 5231( 5232 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5233 eval ac_val=\$$ac_var 5234 case $ac_val in #( 5235 *${as_nl}*) 5236 case $ac_var in #( 5237 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 5238$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5239 esac 5240 case $ac_var in #( 5241 _ | IFS | as_nl) ;; #( 5242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5243 *) $as_unset $ac_var ;; 5244 esac ;; 5245 esac 5246 done 5247 5248 (set) 2>&1 | 5249 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5250 *${as_nl}ac_space=\ *) 5251 # `set' does not quote correctly, so add quotes (double-quote 5252 # substitution turns \\\\ into \\, and sed turns \\ into \). 5253 sed -n \ 5254 "s/'/'\\\\''/g; 5255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5256 ;; #( 5257 *) 5258 # `set' quotes correctly as required by POSIX, so do not add quotes. 5259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5260 ;; 5261 esac | 5262 sort 5263) | 5264 sed ' 5265 /^ac_cv_env_/b end 5266 t clear 5267 :clear 5268 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5269 t end 5270 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5271 :end' >>confcache 5272if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5273 if test -w "$cache_file"; then 5274 test "x$cache_file" != "x/dev/null" && 5275 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 5276$as_echo "$as_me: updating cache $cache_file" >&6;} 5277 cat confcache >$cache_file 5278 else 5279 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5280$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5281 fi 5282fi 5283rm -f confcache 5284 5285test "x$prefix" = xNONE && prefix=$ac_default_prefix 5286# Let make expand exec_prefix. 5287test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5288 5289# Transform confdefs.h into DEFS. 5290# Protect against shell expansion while executing Makefile rules. 5291# Protect against Makefile macro expansion. 5292# 5293# If the first sed substitution is executed (which looks for macros that 5294# take arguments), then branch to the quote section. Otherwise, 5295# look for a macro that doesn't take arguments. 5296ac_script=' 5297:mline 5298/\\$/{ 5299 N 5300 s,\\\n,, 5301 b mline 5302} 5303t clear 5304:clear 5305s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 5306t quote 5307s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 5308t quote 5309b any 5310:quote 5311s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 5312s/\[/\\&/g 5313s/\]/\\&/g 5314s/\$/$$/g 5315H 5316:any 5317${ 5318 g 5319 s/^\n// 5320 s/\n/ /g 5321 p 5322} 5323' 5324DEFS=`sed -n "$ac_script" confdefs.h` 5325 5326 5327ac_libobjs= 5328ac_ltlibobjs= 5329for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5330 # 1. Remove the extension, and $U if already installed. 5331 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5332 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5333 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5334 # will be set to the directory where LIBOBJS objects are built. 5335 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5336 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5337done 5338LIBOBJS=$ac_libobjs 5339 5340LTLIBOBJS=$ac_ltlibobjs 5341 5342 5343 if test -n "$EXEEXT"; then 5344 am__EXEEXT_TRUE= 5345 am__EXEEXT_FALSE='#' 5346else 5347 am__EXEEXT_TRUE='#' 5348 am__EXEEXT_FALSE= 5349fi 5350 5351if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5352 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5353Usually this means the macro was only invoked conditionally." >&5 5354$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 5355Usually this means the macro was only invoked conditionally." >&2;} 5356 { (exit 1); exit 1; }; } 5357fi 5358if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5359 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5360Usually this means the macro was only invoked conditionally." >&5 5361$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5362Usually this means the macro was only invoked conditionally." >&2;} 5363 { (exit 1); exit 1; }; } 5364fi 5365if test -z "${GZIP_SMALL_TRUE}" && test -z "${GZIP_SMALL_FALSE}"; then 5366 { { $as_echo "$as_me:$LINENO: error: conditional \"GZIP_SMALL\" was never defined. 5367Usually this means the macro was only invoked conditionally." >&5 5368$as_echo "$as_me: error: conditional \"GZIP_SMALL\" was never defined. 5369Usually this means the macro was only invoked conditionally." >&2;} 5370 { (exit 1); exit 1; }; } 5371fi 5372if test -z "${GZIP_LARGE_TRUE}" && test -z "${GZIP_LARGE_FALSE}"; then 5373 { { $as_echo "$as_me:$LINENO: error: conditional \"GZIP_LARGE\" was never defined. 5374Usually this means the macro was only invoked conditionally." >&5 5375$as_echo "$as_me: error: conditional \"GZIP_LARGE\" was never defined. 5376Usually this means the macro was only invoked conditionally." >&2;} 5377 { (exit 1); exit 1; }; } 5378fi 5379 5380: ${CONFIG_STATUS=./config.status} 5381ac_write_fail=0 5382ac_clean_files_save=$ac_clean_files 5383ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5384{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5385$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5386cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5387#! $SHELL 5388# Generated by $as_me. 5389# Run this file to recreate the current configuration. 5390# Compiler output produced by configure, useful for debugging 5391# configure, is in config.log if it exists. 5392 5393debug=false 5394ac_cs_recheck=false 5395ac_cs_silent=false 5396SHELL=\${CONFIG_SHELL-$SHELL} 5397_ACEOF 5398 5399cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5400## --------------------- ## 5401## M4sh Initialization. ## 5402## --------------------- ## 5403 5404# Be more Bourne compatible 5405DUALCASE=1; export DUALCASE # for MKS sh 5406if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5407 emulate sh 5408 NULLCMD=: 5409 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5410 # is contrary to our usage. Disable this feature. 5411 alias -g '${1+"$@"}'='"$@"' 5412 setopt NO_GLOB_SUBST 5413else 5414 case `(set -o) 2>/dev/null` in 5415 *posix*) set -o posix ;; 5416esac 5417 5418fi 5419 5420 5421 5422 5423# PATH needs CR 5424# Avoid depending upon Character Ranges. 5425as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5427as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5428as_cr_digits='0123456789' 5429as_cr_alnum=$as_cr_Letters$as_cr_digits 5430 5431as_nl=' 5432' 5433export as_nl 5434# Printing a long string crashes Solaris 7 /usr/bin/printf. 5435as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5436as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5437as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5438if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5439 as_echo='printf %s\n' 5440 as_echo_n='printf %s' 5441else 5442 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5443 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5444 as_echo_n='/usr/ucb/echo -n' 5445 else 5446 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5447 as_echo_n_body='eval 5448 arg=$1; 5449 case $arg in 5450 *"$as_nl"*) 5451 expr "X$arg" : "X\\(.*\\)$as_nl"; 5452 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5453 esac; 5454 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5455 ' 5456 export as_echo_n_body 5457 as_echo_n='sh -c $as_echo_n_body as_echo' 5458 fi 5459 export as_echo_body 5460 as_echo='sh -c $as_echo_body as_echo' 5461fi 5462 5463# The user is always right. 5464if test "${PATH_SEPARATOR+set}" != set; then 5465 PATH_SEPARATOR=: 5466 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5467 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5468 PATH_SEPARATOR=';' 5469 } 5470fi 5471 5472# Support unset when possible. 5473if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5474 as_unset=unset 5475else 5476 as_unset=false 5477fi 5478 5479 5480# IFS 5481# We need space, tab and new line, in precisely that order. Quoting is 5482# there to prevent editors from complaining about space-tab. 5483# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5484# splitting by setting IFS to empty value.) 5485IFS=" "" $as_nl" 5486 5487# Find who we are. Look in the path if we contain no directory separator. 5488case $0 in 5489 *[\\/]* ) as_myself=$0 ;; 5490 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5491for as_dir in $PATH 5492do 5493 IFS=$as_save_IFS 5494 test -z "$as_dir" && as_dir=. 5495 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5496done 5497IFS=$as_save_IFS 5498 5499 ;; 5500esac 5501# We did not find ourselves, most probably we were run as `sh COMMAND' 5502# in which case we are not to be found in the path. 5503if test "x$as_myself" = x; then 5504 as_myself=$0 5505fi 5506if test ! -f "$as_myself"; then 5507 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5508 { (exit 1); exit 1; } 5509fi 5510 5511# Work around bugs in pre-3.0 UWIN ksh. 5512for as_var in ENV MAIL MAILPATH 5513do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5514done 5515PS1='$ ' 5516PS2='> ' 5517PS4='+ ' 5518 5519# NLS nuisances. 5520LC_ALL=C 5521export LC_ALL 5522LANGUAGE=C 5523export LANGUAGE 5524 5525# Required to use basename. 5526if expr a : '\(a\)' >/dev/null 2>&1 && 5527 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5528 as_expr=expr 5529else 5530 as_expr=false 5531fi 5532 5533if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5534 as_basename=basename 5535else 5536 as_basename=false 5537fi 5538 5539 5540# Name of the executable. 5541as_me=`$as_basename -- "$0" || 5542$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5543 X"$0" : 'X\(//\)$' \| \ 5544 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5545$as_echo X/"$0" | 5546 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5547 s//\1/ 5548 q 5549 } 5550 /^X\/\(\/\/\)$/{ 5551 s//\1/ 5552 q 5553 } 5554 /^X\/\(\/\).*/{ 5555 s//\1/ 5556 q 5557 } 5558 s/.*/./; q'` 5559 5560# CDPATH. 5561$as_unset CDPATH 5562 5563 5564 5565 as_lineno_1=$LINENO 5566 as_lineno_2=$LINENO 5567 test "x$as_lineno_1" != "x$as_lineno_2" && 5568 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5569 5570 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5571 # uniformly replaced by the line number. The first 'sed' inserts a 5572 # line-number line after each line using $LINENO; the second 'sed' 5573 # does the real work. The second script uses 'N' to pair each 5574 # line-number line with the line containing $LINENO, and appends 5575 # trailing '-' during substitution so that $LINENO is not a special 5576 # case at line end. 5577 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5578 # scripts with optimization help from Paolo Bonzini. Blame Lee 5579 # E. McMahon (1931-1989) for sed's syntax. :-) 5580 sed -n ' 5581 p 5582 /[$]LINENO/= 5583 ' <$as_myself | 5584 sed ' 5585 s/[$]LINENO.*/&-/ 5586 t lineno 5587 b 5588 :lineno 5589 N 5590 :loop 5591 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5592 t loop 5593 s/-\n.*// 5594 ' >$as_me.lineno && 5595 chmod +x "$as_me.lineno" || 5596 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5597 { (exit 1); exit 1; }; } 5598 5599 # Don't try to exec as it changes $[0], causing all sort of problems 5600 # (the dirname of $[0] is not the place where we might find the 5601 # original and so on. Autoconf is especially sensitive to this). 5602 . "./$as_me.lineno" 5603 # Exit status is that of the last command. 5604 exit 5605} 5606 5607 5608if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5609 as_dirname=dirname 5610else 5611 as_dirname=false 5612fi 5613 5614ECHO_C= ECHO_N= ECHO_T= 5615case `echo -n x` in 5616-n*) 5617 case `echo 'x\c'` in 5618 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5619 *) ECHO_C='\c';; 5620 esac;; 5621*) 5622 ECHO_N='-n';; 5623esac 5624if expr a : '\(a\)' >/dev/null 2>&1 && 5625 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5626 as_expr=expr 5627else 5628 as_expr=false 5629fi 5630 5631rm -f conf$$ conf$$.exe conf$$.file 5632if test -d conf$$.dir; then 5633 rm -f conf$$.dir/conf$$.file 5634else 5635 rm -f conf$$.dir 5636 mkdir conf$$.dir 2>/dev/null 5637fi 5638if (echo >conf$$.file) 2>/dev/null; then 5639 if ln -s conf$$.file conf$$ 2>/dev/null; then 5640 as_ln_s='ln -s' 5641 # ... but there are two gotchas: 5642 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5643 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5644 # In both cases, we have to default to `cp -p'. 5645 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5646 as_ln_s='cp -p' 5647 elif ln conf$$.file conf$$ 2>/dev/null; then 5648 as_ln_s=ln 5649 else 5650 as_ln_s='cp -p' 5651 fi 5652else 5653 as_ln_s='cp -p' 5654fi 5655rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5656rmdir conf$$.dir 2>/dev/null 5657 5658if mkdir -p . 2>/dev/null; then 5659 as_mkdir_p=: 5660else 5661 test -d ./-p && rmdir ./-p 5662 as_mkdir_p=false 5663fi 5664 5665if test -x / >/dev/null 2>&1; then 5666 as_test_x='test -x' 5667else 5668 if ls -dL / >/dev/null 2>&1; then 5669 as_ls_L_option=L 5670 else 5671 as_ls_L_option= 5672 fi 5673 as_test_x=' 5674 eval sh -c '\'' 5675 if test -d "$1"; then 5676 test -d "$1/."; 5677 else 5678 case $1 in 5679 -*)set "./$1";; 5680 esac; 5681 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5682 ???[sx]*):;;*)false;;esac;fi 5683 '\'' sh 5684 ' 5685fi 5686as_executable_p=$as_test_x 5687 5688# Sed expression to map a string onto a valid CPP name. 5689as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5690 5691# Sed expression to map a string onto a valid variable name. 5692as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5693 5694 5695exec 6>&1 5696 5697# Save the log message, to keep $[0] and so on meaningful, and to 5698# report actual input values of CONFIG_FILES etc. instead of their 5699# values after options handling. 5700ac_log=" 5701This file was extended by encodings $as_me 1.0.3, which was 5702generated by GNU Autoconf 2.63. Invocation command line was 5703 5704 CONFIG_FILES = $CONFIG_FILES 5705 CONFIG_HEADERS = $CONFIG_HEADERS 5706 CONFIG_LINKS = $CONFIG_LINKS 5707 CONFIG_COMMANDS = $CONFIG_COMMANDS 5708 $ $0 $@ 5709 5710on `(hostname || uname -n) 2>/dev/null | sed 1q` 5711" 5712 5713_ACEOF 5714 5715case $ac_config_files in *" 5716"*) set x $ac_config_files; shift; ac_config_files=$*;; 5717esac 5718 5719 5720 5721cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5722# Files that config.status was made for. 5723config_files="$ac_config_files" 5724config_commands="$ac_config_commands" 5725 5726_ACEOF 5727 5728cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5729ac_cs_usage="\ 5730\`$as_me' instantiates files from templates according to the 5731current configuration. 5732 5733Usage: $0 [OPTION]... [FILE]... 5734 5735 -h, --help print this help, then exit 5736 -V, --version print version number and configuration settings, then exit 5737 -q, --quiet, --silent 5738 do not print progress messages 5739 -d, --debug don't remove temporary files 5740 --recheck update $as_me by reconfiguring in the same conditions 5741 --file=FILE[:TEMPLATE] 5742 instantiate the configuration file FILE 5743 5744Configuration files: 5745$config_files 5746 5747Configuration commands: 5748$config_commands 5749 5750Report bugs to <bug-autoconf@gnu.org>." 5751 5752_ACEOF 5753cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5754ac_cs_version="\\ 5755encodings config.status 1.0.3 5756configured by $0, generated by GNU Autoconf 2.63, 5757 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5758 5759Copyright (C) 2008 Free Software Foundation, Inc. 5760This config.status script is free software; the Free Software Foundation 5761gives unlimited permission to copy, distribute and modify it." 5762 5763ac_pwd='$ac_pwd' 5764srcdir='$srcdir' 5765INSTALL='$INSTALL' 5766MKDIR_P='$MKDIR_P' 5767AWK='$AWK' 5768test -n "\$AWK" || AWK=awk 5769_ACEOF 5770 5771cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5772# The default lists apply if the user does not specify any file. 5773ac_need_defaults=: 5774while test $# != 0 5775do 5776 case $1 in 5777 --*=*) 5778 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5779 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5780 ac_shift=: 5781 ;; 5782 *) 5783 ac_option=$1 5784 ac_optarg=$2 5785 ac_shift=shift 5786 ;; 5787 esac 5788 5789 case $ac_option in 5790 # Handling of the options. 5791 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5792 ac_cs_recheck=: ;; 5793 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5794 $as_echo "$ac_cs_version"; exit ;; 5795 --debug | --debu | --deb | --de | --d | -d ) 5796 debug=: ;; 5797 --file | --fil | --fi | --f ) 5798 $ac_shift 5799 case $ac_optarg in 5800 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5801 esac 5802 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 5803 ac_need_defaults=false;; 5804 --he | --h | --help | --hel | -h ) 5805 $as_echo "$ac_cs_usage"; exit ;; 5806 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5807 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5808 ac_cs_silent=: ;; 5809 5810 # This is an error. 5811 -*) { $as_echo "$as_me: error: unrecognized option: $1 5812Try \`$0 --help' for more information." >&2 5813 { (exit 1); exit 1; }; } ;; 5814 5815 *) ac_config_targets="$ac_config_targets $1" 5816 ac_need_defaults=false ;; 5817 5818 esac 5819 shift 5820done 5821 5822ac_configure_extra_args= 5823 5824if $ac_cs_silent; then 5825 exec 6>/dev/null 5826 ac_configure_extra_args="$ac_configure_extra_args --silent" 5827fi 5828 5829_ACEOF 5830cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5831if \$ac_cs_recheck; then 5832 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5833 shift 5834 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5835 CONFIG_SHELL='$SHELL' 5836 export CONFIG_SHELL 5837 exec "\$@" 5838fi 5839 5840_ACEOF 5841cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5842exec 5>>config.log 5843{ 5844 echo 5845 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5846## Running $as_me. ## 5847_ASBOX 5848 $as_echo "$ac_log" 5849} >&5 5850 5851_ACEOF 5852cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5853# 5854# INIT-COMMANDS 5855# 5856AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5857 5858_ACEOF 5859 5860cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5861 5862# Handling of arguments. 5863for ac_config_target in $ac_config_targets 5864do 5865 case $ac_config_target in 5866 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5867 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5868 "large/Makefile") CONFIG_FILES="$CONFIG_FILES large/Makefile" ;; 5869 5870 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5871$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5872 { (exit 1); exit 1; }; };; 5873 esac 5874done 5875 5876 5877# If the user did not use the arguments to specify the items to instantiate, 5878# then the envvar interface is used. Set only those that are not. 5879# We use the long form for the default assignment because of an extremely 5880# bizarre bug on SunOS 4.1.3. 5881if $ac_need_defaults; then 5882 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5883 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5884fi 5885 5886# Have a temporary directory for convenience. Make it in the build tree 5887# simply because there is no reason against having it here, and in addition, 5888# creating and moving files from /tmp can sometimes cause problems. 5889# Hook for its removal unless debugging. 5890# Note that there is a small window in which the directory will not be cleaned: 5891# after its creation but before its name has been assigned to `$tmp'. 5892$debug || 5893{ 5894 tmp= 5895 trap 'exit_status=$? 5896 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5897' 0 5898 trap '{ (exit 1); exit 1; }' 1 2 13 15 5899} 5900# Create a (secure) tmp directory for tmp files. 5901 5902{ 5903 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5904 test -n "$tmp" && test -d "$tmp" 5905} || 5906{ 5907 tmp=./conf$$-$RANDOM 5908 (umask 077 && mkdir "$tmp") 5909} || 5910{ 5911 $as_echo "$as_me: cannot create a temporary directory in ." >&2 5912 { (exit 1); exit 1; } 5913} 5914 5915# Set up the scripts for CONFIG_FILES section. 5916# No need to generate them if there are no CONFIG_FILES. 5917# This happens for instance with `./config.status config.h'. 5918if test -n "$CONFIG_FILES"; then 5919 5920 5921ac_cr=' 5922' 5923ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5924if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5925 ac_cs_awk_cr='\\r' 5926else 5927 ac_cs_awk_cr=$ac_cr 5928fi 5929 5930echo 'BEGIN {' >"$tmp/subs1.awk" && 5931_ACEOF 5932 5933 5934{ 5935 echo "cat >conf$$subs.awk <<_ACEOF" && 5936 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5937 echo "_ACEOF" 5938} >conf$$subs.sh || 5939 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5940$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5941 { (exit 1); exit 1; }; } 5942ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 5943ac_delim='%!_!# ' 5944for ac_last_try in false false false false false :; do 5945 . ./conf$$subs.sh || 5946 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5947$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5948 { (exit 1); exit 1; }; } 5949 5950 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5951 if test $ac_delim_n = $ac_delim_num; then 5952 break 5953 elif $ac_last_try; then 5954 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5955$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5956 { (exit 1); exit 1; }; } 5957 else 5958 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5959 fi 5960done 5961rm -f conf$$subs.sh 5962 5963cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5964cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 5965_ACEOF 5966sed -n ' 5967h 5968s/^/S["/; s/!.*/"]=/ 5969p 5970g 5971s/^[^!]*!// 5972:repl 5973t repl 5974s/'"$ac_delim"'$// 5975t delim 5976:nl 5977h 5978s/\(.\{148\}\).*/\1/ 5979t more1 5980s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5981p 5982n 5983b repl 5984:more1 5985s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5986p 5987g 5988s/.\{148\}// 5989t nl 5990:delim 5991h 5992s/\(.\{148\}\).*/\1/ 5993t more2 5994s/["\\]/\\&/g; s/^/"/; s/$/"/ 5995p 5996b 5997:more2 5998s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5999p 6000g 6001s/.\{148\}// 6002t delim 6003' <conf$$subs.awk | sed ' 6004/^[^""]/{ 6005 N 6006 s/\n// 6007} 6008' >>$CONFIG_STATUS || ac_write_fail=1 6009rm -f conf$$subs.awk 6010cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6011_ACAWK 6012cat >>"\$tmp/subs1.awk" <<_ACAWK && 6013 for (key in S) S_is_set[key] = 1 6014 FS = "" 6015 6016} 6017{ 6018 line = $ 0 6019 nfields = split(line, field, "@") 6020 substed = 0 6021 len = length(field[1]) 6022 for (i = 2; i < nfields; i++) { 6023 key = field[i] 6024 keylen = length(key) 6025 if (S_is_set[key]) { 6026 value = S[key] 6027 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6028 len += length(value) + length(field[++i]) 6029 substed = 1 6030 } else 6031 len += 1 + keylen 6032 } 6033 6034 print line 6035} 6036 6037_ACAWK 6038_ACEOF 6039cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6040if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6041 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6042else 6043 cat 6044fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 6045 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 6046$as_echo "$as_me: error: could not setup config files machinery" >&2;} 6047 { (exit 1); exit 1; }; } 6048_ACEOF 6049 6050# VPATH may cause trouble with some makes, so we remove $(srcdir), 6051# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6052# trailing colons and then remove the whole line if VPATH becomes empty 6053# (actually we leave an empty line to preserve line numbers). 6054if test "x$srcdir" = x.; then 6055 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6056s/:*\$(srcdir):*/:/ 6057s/:*\${srcdir}:*/:/ 6058s/:*@srcdir@:*/:/ 6059s/^\([^=]*=[ ]*\):*/\1/ 6060s/:*$// 6061s/^[^=]*=[ ]*$// 6062}' 6063fi 6064 6065cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6066fi # test -n "$CONFIG_FILES" 6067 6068 6069eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 6070shift 6071for ac_tag 6072do 6073 case $ac_tag in 6074 :[FHLC]) ac_mode=$ac_tag; continue;; 6075 esac 6076 case $ac_mode$ac_tag in 6077 :[FHL]*:*);; 6078 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 6079$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 6080 { (exit 1); exit 1; }; };; 6081 :[FH]-) ac_tag=-:-;; 6082 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6083 esac 6084 ac_save_IFS=$IFS 6085 IFS=: 6086 set x $ac_tag 6087 IFS=$ac_save_IFS 6088 shift 6089 ac_file=$1 6090 shift 6091 6092 case $ac_mode in 6093 :L) ac_source=$1;; 6094 :[FH]) 6095 ac_file_inputs= 6096 for ac_f 6097 do 6098 case $ac_f in 6099 -) ac_f="$tmp/stdin";; 6100 *) # Look for the file first in the build tree, then in the source tree 6101 # (if the path is not absolute). The absolute path cannot be DOS-style, 6102 # because $ac_f cannot contain `:'. 6103 test -f "$ac_f" || 6104 case $ac_f in 6105 [\\/$]*) false;; 6106 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6107 esac || 6108 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 6109$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 6110 { (exit 1); exit 1; }; };; 6111 esac 6112 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6113 ac_file_inputs="$ac_file_inputs '$ac_f'" 6114 done 6115 6116 # Let's still pretend it is `configure' which instantiates (i.e., don't 6117 # use $as_me), people would be surprised to read: 6118 # /* config.h. Generated by config.status. */ 6119 configure_input='Generated from '` 6120 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6121 `' by configure.' 6122 if test x"$ac_file" != x-; then 6123 configure_input="$ac_file. $configure_input" 6124 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 6125$as_echo "$as_me: creating $ac_file" >&6;} 6126 fi 6127 # Neutralize special characters interpreted by sed in replacement strings. 6128 case $configure_input in #( 6129 *\&* | *\|* | *\\* ) 6130 ac_sed_conf_input=`$as_echo "$configure_input" | 6131 sed 's/[\\\\&|]/\\\\&/g'`;; #( 6132 *) ac_sed_conf_input=$configure_input;; 6133 esac 6134 6135 case $ac_tag in 6136 *:-:* | *:-) cat >"$tmp/stdin" \ 6137 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6138$as_echo "$as_me: error: could not create $ac_file" >&2;} 6139 { (exit 1); exit 1; }; } ;; 6140 esac 6141 ;; 6142 esac 6143 6144 ac_dir=`$as_dirname -- "$ac_file" || 6145$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6146 X"$ac_file" : 'X\(//\)[^/]' \| \ 6147 X"$ac_file" : 'X\(//\)$' \| \ 6148 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6149$as_echo X"$ac_file" | 6150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6151 s//\1/ 6152 q 6153 } 6154 /^X\(\/\/\)[^/].*/{ 6155 s//\1/ 6156 q 6157 } 6158 /^X\(\/\/\)$/{ 6159 s//\1/ 6160 q 6161 } 6162 /^X\(\/\).*/{ 6163 s//\1/ 6164 q 6165 } 6166 s/.*/./; q'` 6167 { as_dir="$ac_dir" 6168 case $as_dir in #( 6169 -*) as_dir=./$as_dir;; 6170 esac 6171 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6172 as_dirs= 6173 while :; do 6174 case $as_dir in #( 6175 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6176 *) as_qdir=$as_dir;; 6177 esac 6178 as_dirs="'$as_qdir' $as_dirs" 6179 as_dir=`$as_dirname -- "$as_dir" || 6180$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6181 X"$as_dir" : 'X\(//\)[^/]' \| \ 6182 X"$as_dir" : 'X\(//\)$' \| \ 6183 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6184$as_echo X"$as_dir" | 6185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6186 s//\1/ 6187 q 6188 } 6189 /^X\(\/\/\)[^/].*/{ 6190 s//\1/ 6191 q 6192 } 6193 /^X\(\/\/\)$/{ 6194 s//\1/ 6195 q 6196 } 6197 /^X\(\/\).*/{ 6198 s//\1/ 6199 q 6200 } 6201 s/.*/./; q'` 6202 test -d "$as_dir" && break 6203 done 6204 test -z "$as_dirs" || eval "mkdir $as_dirs" 6205 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6206$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 6207 { (exit 1); exit 1; }; }; } 6208 ac_builddir=. 6209 6210case "$ac_dir" in 6211.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6212*) 6213 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6214 # A ".." for each directory in $ac_dir_suffix. 6215 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6216 case $ac_top_builddir_sub in 6217 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6218 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6219 esac ;; 6220esac 6221ac_abs_top_builddir=$ac_pwd 6222ac_abs_builddir=$ac_pwd$ac_dir_suffix 6223# for backward compatibility: 6224ac_top_builddir=$ac_top_build_prefix 6225 6226case $srcdir in 6227 .) # We are building in place. 6228 ac_srcdir=. 6229 ac_top_srcdir=$ac_top_builddir_sub 6230 ac_abs_top_srcdir=$ac_pwd ;; 6231 [\\/]* | ?:[\\/]* ) # Absolute name. 6232 ac_srcdir=$srcdir$ac_dir_suffix; 6233 ac_top_srcdir=$srcdir 6234 ac_abs_top_srcdir=$srcdir ;; 6235 *) # Relative name. 6236 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6237 ac_top_srcdir=$ac_top_build_prefix$srcdir 6238 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6239esac 6240ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6241 6242 6243 case $ac_mode in 6244 :F) 6245 # 6246 # CONFIG_FILE 6247 # 6248 6249 case $INSTALL in 6250 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6251 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6252 esac 6253 ac_MKDIR_P=$MKDIR_P 6254 case $MKDIR_P in 6255 [\\/$]* | ?:[\\/]* ) ;; 6256 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6257 esac 6258_ACEOF 6259 6260cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6261# If the template does not know about datarootdir, expand it. 6262# FIXME: This hack should be removed a few years after 2.60. 6263ac_datarootdir_hack=; ac_datarootdir_seen= 6264 6265ac_sed_dataroot=' 6266/datarootdir/ { 6267 p 6268 q 6269} 6270/@datadir@/p 6271/@docdir@/p 6272/@infodir@/p 6273/@localedir@/p 6274/@mandir@/p 6275' 6276case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6277*datarootdir*) ac_datarootdir_seen=yes;; 6278*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6279 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6280$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6281_ACEOF 6282cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6283 ac_datarootdir_hack=' 6284 s&@datadir@&$datadir&g 6285 s&@docdir@&$docdir&g 6286 s&@infodir@&$infodir&g 6287 s&@localedir@&$localedir&g 6288 s&@mandir@&$mandir&g 6289 s&\\\${datarootdir}&$datarootdir&g' ;; 6290esac 6291_ACEOF 6292 6293# Neutralize VPATH when `$srcdir' = `.'. 6294# Shell code in configure.ac might set extrasub. 6295# FIXME: do we really want to maintain this feature? 6296cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6297ac_sed_extra="$ac_vpsub 6298$extrasub 6299_ACEOF 6300cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6301:t 6302/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6303s|@configure_input@|$ac_sed_conf_input|;t t 6304s&@top_builddir@&$ac_top_builddir_sub&;t t 6305s&@top_build_prefix@&$ac_top_build_prefix&;t t 6306s&@srcdir@&$ac_srcdir&;t t 6307s&@abs_srcdir@&$ac_abs_srcdir&;t t 6308s&@top_srcdir@&$ac_top_srcdir&;t t 6309s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6310s&@builddir@&$ac_builddir&;t t 6311s&@abs_builddir@&$ac_abs_builddir&;t t 6312s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6313s&@INSTALL@&$ac_INSTALL&;t t 6314s&@MKDIR_P@&$ac_MKDIR_P&;t t 6315$ac_datarootdir_hack 6316" 6317eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 6318 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6319$as_echo "$as_me: error: could not create $ac_file" >&2;} 6320 { (exit 1); exit 1; }; } 6321 6322test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6323 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6324 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6325 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6326which seems to be undefined. Please make sure it is defined." >&5 6327$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6328which seems to be undefined. Please make sure it is defined." >&2;} 6329 6330 rm -f "$tmp/stdin" 6331 case $ac_file in 6332 -) cat "$tmp/out" && rm -f "$tmp/out";; 6333 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 6334 esac \ 6335 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6336$as_echo "$as_me: error: could not create $ac_file" >&2;} 6337 { (exit 1); exit 1; }; } 6338 ;; 6339 6340 6341 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 6342$as_echo "$as_me: executing $ac_file commands" >&6;} 6343 ;; 6344 esac 6345 6346 6347 case $ac_file$ac_mode in 6348 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6349 # Autoconf 2.62 quotes --file arguments for eval, but not when files 6350 # are listed without --file. Let's play safe and only enable the eval 6351 # if we detect the quoting. 6352 case $CONFIG_FILES in 6353 *\'*) eval set x "$CONFIG_FILES" ;; 6354 *) set x $CONFIG_FILES ;; 6355 esac 6356 shift 6357 for mf 6358 do 6359 # Strip MF so we end up with the name of the file. 6360 mf=`echo "$mf" | sed -e 's/:.*$//'` 6361 # Check whether this is an Automake generated Makefile or not. 6362 # We used to match only the files named `Makefile.in', but 6363 # some people rename them; so instead we look at the file content. 6364 # Grep'ing the first line is not enough: some people post-process 6365 # each Makefile.in and add a new line on top of each file to say so. 6366 # Grep'ing the whole file is not good either: AIX grep has a line 6367 # limit of 2048, but all sed's we know have understand at least 4000. 6368 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6369 dirpart=`$as_dirname -- "$mf" || 6370$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6371 X"$mf" : 'X\(//\)[^/]' \| \ 6372 X"$mf" : 'X\(//\)$' \| \ 6373 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6374$as_echo X"$mf" | 6375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6376 s//\1/ 6377 q 6378 } 6379 /^X\(\/\/\)[^/].*/{ 6380 s//\1/ 6381 q 6382 } 6383 /^X\(\/\/\)$/{ 6384 s//\1/ 6385 q 6386 } 6387 /^X\(\/\).*/{ 6388 s//\1/ 6389 q 6390 } 6391 s/.*/./; q'` 6392 else 6393 continue 6394 fi 6395 # Extract the definition of DEPDIR, am__include, and am__quote 6396 # from the Makefile without running `make'. 6397 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6398 test -z "$DEPDIR" && continue 6399 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6400 test -z "am__include" && continue 6401 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6402 # When using ansi2knr, U may be empty or an underscore; expand it 6403 U=`sed -n 's/^U = //p' < "$mf"` 6404 # Find all dependency output files, they are included files with 6405 # $(DEPDIR) in their names. We invoke sed twice because it is the 6406 # simplest approach to changing $(DEPDIR) to its actual value in the 6407 # expansion. 6408 for file in `sed -n " 6409 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6410 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6411 # Make sure the directory exists. 6412 test -f "$dirpart/$file" && continue 6413 fdir=`$as_dirname -- "$file" || 6414$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6415 X"$file" : 'X\(//\)[^/]' \| \ 6416 X"$file" : 'X\(//\)$' \| \ 6417 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6418$as_echo X"$file" | 6419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6420 s//\1/ 6421 q 6422 } 6423 /^X\(\/\/\)[^/].*/{ 6424 s//\1/ 6425 q 6426 } 6427 /^X\(\/\/\)$/{ 6428 s//\1/ 6429 q 6430 } 6431 /^X\(\/\).*/{ 6432 s//\1/ 6433 q 6434 } 6435 s/.*/./; q'` 6436 { as_dir=$dirpart/$fdir 6437 case $as_dir in #( 6438 -*) as_dir=./$as_dir;; 6439 esac 6440 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6441 as_dirs= 6442 while :; do 6443 case $as_dir in #( 6444 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6445 *) as_qdir=$as_dir;; 6446 esac 6447 as_dirs="'$as_qdir' $as_dirs" 6448 as_dir=`$as_dirname -- "$as_dir" || 6449$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6450 X"$as_dir" : 'X\(//\)[^/]' \| \ 6451 X"$as_dir" : 'X\(//\)$' \| \ 6452 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6453$as_echo X"$as_dir" | 6454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6455 s//\1/ 6456 q 6457 } 6458 /^X\(\/\/\)[^/].*/{ 6459 s//\1/ 6460 q 6461 } 6462 /^X\(\/\/\)$/{ 6463 s//\1/ 6464 q 6465 } 6466 /^X\(\/\).*/{ 6467 s//\1/ 6468 q 6469 } 6470 s/.*/./; q'` 6471 test -d "$as_dir" && break 6472 done 6473 test -z "$as_dirs" || eval "mkdir $as_dirs" 6474 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6475$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 6476 { (exit 1); exit 1; }; }; } 6477 # echo "creating $dirpart/$file" 6478 echo '# dummy' > "$dirpart/$file" 6479 done 6480 done 6481} 6482 ;; 6483 6484 esac 6485done # for ac_tag 6486 6487 6488{ (exit 0); exit 0; } 6489_ACEOF 6490chmod +x $CONFIG_STATUS 6491ac_clean_files=$ac_clean_files_save 6492 6493test $ac_write_fail = 0 || 6494 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 6495$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 6496 { (exit 1); exit 1; }; } 6497 6498 6499# configure is writing to config.log, and then calls config.status. 6500# config.status does its own redirection, appending to config.log. 6501# Unfortunately, on DOS this fails, as config.log is still kept open 6502# by configure, so config.status won't be able to write to it; its 6503# output is simply discarded. So we exec the FD to /dev/null, 6504# effectively closing config.log, so it can be properly (re)opened and 6505# appended to by config.status. When coming back to configure, we 6506# need to make the FD available again. 6507if test "$no_create" != yes; then 6508 ac_cs_success=: 6509 ac_config_status_args= 6510 test "$silent" = yes && 6511 ac_config_status_args="$ac_config_status_args --quiet" 6512 exec 5>/dev/null 6513 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6514 exec 5>>config.log 6515 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6516 # would make configure fail if this is the last instruction. 6517 $ac_cs_success || { (exit 1); exit 1; } 6518fi 6519if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6520 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6521$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6522fi 6523 6524