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