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