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