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