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