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