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