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