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