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