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