Changeset 7724
- Timestamp:
- 2004-07-08T11:35:50+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/configure
r6427 r7724 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by Autoconf 2.50.3 # Generated by GNU Autoconf 2.58. 4 4 # 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 6 # Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 9 11 10 12 # Be Bourne compatible … … 12 14 emulate sh 13 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 14 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 15 20 set -o posix 16 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 17 64 18 65 # Name of the executable. 19 as_me=`echo "$0" |sed 's,.*[\\/],,'` 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 79 # Avoid depending upon Character Ranges. 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83 as_cr_digits='0123456789' 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184 } 185 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 20 193 21 194 if expr a : '\(a\)' >/dev/null 2>&1; then … … 43 216 rm -f conf$$ conf$$.exe conf$$.file 44 217 218 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220 else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223 fi 224 45 225 as_executable_p="test -f" 46 226 47 # Support unset when possible. 48 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 49 as_unset=unset 50 else 51 as_unset=false 52 fi 53 54 # NLS nuisances. 55 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 56 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 57 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 58 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 59 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 60 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 61 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 62 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 227 # Sed expression to map a string onto a valid CPP name. 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230 # Sed expression to map a string onto a valid variable name. 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 63 233 64 234 # IFS … … 69 239 70 240 # CDPATH. 71 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 241 $as_unset CDPATH 242 72 243 73 244 # Name of the host. … … 82 253 # 83 254 ac_default_prefix=/usr/local 255 ac_config_libobj_dir=. 84 256 cross_compiling=no 85 257 subdirs= 86 MFLAGS= MAKEFLAGS= 258 MFLAGS= 259 MAKEFLAGS= 87 260 SHELL=${CONFIG_SHELL-/bin/sh} 88 261 … … 92 265 : ${ac_max_here_lines=38} 93 266 94 # Avoid depending upon Character Ranges. 95 ac_cr_az='abcdefghijklmnopqrstuvwxyz' 96 ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 97 ac_cr_09='0123456789' 98 ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09 99 100 # Sed expression to map a string onto a valid sh and CPP variable names. 101 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g" 102 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g" 267 # Identity of this package. 268 PACKAGE_NAME= 269 PACKAGE_TARNAME= 270 PACKAGE_VERSION= 271 PACKAGE_STRING= 272 PACKAGE_BUGREPORT= 103 273 104 274 ac_unique_file="src/java/org/greenstone/gsdl3/Library1.java" … … 106 276 ac_includes_default="\ 107 277 #include <stdio.h> 108 #include <sys/types.h> 109 #include <sys/stat.h> 278 #if HAVE_SYS_TYPES_H 279 # include <sys/types.h> 280 #endif 281 #if HAVE_SYS_STAT_H 282 # include <sys/stat.h> 283 #endif 110 284 #if STDC_HEADERS 111 285 # include <stdlib.h> … … 121 295 # endif 122 296 # include <string.h> 123 #else 124 # if HAVE_STRINGS_H 125 # include <strings.h> 126 # endif 297 #endif 298 #if HAVE_STRINGS_H 299 # include <strings.h> 127 300 #endif 128 301 #if HAVE_INTTYPES_H 129 302 # include <inttypes.h> 303 #else 304 # if HAVE_STDINT_H 305 # include <stdint.h> 306 # endif 130 307 #endif 131 308 #if HAVE_UNISTD_H … … 134 311 135 312 ac_subdirs_all="$ac_subdirs_all packages" 313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION CFLAGS CC LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR ALLOCA LIBOBJS gsdlos subdirs LTLIBOBJS' 314 ac_subst_files='' 136 315 137 316 # Initialize some variables set by options. … … 173 352 mandir='${prefix}/man' 174 353 175 # Identity of this package.176 PACKAGE_NAME=177 PACKAGE_TARNAME=178 PACKAGE_VERSION=179 PACKAGE_STRING=180 PACKAGE_BUGREPORT=181 182 354 ac_prev= 183 355 for ac_option … … 225 397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 226 398 # Reject names that are not valid shell variable names. 227 expr "x$ac_feature" : ".*[^-_$a c_cr_alnum]" >/dev/null &&399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 228 400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 229 401 { (exit 1); exit 1; }; } … … 234 406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 235 407 # Reject names that are not valid shell variable names. 236 expr "x$ac_feature" : ".*[^-_$a c_cr_alnum]" >/dev/null &&408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 237 409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 238 410 { (exit 1); exit 1; }; } … … 312 484 313 485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 314 | --no-cr | --no-c )486 | --no-cr | --no-c | -n) 315 487 no_create=yes ;; 316 488 … … 416 588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 417 589 # Reject names that are not valid shell variable names. 418 expr "x$ac_package" : ".*[^-_$a c_cr_alnum]" >/dev/null &&590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 419 591 { echo "$as_me: error: invalid package name: $ac_package" >&2 420 592 { (exit 1); exit 1; }; } … … 429 601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 430 602 # Reject names that are not valid shell variable names. 431 expr "x$ac_package" : ".*[^-_$a c_cr_alnum]" >/dev/null &&603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 432 604 { echo "$as_me: error: invalid package name: $ac_package" >&2 433 605 { (exit 1); exit 1; }; } … … 461 633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 462 634 # Reject names that are not valid shell variable names. 463 expr "x$ac_envvar" : ".*[^_$a c_cr_alnum]" >/dev/null &&635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 464 636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 465 637 { (exit 1); exit 1; }; } … … 471 643 # FIXME: should be removed in autoconf 3.0. 472 644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 473 expr "x$ac_option" : ".*[^-._$a c_cr_alnum]" >/dev/null &&645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 474 646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 475 647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} … … 486 658 487 659 # Be sure to have absolute paths. 660 for ac_var in exec_prefix prefix 661 do 662 eval ac_val=$`echo $ac_var` 663 case $ac_val in 664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 666 { (exit 1); exit 1; }; };; 667 esac 668 done 669 670 # Be sure to have absolute paths. 488 671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 489 localstatedir libdir includedir oldincludedir infodir mandir \ 490 exec_prefix prefix 672 localstatedir libdir includedir oldincludedir infodir mandir 491 673 do 492 674 eval ac_val=$`echo $ac_var` 493 675 case $ac_val in 494 676 [\\/$]* | ?:[\\/]* ) ;; 495 NONE ) ;; 496 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 497 678 { (exit 1); exit 1; }; };; 498 679 esac … … 501 682 # There might be people who depend on the old broken behavior: `$host' 502 683 # used to hold the argument of --host etc. 684 # FIXME: To remove some day. 503 685 build=$build_alias 504 686 host=$host_alias 505 687 target=$target_alias 506 688 507 # FIXME: should be removed in autoconf 3.0.689 # FIXME: To remove some day. 508 690 if test "x$host_alias" != x; then 509 691 if test "x$build_alias" = x; then … … 521 703 test "$silent" = yes && exec 6>/dev/null 522 704 705 523 706 # Find the source files, if location was not specified. 524 707 if test -z "$srcdir"; then 525 708 ac_srcdir_defaulted=yes 526 709 # Try the directory containing this script, then its parent. 527 ac_prog=$0 528 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 529 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 710 ac_confdir=`(dirname "$0") 2>/dev/null || 711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 712 X"$0" : 'X\(//\)[^/]' \| \ 713 X"$0" : 'X\(//\)$' \| \ 714 X"$0" : 'X\(/\)' \| \ 715 . : '\(.\)' 2>/dev/null || 716 echo X"$0" | 717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 719 /^X\(\/\/\)$/{ s//\1/; q; } 720 /^X\(\/\).*/{ s//\1/; q; } 721 s/.*/./; q'` 530 722 srcdir=$ac_confdir 531 723 if test ! -r $srcdir/$ac_unique_file; then … … 537 729 if test ! -r $srcdir/$ac_unique_file; then 538 730 if test "$ac_srcdir_defaulted" = yes; then 539 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 540 732 { (exit 1); exit 1; }; } 541 733 else 542 { echo "$as_me: error: cannot find sources in $srcdir" >&2734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 543 735 { (exit 1); exit 1; }; } 544 736 fi 545 737 fi 738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 740 { (exit 1); exit 1; }; } 546 741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 547 742 ac_env_build_alias_set=${build_alias+set} … … 592 787 # Omit some internal or obsolete options to make the list less imposing. 593 788 # This message is too long to be a string in the A/UX 3.1 sh. 594 cat << EOF789 cat <<_ACEOF 595 790 \`configure' configures this package to adapt to many kinds of systems. 596 791 … … 613 808 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 614 809 615 EOF616 617 cat << EOF810 _ACEOF 811 812 cat <<_ACEOF 618 813 Installation directories: 619 814 --prefix=PREFIX install architecture-independent files in PREFIX 620 815 [$ac_default_prefix] 621 816 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 622 817 [PREFIX] 623 818 624 819 By default, \`make install' will install all the files in … … 642 837 --infodir=DIR info documentation [PREFIX/info] 643 838 --mandir=DIR man documentation [PREFIX/man] 644 EOF645 646 cat <<\ EOF839 _ACEOF 840 841 cat <<\_ACEOF 647 842 648 843 System types: 649 844 --build=BUILD configure for building on BUILD [guessed] 650 --host=HOST build programs to run on HOST [BUILD]845 --host=HOST cross-compile to build programs to run on HOST [BUILD] 651 846 --target=TARGET configure for building compilers for TARGET [HOST] 652 EOF847 _ACEOF 653 848 fi 654 849 655 850 if test -n "$ac_init_help"; then 656 851 657 cat <<\ EOF852 cat <<\_ACEOF 658 853 659 854 Some influential environment variables: … … 671 866 it to find libraries and programs with nonstandard names/locations. 672 867 673 EOF868 _ACEOF 674 869 fi 675 870 … … 677 872 # If there are subdirs, report their specific --help. 678 873 ac_popdir=`pwd` 679 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 680 cd $ac_subdir 681 # A "../" for each directory in /$ac_subdir. 682 ac_dots=`echo $ac_subdir | 683 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 684 685 case $srcdir in 686 .) # No --srcdir option. We are building in place. 687 ac_sub_srcdir=$srcdir ;; 688 [\\/]* | ?:[\\/]* ) # Absolute path. 689 ac_sub_srcdir=$srcdir/$ac_subdir ;; 690 *) # Relative path. 691 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 692 esac 693 874 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 875 test -d $ac_dir || continue 876 ac_builddir=. 877 878 if test "$ac_dir" != .; then 879 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 880 # A "../" for each directory in $ac_dir_suffix. 881 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 882 else 883 ac_dir_suffix= ac_top_builddir= 884 fi 885 886 case $srcdir in 887 .) # No --srcdir option. We are building in place. 888 ac_srcdir=. 889 if test -z "$ac_top_builddir"; then 890 ac_top_srcdir=. 891 else 892 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 893 fi ;; 894 [\\/]* | ?:[\\/]* ) # Absolute path. 895 ac_srcdir=$srcdir$ac_dir_suffix; 896 ac_top_srcdir=$srcdir ;; 897 *) # Relative path. 898 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 899 ac_top_srcdir=$ac_top_builddir$srcdir ;; 900 esac 901 case "$ac_dir" in 902 .) ac_abs_builddir=$ac_builddir;; 903 *) 904 case $ac_builddir in 905 .) ac_abs_builddir="$ac_dir";; 906 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; 907 *) ac_abs_builddir="$ac_dir"/$ac_builddir;; 908 esac;; 909 esac 910 case "$ac_dir" in 911 .) ac_abs_top_builddir=${ac_top_builddir}.;; 912 *) 913 case ${ac_top_builddir}. in 914 .) ac_abs_top_builddir="$ac_dir";; 915 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 916 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; 917 esac;; 918 esac 919 case "$ac_dir" in 920 .) ac_abs_srcdir=$ac_srcdir;; 921 *) 922 case $ac_srcdir in 923 .) ac_abs_srcdir="$ac_dir";; 924 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 925 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; 926 esac;; 927 esac 928 case "$ac_dir" in 929 .) ac_abs_top_srcdir=$ac_top_srcdir;; 930 *) 931 case $ac_top_srcdir in 932 .) ac_abs_top_srcdir="$ac_dir";; 933 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 934 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; 935 esac;; 936 esac 937 938 cd $ac_dir 694 939 # Check for guested configure; otherwise get Cygnus style configure. 695 if test -f $ac_s ub_srcdir/configure.gnu; then940 if test -f $ac_srcdir/configure.gnu; then 696 941 echo 697 $SHELL $ac_s ub_srcdir/configure.gnu --help=recursive698 elif test -f $ac_s ub_srcdir/configure; then942 $SHELL $ac_srcdir/configure.gnu --help=recursive 943 elif test -f $ac_srcdir/configure; then 699 944 echo 700 $SHELL $ac_s ub_srcdir/configure --help=recursive701 elif test -f $ac_s ub_srcdir/configure.ac ||702 test -f $ac_sub_srcdir/configure.in; then945 $SHELL $ac_srcdir/configure --help=recursive 946 elif test -f $ac_srcdir/configure.ac || 947 test -f $ac_srcdir/configure.in; then 703 948 echo 704 949 $ac_configure --help 705 950 else 706 echo "$as_me: WARNING: no configuration information is in $ac_ subdir" >&2951 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 707 952 fi 708 953 cd $ac_popdir … … 712 957 test -n "$ac_init_help" && exit 0 713 958 if $ac_init_version; then 714 cat <<\EOF 715 716 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 717 Free Software Foundation, Inc. 959 cat <<\_ACEOF 960 961 Copyright (C) 2003 Free Software Foundation, Inc. 718 962 This configure script is free software; the Free Software Foundation 719 963 gives unlimited permission to copy, distribute and modify it. 720 EOF964 _ACEOF 721 965 exit 0 722 966 fi 723 967 exec 5>config.log 724 cat >&5 << EOF968 cat >&5 <<_ACEOF 725 969 This file contains any messages produced by compilers while 726 970 running configure, to aid debugging if configure makes a mistake. 727 971 728 972 It was created by $as_me, which was 729 generated by GNU Autoconf 2.5 0. Invocation command line was973 generated by GNU Autoconf 2.58. Invocation command line was 730 974 731 975 $ $0 $@ 732 976 733 EOF977 _ACEOF 734 978 { 735 979 cat <<_ASUNAME 736 ## --------- -##737 ## Platform. 738 ## --------- -##980 ## --------- ## 981 ## Platform. ## 982 ## --------- ## 739 983 740 984 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` … … 755 999 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 756 1000 757 PATH = $PATH758 759 1001 _ASUNAME 1002 1003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1004 for as_dir in $PATH 1005 do 1006 IFS=$as_save_IFS 1007 test -z "$as_dir" && as_dir=. 1008 echo "PATH: $as_dir" 1009 done 1010 760 1011 } >&5 761 1012 762 cat >&5 <<EOF 763 ## ------------ ## 764 ## Core tests. ## 765 ## ------------ ## 766 767 EOF 1013 cat >&5 <<_ACEOF 1014 1015 1016 ## ----------- ## 1017 ## Core tests. ## 1018 ## ----------- ## 1019 1020 _ACEOF 1021 768 1022 769 1023 # Keep a trace of the command line. 770 1024 # Strip out --no-create and --no-recursion so they do not pile up. 1025 # Strip out --silent because we don't want to record it for future runs. 771 1026 # Also quote any args containing shell meta-characters. 1027 # Make two passes to allow for proper duplicate-argument suppression. 772 1028 ac_configure_args= 1029 ac_configure_args0= 1030 ac_configure_args1= 773 1031 ac_sep= 774 for ac_arg 1032 ac_must_keep_next=false 1033 for ac_pass in 1 2 775 1034 do 776 case $ac_arg in 777 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 778 | --no-cr | --no-c) ;; 779 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 780 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 781 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 782 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 783 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 784 ac_sep=" " ;; 785 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 786 ac_sep=" " ;; 787 esac 788 # Get rid of the leading space. 1035 for ac_arg 1036 do 1037 case $ac_arg in 1038 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1040 | -silent | --silent | --silen | --sile | --sil) 1041 continue ;; 1042 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1043 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1044 esac 1045 case $ac_pass in 1046 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1047 2) 1048 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1049 if test $ac_must_keep_next = true; then 1050 ac_must_keep_next=false # Got value, back to normal. 1051 else 1052 case $ac_arg in 1053 *=* | --config-cache | -C | -disable-* | --disable-* \ 1054 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1055 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1056 | -with-* | --with-* | -without-* | --without-* | --x) 1057 case "$ac_configure_args0 " in 1058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1059 esac 1060 ;; 1061 -* ) ac_must_keep_next=true ;; 1062 esac 1063 fi 1064 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1065 # Get rid of the leading space. 1066 ac_sep=" " 1067 ;; 1068 esac 1069 done 789 1070 done 1071 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1072 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 790 1073 791 1074 # When interrupted or exit'd, cleanup temporary files, and complete 792 1075 # config.log. We remove comments because anyway the quotes in there 793 1076 # would cause problems or look ugly. 1077 # WARNING: Be sure not to use single quotes in there, as some shells, 1078 # such as our DU 5.0 friend, will then `close' the trap. 794 1079 trap 'exit_status=$? 795 1080 # Save into config.log some information that might help in debugging. 796 echo >&5 797 echo "## ----------------- ##" >&5 798 echo "## Cache variables. ##" >&5 799 echo "## ----------------- ##" >&5 800 echo >&5 801 # The following way of writing the cache mishandles newlines in values, 1081 { 1082 echo 1083 1084 cat <<\_ASBOX 1085 ## ---------------- ## 1086 ## Cache variables. ## 1087 ## ---------------- ## 1088 _ASBOX 1089 echo 1090 # The following way of writing the cache mishandles newlines in values, 802 1091 { 803 1092 (set) 2>&1 | … … 805 1094 *ac_space=\ *) 806 1095 sed -n \ 807 808 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"1096 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 809 1098 ;; 810 1099 *) 811 1100 sed -n \ 812 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"1101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 813 1102 ;; 814 1103 esac; 815 } >&5 816 sed "/^$/d" confdefs.h >conftest.log 817 if test -s conftest.log; then 818 echo >&5 819 echo "## ------------ ##" >&5 820 echo "## confdefs.h. ##" >&5 821 echo "## ------------ ##" >&5 822 echo >&5 823 cat conftest.log >&5 824 fi 825 (echo; echo) >&5 826 test "$ac_signal" != 0 && 827 echo "$as_me: caught signal $ac_signal" >&5 828 echo "$as_me: exit $exit_status" >&5 829 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1104 } 1105 echo 1106 1107 cat <<\_ASBOX 1108 ## ----------------- ## 1109 ## Output variables. ## 1110 ## ----------------- ## 1111 _ASBOX 1112 echo 1113 for ac_var in $ac_subst_vars 1114 do 1115 eval ac_val=$`echo $ac_var` 1116 echo "$ac_var='"'"'$ac_val'"'"'" 1117 done | sort 1118 echo 1119 1120 if test -n "$ac_subst_files"; then 1121 cat <<\_ASBOX 1122 ## ------------- ## 1123 ## Output files. ## 1124 ## ------------- ## 1125 _ASBOX 1126 echo 1127 for ac_var in $ac_subst_files 1128 do 1129 eval ac_val=$`echo $ac_var` 1130 echo "$ac_var='"'"'$ac_val'"'"'" 1131 done | sort 1132 echo 1133 fi 1134 1135 if test -s confdefs.h; then 1136 cat <<\_ASBOX 1137 ## ----------- ## 1138 ## confdefs.h. ## 1139 ## ----------- ## 1140 _ASBOX 1141 echo 1142 sed "/^$/d" confdefs.h | sort 1143 echo 1144 fi 1145 test "$ac_signal" != 0 && 1146 echo "$as_me: caught signal $ac_signal" 1147 echo "$as_me: exit $exit_status" 1148 } >&5 1149 rm -f core *.core && 1150 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 830 1151 exit $exit_status 831 1152 ' 0 832 1153 for ac_signal in 1 2 13 15; do 833 trap 'ac_s tatus=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal1154 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 834 1155 done 835 1156 ac_signal=0 … … 839 1160 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 840 1161 echo >confdefs.h 1162 1163 # Predefined preprocessor variables. 1164 1165 cat >>confdefs.h <<_ACEOF 1166 #define PACKAGE_NAME "$PACKAGE_NAME" 1167 _ACEOF 1168 1169 1170 cat >>confdefs.h <<_ACEOF 1171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1172 _ACEOF 1173 1174 1175 cat >>confdefs.h <<_ACEOF 1176 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1177 _ACEOF 1178 1179 1180 cat >>confdefs.h <<_ACEOF 1181 #define PACKAGE_STRING "$PACKAGE_STRING" 1182 _ACEOF 1183 1184 1185 cat >>confdefs.h <<_ACEOF 1186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1187 _ACEOF 1188 841 1189 842 1190 # Let the site file select an alternate cache file if it wants to. … … 851 1199 for ac_site_file in $CONFIG_SITE; do 852 1200 if test -r "$ac_site_file"; then 853 { echo "$as_me: 853: loading site script $ac_site_file" >&51201 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 854 1202 echo "$as_me: loading site script $ac_site_file" >&6;} 855 cat"$ac_site_file" >&51203 sed 's/^/| /' "$ac_site_file" >&5 856 1204 . "$ac_site_file" 857 1205 fi … … 862 1210 # files actually), so we avoid doing that. 863 1211 if test -f "$cache_file"; then 864 { echo "$as_me: 864: loading cache $cache_file" >&51212 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 865 1213 echo "$as_me: loading cache $cache_file" >&6;} 866 1214 case $cache_file in … … 870 1218 fi 871 1219 else 872 { echo "$as_me: 872: creating cache $cache_file" >&51220 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 873 1221 echo "$as_me: creating cache $cache_file" >&6;} 874 1222 >$cache_file … … 877 1225 # Check that the precious variables saved in the cache have kept the same 878 1226 # value. 879 ac_ suggest_removing_cache=false1227 ac_cache_corrupted=false 880 1228 for ac_var in `(set) 2>&1 | 881 1229 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 882 1230 eval ac_old_set=\$ac_cv_env_${ac_var}_set 883 1231 eval ac_new_set=\$ac_env_${ac_var}_set … … 886 1234 case $ac_old_set,$ac_new_set in 887 1235 set,) 888 { echo "$as_me: 888: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5889 echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}890 ac_ suggest_removing_cache=: ;;1236 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1237 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1238 ac_cache_corrupted=: ;; 891 1239 ,set) 892 { echo "$as_me: 892: WARNING: \`$ac_var' was not set in the previous run" >&5893 echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}894 ac_ suggest_removing_cache=: ;;1240 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1241 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1242 ac_cache_corrupted=: ;; 895 1243 ,);; 896 1244 *) 897 1245 if test "x$ac_old_val" != "x$ac_new_val"; then 898 { echo "$as_me:898: WARNING: \`$ac_var' has changed since the previous run:" >&5899 echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}900 { echo "$as_me:900: WARNING: former value: $ac_old_val" >&5901 echo "$as_me: WARNING:former value: $ac_old_val" >&2;}902 { echo "$as_me:902: WARNING: current value: $ac_new_val" >&5903 echo "$as_me: WARNING:current value: $ac_new_val" >&2;}904 ac_suggest_removing_cache=:1246 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1247 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1248 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1249 echo "$as_me: former value: $ac_old_val" >&2;} 1250 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1251 echo "$as_me: current value: $ac_new_val" >&2;} 1252 ac_cache_corrupted=: 905 1253 fi;; 906 1254 esac 1255 # Pass precious variables to config.status. 1256 if test "$ac_new_set" = set; then 1257 case $ac_new_val in 1258 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1259 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1260 *) ac_arg=$ac_var=$ac_new_val ;; 1261 esac 1262 case " $ac_configure_args " in 1263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1264 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1265 esac 1266 fi 907 1267 done 908 if $ac_suggest_removing_cache; then 909 { echo "$as_me:909: WARNING: changes in the environment can compromise the build" >&5 910 echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} 911 { echo "$as_me:911: WARNING: consider removing $cache_file and starting over" >&5 912 echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} 1268 if $ac_cache_corrupted; then 1269 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1270 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1271 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1272 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1273 { (exit 1); exit 1; }; } 913 1274 fi 914 1275 … … 919 1280 ac_compiler_gnu=$ac_cv_c_compiler_gnu 920 1281 921 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 922 *c*,-n*) ECHO_N= ECHO_C=' 923 ' ECHO_T=' ' ;; 924 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 925 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 926 esac 927 echo "#! $SHELL" >conftest.sh 928 echo "exit 0" >>conftest.sh 929 chmod +x conftest.sh 930 if { (echo "$as_me:930: PATH=\".;.\"; conftest.sh") >&5 931 (PATH=".;."; conftest.sh) 2>&5 932 ac_status=$? 933 echo "$as_me:933: \$? = $ac_status" >&5 934 (exit $ac_status); }; then 935 ac_path_separator=';' 936 else 937 ac_path_separator=: 938 fi 939 PATH_SEPARATOR="$ac_path_separator" 940 rm -f conftest.sh 941 942 ac_config_headers="$ac_config_headers config.h" 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 ac_config_headers="$ac_config_headers config.h" 1301 943 1302 944 1303 PACKAGE=gsdl3 945 1304 VERSION=0.1 946 cat >>confdefs.h <<EOF 1305 1306 cat >>confdefs.h <<_ACEOF 947 1307 #define PACKAGE "$PACKAGE" 948 EOF 949 950 cat >>confdefs.h <<EOF 1308 _ACEOF 1309 1310 1311 cat >>confdefs.h <<_ACEOF 951 1312 #define VERSION "$VERSION" 952 EOF 1313 _ACEOF 1314 1315 1316 1317 1318 1319 cat >>confdefs.h <<\_ACEOF 1320 #define PROTOTYPES 1 1321 _ACEOF 1322 953 1323 954 1324 LDFLAGS= … … 956 1326 CFLAGS=-O2 957 1327 fi 1328 958 1329 959 1330 ac_ext=c … … 965 1336 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 966 1337 set dummy ${ac_tool_prefix}gcc; ac_word=$2 967 echo "$as_me: 967: checking for $ac_word" >&51338 echo "$as_me:$LINENO: checking for $ac_word" >&5 968 1339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 969 1340 if test "${ac_cv_prog_CC+set}" = set; then … … 973 1344 ac_cv_prog_CC="$CC" # Let the user override the test. 974 1345 else 975 ac_save_IFS=$IFS; IFS=$ac_path_separator 976 ac_dummy="$PATH" 977 for ac_dir in $ac_dummy; do 978 IFS=$ac_save_IFS 979 test -z "$ac_dir" && ac_dir=. 980 $as_executable_p "$ac_dir/$ac_word" || continue 981 ac_cv_prog_CC="${ac_tool_prefix}gcc" 982 echo "$as_me:982: found $ac_dir/$ac_word" >&5 983 break 1346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1347 for as_dir in $PATH 1348 do 1349 IFS=$as_save_IFS 1350 test -z "$as_dir" && as_dir=. 1351 for ac_exec_ext in '' $ac_executable_extensions; do 1352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1353 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1355 break 2 1356 fi 1357 done 984 1358 done 985 1359 … … 988 1362 CC=$ac_cv_prog_CC 989 1363 if test -n "$CC"; then 990 echo "$as_me: 990: result: $CC" >&51364 echo "$as_me:$LINENO: result: $CC" >&5 991 1365 echo "${ECHO_T}$CC" >&6 992 1366 else 993 echo "$as_me: 993: result: no" >&51367 echo "$as_me:$LINENO: result: no" >&5 994 1368 echo "${ECHO_T}no" >&6 995 1369 fi … … 1000 1374 # Extract the first word of "gcc", so it can be a program name with args. 1001 1375 set dummy gcc; ac_word=$2 1002 echo "$as_me: 1002: checking for $ac_word" >&51376 echo "$as_me:$LINENO: checking for $ac_word" >&5 1003 1377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1004 1378 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1008 1382 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1009 1383 else 1010 ac_save_IFS=$IFS; IFS=$ac_path_separator 1011 ac_dummy="$PATH" 1012 for ac_dir in $ac_dummy; do 1013 IFS=$ac_save_IFS 1014 test -z "$ac_dir" && ac_dir=. 1015 $as_executable_p "$ac_dir/$ac_word" || continue 1016 ac_cv_prog_ac_ct_CC="gcc" 1017 echo "$as_me:1017: found $ac_dir/$ac_word" >&5 1018 break 1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1385 for as_dir in $PATH 1386 do 1387 IFS=$as_save_IFS 1388 test -z "$as_dir" && as_dir=. 1389 for ac_exec_ext in '' $ac_executable_extensions; do 1390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1391 ac_cv_prog_ac_ct_CC="gcc" 1392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1393 break 2 1394 fi 1395 done 1019 1396 done 1020 1397 … … 1023 1400 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1024 1401 if test -n "$ac_ct_CC"; then 1025 echo "$as_me: 1025: result: $ac_ct_CC" >&51402 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1026 1403 echo "${ECHO_T}$ac_ct_CC" >&6 1027 1404 else 1028 echo "$as_me: 1028: result: no" >&51405 echo "$as_me:$LINENO: result: no" >&5 1029 1406 echo "${ECHO_T}no" >&6 1030 1407 fi … … 1039 1416 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1040 1417 set dummy ${ac_tool_prefix}cc; ac_word=$2 1041 echo "$as_me: 1041: checking for $ac_word" >&51418 echo "$as_me:$LINENO: checking for $ac_word" >&5 1042 1419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1043 1420 if test "${ac_cv_prog_CC+set}" = set; then … … 1047 1424 ac_cv_prog_CC="$CC" # Let the user override the test. 1048 1425 else 1049 ac_save_IFS=$IFS; IFS=$ac_path_separator 1050 ac_dummy="$PATH" 1051 for ac_dir in $ac_dummy; do 1052 IFS=$ac_save_IFS 1053 test -z "$ac_dir" && ac_dir=. 1054 $as_executable_p "$ac_dir/$ac_word" || continue 1055 ac_cv_prog_CC="${ac_tool_prefix}cc" 1056 echo "$as_me:1056: found $ac_dir/$ac_word" >&5 1057 break 1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1427 for as_dir in $PATH 1428 do 1429 IFS=$as_save_IFS 1430 test -z "$as_dir" && as_dir=. 1431 for ac_exec_ext in '' $ac_executable_extensions; do 1432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1433 ac_cv_prog_CC="${ac_tool_prefix}cc" 1434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1435 break 2 1436 fi 1437 done 1058 1438 done 1059 1439 … … 1062 1442 CC=$ac_cv_prog_CC 1063 1443 if test -n "$CC"; then 1064 echo "$as_me: 1064: result: $CC" >&51444 echo "$as_me:$LINENO: result: $CC" >&5 1065 1445 echo "${ECHO_T}$CC" >&6 1066 1446 else 1067 echo "$as_me: 1067: result: no" >&51447 echo "$as_me:$LINENO: result: no" >&5 1068 1448 echo "${ECHO_T}no" >&6 1069 1449 fi … … 1074 1454 # Extract the first word of "cc", so it can be a program name with args. 1075 1455 set dummy cc; ac_word=$2 1076 echo "$as_me: 1076: checking for $ac_word" >&51456 echo "$as_me:$LINENO: checking for $ac_word" >&5 1077 1457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1078 1458 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1082 1462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1083 1463 else 1084 ac_save_IFS=$IFS; IFS=$ac_path_separator 1085 ac_dummy="$PATH" 1086 for ac_dir in $ac_dummy; do 1087 IFS=$ac_save_IFS 1088 test -z "$ac_dir" && ac_dir=. 1089 $as_executable_p "$ac_dir/$ac_word" || continue 1090 ac_cv_prog_ac_ct_CC="cc" 1091 echo "$as_me:1091: found $ac_dir/$ac_word" >&5 1092 break 1464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1465 for as_dir in $PATH 1466 do 1467 IFS=$as_save_IFS 1468 test -z "$as_dir" && as_dir=. 1469 for ac_exec_ext in '' $ac_executable_extensions; do 1470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1471 ac_cv_prog_ac_ct_CC="cc" 1472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1473 break 2 1474 fi 1475 done 1093 1476 done 1094 1477 … … 1097 1480 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1098 1481 if test -n "$ac_ct_CC"; then 1099 echo "$as_me: 1099: result: $ac_ct_CC" >&51482 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1100 1483 echo "${ECHO_T}$ac_ct_CC" >&6 1101 1484 else 1102 echo "$as_me: 1102: result: no" >&51485 echo "$as_me:$LINENO: result: no" >&5 1103 1486 echo "${ECHO_T}no" >&6 1104 1487 fi … … 1113 1496 # Extract the first word of "cc", so it can be a program name with args. 1114 1497 set dummy cc; ac_word=$2 1115 echo "$as_me: 1115: checking for $ac_word" >&51498 echo "$as_me:$LINENO: checking for $ac_word" >&5 1116 1499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1117 1500 if test "${ac_cv_prog_CC+set}" = set; then … … 1122 1505 else 1123 1506 ac_prog_rejected=no 1124 ac_save_IFS=$IFS; IFS=$ac_path_separator 1125 ac_dummy="$PATH" 1126 for ac_dir in $ac_dummy; do 1127 IFS=$ac_save_IFS 1128 test -z "$ac_dir" && ac_dir=. 1129 $as_executable_p "$ac_dir/$ac_word" || continue 1130 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1131 ac_prog_rejected=yes 1132 continue 1133 fi 1134 ac_cv_prog_CC="cc" 1135 echo "$as_me:1135: found $ac_dir/$ac_word" >&5 1136 break 1507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1508 for as_dir in $PATH 1509 do 1510 IFS=$as_save_IFS 1511 test -z "$as_dir" && as_dir=. 1512 for ac_exec_ext in '' $ac_executable_extensions; do 1513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1514 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1515 ac_prog_rejected=yes 1516 continue 1517 fi 1518 ac_cv_prog_CC="cc" 1519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1520 break 2 1521 fi 1522 done 1137 1523 done 1138 1524 … … 1146 1532 # first if we set CC to just the basename; use the full file name. 1147 1533 shift 1148 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1149 shift 1150 ac_cv_prog_CC="$@" 1534 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1151 1535 fi 1152 1536 fi … … 1155 1539 CC=$ac_cv_prog_CC 1156 1540 if test -n "$CC"; then 1157 echo "$as_me: 1157: result: $CC" >&51541 echo "$as_me:$LINENO: result: $CC" >&5 1158 1542 echo "${ECHO_T}$CC" >&6 1159 1543 else 1160 echo "$as_me: 1160: result: no" >&51544 echo "$as_me:$LINENO: result: no" >&5 1161 1545 echo "${ECHO_T}no" >&6 1162 1546 fi … … 1169 1553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1170 1554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1171 echo "$as_me: 1171: checking for $ac_word" >&51555 echo "$as_me:$LINENO: checking for $ac_word" >&5 1172 1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1173 1557 if test "${ac_cv_prog_CC+set}" = set; then … … 1177 1561 ac_cv_prog_CC="$CC" # Let the user override the test. 1178 1562 else 1179 ac_save_IFS=$IFS; IFS=$ac_path_separator 1180 ac_dummy="$PATH" 1181 for ac_dir in $ac_dummy; do 1182 IFS=$ac_save_IFS 1183 test -z "$ac_dir" && ac_dir=. 1184 $as_executable_p "$ac_dir/$ac_word" || continue 1185 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1186 echo "$as_me:1186: found $ac_dir/$ac_word" >&5 1187 break 1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1564 for as_dir in $PATH 1565 do 1566 IFS=$as_save_IFS 1567 test -z "$as_dir" && as_dir=. 1568 for ac_exec_ext in '' $ac_executable_extensions; do 1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1570 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1572 break 2 1573 fi 1574 done 1188 1575 done 1189 1576 … … 1192 1579 CC=$ac_cv_prog_CC 1193 1580 if test -n "$CC"; then 1194 echo "$as_me: 1194: result: $CC" >&51581 echo "$as_me:$LINENO: result: $CC" >&5 1195 1582 echo "${ECHO_T}$CC" >&6 1196 1583 else 1197 echo "$as_me: 1197: result: no" >&51584 echo "$as_me:$LINENO: result: no" >&5 1198 1585 echo "${ECHO_T}no" >&6 1199 1586 fi … … 1208 1595 # Extract the first word of "$ac_prog", so it can be a program name with args. 1209 1596 set dummy $ac_prog; ac_word=$2 1210 echo "$as_me: 1210: checking for $ac_word" >&51597 echo "$as_me:$LINENO: checking for $ac_word" >&5 1211 1598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1212 1599 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1216 1603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1217 1604 else 1218 ac_save_IFS=$IFS; IFS=$ac_path_separator 1219 ac_dummy="$PATH" 1220 for ac_dir in $ac_dummy; do 1221 IFS=$ac_save_IFS 1222 test -z "$ac_dir" && ac_dir=. 1223 $as_executable_p "$ac_dir/$ac_word" || continue 1224 ac_cv_prog_ac_ct_CC="$ac_prog" 1225 echo "$as_me:1225: found $ac_dir/$ac_word" >&5 1226 break 1605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1606 for as_dir in $PATH 1607 do 1608 IFS=$as_save_IFS 1609 test -z "$as_dir" && as_dir=. 1610 for ac_exec_ext in '' $ac_executable_extensions; do 1611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1612 ac_cv_prog_ac_ct_CC="$ac_prog" 1613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1614 break 2 1615 fi 1616 done 1227 1617 done 1228 1618 … … 1231 1621 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1232 1622 if test -n "$ac_ct_CC"; then 1233 echo "$as_me: 1233: result: $ac_ct_CC" >&51623 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1234 1624 echo "${ECHO_T}$ac_ct_CC" >&6 1235 1625 else 1236 echo "$as_me: 1236: result: no" >&51626 echo "$as_me:$LINENO: result: no" >&5 1237 1627 echo "${ECHO_T}no" >&6 1238 1628 fi … … 1246 1636 fi 1247 1637 1248 test -z "$CC" && { { echo "$as_me:1248: error: no acceptable cc found in \$PATH" >&5 1249 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1638 1639 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1640 See \`config.log' for more details." >&5 1641 echo "$as_me: error: no acceptable C compiler found in \$PATH 1642 See \`config.log' for more details." >&2;} 1250 1643 { (exit 1); exit 1; }; } 1251 1644 1645 # Provide some information about the compiler. 1646 echo "$as_me:$LINENO:" \ 1647 "checking for C compiler version" >&5 1648 ac_compiler=`set X $ac_compile; echo $2` 1649 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1650 (eval $ac_compiler --version </dev/null >&5) 2>&5 1651 ac_status=$? 1652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1653 (exit $ac_status); } 1654 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1655 (eval $ac_compiler -v </dev/null >&5) 2>&5 1656 ac_status=$? 1657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1658 (exit $ac_status); } 1659 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1660 (eval $ac_compiler -V </dev/null >&5) 2>&5 1661 ac_status=$? 1662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1663 (exit $ac_status); } 1664 1252 1665 cat >conftest.$ac_ext <<_ACEOF 1253 #line 1253 "configure" 1254 #include "confdefs.h" 1666 /* confdefs.h. */ 1667 _ACEOF 1668 cat confdefs.h >>conftest.$ac_ext 1669 cat >>conftest.$ac_ext <<_ACEOF 1670 /* end confdefs.h. */ 1255 1671 1256 1672 int … … 1263 1679 _ACEOF 1264 1680 ac_clean_files_save=$ac_clean_files 1265 ac_clean_files="$ac_clean_files a.out a.exe "1681 ac_clean_files="$ac_clean_files a.out a.exe b.out" 1266 1682 # Try to create an executable without -o first, disregard a.out. 1267 # It will help us diagnose broken compiler , and finding out an intuition1683 # It will help us diagnose broken compilers, and finding out an intuition 1268 1684 # of exeext. 1269 echo "$as_me: 1269: checking for C compiler default output" >&51270 echo $ECHO_N "checking for C compiler default output ... $ECHO_C" >&61685 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1686 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1271 1687 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1272 if { (eval echo "$as_me: 1272: \"$ac_link_default\"") >&51688 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1273 1689 (eval $ac_link_default) 2>&5 1274 1690 ac_status=$? 1275 echo "$as_me: 1275: \$? = $ac_status" >&51691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1276 1692 (exit $ac_status); }; then 1277 for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do 1693 # Find the output, starting from the most likely. This scheme is 1694 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1695 # resort. 1696 1697 # Be careful to initialize this variable, since it used to be cached. 1698 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1699 ac_cv_exeext= 1700 # b.out is created by i960 compilers. 1701 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1702 do 1703 test -f "$ac_file" || continue 1278 1704 case $ac_file in 1279 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1280 a.out ) # We found the default executable, but exeext='' is most 1281 # certainly right. 1282 break;; 1283 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1284 export ac_cv_exeext 1285 break;; 1286 * ) break;; 1705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1706 ;; 1707 conftest.$ac_ext ) 1708 # This is the source file. 1709 ;; 1710 [ab].out ) 1711 # We found the default executable, but exeext='' is most 1712 # certainly right. 1713 break;; 1714 *.* ) 1715 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1716 # FIXME: I believe we export ac_cv_exeext for Libtool, 1717 # but it would be cool to find out if it's true. Does anybody 1718 # maintain Libtool? --akim. 1719 export ac_cv_exeext 1720 break;; 1721 * ) 1722 break;; 1287 1723 esac 1288 1724 done 1289 1725 else 1290 1726 echo "$as_me: failed program was:" >&5 1291 cat conftest.$ac_ext >&5 1292 { { echo "$as_me:1292: error: C compiler cannot create executables" >&5 1293 echo "$as_me: error: C compiler cannot create executables" >&2;} 1727 sed 's/^/| /' conftest.$ac_ext >&5 1728 1729 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1730 See \`config.log' for more details." >&5 1731 echo "$as_me: error: C compiler cannot create executables 1732 See \`config.log' for more details." >&2;} 1294 1733 { (exit 77); exit 77; }; } 1295 1734 fi 1296 1735 1297 1736 ac_exeext=$ac_cv_exeext 1298 echo "$as_me: 1298: result: $ac_file" >&51737 echo "$as_me:$LINENO: result: $ac_file" >&5 1299 1738 echo "${ECHO_T}$ac_file" >&6 1300 1739 1301 1740 # Check the compiler produces executables we can run. If not, either 1302 1741 # the compiler is broken, or we cross compile. 1303 echo "$as_me: 1303: checking whether the C compiler works" >&51742 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1304 1743 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1305 1744 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 … … 1307 1746 if test "$cross_compiling" != yes; then 1308 1747 if { ac_try='./$ac_file' 1309 { (eval echo "$as_me: 1309: \"$ac_try\"") >&51310 (eval $ac_try) 2>&5 1311 ac_status=$? 1312 echo "$as_me: 1312: \$? = $ac_status" >&51748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1749 (eval $ac_try) 2>&5 1750 ac_status=$? 1751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1313 1752 (exit $ac_status); }; }; then 1314 1753 cross_compiling=no … … 1317 1756 cross_compiling=yes 1318 1757 else 1319 { { echo "$as_me:1319: error: cannot run C compiled programs. 1320 If you meant to cross compile, use \`--host'." >&5 1758 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1759 If you meant to cross compile, use \`--host'. 1760 See \`config.log' for more details." >&5 1321 1761 echo "$as_me: error: cannot run C compiled programs. 1322 If you meant to cross compile, use \`--host'." >&2;} 1762 If you meant to cross compile, use \`--host'. 1763 See \`config.log' for more details." >&2;} 1323 1764 { (exit 1); exit 1; }; } 1324 1765 fi 1325 1766 fi 1326 1767 fi 1327 echo "$as_me: 1327: result: yes" >&51768 echo "$as_me:$LINENO: result: yes" >&5 1328 1769 echo "${ECHO_T}yes" >&6 1329 1770 1330 rm -f a.out a.exe conftest$ac_cv_exeext 1771 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1331 1772 ac_clean_files=$ac_clean_files_save 1332 1773 # Check the compiler produces executables we can run. If not, either 1333 1774 # the compiler is broken, or we cross compile. 1334 echo "$as_me: 1334: checking whether we are cross compiling" >&51775 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1335 1776 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1336 echo "$as_me: 1336: result: $cross_compiling" >&51777 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1337 1778 echo "${ECHO_T}$cross_compiling" >&6 1338 1779 1339 echo "$as_me: 1339: checking for executable suffix" >&51340 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&61341 if { (eval echo "$as_me: 1341: \"$ac_link\"") >&51780 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1781 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1342 1783 (eval $ac_link) 2>&5 1343 1784 ac_status=$? 1344 echo "$as_me: 1344: \$? = $ac_status" >&51785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1345 1786 (exit $ac_status); }; then 1346 1787 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 1348 1789 # work properly (i.e., refer to `conftest.exe'), while it won't with 1349 1790 # `rm'. 1350 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1791 for ac_file in conftest.exe conftest conftest.*; do 1792 test -f "$ac_file" || continue 1351 1793 case $ac_file in 1352 *.$ac_ext | *. o | *.obj | *.xcoff | *.tds | *.d | *.pdb) ;;1794 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1353 1795 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1354 1355 1796 export ac_cv_exeext 1797 break;; 1356 1798 * ) break;; 1357 1799 esac 1358 1800 done 1359 1801 else 1360 { { echo "$as_me:1360: error: cannot compute EXEEXT: cannot compile and link" >&5 1361 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1802 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1803 See \`config.log' for more details." >&5 1804 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1805 See \`config.log' for more details." >&2;} 1362 1806 { (exit 1); exit 1; }; } 1363 1807 fi 1364 1808 1365 1809 rm -f conftest$ac_cv_exeext 1366 echo "$as_me: 1366: result: $ac_cv_exeext" >&51810 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1367 1811 echo "${ECHO_T}$ac_cv_exeext" >&6 1368 1812 … … 1370 1814 EXEEXT=$ac_cv_exeext 1371 1815 ac_exeext=$EXEEXT 1372 echo "$as_me: 1372: checking for object suffix" >&51373 echo $ECHO_N "checking for object suffix... $ECHO_C" >&61816 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1817 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1374 1818 if test "${ac_cv_objext+set}" = set; then 1375 1819 echo $ECHO_N "(cached) $ECHO_C" >&6 1376 1820 else 1377 1821 cat >conftest.$ac_ext <<_ACEOF 1378 #line 1378 "configure" 1379 #include "confdefs.h" 1822 /* confdefs.h. */ 1823 _ACEOF 1824 cat confdefs.h >>conftest.$ac_ext 1825 cat >>conftest.$ac_ext <<_ACEOF 1826 /* end confdefs.h. */ 1380 1827 1381 1828 int … … 1388 1835 _ACEOF 1389 1836 rm -f conftest.o conftest.obj 1390 if { (eval echo "$as_me: 1390: \"$ac_compile\"") >&51837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1391 1838 (eval $ac_compile) 2>&5 1392 1839 ac_status=$? 1393 echo "$as_me: 1393: \$? = $ac_status" >&51840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1394 1841 (exit $ac_status); }; then 1395 1842 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1396 1843 case $ac_file in 1397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;1844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1398 1845 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1399 1846 break;; … … 1402 1849 else 1403 1850 echo "$as_me: failed program was:" >&5 1404 cat conftest.$ac_ext >&5 1405 { { echo "$as_me:1405: error: cannot compute OBJEXT: cannot compile" >&5 1406 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1851 sed 's/^/| /' conftest.$ac_ext >&5 1852 1853 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1854 See \`config.log' for more details." >&5 1855 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1856 See \`config.log' for more details." >&2;} 1407 1857 { (exit 1); exit 1; }; } 1408 1858 fi … … 1410 1860 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1411 1861 fi 1412 echo "$as_me: 1412: result: $ac_cv_objext" >&51862 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1413 1863 echo "${ECHO_T}$ac_cv_objext" >&6 1414 1864 OBJEXT=$ac_cv_objext 1415 1865 ac_objext=$OBJEXT 1416 echo "$as_me: 1416: checking whether we are using the GNU C compiler" >&51866 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1417 1867 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1418 1868 if test "${ac_cv_c_compiler_gnu+set}" = set; then … … 1420 1870 else 1421 1871 cat >conftest.$ac_ext <<_ACEOF 1422 #line 1422 "configure" 1423 #include "confdefs.h" 1872 /* confdefs.h. */ 1873 _ACEOF 1874 cat confdefs.h >>conftest.$ac_ext 1875 cat >>conftest.$ac_ext <<_ACEOF 1876 /* end confdefs.h. */ 1424 1877 1425 1878 int … … 1435 1888 _ACEOF 1436 1889 rm -f conftest.$ac_objext 1437 if { (eval echo "$as_me:1437: \"$ac_compile\"") >&5 1438 (eval $ac_compile) 2>&5 1439 ac_status=$? 1440 echo "$as_me:1440: \$? = $ac_status" >&5 1890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1891 (eval $ac_compile) 2>conftest.er1 1892 ac_status=$? 1893 grep -v '^ *+' conftest.er1 >conftest.err 1894 rm -f conftest.er1 1895 cat conftest.err >&5 1896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1441 1897 (exit $ac_status); } && 1442 { ac_try='test -s conftest.$ac_objext' 1443 { (eval echo "$as_me:1443: \"$ac_try\"") >&5 1444 (eval $ac_try) 2>&5 1445 ac_status=$? 1446 echo "$as_me:1446: \$? = $ac_status" >&5 1898 { ac_try='test -z "$ac_c_werror_flag" 1899 || test ! -s conftest.err' 1900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1901 (eval $ac_try) 2>&5 1902 ac_status=$? 1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1904 (exit $ac_status); }; } && 1905 { ac_try='test -s conftest.$ac_objext' 1906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1907 (eval $ac_try) 2>&5 1908 ac_status=$? 1909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1447 1910 (exit $ac_status); }; }; then 1448 1911 ac_compiler_gnu=yes 1449 1912 else 1450 1913 echo "$as_me: failed program was:" >&5 1451 cat conftest.$ac_ext >&5 1914 sed 's/^/| /' conftest.$ac_ext >&5 1915 1452 1916 ac_compiler_gnu=no 1453 1917 fi 1454 rm -f conftest. $ac_objext conftest.$ac_ext1918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1455 1919 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1456 1920 1457 1921 fi 1458 echo "$as_me: 1458: result: $ac_cv_c_compiler_gnu" >&51922 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 1459 1923 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1460 1924 GCC=`test $ac_compiler_gnu = yes && echo yes` … … 1462 1926 ac_save_CFLAGS=$CFLAGS 1463 1927 CFLAGS="-g" 1464 echo "$as_me: 1464: checking whether $CC accepts -g" >&51928 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1465 1929 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1466 1930 if test "${ac_cv_prog_cc_g+set}" = set; then … … 1468 1932 else 1469 1933 cat >conftest.$ac_ext <<_ACEOF 1470 #line 1470 "configure" 1471 #include "confdefs.h" 1934 /* confdefs.h. */ 1935 _ACEOF 1936 cat confdefs.h >>conftest.$ac_ext 1937 cat >>conftest.$ac_ext <<_ACEOF 1938 /* end confdefs.h. */ 1472 1939 1473 1940 int … … 1480 1947 _ACEOF 1481 1948 rm -f conftest.$ac_objext 1482 if { (eval echo "$as_me:1482: \"$ac_compile\"") >&5 1483 (eval $ac_compile) 2>&5 1484 ac_status=$? 1485 echo "$as_me:1485: \$? = $ac_status" >&5 1949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1950 (eval $ac_compile) 2>conftest.er1 1951 ac_status=$? 1952 grep -v '^ *+' conftest.er1 >conftest.err 1953 rm -f conftest.er1 1954 cat conftest.err >&5 1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1486 1956 (exit $ac_status); } && 1487 { ac_try='test -s conftest.$ac_objext' 1488 { (eval echo "$as_me:1488: \"$ac_try\"") >&5 1489 (eval $ac_try) 2>&5 1490 ac_status=$? 1491 echo "$as_me:1491: \$? = $ac_status" >&5 1957 { ac_try='test -z "$ac_c_werror_flag" 1958 || test ! -s conftest.err' 1959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1960 (eval $ac_try) 2>&5 1961 ac_status=$? 1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1963 (exit $ac_status); }; } && 1964 { ac_try='test -s conftest.$ac_objext' 1965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1966 (eval $ac_try) 2>&5 1967 ac_status=$? 1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1492 1969 (exit $ac_status); }; }; then 1493 1970 ac_cv_prog_cc_g=yes 1494 1971 else 1495 1972 echo "$as_me: failed program was:" >&5 1496 cat conftest.$ac_ext >&5 1973 sed 's/^/| /' conftest.$ac_ext >&5 1974 1497 1975 ac_cv_prog_cc_g=no 1498 1976 fi 1499 rm -f conftest. $ac_objext conftest.$ac_ext1500 fi 1501 echo "$as_me: 1501: result: $ac_cv_prog_cc_g" >&51977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1978 fi 1979 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1502 1980 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1503 1981 if test "$ac_test_CFLAGS" = set; then … … 1516 1994 fi 1517 1995 fi 1518 # Some people use a C++ compiler to compile C. Since we use `exit', 1519 # in C++ we need to declare it. In case someone uses the same compiler 1520 # for both compiling C and C++ we need to have the C++ compiler decide 1521 # the declaration of exit, since it's the most demanding environment. 1522 cat >conftest.$ac_ext <<_ACEOF 1523 #ifndef __cplusplus 1524 choke me 1525 #endif 1526 _ACEOF 1527 rm -f conftest.$ac_objext 1528 if { (eval echo "$as_me:1528: \"$ac_compile\"") >&5 1529 (eval $ac_compile) 2>&5 1530 ac_status=$? 1531 echo "$as_me:1531: \$? = $ac_status" >&5 1532 (exit $ac_status); } && 1533 { ac_try='test -s conftest.$ac_objext' 1534 { (eval echo "$as_me:1534: \"$ac_try\"") >&5 1535 (eval $ac_try) 2>&5 1536 ac_status=$? 1537 echo "$as_me:1537: \$? = $ac_status" >&5 1538 (exit $ac_status); }; }; then 1539 for ac_declaration in \ 1540 ''\ 1541 '#include <stdlib.h>' \ 1542 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1543 'extern "C" void std::exit (int); using std::exit;' \ 1544 'extern "C" void exit (int) throw ();' \ 1545 'extern "C" void exit (int);' \ 1546 'void exit (int);' 1547 do 1548 cat >conftest.$ac_ext <<_ACEOF 1549 #line 1549 "configure" 1550 #include "confdefs.h" 1551 #include <stdlib.h> 1552 $ac_declaration 1553 int 1554 main () 1555 { 1556 exit (42); 1557 ; 1558 return 0; 1559 } 1560 _ACEOF 1561 rm -f conftest.$ac_objext 1562 if { (eval echo "$as_me:1562: \"$ac_compile\"") >&5 1563 (eval $ac_compile) 2>&5 1564 ac_status=$? 1565 echo "$as_me:1565: \$? = $ac_status" >&5 1566 (exit $ac_status); } && 1567 { ac_try='test -s conftest.$ac_objext' 1568 { (eval echo "$as_me:1568: \"$ac_try\"") >&5 1569 (eval $ac_try) 2>&5 1570 ac_status=$? 1571 echo "$as_me:1571: \$? = $ac_status" >&5 1572 (exit $ac_status); }; }; then 1573 : 1574 else 1575 echo "$as_me: failed program was:" >&5 1576 cat conftest.$ac_ext >&5 1577 continue 1578 fi 1579 rm -f conftest.$ac_objext conftest.$ac_ext 1580 cat >conftest.$ac_ext <<_ACEOF 1581 #line 1581 "configure" 1582 #include "confdefs.h" 1583 $ac_declaration 1584 int 1585 main () 1586 { 1587 exit (42); 1588 ; 1589 return 0; 1590 } 1591 _ACEOF 1592 rm -f conftest.$ac_objext 1593 if { (eval echo "$as_me:1593: \"$ac_compile\"") >&5 1594 (eval $ac_compile) 2>&5 1595 ac_status=$? 1596 echo "$as_me:1596: \$? = $ac_status" >&5 1597 (exit $ac_status); } && 1598 { ac_try='test -s conftest.$ac_objext' 1599 { (eval echo "$as_me:1599: \"$ac_try\"") >&5 1600 (eval $ac_try) 2>&5 1601 ac_status=$? 1602 echo "$as_me:1602: \$? = $ac_status" >&5 1603 (exit $ac_status); }; }; then 1604 break 1605 else 1606 echo "$as_me: failed program was:" >&5 1607 cat conftest.$ac_ext >&5 1608 fi 1609 rm -f conftest.$ac_objext conftest.$ac_ext 1610 done 1611 echo '#ifdef __cplusplus' >>confdefs.h 1612 echo $ac_declaration >>confdefs.h 1613 echo '#endif' >>confdefs.h 1614 1615 else 1616 echo "$as_me: failed program was:" >&5 1617 cat conftest.$ac_ext >&5 1618 fi 1619 rm -f conftest.$ac_objext conftest.$ac_ext 1620 ac_ext=c 1621 ac_cpp='$CPP $CPPFLAGS' 1622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1624 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1625 1626 ac_ext=cc 1627 ac_cpp='$CXXCPP $CPPFLAGS' 1628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1631 if test -n "$ac_tool_prefix"; then 1632 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC 1633 do 1634 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1635 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1636 echo "$as_me:1636: checking for $ac_word" >&5 1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1638 if test "${ac_cv_prog_CXX+set}" = set; then 1639 echo $ECHO_N "(cached) $ECHO_C" >&6 1640 else 1641 if test -n "$CXX"; then 1642 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1643 else 1644 ac_save_IFS=$IFS; IFS=$ac_path_separator 1645 ac_dummy="$PATH" 1646 for ac_dir in $ac_dummy; do 1647 IFS=$ac_save_IFS 1648 test -z "$ac_dir" && ac_dir=. 1649 $as_executable_p "$ac_dir/$ac_word" || continue 1650 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1651 echo "$as_me:1651: found $ac_dir/$ac_word" >&5 1652 break 1653 done 1654 1655 fi 1656 fi 1657 CXX=$ac_cv_prog_CXX 1658 if test -n "$CXX"; then 1659 echo "$as_me:1659: result: $CXX" >&5 1660 echo "${ECHO_T}$CXX" >&6 1661 else 1662 echo "$as_me:1662: result: no" >&5 1663 echo "${ECHO_T}no" >&6 1664 fi 1665 1666 test -n "$CXX" && break 1667 done 1668 fi 1669 if test -z "$CXX"; then 1670 ac_ct_CXX=$CXX 1671 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC 1672 do 1673 # Extract the first word of "$ac_prog", so it can be a program name with args. 1674 set dummy $ac_prog; ac_word=$2 1675 echo "$as_me:1675: checking for $ac_word" >&5 1676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1677 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 1678 echo $ECHO_N "(cached) $ECHO_C" >&6 1679 else 1680 if test -n "$ac_ct_CXX"; then 1681 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1682 else 1683 ac_save_IFS=$IFS; IFS=$ac_path_separator 1684 ac_dummy="$PATH" 1685 for ac_dir in $ac_dummy; do 1686 IFS=$ac_save_IFS 1687 test -z "$ac_dir" && ac_dir=. 1688 $as_executable_p "$ac_dir/$ac_word" || continue 1689 ac_cv_prog_ac_ct_CXX="$ac_prog" 1690 echo "$as_me:1690: found $ac_dir/$ac_word" >&5 1691 break 1692 done 1693 1694 fi 1695 fi 1696 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1697 if test -n "$ac_ct_CXX"; then 1698 echo "$as_me:1698: result: $ac_ct_CXX" >&5 1699 echo "${ECHO_T}$ac_ct_CXX" >&6 1700 else 1701 echo "$as_me:1701: result: no" >&5 1702 echo "${ECHO_T}no" >&6 1703 fi 1704 1705 test -n "$ac_ct_CXX" && break 1706 done 1707 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1708 1709 CXX=$ac_ct_CXX 1710 fi 1711 1712 echo "$as_me:1712: checking whether we are using the GNU C++ compiler" >&5 1713 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1714 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 1715 echo $ECHO_N "(cached) $ECHO_C" >&6 1716 else 1717 cat >conftest.$ac_ext <<_ACEOF 1718 #line 1718 "configure" 1719 #include "confdefs.h" 1720 1721 int 1722 main () 1723 { 1724 #ifndef __GNUC__ 1725 choke me 1726 #endif 1727 1728 ; 1729 return 0; 1730 } 1731 _ACEOF 1732 rm -f conftest.$ac_objext 1733 if { (eval echo "$as_me:1733: \"$ac_compile\"") >&5 1734 (eval $ac_compile) 2>&5 1735 ac_status=$? 1736 echo "$as_me:1736: \$? = $ac_status" >&5 1737 (exit $ac_status); } && 1738 { ac_try='test -s conftest.$ac_objext' 1739 { (eval echo "$as_me:1739: \"$ac_try\"") >&5 1740 (eval $ac_try) 2>&5 1741 ac_status=$? 1742 echo "$as_me:1742: \$? = $ac_status" >&5 1743 (exit $ac_status); }; }; then 1744 ac_compiler_gnu=yes 1745 else 1746 echo "$as_me: failed program was:" >&5 1747 cat conftest.$ac_ext >&5 1748 ac_compiler_gnu=no 1749 fi 1750 rm -f conftest.$ac_objext conftest.$ac_ext 1751 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1752 1753 fi 1754 echo "$as_me:1754: result: $ac_cv_cxx_compiler_gnu" >&5 1755 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1756 GXX=`test $ac_compiler_gnu = yes && echo yes` 1757 ac_test_CXXFLAGS=${CXXFLAGS+set} 1758 ac_save_CXXFLAGS=$CXXFLAGS 1759 CXXFLAGS="-g" 1760 echo "$as_me:1760: checking whether $CXX accepts -g" >&5 1761 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1762 if test "${ac_cv_prog_cxx_g+set}" = set; then 1763 echo $ECHO_N "(cached) $ECHO_C" >&6 1764 else 1765 cat >conftest.$ac_ext <<_ACEOF 1766 #line 1766 "configure" 1767 #include "confdefs.h" 1768 1769 int 1770 main () 1771 { 1772 1773 ; 1774 return 0; 1775 } 1776 _ACEOF 1777 rm -f conftest.$ac_objext 1778 if { (eval echo "$as_me:1778: \"$ac_compile\"") >&5 1779 (eval $ac_compile) 2>&5 1780 ac_status=$? 1781 echo "$as_me:1781: \$? = $ac_status" >&5 1782 (exit $ac_status); } && 1783 { ac_try='test -s conftest.$ac_objext' 1784 { (eval echo "$as_me:1784: \"$ac_try\"") >&5 1785 (eval $ac_try) 2>&5 1786 ac_status=$? 1787 echo "$as_me:1787: \$? = $ac_status" >&5 1788 (exit $ac_status); }; }; then 1789 ac_cv_prog_cxx_g=yes 1790 else 1791 echo "$as_me: failed program was:" >&5 1792 cat conftest.$ac_ext >&5 1793 ac_cv_prog_cxx_g=no 1794 fi 1795 rm -f conftest.$ac_objext conftest.$ac_ext 1796 fi 1797 echo "$as_me:1797: result: $ac_cv_prog_cxx_g" >&5 1798 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1799 if test "$ac_test_CXXFLAGS" = set; then 1800 CXXFLAGS=$ac_save_CXXFLAGS 1801 elif test $ac_cv_prog_cxx_g = yes; then 1802 if test "$GXX" = yes; then 1803 CXXFLAGS="-g -O2" 1804 else 1805 CXXFLAGS="-g" 1806 fi 1807 else 1808 if test "$GXX" = yes; then 1809 CXXFLAGS="-O2" 1810 else 1811 CXXFLAGS= 1812 fi 1813 fi 1814 for ac_declaration in \ 1815 ''\ 1816 '#include <stdlib.h>' \ 1817 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1818 'extern "C" void std::exit (int); using std::exit;' \ 1819 'extern "C" void exit (int) throw ();' \ 1820 'extern "C" void exit (int);' \ 1821 'void exit (int);' 1822 do 1823 cat >conftest.$ac_ext <<_ACEOF 1824 #line 1824 "configure" 1825 #include "confdefs.h" 1826 #include <stdlib.h> 1827 $ac_declaration 1828 int 1829 main () 1830 { 1831 exit (42); 1832 ; 1833 return 0; 1834 } 1835 _ACEOF 1836 rm -f conftest.$ac_objext 1837 if { (eval echo "$as_me:1837: \"$ac_compile\"") >&5 1838 (eval $ac_compile) 2>&5 1839 ac_status=$? 1840 echo "$as_me:1840: \$? = $ac_status" >&5 1841 (exit $ac_status); } && 1842 { ac_try='test -s conftest.$ac_objext' 1843 { (eval echo "$as_me:1843: \"$ac_try\"") >&5 1844 (eval $ac_try) 2>&5 1845 ac_status=$? 1846 echo "$as_me:1846: \$? = $ac_status" >&5 1847 (exit $ac_status); }; }; then 1848 : 1849 else 1850 echo "$as_me: failed program was:" >&5 1851 cat conftest.$ac_ext >&5 1852 continue 1853 fi 1854 rm -f conftest.$ac_objext conftest.$ac_ext 1855 cat >conftest.$ac_ext <<_ACEOF 1856 #line 1856 "configure" 1857 #include "confdefs.h" 1858 $ac_declaration 1859 int 1860 main () 1861 { 1862 exit (42); 1863 ; 1864 return 0; 1865 } 1866 _ACEOF 1867 rm -f conftest.$ac_objext 1868 if { (eval echo "$as_me:1868: \"$ac_compile\"") >&5 1869 (eval $ac_compile) 2>&5 1870 ac_status=$? 1871 echo "$as_me:1871: \$? = $ac_status" >&5 1872 (exit $ac_status); } && 1873 { ac_try='test -s conftest.$ac_objext' 1874 { (eval echo "$as_me:1874: \"$ac_try\"") >&5 1875 (eval $ac_try) 2>&5 1876 ac_status=$? 1877 echo "$as_me:1877: \$? = $ac_status" >&5 1878 (exit $ac_status); }; }; then 1879 break 1880 else 1881 echo "$as_me: failed program was:" >&5 1882 cat conftest.$ac_ext >&5 1883 fi 1884 rm -f conftest.$ac_objext conftest.$ac_ext 1885 done 1886 echo '#ifdef __cplusplus' >>confdefs.h 1887 echo $ac_declaration >>confdefs.h 1888 echo '#endif' >>confdefs.h 1889 1890 ac_ext=c 1891 ac_cpp='$CPP $CPPFLAGS' 1892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1894 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1895 1896 for ac_prog in mawk gawk nawk awk 1897 do 1898 # Extract the first word of "$ac_prog", so it can be a program name with args. 1899 set dummy $ac_prog; ac_word=$2 1900 echo "$as_me:1900: checking for $ac_word" >&5 1901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1902 if test "${ac_cv_prog_AWK+set}" = set; then 1903 echo $ECHO_N "(cached) $ECHO_C" >&6 1904 else 1905 if test -n "$AWK"; then 1906 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1907 else 1908 ac_save_IFS=$IFS; IFS=$ac_path_separator 1909 ac_dummy="$PATH" 1910 for ac_dir in $ac_dummy; do 1911 IFS=$ac_save_IFS 1912 test -z "$ac_dir" && ac_dir=. 1913 $as_executable_p "$ac_dir/$ac_word" || continue 1914 ac_cv_prog_AWK="$ac_prog" 1915 echo "$as_me:1915: found $ac_dir/$ac_word" >&5 1916 break 1917 done 1918 1919 fi 1920 fi 1921 AWK=$ac_cv_prog_AWK 1922 if test -n "$AWK"; then 1923 echo "$as_me:1923: result: $AWK" >&5 1924 echo "${ECHO_T}$AWK" >&6 1925 else 1926 echo "$as_me:1926: result: no" >&5 1927 echo "${ECHO_T}no" >&6 1928 fi 1929 1930 test -n "$AWK" && break 1931 done 1932 1933 for ac_prog in 'bison -y' byacc 1934 do 1935 # Extract the first word of "$ac_prog", so it can be a program name with args. 1936 set dummy $ac_prog; ac_word=$2 1937 echo "$as_me:1937: checking for $ac_word" >&5 1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1939 if test "${ac_cv_prog_YACC+set}" = set; then 1940 echo $ECHO_N "(cached) $ECHO_C" >&6 1941 else 1942 if test -n "$YACC"; then 1943 ac_cv_prog_YACC="$YACC" # Let the user override the test. 1944 else 1945 ac_save_IFS=$IFS; IFS=$ac_path_separator 1946 ac_dummy="$PATH" 1947 for ac_dir in $ac_dummy; do 1948 IFS=$ac_save_IFS 1949 test -z "$ac_dir" && ac_dir=. 1950 $as_executable_p "$ac_dir/$ac_word" || continue 1951 ac_cv_prog_YACC="$ac_prog" 1952 echo "$as_me:1952: found $ac_dir/$ac_word" >&5 1953 break 1954 done 1955 1956 fi 1957 fi 1958 YACC=$ac_cv_prog_YACC 1959 if test -n "$YACC"; then 1960 echo "$as_me:1960: result: $YACC" >&5 1961 echo "${ECHO_T}$YACC" >&6 1962 else 1963 echo "$as_me:1963: result: no" >&5 1964 echo "${ECHO_T}no" >&6 1965 fi 1966 1967 test -n "$YACC" && break 1968 done 1969 test -n "$YACC" || YACC="yacc" 1970 1971 ac_aux_dir= 1972 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1973 if test -f $ac_dir/install-sh; then 1974 ac_aux_dir=$ac_dir 1975 ac_install_sh="$ac_aux_dir/install-sh -c" 1976 break 1977 elif test -f $ac_dir/install.sh; then 1978 ac_aux_dir=$ac_dir 1979 ac_install_sh="$ac_aux_dir/install.sh -c" 1980 break 1981 elif test -f $ac_dir/shtool; then 1982 ac_aux_dir=$ac_dir 1983 ac_install_sh="$ac_aux_dir/shtool install -c" 1984 break 1985 fi 1986 done 1987 if test -z "$ac_aux_dir"; then 1988 { { echo "$as_me:1988: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1989 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1990 { (exit 1); exit 1; }; } 1991 fi 1992 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1993 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1994 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1995 1996 # Make sure we can run config.sub. 1997 $ac_config_sub sun4 >/dev/null 2>&1 || 1998 { { echo "$as_me:1998: error: cannot run $ac_config_sub" >&5 1999 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 2000 { (exit 1); exit 1; }; } 2001 2002 echo "$as_me:2002: checking build system type" >&5 2003 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2004 if test "${ac_cv_build+set}" = set; then 2005 echo $ECHO_N "(cached) $ECHO_C" >&6 2006 else 2007 ac_cv_build_alias=$build_alias 2008 test -z "$ac_cv_build_alias" && 2009 ac_cv_build_alias=`$ac_config_guess` 2010 test -z "$ac_cv_build_alias" && 2011 { { echo "$as_me:2011: error: cannot guess build type; you must specify one" >&5 2012 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2013 { (exit 1); exit 1; }; } 2014 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2015 { { echo "$as_me:2015: error: $ac_config_sub $ac_cv_build_alias failed." >&5 2016 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 2017 { (exit 1); exit 1; }; } 2018 2019 fi 2020 echo "$as_me:2020: result: $ac_cv_build" >&5 2021 echo "${ECHO_T}$ac_cv_build" >&6 2022 build=$ac_cv_build 2023 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2024 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2025 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2026 2027 echo "$as_me:2027: checking host system type" >&5 2028 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2029 if test "${ac_cv_host+set}" = set; then 2030 echo $ECHO_N "(cached) $ECHO_C" >&6 2031 else 2032 ac_cv_host_alias=$host_alias 2033 test -z "$ac_cv_host_alias" && 2034 ac_cv_host_alias=$ac_cv_build_alias 2035 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2036 { { echo "$as_me:2036: error: $ac_config_sub $ac_cv_host_alias failed" >&5 2037 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 2038 { (exit 1); exit 1; }; } 2039 2040 fi 2041 echo "$as_me:2041: result: $ac_cv_host" >&5 2042 echo "${ECHO_T}$ac_cv_host" >&6 2043 host=$ac_cv_host 2044 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2045 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2046 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2047 2048 echo "$as_me:2048: checking target system type" >&5 2049 echo $ECHO_N "checking target system type... $ECHO_C" >&6 2050 if test "${ac_cv_target+set}" = set; then 2051 echo $ECHO_N "(cached) $ECHO_C" >&6 2052 else 2053 ac_cv_target_alias=$target_alias 2054 test "x$ac_cv_target_alias" = "x" && 2055 ac_cv_target_alias=$ac_cv_host_alias 2056 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 2057 { { echo "$as_me:2057: error: $ac_config_sub $ac_cv_target_alias failed" >&5 2058 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 2059 { (exit 1); exit 1; }; } 2060 2061 fi 2062 echo "$as_me:2062: result: $ac_cv_target" >&5 2063 echo "${ECHO_T}$ac_cv_target" >&6 2064 target=$ac_cv_target 2065 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2066 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2067 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2068 2069 # The aliases save the names the user supplied, while $host etc. 2070 # will get canonicalized. 2071 test -n "$target_alias" && 2072 test "$program_prefix$program_suffix$program_transform_name" = \ 2073 NONENONEs,x,x, && 2074 program_prefix=${target_alias}- 2075 # Find a good install program. We prefer a C program (faster), 2076 # so one script is as good as another. But avoid the broken or 2077 # incompatible versions: 2078 # SysV /etc/install, /usr/sbin/install 2079 # SunOS /usr/etc/install 2080 # IRIX /sbin/install 2081 # AIX /bin/install 2082 # AmigaOS /C/install, which installs bootblocks on floppy discs 2083 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2084 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2085 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2086 # ./install, which can be erroneously created by make from ./install.sh. 2087 echo "$as_me:2087: checking for a BSD compatible install" >&5 2088 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2089 if test -z "$INSTALL"; then 2090 if test "${ac_cv_path_install+set}" = set; then 2091 echo $ECHO_N "(cached) $ECHO_C" >&6 2092 else 2093 ac_save_IFS=$IFS; IFS=$ac_path_separator 2094 for ac_dir in $PATH; do 2095 IFS=$ac_save_IFS 2096 # Account for people who put trailing slashes in PATH elements. 2097 case $ac_dir/ in 2098 / | ./ | .// | /cC/* \ 2099 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 2100 | /usr/ucb/* ) ;; 2101 *) 2102 # OSF1 and SCO ODT 3.0 have their own names for install. 2103 # Don't use installbsd from OSF since it installs stuff as root 2104 # by default. 2105 for ac_prog in ginstall scoinst install; do 2106 if $as_executable_p "$ac_dir/$ac_prog"; then 2107 if test $ac_prog = install && 2108 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2109 # AIX install. It has an incompatible calling convention. 2110 : 2111 elif test $ac_prog = install && 2112 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2113 # program-specific install script used by HP pwplus--don't use. 2114 : 2115 else 2116 ac_cv_path_install="$ac_dir/$ac_prog -c" 2117 break 2 2118 fi 2119 fi 2120 done 2121 ;; 2122 esac 2123 done 2124 2125 fi 2126 if test "${ac_cv_path_install+set}" = set; then 2127 INSTALL=$ac_cv_path_install 2128 else 2129 # As a last resort, use the slow shell script. We don't cache a 2130 # path for INSTALL within a source directory, because that will 2131 # break other packages using the cache if that directory is 2132 # removed, or if the path is relative. 2133 INSTALL=$ac_install_sh 2134 fi 2135 fi 2136 echo "$as_me:2136: result: $INSTALL" >&5 2137 echo "${ECHO_T}$INSTALL" >&6 2138 2139 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2140 # It thinks the first close brace ends the variable substitution. 2141 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2142 2143 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2144 2145 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2146 2147 echo "$as_me:2147: checking whether ln -s works" >&5 2148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2149 LN_S=$as_ln_s 2150 if test "$LN_S" = "ln -s"; then 2151 echo "$as_me:2151: result: yes" >&5 2152 echo "${ECHO_T}yes" >&6 2153 else 2154 echo "$as_me:2154: result: no, using $LN_S" >&5 2155 echo "${ECHO_T}no, using $LN_S" >&6 2156 fi 2157 2158 echo "$as_me:2158: checking whether ${MAKE-make} sets \${MAKE}" >&5 2159 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 2160 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 2161 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2162 echo $ECHO_N "(cached) $ECHO_C" >&6 2163 else 2164 cat >conftest.make <<\EOF 2165 all: 2166 @echo 'ac_maketemp="${MAKE}"' 2167 EOF 2168 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2169 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 2170 if test -n "$ac_maketemp"; then 2171 eval ac_cv_prog_make_${ac_make}_set=yes 2172 else 2173 eval ac_cv_prog_make_${ac_make}_set=no 2174 fi 2175 rm -f conftest.make 2176 fi 2177 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 2178 echo "$as_me:2178: result: yes" >&5 2179 echo "${ECHO_T}yes" >&6 2180 SET_MAKE= 2181 else 2182 echo "$as_me:2182: result: no" >&5 2183 echo "${ECHO_T}no" >&6 2184 SET_MAKE="MAKE=${MAKE-make}" 2185 fi 2186 2187 if test -n "$ac_tool_prefix"; then 2188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2189 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2190 echo "$as_me:2190: checking for $ac_word" >&5 2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2192 if test "${ac_cv_prog_RANLIB+set}" = set; then 2193 echo $ECHO_N "(cached) $ECHO_C" >&6 2194 else 2195 if test -n "$RANLIB"; then 2196 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2197 else 2198 ac_save_IFS=$IFS; IFS=$ac_path_separator 2199 ac_dummy="$PATH" 2200 for ac_dir in $ac_dummy; do 2201 IFS=$ac_save_IFS 2202 test -z "$ac_dir" && ac_dir=. 2203 $as_executable_p "$ac_dir/$ac_word" || continue 2204 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2205 echo "$as_me:2205: found $ac_dir/$ac_word" >&5 2206 break 2207 done 2208 2209 fi 2210 fi 2211 RANLIB=$ac_cv_prog_RANLIB 2212 if test -n "$RANLIB"; then 2213 echo "$as_me:2213: result: $RANLIB" >&5 2214 echo "${ECHO_T}$RANLIB" >&6 2215 else 2216 echo "$as_me:2216: result: no" >&5 2217 echo "${ECHO_T}no" >&6 2218 fi 2219 2220 fi 2221 if test -z "$ac_cv_prog_RANLIB"; then 2222 ac_ct_RANLIB=$RANLIB 2223 # Extract the first word of "ranlib", so it can be a program name with args. 2224 set dummy ranlib; ac_word=$2 2225 echo "$as_me:2225: checking for $ac_word" >&5 2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2227 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2228 echo $ECHO_N "(cached) $ECHO_C" >&6 2229 else 2230 if test -n "$ac_ct_RANLIB"; then 2231 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2232 else 2233 ac_save_IFS=$IFS; IFS=$ac_path_separator 2234 ac_dummy="$PATH" 2235 for ac_dir in $ac_dummy; do 2236 IFS=$ac_save_IFS 2237 test -z "$ac_dir" && ac_dir=. 2238 $as_executable_p "$ac_dir/$ac_word" || continue 2239 ac_cv_prog_ac_ct_RANLIB="ranlib" 2240 echo "$as_me:2240: found $ac_dir/$ac_word" >&5 2241 break 2242 done 2243 2244 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 2245 fi 2246 fi 2247 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2248 if test -n "$ac_ct_RANLIB"; then 2249 echo "$as_me:2249: result: $ac_ct_RANLIB" >&5 2250 echo "${ECHO_T}$ac_ct_RANLIB" >&6 2251 else 2252 echo "$as_me:2252: result: no" >&5 2253 echo "${ECHO_T}no" >&6 2254 fi 2255 2256 RANLIB=$ac_ct_RANLIB 2257 else 2258 RANLIB="$ac_cv_prog_RANLIB" 2259 fi 2260 2261 ac_ext=c 2262 ac_cpp='$CPP $CPPFLAGS' 2263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2265 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2266 echo "$as_me:2266: checking how to run the C preprocessor" >&5 2267 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2268 # On Suns, sometimes $CPP names a directory. 2269 if test -n "$CPP" && test -d "$CPP"; then 2270 CPP= 2271 fi 2272 if test -z "$CPP"; then 2273 if test "${ac_cv_prog_CPP+set}" = set; then 2274 echo $ECHO_N "(cached) $ECHO_C" >&6 2275 else 2276 # Double quotes because CPP needs to be expanded 2277 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2278 do 2279 # break 2 since there is a loop in there. 2280 ac_preproc_ok=false 2281 for ac_c_preproc_warn_flag in '' yes 2282 do 2283 # Use a header file that comes with gcc, so configuring glibc 2284 # with a fresh cross-compiler works. 2285 # On the NeXT, cc -E runs the code through the compiler's parser, 2286 # not just through cpp. "Syntax error" is here to catch this case. 2287 cat >conftest.$ac_ext <<_ACEOF 2288 #line 2288 "configure" 2289 #include "confdefs.h" 2290 #include <assert.h> 2291 Syntax error 2292 _ACEOF 2293 if { (eval echo "$as_me:2293: \"$ac_cpp conftest.$ac_ext\"") >&5 2294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2295 ac_status=$? 2296 egrep -v '^ *\+' conftest.er1 >conftest.err 2297 rm -f conftest.er1 2298 cat conftest.err >&5 2299 echo "$as_me:2299: \$? = $ac_status" >&5 2300 (exit $ac_status); } >/dev/null; then 2301 if test -s conftest.err; then 2302 ac_cpp_err=$ac_c_preproc_warn_flag 2303 else 2304 ac_cpp_err= 2305 fi 2306 else 2307 ac_cpp_err=yes 2308 fi 2309 if test -z "$ac_cpp_err"; then 2310 : 2311 else 2312 echo "$as_me: failed program was:" >&5 2313 cat conftest.$ac_ext >&5 2314 # Broken: fails on valid input. 2315 continue 2316 fi 2317 rm -f conftest.err conftest.$ac_ext 2318 2319 # OK, works on sane cases. Now check whether non-existent headers 2320 # can be detected and how. 2321 cat >conftest.$ac_ext <<_ACEOF 2322 #line 2322 "configure" 2323 #include "confdefs.h" 2324 #include <ac_nonexistent.h> 2325 _ACEOF 2326 if { (eval echo "$as_me:2326: \"$ac_cpp conftest.$ac_ext\"") >&5 2327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2328 ac_status=$? 2329 egrep -v '^ *\+' conftest.er1 >conftest.err 2330 rm -f conftest.er1 2331 cat conftest.err >&5 2332 echo "$as_me:2332: \$? = $ac_status" >&5 2333 (exit $ac_status); } >/dev/null; then 2334 if test -s conftest.err; then 2335 ac_cpp_err=$ac_c_preproc_warn_flag 2336 else 2337 ac_cpp_err= 2338 fi 2339 else 2340 ac_cpp_err=yes 2341 fi 2342 if test -z "$ac_cpp_err"; then 2343 # Broken: success on invalid input. 2344 continue 2345 else 2346 echo "$as_me: failed program was:" >&5 2347 cat conftest.$ac_ext >&5 2348 # Passes both tests. 2349 ac_preproc_ok=: 2350 break 2351 fi 2352 rm -f conftest.err conftest.$ac_ext 2353 2354 done 2355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2356 rm -f conftest.err conftest.$ac_ext 2357 if $ac_preproc_ok; then 2358 break 2 2359 fi 2360 2361 done 2362 ac_cv_prog_CPP=$CPP 2363 2364 fi 2365 CPP=$ac_cv_prog_CPP 2366 else 2367 ac_cv_prog_CPP=$CPP 2368 fi 2369 echo "$as_me:2369: result: $CPP" >&5 2370 echo "${ECHO_T}$CPP" >&6 2371 ac_preproc_ok=false 2372 for ac_c_preproc_warn_flag in '' yes 2373 do 2374 # Use a header file that comes with gcc, so configuring glibc 2375 # with a fresh cross-compiler works. 2376 # On the NeXT, cc -E runs the code through the compiler's parser, 2377 # not just through cpp. "Syntax error" is here to catch this case. 2378 cat >conftest.$ac_ext <<_ACEOF 2379 #line 2379 "configure" 2380 #include "confdefs.h" 2381 #include <assert.h> 2382 Syntax error 2383 _ACEOF 2384 if { (eval echo "$as_me:2384: \"$ac_cpp conftest.$ac_ext\"") >&5 2385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2386 ac_status=$? 2387 egrep -v '^ *\+' conftest.er1 >conftest.err 2388 rm -f conftest.er1 2389 cat conftest.err >&5 2390 echo "$as_me:2390: \$? = $ac_status" >&5 2391 (exit $ac_status); } >/dev/null; then 2392 if test -s conftest.err; then 2393 ac_cpp_err=$ac_c_preproc_warn_flag 2394 else 2395 ac_cpp_err= 2396 fi 2397 else 2398 ac_cpp_err=yes 2399 fi 2400 if test -z "$ac_cpp_err"; then 2401 : 2402 else 2403 echo "$as_me: failed program was:" >&5 2404 cat conftest.$ac_ext >&5 2405 # Broken: fails on valid input. 2406 continue 2407 fi 2408 rm -f conftest.err conftest.$ac_ext 2409 2410 # OK, works on sane cases. Now check whether non-existent headers 2411 # can be detected and how. 2412 cat >conftest.$ac_ext <<_ACEOF 2413 #line 2413 "configure" 2414 #include "confdefs.h" 2415 #include <ac_nonexistent.h> 2416 _ACEOF 2417 if { (eval echo "$as_me:2417: \"$ac_cpp conftest.$ac_ext\"") >&5 2418 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2419 ac_status=$? 2420 egrep -v '^ *\+' conftest.er1 >conftest.err 2421 rm -f conftest.er1 2422 cat conftest.err >&5 2423 echo "$as_me:2423: \$? = $ac_status" >&5 2424 (exit $ac_status); } >/dev/null; then 2425 if test -s conftest.err; then 2426 ac_cpp_err=$ac_c_preproc_warn_flag 2427 else 2428 ac_cpp_err= 2429 fi 2430 else 2431 ac_cpp_err=yes 2432 fi 2433 if test -z "$ac_cpp_err"; then 2434 # Broken: success on invalid input. 2435 continue 2436 else 2437 echo "$as_me: failed program was:" >&5 2438 cat conftest.$ac_ext >&5 2439 # Passes both tests. 2440 ac_preproc_ok=: 2441 break 2442 fi 2443 rm -f conftest.err conftest.$ac_ext 2444 2445 done 2446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2447 rm -f conftest.err conftest.$ac_ext 2448 if $ac_preproc_ok; then 2449 : 2450 else 2451 { { echo "$as_me:2451: error: C preprocessor \"$CPP\" fails sanity check" >&5 2452 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2453 { (exit 1); exit 1; }; } 2454 fi 2455 2456 ac_ext=c 2457 ac_cpp='$CPP $CPPFLAGS' 2458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2460 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2461 2462 echo "$as_me:2462: checking for AIX" >&5 2463 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 2464 cat >conftest.$ac_ext <<_ACEOF 2465 #line 2465 "configure" 2466 #include "confdefs.h" 2467 #ifdef _AIX 2468 yes 2469 #endif 2470 2471 _ACEOF 2472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2473 egrep "yes" >/dev/null 2>&1; then 2474 echo "$as_me:2474: result: yes" >&5 2475 echo "${ECHO_T}yes" >&6 2476 cat >>confdefs.h <<\EOF 2477 #define _ALL_SOURCE 1 2478 EOF 2479 2480 else 2481 echo "$as_me:2481: result: no" >&5 2482 echo "${ECHO_T}no" >&6 2483 fi 2484 rm -f conftest* 2485 2486 echo "$as_me:2486: checking for POSIXized ISC" >&5 2487 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6 2488 if test -d /etc/conf/kconfig.d && 2489 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 2490 then 2491 echo "$as_me:2491: result: yes" >&5 2492 echo "${ECHO_T}yes" >&6 2493 ISC=yes # If later tests want to check for ISC. 2494 2495 cat >>confdefs.h <<\EOF 2496 #define _POSIX_SOURCE 1 2497 EOF 2498 2499 if test "$GCC" = yes; then 2500 CC="$CC -posix" 2501 else 2502 CC="$CC -Xp" 2503 fi 2504 else 2505 echo "$as_me:2505: result: no" >&5 2506 echo "${ECHO_T}no" >&6 2507 ISC= 2508 fi 2509 2510 echo "$as_me:2510: checking for minix/config.h" >&5 2511 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 2512 if test "${ac_cv_header_minix_config_h+set}" = set; then 2513 echo $ECHO_N "(cached) $ECHO_C" >&6 2514 else 2515 cat >conftest.$ac_ext <<_ACEOF 2516 #line 2516 "configure" 2517 #include "confdefs.h" 2518 #include <minix/config.h> 2519 _ACEOF 2520 if { (eval echo "$as_me:2520: \"$ac_cpp conftest.$ac_ext\"") >&5 2521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2522 ac_status=$? 2523 egrep -v '^ *\+' conftest.er1 >conftest.err 2524 rm -f conftest.er1 2525 cat conftest.err >&5 2526 echo "$as_me:2526: \$? = $ac_status" >&5 2527 (exit $ac_status); } >/dev/null; then 2528 if test -s conftest.err; then 2529 ac_cpp_err=$ac_c_preproc_warn_flag 2530 else 2531 ac_cpp_err= 2532 fi 2533 else 2534 ac_cpp_err=yes 2535 fi 2536 if test -z "$ac_cpp_err"; then 2537 ac_cv_header_minix_config_h=yes 2538 else 2539 echo "$as_me: failed program was:" >&5 2540 cat conftest.$ac_ext >&5 2541 ac_cv_header_minix_config_h=no 2542 fi 2543 rm -f conftest.err conftest.$ac_ext 2544 fi 2545 echo "$as_me:2545: result: $ac_cv_header_minix_config_h" >&5 2546 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 2547 if test $ac_cv_header_minix_config_h = yes; then 2548 MINIX=yes 2549 else 2550 MINIX= 2551 fi 2552 2553 if test "$MINIX" = yes; then 2554 2555 cat >>confdefs.h <<\EOF 2556 #define _POSIX_SOURCE 1 2557 EOF 2558 2559 cat >>confdefs.h <<\EOF 2560 #define _POSIX_1_SOURCE 2 2561 EOF 2562 2563 cat >>confdefs.h <<\EOF 2564 #define _MINIX 1 2565 EOF 2566 2567 fi 2568 2569 echo "$as_me:2569: checking for ${CC-cc} option to accept ANSI C" >&5 2570 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 2571 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2572 echo $ECHO_N "(cached) $ECHO_C" >&6 2573 else 2574 ac_cv_prog_cc_stdc=no 2575 ac_save_CFLAGS="$CFLAGS" 2576 # Don't try gcc -ansi; that turns off useful extensions and 2577 # breaks some systems' header files. 2578 # AIX -qlanglvl=ansi 2579 # Ultrix and OSF/1 -std1 2580 # HP-UX -Aa -D_HPUX_SOURCE 2581 # SVR4 -Xc 2582 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc 2583 do 2584 CFLAGS="$ac_save_CFLAGS $ac_arg" 2585 cat >conftest.$ac_ext <<_ACEOF 2586 #line 2586 "configure" 2587 #include "confdefs.h" 2588 #if !defined(__STDC__) || __STDC__ != 1 2589 choke me 2590 #endif 2591 2592 int 2593 main () 2594 { 2595 int test (int i, double x); 2596 struct s1 {int (*f) (int a);}; 2597 struct s2 {int (*f) (double a);}; 2598 ; 2599 return 0; 2600 } 2601 _ACEOF 2602 rm -f conftest.$ac_objext 2603 if { (eval echo "$as_me:2603: \"$ac_compile\"") >&5 2604 (eval $ac_compile) 2>&5 2605 ac_status=$? 2606 echo "$as_me:2606: \$? = $ac_status" >&5 2607 (exit $ac_status); } && 2608 { ac_try='test -s conftest.$ac_objext' 2609 { (eval echo "$as_me:2609: \"$ac_try\"") >&5 2610 (eval $ac_try) 2>&5 2611 ac_status=$? 2612 echo "$as_me:2612: \$? = $ac_status" >&5 2613 (exit $ac_status); }; }; then 2614 ac_cv_prog_cc_stdc="$ac_arg"; break 2615 else 2616 echo "$as_me: failed program was:" >&5 2617 cat conftest.$ac_ext >&5 2618 fi 2619 rm -f conftest.$ac_objext conftest.$ac_ext 2620 done 2621 CFLAGS="$ac_save_CFLAGS" 2622 2623 fi 2624 2625 echo "$as_me:2625: result: $ac_cv_prog_cc_stdc" >&5 2626 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2627 case "x$ac_cv_prog_cc_stdc" in 2628 x|xno) ;; 2629 *) CC="$CC $ac_cv_prog_cc_stdc" ;; 2630 esac 2631 2632 echo "$as_me:2632: checking for function prototypes" >&5 2633 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 2634 if test "$ac_cv_prog_cc_stdc" != no; then 2635 echo "$as_me:2635: result: yes" >&5 2636 echo "${ECHO_T}yes" >&6 2637 cat >>confdefs.h <<\EOF 2638 #define PROTOTYPES 1 2639 EOF 2640 2641 U= ANSI2KNR= 2642 else 2643 echo "$as_me:2643: result: no" >&5 2644 echo "${ECHO_T}no" >&6 2645 U=_ ANSI2KNR=ansi2knr 2646 fi 2647 2648 echo "$as_me:2648: checking for $CC option to accept ANSI C" >&5 1996 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2649 1997 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2650 1998 if test "${ac_cv_prog_cc_stdc+set}" = set; then … … 2654 2002 ac_save_CC=$CC 2655 2003 cat >conftest.$ac_ext <<_ACEOF 2656 #line 2656 "configure" 2657 #include "confdefs.h" 2004 /* confdefs.h. */ 2005 _ACEOF 2006 cat confdefs.h >>conftest.$ac_ext 2007 cat >>conftest.$ac_ext <<_ACEOF 2008 /* end confdefs.h. */ 2658 2009 #include <stdarg.h> 2659 2010 #include <stdio.h> … … 2678 2029 return s; 2679 2030 } 2031 2032 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2033 function prototypes and stuff, but not '\xHH' hex character constants. 2034 These don't provoke an error unfortunately, instead are silently treated 2035 as 'x'. The following induces an error, until -std1 is added to get 2036 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2037 array size at least. It's necessary to write '\x00'==0 to get something 2038 that's true only with -std1. */ 2039 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2040 2680 2041 int test (int i, double x); 2681 2042 struct s1 {int (*f) (int a);}; … … 2703 2064 CC="$ac_save_CC $ac_arg" 2704 2065 rm -f conftest.$ac_objext 2705 if { (eval echo "$as_me:2705: \"$ac_compile\"") >&5 2706 (eval $ac_compile) 2>&5 2707 ac_status=$? 2708 echo "$as_me:2708: \$? = $ac_status" >&5 2066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2067 (eval $ac_compile) 2>conftest.er1 2068 ac_status=$? 2069 grep -v '^ *+' conftest.er1 >conftest.err 2070 rm -f conftest.er1 2071 cat conftest.err >&5 2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2709 2073 (exit $ac_status); } && 2710 { ac_try='test -s conftest.$ac_objext' 2711 { (eval echo "$as_me:2711: \"$ac_try\"") >&5 2712 (eval $ac_try) 2>&5 2713 ac_status=$? 2714 echo "$as_me:2714: \$? = $ac_status" >&5 2074 { ac_try='test -z "$ac_c_werror_flag" 2075 || test ! -s conftest.err' 2076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2077 (eval $ac_try) 2>&5 2078 ac_status=$? 2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2080 (exit $ac_status); }; } && 2081 { ac_try='test -s conftest.$ac_objext' 2082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2083 (eval $ac_try) 2>&5 2084 ac_status=$? 2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2715 2086 (exit $ac_status); }; }; then 2716 2087 ac_cv_prog_cc_stdc=$ac_arg … … 2718 2089 else 2719 2090 echo "$as_me: failed program was:" >&5 2720 cat conftest.$ac_ext >&5 2721 fi 2722 rm -f conftest.$ac_objext 2091 sed 's/^/| /' conftest.$ac_ext >&5 2092 2093 fi 2094 rm -f conftest.err conftest.$ac_objext 2723 2095 done 2724 2096 rm -f conftest.$ac_ext conftest.$ac_objext … … 2729 2101 case "x$ac_cv_prog_cc_stdc" in 2730 2102 x|xno) 2731 echo "$as_me: 2731: result: none needed" >&52103 echo "$as_me:$LINENO: result: none needed" >&5 2732 2104 echo "${ECHO_T}none needed" >&6 ;; 2733 2105 *) 2734 echo "$as_me: 2734: result: $ac_cv_prog_cc_stdc" >&52106 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2735 2107 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2736 2108 CC="$CC $ac_cv_prog_cc_stdc" ;; 2737 2109 esac 2738 2110 2739 echo "$as_me:2739: checking for an ANSI C-conforming const" >&5 2111 # Some people use a C++ compiler to compile C. Since we use `exit', 2112 # in C++ we need to declare it. In case someone uses the same compiler 2113 # for both compiling C and C++ we need to have the C++ compiler decide 2114 # the declaration of exit, since it's the most demanding environment. 2115 cat >conftest.$ac_ext <<_ACEOF 2116 #ifndef __cplusplus 2117 choke me 2118 #endif 2119 _ACEOF 2120 rm -f conftest.$ac_objext 2121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2122 (eval $ac_compile) 2>conftest.er1 2123 ac_status=$? 2124 grep -v '^ *+' conftest.er1 >conftest.err 2125 rm -f conftest.er1 2126 cat conftest.err >&5 2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2128 (exit $ac_status); } && 2129 { ac_try='test -z "$ac_c_werror_flag" 2130 || test ! -s conftest.err' 2131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2132 (eval $ac_try) 2>&5 2133 ac_status=$? 2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2135 (exit $ac_status); }; } && 2136 { ac_try='test -s conftest.$ac_objext' 2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2138 (eval $ac_try) 2>&5 2139 ac_status=$? 2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2141 (exit $ac_status); }; }; then 2142 for ac_declaration in \ 2143 '' \ 2144 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2145 'extern "C" void std::exit (int); using std::exit;' \ 2146 'extern "C" void exit (int) throw ();' \ 2147 'extern "C" void exit (int);' \ 2148 'void exit (int);' 2149 do 2150 cat >conftest.$ac_ext <<_ACEOF 2151 /* confdefs.h. */ 2152 _ACEOF 2153 cat confdefs.h >>conftest.$ac_ext 2154 cat >>conftest.$ac_ext <<_ACEOF 2155 /* end confdefs.h. */ 2156 $ac_declaration 2157 #include <stdlib.h> 2158 int 2159 main () 2160 { 2161 exit (42); 2162 ; 2163 return 0; 2164 } 2165 _ACEOF 2166 rm -f conftest.$ac_objext 2167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2168 (eval $ac_compile) 2>conftest.er1 2169 ac_status=$? 2170 grep -v '^ *+' conftest.er1 >conftest.err 2171 rm -f conftest.er1 2172 cat conftest.err >&5 2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2174 (exit $ac_status); } && 2175 { ac_try='test -z "$ac_c_werror_flag" 2176 || test ! -s conftest.err' 2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2178 (eval $ac_try) 2>&5 2179 ac_status=$? 2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2181 (exit $ac_status); }; } && 2182 { ac_try='test -s conftest.$ac_objext' 2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2184 (eval $ac_try) 2>&5 2185 ac_status=$? 2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2187 (exit $ac_status); }; }; then 2188 : 2189 else 2190 echo "$as_me: failed program was:" >&5 2191 sed 's/^/| /' conftest.$ac_ext >&5 2192 2193 continue 2194 fi 2195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2196 cat >conftest.$ac_ext <<_ACEOF 2197 /* confdefs.h. */ 2198 _ACEOF 2199 cat confdefs.h >>conftest.$ac_ext 2200 cat >>conftest.$ac_ext <<_ACEOF 2201 /* end confdefs.h. */ 2202 $ac_declaration 2203 int 2204 main () 2205 { 2206 exit (42); 2207 ; 2208 return 0; 2209 } 2210 _ACEOF 2211 rm -f conftest.$ac_objext 2212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2213 (eval $ac_compile) 2>conftest.er1 2214 ac_status=$? 2215 grep -v '^ *+' conftest.er1 >conftest.err 2216 rm -f conftest.er1 2217 cat conftest.err >&5 2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2219 (exit $ac_status); } && 2220 { ac_try='test -z "$ac_c_werror_flag" 2221 || test ! -s conftest.err' 2222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2223 (eval $ac_try) 2>&5 2224 ac_status=$? 2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2226 (exit $ac_status); }; } && 2227 { ac_try='test -s conftest.$ac_objext' 2228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2229 (eval $ac_try) 2>&5 2230 ac_status=$? 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2232 (exit $ac_status); }; }; then 2233 break 2234 else 2235 echo "$as_me: failed program was:" >&5 2236 sed 's/^/| /' conftest.$ac_ext >&5 2237 2238 fi 2239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2240 done 2241 rm -f conftest* 2242 if test -n "$ac_declaration"; then 2243 echo '#ifdef __cplusplus' >>confdefs.h 2244 echo $ac_declaration >>confdefs.h 2245 echo '#endif' >>confdefs.h 2246 fi 2247 2248 else 2249 echo "$as_me: failed program was:" >&5 2250 sed 's/^/| /' conftest.$ac_ext >&5 2251 2252 fi 2253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2254 ac_ext=c 2255 ac_cpp='$CPP $CPPFLAGS' 2256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2258 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2259 2260 ac_ext=cc 2261 ac_cpp='$CXXCPP $CPPFLAGS' 2262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2265 if test -n "$ac_tool_prefix"; then 2266 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2267 do 2268 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2269 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2270 echo "$as_me:$LINENO: checking for $ac_word" >&5 2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2272 if test "${ac_cv_prog_CXX+set}" = set; then 2273 echo $ECHO_N "(cached) $ECHO_C" >&6 2274 else 2275 if test -n "$CXX"; then 2276 ac_cv_prog_CXX="$CXX" # Let the user override the test. 2277 else 2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2279 for as_dir in $PATH 2280 do 2281 IFS=$as_save_IFS 2282 test -z "$as_dir" && as_dir=. 2283 for ac_exec_ext in '' $ac_executable_extensions; do 2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2285 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2287 break 2 2288 fi 2289 done 2290 done 2291 2292 fi 2293 fi 2294 CXX=$ac_cv_prog_CXX 2295 if test -n "$CXX"; then 2296 echo "$as_me:$LINENO: result: $CXX" >&5 2297 echo "${ECHO_T}$CXX" >&6 2298 else 2299 echo "$as_me:$LINENO: result: no" >&5 2300 echo "${ECHO_T}no" >&6 2301 fi 2302 2303 test -n "$CXX" && break 2304 done 2305 fi 2306 if test -z "$CXX"; then 2307 ac_ct_CXX=$CXX 2308 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2309 do 2310 # Extract the first word of "$ac_prog", so it can be a program name with args. 2311 set dummy $ac_prog; ac_word=$2 2312 echo "$as_me:$LINENO: checking for $ac_word" >&5 2313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2314 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2315 echo $ECHO_N "(cached) $ECHO_C" >&6 2316 else 2317 if test -n "$ac_ct_CXX"; then 2318 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2319 else 2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2321 for as_dir in $PATH 2322 do 2323 IFS=$as_save_IFS 2324 test -z "$as_dir" && as_dir=. 2325 for ac_exec_ext in '' $ac_executable_extensions; do 2326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2327 ac_cv_prog_ac_ct_CXX="$ac_prog" 2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2329 break 2 2330 fi 2331 done 2332 done 2333 2334 fi 2335 fi 2336 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2337 if test -n "$ac_ct_CXX"; then 2338 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2339 echo "${ECHO_T}$ac_ct_CXX" >&6 2340 else 2341 echo "$as_me:$LINENO: result: no" >&5 2342 echo "${ECHO_T}no" >&6 2343 fi 2344 2345 test -n "$ac_ct_CXX" && break 2346 done 2347 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2348 2349 CXX=$ac_ct_CXX 2350 fi 2351 2352 2353 # Provide some information about the compiler. 2354 echo "$as_me:$LINENO:" \ 2355 "checking for C++ compiler version" >&5 2356 ac_compiler=`set X $ac_compile; echo $2` 2357 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2358 (eval $ac_compiler --version </dev/null >&5) 2>&5 2359 ac_status=$? 2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2361 (exit $ac_status); } 2362 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2363 (eval $ac_compiler -v </dev/null >&5) 2>&5 2364 ac_status=$? 2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2366 (exit $ac_status); } 2367 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2368 (eval $ac_compiler -V </dev/null >&5) 2>&5 2369 ac_status=$? 2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2371 (exit $ac_status); } 2372 2373 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2374 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2375 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2376 echo $ECHO_N "(cached) $ECHO_C" >&6 2377 else 2378 cat >conftest.$ac_ext <<_ACEOF 2379 /* confdefs.h. */ 2380 _ACEOF 2381 cat confdefs.h >>conftest.$ac_ext 2382 cat >>conftest.$ac_ext <<_ACEOF 2383 /* end confdefs.h. */ 2384 2385 int 2386 main () 2387 { 2388 #ifndef __GNUC__ 2389 choke me 2390 #endif 2391 2392 ; 2393 return 0; 2394 } 2395 _ACEOF 2396 rm -f conftest.$ac_objext 2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2398 (eval $ac_compile) 2>conftest.er1 2399 ac_status=$? 2400 grep -v '^ *+' conftest.er1 >conftest.err 2401 rm -f conftest.er1 2402 cat conftest.err >&5 2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2404 (exit $ac_status); } && 2405 { ac_try='test -z "$ac_cxx_werror_flag" 2406 || test ! -s conftest.err' 2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2408 (eval $ac_try) 2>&5 2409 ac_status=$? 2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2411 (exit $ac_status); }; } && 2412 { ac_try='test -s conftest.$ac_objext' 2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2414 (eval $ac_try) 2>&5 2415 ac_status=$? 2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2417 (exit $ac_status); }; }; then 2418 ac_compiler_gnu=yes 2419 else 2420 echo "$as_me: failed program was:" >&5 2421 sed 's/^/| /' conftest.$ac_ext >&5 2422 2423 ac_compiler_gnu=no 2424 fi 2425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2426 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2427 2428 fi 2429 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2430 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2431 GXX=`test $ac_compiler_gnu = yes && echo yes` 2432 ac_test_CXXFLAGS=${CXXFLAGS+set} 2433 ac_save_CXXFLAGS=$CXXFLAGS 2434 CXXFLAGS="-g" 2435 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2436 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2437 if test "${ac_cv_prog_cxx_g+set}" = set; then 2438 echo $ECHO_N "(cached) $ECHO_C" >&6 2439 else 2440 cat >conftest.$ac_ext <<_ACEOF 2441 /* confdefs.h. */ 2442 _ACEOF 2443 cat confdefs.h >>conftest.$ac_ext 2444 cat >>conftest.$ac_ext <<_ACEOF 2445 /* end confdefs.h. */ 2446 2447 int 2448 main () 2449 { 2450 2451 ; 2452 return 0; 2453 } 2454 _ACEOF 2455 rm -f conftest.$ac_objext 2456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2457 (eval $ac_compile) 2>conftest.er1 2458 ac_status=$? 2459 grep -v '^ *+' conftest.er1 >conftest.err 2460 rm -f conftest.er1 2461 cat conftest.err >&5 2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 (exit $ac_status); } && 2464 { ac_try='test -z "$ac_cxx_werror_flag" 2465 || test ! -s conftest.err' 2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2467 (eval $ac_try) 2>&5 2468 ac_status=$? 2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2470 (exit $ac_status); }; } && 2471 { ac_try='test -s conftest.$ac_objext' 2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2473 (eval $ac_try) 2>&5 2474 ac_status=$? 2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2476 (exit $ac_status); }; }; then 2477 ac_cv_prog_cxx_g=yes 2478 else 2479 echo "$as_me: failed program was:" >&5 2480 sed 's/^/| /' conftest.$ac_ext >&5 2481 2482 ac_cv_prog_cxx_g=no 2483 fi 2484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2485 fi 2486 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2487 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 2488 if test "$ac_test_CXXFLAGS" = set; then 2489 CXXFLAGS=$ac_save_CXXFLAGS 2490 elif test $ac_cv_prog_cxx_g = yes; then 2491 if test "$GXX" = yes; then 2492 CXXFLAGS="-g -O2" 2493 else 2494 CXXFLAGS="-g" 2495 fi 2496 else 2497 if test "$GXX" = yes; then 2498 CXXFLAGS="-O2" 2499 else 2500 CXXFLAGS= 2501 fi 2502 fi 2503 for ac_declaration in \ 2504 '' \ 2505 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2506 'extern "C" void std::exit (int); using std::exit;' \ 2507 'extern "C" void exit (int) throw ();' \ 2508 'extern "C" void exit (int);' \ 2509 'void exit (int);' 2510 do 2511 cat >conftest.$ac_ext <<_ACEOF 2512 /* confdefs.h. */ 2513 _ACEOF 2514 cat confdefs.h >>conftest.$ac_ext 2515 cat >>conftest.$ac_ext <<_ACEOF 2516 /* end confdefs.h. */ 2517 $ac_declaration 2518 #include <stdlib.h> 2519 int 2520 main () 2521 { 2522 exit (42); 2523 ; 2524 return 0; 2525 } 2526 _ACEOF 2527 rm -f conftest.$ac_objext 2528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2529 (eval $ac_compile) 2>conftest.er1 2530 ac_status=$? 2531 grep -v '^ *+' conftest.er1 >conftest.err 2532 rm -f conftest.er1 2533 cat conftest.err >&5 2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2535 (exit $ac_status); } && 2536 { ac_try='test -z "$ac_cxx_werror_flag" 2537 || test ! -s conftest.err' 2538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2539 (eval $ac_try) 2>&5 2540 ac_status=$? 2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2542 (exit $ac_status); }; } && 2543 { ac_try='test -s conftest.$ac_objext' 2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2545 (eval $ac_try) 2>&5 2546 ac_status=$? 2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2548 (exit $ac_status); }; }; then 2549 : 2550 else 2551 echo "$as_me: failed program was:" >&5 2552 sed 's/^/| /' conftest.$ac_ext >&5 2553 2554 continue 2555 fi 2556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2557 cat >conftest.$ac_ext <<_ACEOF 2558 /* confdefs.h. */ 2559 _ACEOF 2560 cat confdefs.h >>conftest.$ac_ext 2561 cat >>conftest.$ac_ext <<_ACEOF 2562 /* end confdefs.h. */ 2563 $ac_declaration 2564 int 2565 main () 2566 { 2567 exit (42); 2568 ; 2569 return 0; 2570 } 2571 _ACEOF 2572 rm -f conftest.$ac_objext 2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2574 (eval $ac_compile) 2>conftest.er1 2575 ac_status=$? 2576 grep -v '^ *+' conftest.er1 >conftest.err 2577 rm -f conftest.er1 2578 cat conftest.err >&5 2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2580 (exit $ac_status); } && 2581 { ac_try='test -z "$ac_cxx_werror_flag" 2582 || test ! -s conftest.err' 2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2584 (eval $ac_try) 2>&5 2585 ac_status=$? 2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2587 (exit $ac_status); }; } && 2588 { ac_try='test -s conftest.$ac_objext' 2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2590 (eval $ac_try) 2>&5 2591 ac_status=$? 2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2593 (exit $ac_status); }; }; then 2594 break 2595 else 2596 echo "$as_me: failed program was:" >&5 2597 sed 's/^/| /' conftest.$ac_ext >&5 2598 2599 fi 2600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2601 done 2602 rm -f conftest* 2603 if test -n "$ac_declaration"; then 2604 echo '#ifdef __cplusplus' >>confdefs.h 2605 echo $ac_declaration >>confdefs.h 2606 echo '#endif' >>confdefs.h 2607 fi 2608 2609 ac_ext=c 2610 ac_cpp='$CPP $CPPFLAGS' 2611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2613 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2614 2615 for ac_prog in gawk mawk nawk awk 2616 do 2617 # Extract the first word of "$ac_prog", so it can be a program name with args. 2618 set dummy $ac_prog; ac_word=$2 2619 echo "$as_me:$LINENO: checking for $ac_word" >&5 2620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2621 if test "${ac_cv_prog_AWK+set}" = set; then 2622 echo $ECHO_N "(cached) $ECHO_C" >&6 2623 else 2624 if test -n "$AWK"; then 2625 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2626 else 2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2628 for as_dir in $PATH 2629 do 2630 IFS=$as_save_IFS 2631 test -z "$as_dir" && as_dir=. 2632 for ac_exec_ext in '' $ac_executable_extensions; do 2633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2634 ac_cv_prog_AWK="$ac_prog" 2635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2636 break 2 2637 fi 2638 done 2639 done 2640 2641 fi 2642 fi 2643 AWK=$ac_cv_prog_AWK 2644 if test -n "$AWK"; then 2645 echo "$as_me:$LINENO: result: $AWK" >&5 2646 echo "${ECHO_T}$AWK" >&6 2647 else 2648 echo "$as_me:$LINENO: result: no" >&5 2649 echo "${ECHO_T}no" >&6 2650 fi 2651 2652 test -n "$AWK" && break 2653 done 2654 2655 for ac_prog in 'bison -y' byacc 2656 do 2657 # Extract the first word of "$ac_prog", so it can be a program name with args. 2658 set dummy $ac_prog; ac_word=$2 2659 echo "$as_me:$LINENO: checking for $ac_word" >&5 2660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2661 if test "${ac_cv_prog_YACC+set}" = set; then 2662 echo $ECHO_N "(cached) $ECHO_C" >&6 2663 else 2664 if test -n "$YACC"; then 2665 ac_cv_prog_YACC="$YACC" # Let the user override the test. 2666 else 2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2668 for as_dir in $PATH 2669 do 2670 IFS=$as_save_IFS 2671 test -z "$as_dir" && as_dir=. 2672 for ac_exec_ext in '' $ac_executable_extensions; do 2673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2674 ac_cv_prog_YACC="$ac_prog" 2675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2676 break 2 2677 fi 2678 done 2679 done 2680 2681 fi 2682 fi 2683 YACC=$ac_cv_prog_YACC 2684 if test -n "$YACC"; then 2685 echo "$as_me:$LINENO: result: $YACC" >&5 2686 echo "${ECHO_T}$YACC" >&6 2687 else 2688 echo "$as_me:$LINENO: result: no" >&5 2689 echo "${ECHO_T}no" >&6 2690 fi 2691 2692 test -n "$YACC" && break 2693 done 2694 test -n "$YACC" || YACC="yacc" 2695 2696 ac_aux_dir= 2697 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 2698 if test -f $ac_dir/install-sh; then 2699 ac_aux_dir=$ac_dir 2700 ac_install_sh="$ac_aux_dir/install-sh -c" 2701 break 2702 elif test -f $ac_dir/install.sh; then 2703 ac_aux_dir=$ac_dir 2704 ac_install_sh="$ac_aux_dir/install.sh -c" 2705 break 2706 elif test -f $ac_dir/shtool; then 2707 ac_aux_dir=$ac_dir 2708 ac_install_sh="$ac_aux_dir/shtool install -c" 2709 break 2710 fi 2711 done 2712 if test -z "$ac_aux_dir"; then 2713 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2714 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2715 { (exit 1); exit 1; }; } 2716 fi 2717 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2718 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2719 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2720 2721 # Make sure we can run config.sub. 2722 $ac_config_sub sun4 >/dev/null 2>&1 || 2723 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 2724 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 2725 { (exit 1); exit 1; }; } 2726 2727 echo "$as_me:$LINENO: checking build system type" >&5 2728 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2729 if test "${ac_cv_build+set}" = set; then 2730 echo $ECHO_N "(cached) $ECHO_C" >&6 2731 else 2732 ac_cv_build_alias=$build_alias 2733 test -z "$ac_cv_build_alias" && 2734 ac_cv_build_alias=`$ac_config_guess` 2735 test -z "$ac_cv_build_alias" && 2736 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2737 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2738 { (exit 1); exit 1; }; } 2739 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2740 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 2741 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 2742 { (exit 1); exit 1; }; } 2743 2744 fi 2745 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2746 echo "${ECHO_T}$ac_cv_build" >&6 2747 build=$ac_cv_build 2748 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2749 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2750 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2751 2752 2753 echo "$as_me:$LINENO: checking host system type" >&5 2754 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2755 if test "${ac_cv_host+set}" = set; then 2756 echo $ECHO_N "(cached) $ECHO_C" >&6 2757 else 2758 ac_cv_host_alias=$host_alias 2759 test -z "$ac_cv_host_alias" && 2760 ac_cv_host_alias=$ac_cv_build_alias 2761 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2762 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 2763 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 2764 { (exit 1); exit 1; }; } 2765 2766 fi 2767 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2768 echo "${ECHO_T}$ac_cv_host" >&6 2769 host=$ac_cv_host 2770 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2771 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2772 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2773 2774 2775 echo "$as_me:$LINENO: checking target system type" >&5 2776 echo $ECHO_N "checking target system type... $ECHO_C" >&6 2777 if test "${ac_cv_target+set}" = set; then 2778 echo $ECHO_N "(cached) $ECHO_C" >&6 2779 else 2780 ac_cv_target_alias=$target_alias 2781 test "x$ac_cv_target_alias" = "x" && 2782 ac_cv_target_alias=$ac_cv_host_alias 2783 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 2784 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 2785 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 2786 { (exit 1); exit 1; }; } 2787 2788 fi 2789 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2790 echo "${ECHO_T}$ac_cv_target" >&6 2791 target=$ac_cv_target 2792 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2793 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2794 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2795 2796 2797 # The aliases save the names the user supplied, while $host etc. 2798 # will get canonicalized. 2799 test -n "$target_alias" && 2800 test "$program_prefix$program_suffix$program_transform_name" = \ 2801 NONENONEs,x,x, && 2802 program_prefix=${target_alias}- 2803 # Find a good install program. We prefer a C program (faster), 2804 # so one script is as good as another. But avoid the broken or 2805 # incompatible versions: 2806 # SysV /etc/install, /usr/sbin/install 2807 # SunOS /usr/etc/install 2808 # IRIX /sbin/install 2809 # AIX /bin/install 2810 # AmigaOS /C/install, which installs bootblocks on floppy discs 2811 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2812 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2813 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2814 # OS/2's system install, which has a completely different semantic 2815 # ./install, which can be erroneously created by make from ./install.sh. 2816 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2817 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2818 if test -z "$INSTALL"; then 2819 if test "${ac_cv_path_install+set}" = set; then 2820 echo $ECHO_N "(cached) $ECHO_C" >&6 2821 else 2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2823 for as_dir in $PATH 2824 do 2825 IFS=$as_save_IFS 2826 test -z "$as_dir" && as_dir=. 2827 # Account for people who put trailing slashes in PATH elements. 2828 case $as_dir/ in 2829 ./ | .// | /cC/* | \ 2830 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2831 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2832 /usr/ucb/* ) ;; 2833 *) 2834 # OSF1 and SCO ODT 3.0 have their own names for install. 2835 # Don't use installbsd from OSF since it installs stuff as root 2836 # by default. 2837 for ac_prog in ginstall scoinst install; do 2838 for ac_exec_ext in '' $ac_executable_extensions; do 2839 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2840 if test $ac_prog = install && 2841 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2842 # AIX install. It has an incompatible calling convention. 2843 : 2844 elif test $ac_prog = install && 2845 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2846 # program-specific install script used by HP pwplus--don't use. 2847 : 2848 else 2849 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2850 break 3 2851 fi 2852 fi 2853 done 2854 done 2855 ;; 2856 esac 2857 done 2858 2859 2860 fi 2861 if test "${ac_cv_path_install+set}" = set; then 2862 INSTALL=$ac_cv_path_install 2863 else 2864 # As a last resort, use the slow shell script. We don't cache a 2865 # path for INSTALL within a source directory, because that will 2866 # break other packages using the cache if that directory is 2867 # removed, or if the path is relative. 2868 INSTALL=$ac_install_sh 2869 fi 2870 fi 2871 echo "$as_me:$LINENO: result: $INSTALL" >&5 2872 echo "${ECHO_T}$INSTALL" >&6 2873 2874 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2875 # It thinks the first close brace ends the variable substitution. 2876 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2877 2878 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2879 2880 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2881 2882 echo "$as_me:$LINENO: checking whether ln -s works" >&5 2883 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2884 LN_S=$as_ln_s 2885 if test "$LN_S" = "ln -s"; then 2886 echo "$as_me:$LINENO: result: yes" >&5 2887 echo "${ECHO_T}yes" >&6 2888 else 2889 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 2890 echo "${ECHO_T}no, using $LN_S" >&6 2891 fi 2892 2893 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2894 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 2895 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 2896 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2897 echo $ECHO_N "(cached) $ECHO_C" >&6 2898 else 2899 cat >conftest.make <<\_ACEOF 2900 all: 2901 @echo 'ac_maketemp="$(MAKE)"' 2902 _ACEOF 2903 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2904 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 2905 if test -n "$ac_maketemp"; then 2906 eval ac_cv_prog_make_${ac_make}_set=yes 2907 else 2908 eval ac_cv_prog_make_${ac_make}_set=no 2909 fi 2910 rm -f conftest.make 2911 fi 2912 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 2913 echo "$as_me:$LINENO: result: yes" >&5 2914 echo "${ECHO_T}yes" >&6 2915 SET_MAKE= 2916 else 2917 echo "$as_me:$LINENO: result: no" >&5 2918 echo "${ECHO_T}no" >&6 2919 SET_MAKE="MAKE=${MAKE-make}" 2920 fi 2921 2922 if test -n "$ac_tool_prefix"; then 2923 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2924 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2925 echo "$as_me:$LINENO: checking for $ac_word" >&5 2926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2927 if test "${ac_cv_prog_RANLIB+set}" = set; then 2928 echo $ECHO_N "(cached) $ECHO_C" >&6 2929 else 2930 if test -n "$RANLIB"; then 2931 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2932 else 2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2934 for as_dir in $PATH 2935 do 2936 IFS=$as_save_IFS 2937 test -z "$as_dir" && as_dir=. 2938 for ac_exec_ext in '' $ac_executable_extensions; do 2939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2940 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2942 break 2 2943 fi 2944 done 2945 done 2946 2947 fi 2948 fi 2949 RANLIB=$ac_cv_prog_RANLIB 2950 if test -n "$RANLIB"; then 2951 echo "$as_me:$LINENO: result: $RANLIB" >&5 2952 echo "${ECHO_T}$RANLIB" >&6 2953 else 2954 echo "$as_me:$LINENO: result: no" >&5 2955 echo "${ECHO_T}no" >&6 2956 fi 2957 2958 fi 2959 if test -z "$ac_cv_prog_RANLIB"; then 2960 ac_ct_RANLIB=$RANLIB 2961 # Extract the first word of "ranlib", so it can be a program name with args. 2962 set dummy ranlib; ac_word=$2 2963 echo "$as_me:$LINENO: checking for $ac_word" >&5 2964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2965 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2966 echo $ECHO_N "(cached) $ECHO_C" >&6 2967 else 2968 if test -n "$ac_ct_RANLIB"; then 2969 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2970 else 2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2972 for as_dir in $PATH 2973 do 2974 IFS=$as_save_IFS 2975 test -z "$as_dir" && as_dir=. 2976 for ac_exec_ext in '' $ac_executable_extensions; do 2977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2978 ac_cv_prog_ac_ct_RANLIB="ranlib" 2979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2980 break 2 2981 fi 2982 done 2983 done 2984 2985 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 2986 fi 2987 fi 2988 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2989 if test -n "$ac_ct_RANLIB"; then 2990 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2991 echo "${ECHO_T}$ac_ct_RANLIB" >&6 2992 else 2993 echo "$as_me:$LINENO: result: no" >&5 2994 echo "${ECHO_T}no" >&6 2995 fi 2996 2997 RANLIB=$ac_ct_RANLIB 2998 else 2999 RANLIB="$ac_cv_prog_RANLIB" 3000 fi 3001 3002 3003 3004 ac_ext=c 3005 ac_cpp='$CPP $CPPFLAGS' 3006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3008 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3009 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3010 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3011 # On Suns, sometimes $CPP names a directory. 3012 if test -n "$CPP" && test -d "$CPP"; then 3013 CPP= 3014 fi 3015 if test -z "$CPP"; then 3016 if test "${ac_cv_prog_CPP+set}" = set; then 3017 echo $ECHO_N "(cached) $ECHO_C" >&6 3018 else 3019 # Double quotes because CPP needs to be expanded 3020 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3021 do 3022 ac_preproc_ok=false 3023 for ac_c_preproc_warn_flag in '' yes 3024 do 3025 # Use a header file that comes with gcc, so configuring glibc 3026 # with a fresh cross-compiler works. 3027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3028 # <limits.h> exists even on freestanding compilers. 3029 # On the NeXT, cc -E runs the code through the compiler's parser, 3030 # not just through cpp. "Syntax error" is here to catch this case. 3031 cat >conftest.$ac_ext <<_ACEOF 3032 /* confdefs.h. */ 3033 _ACEOF 3034 cat confdefs.h >>conftest.$ac_ext 3035 cat >>conftest.$ac_ext <<_ACEOF 3036 /* end confdefs.h. */ 3037 #ifdef __STDC__ 3038 # include <limits.h> 3039 #else 3040 # include <assert.h> 3041 #endif 3042 Syntax error 3043 _ACEOF 3044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3046 ac_status=$? 3047 grep -v '^ *+' conftest.er1 >conftest.err 3048 rm -f conftest.er1 3049 cat conftest.err >&5 3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3051 (exit $ac_status); } >/dev/null; then 3052 if test -s conftest.err; then 3053 ac_cpp_err=$ac_c_preproc_warn_flag 3054 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3055 else 3056 ac_cpp_err= 3057 fi 3058 else 3059 ac_cpp_err=yes 3060 fi 3061 if test -z "$ac_cpp_err"; then 3062 : 3063 else 3064 echo "$as_me: failed program was:" >&5 3065 sed 's/^/| /' conftest.$ac_ext >&5 3066 3067 # Broken: fails on valid input. 3068 continue 3069 fi 3070 rm -f conftest.err conftest.$ac_ext 3071 3072 # OK, works on sane cases. Now check whether non-existent headers 3073 # can be detected and how. 3074 cat >conftest.$ac_ext <<_ACEOF 3075 /* confdefs.h. */ 3076 _ACEOF 3077 cat confdefs.h >>conftest.$ac_ext 3078 cat >>conftest.$ac_ext <<_ACEOF 3079 /* end confdefs.h. */ 3080 #include <ac_nonexistent.h> 3081 _ACEOF 3082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3084 ac_status=$? 3085 grep -v '^ *+' conftest.er1 >conftest.err 3086 rm -f conftest.er1 3087 cat conftest.err >&5 3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3089 (exit $ac_status); } >/dev/null; then 3090 if test -s conftest.err; then 3091 ac_cpp_err=$ac_c_preproc_warn_flag 3092 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3093 else 3094 ac_cpp_err= 3095 fi 3096 else 3097 ac_cpp_err=yes 3098 fi 3099 if test -z "$ac_cpp_err"; then 3100 # Broken: success on invalid input. 3101 continue 3102 else 3103 echo "$as_me: failed program was:" >&5 3104 sed 's/^/| /' conftest.$ac_ext >&5 3105 3106 # Passes both tests. 3107 ac_preproc_ok=: 3108 break 3109 fi 3110 rm -f conftest.err conftest.$ac_ext 3111 3112 done 3113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3114 rm -f conftest.err conftest.$ac_ext 3115 if $ac_preproc_ok; then 3116 break 3117 fi 3118 3119 done 3120 ac_cv_prog_CPP=$CPP 3121 3122 fi 3123 CPP=$ac_cv_prog_CPP 3124 else 3125 ac_cv_prog_CPP=$CPP 3126 fi 3127 echo "$as_me:$LINENO: result: $CPP" >&5 3128 echo "${ECHO_T}$CPP" >&6 3129 ac_preproc_ok=false 3130 for ac_c_preproc_warn_flag in '' yes 3131 do 3132 # Use a header file that comes with gcc, so configuring glibc 3133 # with a fresh cross-compiler works. 3134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3135 # <limits.h> exists even on freestanding compilers. 3136 # On the NeXT, cc -E runs the code through the compiler's parser, 3137 # not just through cpp. "Syntax error" is here to catch this case. 3138 cat >conftest.$ac_ext <<_ACEOF 3139 /* confdefs.h. */ 3140 _ACEOF 3141 cat confdefs.h >>conftest.$ac_ext 3142 cat >>conftest.$ac_ext <<_ACEOF 3143 /* end confdefs.h. */ 3144 #ifdef __STDC__ 3145 # include <limits.h> 3146 #else 3147 # include <assert.h> 3148 #endif 3149 Syntax error 3150 _ACEOF 3151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3153 ac_status=$? 3154 grep -v '^ *+' conftest.er1 >conftest.err 3155 rm -f conftest.er1 3156 cat conftest.err >&5 3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3158 (exit $ac_status); } >/dev/null; then 3159 if test -s conftest.err; then 3160 ac_cpp_err=$ac_c_preproc_warn_flag 3161 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3162 else 3163 ac_cpp_err= 3164 fi 3165 else 3166 ac_cpp_err=yes 3167 fi 3168 if test -z "$ac_cpp_err"; then 3169 : 3170 else 3171 echo "$as_me: failed program was:" >&5 3172 sed 's/^/| /' conftest.$ac_ext >&5 3173 3174 # Broken: fails on valid input. 3175 continue 3176 fi 3177 rm -f conftest.err conftest.$ac_ext 3178 3179 # OK, works on sane cases. Now check whether non-existent headers 3180 # can be detected and how. 3181 cat >conftest.$ac_ext <<_ACEOF 3182 /* confdefs.h. */ 3183 _ACEOF 3184 cat confdefs.h >>conftest.$ac_ext 3185 cat >>conftest.$ac_ext <<_ACEOF 3186 /* end confdefs.h. */ 3187 #include <ac_nonexistent.h> 3188 _ACEOF 3189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3191 ac_status=$? 3192 grep -v '^ *+' conftest.er1 >conftest.err 3193 rm -f conftest.er1 3194 cat conftest.err >&5 3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); } >/dev/null; then 3197 if test -s conftest.err; then 3198 ac_cpp_err=$ac_c_preproc_warn_flag 3199 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3200 else 3201 ac_cpp_err= 3202 fi 3203 else 3204 ac_cpp_err=yes 3205 fi 3206 if test -z "$ac_cpp_err"; then 3207 # Broken: success on invalid input. 3208 continue 3209 else 3210 echo "$as_me: failed program was:" >&5 3211 sed 's/^/| /' conftest.$ac_ext >&5 3212 3213 # Passes both tests. 3214 ac_preproc_ok=: 3215 break 3216 fi 3217 rm -f conftest.err conftest.$ac_ext 3218 3219 done 3220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3221 rm -f conftest.err conftest.$ac_ext 3222 if $ac_preproc_ok; then 3223 : 3224 else 3225 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3226 See \`config.log' for more details." >&5 3227 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3228 See \`config.log' for more details." >&2;} 3229 { (exit 1); exit 1; }; } 3230 fi 3231 3232 ac_ext=c 3233 ac_cpp='$CPP $CPPFLAGS' 3234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3236 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3237 3238 3239 echo "$as_me:$LINENO: checking for egrep" >&5 3240 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3241 if test "${ac_cv_prog_egrep+set}" = set; then 3242 echo $ECHO_N "(cached) $ECHO_C" >&6 3243 else 3244 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3245 then ac_cv_prog_egrep='grep -E' 3246 else ac_cv_prog_egrep='egrep' 3247 fi 3248 fi 3249 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3250 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3251 EGREP=$ac_cv_prog_egrep 3252 3253 3254 3255 echo "$as_me:$LINENO: checking for AIX" >&5 3256 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3257 cat >conftest.$ac_ext <<_ACEOF 3258 /* confdefs.h. */ 3259 _ACEOF 3260 cat confdefs.h >>conftest.$ac_ext 3261 cat >>conftest.$ac_ext <<_ACEOF 3262 /* end confdefs.h. */ 3263 #ifdef _AIX 3264 yes 3265 #endif 3266 3267 _ACEOF 3268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3269 $EGREP "yes" >/dev/null 2>&1; then 3270 echo "$as_me:$LINENO: result: yes" >&5 3271 echo "${ECHO_T}yes" >&6 3272 cat >>confdefs.h <<\_ACEOF 3273 #define _ALL_SOURCE 1 3274 _ACEOF 3275 3276 else 3277 echo "$as_me:$LINENO: result: no" >&5 3278 echo "${ECHO_T}no" >&6 3279 fi 3280 rm -f conftest* 3281 3282 3283 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3284 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3285 if test "${ac_cv_search_strerror+set}" = set; then 3286 echo $ECHO_N "(cached) $ECHO_C" >&6 3287 else 3288 ac_func_search_save_LIBS=$LIBS 3289 ac_cv_search_strerror=no 3290 cat >conftest.$ac_ext <<_ACEOF 3291 /* confdefs.h. */ 3292 _ACEOF 3293 cat confdefs.h >>conftest.$ac_ext 3294 cat >>conftest.$ac_ext <<_ACEOF 3295 /* end confdefs.h. */ 3296 3297 /* Override any gcc2 internal prototype to avoid an error. */ 3298 #ifdef __cplusplus 3299 extern "C" 3300 #endif 3301 /* We use char because int might match the return type of a gcc2 3302 builtin and then its argument prototype would still apply. */ 3303 char strerror (); 3304 int 3305 main () 3306 { 3307 strerror (); 3308 ; 3309 return 0; 3310 } 3311 _ACEOF 3312 rm -f conftest.$ac_objext conftest$ac_exeext 3313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3314 (eval $ac_link) 2>conftest.er1 3315 ac_status=$? 3316 grep -v '^ *+' conftest.er1 >conftest.err 3317 rm -f conftest.er1 3318 cat conftest.err >&5 3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3320 (exit $ac_status); } && 3321 { ac_try='test -z "$ac_c_werror_flag" 3322 || test ! -s conftest.err' 3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3324 (eval $ac_try) 2>&5 3325 ac_status=$? 3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3327 (exit $ac_status); }; } && 3328 { ac_try='test -s conftest$ac_exeext' 3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3330 (eval $ac_try) 2>&5 3331 ac_status=$? 3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3333 (exit $ac_status); }; }; then 3334 ac_cv_search_strerror="none required" 3335 else 3336 echo "$as_me: failed program was:" >&5 3337 sed 's/^/| /' conftest.$ac_ext >&5 3338 3339 fi 3340 rm -f conftest.err conftest.$ac_objext \ 3341 conftest$ac_exeext conftest.$ac_ext 3342 if test "$ac_cv_search_strerror" = no; then 3343 for ac_lib in cposix; do 3344 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3345 cat >conftest.$ac_ext <<_ACEOF 3346 /* confdefs.h. */ 3347 _ACEOF 3348 cat confdefs.h >>conftest.$ac_ext 3349 cat >>conftest.$ac_ext <<_ACEOF 3350 /* end confdefs.h. */ 3351 3352 /* Override any gcc2 internal prototype to avoid an error. */ 3353 #ifdef __cplusplus 3354 extern "C" 3355 #endif 3356 /* We use char because int might match the return type of a gcc2 3357 builtin and then its argument prototype would still apply. */ 3358 char strerror (); 3359 int 3360 main () 3361 { 3362 strerror (); 3363 ; 3364 return 0; 3365 } 3366 _ACEOF 3367 rm -f conftest.$ac_objext conftest$ac_exeext 3368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3369 (eval $ac_link) 2>conftest.er1 3370 ac_status=$? 3371 grep -v '^ *+' conftest.er1 >conftest.err 3372 rm -f conftest.er1 3373 cat conftest.err >&5 3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3375 (exit $ac_status); } && 3376 { ac_try='test -z "$ac_c_werror_flag" 3377 || test ! -s conftest.err' 3378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3379 (eval $ac_try) 2>&5 3380 ac_status=$? 3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3382 (exit $ac_status); }; } && 3383 { ac_try='test -s conftest$ac_exeext' 3384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3385 (eval $ac_try) 2>&5 3386 ac_status=$? 3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3388 (exit $ac_status); }; }; then 3389 ac_cv_search_strerror="-l$ac_lib" 3390 break 3391 else 3392 echo "$as_me: failed program was:" >&5 3393 sed 's/^/| /' conftest.$ac_ext >&5 3394 3395 fi 3396 rm -f conftest.err conftest.$ac_objext \ 3397 conftest$ac_exeext conftest.$ac_ext 3398 done 3399 fi 3400 LIBS=$ac_func_search_save_LIBS 3401 fi 3402 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3403 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3404 if test "$ac_cv_search_strerror" != no; then 3405 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3406 3407 fi 3408 3409 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3410 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3411 if test "${ac_cv_header_stdc+set}" = set; then 3412 echo $ECHO_N "(cached) $ECHO_C" >&6 3413 else 3414 cat >conftest.$ac_ext <<_ACEOF 3415 /* confdefs.h. */ 3416 _ACEOF 3417 cat confdefs.h >>conftest.$ac_ext 3418 cat >>conftest.$ac_ext <<_ACEOF 3419 /* end confdefs.h. */ 3420 #include <stdlib.h> 3421 #include <stdarg.h> 3422 #include <string.h> 3423 #include <float.h> 3424 3425 int 3426 main () 3427 { 3428 3429 ; 3430 return 0; 3431 } 3432 _ACEOF 3433 rm -f conftest.$ac_objext 3434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3435 (eval $ac_compile) 2>conftest.er1 3436 ac_status=$? 3437 grep -v '^ *+' conftest.er1 >conftest.err 3438 rm -f conftest.er1 3439 cat conftest.err >&5 3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3441 (exit $ac_status); } && 3442 { ac_try='test -z "$ac_c_werror_flag" 3443 || test ! -s conftest.err' 3444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3445 (eval $ac_try) 2>&5 3446 ac_status=$? 3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3448 (exit $ac_status); }; } && 3449 { ac_try='test -s conftest.$ac_objext' 3450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3451 (eval $ac_try) 2>&5 3452 ac_status=$? 3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3454 (exit $ac_status); }; }; then 3455 ac_cv_header_stdc=yes 3456 else 3457 echo "$as_me: failed program was:" >&5 3458 sed 's/^/| /' conftest.$ac_ext >&5 3459 3460 ac_cv_header_stdc=no 3461 fi 3462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3463 3464 if test $ac_cv_header_stdc = yes; then 3465 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3466 cat >conftest.$ac_ext <<_ACEOF 3467 /* confdefs.h. */ 3468 _ACEOF 3469 cat confdefs.h >>conftest.$ac_ext 3470 cat >>conftest.$ac_ext <<_ACEOF 3471 /* end confdefs.h. */ 3472 #include <string.h> 3473 3474 _ACEOF 3475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3476 $EGREP "memchr" >/dev/null 2>&1; then 3477 : 3478 else 3479 ac_cv_header_stdc=no 3480 fi 3481 rm -f conftest* 3482 3483 fi 3484 3485 if test $ac_cv_header_stdc = yes; then 3486 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3487 cat >conftest.$ac_ext <<_ACEOF 3488 /* confdefs.h. */ 3489 _ACEOF 3490 cat confdefs.h >>conftest.$ac_ext 3491 cat >>conftest.$ac_ext <<_ACEOF 3492 /* end confdefs.h. */ 3493 #include <stdlib.h> 3494 3495 _ACEOF 3496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3497 $EGREP "free" >/dev/null 2>&1; then 3498 : 3499 else 3500 ac_cv_header_stdc=no 3501 fi 3502 rm -f conftest* 3503 3504 fi 3505 3506 if test $ac_cv_header_stdc = yes; then 3507 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3508 if test "$cross_compiling" = yes; then 3509 : 3510 else 3511 cat >conftest.$ac_ext <<_ACEOF 3512 /* confdefs.h. */ 3513 _ACEOF 3514 cat confdefs.h >>conftest.$ac_ext 3515 cat >>conftest.$ac_ext <<_ACEOF 3516 /* end confdefs.h. */ 3517 #include <ctype.h> 3518 #if ((' ' & 0x0FF) == 0x020) 3519 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3520 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3521 #else 3522 # define ISLOWER(c) \ 3523 (('a' <= (c) && (c) <= 'i') \ 3524 || ('j' <= (c) && (c) <= 'r') \ 3525 || ('s' <= (c) && (c) <= 'z')) 3526 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3527 #endif 3528 3529 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3530 int 3531 main () 3532 { 3533 int i; 3534 for (i = 0; i < 256; i++) 3535 if (XOR (islower (i), ISLOWER (i)) 3536 || toupper (i) != TOUPPER (i)) 3537 exit(2); 3538 exit (0); 3539 } 3540 _ACEOF 3541 rm -f conftest$ac_exeext 3542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3543 (eval $ac_link) 2>&5 3544 ac_status=$? 3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3546 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3548 (eval $ac_try) 2>&5 3549 ac_status=$? 3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3551 (exit $ac_status); }; }; then 3552 : 3553 else 3554 echo "$as_me: program exited with status $ac_status" >&5 3555 echo "$as_me: failed program was:" >&5 3556 sed 's/^/| /' conftest.$ac_ext >&5 3557 3558 ( exit $ac_status ) 3559 ac_cv_header_stdc=no 3560 fi 3561 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3562 fi 3563 fi 3564 fi 3565 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3566 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3567 if test $ac_cv_header_stdc = yes; then 3568 3569 cat >>confdefs.h <<\_ACEOF 3570 #define STDC_HEADERS 1 3571 _ACEOF 3572 3573 fi 3574 3575 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3586 inttypes.h stdint.h unistd.h 3587 do 3588 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3589 echo "$as_me:$LINENO: checking for $ac_header" >&5 3590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3591 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3592 echo $ECHO_N "(cached) $ECHO_C" >&6 3593 else 3594 cat >conftest.$ac_ext <<_ACEOF 3595 /* confdefs.h. */ 3596 _ACEOF 3597 cat confdefs.h >>conftest.$ac_ext 3598 cat >>conftest.$ac_ext <<_ACEOF 3599 /* end confdefs.h. */ 3600 $ac_includes_default 3601 3602 #include <$ac_header> 3603 _ACEOF 3604 rm -f conftest.$ac_objext 3605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3606 (eval $ac_compile) 2>conftest.er1 3607 ac_status=$? 3608 grep -v '^ *+' conftest.er1 >conftest.err 3609 rm -f conftest.er1 3610 cat conftest.err >&5 3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3612 (exit $ac_status); } && 3613 { ac_try='test -z "$ac_c_werror_flag" 3614 || test ! -s conftest.err' 3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3616 (eval $ac_try) 2>&5 3617 ac_status=$? 3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3619 (exit $ac_status); }; } && 3620 { ac_try='test -s conftest.$ac_objext' 3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3622 (eval $ac_try) 2>&5 3623 ac_status=$? 3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3625 (exit $ac_status); }; }; then 3626 eval "$as_ac_Header=yes" 3627 else 3628 echo "$as_me: failed program was:" >&5 3629 sed 's/^/| /' conftest.$ac_ext >&5 3630 3631 eval "$as_ac_Header=no" 3632 fi 3633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3634 fi 3635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3637 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3638 cat >>confdefs.h <<_ACEOF 3639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3640 _ACEOF 3641 3642 fi 3643 3644 done 3645 3646 3647 if test "${ac_cv_header_minix_config_h+set}" = set; then 3648 echo "$as_me:$LINENO: checking for minix/config.h" >&5 3649 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 3650 if test "${ac_cv_header_minix_config_h+set}" = set; then 3651 echo $ECHO_N "(cached) $ECHO_C" >&6 3652 fi 3653 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3654 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 3655 else 3656 # Is the header compilable? 3657 echo "$as_me:$LINENO: checking minix/config.h usability" >&5 3658 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 3659 cat >conftest.$ac_ext <<_ACEOF 3660 /* confdefs.h. */ 3661 _ACEOF 3662 cat confdefs.h >>conftest.$ac_ext 3663 cat >>conftest.$ac_ext <<_ACEOF 3664 /* end confdefs.h. */ 3665 $ac_includes_default 3666 #include <minix/config.h> 3667 _ACEOF 3668 rm -f conftest.$ac_objext 3669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3670 (eval $ac_compile) 2>conftest.er1 3671 ac_status=$? 3672 grep -v '^ *+' conftest.er1 >conftest.err 3673 rm -f conftest.er1 3674 cat conftest.err >&5 3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3676 (exit $ac_status); } && 3677 { ac_try='test -z "$ac_c_werror_flag" 3678 || test ! -s conftest.err' 3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3680 (eval $ac_try) 2>&5 3681 ac_status=$? 3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3683 (exit $ac_status); }; } && 3684 { ac_try='test -s conftest.$ac_objext' 3685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3686 (eval $ac_try) 2>&5 3687 ac_status=$? 3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3689 (exit $ac_status); }; }; then 3690 ac_header_compiler=yes 3691 else 3692 echo "$as_me: failed program was:" >&5 3693 sed 's/^/| /' conftest.$ac_ext >&5 3694 3695 ac_header_compiler=no 3696 fi 3697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3699 echo "${ECHO_T}$ac_header_compiler" >&6 3700 3701 # Is the header present? 3702 echo "$as_me:$LINENO: checking minix/config.h presence" >&5 3703 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 3704 cat >conftest.$ac_ext <<_ACEOF 3705 /* confdefs.h. */ 3706 _ACEOF 3707 cat confdefs.h >>conftest.$ac_ext 3708 cat >>conftest.$ac_ext <<_ACEOF 3709 /* end confdefs.h. */ 3710 #include <minix/config.h> 3711 _ACEOF 3712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3713 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3714 ac_status=$? 3715 grep -v '^ *+' conftest.er1 >conftest.err 3716 rm -f conftest.er1 3717 cat conftest.err >&5 3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3719 (exit $ac_status); } >/dev/null; then 3720 if test -s conftest.err; then 3721 ac_cpp_err=$ac_c_preproc_warn_flag 3722 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3723 else 3724 ac_cpp_err= 3725 fi 3726 else 3727 ac_cpp_err=yes 3728 fi 3729 if test -z "$ac_cpp_err"; then 3730 ac_header_preproc=yes 3731 else 3732 echo "$as_me: failed program was:" >&5 3733 sed 's/^/| /' conftest.$ac_ext >&5 3734 3735 ac_header_preproc=no 3736 fi 3737 rm -f conftest.err conftest.$ac_ext 3738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3739 echo "${ECHO_T}$ac_header_preproc" >&6 3740 3741 # So? What about this header? 3742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3743 yes:no: ) 3744 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 3745 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 3746 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 3747 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 3748 ac_header_preproc=yes 3749 ;; 3750 no:yes:* ) 3751 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 3752 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 3753 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 3754 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 3755 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 3756 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 3757 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 3758 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 3759 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 3760 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 3761 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 3762 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 3763 ( 3764 cat <<\_ASBOX 3765 ## ------------------------------------------ ## 3766 ## Report this to the AC_PACKAGE_NAME lists. ## 3767 ## ------------------------------------------ ## 3768 _ASBOX 3769 ) | 3770 sed "s/^/$as_me: WARNING: /" >&2 3771 ;; 3772 esac 3773 echo "$as_me:$LINENO: checking for minix/config.h" >&5 3774 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 3775 if test "${ac_cv_header_minix_config_h+set}" = set; then 3776 echo $ECHO_N "(cached) $ECHO_C" >&6 3777 else 3778 ac_cv_header_minix_config_h=$ac_header_preproc 3779 fi 3780 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3781 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 3782 3783 fi 3784 if test $ac_cv_header_minix_config_h = yes; then 3785 MINIX=yes 3786 else 3787 MINIX= 3788 fi 3789 3790 3791 if test "$MINIX" = yes; then 3792 3793 cat >>confdefs.h <<\_ACEOF 3794 #define _POSIX_SOURCE 1 3795 _ACEOF 3796 3797 3798 cat >>confdefs.h <<\_ACEOF 3799 #define _POSIX_1_SOURCE 2 3800 _ACEOF 3801 3802 3803 cat >>confdefs.h <<\_ACEOF 3804 #define _MINIX 1 3805 _ACEOF 3806 3807 fi 3808 3809 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 3810 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 3811 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3812 echo $ECHO_N "(cached) $ECHO_C" >&6 3813 else 3814 ac_cv_prog_cc_stdc=no 3815 ac_save_CFLAGS="$CFLAGS" 3816 # Don't try gcc -ansi; that turns off useful extensions and 3817 # breaks some systems' header files. 3818 # AIX -qlanglvl=ansi 3819 # Ultrix and OSF/1 -std1 3820 # HP-UX -Aa -D_HPUX_SOURCE 3821 # SVR4 -Xc 3822 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc 3823 do 3824 CFLAGS="$ac_save_CFLAGS $ac_arg" 3825 cat >conftest.$ac_ext <<_ACEOF 3826 /* confdefs.h. */ 3827 _ACEOF 3828 cat confdefs.h >>conftest.$ac_ext 3829 cat >>conftest.$ac_ext <<_ACEOF 3830 /* end confdefs.h. */ 3831 #if !defined(__STDC__) || __STDC__ != 1 3832 choke me 3833 #endif 3834 3835 int 3836 main () 3837 { 3838 int test (int i, double x); 3839 struct s1 {int (*f) (int a);}; 3840 struct s2 {int (*f) (double a);}; 3841 ; 3842 return 0; 3843 } 3844 _ACEOF 3845 rm -f conftest.$ac_objext 3846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3847 (eval $ac_compile) 2>conftest.er1 3848 ac_status=$? 3849 grep -v '^ *+' conftest.er1 >conftest.err 3850 rm -f conftest.er1 3851 cat conftest.err >&5 3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3853 (exit $ac_status); } && 3854 { ac_try='test -z "$ac_c_werror_flag" 3855 || test ! -s conftest.err' 3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3857 (eval $ac_try) 2>&5 3858 ac_status=$? 3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3860 (exit $ac_status); }; } && 3861 { ac_try='test -s conftest.$ac_objext' 3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3863 (eval $ac_try) 2>&5 3864 ac_status=$? 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); }; }; then 3867 ac_cv_prog_cc_stdc="$ac_arg"; break 3868 else 3869 echo "$as_me: failed program was:" >&5 3870 sed 's/^/| /' conftest.$ac_ext >&5 3871 3872 fi 3873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3874 done 3875 CFLAGS="$ac_save_CFLAGS" 3876 3877 fi 3878 3879 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 3880 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 3881 case "x$ac_cv_prog_cc_stdc" in 3882 x|xno) ;; 3883 *) CC="$CC $ac_cv_prog_cc_stdc" ;; 3884 esac 3885 3886 3887 echo "$as_me:$LINENO: checking for function prototypes" >&5 3888 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 3889 if test "$ac_cv_prog_cc_stdc" != no; then 3890 echo "$as_me:$LINENO: result: yes" >&5 3891 echo "${ECHO_T}yes" >&6 3892 cat >>confdefs.h <<\_ACEOF 3893 #define PROTOTYPES 1 3894 _ACEOF 3895 3896 U= ANSI2KNR= 3897 else 3898 echo "$as_me:$LINENO: result: no" >&5 3899 echo "${ECHO_T}no" >&6 3900 U=_ ANSI2KNR=ansi2knr 3901 fi 3902 3903 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 2740 3904 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 2741 3905 if test "${ac_cv_c_const+set}" = set; then … … 2743 3907 else 2744 3908 cat >conftest.$ac_ext <<_ACEOF 2745 #line 2745 "configure" 2746 #include "confdefs.h" 3909 /* confdefs.h. */ 3910 _ACEOF 3911 cat confdefs.h >>conftest.$ac_ext 3912 cat >>conftest.$ac_ext <<_ACEOF 3913 /* end confdefs.h. */ 2747 3914 2748 3915 int … … 2801 3968 _ACEOF 2802 3969 rm -f conftest.$ac_objext 2803 if { (eval echo "$as_me:2803: \"$ac_compile\"") >&5 2804 (eval $ac_compile) 2>&5 2805 ac_status=$? 2806 echo "$as_me:2806: \$? = $ac_status" >&5 3970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3971 (eval $ac_compile) 2>conftest.er1 3972 ac_status=$? 3973 grep -v '^ *+' conftest.er1 >conftest.err 3974 rm -f conftest.er1 3975 cat conftest.err >&5 3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2807 3977 (exit $ac_status); } && 2808 { ac_try='test -s conftest.$ac_objext' 2809 { (eval echo "$as_me:2809: \"$ac_try\"") >&5 2810 (eval $ac_try) 2>&5 2811 ac_status=$? 2812 echo "$as_me:2812: \$? = $ac_status" >&5 3978 { ac_try='test -z "$ac_c_werror_flag" 3979 || test ! -s conftest.err' 3980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3981 (eval $ac_try) 2>&5 3982 ac_status=$? 3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3984 (exit $ac_status); }; } && 3985 { ac_try='test -s conftest.$ac_objext' 3986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3987 (eval $ac_try) 2>&5 3988 ac_status=$? 3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2813 3990 (exit $ac_status); }; }; then 2814 3991 ac_cv_c_const=yes 2815 3992 else 2816 3993 echo "$as_me: failed program was:" >&5 2817 cat conftest.$ac_ext >&5 3994 sed 's/^/| /' conftest.$ac_ext >&5 3995 2818 3996 ac_cv_c_const=no 2819 3997 fi 2820 rm -f conftest. $ac_objext conftest.$ac_ext2821 fi 2822 echo "$as_me: 2822: result: $ac_cv_c_const" >&53998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3999 fi 4000 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 2823 4001 echo "${ECHO_T}$ac_cv_c_const" >&6 2824 4002 if test $ac_cv_c_const = no; then 2825 4003 2826 cat >>confdefs.h <<\ EOF4004 cat >>confdefs.h <<\_ACEOF 2827 4005 #define const 2828 EOF 2829 2830 fi 2831 2832 echo "$as_me:2832: checking for ANSI C header files" >&5 2833 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2834 if test "${ac_cv_header_stdc+set}" = set; then 2835 echo $ECHO_N "(cached) $ECHO_C" >&6 2836 else 2837 cat >conftest.$ac_ext <<_ACEOF 2838 #line 2838 "configure" 2839 #include "confdefs.h" 2840 #include <stdlib.h> 2841 #include <stdarg.h> 2842 #include <string.h> 2843 #include <float.h> 2844 2845 _ACEOF 2846 if { (eval echo "$as_me:2846: \"$ac_cpp conftest.$ac_ext\"") >&5 2847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2848 ac_status=$? 2849 egrep -v '^ *\+' conftest.er1 >conftest.err 2850 rm -f conftest.er1 2851 cat conftest.err >&5 2852 echo "$as_me:2852: \$? = $ac_status" >&5 2853 (exit $ac_status); } >/dev/null; then 2854 if test -s conftest.err; then 2855 ac_cpp_err=$ac_c_preproc_warn_flag 2856 else 2857 ac_cpp_err= 2858 fi 2859 else 2860 ac_cpp_err=yes 2861 fi 2862 if test -z "$ac_cpp_err"; then 2863 ac_cv_header_stdc=yes 2864 else 2865 echo "$as_me: failed program was:" >&5 2866 cat conftest.$ac_ext >&5 2867 ac_cv_header_stdc=no 2868 fi 2869 rm -f conftest.err conftest.$ac_ext 2870 2871 if test $ac_cv_header_stdc = yes; then 2872 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2873 cat >conftest.$ac_ext <<_ACEOF 2874 #line 2874 "configure" 2875 #include "confdefs.h" 2876 #include <string.h> 2877 2878 _ACEOF 2879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2880 egrep "memchr" >/dev/null 2>&1; then 2881 : 2882 else 2883 ac_cv_header_stdc=no 2884 fi 2885 rm -f conftest* 2886 2887 fi 2888 2889 if test $ac_cv_header_stdc = yes; then 2890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2891 cat >conftest.$ac_ext <<_ACEOF 2892 #line 2892 "configure" 2893 #include "confdefs.h" 2894 #include <stdlib.h> 2895 2896 _ACEOF 2897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2898 egrep "free" >/dev/null 2>&1; then 2899 : 2900 else 2901 ac_cv_header_stdc=no 2902 fi 2903 rm -f conftest* 2904 2905 fi 2906 2907 if test $ac_cv_header_stdc = yes; then 2908 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2909 if test "$cross_compiling" = yes; then 2910 : 2911 else 2912 cat >conftest.$ac_ext <<_ACEOF 2913 #line 2913 "configure" 2914 #include "confdefs.h" 2915 #include <ctype.h> 2916 #if ((' ' & 0x0FF) == 0x020) 2917 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2918 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2919 #else 2920 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 2921 || ('j' <= (c) && (c) <= 'r') \ 2922 || ('s' <= (c) && (c) <= 'z')) 2923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2924 #endif 2925 2926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2927 int 2928 main () 2929 { 2930 int i; 2931 for (i = 0; i < 256; i++) 2932 if (XOR (islower (i), ISLOWER (i)) 2933 || toupper (i) != TOUPPER (i)) 2934 exit(2); 2935 exit (0); 2936 } 2937 _ACEOF 2938 rm -f conftest$ac_exeext 2939 if { (eval echo "$as_me:2939: \"$ac_link\"") >&5 2940 (eval $ac_link) 2>&5 2941 ac_status=$? 2942 echo "$as_me:2942: \$? = $ac_status" >&5 2943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2944 { (eval echo "$as_me:2944: \"$ac_try\"") >&5 2945 (eval $ac_try) 2>&5 2946 ac_status=$? 2947 echo "$as_me:2947: \$? = $ac_status" >&5 2948 (exit $ac_status); }; }; then 2949 : 2950 else 2951 echo "$as_me: program exited with status $ac_status" >&5 2952 echo "$as_me: failed program was:" >&5 2953 cat conftest.$ac_ext >&5 2954 ac_cv_header_stdc=no 2955 fi 2956 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext 2957 fi 2958 fi 2959 fi 2960 echo "$as_me:2960: result: $ac_cv_header_stdc" >&5 2961 echo "${ECHO_T}$ac_cv_header_stdc" >&6 2962 if test $ac_cv_header_stdc = yes; then 2963 2964 cat >>confdefs.h <<\EOF 2965 #define STDC_HEADERS 1 2966 EOF 2967 2968 fi 2969 2970 for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h 2971 do 2972 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` 2973 echo "$as_me:2973: checking for $ac_header" >&5 2974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2975 if eval "test \"\${$ac_ac_Header+set}\" = set"; then 2976 echo $ECHO_N "(cached) $ECHO_C" >&6 2977 else 2978 cat >conftest.$ac_ext <<_ACEOF 2979 #line 2979 "configure" 2980 #include "confdefs.h" 2981 #include <$ac_header> 2982 _ACEOF 2983 if { (eval echo "$as_me:2983: \"$ac_cpp conftest.$ac_ext\"") >&5 2984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2985 ac_status=$? 2986 egrep -v '^ *\+' conftest.er1 >conftest.err 2987 rm -f conftest.er1 2988 cat conftest.err >&5 2989 echo "$as_me:2989: \$? = $ac_status" >&5 2990 (exit $ac_status); } >/dev/null; then 2991 if test -s conftest.err; then 2992 ac_cpp_err=$ac_c_preproc_warn_flag 2993 else 2994 ac_cpp_err= 2995 fi 2996 else 2997 ac_cpp_err=yes 2998 fi 2999 if test -z "$ac_cpp_err"; then 3000 eval "$ac_ac_Header=yes" 3001 else 3002 echo "$as_me: failed program was:" >&5 3003 cat conftest.$ac_ext >&5 3004 eval "$ac_ac_Header=no" 3005 fi 3006 rm -f conftest.err conftest.$ac_ext 3007 fi 3008 echo "$as_me:3008: result: `eval echo '${'$ac_ac_Header'}'`" >&5 3009 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 3010 if test `eval echo '${'$ac_ac_Header'}'` = yes; then 3011 cat >>confdefs.h <<EOF 3012 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 3013 EOF 3014 3015 fi 3016 done 3017 3018 echo "$as_me:3018: checking for off_t" >&5 4006 _ACEOF 4007 4008 fi 4009 4010 echo "$as_me:$LINENO: checking for off_t" >&5 3019 4011 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 3020 4012 if test "${ac_cv_type_off_t+set}" = set; then … … 3022 4014 else 3023 4015 cat >conftest.$ac_ext <<_ACEOF 3024 #line 3024 "configure" 3025 #include "confdefs.h" 4016 /* confdefs.h. */ 4017 _ACEOF 4018 cat confdefs.h >>conftest.$ac_ext 4019 cat >>conftest.$ac_ext <<_ACEOF 4020 /* end confdefs.h. */ 3026 4021 $ac_includes_default 3027 4022 int … … 3037 4032 _ACEOF 3038 4033 rm -f conftest.$ac_objext 3039 if { (eval echo "$as_me:3039: \"$ac_compile\"") >&5 3040 (eval $ac_compile) 2>&5 3041 ac_status=$? 3042 echo "$as_me:3042: \$? = $ac_status" >&5 4034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4035 (eval $ac_compile) 2>conftest.er1 4036 ac_status=$? 4037 grep -v '^ *+' conftest.er1 >conftest.err 4038 rm -f conftest.er1 4039 cat conftest.err >&5 4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 4041 (exit $ac_status); } && 3044 { ac_try='test -s conftest.$ac_objext' 3045 { (eval echo "$as_me:3045: \"$ac_try\"") >&5 3046 (eval $ac_try) 2>&5 3047 ac_status=$? 3048 echo "$as_me:3048: \$? = $ac_status" >&5 4042 { ac_try='test -z "$ac_c_werror_flag" 4043 || test ! -s conftest.err' 4044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4045 (eval $ac_try) 2>&5 4046 ac_status=$? 4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4048 (exit $ac_status); }; } && 4049 { ac_try='test -s conftest.$ac_objext' 4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4051 (eval $ac_try) 2>&5 4052 ac_status=$? 4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3049 4054 (exit $ac_status); }; }; then 3050 4055 ac_cv_type_off_t=yes 3051 4056 else 3052 4057 echo "$as_me: failed program was:" >&5 3053 cat conftest.$ac_ext >&5 4058 sed 's/^/| /' conftest.$ac_ext >&5 4059 3054 4060 ac_cv_type_off_t=no 3055 4061 fi 3056 rm -f conftest. $ac_objext conftest.$ac_ext3057 fi 3058 echo "$as_me: 3058: result: $ac_cv_type_off_t" >&54062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4063 fi 4064 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 3059 4065 echo "${ECHO_T}$ac_cv_type_off_t" >&6 3060 4066 if test $ac_cv_type_off_t = yes; then … … 3062 4068 else 3063 4069 3064 cat >>confdefs.h << EOF4070 cat >>confdefs.h <<_ACEOF 3065 4071 #define off_t long 3066 EOF3067 3068 fi 3069 3070 echo "$as_me: 3070: checking for size_t" >&54072 _ACEOF 4073 4074 fi 4075 4076 echo "$as_me:$LINENO: checking for size_t" >&5 3071 4077 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 3072 4078 if test "${ac_cv_type_size_t+set}" = set; then … … 3074 4080 else 3075 4081 cat >conftest.$ac_ext <<_ACEOF 3076 #line 3076 "configure" 3077 #include "confdefs.h" 4082 /* confdefs.h. */ 4083 _ACEOF 4084 cat confdefs.h >>conftest.$ac_ext 4085 cat >>conftest.$ac_ext <<_ACEOF 4086 /* end confdefs.h. */ 3078 4087 $ac_includes_default 3079 4088 int … … 3089 4098 _ACEOF 3090 4099 rm -f conftest.$ac_objext 3091 if { (eval echo "$as_me:3091: \"$ac_compile\"") >&5 3092 (eval $ac_compile) 2>&5 3093 ac_status=$? 3094 echo "$as_me:3094: \$? = $ac_status" >&5 4100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4101 (eval $ac_compile) 2>conftest.er1 4102 ac_status=$? 4103 grep -v '^ *+' conftest.er1 >conftest.err 4104 rm -f conftest.er1 4105 cat conftest.err >&5 4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3095 4107 (exit $ac_status); } && 3096 { ac_try='test -s conftest.$ac_objext' 3097 { (eval echo "$as_me:3097: \"$ac_try\"") >&5 3098 (eval $ac_try) 2>&5 3099 ac_status=$? 3100 echo "$as_me:3100: \$? = $ac_status" >&5 4108 { ac_try='test -z "$ac_c_werror_flag" 4109 || test ! -s conftest.err' 4110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4111 (eval $ac_try) 2>&5 4112 ac_status=$? 4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4114 (exit $ac_status); }; } && 4115 { ac_try='test -s conftest.$ac_objext' 4116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4117 (eval $ac_try) 2>&5 4118 ac_status=$? 4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3101 4120 (exit $ac_status); }; }; then 3102 4121 ac_cv_type_size_t=yes 3103 4122 else 3104 4123 echo "$as_me: failed program was:" >&5 3105 cat conftest.$ac_ext >&5 4124 sed 's/^/| /' conftest.$ac_ext >&5 4125 3106 4126 ac_cv_type_size_t=no 3107 4127 fi 3108 rm -f conftest. $ac_objext conftest.$ac_ext3109 fi 3110 echo "$as_me: 3110: result: $ac_cv_type_size_t" >&54128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4129 fi 4130 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 3111 4131 echo "${ECHO_T}$ac_cv_type_size_t" >&6 3112 4132 if test $ac_cv_type_size_t = yes; then … … 3114 4134 else 3115 4135 3116 cat >>confdefs.h << EOF4136 cat >>confdefs.h <<_ACEOF 3117 4137 #define size_t unsigned 3118 EOF3119 3120 fi 3121 3122 echo "$as_me: 3122: checking whether time.h and sys/time.h may both be included" >&54138 _ACEOF 4139 4140 fi 4141 4142 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 3123 4143 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 3124 4144 if test "${ac_cv_header_time+set}" = set; then … … 3126 4146 else 3127 4147 cat >conftest.$ac_ext <<_ACEOF 3128 #line 3128 "configure" 3129 #include "confdefs.h" 4148 /* confdefs.h. */ 4149 _ACEOF 4150 cat confdefs.h >>conftest.$ac_ext 4151 cat >>conftest.$ac_ext <<_ACEOF 4152 /* end confdefs.h. */ 3130 4153 #include <sys/types.h> 3131 4154 #include <sys/time.h> … … 3135 4158 main () 3136 4159 { 3137 struct tm *tp; 4160 if ((struct tm *) 0) 4161 return 0; 3138 4162 ; 3139 4163 return 0; … … 3141 4165 _ACEOF 3142 4166 rm -f conftest.$ac_objext 3143 if { (eval echo "$as_me:3143: \"$ac_compile\"") >&5 3144 (eval $ac_compile) 2>&5 3145 ac_status=$? 3146 echo "$as_me:3146: \$? = $ac_status" >&5 4167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4168 (eval $ac_compile) 2>conftest.er1 4169 ac_status=$? 4170 grep -v '^ *+' conftest.er1 >conftest.err 4171 rm -f conftest.er1 4172 cat conftest.err >&5 4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3147 4174 (exit $ac_status); } && 3148 { ac_try='test -s conftest.$ac_objext' 3149 { (eval echo "$as_me:3149: \"$ac_try\"") >&5 3150 (eval $ac_try) 2>&5 3151 ac_status=$? 3152 echo "$as_me:3152: \$? = $ac_status" >&5 4175 { ac_try='test -z "$ac_c_werror_flag" 4176 || test ! -s conftest.err' 4177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4178 (eval $ac_try) 2>&5 4179 ac_status=$? 4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4181 (exit $ac_status); }; } && 4182 { ac_try='test -s conftest.$ac_objext' 4183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4184 (eval $ac_try) 2>&5 4185 ac_status=$? 4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3153 4187 (exit $ac_status); }; }; then 3154 4188 ac_cv_header_time=yes 3155 4189 else 3156 4190 echo "$as_me: failed program was:" >&5 3157 cat conftest.$ac_ext >&5 4191 sed 's/^/| /' conftest.$ac_ext >&5 4192 3158 4193 ac_cv_header_time=no 3159 4194 fi 3160 rm -f conftest. $ac_objext conftest.$ac_ext3161 fi 3162 echo "$as_me: 3162: result: $ac_cv_header_time" >&54195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4196 fi 4197 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 3163 4198 echo "${ECHO_T}$ac_cv_header_time" >&6 3164 4199 if test $ac_cv_header_time = yes; then 3165 4200 3166 cat >>confdefs.h <<\ EOF4201 cat >>confdefs.h <<\_ACEOF 3167 4202 #define TIME_WITH_SYS_TIME 1 3168 EOF3169 3170 fi 3171 3172 echo "$as_me: 3172: checking whether struct tm is in sys/time.h or time.h" >&54203 _ACEOF 4204 4205 fi 4206 4207 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 3173 4208 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 3174 4209 if test "${ac_cv_struct_tm+set}" = set; then … … 3176 4211 else 3177 4212 cat >conftest.$ac_ext <<_ACEOF 3178 #line 3178 "configure" 3179 #include "confdefs.h" 4213 /* confdefs.h. */ 4214 _ACEOF 4215 cat confdefs.h >>conftest.$ac_ext 4216 cat >>conftest.$ac_ext <<_ACEOF 4217 /* end confdefs.h. */ 3180 4218 #include <sys/types.h> 3181 4219 #include <time.h> … … 3190 4228 _ACEOF 3191 4229 rm -f conftest.$ac_objext 3192 if { (eval echo "$as_me:3192: \"$ac_compile\"") >&5 3193 (eval $ac_compile) 2>&5 3194 ac_status=$? 3195 echo "$as_me:3195: \$? = $ac_status" >&5 4230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4231 (eval $ac_compile) 2>conftest.er1 4232 ac_status=$? 4233 grep -v '^ *+' conftest.er1 >conftest.err 4234 rm -f conftest.er1 4235 cat conftest.err >&5 4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 4237 (exit $ac_status); } && 3197 { ac_try='test -s conftest.$ac_objext' 3198 { (eval echo "$as_me:3198: \"$ac_try\"") >&5 3199 (eval $ac_try) 2>&5 3200 ac_status=$? 3201 echo "$as_me:3201: \$? = $ac_status" >&5 4238 { ac_try='test -z "$ac_c_werror_flag" 4239 || test ! -s conftest.err' 4240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4241 (eval $ac_try) 2>&5 4242 ac_status=$? 4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4244 (exit $ac_status); }; } && 4245 { ac_try='test -s conftest.$ac_objext' 4246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4247 (eval $ac_try) 2>&5 4248 ac_status=$? 4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3202 4250 (exit $ac_status); }; }; then 3203 4251 ac_cv_struct_tm=time.h 3204 4252 else 3205 4253 echo "$as_me: failed program was:" >&5 3206 cat conftest.$ac_ext >&5 4254 sed 's/^/| /' conftest.$ac_ext >&5 4255 3207 4256 ac_cv_struct_tm=sys/time.h 3208 4257 fi 3209 rm -f conftest. $ac_objext conftest.$ac_ext3210 fi 3211 echo "$as_me: 3211: result: $ac_cv_struct_tm" >&54258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4259 fi 4260 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 3212 4261 echo "${ECHO_T}$ac_cv_struct_tm" >&6 3213 4262 if test $ac_cv_struct_tm = sys/time.h; then 3214 4263 3215 cat >>confdefs.h <<\ EOF4264 cat >>confdefs.h <<\_ACEOF 3216 4265 #define TM_IN_SYS_TIME 1 3217 EOF 3218 3219 fi 4266 _ACEOF 4267 4268 fi 4269 3220 4270 3221 4271 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 3222 4272 cat >conftest.$ac_ext <<_ACEOF 3223 #line 3223 "configure" 3224 #include "confdefs.h" 4273 /* confdefs.h. */ 4274 _ACEOF 4275 cat confdefs.h >>conftest.$ac_ext 4276 cat >>conftest.$ac_ext <<_ACEOF 4277 /* end confdefs.h. */ 3225 4278 #include <stdio.h> 3226 4279 … … 3234 4287 _ACEOF 3235 4288 rm -f conftest.$ac_objext 3236 if { (eval echo "$as_me:3236: \"$ac_compile\"") >&5 3237 (eval $ac_compile) 2>&5 3238 ac_status=$? 3239 echo "$as_me:3239: \$? = $ac_status" >&5 4289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4290 (eval $ac_compile) 2>conftest.er1 4291 ac_status=$? 4292 grep -v '^ *+' conftest.er1 >conftest.err 4293 rm -f conftest.er1 4294 cat conftest.err >&5 4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3240 4296 (exit $ac_status); } && 3241 { ac_try='test -s conftest.$ac_objext' 3242 { (eval echo "$as_me:3242: \"$ac_try\"") >&5 3243 (eval $ac_try) 2>&5 3244 ac_status=$? 3245 echo "$as_me:3245: \$? = $ac_status" >&5 4297 { ac_try='test -z "$ac_c_werror_flag" 4298 || test ! -s conftest.err' 4299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4300 (eval $ac_try) 2>&5 4301 ac_status=$? 4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4303 (exit $ac_status); }; } && 4304 { ac_try='test -s conftest.$ac_objext' 4305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4306 (eval $ac_try) 2>&5 4307 ac_status=$? 4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3246 4309 (exit $ac_status); }; }; then 3247 4310 : 3248 4311 else 3249 4312 echo "$as_me: failed program was:" >&5 3250 cat conftest.$ac_ext >&5 4313 sed 's/^/| /' conftest.$ac_ext >&5 4314 3251 4315 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 3252 4316 fi 3253 rm -f conftest.$ac_objext conftest.$ac_ext 3254 fi 3255 3256 echo "$as_me:3256: checking for main in -lg" >&5 4317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4318 fi 4319 4320 4321 4322 echo "$as_me:$LINENO: checking for main in -lg" >&5 3257 4323 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 3258 4324 if test "${ac_cv_lib_g_main+set}" = set; then … … 3262 4328 LIBS="-lg $LIBS" 3263 4329 cat >conftest.$ac_ext <<_ACEOF 3264 #line 3264 "configure" 3265 #include "confdefs.h" 4330 /* confdefs.h. */ 4331 _ACEOF 4332 cat confdefs.h >>conftest.$ac_ext 4333 cat >>conftest.$ac_ext <<_ACEOF 4334 /* end confdefs.h. */ 4335 3266 4336 3267 4337 int … … 3274 4344 _ACEOF 3275 4345 rm -f conftest.$ac_objext conftest$ac_exeext 3276 if { (eval echo "$as_me:3276: \"$ac_link\"") >&5 3277 (eval $ac_link) 2>&5 3278 ac_status=$? 3279 echo "$as_me:3279: \$? = $ac_status" >&5 4346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4347 (eval $ac_link) 2>conftest.er1 4348 ac_status=$? 4349 grep -v '^ *+' conftest.er1 >conftest.err 4350 rm -f conftest.er1 4351 cat conftest.err >&5 4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3280 4353 (exit $ac_status); } && 3281 { ac_try='test -s conftest$ac_exeext' 3282 { (eval echo "$as_me:3282: \"$ac_try\"") >&5 3283 (eval $ac_try) 2>&5 3284 ac_status=$? 3285 echo "$as_me:3285: \$? = $ac_status" >&5 4354 { ac_try='test -z "$ac_c_werror_flag" 4355 || test ! -s conftest.err' 4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4357 (eval $ac_try) 2>&5 4358 ac_status=$? 4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4360 (exit $ac_status); }; } && 4361 { ac_try='test -s conftest$ac_exeext' 4362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4363 (eval $ac_try) 2>&5 4364 ac_status=$? 4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3286 4366 (exit $ac_status); }; }; then 3287 4367 ac_cv_lib_g_main=yes 3288 4368 else 3289 4369 echo "$as_me: failed program was:" >&5 3290 cat conftest.$ac_ext >&5 4370 sed 's/^/| /' conftest.$ac_ext >&5 4371 3291 4372 ac_cv_lib_g_main=no 3292 4373 fi 3293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4374 rm -f conftest.err conftest.$ac_objext \ 4375 conftest$ac_exeext conftest.$ac_ext 3294 4376 LIBS=$ac_check_lib_save_LIBS 3295 4377 fi 3296 echo "$as_me: 3296: result: $ac_cv_lib_g_main" >&54378 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 3297 4379 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 3298 4380 if test $ac_cv_lib_g_main = yes; then 3299 cat >>confdefs.h << EOF4381 cat >>confdefs.h <<_ACEOF 3300 4382 #define HAVE_LIBG 1 3301 EOF4383 _ACEOF 3302 4384 3303 4385 LIBS="-lg $LIBS" … … 3305 4387 fi 3306 4388 3307 echo "$as_me:3307: checking for main in -lm" >&5 4389 4390 echo "$as_me:$LINENO: checking for main in -lm" >&5 3308 4391 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 3309 4392 if test "${ac_cv_lib_m_main+set}" = set; then … … 3313 4396 LIBS="-lm $LIBS" 3314 4397 cat >conftest.$ac_ext <<_ACEOF 3315 #line 3315 "configure" 3316 #include "confdefs.h" 4398 /* confdefs.h. */ 4399 _ACEOF 4400 cat confdefs.h >>conftest.$ac_ext 4401 cat >>conftest.$ac_ext <<_ACEOF 4402 /* end confdefs.h. */ 4403 3317 4404 3318 4405 int … … 3325 4412 _ACEOF 3326 4413 rm -f conftest.$ac_objext conftest$ac_exeext 3327 if { (eval echo "$as_me:3327: \"$ac_link\"") >&5 3328 (eval $ac_link) 2>&5 3329 ac_status=$? 3330 echo "$as_me:3330: \$? = $ac_status" >&5 4414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4415 (eval $ac_link) 2>conftest.er1 4416 ac_status=$? 4417 grep -v '^ *+' conftest.er1 >conftest.err 4418 rm -f conftest.er1 4419 cat conftest.err >&5 4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3331 4421 (exit $ac_status); } && 3332 { ac_try='test -s conftest$ac_exeext' 3333 { (eval echo "$as_me:3333: \"$ac_try\"") >&5 3334 (eval $ac_try) 2>&5 3335 ac_status=$? 3336 echo "$as_me:3336: \$? = $ac_status" >&5 4422 { ac_try='test -z "$ac_c_werror_flag" 4423 || test ! -s conftest.err' 4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4425 (eval $ac_try) 2>&5 4426 ac_status=$? 4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4428 (exit $ac_status); }; } && 4429 { ac_try='test -s conftest$ac_exeext' 4430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4431 (eval $ac_try) 2>&5 4432 ac_status=$? 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3337 4434 (exit $ac_status); }; }; then 3338 4435 ac_cv_lib_m_main=yes 3339 4436 else 3340 4437 echo "$as_me: failed program was:" >&5 3341 cat conftest.$ac_ext >&5 4438 sed 's/^/| /' conftest.$ac_ext >&5 4439 3342 4440 ac_cv_lib_m_main=no 3343 4441 fi 3344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4442 rm -f conftest.err conftest.$ac_objext \ 4443 conftest$ac_exeext conftest.$ac_ext 3345 4444 LIBS=$ac_check_lib_save_LIBS 3346 4445 fi 3347 echo "$as_me: 3347: result: $ac_cv_lib_m_main" >&54446 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 3348 4447 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 3349 4448 if test $ac_cv_lib_m_main = yes; then 3350 cat >>confdefs.h << EOF4449 cat >>confdefs.h <<_ACEOF 3351 4450 #define HAVE_LIBM 1 3352 EOF4451 _ACEOF 3353 4452 3354 4453 LIBS="-lm $LIBS" … … 3356 4455 fi 3357 4456 3358 echo "$as_me:3358: checking for main in -lstdc++" >&5 4457 4458 echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 3359 4459 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6 3360 4460 if test "${ac_cv_lib_stdcpp_main+set}" = set; then … … 3364 4464 LIBS="-lstdc++ $LIBS" 3365 4465 cat >conftest.$ac_ext <<_ACEOF 3366 #line 3366 "configure" 3367 #include "confdefs.h" 4466 /* confdefs.h. */ 4467 _ACEOF 4468 cat confdefs.h >>conftest.$ac_ext 4469 cat >>conftest.$ac_ext <<_ACEOF 4470 /* end confdefs.h. */ 4471 3368 4472 3369 4473 int … … 3376 4480 _ACEOF 3377 4481 rm -f conftest.$ac_objext conftest$ac_exeext 3378 if { (eval echo "$as_me:3378: \"$ac_link\"") >&5 3379 (eval $ac_link) 2>&5 3380 ac_status=$? 3381 echo "$as_me:3381: \$? = $ac_status" >&5 4482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4483 (eval $ac_link) 2>conftest.er1 4484 ac_status=$? 4485 grep -v '^ *+' conftest.er1 >conftest.err 4486 rm -f conftest.er1 4487 cat conftest.err >&5 4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3382 4489 (exit $ac_status); } && 3383 { ac_try='test -s conftest$ac_exeext' 3384 { (eval echo "$as_me:3384: \"$ac_try\"") >&5 3385 (eval $ac_try) 2>&5 3386 ac_status=$? 3387 echo "$as_me:3387: \$? = $ac_status" >&5 4490 { ac_try='test -z "$ac_c_werror_flag" 4491 || test ! -s conftest.err' 4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4493 (eval $ac_try) 2>&5 4494 ac_status=$? 4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4496 (exit $ac_status); }; } && 4497 { ac_try='test -s conftest$ac_exeext' 4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4499 (eval $ac_try) 2>&5 4500 ac_status=$? 4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3388 4502 (exit $ac_status); }; }; then 3389 4503 ac_cv_lib_stdcpp_main=yes 3390 4504 else 3391 4505 echo "$as_me: failed program was:" >&5 3392 cat conftest.$ac_ext >&5 4506 sed 's/^/| /' conftest.$ac_ext >&5 4507 3393 4508 ac_cv_lib_stdcpp_main=no 3394 4509 fi 3395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4510 rm -f conftest.err conftest.$ac_objext \ 4511 conftest$ac_exeext conftest.$ac_ext 3396 4512 LIBS=$ac_check_lib_save_LIBS 3397 4513 fi 3398 echo "$as_me: 3398: result: $ac_cv_lib_stdcpp_main" >&54514 echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 3399 4515 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6 3400 4516 if test $ac_cv_lib_stdcpp_main = yes; then 3401 cat >>confdefs.h << EOF4517 cat >>confdefs.h <<_ACEOF 3402 4518 #define HAVE_LIBSTDC__ 1 3403 EOF4519 _ACEOF 3404 4520 3405 4521 LIBS="-lstdc++ $LIBS" … … 3407 4523 fi 3408 4524 3409 echo "$as_me:3409: checking for main in -lcrypt" >&5 4525 4526 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 3410 4527 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 3411 4528 if test "${ac_cv_lib_crypt_main+set}" = set; then … … 3415 4532 LIBS="-lcrypt $LIBS" 3416 4533 cat >conftest.$ac_ext <<_ACEOF 3417 #line 3417 "configure" 3418 #include "confdefs.h" 4534 /* confdefs.h. */ 4535 _ACEOF 4536 cat confdefs.h >>conftest.$ac_ext 4537 cat >>conftest.$ac_ext <<_ACEOF 4538 /* end confdefs.h. */ 4539 3419 4540 3420 4541 int … … 3427 4548 _ACEOF 3428 4549 rm -f conftest.$ac_objext conftest$ac_exeext 3429 if { (eval echo "$as_me:3429: \"$ac_link\"") >&5 3430 (eval $ac_link) 2>&5 3431 ac_status=$? 3432 echo "$as_me:3432: \$? = $ac_status" >&5 4550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4551 (eval $ac_link) 2>conftest.er1 4552 ac_status=$? 4553 grep -v '^ *+' conftest.er1 >conftest.err 4554 rm -f conftest.er1 4555 cat conftest.err >&5 4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3433 4557 (exit $ac_status); } && 3434 { ac_try='test -s conftest$ac_exeext' 3435 { (eval echo "$as_me:3435: \"$ac_try\"") >&5 3436 (eval $ac_try) 2>&5 3437 ac_status=$? 3438 echo "$as_me:3438: \$? = $ac_status" >&5 4558 { ac_try='test -z "$ac_c_werror_flag" 4559 || test ! -s conftest.err' 4560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4561 (eval $ac_try) 2>&5 4562 ac_status=$? 4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4564 (exit $ac_status); }; } && 4565 { ac_try='test -s conftest$ac_exeext' 4566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4567 (eval $ac_try) 2>&5 4568 ac_status=$? 4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3439 4570 (exit $ac_status); }; }; then 3440 4571 ac_cv_lib_crypt_main=yes 3441 4572 else 3442 4573 echo "$as_me: failed program was:" >&5 3443 cat conftest.$ac_ext >&5 4574 sed 's/^/| /' conftest.$ac_ext >&5 4575 3444 4576 ac_cv_lib_crypt_main=no 3445 4577 fi 3446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4578 rm -f conftest.err conftest.$ac_objext \ 4579 conftest$ac_exeext conftest.$ac_ext 3447 4580 LIBS=$ac_check_lib_save_LIBS 3448 4581 fi 3449 echo "$as_me: 3449: result: $ac_cv_lib_crypt_main" >&54582 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 3450 4583 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 3451 4584 if test $ac_cv_lib_crypt_main = yes; then 3452 cat >>confdefs.h << EOF4585 cat >>confdefs.h <<_ACEOF 3453 4586 #define HAVE_LIBCRYPT 1 3454 EOF4587 _ACEOF 3455 4588 3456 4589 LIBS="-lcrypt $LIBS" 3457 4590 3458 4591 fi 4592 4593 4594 4595 4596 4597 3459 4598 3460 4599 ac_header_dirent=no 3461 4600 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 3462 a c_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $ac_tr_sh`3463 echo "$as_me: 3463: checking for $ac_hdr that defines DIR" >&54601 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4602 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 3464 4603 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 3465 if eval "test \"\${$a c_ac_Header+set}\" = set"; then4604 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3466 4605 echo $ECHO_N "(cached) $ECHO_C" >&6 3467 4606 else 3468 4607 cat >conftest.$ac_ext <<_ACEOF 3469 #line 3469 "configure" 3470 #include "confdefs.h" 4608 /* confdefs.h. */ 4609 _ACEOF 4610 cat confdefs.h >>conftest.$ac_ext 4611 cat >>conftest.$ac_ext <<_ACEOF 4612 /* end confdefs.h. */ 3471 4613 #include <sys/types.h> 3472 4614 #include <$ac_hdr> … … 3475 4617 main () 3476 4618 { 3477 DIR *dirp = 0; 4619 if ((DIR *) 0) 4620 return 0; 3478 4621 ; 3479 4622 return 0; … … 3481 4624 _ACEOF 3482 4625 rm -f conftest.$ac_objext 3483 if { (eval echo "$as_me:3483: \"$ac_compile\"") >&5 3484 (eval $ac_compile) 2>&5 3485 ac_status=$? 3486 echo "$as_me:3486: \$? = $ac_status" >&5 4626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4627 (eval $ac_compile) 2>conftest.er1 4628 ac_status=$? 4629 grep -v '^ *+' conftest.er1 >conftest.err 4630 rm -f conftest.er1 4631 cat conftest.err >&5 4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 4633 (exit $ac_status); } && 3488 { ac_try='test -s conftest.$ac_objext' 3489 { (eval echo "$as_me:3489: \"$ac_try\"") >&5 3490 (eval $ac_try) 2>&5 3491 ac_status=$? 3492 echo "$as_me:3492: \$? = $ac_status" >&5 4634 { ac_try='test -z "$ac_c_werror_flag" 4635 || test ! -s conftest.err' 4636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4637 (eval $ac_try) 2>&5 4638 ac_status=$? 4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4640 (exit $ac_status); }; } && 4641 { ac_try='test -s conftest.$ac_objext' 4642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4643 (eval $ac_try) 2>&5 4644 ac_status=$? 4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3493 4646 (exit $ac_status); }; }; then 3494 eval "$a c_ac_Header=yes"4647 eval "$as_ac_Header=yes" 3495 4648 else 3496 4649 echo "$as_me: failed program was:" >&5 3497 cat conftest.$ac_ext >&5 3498 eval "$ac_ac_Header=no" 3499 fi 3500 rm -f conftest.$ac_objext conftest.$ac_ext 3501 fi 3502 echo "$as_me:3502: result: `eval echo '${'$ac_ac_Header'}'`" >&5 3503 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 3504 if test `eval echo '${'$ac_ac_Header'}'` = yes; then 3505 cat >>confdefs.h <<EOF 3506 #define `echo "HAVE_$ac_hdr" | $ac_tr_cpp` 1 3507 EOF 4650 sed 's/^/| /' conftest.$ac_ext >&5 4651 4652 eval "$as_ac_Header=no" 4653 fi 4654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4655 fi 4656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4658 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4659 cat >>confdefs.h <<_ACEOF 4660 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 4661 _ACEOF 3508 4662 3509 4663 ac_header_dirent=$ac_hdr; break … … 3513 4667 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 3514 4668 if test $ac_header_dirent = dirent.h; then 3515 echo "$as_me: 3515: checking for opendir in -ldir" >&53516 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&63517 if test "${ac_cv_ lib_dir_opendir+set}" = set; then4669 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4670 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4671 if test "${ac_cv_search_opendir+set}" = set; then 3518 4672 echo $ECHO_N "(cached) $ECHO_C" >&6 3519 4673 else 3520 ac_ check_lib_save_LIBS=$LIBS3521 LIBS="-ldir $LIBS" 4674 ac_func_search_save_LIBS=$LIBS 4675 ac_cv_search_opendir=no 3522 4676 cat >conftest.$ac_ext <<_ACEOF 3523 #line 3523 "configure" 3524 #include "confdefs.h" 4677 /* confdefs.h. */ 4678 _ACEOF 4679 cat confdefs.h >>conftest.$ac_ext 4680 cat >>conftest.$ac_ext <<_ACEOF 4681 /* end confdefs.h. */ 3525 4682 3526 4683 /* Override any gcc2 internal prototype to avoid an error. */ … … 3540 4697 _ACEOF 3541 4698 rm -f conftest.$ac_objext conftest$ac_exeext 3542 if { (eval echo "$as_me:3542: \"$ac_link\"") >&5 3543 (eval $ac_link) 2>&5 3544 ac_status=$? 3545 echo "$as_me:3545: \$? = $ac_status" >&5 4699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4700 (eval $ac_link) 2>conftest.er1 4701 ac_status=$? 4702 grep -v '^ *+' conftest.er1 >conftest.err 4703 rm -f conftest.er1 4704 cat conftest.err >&5 4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3546 4706 (exit $ac_status); } && 3547 { ac_try='test -s conftest$ac_exeext' 3548 { (eval echo "$as_me:3548: \"$ac_try\"") >&5 3549 (eval $ac_try) 2>&5 3550 ac_status=$? 3551 echo "$as_me:3551: \$? = $ac_status" >&5 4707 { ac_try='test -z "$ac_c_werror_flag" 4708 || test ! -s conftest.err' 4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4710 (eval $ac_try) 2>&5 4711 ac_status=$? 4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4713 (exit $ac_status); }; } && 4714 { ac_try='test -s conftest$ac_exeext' 4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4716 (eval $ac_try) 2>&5 4717 ac_status=$? 4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3552 4719 (exit $ac_status); }; }; then 3553 ac_cv_ lib_dir_opendir=yes4720 ac_cv_search_opendir="none required" 3554 4721 else 3555 4722 echo "$as_me: failed program was:" >&5 3556 cat conftest.$ac_ext >&5 3557 ac_cv_lib_dir_opendir=no 3558 fi 3559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3560 LIBS=$ac_check_lib_save_LIBS 3561 fi 3562 echo "$as_me:3562: result: $ac_cv_lib_dir_opendir" >&5 3563 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 3564 if test $ac_cv_lib_dir_opendir = yes; then 3565 LIBS="$LIBS -ldir" 3566 fi 3567 3568 else 3569 echo "$as_me:3569: checking for opendir in -lx" >&5 3570 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 3571 if test "${ac_cv_lib_x_opendir+set}" = set; then 3572 echo $ECHO_N "(cached) $ECHO_C" >&6 3573 else 3574 ac_check_lib_save_LIBS=$LIBS 3575 LIBS="-lx $LIBS" 3576 cat >conftest.$ac_ext <<_ACEOF 3577 #line 3577 "configure" 3578 #include "confdefs.h" 4723 sed 's/^/| /' conftest.$ac_ext >&5 4724 4725 fi 4726 rm -f conftest.err conftest.$ac_objext \ 4727 conftest$ac_exeext conftest.$ac_ext 4728 if test "$ac_cv_search_opendir" = no; then 4729 for ac_lib in dir; do 4730 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4731 cat >conftest.$ac_ext <<_ACEOF 4732 /* confdefs.h. */ 4733 _ACEOF 4734 cat confdefs.h >>conftest.$ac_ext 4735 cat >>conftest.$ac_ext <<_ACEOF 4736 /* end confdefs.h. */ 3579 4737 3580 4738 /* Override any gcc2 internal prototype to avoid an error. */ … … 3594 4752 _ACEOF 3595 4753 rm -f conftest.$ac_objext conftest$ac_exeext 3596 if { (eval echo "$as_me:3596: \"$ac_link\"") >&5 3597 (eval $ac_link) 2>&5 3598 ac_status=$? 3599 echo "$as_me:3599: \$? = $ac_status" >&5 4754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4755 (eval $ac_link) 2>conftest.er1 4756 ac_status=$? 4757 grep -v '^ *+' conftest.er1 >conftest.err 4758 rm -f conftest.er1 4759 cat conftest.err >&5 4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3600 4761 (exit $ac_status); } && 3601 { ac_try='test -s conftest$ac_exeext' 3602 { (eval echo "$as_me:3602: \"$ac_try\"") >&5 3603 (eval $ac_try) 2>&5 3604 ac_status=$? 3605 echo "$as_me:3605: \$? = $ac_status" >&5 4762 { ac_try='test -z "$ac_c_werror_flag" 4763 || test ! -s conftest.err' 4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4765 (eval $ac_try) 2>&5 4766 ac_status=$? 4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4768 (exit $ac_status); }; } && 4769 { ac_try='test -s conftest$ac_exeext' 4770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4771 (eval $ac_try) 2>&5 4772 ac_status=$? 4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3606 4774 (exit $ac_status); }; }; then 3607 ac_cv_lib_x_opendir=yes 4775 ac_cv_search_opendir="-l$ac_lib" 4776 break 3608 4777 else 3609 4778 echo "$as_me: failed program was:" >&5 3610 cat conftest.$ac_ext >&5 3611 ac_cv_lib_x_opendir=no 3612 fi 3613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3614 LIBS=$ac_check_lib_save_LIBS 3615 fi 3616 echo "$as_me:3616: result: $ac_cv_lib_x_opendir" >&5 3617 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 3618 if test $ac_cv_lib_x_opendir = yes; then 3619 LIBS="$LIBS -lx" 3620 fi 3621 3622 fi 3623 3624 echo "$as_me:3624: checking for ANSI C header files" >&5 4779 sed 's/^/| /' conftest.$ac_ext >&5 4780 4781 fi 4782 rm -f conftest.err conftest.$ac_objext \ 4783 conftest$ac_exeext conftest.$ac_ext 4784 done 4785 fi 4786 LIBS=$ac_func_search_save_LIBS 4787 fi 4788 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4789 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4790 if test "$ac_cv_search_opendir" != no; then 4791 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4792 4793 fi 4794 4795 else 4796 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4797 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4798 if test "${ac_cv_search_opendir+set}" = set; then 4799 echo $ECHO_N "(cached) $ECHO_C" >&6 4800 else 4801 ac_func_search_save_LIBS=$LIBS 4802 ac_cv_search_opendir=no 4803 cat >conftest.$ac_ext <<_ACEOF 4804 /* confdefs.h. */ 4805 _ACEOF 4806 cat confdefs.h >>conftest.$ac_ext 4807 cat >>conftest.$ac_ext <<_ACEOF 4808 /* end confdefs.h. */ 4809 4810 /* Override any gcc2 internal prototype to avoid an error. */ 4811 #ifdef __cplusplus 4812 extern "C" 4813 #endif 4814 /* We use char because int might match the return type of a gcc2 4815 builtin and then its argument prototype would still apply. */ 4816 char opendir (); 4817 int 4818 main () 4819 { 4820 opendir (); 4821 ; 4822 return 0; 4823 } 4824 _ACEOF 4825 rm -f conftest.$ac_objext conftest$ac_exeext 4826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4827 (eval $ac_link) 2>conftest.er1 4828 ac_status=$? 4829 grep -v '^ *+' conftest.er1 >conftest.err 4830 rm -f conftest.er1 4831 cat conftest.err >&5 4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4833 (exit $ac_status); } && 4834 { ac_try='test -z "$ac_c_werror_flag" 4835 || test ! -s conftest.err' 4836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4837 (eval $ac_try) 2>&5 4838 ac_status=$? 4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4840 (exit $ac_status); }; } && 4841 { ac_try='test -s conftest$ac_exeext' 4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4843 (eval $ac_try) 2>&5 4844 ac_status=$? 4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4846 (exit $ac_status); }; }; then 4847 ac_cv_search_opendir="none required" 4848 else 4849 echo "$as_me: failed program was:" >&5 4850 sed 's/^/| /' conftest.$ac_ext >&5 4851 4852 fi 4853 rm -f conftest.err conftest.$ac_objext \ 4854 conftest$ac_exeext conftest.$ac_ext 4855 if test "$ac_cv_search_opendir" = no; then 4856 for ac_lib in x; do 4857 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4858 cat >conftest.$ac_ext <<_ACEOF 4859 /* confdefs.h. */ 4860 _ACEOF 4861 cat confdefs.h >>conftest.$ac_ext 4862 cat >>conftest.$ac_ext <<_ACEOF 4863 /* end confdefs.h. */ 4864 4865 /* Override any gcc2 internal prototype to avoid an error. */ 4866 #ifdef __cplusplus 4867 extern "C" 4868 #endif 4869 /* We use char because int might match the return type of a gcc2 4870 builtin and then its argument prototype would still apply. */ 4871 char opendir (); 4872 int 4873 main () 4874 { 4875 opendir (); 4876 ; 4877 return 0; 4878 } 4879 _ACEOF 4880 rm -f conftest.$ac_objext conftest$ac_exeext 4881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4882 (eval $ac_link) 2>conftest.er1 4883 ac_status=$? 4884 grep -v '^ *+' conftest.er1 >conftest.err 4885 rm -f conftest.er1 4886 cat conftest.err >&5 4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4888 (exit $ac_status); } && 4889 { ac_try='test -z "$ac_c_werror_flag" 4890 || test ! -s conftest.err' 4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4892 (eval $ac_try) 2>&5 4893 ac_status=$? 4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4895 (exit $ac_status); }; } && 4896 { ac_try='test -s conftest$ac_exeext' 4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4898 (eval $ac_try) 2>&5 4899 ac_status=$? 4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4901 (exit $ac_status); }; }; then 4902 ac_cv_search_opendir="-l$ac_lib" 4903 break 4904 else 4905 echo "$as_me: failed program was:" >&5 4906 sed 's/^/| /' conftest.$ac_ext >&5 4907 4908 fi 4909 rm -f conftest.err conftest.$ac_objext \ 4910 conftest$ac_exeext conftest.$ac_ext 4911 done 4912 fi 4913 LIBS=$ac_func_search_save_LIBS 4914 fi 4915 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4916 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4917 if test "$ac_cv_search_opendir" != no; then 4918 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4919 4920 fi 4921 4922 fi 4923 4924 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3625 4925 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3626 4926 if test "${ac_cv_header_stdc+set}" = set; then … … 3628 4928 else 3629 4929 cat >conftest.$ac_ext <<_ACEOF 3630 #line 3630 "configure" 3631 #include "confdefs.h" 4930 /* confdefs.h. */ 4931 _ACEOF 4932 cat confdefs.h >>conftest.$ac_ext 4933 cat >>conftest.$ac_ext <<_ACEOF 4934 /* end confdefs.h. */ 3632 4935 #include <stdlib.h> 3633 4936 #include <stdarg.h> … … 3635 4938 #include <float.h> 3636 4939 3637 _ACEOF 3638 if { (eval echo "$as_me:3638: \"$ac_cpp conftest.$ac_ext\"") >&5 3639 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3640 ac_status=$? 3641 egrep -v '^ *\+' conftest.er1 >conftest.err 4940 int 4941 main () 4942 { 4943 4944 ; 4945 return 0; 4946 } 4947 _ACEOF 4948 rm -f conftest.$ac_objext 4949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4950 (eval $ac_compile) 2>conftest.er1 4951 ac_status=$? 4952 grep -v '^ *+' conftest.er1 >conftest.err 3642 4953 rm -f conftest.er1 3643 4954 cat conftest.err >&5 3644 echo "$as_me:3644: \$? = $ac_status" >&5 3645 (exit $ac_status); } >/dev/null; then 3646 if test -s conftest.err; then 3647 ac_cpp_err=$ac_c_preproc_warn_flag 3648 else 3649 ac_cpp_err= 3650 fi 3651 else 3652 ac_cpp_err=yes 3653 fi 3654 if test -z "$ac_cpp_err"; then 4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4956 (exit $ac_status); } && 4957 { ac_try='test -z "$ac_c_werror_flag" 4958 || test ! -s conftest.err' 4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4960 (eval $ac_try) 2>&5 4961 ac_status=$? 4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4963 (exit $ac_status); }; } && 4964 { ac_try='test -s conftest.$ac_objext' 4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4966 (eval $ac_try) 2>&5 4967 ac_status=$? 4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4969 (exit $ac_status); }; }; then 3655 4970 ac_cv_header_stdc=yes 3656 4971 else 3657 4972 echo "$as_me: failed program was:" >&5 3658 cat conftest.$ac_ext >&5 3659 ac_cv_header_stdc=no 3660 fi 3661 rm -f conftest.err conftest.$ac_ext 4973 sed 's/^/| /' conftest.$ac_ext >&5 4974 4975 ac_cv_header_stdc=no 4976 fi 4977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3662 4978 3663 4979 if test $ac_cv_header_stdc = yes; then 3664 4980 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3665 4981 cat >conftest.$ac_ext <<_ACEOF 3666 #line 3666 "configure" 3667 #include "confdefs.h" 4982 /* confdefs.h. */ 4983 _ACEOF 4984 cat confdefs.h >>conftest.$ac_ext 4985 cat >>conftest.$ac_ext <<_ACEOF 4986 /* end confdefs.h. */ 3668 4987 #include <string.h> 3669 4988 3670 4989 _ACEOF 3671 4990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3672 egrep"memchr" >/dev/null 2>&1; then4991 $EGREP "memchr" >/dev/null 2>&1; then 3673 4992 : 3674 4993 else … … 3682 5001 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3683 5002 cat >conftest.$ac_ext <<_ACEOF 3684 #line 3684 "configure" 3685 #include "confdefs.h" 5003 /* confdefs.h. */ 5004 _ACEOF 5005 cat confdefs.h >>conftest.$ac_ext 5006 cat >>conftest.$ac_ext <<_ACEOF 5007 /* end confdefs.h. */ 3686 5008 #include <stdlib.h> 3687 5009 3688 5010 _ACEOF 3689 5011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3690 egrep"free" >/dev/null 2>&1; then5012 $EGREP "free" >/dev/null 2>&1; then 3691 5013 : 3692 5014 else … … 3703 5025 else 3704 5026 cat >conftest.$ac_ext <<_ACEOF 3705 #line 3705 "configure" 3706 #include "confdefs.h" 5027 /* confdefs.h. */ 5028 _ACEOF 5029 cat confdefs.h >>conftest.$ac_ext 5030 cat >>conftest.$ac_ext <<_ACEOF 5031 /* end confdefs.h. */ 3707 5032 #include <ctype.h> 3708 5033 #if ((' ' & 0x0FF) == 0x020) … … 3710 5035 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3711 5036 #else 3712 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 3713 || ('j' <= (c) && (c) <= 'r') \ 3714 || ('s' <= (c) && (c) <= 'z')) 5037 # define ISLOWER(c) \ 5038 (('a' <= (c) && (c) <= 'i') \ 5039 || ('j' <= (c) && (c) <= 'r') \ 5040 || ('s' <= (c) && (c) <= 'z')) 3715 5041 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3716 5042 #endif … … 3723 5049 for (i = 0; i < 256; i++) 3724 5050 if (XOR (islower (i), ISLOWER (i)) 3725 5051 || toupper (i) != TOUPPER (i)) 3726 5052 exit(2); 3727 5053 exit (0); … … 3729 5055 _ACEOF 3730 5056 rm -f conftest$ac_exeext 3731 if { (eval echo "$as_me: 3731: \"$ac_link\"") >&55057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3732 5058 (eval $ac_link) 2>&5 3733 5059 ac_status=$? 3734 echo "$as_me: 3734: \$? = $ac_status" >&55060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3735 5061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3736 { (eval echo "$as_me: 3736: \"$ac_try\"") >&53737 (eval $ac_try) 2>&5 3738 ac_status=$? 3739 echo "$as_me: 3739: \$? = $ac_status" >&55062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5063 (eval $ac_try) 2>&5 5064 ac_status=$? 5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3740 5066 (exit $ac_status); }; }; then 3741 5067 : … … 3743 5069 echo "$as_me: program exited with status $ac_status" >&5 3744 5070 echo "$as_me: failed program was:" >&5 3745 cat conftest.$ac_ext >&5 5071 sed 's/^/| /' conftest.$ac_ext >&5 5072 5073 ( exit $ac_status ) 3746 5074 ac_cv_header_stdc=no 3747 5075 fi 3748 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext3749 fi 3750 fi 3751 fi 3752 echo "$as_me: 3752: result: $ac_cv_header_stdc" >&55076 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5077 fi 5078 fi 5079 fi 5080 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3753 5081 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3754 5082 if test $ac_cv_header_stdc = yes; then 3755 5083 3756 cat >>confdefs.h <<\ EOF5084 cat >>confdefs.h <<\_ACEOF 3757 5085 #define STDC_HEADERS 1 3758 EOF 3759 3760 fi 5086 _ACEOF 5087 5088 fi 5089 5090 5091 5092 5093 5094 5095 5096 3761 5097 3762 5098 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h 3763 5099 do 3764 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` 3765 echo "$as_me:3765: checking for $ac_header" >&5 5100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5101 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5102 echo "$as_me:$LINENO: checking for $ac_header" >&5 3766 5103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3767 if eval "test \"\${$a c_ac_Header+set}\" = set"; then5104 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3768 5105 echo $ECHO_N "(cached) $ECHO_C" >&6 3769 else 3770 cat >conftest.$ac_ext <<_ACEOF 3771 #line 3771 "configure" 3772 #include "confdefs.h" 5106 fi 5107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5109 else 5110 # Is the header compilable? 5111 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5113 cat >conftest.$ac_ext <<_ACEOF 5114 /* confdefs.h. */ 5115 _ACEOF 5116 cat confdefs.h >>conftest.$ac_ext 5117 cat >>conftest.$ac_ext <<_ACEOF 5118 /* end confdefs.h. */ 5119 $ac_includes_default 3773 5120 #include <$ac_header> 3774 5121 _ACEOF 3775 if { (eval echo "$as_me:3775: \"$ac_cpp conftest.$ac_ext\"") >&5 3776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3777 ac_status=$? 3778 egrep -v '^ *\+' conftest.er1 >conftest.err 5122 rm -f conftest.$ac_objext 5123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5124 (eval $ac_compile) 2>conftest.er1 5125 ac_status=$? 5126 grep -v '^ *+' conftest.er1 >conftest.err 3779 5127 rm -f conftest.er1 3780 5128 cat conftest.err >&5 3781 echo "$as_me:3781: \$? = $ac_status" >&5 5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5130 (exit $ac_status); } && 5131 { ac_try='test -z "$ac_c_werror_flag" 5132 || test ! -s conftest.err' 5133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5134 (eval $ac_try) 2>&5 5135 ac_status=$? 5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5137 (exit $ac_status); }; } && 5138 { ac_try='test -s conftest.$ac_objext' 5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5140 (eval $ac_try) 2>&5 5141 ac_status=$? 5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5143 (exit $ac_status); }; }; then 5144 ac_header_compiler=yes 5145 else 5146 echo "$as_me: failed program was:" >&5 5147 sed 's/^/| /' conftest.$ac_ext >&5 5148 5149 ac_header_compiler=no 5150 fi 5151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5153 echo "${ECHO_T}$ac_header_compiler" >&6 5154 5155 # Is the header present? 5156 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5158 cat >conftest.$ac_ext <<_ACEOF 5159 /* confdefs.h. */ 5160 _ACEOF 5161 cat confdefs.h >>conftest.$ac_ext 5162 cat >>conftest.$ac_ext <<_ACEOF 5163 /* end confdefs.h. */ 5164 #include <$ac_header> 5165 _ACEOF 5166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5168 ac_status=$? 5169 grep -v '^ *+' conftest.er1 >conftest.err 5170 rm -f conftest.er1 5171 cat conftest.err >&5 5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3782 5173 (exit $ac_status); } >/dev/null; then 3783 5174 if test -s conftest.err; then 3784 5175 ac_cpp_err=$ac_c_preproc_warn_flag 5176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3785 5177 else 3786 5178 ac_cpp_err= … … 3790 5182 fi 3791 5183 if test -z "$ac_cpp_err"; then 3792 eval "$ac_ac_Header=yes"5184 ac_header_preproc=yes 3793 5185 else 3794 5186 echo "$as_me: failed program was:" >&5 3795 cat conftest.$ac_ext >&5 3796 eval "$ac_ac_Header=no" 5187 sed 's/^/| /' conftest.$ac_ext >&5 5188 5189 ac_header_preproc=no 3797 5190 fi 3798 5191 rm -f conftest.err conftest.$ac_ext 3799 fi 3800 echo "$as_me:3800: result: `eval echo '${'$ac_ac_Header'}'`" >&5 3801 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 3802 if test `eval echo '${'$ac_ac_Header'}'` = yes; then 3803 cat >>confdefs.h <<EOF 3804 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 3805 EOF 3806 3807 fi 5192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5193 echo "${ECHO_T}$ac_header_preproc" >&6 5194 5195 # So? What about this header? 5196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5197 yes:no: ) 5198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5202 ac_header_preproc=yes 5203 ;; 5204 no:yes:* ) 5205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5217 ( 5218 cat <<\_ASBOX 5219 ## ------------------------------------------ ## 5220 ## Report this to the AC_PACKAGE_NAME lists. ## 5221 ## ------------------------------------------ ## 5222 _ASBOX 5223 ) | 5224 sed "s/^/$as_me: WARNING: /" >&2 5225 ;; 5226 esac 5227 echo "$as_me:$LINENO: checking for $ac_header" >&5 5228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5229 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5230 echo $ECHO_N "(cached) $ECHO_C" >&6 5231 else 5232 eval "$as_ac_Header=\$ac_header_preproc" 5233 fi 5234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5236 5237 fi 5238 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5239 cat >>confdefs.h <<_ACEOF 5240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5241 _ACEOF 5242 5243 fi 5244 3808 5245 done 3809 5246 3810 5247 cat >conftest.$ac_ext <<_ACEOF 3811 #line 3811 "configure" 3812 #include "confdefs.h" 5248 /* confdefs.h. */ 5249 _ACEOF 5250 cat confdefs.h >>conftest.$ac_ext 5251 cat >>conftest.$ac_ext <<_ACEOF 5252 /* end confdefs.h. */ 3813 5253 #include <stdio.h> 3814 5254 3815 5255 _ACEOF 3816 5256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3817 egrep "fread" >/dev/null 2>&1; then 3818 cat >>confdefs.h <<\EOF 5257 $EGREP "fread" >/dev/null 2>&1; then 5258 5259 cat >>confdefs.h <<\_ACEOF 3819 5260 #define HAVE_FREAD_DECL 1 3820 EOF5261 _ACEOF 3821 5262 3822 5263 fi … … 3824 5265 3825 5266 cat >conftest.$ac_ext <<_ACEOF 3826 #line 3826 "configure" 3827 #include "confdefs.h" 5267 /* confdefs.h. */ 5268 _ACEOF 5269 cat confdefs.h >>conftest.$ac_ext 5270 cat >>conftest.$ac_ext <<_ACEOF 5271 /* end confdefs.h. */ 3828 5272 #include <stdio.h> 3829 5273 3830 5274 _ACEOF 3831 5275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3832 egrep "fgetc" >/dev/null 2>&1; then 3833 cat >>confdefs.h <<\EOF 5276 $EGREP "fgetc" >/dev/null 2>&1; then 5277 5278 cat >>confdefs.h <<\_ACEOF 3834 5279 #define HAVE_FGETC_DECL 1 3835 EOF5280 _ACEOF 3836 5281 3837 5282 fi … … 3839 5284 3840 5285 cat >conftest.$ac_ext <<_ACEOF 3841 #line 3841 "configure" 3842 #include "confdefs.h" 5286 /* confdefs.h. */ 5287 _ACEOF 5288 cat confdefs.h >>conftest.$ac_ext 5289 cat >>conftest.$ac_ext <<_ACEOF 5290 /* end confdefs.h. */ 3843 5291 #include <sys/procfs.h> 3844 5292 3845 5293 _ACEOF 3846 5294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3847 egrep "pr_brksize" >/dev/null 2>&1; then 3848 cat >>confdefs.h <<\EOF 5295 $EGREP "pr_brksize" >/dev/null 2>&1; then 5296 5297 cat >>confdefs.h <<\_ACEOF 3849 5298 #define HAVE_PR_BRKSIZE 1 3850 EOF5299 _ACEOF 3851 5300 3852 5301 fi 3853 5302 rm -f conftest* 5303 3854 5304 3855 5305 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 3856 5306 # for constant arguments. Useless! 3857 echo "$as_me: 3857: checking for working alloca.h" >&55307 echo "$as_me:$LINENO: checking for working alloca.h" >&5 3858 5308 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 3859 5309 if test "${ac_cv_working_alloca_h+set}" = set; then … … 3861 5311 else 3862 5312 cat >conftest.$ac_ext <<_ACEOF 3863 #line 3863 "configure" 3864 #include "confdefs.h" 5313 /* confdefs.h. */ 5314 _ACEOF 5315 cat confdefs.h >>conftest.$ac_ext 5316 cat >>conftest.$ac_ext <<_ACEOF 5317 /* end confdefs.h. */ 3865 5318 #include <alloca.h> 3866 5319 int … … 3873 5326 _ACEOF 3874 5327 rm -f conftest.$ac_objext conftest$ac_exeext 3875 if { (eval echo "$as_me:3875: \"$ac_link\"") >&5 3876 (eval $ac_link) 2>&5 3877 ac_status=$? 3878 echo "$as_me:3878: \$? = $ac_status" >&5 5328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5329 (eval $ac_link) 2>conftest.er1 5330 ac_status=$? 5331 grep -v '^ *+' conftest.er1 >conftest.err 5332 rm -f conftest.er1 5333 cat conftest.err >&5 5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3879 5335 (exit $ac_status); } && 3880 { ac_try='test -s conftest$ac_exeext' 3881 { (eval echo "$as_me:3881: \"$ac_try\"") >&5 3882 (eval $ac_try) 2>&5 3883 ac_status=$? 3884 echo "$as_me:3884: \$? = $ac_status" >&5 5336 { ac_try='test -z "$ac_c_werror_flag" 5337 || test ! -s conftest.err' 5338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5339 (eval $ac_try) 2>&5 5340 ac_status=$? 5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5342 (exit $ac_status); }; } && 5343 { ac_try='test -s conftest$ac_exeext' 5344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5345 (eval $ac_try) 2>&5 5346 ac_status=$? 5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3885 5348 (exit $ac_status); }; }; then 3886 5349 ac_cv_working_alloca_h=yes 3887 5350 else 3888 5351 echo "$as_me: failed program was:" >&5 3889 cat conftest.$ac_ext >&5 5352 sed 's/^/| /' conftest.$ac_ext >&5 5353 3890 5354 ac_cv_working_alloca_h=no 3891 5355 fi 3892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3893 fi 3894 echo "$as_me:3894: result: $ac_cv_working_alloca_h" >&5 5356 rm -f conftest.err conftest.$ac_objext \ 5357 conftest$ac_exeext conftest.$ac_ext 5358 fi 5359 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 3895 5360 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 3896 5361 if test $ac_cv_working_alloca_h = yes; then 3897 5362 3898 cat >>confdefs.h <<\ EOF5363 cat >>confdefs.h <<\_ACEOF 3899 5364 #define HAVE_ALLOCA_H 1 3900 EOF3901 3902 fi 3903 3904 echo "$as_me: 3904: checking for alloca" >&55365 _ACEOF 5366 5367 fi 5368 5369 echo "$as_me:$LINENO: checking for alloca" >&5 3905 5370 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 3906 5371 if test "${ac_cv_func_alloca_works+set}" = set; then … … 3908 5373 else 3909 5374 cat >conftest.$ac_ext <<_ACEOF 3910 #line 3910 "configure" 3911 #include "confdefs.h" 5375 /* confdefs.h. */ 5376 _ACEOF 5377 cat confdefs.h >>conftest.$ac_ext 5378 cat >>conftest.$ac_ext <<_ACEOF 5379 /* end confdefs.h. */ 3912 5380 #ifdef __GNUC__ 3913 5381 # define alloca __builtin_alloca … … 3940 5408 _ACEOF 3941 5409 rm -f conftest.$ac_objext conftest$ac_exeext 3942 if { (eval echo "$as_me:3942: \"$ac_link\"") >&5 3943 (eval $ac_link) 2>&5 3944 ac_status=$? 3945 echo "$as_me:3945: \$? = $ac_status" >&5 5410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5411 (eval $ac_link) 2>conftest.er1 5412 ac_status=$? 5413 grep -v '^ *+' conftest.er1 >conftest.err 5414 rm -f conftest.er1 5415 cat conftest.err >&5 5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3946 5417 (exit $ac_status); } && 3947 { ac_try='test -s conftest$ac_exeext' 3948 { (eval echo "$as_me:3948: \"$ac_try\"") >&5 3949 (eval $ac_try) 2>&5 3950 ac_status=$? 3951 echo "$as_me:3951: \$? = $ac_status" >&5 5418 { ac_try='test -z "$ac_c_werror_flag" 5419 || test ! -s conftest.err' 5420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5421 (eval $ac_try) 2>&5 5422 ac_status=$? 5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5424 (exit $ac_status); }; } && 5425 { ac_try='test -s conftest$ac_exeext' 5426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5427 (eval $ac_try) 2>&5 5428 ac_status=$? 5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3952 5430 (exit $ac_status); }; }; then 3953 5431 ac_cv_func_alloca_works=yes 3954 5432 else 3955 5433 echo "$as_me: failed program was:" >&5 3956 cat conftest.$ac_ext >&5 5434 sed 's/^/| /' conftest.$ac_ext >&5 5435 3957 5436 ac_cv_func_alloca_works=no 3958 5437 fi 3959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3960 fi 3961 echo "$as_me:3961: result: $ac_cv_func_alloca_works" >&5 5438 rm -f conftest.err conftest.$ac_objext \ 5439 conftest$ac_exeext conftest.$ac_ext 5440 fi 5441 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 3962 5442 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 3963 5443 3964 5444 if test $ac_cv_func_alloca_works = yes; then 3965 5445 3966 cat >>confdefs.h <<\ EOF5446 cat >>confdefs.h <<\_ACEOF 3967 5447 #define HAVE_ALLOCA 1 3968 EOF5448 _ACEOF 3969 5449 3970 5450 else … … 3976 5456 ALLOCA=alloca.$ac_objext 3977 5457 3978 cat >>confdefs.h <<\ EOF5458 cat >>confdefs.h <<\_ACEOF 3979 5459 #define C_ALLOCA 1 3980 EOF 3981 3982 echo "$as_me:3982: checking whether \`alloca.c' needs Cray hooks" >&5 5460 _ACEOF 5461 5462 5463 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 3983 5464 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 3984 5465 if test "${ac_cv_os_cray+set}" = set; then … … 3986 5467 else 3987 5468 cat >conftest.$ac_ext <<_ACEOF 3988 #line 3988 "configure" 3989 #include "confdefs.h" 5469 /* confdefs.h. */ 5470 _ACEOF 5471 cat confdefs.h >>conftest.$ac_ext 5472 cat >>conftest.$ac_ext <<_ACEOF 5473 /* end confdefs.h. */ 3990 5474 #if defined(CRAY) && ! defined(CRAY2) 3991 5475 webecray … … 3996 5480 _ACEOF 3997 5481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3998 egrep"webecray" >/dev/null 2>&1; then5482 $EGREP "webecray" >/dev/null 2>&1; then 3999 5483 ac_cv_os_cray=yes 4000 5484 else … … 4004 5488 4005 5489 fi 4006 echo "$as_me: 4006: result: $ac_cv_os_cray" >&55490 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 4007 5491 echo "${ECHO_T}$ac_cv_os_cray" >&6 4008 5492 if test $ac_cv_os_cray = yes; then 4009 5493 for ac_func in _getb67 GETB67 getb67; do 4010 a c_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`4011 echo "$as_me: 4011: checking for $ac_func" >&55494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5495 echo "$as_me:$LINENO: checking for $ac_func" >&5 4012 5496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4013 if eval "test \"\${$a c_ac_var+set}\" = set"; then5497 if eval "test \"\${$as_ac_var+set}\" = set"; then 4014 5498 echo $ECHO_N "(cached) $ECHO_C" >&6 4015 5499 else 4016 5500 cat >conftest.$ac_ext <<_ACEOF 4017 #line 4017 "configure" 4018 #include "confdefs.h" 5501 /* confdefs.h. */ 5502 _ACEOF 5503 cat confdefs.h >>conftest.$ac_ext 5504 cat >>conftest.$ac_ext <<_ACEOF 5505 /* end confdefs.h. */ 5506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5507 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5508 #define $ac_func innocuous_$ac_func 5509 4019 5510 /* System header to define __stub macros and hopefully few prototypes, 4020 which can conflict with char $ac_func (); below. */ 4021 #include <assert.h> 5511 which can conflict with char $ac_func (); below. 5512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5513 <limits.h> exists even on freestanding compilers. */ 5514 5515 #ifdef __STDC__ 5516 # include <limits.h> 5517 #else 5518 # include <assert.h> 5519 #endif 5520 5521 #undef $ac_func 5522 4022 5523 /* Override any gcc2 internal prototype to avoid an error. */ 4023 5524 #ifdef __cplusplus 4024 5525 extern "C" 5526 { 4025 5527 #endif 4026 5528 /* We use char because int might match the return type of a gcc2 4027 5529 builtin and then its argument prototype would still apply. */ 4028 5530 char $ac_func (); 4029 char (*f) ();4030 4031 int4032 main ()4033 {4034 5531 /* The GNU C library defines this for functions which it implements 4035 5532 to always fail with ENOSYS. Some functions are actually named … … 4038 5535 choke me 4039 5536 #else 4040 f= $ac_func;5537 char (*f) () = $ac_func; 4041 5538 #endif 4042 5539 #ifdef __cplusplus 5540 } 5541 #endif 5542 5543 int 5544 main () 5545 { 5546 return f != $ac_func; 4043 5547 ; 4044 5548 return 0; … … 4046 5550 _ACEOF 4047 5551 rm -f conftest.$ac_objext conftest$ac_exeext 4048 if { (eval echo "$as_me:4048: \"$ac_link\"") >&5 4049 (eval $ac_link) 2>&5 4050 ac_status=$? 4051 echo "$as_me:4051: \$? = $ac_status" >&5 5552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5553 (eval $ac_link) 2>conftest.er1 5554 ac_status=$? 5555 grep -v '^ *+' conftest.er1 >conftest.err 5556 rm -f conftest.er1 5557 cat conftest.err >&5 5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4052 5559 (exit $ac_status); } && 4053 { ac_try='test -s conftest$ac_exeext' 4054 { (eval echo "$as_me:4054: \"$ac_try\"") >&5 4055 (eval $ac_try) 2>&5 4056 ac_status=$? 4057 echo "$as_me:4057: \$? = $ac_status" >&5 5560 { ac_try='test -z "$ac_c_werror_flag" 5561 || test ! -s conftest.err' 5562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5563 (eval $ac_try) 2>&5 5564 ac_status=$? 5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5566 (exit $ac_status); }; } && 5567 { ac_try='test -s conftest$ac_exeext' 5568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5569 (eval $ac_try) 2>&5 5570 ac_status=$? 5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4058 5572 (exit $ac_status); }; }; then 4059 eval "$a c_ac_var=yes"5573 eval "$as_ac_var=yes" 4060 5574 else 4061 5575 echo "$as_me: failed program was:" >&5 4062 cat conftest.$ac_ext >&5 4063 eval "$ac_ac_var=no" 4064 fi 4065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4066 fi 4067 echo "$as_me:4067: result: `eval echo '${'$ac_ac_var'}'`" >&5 4068 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 4069 if test `eval echo '${'$ac_ac_var'}'` = yes; then 4070 4071 cat >>confdefs.h <<EOF 5576 sed 's/^/| /' conftest.$ac_ext >&5 5577 5578 eval "$as_ac_var=no" 5579 fi 5580 rm -f conftest.err conftest.$ac_objext \ 5581 conftest$ac_exeext conftest.$ac_ext 5582 fi 5583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5585 if test `eval echo '${'$as_ac_var'}'` = yes; then 5586 5587 cat >>confdefs.h <<_ACEOF 4072 5588 #define CRAY_STACKSEG_END $ac_func 4073 EOF5589 _ACEOF 4074 5590 4075 5591 break … … 4079 5595 fi 4080 5596 4081 echo "$as_me: 4081: checking stack direction for C alloca" >&55597 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 4082 5598 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 4083 5599 if test "${ac_cv_c_stack_direction+set}" = set; then … … 4088 5604 else 4089 5605 cat >conftest.$ac_ext <<_ACEOF 4090 #line 4090 "configure" 4091 #include "confdefs.h" 5606 /* confdefs.h. */ 5607 _ACEOF 5608 cat confdefs.h >>conftest.$ac_ext 5609 cat >>conftest.$ac_ext <<_ACEOF 5610 /* end confdefs.h. */ 4092 5611 int 4093 5612 find_stack_direction () … … 4111 5630 _ACEOF 4112 5631 rm -f conftest$ac_exeext 4113 if { (eval echo "$as_me: 4113: \"$ac_link\"") >&55632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4114 5633 (eval $ac_link) 2>&5 4115 5634 ac_status=$? 4116 echo "$as_me: 4116: \$? = $ac_status" >&55635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4117 5636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4118 { (eval echo "$as_me: 4118: \"$ac_try\"") >&54119 (eval $ac_try) 2>&5 4120 ac_status=$? 4121 echo "$as_me: 4121: \$? = $ac_status" >&55637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5638 (eval $ac_try) 2>&5 5639 ac_status=$? 5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4122 5641 (exit $ac_status); }; }; then 4123 5642 ac_cv_c_stack_direction=1 … … 4125 5644 echo "$as_me: program exited with status $ac_status" >&5 4126 5645 echo "$as_me: failed program was:" >&5 4127 cat conftest.$ac_ext >&5 5646 sed 's/^/| /' conftest.$ac_ext >&5 5647 5648 ( exit $ac_status ) 4128 5649 ac_cv_c_stack_direction=-1 4129 5650 fi 4130 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext4131 fi 4132 fi 4133 echo "$as_me: 4133: result: $ac_cv_c_stack_direction" >&55651 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5652 fi 5653 fi 5654 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 4134 5655 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 4135 5656 4136 cat >>confdefs.h << EOF5657 cat >>confdefs.h <<_ACEOF 4137 5658 #define STACK_DIRECTION $ac_cv_c_stack_direction 4138 EOF 5659 _ACEOF 5660 4139 5661 4140 5662 fi 4141 5663 4142 5664 if test $ac_cv_c_compiler_gnu = yes; then 4143 echo "$as_me: 4143: checking whether $CC needs -traditional" >&55665 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 4144 5666 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 4145 5667 if test "${ac_cv_prog_gcc_traditional+set}" = set; then … … 4148 5670 ac_pattern="Autoconf.*'x'" 4149 5671 cat >conftest.$ac_ext <<_ACEOF 4150 #line 4150 "configure" 4151 #include "confdefs.h" 5672 /* confdefs.h. */ 5673 _ACEOF 5674 cat confdefs.h >>conftest.$ac_ext 5675 cat >>conftest.$ac_ext <<_ACEOF 5676 /* end confdefs.h. */ 4152 5677 #include <sgtty.h> 4153 5678 Autoconf TIOCGETP 4154 5679 _ACEOF 4155 5680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4156 egrep"$ac_pattern" >/dev/null 2>&1; then5681 $EGREP "$ac_pattern" >/dev/null 2>&1; then 4157 5682 ac_cv_prog_gcc_traditional=yes 4158 5683 else … … 4160 5685 fi 4161 5686 rm -f conftest* 5687 4162 5688 4163 5689 if test $ac_cv_prog_gcc_traditional = no; then 4164 5690 cat >conftest.$ac_ext <<_ACEOF 4165 #line 4165 "configure" 4166 #include "confdefs.h" 5691 /* confdefs.h. */ 5692 _ACEOF 5693 cat confdefs.h >>conftest.$ac_ext 5694 cat >>conftest.$ac_ext <<_ACEOF 5695 /* end confdefs.h. */ 4167 5696 #include <termio.h> 4168 5697 Autoconf TCGETA 4169 5698 _ACEOF 4170 5699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4171 egrep"$ac_pattern" >/dev/null 2>&1; then5700 $EGREP "$ac_pattern" >/dev/null 2>&1; then 4172 5701 ac_cv_prog_gcc_traditional=yes 4173 5702 fi … … 4176 5705 fi 4177 5706 fi 4178 echo "$as_me: 4178: result: $ac_cv_prog_gcc_traditional" >&55707 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 4179 5708 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 4180 5709 if test $ac_cv_prog_gcc_traditional = yes; then … … 4183 5712 fi 4184 5713 4185 echo "$as_me: 4185: checking return type of signal handlers" >&55714 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 4186 5715 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4187 5716 if test "${ac_cv_type_signal+set}" = set; then … … 4189 5718 else 4190 5719 cat >conftest.$ac_ext <<_ACEOF 4191 #line 4191 "configure" 4192 #include "confdefs.h" 5720 /* confdefs.h. */ 5721 _ACEOF 5722 cat confdefs.h >>conftest.$ac_ext 5723 cat >>conftest.$ac_ext <<_ACEOF 5724 /* end confdefs.h. */ 4193 5725 #include <sys/types.h> 4194 5726 #include <signal.h> … … 4211 5743 _ACEOF 4212 5744 rm -f conftest.$ac_objext 4213 if { (eval echo "$as_me:4213: \"$ac_compile\"") >&5 4214 (eval $ac_compile) 2>&5 4215 ac_status=$? 4216 echo "$as_me:4216: \$? = $ac_status" >&5 5745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5746 (eval $ac_compile) 2>conftest.er1 5747 ac_status=$? 5748 grep -v '^ *+' conftest.er1 >conftest.err 5749 rm -f conftest.er1 5750 cat conftest.err >&5 5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4217 5752 (exit $ac_status); } && 4218 { ac_try='test -s conftest.$ac_objext' 4219 { (eval echo "$as_me:4219: \"$ac_try\"") >&5 4220 (eval $ac_try) 2>&5 4221 ac_status=$? 4222 echo "$as_me:4222: \$? = $ac_status" >&5 5753 { ac_try='test -z "$ac_c_werror_flag" 5754 || test ! -s conftest.err' 5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5756 (eval $ac_try) 2>&5 5757 ac_status=$? 5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5759 (exit $ac_status); }; } && 5760 { ac_try='test -s conftest.$ac_objext' 5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5762 (eval $ac_try) 2>&5 5763 ac_status=$? 5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4223 5765 (exit $ac_status); }; }; then 4224 5766 ac_cv_type_signal=void 4225 5767 else 4226 5768 echo "$as_me: failed program was:" >&5 4227 cat conftest.$ac_ext >&5 5769 sed 's/^/| /' conftest.$ac_ext >&5 5770 4228 5771 ac_cv_type_signal=int 4229 5772 fi 4230 rm -f conftest. $ac_objext conftest.$ac_ext4231 fi 4232 echo "$as_me: 4232: result: $ac_cv_type_signal" >&55773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5774 fi 5775 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 4233 5776 echo "${ECHO_T}$ac_cv_type_signal" >&6 4234 5777 4235 cat >>confdefs.h << EOF5778 cat >>confdefs.h <<_ACEOF 4236 5779 #define RETSIGTYPE $ac_cv_type_signal 4237 EOF 5780 _ACEOF 5781 5782 4238 5783 4239 5784 for ac_func in vprintf 4240 5785 do 4241 a c_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`4242 echo "$as_me: 4242: checking for $ac_func" >&55786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5787 echo "$as_me:$LINENO: checking for $ac_func" >&5 4243 5788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4244 if eval "test \"\${$a c_ac_var+set}\" = set"; then5789 if eval "test \"\${$as_ac_var+set}\" = set"; then 4245 5790 echo $ECHO_N "(cached) $ECHO_C" >&6 4246 5791 else 4247 5792 cat >conftest.$ac_ext <<_ACEOF 4248 #line 4248 "configure" 4249 #include "confdefs.h" 5793 /* confdefs.h. */ 5794 _ACEOF 5795 cat confdefs.h >>conftest.$ac_ext 5796 cat >>conftest.$ac_ext <<_ACEOF 5797 /* end confdefs.h. */ 5798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5799 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5800 #define $ac_func innocuous_$ac_func 5801 4250 5802 /* System header to define __stub macros and hopefully few prototypes, 4251 which can conflict with char $ac_func (); below. */ 4252 #include <assert.h> 5803 which can conflict with char $ac_func (); below. 5804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5805 <limits.h> exists even on freestanding compilers. */ 5806 5807 #ifdef __STDC__ 5808 # include <limits.h> 5809 #else 5810 # include <assert.h> 5811 #endif 5812 5813 #undef $ac_func 5814 4253 5815 /* Override any gcc2 internal prototype to avoid an error. */ 4254 5816 #ifdef __cplusplus 4255 5817 extern "C" 5818 { 4256 5819 #endif 4257 5820 /* We use char because int might match the return type of a gcc2 4258 5821 builtin and then its argument prototype would still apply. */ 4259 5822 char $ac_func (); 4260 char (*f) ();4261 4262 int4263 main ()4264 {4265 5823 /* The GNU C library defines this for functions which it implements 4266 5824 to always fail with ENOSYS. Some functions are actually named … … 4269 5827 choke me 4270 5828 #else 4271 f= $ac_func;5829 char (*f) () = $ac_func; 4272 5830 #endif 4273 5831 #ifdef __cplusplus 5832 } 5833 #endif 5834 5835 int 5836 main () 5837 { 5838 return f != $ac_func; 4274 5839 ; 4275 5840 return 0; … … 4277 5842 _ACEOF 4278 5843 rm -f conftest.$ac_objext conftest$ac_exeext 4279 if { (eval echo "$as_me:4279: \"$ac_link\"") >&5 4280 (eval $ac_link) 2>&5 4281 ac_status=$? 4282 echo "$as_me:4282: \$? = $ac_status" >&5 5844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5845 (eval $ac_link) 2>conftest.er1 5846 ac_status=$? 5847 grep -v '^ *+' conftest.er1 >conftest.err 5848 rm -f conftest.er1 5849 cat conftest.err >&5 5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4283 5851 (exit $ac_status); } && 4284 { ac_try='test -s conftest$ac_exeext' 4285 { (eval echo "$as_me:4285: \"$ac_try\"") >&5 4286 (eval $ac_try) 2>&5 4287 ac_status=$? 4288 echo "$as_me:4288: \$? = $ac_status" >&5 5852 { ac_try='test -z "$ac_c_werror_flag" 5853 || test ! -s conftest.err' 5854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5855 (eval $ac_try) 2>&5 5856 ac_status=$? 5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5858 (exit $ac_status); }; } && 5859 { ac_try='test -s conftest$ac_exeext' 5860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5861 (eval $ac_try) 2>&5 5862 ac_status=$? 5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4289 5864 (exit $ac_status); }; }; then 4290 eval "$a c_ac_var=yes"5865 eval "$as_ac_var=yes" 4291 5866 else 4292 5867 echo "$as_me: failed program was:" >&5 4293 cat conftest.$ac_ext >&5 4294 eval "$ac_ac_var=no" 4295 fi 4296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4297 fi 4298 echo "$as_me:4298: result: `eval echo '${'$ac_ac_var'}'`" >&5 4299 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 4300 if test `eval echo '${'$ac_ac_var'}'` = yes; then 4301 cat >>confdefs.h <<EOF 4302 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 4303 EOF 4304 4305 echo "$as_me:4305: checking for _doprnt" >&5 5868 sed 's/^/| /' conftest.$ac_ext >&5 5869 5870 eval "$as_ac_var=no" 5871 fi 5872 rm -f conftest.err conftest.$ac_objext \ 5873 conftest$ac_exeext conftest.$ac_ext 5874 fi 5875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5877 if test `eval echo '${'$as_ac_var'}'` = yes; then 5878 cat >>confdefs.h <<_ACEOF 5879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5880 _ACEOF 5881 5882 echo "$as_me:$LINENO: checking for _doprnt" >&5 4306 5883 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 4307 5884 if test "${ac_cv_func__doprnt+set}" = set; then … … 4309 5886 else 4310 5887 cat >conftest.$ac_ext <<_ACEOF 4311 #line 4311 "configure" 4312 #include "confdefs.h" 5888 /* confdefs.h. */ 5889 _ACEOF 5890 cat confdefs.h >>conftest.$ac_ext 5891 cat >>conftest.$ac_ext <<_ACEOF 5892 /* end confdefs.h. */ 5893 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 5894 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5895 #define _doprnt innocuous__doprnt 5896 4313 5897 /* System header to define __stub macros and hopefully few prototypes, 4314 which can conflict with char _doprnt (); below. */ 4315 #include <assert.h> 5898 which can conflict with char _doprnt (); below. 5899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5900 <limits.h> exists even on freestanding compilers. */ 5901 5902 #ifdef __STDC__ 5903 # include <limits.h> 5904 #else 5905 # include <assert.h> 5906 #endif 5907 5908 #undef _doprnt 5909 4316 5910 /* Override any gcc2 internal prototype to avoid an error. */ 4317 5911 #ifdef __cplusplus 4318 5912 extern "C" 5913 { 4319 5914 #endif 4320 5915 /* We use char because int might match the return type of a gcc2 4321 5916 builtin and then its argument prototype would still apply. */ 4322 5917 char _doprnt (); 4323 char (*f) ();4324 4325 int4326 main ()4327 {4328 5918 /* The GNU C library defines this for functions which it implements 4329 5919 to always fail with ENOSYS. Some functions are actually named … … 4332 5922 choke me 4333 5923 #else 4334 f= _doprnt;5924 char (*f) () = _doprnt; 4335 5925 #endif 4336 5926 #ifdef __cplusplus 5927 } 5928 #endif 5929 5930 int 5931 main () 5932 { 5933 return f != _doprnt; 4337 5934 ; 4338 5935 return 0; … … 4340 5937 _ACEOF 4341 5938 rm -f conftest.$ac_objext conftest$ac_exeext 4342 if { (eval echo "$as_me:4342: \"$ac_link\"") >&5 4343 (eval $ac_link) 2>&5 4344 ac_status=$? 4345 echo "$as_me:4345: \$? = $ac_status" >&5 5939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5940 (eval $ac_link) 2>conftest.er1 5941 ac_status=$? 5942 grep -v '^ *+' conftest.er1 >conftest.err 5943 rm -f conftest.er1 5944 cat conftest.err >&5 5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4346 5946 (exit $ac_status); } && 4347 { ac_try='test -s conftest$ac_exeext' 4348 { (eval echo "$as_me:4348: \"$ac_try\"") >&5 4349 (eval $ac_try) 2>&5 4350 ac_status=$? 4351 echo "$as_me:4351: \$? = $ac_status" >&5 5947 { ac_try='test -z "$ac_c_werror_flag" 5948 || test ! -s conftest.err' 5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5950 (eval $ac_try) 2>&5 5951 ac_status=$? 5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5953 (exit $ac_status); }; } && 5954 { ac_try='test -s conftest$ac_exeext' 5955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5956 (eval $ac_try) 2>&5 5957 ac_status=$? 5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4352 5959 (exit $ac_status); }; }; then 4353 5960 ac_cv_func__doprnt=yes 4354 5961 else 4355 5962 echo "$as_me: failed program was:" >&5 4356 cat conftest.$ac_ext >&5 5963 sed 's/^/| /' conftest.$ac_ext >&5 5964 4357 5965 ac_cv_func__doprnt=no 4358 5966 fi 4359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4360 fi 4361 echo "$as_me:4361: result: $ac_cv_func__doprnt" >&5 5967 rm -f conftest.err conftest.$ac_objext \ 5968 conftest$ac_exeext conftest.$ac_ext 5969 fi 5970 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 4362 5971 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 4363 5972 if test $ac_cv_func__doprnt = yes; then 4364 5973 4365 cat >>confdefs.h <<\ EOF5974 cat >>confdefs.h <<\_ACEOF 4366 5975 #define HAVE_DOPRNT 1 4367 EOF5976 _ACEOF 4368 5977 4369 5978 fi … … 4371 5980 fi 4372 5981 done 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 4373 5993 4374 5994 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 4375 5995 do 4376 a c_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`4377 echo "$as_me: 4377: checking for $ac_func" >&55996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5997 echo "$as_me:$LINENO: checking for $ac_func" >&5 4378 5998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4379 if eval "test \"\${$a c_ac_var+set}\" = set"; then5999 if eval "test \"\${$as_ac_var+set}\" = set"; then 4380 6000 echo $ECHO_N "(cached) $ECHO_C" >&6 4381 6001 else 4382 6002 cat >conftest.$ac_ext <<_ACEOF 4383 #line 4383 "configure" 4384 #include "confdefs.h" 6003 /* confdefs.h. */ 6004 _ACEOF 6005 cat confdefs.h >>conftest.$ac_ext 6006 cat >>conftest.$ac_ext <<_ACEOF 6007 /* end confdefs.h. */ 6008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6009 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6010 #define $ac_func innocuous_$ac_func 6011 4385 6012 /* System header to define __stub macros and hopefully few prototypes, 4386 which can conflict with char $ac_func (); below. */ 4387 #include <assert.h> 6013 which can conflict with char $ac_func (); below. 6014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6015 <limits.h> exists even on freestanding compilers. */ 6016 6017 #ifdef __STDC__ 6018 # include <limits.h> 6019 #else 6020 # include <assert.h> 6021 #endif 6022 6023 #undef $ac_func 6024 4388 6025 /* Override any gcc2 internal prototype to avoid an error. */ 4389 6026 #ifdef __cplusplus 4390 6027 extern "C" 6028 { 4391 6029 #endif 4392 6030 /* We use char because int might match the return type of a gcc2 4393 6031 builtin and then its argument prototype would still apply. */ 4394 6032 char $ac_func (); 4395 char (*f) ();4396 4397 int4398 main ()4399 {4400 6033 /* The GNU C library defines this for functions which it implements 4401 6034 to always fail with ENOSYS. Some functions are actually named … … 4404 6037 choke me 4405 6038 #else 4406 f= $ac_func;6039 char (*f) () = $ac_func; 4407 6040 #endif 4408 6041 #ifdef __cplusplus 6042 } 6043 #endif 6044 6045 int 6046 main () 6047 { 6048 return f != $ac_func; 4409 6049 ; 4410 6050 return 0; … … 4412 6052 _ACEOF 4413 6053 rm -f conftest.$ac_objext conftest$ac_exeext 4414 if { (eval echo "$as_me:4414: \"$ac_link\"") >&5 4415 (eval $ac_link) 2>&5 4416 ac_status=$? 4417 echo "$as_me:4417: \$? = $ac_status" >&5 6054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6055 (eval $ac_link) 2>conftest.er1 6056 ac_status=$? 6057 grep -v '^ *+' conftest.er1 >conftest.err 6058 rm -f conftest.er1 6059 cat conftest.err >&5 6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4418 6061 (exit $ac_status); } && 4419 { ac_try='test -s conftest$ac_exeext' 4420 { (eval echo "$as_me:4420: \"$ac_try\"") >&5 4421 (eval $ac_try) 2>&5 4422 ac_status=$? 4423 echo "$as_me:4423: \$? = $ac_status" >&5 6062 { ac_try='test -z "$ac_c_werror_flag" 6063 || test ! -s conftest.err' 6064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6065 (eval $ac_try) 2>&5 6066 ac_status=$? 6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6068 (exit $ac_status); }; } && 6069 { ac_try='test -s conftest$ac_exeext' 6070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6071 (eval $ac_try) 2>&5 6072 ac_status=$? 6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4424 6074 (exit $ac_status); }; }; then 4425 eval "$a c_ac_var=yes"6075 eval "$as_ac_var=yes" 4426 6076 else 4427 6077 echo "$as_me: failed program was:" >&5 4428 cat conftest.$ac_ext >&5 4429 eval "$ac_ac_var=no" 4430 fi 4431 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4432 fi 4433 echo "$as_me:4433: result: `eval echo '${'$ac_ac_var'}'`" >&5 4434 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 4435 if test `eval echo '${'$ac_ac_var'}'` = yes; then 4436 cat >>confdefs.h <<EOF 4437 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 4438 EOF 6078 sed 's/^/| /' conftest.$ac_ext >&5 6079 6080 eval "$as_ac_var=no" 6081 fi 6082 rm -f conftest.err conftest.$ac_objext \ 6083 conftest$ac_exeext conftest.$ac_ext 6084 fi 6085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6087 if test `eval echo '${'$as_ac_var'}'` = yes; then 6088 cat >>confdefs.h <<_ACEOF 6089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6090 _ACEOF 4439 6091 4440 6092 fi 4441 6093 done 6094 6095 6096 4442 6097 4443 6098 for ac_func in ftruncate strstr strcasecmp 4444 6099 do 4445 a c_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`4446 echo "$as_me: 4446: checking for $ac_func" >&56100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6101 echo "$as_me:$LINENO: checking for $ac_func" >&5 4447 6102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4448 if eval "test \"\${$a c_ac_var+set}\" = set"; then6103 if eval "test \"\${$as_ac_var+set}\" = set"; then 4449 6104 echo $ECHO_N "(cached) $ECHO_C" >&6 4450 6105 else 4451 6106 cat >conftest.$ac_ext <<_ACEOF 4452 #line 4452 "configure" 4453 #include "confdefs.h" 6107 /* confdefs.h. */ 6108 _ACEOF 6109 cat confdefs.h >>conftest.$ac_ext 6110 cat >>conftest.$ac_ext <<_ACEOF 6111 /* end confdefs.h. */ 6112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6113 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6114 #define $ac_func innocuous_$ac_func 6115 4454 6116 /* System header to define __stub macros and hopefully few prototypes, 4455 which can conflict with char $ac_func (); below. */ 4456 #include <assert.h> 6117 which can conflict with char $ac_func (); below. 6118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6119 <limits.h> exists even on freestanding compilers. */ 6120 6121 #ifdef __STDC__ 6122 # include <limits.h> 6123 #else 6124 # include <assert.h> 6125 #endif 6126 6127 #undef $ac_func 6128 4457 6129 /* Override any gcc2 internal prototype to avoid an error. */ 4458 6130 #ifdef __cplusplus 4459 6131 extern "C" 6132 { 4460 6133 #endif 4461 6134 /* We use char because int might match the return type of a gcc2 4462 6135 builtin and then its argument prototype would still apply. */ 4463 6136 char $ac_func (); 4464 char (*f) ();4465 4466 int4467 main ()4468 {4469 6137 /* The GNU C library defines this for functions which it implements 4470 6138 to always fail with ENOSYS. Some functions are actually named … … 4473 6141 choke me 4474 6142 #else 4475 f= $ac_func;6143 char (*f) () = $ac_func; 4476 6144 #endif 4477 6145 #ifdef __cplusplus 6146 } 6147 #endif 6148 6149 int 6150 main () 6151 { 6152 return f != $ac_func; 4478 6153 ; 4479 6154 return 0; … … 4481 6156 _ACEOF 4482 6157 rm -f conftest.$ac_objext conftest$ac_exeext 4483 if { (eval echo "$as_me:4483: \"$ac_link\"") >&5 4484 (eval $ac_link) 2>&5 4485 ac_status=$? 4486 echo "$as_me:4486: \$? = $ac_status" >&5 6158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6159 (eval $ac_link) 2>conftest.er1 6160 ac_status=$? 6161 grep -v '^ *+' conftest.er1 >conftest.err 6162 rm -f conftest.er1 6163 cat conftest.err >&5 6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 6165 (exit $ac_status); } && 4488 { ac_try='test -s conftest$ac_exeext' 4489 { (eval echo "$as_me:4489: \"$ac_try\"") >&5 4490 (eval $ac_try) 2>&5 4491 ac_status=$? 4492 echo "$as_me:4492: \$? = $ac_status" >&5 6166 { ac_try='test -z "$ac_c_werror_flag" 6167 || test ! -s conftest.err' 6168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6169 (eval $ac_try) 2>&5 6170 ac_status=$? 6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6172 (exit $ac_status); }; } && 6173 { ac_try='test -s conftest$ac_exeext' 6174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6175 (eval $ac_try) 2>&5 6176 ac_status=$? 6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4493 6178 (exit $ac_status); }; }; then 4494 eval "$a c_ac_var=yes"6179 eval "$as_ac_var=yes" 4495 6180 else 4496 6181 echo "$as_me: failed program was:" >&5 4497 cat conftest.$ac_ext >&5 4498 eval "$ac_ac_var=no" 4499 fi 4500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4501 fi 4502 echo "$as_me:4502: result: `eval echo '${'$ac_ac_var'}'`" >&5 4503 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 4504 if test `eval echo '${'$ac_ac_var'}'` = yes; then 4505 cat >>confdefs.h <<EOF 4506 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 4507 EOF 4508 4509 else 4510 LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 6182 sed 's/^/| /' conftest.$ac_ext >&5 6183 6184 eval "$as_ac_var=no" 6185 fi 6186 rm -f conftest.err conftest.$ac_objext \ 6187 conftest$ac_exeext conftest.$ac_ext 6188 fi 6189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6191 if test `eval echo '${'$as_ac_var'}'` = yes; then 6192 cat >>confdefs.h <<_ACEOF 6193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6194 _ACEOF 6195 6196 else 6197 case $LIBOBJS in 6198 "$ac_func.$ac_objext" | \ 6199 *" $ac_func.$ac_objext" | \ 6200 "$ac_func.$ac_objext "* | \ 6201 *" $ac_func.$ac_objext "* ) ;; 6202 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 6203 esac 6204 4511 6205 fi 4512 6206 done 4513 6207 4514 echo "$as_me:4514: checking for textdomain " >&5 4515 echo $ECHO_N "checking for textdomain ... $ECHO_C" >&6 4516 if test "${ac_cv_func_textdomain_+set}" = set; then 6208 6209 6210 6211 echo "$as_me:$LINENO: checking for textdomain" >&5 6212 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 6213 if test "${ac_cv_func_textdomain+set}" = set; then 4517 6214 echo $ECHO_N "(cached) $ECHO_C" >&6 4518 6215 else 4519 6216 cat >conftest.$ac_ext <<_ACEOF 4520 #line 4520 "configure" 4521 #include "confdefs.h" 6217 /* confdefs.h. */ 6218 _ACEOF 6219 cat confdefs.h >>conftest.$ac_ext 6220 cat >>conftest.$ac_ext <<_ACEOF 6221 /* end confdefs.h. */ 6222 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain. 6223 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6224 #define textdomain innocuous_textdomain 6225 4522 6226 /* System header to define __stub macros and hopefully few prototypes, 4523 which can conflict with char textdomain (); below. */ 4524 #include <assert.h> 6227 which can conflict with char textdomain (); below. 6228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6229 <limits.h> exists even on freestanding compilers. */ 6230 6231 #ifdef __STDC__ 6232 # include <limits.h> 6233 #else 6234 # include <assert.h> 6235 #endif 6236 6237 #undef textdomain 6238 4525 6239 /* Override any gcc2 internal prototype to avoid an error. */ 4526 6240 #ifdef __cplusplus 4527 6241 extern "C" 6242 { 4528 6243 #endif 4529 6244 /* We use char because int might match the return type of a gcc2 4530 6245 builtin and then its argument prototype would still apply. */ 4531 char textdomain (); 4532 char (*f) (); 6246 char textdomain (); 6247 /* The GNU C library defines this for functions which it implements 6248 to always fail with ENOSYS. Some functions are actually named 6249 something starting with __ and the normal name is an alias. */ 6250 #if defined (__stub_textdomain) || defined (__stub___textdomain) 6251 choke me 6252 #else 6253 char (*f) () = textdomain; 6254 #endif 6255 #ifdef __cplusplus 6256 } 6257 #endif 4533 6258 4534 6259 int 4535 6260 main () 4536 6261 { 4537 /* The GNU C library defines this for functions which it implements 4538 to always fail with ENOSYS. Some functions are actually named 4539 something starting with __ and the normal name is an alias. */ 4540 #if defined (__stub_textdomain ) || defined (__stub___textdomain ) 4541 choke me 4542 #else 4543 f = textdomain ; 4544 #endif 4545 6262 return f != textdomain; 4546 6263 ; 4547 6264 return 0; … … 4549 6266 _ACEOF 4550 6267 rm -f conftest.$ac_objext conftest$ac_exeext 4551 if { (eval echo "$as_me:4551: \"$ac_link\"") >&5 4552 (eval $ac_link) 2>&5 4553 ac_status=$? 4554 echo "$as_me:4554: \$? = $ac_status" >&5 6268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6269 (eval $ac_link) 2>conftest.er1 6270 ac_status=$? 6271 grep -v '^ *+' conftest.er1 >conftest.err 6272 rm -f conftest.er1 6273 cat conftest.err >&5 6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4555 6275 (exit $ac_status); } && 4556 { ac_try='test -s conftest$ac_exeext' 4557 { (eval echo "$as_me:4557: \"$ac_try\"") >&5 4558 (eval $ac_try) 2>&5 4559 ac_status=$? 4560 echo "$as_me:4560: \$? = $ac_status" >&5 6276 { ac_try='test -z "$ac_c_werror_flag" 6277 || test ! -s conftest.err' 6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6279 (eval $ac_try) 2>&5 6280 ac_status=$? 6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6282 (exit $ac_status); }; } && 6283 { ac_try='test -s conftest$ac_exeext' 6284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6285 (eval $ac_try) 2>&5 6286 ac_status=$? 6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4561 6288 (exit $ac_status); }; }; then 4562 ac_cv_func_textdomain _=yes6289 ac_cv_func_textdomain=yes 4563 6290 else 4564 6291 echo "$as_me: failed program was:" >&5 4565 cat conftest.$ac_ext >&5 4566 ac_cv_func_textdomain_=no 4567 fi 4568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4569 fi 4570 echo "$as_me:4570: result: $ac_cv_func_textdomain_" >&5 4571 echo "${ECHO_T}$ac_cv_func_textdomain_" >&6 4572 if test $ac_cv_func_textdomain_ = yes; then 4573 cat >>confdefs.h <<\EOF 4574 #define ENABLE_NLS 1 4575 EOF 4576 4577 fi 6292 sed 's/^/| /' conftest.$ac_ext >&5 6293 6294 ac_cv_func_textdomain=no 6295 fi 6296 rm -f conftest.err conftest.$ac_objext \ 6297 conftest$ac_exeext conftest.$ac_ext 6298 fi 6299 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 6300 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6301 if test $ac_cv_func_textdomain = yes; then 6302 6303 cat >>confdefs.h <<\_ACEOF 6304 #define ENABLE_NLS 1 6305 _ACEOF 6306 6307 fi 6308 4578 6309 4579 6310 ac_ext=cc … … 4583 6314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4584 6315 6316 4585 6317 success=no 4586 echo "$as_me: 4586: checking \"whether STL library has known faults\"" >&56318 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 4587 6319 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 4588 6320 6321 4589 6322 cat >conftest.$ac_ext <<_ACEOF 4590 #line 4590 "configure" 4591 #include "confdefs.h" 6323 /* confdefs.h. */ 6324 _ACEOF 6325 cat confdefs.h >>conftest.$ac_ext 6326 cat >>conftest.$ac_ext <<_ACEOF 6327 /* end confdefs.h. */ 4592 6328 #include <vector> 4593 6329 … … 4601 6337 _ACEOF 4602 6338 rm -f conftest.$ac_objext 4603 if { (eval echo "$as_me:4603: \"$ac_compile\"") >&5 4604 (eval $ac_compile) 2>&5 4605 ac_status=$? 4606 echo "$as_me:4606: \$? = $ac_status" >&5 6339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6340 (eval $ac_compile) 2>conftest.er1 6341 ac_status=$? 6342 grep -v '^ *+' conftest.er1 >conftest.err 6343 rm -f conftest.er1 6344 cat conftest.err >&5 6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4607 6346 (exit $ac_status); } && 4608 { ac_try='test -s conftest.$ac_objext' 4609 { (eval echo "$as_me:4609: \"$ac_try\"") >&5 4610 (eval $ac_try) 2>&5 4611 ac_status=$? 4612 echo "$as_me:4612: \$? = $ac_status" >&5 6347 { ac_try='test -z "$ac_cxx_werror_flag" 6348 || test ! -s conftest.err' 6349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6350 (eval $ac_try) 2>&5 6351 ac_status=$? 6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6353 (exit $ac_status); }; } && 6354 { ac_try='test -s conftest.$ac_objext' 6355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6356 (eval $ac_try) 2>&5 6357 ac_status=$? 6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4613 6359 (exit $ac_status); }; }; then 4614 6360 success=yes 4615 6361 else 4616 6362 echo "$as_me: failed program was:" >&5 4617 cat conftest.$ac_ext >&5 4618 fi 4619 rm -f conftest.$ac_objext conftest.$ac_ext 6363 sed 's/^/| /' conftest.$ac_ext >&5 6364 6365 fi 6366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4620 6367 4621 6368 if test $success = "no"; then 4622 6369 cat >conftest.$ac_ext <<_ACEOF 4623 #line 4623 "configure" 4624 #include "confdefs.h" 6370 /* confdefs.h. */ 6371 _ACEOF 6372 cat confdefs.h >>conftest.$ac_ext 6373 cat >>conftest.$ac_ext <<_ACEOF 6374 /* end confdefs.h. */ 4625 6375 #include <vector.h> 4626 6376 … … 4634 6384 _ACEOF 4635 6385 rm -f conftest.$ac_objext 4636 if { (eval echo "$as_me:4636: \"$ac_compile\"") >&5 4637 (eval $ac_compile) 2>&5 4638 ac_status=$? 4639 echo "$as_me:4639: \$? = $ac_status" >&5 6386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6387 (eval $ac_compile) 2>conftest.er1 6388 ac_status=$? 6389 grep -v '^ *+' conftest.er1 >conftest.err 6390 rm -f conftest.er1 6391 cat conftest.err >&5 6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4640 6393 (exit $ac_status); } && 4641 { ac_try='test -s conftest.$ac_objext' 4642 { (eval echo "$as_me:4642: \"$ac_try\"") >&5 4643 (eval $ac_try) 2>&5 4644 ac_status=$? 4645 echo "$as_me:4645: \$? = $ac_status" >&5 6394 { ac_try='test -z "$ac_cxx_werror_flag" 6395 || test ! -s conftest.err' 6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6397 (eval $ac_try) 2>&5 6398 ac_status=$? 6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6400 (exit $ac_status); }; } && 6401 { ac_try='test -s conftest.$ac_objext' 6402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6403 (eval $ac_try) 2>&5 6404 ac_status=$? 6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4646 6406 (exit $ac_status); }; }; then 4647 6407 success="yes" 4648 6408 else 4649 6409 echo "$as_me: failed program was:" >&5 4650 cat conftest.$ac_ext >&5 4651 fi 4652 rm -f conftest.$ac_objext conftest.$ac_ext 6410 sed 's/^/| /' conftest.$ac_ext >&5 6411 6412 fi 6413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4653 6414 fi 4654 6415 4655 6416 if test $success = "no"; then 4656 6417 cat >conftest.$ac_ext <<_ACEOF 4657 #line 4657 "configure" 4658 #include "confdefs.h" 6418 /* confdefs.h. */ 6419 _ACEOF 6420 cat confdefs.h >>conftest.$ac_ext 6421 cat >>conftest.$ac_ext <<_ACEOF 6422 /* end confdefs.h. */ 4659 6423 #include <ospace\\std\\vector> 4660 6424 … … 4668 6432 _ACEOF 4669 6433 rm -f conftest.$ac_objext 4670 if { (eval echo "$as_me:4670: \"$ac_compile\"") >&5 4671 (eval $ac_compile) 2>&5 4672 ac_status=$? 4673 echo "$as_me:4673: \$? = $ac_status" >&5 6434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6435 (eval $ac_compile) 2>conftest.er1 6436 ac_status=$? 6437 grep -v '^ *+' conftest.er1 >conftest.err 6438 rm -f conftest.er1 6439 cat conftest.err >&5 6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4674 6441 (exit $ac_status); } && 4675 { ac_try='test -s conftest.$ac_objext' 4676 { (eval echo "$as_me:4676: \"$ac_try\"") >&5 4677 (eval $ac_try) 2>&5 4678 ac_status=$? 4679 echo "$as_me:4679: \$? = $ac_status" >&5 6442 { ac_try='test -z "$ac_cxx_werror_flag" 6443 || test ! -s conftest.err' 6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6445 (eval $ac_try) 2>&5 6446 ac_status=$? 6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6448 (exit $ac_status); }; } && 6449 { ac_try='test -s conftest.$ac_objext' 6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6451 (eval $ac_try) 2>&5 6452 ac_status=$? 6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4680 6454 (exit $ac_status); }; }; then 4681 6455 success="yes" 4682 6456 else 4683 6457 echo "$as_me: failed program was:" >&5 4684 cat conftest.$ac_ext >&5 4685 fi 4686 rm -f conftest.$ac_objext conftest.$ac_ext 6458 sed 's/^/| /' conftest.$ac_ext >&5 6459 6460 fi 6461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4687 6462 fi 4688 6463 4689 6464 if test $success = yes; then 4690 echo "$as_me: 4690: result: \"no\"" >&56465 echo "$as_me:$LINENO: result: \"no\"" >&5 4691 6466 echo "${ECHO_T}\"no\"" >&6 4692 6467 else 4693 echo "$as_me: 4693: result: \"yes\"" >&56468 echo "$as_me:$LINENO: result: \"yes\"" >&5 4694 6469 echo "${ECHO_T}\"yes\"" >&6 4695 { { echo "$as_me: 4695: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&56470 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 4696 6471 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 4697 6472 { (exit 1); exit 1; }; } … … 4705 6480 fi 4706 6481 6482 4707 6483 # --------------------------------------------------------------------------- 4708 6484 ac_configure_args="$ac_configure_args --host=$host --target=$target" 4709 6485 6486 4710 6487 subdirs="$subdirs packages" 4711 6488 4712 # the list of folders in the src folder 4713 srclist="packages/mgpp/lib/Makefile packages/mgpp/text/Makefile packages/mgpp/Makefile" 4714 4715 ac_config_files="$ac_config_files packages/Makefile packages/mg/Makefile packages/mg/src/text/Makefile packages/mg/src/images/Makefile packages/mg/src/scripts/Makefile packages/mg/lib/Makefile Makefile $srclist" 6489 6490 ac_config_files="$ac_config_files packages/Makefile docs/Makefile src/java/Makefile Makefile" 4716 6491 cat >confcache <<\_ACEOF 4717 6492 # This file is a shell script that caches the results of configure … … 4724 6499 # the --recheck option to rerun configure. 4725 6500 # 4726 # `ac_cv_env_foo' variables (set or unset) will be overrid en when6501 # `ac_cv_env_foo' variables (set or unset) will be overridden when 4727 6502 # loading this file, other *unset* `ac_cv_foo' will be assigned the 4728 6503 # following values. … … 4742 6517 # substitution turns \\\\ into \\, and sed turns \\ into \). 4743 6518 sed -n \ 4744 4745 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"6519 "s/'/'\\\\''/g; 6520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4746 6521 ;; 4747 6522 *) 4748 6523 # `set' quotes correctly as required by POSIX, so do not add quotes. 4749 6524 sed -n \ 4750 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"6525 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 4751 6526 ;; 4752 6527 esac; … … 4759 6534 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4760 6535 : end' >>confcache 4761 if cmp -s $cache_file confcache; then :; else6536 if diff $cache_file confcache >/dev/null 2>&1; then :; else 4762 6537 if test -w $cache_file; then 4763 6538 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" … … 4778 6553 # (actually we leave an empty line to preserve line numbers). 4779 6554 if test "x$srcdir" = x.; then 4780 ac_vpsub='/^[ ]*VPATH[]*=/{6555 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4781 6556 s/:*\$(srcdir):*/:/; 4782 6557 s/:*\${srcdir}:*/:/; 4783 6558 s/:*@srcdir@:*/:/; 4784 s/^\([^=]*=[ 6559 s/^\([^=]*=[ ]*\):*/\1/; 4785 6560 s/:*$//; 4786 s/^[^=]*=[ 6561 s/^[^=]*=[ ]*$//; 4787 6562 }' 4788 6563 fi 4789 6564 4790 6565 DEFS=-DHAVE_CONFIG_H 6566 6567 ac_libobjs= 6568 ac_ltlibobjs= 6569 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6570 # 1. Remove the extension, and $U if already installed. 6571 ac_i=`echo "$ac_i" | 6572 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 6573 # 2. Add them. 6574 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 6575 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6576 done 6577 LIBOBJS=$ac_libobjs 6578 6579 LTLIBOBJS=$ac_ltlibobjs 6580 6581 4791 6582 4792 6583 : ${CONFIG_STATUS=./config.status} 4793 6584 ac_clean_files_save=$ac_clean_files 4794 6585 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4795 { echo "$as_me: 4795: creating $CONFIG_STATUS" >&56586 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4796 6587 echo "$as_me: creating $CONFIG_STATUS" >&6;} 4797 6588 cat >$CONFIG_STATUS <<_ACEOF 4798 6589 #! $SHELL 4799 # Generated automatically by configure.6590 # Generated by $as_me. 4800 6591 # Run this file to recreate the current configuration. 4801 6592 # Compiler output produced by configure, useful for debugging … … 4803 6594 4804 6595 debug=false 6596 ac_cs_recheck=false 6597 ac_cs_silent=false 4805 6598 SHELL=\${CONFIG_SHELL-$SHELL} 4806 ac_cs_invocation="\$0 \$@"4807 4808 6599 _ACEOF 4809 6600 4810 6601 cat >>$CONFIG_STATUS <<\_ACEOF 6602 ## --------------------- ## 6603 ## M4sh Initialization. ## 6604 ## --------------------- ## 6605 4811 6606 # Be Bourne compatible 4812 6607 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4813 6608 emulate sh 4814 6609 NULLCMD=: 6610 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6611 # is contrary to our usage. Disable this feature. 6612 alias -g '${1+"$@"}'='"$@"' 4815 6613 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 4816 6614 set -o posix 4817 6615 fi 6616 DUALCASE=1; export DUALCASE # for MKS sh 6617 6618 # Support unset when possible. 6619 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6620 as_unset=unset 6621 else 6622 as_unset=false 6623 fi 6624 6625 6626 # Work around bugs in pre-3.0 UWIN ksh. 6627 $as_unset ENV MAIL MAILPATH 6628 PS1='$ ' 6629 PS2='> ' 6630 PS4='+ ' 6631 6632 # NLS nuisances. 6633 for as_var in \ 6634 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 6635 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 6636 LC_TELEPHONE LC_TIME 6637 do 6638 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 6639 eval $as_var=C; export $as_var 6640 else 6641 $as_unset $as_var 6642 fi 6643 done 6644 6645 # Required to use basename. 6646 if expr a : '\(a\)' >/dev/null 2>&1; then 6647 as_expr=expr 6648 else 6649 as_expr=false 6650 fi 6651 6652 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 6653 as_basename=basename 6654 else 6655 as_basename=false 6656 fi 6657 4818 6658 4819 6659 # Name of the executable. 4820 as_me=`echo "$0" |sed 's,.*[\\/],,'` 6660 as_me=`$as_basename "$0" || 6661 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6662 X"$0" : 'X\(//\)$' \| \ 6663 X"$0" : 'X\(/\)$' \| \ 6664 . : '\(.\)' 2>/dev/null || 6665 echo X/"$0" | 6666 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 6667 /^X\/\(\/\/\)$/{ s//\1/; q; } 6668 /^X\/\(\/\).*/{ s//\1/; q; } 6669 s/.*/./; q'` 6670 6671 6672 # PATH needs CR, and LINENO needs CR and PATH. 6673 # Avoid depending upon Character Ranges. 6674 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6675 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6676 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6677 as_cr_digits='0123456789' 6678 as_cr_alnum=$as_cr_Letters$as_cr_digits 6679 6680 # The user is always right. 6681 if test "${PATH_SEPARATOR+set}" != set; then 6682 echo "#! /bin/sh" >conf$$.sh 6683 echo "exit 0" >>conf$$.sh 6684 chmod +x conf$$.sh 6685 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 6686 PATH_SEPARATOR=';' 6687 else 6688 PATH_SEPARATOR=: 6689 fi 6690 rm -f conf$$.sh 6691 fi 6692 6693 6694 as_lineno_1=$LINENO 6695 as_lineno_2=$LINENO 6696 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 6697 test "x$as_lineno_1" != "x$as_lineno_2" && 6698 test "x$as_lineno_3" = "x$as_lineno_2" || { 6699 # Find who we are. Look in the path if we contain no path at all 6700 # relative or not. 6701 case $0 in 6702 *[\\/]* ) as_myself=$0 ;; 6703 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6704 for as_dir in $PATH 6705 do 6706 IFS=$as_save_IFS 6707 test -z "$as_dir" && as_dir=. 6708 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6709 done 6710 6711 ;; 6712 esac 6713 # We did not find ourselves, most probably we were run as `sh COMMAND' 6714 # in which case we are not to be found in the path. 6715 if test "x$as_myself" = x; then 6716 as_myself=$0 6717 fi 6718 if test ! -f "$as_myself"; then 6719 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 6720 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 6721 { (exit 1); exit 1; }; } 6722 fi 6723 case $CONFIG_SHELL in 6724 '') 6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6726 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 6727 do 6728 IFS=$as_save_IFS 6729 test -z "$as_dir" && as_dir=. 6730 for as_base in sh bash ksh sh5; do 6731 case $as_dir in 6732 /*) 6733 if ("$as_dir/$as_base" -c ' 6734 as_lineno_1=$LINENO 6735 as_lineno_2=$LINENO 6736 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 6737 test "x$as_lineno_1" != "x$as_lineno_2" && 6738 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 6739 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 6740 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 6741 CONFIG_SHELL=$as_dir/$as_base 6742 export CONFIG_SHELL 6743 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 6744 fi;; 6745 esac 6746 done 6747 done 6748 ;; 6749 esac 6750 6751 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 6752 # uniformly replaced by the line number. The first 'sed' inserts a 6753 # line-number line before each line; the second 'sed' does the real 6754 # work. The second script uses 'N' to pair each line-number line 6755 # with the numbered line, and appends trailing '-' during 6756 # substitution so that $LINENO is not a special case at line end. 6757 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 6758 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 6759 sed '=' <$as_myself | 6760 sed ' 6761 N 6762 s,$,-, 6763 : loop 6764 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 6765 t loop 6766 s,-$,, 6767 s,^['$as_cr_digits']*\n,, 6768 ' >$as_me.lineno && 6769 chmod +x $as_me.lineno || 6770 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 6771 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 6772 { (exit 1); exit 1; }; } 6773 6774 # Don't try to exec as it changes $[0], causing all sort of problems 6775 # (the dirname of $[0] is not the place where we might find the 6776 # original and so on. Autoconf is especially sensible to this). 6777 . ./$as_me.lineno 6778 # Exit status is that of the last command. 6779 exit 6780 } 6781 6782 6783 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 6784 *c*,-n*) ECHO_N= ECHO_C=' 6785 ' ECHO_T=' ' ;; 6786 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 6787 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 6788 esac 4821 6789 4822 6790 if expr a : '\(a\)' >/dev/null 2>&1; then … … 4844 6812 rm -f conf$$ conf$$.exe conf$$.file 4845 6813 6814 if mkdir -p . 2>/dev/null; then 6815 as_mkdir_p=: 6816 else 6817 test -d ./-p && rmdir ./-p 6818 as_mkdir_p=false 6819 fi 6820 4846 6821 as_executable_p="test -f" 4847 6822 4848 # Support unset when possible. 4849 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 4850 as_unset=unset 4851 else 4852 as_unset=false 4853 fi 4854 4855 # NLS nuisances. 4856 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 4857 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 4858 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 4859 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 4860 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 4861 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 4862 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 4863 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 6823 # Sed expression to map a string onto a valid CPP name. 6824 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6825 6826 # Sed expression to map a string onto a valid variable name. 6827 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6828 4864 6829 4865 6830 # IFS … … 4870 6835 4871 6836 # CDPATH. 4872 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }6837 $as_unset CDPATH 4873 6838 4874 6839 exec 6>&1 4875 6840 6841 # Open the log real soon, to keep \$[0] and so on meaningful, and to 6842 # report actual input values of CONFIG_FILES etc. instead of their 6843 # values after options handling. Logging --version etc. is OK. 6844 exec 5>>config.log 6845 { 6846 echo 6847 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6848 ## Running $as_me. ## 6849 _ASBOX 6850 } >&5 6851 cat >&5 <<_CSEOF 6852 6853 This file was extended by $as_me, which was 6854 generated by GNU Autoconf 2.58. Invocation command line was 6855 6856 CONFIG_FILES = $CONFIG_FILES 6857 CONFIG_HEADERS = $CONFIG_HEADERS 6858 CONFIG_LINKS = $CONFIG_LINKS 6859 CONFIG_COMMANDS = $CONFIG_COMMANDS 6860 $ $0 $@ 6861 6862 _CSEOF 6863 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 6864 echo >&5 4876 6865 _ACEOF 4877 6866 … … 4893 6882 fi 4894 6883 4895 cat >>$CONFIG_STATUS <<\ EOF6884 cat >>$CONFIG_STATUS <<\_ACEOF 4896 6885 4897 6886 ac_cs_usage="\ … … 4903 6892 -h, --help print this help, then exit 4904 6893 -V, --version print version number, then exit 6894 -q, --quiet do not print progress messages 4905 6895 -d, --debug don't remove temporary files 4906 6896 --recheck update $as_me by reconfiguring in the same conditions 4907 6897 --file=FILE[:TEMPLATE] 4908 6898 instantiate the configuration file FILE 4909 6899 --header=FILE[:TEMPLATE] 4910 6900 instantiate the configuration header FILE 4911 6901 4912 6902 Configuration files: … … 4917 6907 4918 6908 Report bugs to <[email protected]>." 4919 EOF4920 4921 cat >>$CONFIG_STATUS << EOF6909 _ACEOF 6910 6911 cat >>$CONFIG_STATUS <<_ACEOF 4922 6912 ac_cs_version="\\ 4923 6913 config.status 4924 configured by $0, generated by GNU Autoconf 2.5 0,6914 configured by $0, generated by GNU Autoconf 2.58, 4925 6915 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4926 6916 4927 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 4928 Free Software Foundation, Inc. 6917 Copyright (C) 2003 Free Software Foundation, Inc. 4929 6918 This config.status script is free software; the Free Software Foundation 4930 6919 gives unlimited permission to copy, distribute and modify it." 4931 6920 srcdir=$srcdir 4932 6921 INSTALL="$INSTALL" 4933 EOF4934 4935 cat >>$CONFIG_STATUS <<\ EOF6922 _ACEOF 6923 6924 cat >>$CONFIG_STATUS <<\_ACEOF 4936 6925 # If no file are specified by the user, then we need to provide default 4937 6926 # value. By we need to know if files were specified by the user. … … 4943 6932 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4944 6933 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4945 shift 4946 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 4947 shift 6934 ac_shift=: 4948 6935 ;; 4949 -*);; 6936 -*) 6937 ac_option=$1 6938 ac_optarg=$2 6939 ac_shift=shift 6940 ;; 4950 6941 *) # This is not an option, so the user has probably given explicit 4951 6942 # arguments. 6943 ac_option=$1 4952 6944 ac_need_defaults=false;; 4953 6945 esac 4954 6946 4955 case $ 1in6947 case $ac_option in 4956 6948 # Handling of the options. 4957 EOF4958 cat >>$CONFIG_STATUS << EOF6949 _ACEOF 6950 cat >>$CONFIG_STATUS <<\_ACEOF 4959 6951 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4960 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 4961 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 4962 EOF 4963 cat >>$CONFIG_STATUS <<\EOF 6952 ac_cs_recheck=: ;; 4964 6953 --version | --vers* | -V ) 4965 6954 echo "$ac_cs_version"; exit 0 ;; 4966 6955 --he | --h) 4967 6956 # Conflict between --help and --header 4968 { { echo "$as_me: 4968: error: ambiguous option: $16957 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4969 6958 Try \`$0 --help' for more information." >&5 4970 6959 echo "$as_me: error: ambiguous option: $1 … … 4976 6965 debug=: ;; 4977 6966 --file | --fil | --fi | --f ) 4978 shift4979 CONFIG_FILES="$CONFIG_FILES $ 1"6967 $ac_shift 6968 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4980 6969 ac_need_defaults=false;; 4981 6970 --header | --heade | --head | --hea ) 4982 shift4983 CONFIG_HEADERS="$CONFIG_HEADERS $ 1"6971 $ac_shift 6972 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4984 6973 ac_need_defaults=false;; 4985 4986 # Handling of arguments. 4987 'packages/Makefile' ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 4988 'packages/mg/Makefile' ) CONFIG_FILES="$CONFIG_FILES packages/mg/Makefile" ;; 4989 'packages/mg/src/text/Makefile' ) CONFIG_FILES="$CONFIG_FILES packages/mg/src/text/Makefile" ;; 4990 'packages/mg/src/images/Makefile' ) CONFIG_FILES="$CONFIG_FILES packages/mg/src/images/Makefile" ;; 4991 'packages/mg/src/scripts/Makefile' ) CONFIG_FILES="$CONFIG_FILES packages/mg/src/scripts/Makefile" ;; 4992 'packages/mg/lib/Makefile' ) CONFIG_FILES="$CONFIG_FILES packages/mg/lib/Makefile" ;; 4993 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4994 '$srclist' ) CONFIG_FILES="$CONFIG_FILES $srclist" ;; 4995 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 6974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6975 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6976 ac_cs_silent=: ;; 4996 6977 4997 6978 # This is an error. 4998 -*) { { echo "$as_me: 4998: error: unrecognized option: $16979 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4999 6980 Try \`$0 --help' for more information." >&5 5000 6981 echo "$as_me: error: unrecognized option: $1 5001 6982 Try \`$0 --help' for more information." >&2;} 5002 6983 { (exit 1); exit 1; }; } ;; 5003 *) { { echo "$as_me:5003: error: invalid argument: $1" >&5 5004 echo "$as_me: error: invalid argument: $1" >&2;} 5005 { (exit 1); exit 1; }; };; 6984 6985 *) ac_config_targets="$ac_config_targets $1" ;; 6986 5006 6987 esac 5007 6988 shift 5008 6989 done 5009 6990 5010 exec 5>>config.log 5011 cat >&5 << _ACEOF 5012 5013 ## ----------------------- ## 5014 ## Running config.status. ## 5015 ## ----------------------- ## 5016 5017 This file was extended by $as_me 2.50, executed with 5018 > $ac_cs_invocation 5019 on `(hostname || uname -n) 2>/dev/null | sed 1q` 5020 5021 _ACEOF 5022 EOF 5023 5024 cat >>$CONFIG_STATUS <<\EOF 6991 ac_configure_extra_args= 6992 6993 if $ac_cs_silent; then 6994 exec 6>/dev/null 6995 ac_configure_extra_args="$ac_configure_extra_args --silent" 6996 fi 6997 6998 _ACEOF 6999 cat >>$CONFIG_STATUS <<_ACEOF 7000 if \$ac_cs_recheck; then 7001 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7002 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7003 fi 7004 7005 _ACEOF 7006 7007 7008 7009 7010 7011 cat >>$CONFIG_STATUS <<\_ACEOF 7012 for ac_config_target in $ac_config_targets 7013 do 7014 case "$ac_config_target" in 7015 # Handling of arguments. 7016 "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 7017 "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 7018 "src/java/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/java/Makefile" ;; 7019 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7020 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7021 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7022 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7023 { (exit 1); exit 1; }; };; 7024 esac 7025 done 7026 5025 7027 # If the user did not use the arguments to specify the items to instantiate, 5026 7028 # then the envvar interface is used. Set only those that are not. … … 5032 7034 fi 5033 7035 7036 # Have a temporary directory for convenience. Make it in the build tree 7037 # simply because there is no reason to put it here, and in addition, 7038 # creating and moving files from /tmp can sometimes cause problems. 5034 7039 # Create a temporary directory, and hook for its removal unless debugging. 5035 7040 $debug || 5036 7041 { 5037 7042 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 5038 trap '{ (exit $?); exit $?; }' 1 2 13 157043 trap '{ (exit 1); exit 1; }' 1 2 13 15 5039 7044 } 5040 7045 5041 7046 # Create a (secure) tmp directory for tmp files. 5042 : ${TMPDIR=/tmp} 7047 5043 7048 { 5044 tmp=`(umask 077 && mktemp -d -q " $TMPDIR/csXXXXXX") 2>/dev/null` &&7049 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 5045 7050 test -n "$tmp" && test -d "$tmp" 5046 7051 } || 5047 7052 { 5048 tmp= $TMPDIR/cs$$-$RANDOM7053 tmp=./confstat$$-$RANDOM 5049 7054 (umask 077 && mkdir $tmp) 5050 7055 } || 5051 7056 { 5052 echo "$me: cannot create a temporary directory in $TMPDIR" >&27057 echo "$me: cannot create a temporary directory in ." >&2 5053 7058 { (exit 1); exit 1; } 5054 7059 } 5055 7060 5056 EOF5057 5058 cat >>$CONFIG_STATUS << EOF7061 _ACEOF 7062 7063 cat >>$CONFIG_STATUS <<_ACEOF 5059 7064 5060 7065 # … … 5069 7074 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5070 7075 s,@SHELL@,$SHELL,;t t 7076 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7077 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7078 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7079 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7080 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7081 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5071 7082 s,@exec_prefix@,$exec_prefix,;t t 5072 7083 s,@prefix@,$prefix,;t t … … 5084 7095 s,@infodir@,$infodir,;t t 5085 7096 s,@mandir@,$mandir,;t t 5086 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 5087 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 5088 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 5089 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 5090 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7097 s,@build_alias@,$build_alias,;t t 7098 s,@host_alias@,$host_alias,;t t 7099 s,@target_alias@,$target_alias,;t t 7100 s,@DEFS@,$DEFS,;t t 5091 7101 s,@ECHO_C@,$ECHO_C,;t t 5092 7102 s,@ECHO_N@,$ECHO_N,;t t 5093 7103 s,@ECHO_T@,$ECHO_T,;t t 5094 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t5095 s,@DEFS@,$DEFS,;t t5096 7104 s,@LIBS@,$LIBS,;t t 5097 7105 s,@PACKAGE@,$PACKAGE,;t t … … 5129 7137 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 5130 7138 s,@CPP@,$CPP,;t t 7139 s,@EGREP@,$EGREP,;t t 5131 7140 s,@U@,$U,;t t 5132 7141 s,@ANSI2KNR@,$ANSI2KNR,;t t … … 5135 7144 s,@gsdlos@,$gsdlos,;t t 5136 7145 s,@subdirs@,$subdirs,;t t 7146 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5137 7147 CEOF 5138 7148 5139 EOF5140 5141 cat >>$CONFIG_STATUS <<\ EOF7149 _ACEOF 7150 7151 cat >>$CONFIG_STATUS <<\_ACEOF 5142 7152 # Split the substitutions into bite-sized pieces for seds with 5143 7153 # small command number limits, like on Digital OSF/1 and HP-UX. … … 5164 7174 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5165 7175 if test -z "$ac_sed_cmds"; then 5166 7176 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5167 7177 else 5168 7178 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5169 7179 fi 5170 7180 ac_sed_frag=`expr $ac_sed_frag + 1` … … 5178 7188 fi # test -n "$CONFIG_FILES" 5179 7189 5180 EOF5181 cat >>$CONFIG_STATUS <<\ EOF7190 _ACEOF 7191 cat >>$CONFIG_STATUS <<\_ACEOF 5182 7192 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5183 7193 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5184 7194 case $ac_file in 5185 7195 - | *:- | *:-:* ) # input from stdin 5186 5187 5188 7196 cat >$tmp/stdin 7197 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7198 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5189 7199 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5190 7200 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5191 7201 * ) ac_file_in=$ac_file.in ;; 5192 7202 esac 5193 7203 5194 7204 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5195 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5196 X"$ac_file" : 'X\(//\)[^/]' \| \ 5197 X"$ac_file" : 'X\(//\)$' \| \ 5198 X"$ac_file" : 'X\(/\)' \| \ 5199 . : '\(.\)' 2>/dev/null || 7205 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7206 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7207 X"$ac_file" : 'X\(//\)[^/]' \| \ 7208 X"$ac_file" : 'X\(//\)$' \| \ 7209 X"$ac_file" : 'X\(/\)' \| \ 7210 . : '\(.\)' 2>/dev/null || 5200 7211 echo X"$ac_file" | 5201 7212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 5204 7215 /^X\(\/\).*/{ s//\1/; q; } 5205 7216 s/.*/./; q'` 5206 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 5207 { case "$ac_dir" in 5208 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 5209 *) as_incr_dir=.;; 7217 { if $as_mkdir_p; then 7218 mkdir -p "$ac_dir" 7219 else 7220 as_dir="$ac_dir" 7221 as_dirs= 7222 while test ! -d "$as_dir"; do 7223 as_dirs="$as_dir $as_dirs" 7224 as_dir=`(dirname "$as_dir") 2>/dev/null || 7225 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7226 X"$as_dir" : 'X\(//\)[^/]' \| \ 7227 X"$as_dir" : 'X\(//\)$' \| \ 7228 X"$as_dir" : 'X\(/\)' \| \ 7229 . : '\(.\)' 2>/dev/null || 7230 echo X"$as_dir" | 7231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7232 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7233 /^X\(\/\/\)$/{ s//\1/; q; } 7234 /^X\(\/\).*/{ s//\1/; q; } 7235 s/.*/./; q'` 7236 done 7237 test ! -n "$as_dirs" || mkdir $as_dirs 7238 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7239 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7240 { (exit 1); exit 1; }; }; } 7241 7242 ac_builddir=. 7243 7244 if test "$ac_dir" != .; then 7245 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7246 # A "../" for each directory in $ac_dir_suffix. 7247 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 7248 else 7249 ac_dir_suffix= ac_top_builddir= 7250 fi 7251 7252 case $srcdir in 7253 .) # No --srcdir option. We are building in place. 7254 ac_srcdir=. 7255 if test -z "$ac_top_builddir"; then 7256 ac_top_srcdir=. 7257 else 7258 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 7259 fi ;; 7260 [\\/]* | ?:[\\/]* ) # Absolute path. 7261 ac_srcdir=$srcdir$ac_dir_suffix; 7262 ac_top_srcdir=$srcdir ;; 7263 *) # Relative path. 7264 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 7265 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5210 7266 esac 5211 as_dummy="$ac_dir" 5212 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 5213 case $as_mkdir_dir in 5214 # Skip DOS drivespec 5215 ?:) as_incr_dir=$as_mkdir_dir ;; 5216 *) 5217 as_incr_dir=$as_incr_dir/$as_mkdir_dir 5218 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 5219 ;; 5220 esac 5221 done; } 5222 5223 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 5224 # A "../" for each directory in $ac_dir_suffix. 5225 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 5226 else 5227 ac_dir_suffix= ac_dots= 5228 fi 5229 5230 case $srcdir in 5231 .) ac_srcdir=. 5232 if test -z "$ac_dots"; then 5233 ac_top_srcdir=. 5234 else 5235 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 5236 fi ;; 5237 [\\/]* | ?:[\\/]* ) 5238 ac_srcdir=$srcdir$ac_dir_suffix; 5239 ac_top_srcdir=$srcdir ;; 5240 *) # Relative path. 5241 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 5242 ac_top_srcdir=$ac_dots$srcdir ;; 5243 esac 7267 case "$ac_dir" in 7268 .) ac_abs_builddir=$ac_builddir;; 7269 *) 7270 case $ac_builddir in 7271 .) ac_abs_builddir="$ac_dir";; 7272 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; 7273 *) ac_abs_builddir="$ac_dir"/$ac_builddir;; 7274 esac;; 7275 esac 7276 case "$ac_dir" in 7277 .) ac_abs_top_builddir=${ac_top_builddir}.;; 7278 *) 7279 case ${ac_top_builddir}. in 7280 .) ac_abs_top_builddir="$ac_dir";; 7281 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 7282 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; 7283 esac;; 7284 esac 7285 case "$ac_dir" in 7286 .) ac_abs_srcdir=$ac_srcdir;; 7287 *) 7288 case $ac_srcdir in 7289 .) ac_abs_srcdir="$ac_dir";; 7290 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 7291 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; 7292 esac;; 7293 esac 7294 case "$ac_dir" in 7295 .) ac_abs_top_srcdir=$ac_top_srcdir;; 7296 *) 7297 case $ac_top_srcdir in 7298 .) ac_abs_top_srcdir="$ac_dir";; 7299 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 7300 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; 7301 esac;; 7302 esac 7303 5244 7304 5245 7305 case $INSTALL in 5246 7306 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5247 *) ac_INSTALL=$ac_ dots$INSTALL ;;7307 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 5248 7308 esac 5249 7309 5250 7310 if test x"$ac_file" != x-; then 5251 { echo "$as_me: 5251: creating $ac_file" >&57311 { echo "$as_me:$LINENO: creating $ac_file" >&5 5252 7312 echo "$as_me: creating $ac_file" >&6;} 5253 7313 rm -f "$ac_file" … … 5255 7315 # Let's still pretend it is `configure' which instantiates (i.e., don't 5256 7316 # use $as_me), people would be surprised to read: 5257 # /* config.h. Generated automatically by config.status. */ 5258 configure_input="Generated automatically from `echo $ac_file_in | 5259 sed 's,.*/,,'` by configure." 7317 # /* config.h. Generated by config.status. */ 7318 if test x"$ac_file" = x-; then 7319 configure_input= 7320 else 7321 configure_input="$ac_file. " 7322 fi 7323 configure_input=$configure_input"Generated from `echo $ac_file_in | 7324 sed 's,.*/,,'` by configure." 5260 7325 5261 7326 # First look for the input files in the build tree, otherwise in the … … 5266 7331 -) echo $tmp/stdin ;; 5267 7332 [\\/$]*) 5268 5269 test -f "$f" || { { echo "$as_me:5269: error: cannot find input file: $f" >&57333 # Absolute (can't be DOS-style, as IFS=:) 7334 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5270 7335 echo "$as_me: error: cannot find input file: $f" >&2;} 5271 7336 { (exit 1); exit 1; }; } 5272 echo $f;;7337 echo "$f";; 5273 7338 *) # Relative 5274 5275 5276 echo $f 5277 5278 5279 echo $srcdir/$f 5280 5281 5282 { { echo "$as_me:5282: error: cannot find input file: $f" >&57339 if test -f "$f"; then 7340 # Build tree 7341 echo "$f" 7342 elif test -f "$srcdir/$f"; then 7343 # Source tree 7344 echo "$srcdir/$f" 7345 else 7346 # /dev/null tree 7347 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5283 7348 echo "$as_me: error: cannot find input file: $f" >&2;} 5284 7349 { (exit 1); exit 1; }; } 5285 7350 fi;; 5286 7351 esac 5287 7352 done` || { (exit 1); exit 1; } 5288 EOF5289 cat >>$CONFIG_STATUS << EOF7353 _ACEOF 7354 cat >>$CONFIG_STATUS <<_ACEOF 5290 7355 sed "$ac_vpsub 5291 7356 $extrasub 5292 EOF5293 cat >>$CONFIG_STATUS <<\ EOF7357 _ACEOF 7358 cat >>$CONFIG_STATUS <<\_ACEOF 5294 7359 :t 5295 7360 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5296 7361 s,@configure_input@,$configure_input,;t t 5297 7362 s,@srcdir@,$ac_srcdir,;t t 7363 s,@abs_srcdir@,$ac_abs_srcdir,;t t 5298 7364 s,@top_srcdir@,$ac_top_srcdir,;t t 7365 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 7366 s,@builddir@,$ac_builddir,;t t 7367 s,@abs_builddir@,$ac_abs_builddir,;t t 7368 s,@top_builddir@,$ac_top_builddir,;t t 7369 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 5299 7370 s,@INSTALL@,$ac_INSTALL,;t t 5300 7371 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out … … 5308 7379 5309 7380 done 5310 EOF5311 cat >>$CONFIG_STATUS <<\ EOF7381 _ACEOF 7382 cat >>$CONFIG_STATUS <<\_ACEOF 5312 7383 5313 7384 # … … 5319 7390 # 5320 7391 # ac_d sets the value in "#define NAME VALUE" lines. 5321 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'5322 ac_dB='[ 7392 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 7393 ac_dB='[ ].*$,\1#\2' 5323 7394 ac_dC=' ' 5324 7395 ac_dD=',;t' 5325 7396 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 5326 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'7397 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 5327 7398 ac_uB='$,\1#\2define\3' 5328 7399 ac_uC=' ' … … 5333 7404 case $ac_file in 5334 7405 - | *:- | *:-:* ) # input from stdin 5335 5336 5337 7406 cat >$tmp/stdin 7407 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7408 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5338 7409 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5339 7410 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5340 7411 * ) ac_file_in=$ac_file.in ;; 5341 7412 esac 5342 7413 5343 test x"$ac_file" != x- && { echo "$as_me: 5343: creating $ac_file" >&57414 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 5344 7415 echo "$as_me: creating $ac_file" >&6;} 5345 7416 … … 5351 7422 -) echo $tmp/stdin ;; 5352 7423 [\\/$]*) 5353 5354 test -f "$f" || { { echo "$as_me:5354: error: cannot find input file: $f" >&57424 # Absolute (can't be DOS-style, as IFS=:) 7425 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5355 7426 echo "$as_me: error: cannot find input file: $f" >&2;} 5356 7427 { (exit 1); exit 1; }; } 5357 echo $f;; 7428 # Do quote $f, to prevent DOS paths from being IFS'd. 7429 echo "$f";; 5358 7430 *) # Relative 5359 5360 5361 echo $f 5362 5363 5364 echo $srcdir/$f 5365 5366 5367 { { echo "$as_me:5367: error: cannot find input file: $f" >&57431 if test -f "$f"; then 7432 # Build tree 7433 echo "$f" 7434 elif test -f "$srcdir/$f"; then 7435 # Source tree 7436 echo "$srcdir/$f" 7437 else 7438 # /dev/null tree 7439 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5368 7440 echo "$as_me: error: cannot find input file: $f" >&2;} 5369 7441 { (exit 1); exit 1; }; } 5370 7442 fi;; 5371 7443 esac 5372 7444 done` || { (exit 1); exit 1; } 5373 7445 # Remove the trailing spaces. 5374 sed 's/[ 5375 5376 EOF7446 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 7447 7448 _ACEOF 5377 7449 5378 7450 # Transform confdefs.h into two sed scripts, `conftest.defines' and … … 5390 7462 # 0-ary CPP macros) applies to n-ary macro definitions. 5391 7463 # See the Autoconf documentation for `clear'. 5392 cat >confdef2sed.sed <<\ EOF7464 cat >confdef2sed.sed <<\_ACEOF 5393 7465 s/[\\&,]/\\&/g 5394 7466 s,[\\$`],\\&,g 5395 7467 t clear 5396 7468 : clear 5397 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp7469 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 5398 7470 t end 5399 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp7471 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 5400 7472 : end 5401 EOF7473 _ACEOF 5402 7474 # If some macros were called several times there might be several times 5403 7475 # the same #defines, which is useless. Nevertheless, we may not want to … … 5410 7482 # example, in the case of _POSIX_SOURCE, which is predefined and required 5411 7483 # on some systems where configure will not decide to define it. 5412 cat >>conftest.undefs <<\ EOF5413 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,5414 EOF7484 cat >>conftest.undefs <<\_ACEOF 7485 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 7486 _ACEOF 5415 7487 5416 7488 # Break up conftest.defines because some shells have a limit on the size 5417 7489 # of here documents, and old seds have small limits too (100 cmds). 5418 7490 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 5419 echo ' if egrep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS7491 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 5420 7492 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 5421 7493 echo ' :' >>$CONFIG_STATUS … … 5426 7498 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 5427 7499 # Speed up: don't consider the non `#define' lines. 5428 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS7500 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 5429 7501 # Work around the forget-to-reset-the-flag bug. 5430 7502 echo 't clr' >>$CONFIG_STATUS … … 5441 7513 done 5442 7514 rm -f conftest.defines 5443 echo ' fi # egrep' >>$CONFIG_STATUS7515 echo ' fi # grep' >>$CONFIG_STATUS 5444 7516 echo >>$CONFIG_STATUS 5445 7517 … … 5453 7525 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 5454 7526 # Speed up: don't consider the non `#undef' 5455 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS7527 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 5456 7528 # Work around the forget-to-reset-the-flag bug. 5457 7529 echo 't clr' >>$CONFIG_STATUS … … 5469 7541 rm -f conftest.undefs 5470 7542 5471 cat >>$CONFIG_STATUS <<\ EOF7543 cat >>$CONFIG_STATUS <<\_ACEOF 5472 7544 # Let's still pretend it is `configure' which instantiates (i.e., don't 5473 7545 # use $as_me), people would be surprised to read: 5474 # /* config.h. Generated automaticallyby config.status. */7546 # /* config.h. Generated by config.status. */ 5475 7547 if test x"$ac_file" = x-; then 5476 echo "/* Generated automaticallyby configure. */" >$tmp/config.h7548 echo "/* Generated by configure. */" >$tmp/config.h 5477 7549 else 5478 echo "/* $ac_file. Generated automaticallyby configure. */" >$tmp/config.h7550 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 5479 7551 fi 5480 7552 cat $tmp/in >>$tmp/config.h 5481 7553 rm -f $tmp/in 5482 7554 if test x"$ac_file" != x-; then 5483 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then5484 { echo "$as_me: 5484: $ac_file is unchanged" >&57555 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 7556 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 5485 7557 echo "$as_me: $ac_file is unchanged" >&6;} 5486 7558 else 5487 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5488 X"$ac_file" : 'X\(//\)[^/]' \| \ 5489 X"$ac_file" : 'X\(//\)$' \| \ 5490 X"$ac_file" : 'X\(/\)' \| \ 5491 . : '\(.\)' 2>/dev/null || 7559 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7560 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7561 X"$ac_file" : 'X\(//\)[^/]' \| \ 7562 X"$ac_file" : 'X\(//\)$' \| \ 7563 X"$ac_file" : 'X\(/\)' \| \ 7564 . : '\(.\)' 2>/dev/null || 5492 7565 echo X"$ac_file" | 5493 7566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 5496 7569 /^X\(\/\).*/{ s//\1/; q; } 5497 7570 s/.*/./; q'` 5498 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 5499 { case "$ac_dir" in 5500 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 5501 *) as_incr_dir=.;; 5502 esac 5503 as_dummy="$ac_dir" 5504 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 5505 case $as_mkdir_dir in 5506 # Skip DOS drivespec 5507 ?:) as_incr_dir=$as_mkdir_dir ;; 5508 *) 5509 as_incr_dir=$as_incr_dir/$as_mkdir_dir 5510 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 5511 ;; 5512 esac 5513 done; } 5514 5515 fi 7571 { if $as_mkdir_p; then 7572 mkdir -p "$ac_dir" 7573 else 7574 as_dir="$ac_dir" 7575 as_dirs= 7576 while test ! -d "$as_dir"; do 7577 as_dirs="$as_dir $as_dirs" 7578 as_dir=`(dirname "$as_dir") 2>/dev/null || 7579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7580 X"$as_dir" : 'X\(//\)[^/]' \| \ 7581 X"$as_dir" : 'X\(//\)$' \| \ 7582 X"$as_dir" : 'X\(/\)' \| \ 7583 . : '\(.\)' 2>/dev/null || 7584 echo X"$as_dir" | 7585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7586 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7587 /^X\(\/\/\)$/{ s//\1/; q; } 7588 /^X\(\/\).*/{ s//\1/; q; } 7589 s/.*/./; q'` 7590 done 7591 test ! -n "$as_dirs" || mkdir $as_dirs 7592 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7593 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7594 { (exit 1); exit 1; }; }; } 7595 5516 7596 rm -f $ac_file 5517 7597 mv $tmp/config.h $ac_file … … 5522 7602 fi 5523 7603 done 5524 EOF5525 5526 cat >>$CONFIG_STATUS <<\ EOF7604 _ACEOF 7605 7606 cat >>$CONFIG_STATUS <<\_ACEOF 5527 7607 5528 7608 { (exit 0); exit 0; } 5529 EOF7609 _ACEOF 5530 7610 chmod +x $CONFIG_STATUS 5531 7611 ac_clean_files=$ac_clean_files_save 7612 5532 7613 5533 7614 # configure is writing to config.log, and then calls config.status. … … 5541 7622 if test "$no_create" != yes; then 5542 7623 ac_cs_success=: 7624 ac_config_status_args= 7625 test "$silent" = yes && 7626 ac_config_status_args="$ac_config_status_args --quiet" 5543 7627 exec 5>/dev/null 5544 $SHELL $CONFIG_STATUS || ac_cs_success=false7628 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5545 7629 exec 5>>config.log 5546 7630 # Use ||, not &&, to avoid exiting from the if with $? = 1, which … … 5576 7660 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 5577 7661 ;; 7662 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 7663 ac_prev=prefix ;; 7664 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 7665 ;; 5578 7666 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 5579 7667 esac 5580 7668 done 5581 7669 5582 for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue 7670 # Always prepend --prefix to ensure using the same prefix 7671 # in subdir configurations. 7672 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 7673 7674 ac_popdir=`pwd` 7675 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 5583 7676 5584 7677 # Do not complain, so a configure script can configure whichever 5585 7678 # parts of a large source tree are present. 5586 test -d $srcdir/$ac_subdir || continue 5587 5588 { echo "$as_me:5588: configuring in $ac_subdir" >&5 5589 echo "$as_me: configuring in $ac_subdir" >&6;} 5590 case $srcdir in 5591 .) ;; 5592 *) { case "./$ac_subdir" in 5593 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 5594 *) as_incr_dir=.;; 7679 test -d $srcdir/$ac_dir || continue 7680 7681 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 7682 echo "$as_me: configuring in $ac_dir" >&6;} 7683 { if $as_mkdir_p; then 7684 mkdir -p "$ac_dir" 7685 else 7686 as_dir="$ac_dir" 7687 as_dirs= 7688 while test ! -d "$as_dir"; do 7689 as_dirs="$as_dir $as_dirs" 7690 as_dir=`(dirname "$as_dir") 2>/dev/null || 7691 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7692 X"$as_dir" : 'X\(//\)[^/]' \| \ 7693 X"$as_dir" : 'X\(//\)$' \| \ 7694 X"$as_dir" : 'X\(/\)' \| \ 7695 . : '\(.\)' 2>/dev/null || 7696 echo X"$as_dir" | 7697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7698 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7699 /^X\(\/\/\)$/{ s//\1/; q; } 7700 /^X\(\/\).*/{ s//\1/; q; } 7701 s/.*/./; q'` 7702 done 7703 test ! -n "$as_dirs" || mkdir $as_dirs 7704 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7705 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7706 { (exit 1); exit 1; }; }; } 7707 7708 ac_builddir=. 7709 7710 if test "$ac_dir" != .; then 7711 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7712 # A "../" for each directory in $ac_dir_suffix. 7713 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 7714 else 7715 ac_dir_suffix= ac_top_builddir= 7716 fi 7717 7718 case $srcdir in 7719 .) # No --srcdir option. We are building in place. 7720 ac_srcdir=. 7721 if test -z "$ac_top_builddir"; then 7722 ac_top_srcdir=. 7723 else 7724 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 7725 fi ;; 7726 [\\/]* | ?:[\\/]* ) # Absolute path. 7727 ac_srcdir=$srcdir$ac_dir_suffix; 7728 ac_top_srcdir=$srcdir ;; 7729 *) # Relative path. 7730 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 7731 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5595 7732 esac 5596 as_dummy="./$ac_subdir" 5597 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 5598 case $as_mkdir_dir in 5599 # Skip DOS drivespec 5600 ?:) as_incr_dir=$as_mkdir_dir ;; 5601 *) 5602 as_incr_dir=$as_incr_dir/$as_mkdir_dir 5603 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 5604 ;; 5605 esac 5606 done; } 5607 5608 if test -d ./$ac_subdir; then :; 5609 else 5610 { { echo "$as_me:5610: error: cannot create \`pwd\`/$ac_subdir" >&5 5611 echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;} 5612 { (exit 1); exit 1; }; } 5613 fi 5614 ;; 5615 esac 5616 5617 ac_popdir=`pwd` 5618 cd $ac_subdir 5619 5620 # A "../" for each directory in /$ac_subdir. 5621 ac_dots=`echo $ac_subdir | 5622 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 5623 5624 case $srcdir in 5625 .) # No --srcdir option. We are building in place. 5626 ac_sub_srcdir=$srcdir ;; 5627 [\\/]* | ?:[\\/]* ) # Absolute path. 5628 ac_sub_srcdir=$srcdir/$ac_subdir ;; 5629 *) # Relative path. 5630 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 5631 esac 7733 case "$ac_dir" in 7734 .) ac_abs_builddir=$ac_builddir;; 7735 *) 7736 case $ac_builddir in 7737 .) ac_abs_builddir="$ac_dir";; 7738 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; 7739 *) ac_abs_builddir="$ac_dir"/$ac_builddir;; 7740 esac;; 7741 esac 7742 case "$ac_dir" in 7743 .) ac_abs_top_builddir=${ac_top_builddir}.;; 7744 *) 7745 case ${ac_top_builddir}. in 7746 .) ac_abs_top_builddir="$ac_dir";; 7747 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 7748 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; 7749 esac;; 7750 esac 7751 case "$ac_dir" in 7752 .) ac_abs_srcdir=$ac_srcdir;; 7753 *) 7754 case $ac_srcdir in 7755 .) ac_abs_srcdir="$ac_dir";; 7756 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 7757 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; 7758 esac;; 7759 esac 7760 case "$ac_dir" in 7761 .) ac_abs_top_srcdir=$ac_top_srcdir;; 7762 *) 7763 case $ac_top_srcdir in 7764 .) ac_abs_top_srcdir="$ac_dir";; 7765 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 7766 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; 7767 esac;; 7768 esac 7769 7770 7771 cd $ac_dir 5632 7772 5633 7773 # Check for guested configure; otherwise get Cygnus style configure. 5634 if test -f $ac_s ub_srcdir/configure.gnu; then5635 ac_sub_configure="$SHELL '$ac_s ub_srcdir/configure.gnu'"5636 elif test -f $ac_s ub_srcdir/configure; then5637 ac_sub_configure="$SHELL '$ac_s ub_srcdir/configure'"5638 elif test -f $ac_s ub_srcdir/configure.in; then7774 if test -f $ac_srcdir/configure.gnu; then 7775 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 7776 elif test -f $ac_srcdir/configure; then 7777 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 7778 elif test -f $ac_srcdir/configure.in; then 5639 7779 ac_sub_configure=$ac_configure 5640 7780 else 5641 { echo "$as_me: 5641: WARNING: no configuration information is in $ac_subdir" >&55642 echo "$as_me: WARNING: no configuration information is in $ac_ subdir" >&2;}7781 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 7782 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 5643 7783 ac_sub_configure= 5644 7784 fi … … 5650 7790 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 5651 7791 *) # Relative path. 5652 ac_sub_cache_file=$ac_dots$cache_file ;;7792 ac_sub_cache_file=$ac_top_builddir$cache_file ;; 5653 7793 esac 5654 7794 5655 { echo "$as_me: 5655: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&55656 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_s ub_srcdir" >&6;}7795 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 7796 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 5657 7797 # The eval makes quoting arguments work. 5658 7798 eval $ac_sub_configure $ac_sub_configure_args \ 5659 --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||5660 { { echo "$as_me:5660: error: $ac_sub_configure failed for $ac_subdir" >&55661 echo "$as_me: error: $ac_sub_configure failed for $ac_ subdir" >&2;}7799 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || 7800 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 7801 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 5662 7802 { (exit 1); exit 1; }; } 5663 7803 fi … … 5666 7806 done 5667 7807 fi 7808 5668 7809 5669 7810 echo "-------------------------------------"
Note:
See TracChangeset
for help on using the changeset viewer.