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