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