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