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