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