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