Changeset 24901
- Timestamp:
- 2011-12-14T19:20:29+13:00 (12 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/Makefile.in
r24874 r24901 38 38 39 39 GSDLOS = @gsdlos@ 40 GSDLARCH = @gsdlarch@ 40 41 41 42 COMPILE = $(CC) -c -
main/trunk/greenstone2/common-src/cgi-bin/Makefile.in
r24879 r24901 27 27 COMMON_DIR = $(GSDL_DIR)/common-src 28 28 GSDLOS = @gsdlos@ 29 GSDLARCH = @gsdlarch@ 29 30 30 31 31 32 32 33 all: 33 mkdir -p $(GSDL_DIR)/cgi-bin/$(GSDLOS) 34 mkdir -p $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH) 34 35 35 36 install: 36 cp * $(GSDL_DIR)/cgi-bin/$(GSDLOS) /.37 rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS) /Makefile38 rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS) /Makefile.in39 rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS) /win32.mak37 cp * $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)/. 38 rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)/Makefile 39 rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)/Makefile.in 40 rm -f $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH)/win32.mak 40 41 41 42 clean: 42 rm -rf $(GSDL_DIR)/cgi-bin/$(GSDLOS) 43 rm -rf $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH) 43 44 44 45 distclean: 45 rm -rf $(GSDL_DIR)/cgi-bin/$(GSDLOS) 46 rm -rf $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH) 46 47 rm -f Makefile 47 48 -
main/trunk/greenstone2/common-src/configure
r24874 r24901 312 312 ac_subdirs_all="$ac_subdirs_all packages" 313 313 ac_subdirs_all="$ac_subdirs_all indexers" 314 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 USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVA uudecode JAVAC JAVACFLAGS 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 COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'314 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 USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVA uudecode JAVAC JAVACFLAGS 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 COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos gsdlarch MODULEDIRS subdirs LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 3780 3780 if test -z "$COMPAT32BITFLAGS" ; then 3781 3781 COMPAT32BITFLAGS="-m32" 3782 gsdlarch='64' 3782 3783 fi 3783 3784 else … … 3786 3787 if test -z "$COMPAT32BITFLAGS" ; then 3787 3788 COMPAT32BITFLAGS= 3789 gsdlarch='32' 3788 3790 fi 3789 3791 fi … … 7566 7568 gsdlos=windows 7567 7569 fi 7570 7571 7572 # Make gsdlarch empty if the OS bit value (32 or 64) is not used in naming 7573 # directories already or if common-src is compiled up on its own. 7574 # E.g. 32/64 bit won't be used in the SVN version if only bin/linux exists. 7575 if test -d "../bin/$gsdlos" -o ! -f "../setup.bash" ; then 7576 gsdlarch="" 7577 fi 7568 7578 7569 7579 … … 8542 8552 s,@STATIC@,$STATIC,;t t 8543 8553 s,@gsdlos@,$gsdlos,;t t 8554 s,@gsdlarch@,$gsdlarch,;t t 8544 8555 s,@MODULEDIRS@,$MODULEDIRS,;t t 8545 8556 s,@subdirs@,$subdirs,;t t -
main/trunk/greenstone2/common-src/configure.in
r24874 r24901 226 226 if test -z "$COMPAT32BITFLAGS" ; then 227 227 COMPAT32BITFLAGS="-m32" 228 gsdlarch='64' 228 229 fi 229 230 else … … 231 232 if test -z "$COMPAT32BITFLAGS" ; then 232 233 COMPAT32BITFLAGS= 234 gsdlarch='32' 233 235 fi 234 236 fi … … 426 428 fi 427 429 AC_SUBST(gsdlos) 430 431 # Make gsdlarch empty if the OS bit value (32 or 64) is not used in naming 432 # directories already or if common-src is compiled up on its own. 433 # E.g. 32/64 bit won't be used in the SVN version if only bin/linux exists. 434 if test -d "../bin/$gsdlos" -o ! -f "../setup.bash" ; then 435 gsdlarch="" 436 fi 437 AC_SUBST(gsdlarch) 428 438 429 439 # check for endianness -
main/trunk/greenstone2/gsicontrol.sh
r24874 r24901 106 106 echo "Setting config file to use port $port"; 107 107 cat "$GSDLHOME/apache-httpd/$GSDLOS$GSDLARCH/conf/httpd.conf.in" \ 108 | sed "s@\*\*GSDL OS\*\*@$GSDLOS$GSDLARCH@g" \108 | sed "s@\*\*GSDL_OS_ARCH\*\*@$GSDLOS$GSDLARCH@g" \ 109 109 | sed "s@\*\*PORT\*\*@$port@g" \ 110 110 | sed "s@\*\*CONNECTPERMISSION\*\*@$allowfromall@g" \ -
main/trunk/greenstone2/runtime-src/Makefile.in
r16568 r24901 38 38 39 39 GSDLOS = @gsdlos@ 40 GSDLARCH = @gsdlarch@ 40 41 41 42 COMPILE = $(CC) -c -
main/trunk/greenstone2/runtime-src/configure
r23356 r24901 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 67.3 # Generated by GNU Autoconf 2.59. 4 4 # 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 9 # 10 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 11 6 # This configure script is free software; the Free Software Foundation 12 7 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 20 14 emulate sh 21 15 NULLCMD=: 22 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 23 17 # is contrary to our usage. Disable this feature. 24 18 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 for as_dir in $PATH 96 do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101 IFS=$as_save_IFS 102 103 ;; 104 esac 105 # We did not find ourselves, most probably we were run as `sh COMMAND' 106 # in which case we are not to be found in the path. 107 if test "x$as_myself" = x; then 108 as_myself=$0 109 fi 110 if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122 done 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 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 123 34 PS1='$ ' 124 35 PS2='> ' … … 126 37 127 38 # NLS nuisances. 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 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 186 43 do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 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 205 49 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 230 else 231 $as_echo "$0: Please tell [email protected] about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 235 fi 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error STATUS ERROR [LINENO LOG_FD] 360 # ---------------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with STATUS, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$1; test $as_status -eq 0 && as_status=1 367 if test "$4"; then 368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 370 fi 371 $as_echo "$as_me: error: $2" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 375 if expr a : '\(a\)' >/dev/null 2>&1 && 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 377 53 as_expr=expr 378 54 else … … 380 56 fi 381 57 382 if (basename -- /) >/dev/null 2>&1 && test "X`basename --/ 2>&1`" = "X/"; then58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 383 59 as_basename=basename 384 60 else … … 386 62 fi 387 63 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 394 as_me=`$as_basename -- "$0" || 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 395 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 396 68 X"$0" : 'X\(//\)$' \| \ 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398 $as_echo X/"$0" | 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 s//\1/ 401 q 402 } 403 /^X\/\(\/\/\)$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\).*/{ 408 s//\1/ 409 q 410 } 411 s/.*/./; q'` 412 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. 413 79 # Avoid depending upon Character Ranges. 414 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 418 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 419 85 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 426 sed -n ' 427 p 428 /[$]LINENO/= 429 ' <$as_myself | 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 | 430 165 sed ' 431 s/[$]LINENO.*/&-/432 t lineno433 b434 :lineno435 166 N 436 :loop 437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 438 170 t loop 439 s/-\n.*// 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 440 173 ' >$as_me.lineno && 441 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 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; }; } 443 177 444 178 # Don't try to exec as it changes $[0], causing all sort of problems 445 179 # (the dirname of $[0] is not the place where we might find the 446 # original and so on. Autoconf is especially sensi tive to this).447 . "./$as_me.lineno"180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 448 182 # Exit status is that of the last command. 449 183 exit 450 184 } 451 185 452 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #((((( 454 -n*) 455 case `echo 'xy\c'` in 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 460 esac;; 461 *) 462 ECHO_N='-n';; 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= ;; 463 192 esac 464 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196 else 197 as_expr=false 198 fi 199 465 200 rm -f conf$$ conf$$.exe conf$$.file 466 if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 468 else 469 rm -f conf$$.dir470 mkdir conf$$.dir 2>/dev/null471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 474 209 as_ln_s='ln -s' 475 # ... but there are two gotchas:476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.478 # In both cases, we have to default to `cp -p'.479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||480 as_ln_s='cp -p'481 elif ln conf$$.file conf$$ 2>/dev/null; then482 as_ln_s=ln483 else484 as_ln_s='cp -p'485 210 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 486 213 else 487 214 as_ln_s='cp -p' 488 215 fi 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490 rmdir conf$$.dir 2>/dev/null 216 rm -f conf$$ conf$$.exe conf$$.file 491 217 492 218 if mkdir -p . 2>/dev/null; then 493 as_mkdir_p= 'mkdir -p "$as_dir"'219 as_mkdir_p=: 494 220 else 495 221 test -d ./-p && rmdir ./-p … … 497 223 fi 498 224 499 if test -x / >/dev/null 2>&1; then 500 as_test_x='test -x' 501 else 502 if ls -dL / >/dev/null 2>&1; then 503 as_ls_L_option=L 504 else 505 as_ls_L_option= 506 fi 507 as_test_x=' 508 eval sh -c '\'' 509 if test -d "$1"; then 510 test -d "$1/."; 511 else 512 case $1 in #( 513 -*)set "./$1";; 514 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516 ???[sx]*):;;*)false;;esac;fi 517 '\'' sh 518 ' 519 fi 520 as_executable_p=$as_test_x 225 as_executable_p="test -f" 521 226 522 227 # Sed expression to map a string onto a valid CPP name. … … 527 232 528 233 529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 531 243 532 244 # Name of the host. 533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 534 246 # so uname gets run too. 535 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249 exec 6>&1 536 250 537 251 # … … 539 253 # 540 254 ac_default_prefix=/usr/local 541 ac_clean_files=542 255 ac_config_libobj_dir=. 543 LIBOBJS=544 256 cross_compiling=no 545 257 subdirs= 546 258 MFLAGS= 547 259 MAKEFLAGS= 260 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document. 263 # This variable seems obsolete. It should probably be removed, and 264 # only ac_max_sed_lines should be used. 265 : ${ac_max_here_lines=38} 548 266 549 267 # Identity of this package. … … 553 271 PACKAGE_STRING= 554 272 PACKAGE_BUGREPORT= 555 PACKAGE_URL=556 273 557 274 # Factoring default headers for most tests. 558 275 ac_includes_default="\ 559 276 #include <stdio.h> 560 #if defHAVE_SYS_TYPES_H277 #if HAVE_SYS_TYPES_H 561 278 # include <sys/types.h> 562 279 #endif 563 #if defHAVE_SYS_STAT_H280 #if HAVE_SYS_STAT_H 564 281 # include <sys/stat.h> 565 282 #endif 566 #if defSTDC_HEADERS283 #if STDC_HEADERS 567 284 # include <stdlib.h> 568 285 # include <stddef.h> 569 286 #else 570 # if defHAVE_STDLIB_H287 # if HAVE_STDLIB_H 571 288 # include <stdlib.h> 572 289 # endif 573 290 #endif 574 #if defHAVE_STRING_H575 # if ! defined STDC_HEADERS && definedHAVE_MEMORY_H291 #if HAVE_STRING_H 292 # if !STDC_HEADERS && HAVE_MEMORY_H 576 293 # include <memory.h> 577 294 # endif 578 295 # include <string.h> 579 296 #endif 580 #if defHAVE_STRINGS_H297 #if HAVE_STRINGS_H 581 298 # include <strings.h> 582 299 #endif 583 #if defHAVE_INTTYPES_H300 #if HAVE_INTTYPES_H 584 301 # include <inttypes.h> 302 #else 303 # if HAVE_STDINT_H 304 # include <stdint.h> 305 # endif 585 306 #endif 586 #ifdef HAVE_STDINT_H 587 # include <stdint.h> 588 #endif 589 #ifdef HAVE_UNISTD_H 307 #if HAVE_UNISTD_H 590 308 # include <unistd.h> 591 309 #endif" 592 310 593 enable_option_checking=no 594 ac_subst_vars='LTLIBOBJS 595 subdirs 596 MODULEDIRS 597 gsdlos 598 STATIC 599 LIBOBJS 600 ALLOCA 601 ANSI2KNR 602 U 603 EGREP 604 GREP 605 CPP 606 MICO_VER 607 COMPAT32BITFLAGS 608 RANLIB 609 SET_MAKE 610 LN_S 611 INSTALL_DATA 612 INSTALL_SCRIPT 613 INSTALL_PROGRAM 614 target_os 615 target_vendor 616 target_cpu 617 target 618 host_os 619 host_vendor 620 host_cpu 621 host 622 build_os 623 build_vendor 624 build_cpu 625 build 626 YFLAGS 627 YACC 628 AWK 629 uudecode 630 JAVA 631 JAVACFLAGS 632 JAVAC 633 ac_ct_CXX 634 CXXFLAGS 635 CXX 636 OBJEXT 637 EXEEXT 638 ac_ct_CC 639 CPPFLAGS 640 CC 641 CFLAGS 642 LDFLAGS 643 ENABLE_LUCENE 644 ENABLE_MGPP 645 ENABLE_MG 646 USE_APACHE_HTTPD 647 USE_SQLITE 648 ENABLE_ACCENTFOLD 649 USE_GDBM 650 USE_JDBM 651 ENABLE_JAVA 652 USE_YAZ 653 USE_Z3950 654 MICO_DIR 655 USE_CORBA 656 USE_LANGACTION 657 USE_FASTCGI 658 VERSION 659 PACKAGE 660 target_alias 661 host_alias 662 build_alias 663 LIBS 664 ECHO_T 665 ECHO_N 666 ECHO_C 667 DEFS 668 mandir 669 localedir 670 libdir 671 psdir 672 pdfdir 673 dvidir 674 htmldir 675 infodir 676 docdir 677 oldincludedir 678 includedir 679 localstatedir 680 sharedstatedir 681 sysconfdir 682 datadir 683 datarootdir 684 libexecdir 685 sbindir 686 bindir 687 program_transform_name 688 prefix 689 exec_prefix 690 PACKAGE_URL 691 PACKAGE_BUGREPORT 692 PACKAGE_STRING 693 PACKAGE_VERSION 694 PACKAGE_TARNAME 695 PACKAGE_NAME 696 PATH_SEPARATOR 697 SHELL' 311 ac_subdirs_all="$ac_subdirs_all packages" 312 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 USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVAC JAVACFLAGS JAVA uudecode 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 COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos gsdlarch MODULEDIRS subdirs LTLIBOBJS' 698 313 ac_subst_files='' 699 ac_user_opts='700 enable_option_checking701 enable_corba702 with_micodir703 enable_z3950704 enable_yaz705 enable_java706 enable_jdbm707 enable_gdbm708 enable_accentfold709 enable_sqlite710 enable_apache_httpd711 enable_mg712 enable_mgpp713 enable_lucene714 with_dmalloc715 with_regex716 '717 ac_precious_vars='build_alias718 host_alias719 target_alias720 CC721 CFLAGS722 LDFLAGS723 LIBS724 CPPFLAGS725 CXX726 CXXFLAGS727 CCC728 YACC729 YFLAGS730 CPP'731 ac_subdirs_all='packages'732 314 733 315 # Initialize some variables set by options. 734 316 ac_init_help= 735 317 ac_init_version=false 736 ac_unrecognized_opts=737 ac_unrecognized_sep=738 318 # The variables have the same names as the options, with 739 319 # dashes changed to underlines. … … 758 338 # by default will actually change. 759 339 # Use braces instead of parens because sh, perl, etc. also accept them. 760 # (The list follows the same order as the GNU Coding Standards.)761 340 bindir='${exec_prefix}/bin' 762 341 sbindir='${exec_prefix}/sbin' 763 342 libexecdir='${exec_prefix}/libexec' 764 datarootdir='${prefix}/share' 765 datadir='${datarootdir}' 343 datadir='${prefix}/share' 766 344 sysconfdir='${prefix}/etc' 767 345 sharedstatedir='${prefix}/com' 768 346 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib' 769 348 includedir='${prefix}/include' 770 349 oldincludedir='/usr/include' 771 docdir='${datarootdir}/doc/${PACKAGE}' 772 infodir='${datarootdir}/info' 773 htmldir='${docdir}' 774 dvidir='${docdir}' 775 pdfdir='${docdir}' 776 psdir='${docdir}' 777 libdir='${exec_prefix}/lib' 778 localedir='${datarootdir}/locale' 779 mandir='${datarootdir}/man' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 780 352 781 353 ac_prev= 782 ac_dashdash=783 354 for ac_option 784 355 do 785 356 # If the previous option needs an argument, assign it. 786 357 if test -n "$ac_prev"; then 787 eval $ac_prev=\$ac_option358 eval "$ac_prev=\$ac_option" 788 359 ac_prev= 789 360 continue 790 361 fi 791 362 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 364 365 # Accept the important Cygnus configure options, so we can diagnose typos. 366 792 367 case $ac_option in 793 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;794 *=) ac_optarg= ;;795 *) ac_optarg=yes ;;796 esac797 798 # Accept the important Cygnus configure options, so we can diagnose typos.799 800 case $ac_dashdash$ac_option in801 --)802 ac_dashdash=yes ;;803 368 804 369 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 822 387 cache_file=config.cache ;; 823 388 824 -datadir | --datadir | --datadi | --datad )389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 825 390 ac_prev=datadir ;; 826 -datadir=* | --datadir=* | --datadi=* | --datad=*) 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 827 393 datadir=$ac_optarg ;; 828 394 829 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \830 | --dataroo | --dataro | --datar)831 ac_prev=datarootdir ;;832 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \833 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)834 datarootdir=$ac_optarg ;;835 836 395 -disable-* | --disable-*) 837 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 838 397 # Reject names that are not valid shell variable names. 839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 840 as_fn_error $? "invalid feature name: $ac_useropt" 841 ac_useropt_orig=$ac_useropt 842 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 843 case $ac_user_opts in 844 *" 845 "enable_$ac_useropt" 846 "*) ;; 847 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 848 ac_unrecognized_sep=', ';; 398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 403 404 -enable-* | --enable-*) 405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 849 414 esac 850 eval enable_$ac_useropt=no ;; 851 852 -docdir | --docdir | --docdi | --doc | --do) 853 ac_prev=docdir ;; 854 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 855 docdir=$ac_optarg ;; 856 857 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 858 ac_prev=dvidir ;; 859 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 860 dvidir=$ac_optarg ;; 861 862 -enable-* | --enable-*) 863 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 864 # Reject names that are not valid shell variable names. 865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 866 as_fn_error $? "invalid feature name: $ac_useropt" 867 ac_useropt_orig=$ac_useropt 868 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 869 case $ac_user_opts in 870 *" 871 "enable_$ac_useropt" 872 "*) ;; 873 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 874 ac_unrecognized_sep=', ';; 875 esac 876 eval enable_$ac_useropt=\$ac_optarg ;; 415 eval "enable_$ac_feature='$ac_optarg'" ;; 877 416 878 417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 901 440 host_alias=$ac_optarg ;; 902 441 903 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)904 ac_prev=htmldir ;;905 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \906 | --ht=*)907 htmldir=$ac_optarg ;;908 909 442 -includedir | --includedir | --includedi | --included | --include \ 910 443 | --includ | --inclu | --incl | --inc) … … 931 464 libexecdir=$ac_optarg ;; 932 465 933 -localedir | --localedir | --localedi | --localed | --locale)934 ac_prev=localedir ;;935 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)936 localedir=$ac_optarg ;;937 938 466 -localstatedir | --localstatedir | --localstatedi | --localstated \ 939 | --localstate | --localstat | --localsta | --localst | --locals) 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 940 469 ac_prev=localstatedir ;; 941 470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 942 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 943 473 localstatedir=$ac_optarg ;; 944 474 … … 1005 535 program_transform_name=$ac_optarg ;; 1006 536 1007 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)1008 ac_prev=pdfdir ;;1009 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)1010 pdfdir=$ac_optarg ;;1011 1012 -psdir | --psdir | --psdi | --psd | --ps)1013 ac_prev=psdir ;;1014 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)1015 psdir=$ac_optarg ;;1016 1017 537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1018 538 | -silent | --silent | --silen | --sile | --sil) … … 1065 585 1066 586 -with-* | --with-*) 1067 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1068 588 # Reject names that are not valid shell variable names. 1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1070 as_fn_error $? "invalid package name: $ac_useropt" 1071 ac_useropt_orig=$ac_useropt 1072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1073 case $ac_user_opts in 1074 *" 1075 "with_$ac_useropt" 1076 "*) ;; 1077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1078 ac_unrecognized_sep=', ';; 589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 1079 596 esac 1080 eval with_$ac_useropt=\$ac_optarg;;597 eval "with_$ac_package='$ac_optarg'" ;; 1081 598 1082 599 -without-* | --without-*) 1083 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1084 601 # Reject names that are not valid shell variable names. 1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1086 as_fn_error $? "invalid package name: $ac_useropt" 1087 ac_useropt_orig=$ac_useropt 1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1089 case $ac_user_opts in 1090 *" 1091 "with_$ac_useropt" 1092 "*) ;; 1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1094 ac_unrecognized_sep=', ';; 1095 esac 1096 eval with_$ac_useropt=no ;; 602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 1097 607 1098 608 --x) … … 1114 624 x_libraries=$ac_optarg ;; 1115 625 1116 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1117 Try \`$0 --help' for more information" 626 -*) { echo "$as_me: error: unrecognized option: $ac_option 627 Try \`$0 --help' for more information." >&2 628 { (exit 1); exit 1; }; } 1118 629 ;; 1119 630 … … 1121 632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1122 633 # Reject names that are not valid shell variable names. 1123 case $ac_envvar in #(1124 '' | [0-9]* | *[!_$as_cr_alnum]* )1125 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;1126 esac1127 eval $ac_envvar=\$ac_optarg634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1128 639 export $ac_envvar ;; 1129 640 1130 641 *) 1131 642 # FIXME: should be removed in autoconf 3.0. 1132 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1133 644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1134 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1135 646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1136 647 ;; … … 1141 652 if test -n "$ac_prev"; then 1142 653 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1143 as_fn_error $? "missing argument to $ac_option" 1144 fi 1145 1146 if test -n "$ac_unrecognized_opts"; then 1147 case $enable_option_checking in 1148 no) ;; 1149 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1150 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 654 { echo "$as_me: error: missing argument to $ac_option" >&2 655 { (exit 1); exit 1; }; } 656 fi 657 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 660 do 661 eval ac_val=$`echo $ac_var` 662 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 1151 666 esac 1152 fi 1153 1154 # Check all directory arguments for consistency. 1155 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1156 datadir sysconfdir sharedstatedir localstatedir includedir \ 1157 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1158 libdir localedir mandir 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 1159 672 do 1160 eval ac_val=\$$ac_var 1161 # Remove trailing slashes. 673 eval ac_val=$`echo $ac_var` 1162 674 case $ac_val in 1163 */ )1164 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1165 eval $ac_var=\$ac_val;;675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 1166 678 esac 1167 # Be sure to have absolute directory names.1168 case $ac_val in1169 [\\/$]* | ?:[\\/]* ) continue;;1170 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;1171 esac1172 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"1173 679 done 1174 680 … … 1184 690 if test "x$build_alias" = x; then 1185 691 cross_compiling=maybe 1186 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1187 If a cross compiler is detected then cross compile mode will be used " >&2692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 693 If a cross compiler is detected then cross compile mode will be used." >&2 1188 694 elif test "x$build_alias" != "x$host_alias"; then 1189 695 cross_compiling=yes … … 1197 703 1198 704 1199 ac_pwd=`pwd` && test -n "$ac_pwd" &&1200 ac_ls_di=`ls -di .` &&1201 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1202 as_fn_error $? "working directory cannot be determined"1203 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1204 as_fn_error $? "pwd does not report name of working directory"1205 1206 1207 705 # Find the source files, if location was not specified. 1208 706 if test -z "$srcdir"; then 1209 707 ac_srcdir_defaulted=yes 1210 # Try the directory containing this script, then the parent directory. 1211 ac_confdir=`$as_dirname -- "$as_myself" || 1212 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1213 X"$as_myself" : 'X\(//\)[^/]' \| \ 1214 X"$as_myself" : 'X\(//\)$' \| \ 1215 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1216 $as_echo X"$as_myself" | 1217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1218 s//\1/ 1219 q 1220 } 1221 /^X\(\/\/\)[^/].*/{ 1222 s//\1/ 1223 q 1224 } 1225 /^X\(\/\/\)$/{ 1226 s//\1/ 1227 q 1228 } 1229 /^X\(\/\).*/{ 1230 s//\1/ 1231 q 1232 } 1233 s/.*/./; q'` 708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 1234 721 srcdir=$ac_confdir 1235 if test ! -r "$srcdir/$ac_unique_file"; then722 if test ! -r $srcdir/$ac_unique_file; then 1236 723 srcdir=.. 1237 724 fi … … 1239 726 ac_srcdir_defaulted=no 1240 727 fi 1241 if test ! -r "$srcdir/$ac_unique_file"; then 1242 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1243 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1244 fi 1245 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1246 ac_abs_confdir=`( 1247 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1248 pwd)` 1249 # When building in place, set srcdir=. 1250 if test "$ac_abs_confdir" = "$ac_pwd"; then 1251 srcdir=. 1252 fi 1253 # Remove unnecessary trailing slashes from srcdir. 1254 # Double slashes in file names in object file debugging info 1255 # mess up M-x gdb in Emacs. 1256 case $srcdir in 1257 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1258 esac 1259 for ac_var in $ac_precious_vars; do 1260 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1261 eval ac_env_${ac_var}_value=\$${ac_var} 1262 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1263 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1264 done 728 if test ! -r $srcdir/$ac_unique_file; then 729 if test "$ac_srcdir_defaulted" = yes; then 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CXX_set=${CXX+set} 770 ac_env_CXX_value=$CXX 771 ac_cv_env_CXX_set=${CXX+set} 772 ac_cv_env_CXX_value=$CXX 773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 774 ac_env_CXXFLAGS_value=$CXXFLAGS 775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 ac_cv_env_CPP_value=$CPP 1265 781 1266 782 # … … 1285 801 --help=recursive display the short help of all the included packages 1286 802 -V, --version display version information and exit 1287 -q, --quiet, --silent do not print \`checking 803 -q, --quiet, --silent do not print \`checking...' messages 1288 804 --cache-file=FILE cache test results in FILE [disabled] 1289 805 -C, --config-cache alias for \`--cache-file=config.cache' … … 1291 807 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1292 808 809 _ACEOF 810 811 cat <<_ACEOF 1293 812 Installation directories: 1294 813 --prefix=PREFIX install architecture-independent files in PREFIX 1295 814 [$ac_default_prefix] 1296 815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1297 816 [PREFIX] 1298 817 1299 818 By default, \`make install' will install all the files in … … 1305 824 1306 825 Fine tuning of the installation directories: 1307 --bindir=DIR user executables [EPREFIX/bin] 1308 --sbindir=DIR system admin executables [EPREFIX/sbin] 1309 --libexecdir=DIR program executables [EPREFIX/libexec] 1310 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1311 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1312 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1313 --libdir=DIR object code libraries [EPREFIX/lib] 1314 --includedir=DIR C header files [PREFIX/include] 1315 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1316 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1317 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1318 --infodir=DIR info documentation [DATAROOTDIR/info] 1319 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1320 --mandir=DIR man documentation [DATAROOTDIR/man] 1321 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1322 --htmldir=DIR html documentation [DOCDIR] 1323 --dvidir=DIR dvi documentation [DOCDIR] 1324 --pdfdir=DIR pdf documentation [DOCDIR] 1325 --psdir=DIR ps documentation [DOCDIR] 826 --bindir=DIR user executables [EPREFIX/bin] 827 --sbindir=DIR system admin executables [EPREFIX/sbin] 828 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share] 830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 832 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 833 --libdir=DIR object code libraries [EPREFIX/lib] 834 --includedir=DIR C header files [PREFIX/include] 835 --oldincludedir=DIR C header files for non-gcc [/usr/include] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1326 838 _ACEOF 1327 839 … … 1340 852 1341 853 Optional Features: 1342 --disable-option-checking ignore unrecognized --enable/--with options1343 854 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1344 855 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1369 880 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1370 881 nonstandard directory <lib dir> 1371 LIBS libraries to pass to the linker, e.g. -l<library> 1372 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1373 you have headers in a nonstandard directory <include dir> 882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 883 headers in a nonstandard directory <include dir> 1374 884 CXX C++ compiler command 1375 885 CXXFLAGS C++ compiler flags 1376 YACC The `Yet Another C Compiler' implementation to use. Defaults to1377 the first program found out of: `bison -y', `byacc', `yacc'.1378 YFLAGS The list of arguments that will be passed by default to $YACC.1379 This script will default YFLAGS to the empty string to avoid a1380 default value of `-d' given by some make applications.1381 886 CPP C preprocessor 1382 887 … … 1384 889 it to find libraries and programs with nonstandard names/locations. 1385 890 1386 Report bugs to the package provider. 1387 _ACEOF 1388 ac_status=$? 891 _ACEOF 1389 892 fi 1390 893 1391 894 if test "$ac_init_help" = "recursive"; then 1392 895 # If there are subdirs, report their specific --help. 896 ac_popdir=`pwd` 1393 897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1394 test -d "$ac_dir" || 1395 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1396 continue 898 test -d $ac_dir || continue 1397 899 ac_builddir=. 1398 900 1399 case "$ac_dir" in 1400 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 901 if test "$ac_dir" != .; then 902 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 903 # A "../" for each directory in $ac_dir_suffix. 904 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 905 else 906 ac_dir_suffix= ac_top_builddir= 907 fi 908 909 case $srcdir in 910 .) # No --srcdir option. We are building in place. 911 ac_srcdir=. 912 if test -z "$ac_top_builddir"; then 913 ac_top_srcdir=. 914 else 915 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 916 fi ;; 917 [\\/]* | ?:[\\/]* ) # Absolute path. 918 ac_srcdir=$srcdir$ac_dir_suffix; 919 ac_top_srcdir=$srcdir ;; 920 *) # Relative path. 921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 922 ac_top_srcdir=$ac_top_builddir$srcdir ;; 923 esac 924 925 # Do not use `cd foo && pwd` to compute absolute paths, because 926 # the directories may not exist. 927 case `pwd` in 928 .) ac_abs_builddir="$ac_dir";; 1401 929 *) 1402 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1403 # A ".." for each directory in $ac_dir_suffix. 1404 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1405 case $ac_top_builddir_sub in 1406 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1407 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1408 esac ;; 930 case "$ac_dir" in 931 .) ac_abs_builddir=`pwd`;; 932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 933 *) ac_abs_builddir=`pwd`/"$ac_dir";; 934 esac;; 1409 935 esac 1410 ac_abs_top_builddir=$ac_pwd 1411 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1412 # for backward compatibility: 1413 ac_top_builddir=$ac_top_build_prefix 1414 1415 case $srcdir in 1416 .) # We are building in place. 1417 ac_srcdir=. 1418 ac_top_srcdir=$ac_top_builddir_sub 1419 ac_abs_top_srcdir=$ac_pwd ;; 1420 [\\/]* | ?:[\\/]* ) # Absolute name. 1421 ac_srcdir=$srcdir$ac_dir_suffix; 1422 ac_top_srcdir=$srcdir 1423 ac_abs_top_srcdir=$srcdir ;; 1424 *) # Relative name. 1425 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1426 ac_top_srcdir=$ac_top_build_prefix$srcdir 1427 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 936 case $ac_abs_builddir in 937 .) ac_abs_top_builddir=${ac_top_builddir}.;; 938 *) 939 case ${ac_top_builddir}. in 940 .) ac_abs_top_builddir=$ac_abs_builddir;; 941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 943 esac;; 1428 944 esac 1429 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1430 1431 cd "$ac_dir" || { ac_status=$?; continue; } 1432 # Check for guested configure. 1433 if test -f "$ac_srcdir/configure.gnu"; then 1434 echo && 1435 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1436 elif test -f "$ac_srcdir/configure"; then 1437 echo && 1438 $SHELL "$ac_srcdir/configure" --help=recursive 945 case $ac_abs_builddir in 946 .) ac_abs_srcdir=$ac_srcdir;; 947 *) 948 case $ac_srcdir in 949 .) ac_abs_srcdir=$ac_abs_builddir;; 950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 952 esac;; 953 esac 954 case $ac_abs_builddir in 955 .) ac_abs_top_srcdir=$ac_top_srcdir;; 956 *) 957 case $ac_top_srcdir in 958 .) ac_abs_top_srcdir=$ac_abs_builddir;; 959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 961 esac;; 962 esac 963 964 cd $ac_dir 965 # Check for guested configure; otherwise get Cygnus style configure. 966 if test -f $ac_srcdir/configure.gnu; then 967 echo 968 $SHELL $ac_srcdir/configure.gnu --help=recursive 969 elif test -f $ac_srcdir/configure; then 970 echo 971 $SHELL $ac_srcdir/configure --help=recursive 972 elif test -f $ac_srcdir/configure.ac || 973 test -f $ac_srcdir/configure.in; then 974 echo 975 $ac_configure --help 1439 976 else 1440 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21441 fi || ac_status=$?1442 cd "$ac_pwd" || { ac_status=$?; break; }977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 978 fi 979 cd $ac_popdir 1443 980 done 1444 981 fi 1445 982 1446 test -n "$ac_init_help" && exit $ac_status983 test -n "$ac_init_help" && exit 0 1447 984 if $ac_init_version; then 1448 985 cat <<\_ACEOF 1449 configure 1450 generated by GNU Autoconf 2.67 1451 1452 Copyright (C) 2010 Free Software Foundation, Inc. 986 987 Copyright (C) 2003 Free Software Foundation, Inc. 1453 988 This configure script is free software; the Free Software Foundation 1454 989 gives unlimited permission to copy, distribute and modify it. 1455 990 _ACEOF 1456 exit 1457 fi 1458 1459 ## ------------------------ ## 1460 ## Autoconf initialization. ## 1461 ## ------------------------ ## 1462 1463 # ac_fn_c_try_compile LINENO 1464 # -------------------------- 1465 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1466 ac_fn_c_try_compile () 1467 { 1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1469 rm -f conftest.$ac_objext 1470 if { { ac_try="$ac_compile" 1471 case "(($ac_try" in 1472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1473 *) ac_try_echo=$ac_try;; 1474 esac 1475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1476 $as_echo "$ac_try_echo"; } >&5 1477 (eval "$ac_compile") 2>conftest.err 1478 ac_status=$? 1479 if test -s conftest.err; then 1480 grep -v '^ *+' conftest.err >conftest.er1 1481 cat conftest.er1 >&5 1482 mv -f conftest.er1 conftest.err 1483 fi 1484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1485 test $ac_status = 0; } && { 1486 test -z "$ac_c_werror_flag" || 1487 test ! -s conftest.err 1488 } && test -s conftest.$ac_objext; then : 1489 ac_retval=0 1490 else 1491 $as_echo "$as_me: failed program was:" >&5 1492 sed 's/^/| /' conftest.$ac_ext >&5 1493 1494 ac_retval=1 1495 fi 1496 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1497 as_fn_set_status $ac_retval 1498 1499 } # ac_fn_c_try_compile 1500 1501 # ac_fn_cxx_try_compile LINENO 1502 # ---------------------------- 1503 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1504 ac_fn_cxx_try_compile () 1505 { 1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1507 rm -f conftest.$ac_objext 1508 if { { ac_try="$ac_compile" 1509 case "(($ac_try" in 1510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1511 *) ac_try_echo=$ac_try;; 1512 esac 1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1514 $as_echo "$ac_try_echo"; } >&5 1515 (eval "$ac_compile") 2>conftest.err 1516 ac_status=$? 1517 if test -s conftest.err; then 1518 grep -v '^ *+' conftest.err >conftest.er1 1519 cat conftest.er1 >&5 1520 mv -f conftest.er1 conftest.err 1521 fi 1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1523 test $ac_status = 0; } && { 1524 test -z "$ac_cxx_werror_flag" || 1525 test ! -s conftest.err 1526 } && test -s conftest.$ac_objext; then : 1527 ac_retval=0 1528 else 1529 $as_echo "$as_me: failed program was:" >&5 1530 sed 's/^/| /' conftest.$ac_ext >&5 1531 1532 ac_retval=1 1533 fi 1534 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1535 as_fn_set_status $ac_retval 1536 1537 } # ac_fn_cxx_try_compile 1538 1539 # ac_fn_c_try_cpp LINENO 1540 # ---------------------- 1541 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1542 ac_fn_c_try_cpp () 1543 { 1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1545 if { { ac_try="$ac_cpp conftest.$ac_ext" 1546 case "(($ac_try" in 1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1548 *) ac_try_echo=$ac_try;; 1549 esac 1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1551 $as_echo "$ac_try_echo"; } >&5 1552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1553 ac_status=$? 1554 if test -s conftest.err; then 1555 grep -v '^ *+' conftest.err >conftest.er1 1556 cat conftest.er1 >&5 1557 mv -f conftest.er1 conftest.err 1558 fi 1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1560 test $ac_status = 0; } > conftest.i && { 1561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1562 test ! -s conftest.err 1563 }; then : 1564 ac_retval=0 1565 else 1566 $as_echo "$as_me: failed program was:" >&5 1567 sed 's/^/| /' conftest.$ac_ext >&5 1568 1569 ac_retval=1 1570 fi 1571 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1572 as_fn_set_status $ac_retval 1573 1574 } # ac_fn_c_try_cpp 1575 1576 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1577 # ------------------------------------------------------- 1578 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1579 # the include files in INCLUDES and setting the cache variable VAR 1580 # accordingly. 1581 ac_fn_c_check_header_mongrel () 1582 { 1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1584 if eval "test \"\${$3+set}\"" = set; then : 1585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1586 $as_echo_n "checking for $2... " >&6; } 1587 if eval "test \"\${$3+set}\"" = set; then : 1588 $as_echo_n "(cached) " >&6 1589 fi 1590 eval ac_res=\$$3 1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1592 $as_echo "$ac_res" >&6; } 1593 else 1594 # Is the header compilable? 1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1596 $as_echo_n "checking $2 usability... " >&6; } 1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1598 /* end confdefs.h. */ 1599 $4 1600 #include <$2> 1601 _ACEOF 1602 if ac_fn_c_try_compile "$LINENO"; then : 1603 ac_header_compiler=yes 1604 else 1605 ac_header_compiler=no 1606 fi 1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1609 $as_echo "$ac_header_compiler" >&6; } 1610 1611 # Is the header present? 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1613 $as_echo_n "checking $2 presence... " >&6; } 1614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1615 /* end confdefs.h. */ 1616 #include <$2> 1617 _ACEOF 1618 if ac_fn_c_try_cpp "$LINENO"; then : 1619 ac_header_preproc=yes 1620 else 1621 ac_header_preproc=no 1622 fi 1623 rm -f conftest.err conftest.i conftest.$ac_ext 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1625 $as_echo "$ac_header_preproc" >&6; } 1626 1627 # So? What about this header? 1628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1629 yes:no: ) 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1631 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1634 ;; 1635 no:yes:* ) 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1637 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1639 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1641 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1643 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1646 ;; 1647 esac 1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1649 $as_echo_n "checking for $2... " >&6; } 1650 if eval "test \"\${$3+set}\"" = set; then : 1651 $as_echo_n "(cached) " >&6 1652 else 1653 eval "$3=\$ac_header_compiler" 1654 fi 1655 eval ac_res=\$$3 1656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1657 $as_echo "$ac_res" >&6; } 1658 fi 1659 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1660 1661 } # ac_fn_c_check_header_mongrel 1662 1663 # ac_fn_c_try_run LINENO 1664 # ---------------------- 1665 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1666 # that executables *can* be run. 1667 ac_fn_c_try_run () 1668 { 1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1670 if { { ac_try="$ac_link" 1671 case "(($ac_try" in 1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1673 *) ac_try_echo=$ac_try;; 1674 esac 1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1676 $as_echo "$ac_try_echo"; } >&5 1677 (eval "$ac_link") 2>&5 1678 ac_status=$? 1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1680 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1681 { { case "(($ac_try" in 1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1683 *) ac_try_echo=$ac_try;; 1684 esac 1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1686 $as_echo "$ac_try_echo"; } >&5 1687 (eval "$ac_try") 2>&5 1688 ac_status=$? 1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1690 test $ac_status = 0; }; }; then : 1691 ac_retval=0 1692 else 1693 $as_echo "$as_me: program exited with status $ac_status" >&5 1694 $as_echo "$as_me: failed program was:" >&5 1695 sed 's/^/| /' conftest.$ac_ext >&5 1696 1697 ac_retval=$ac_status 1698 fi 1699 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1701 as_fn_set_status $ac_retval 1702 1703 } # ac_fn_c_try_run 1704 1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1706 # ------------------------------------------------------- 1707 # Tests whether HEADER exists and can be compiled using the include files in 1708 # INCLUDES, setting the cache variable VAR accordingly. 1709 ac_fn_c_check_header_compile () 1710 { 1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1713 $as_echo_n "checking for $2... " >&6; } 1714 if eval "test \"\${$3+set}\"" = set; then : 1715 $as_echo_n "(cached) " >&6 1716 else 1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1718 /* end confdefs.h. */ 1719 $4 1720 #include <$2> 1721 _ACEOF 1722 if ac_fn_c_try_compile "$LINENO"; then : 1723 eval "$3=yes" 1724 else 1725 eval "$3=no" 1726 fi 1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1728 fi 1729 eval ac_res=\$$3 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1731 $as_echo "$ac_res" >&6; } 1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1733 1734 } # ac_fn_c_check_header_compile 1735 1736 # ac_fn_c_try_link LINENO 1737 # ----------------------- 1738 # Try to link conftest.$ac_ext, and return whether this succeeded. 1739 ac_fn_c_try_link () 1740 { 1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1742 rm -f conftest.$ac_objext conftest$ac_exeext 1743 if { { ac_try="$ac_link" 1744 case "(($ac_try" in 1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1746 *) ac_try_echo=$ac_try;; 1747 esac 1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1749 $as_echo "$ac_try_echo"; } >&5 1750 (eval "$ac_link") 2>conftest.err 1751 ac_status=$? 1752 if test -s conftest.err; then 1753 grep -v '^ *+' conftest.err >conftest.er1 1754 cat conftest.er1 >&5 1755 mv -f conftest.er1 conftest.err 1756 fi 1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1758 test $ac_status = 0; } && { 1759 test -z "$ac_c_werror_flag" || 1760 test ! -s conftest.err 1761 } && test -s conftest$ac_exeext && { 1762 test "$cross_compiling" = yes || 1763 $as_test_x conftest$ac_exeext 1764 }; then : 1765 ac_retval=0 1766 else 1767 $as_echo "$as_me: failed program was:" >&5 1768 sed 's/^/| /' conftest.$ac_ext >&5 1769 1770 ac_retval=1 1771 fi 1772 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1773 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1774 # interfere with the next link command; also delete a directory that is 1775 # left behind by Apple's compiler. We do this before executing the actions. 1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1778 as_fn_set_status $ac_retval 1779 1780 } # ac_fn_c_try_link 1781 1782 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1783 # ------------------------------------------- 1784 # Tests whether TYPE exists after having included INCLUDES, setting cache 1785 # variable VAR accordingly. 1786 ac_fn_c_check_type () 1787 { 1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1790 $as_echo_n "checking for $2... " >&6; } 1791 if eval "test \"\${$3+set}\"" = set; then : 1792 $as_echo_n "(cached) " >&6 1793 else 1794 eval "$3=no" 1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1796 /* end confdefs.h. */ 1797 $4 1798 int 1799 main () 1800 { 1801 if (sizeof ($2)) 1802 return 0; 1803 ; 1804 return 0; 1805 } 1806 _ACEOF 1807 if ac_fn_c_try_compile "$LINENO"; then : 1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1809 /* end confdefs.h. */ 1810 $4 1811 int 1812 main () 1813 { 1814 if (sizeof (($2))) 1815 return 0; 1816 ; 1817 return 0; 1818 } 1819 _ACEOF 1820 if ac_fn_c_try_compile "$LINENO"; then : 1821 1822 else 1823 eval "$3=yes" 1824 fi 1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1826 fi 1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1828 fi 1829 eval ac_res=\$$3 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1831 $as_echo "$ac_res" >&6; } 1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1833 1834 } # ac_fn_c_check_type 1835 1836 # ac_fn_c_check_func LINENO FUNC VAR 1837 # ---------------------------------- 1838 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1839 ac_fn_c_check_func () 1840 { 1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1843 $as_echo_n "checking for $2... " >&6; } 1844 if eval "test \"\${$3+set}\"" = set; then : 1845 $as_echo_n "(cached) " >&6 1846 else 1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1848 /* end confdefs.h. */ 1849 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1850 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1851 #define $2 innocuous_$2 1852 1853 /* System header to define __stub macros and hopefully few prototypes, 1854 which can conflict with char $2 (); below. 1855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1856 <limits.h> exists even on freestanding compilers. */ 1857 1858 #ifdef __STDC__ 1859 # include <limits.h> 1860 #else 1861 # include <assert.h> 1862 #endif 1863 1864 #undef $2 1865 1866 /* Override any GCC internal prototype to avoid an error. 1867 Use char because int might match the return type of a GCC 1868 builtin and then its argument prototype would still apply. */ 1869 #ifdef __cplusplus 1870 extern "C" 1871 #endif 1872 char $2 (); 1873 /* The GNU C library defines this for functions which it implements 1874 to always fail with ENOSYS. Some functions are actually named 1875 something starting with __ and the normal name is an alias. */ 1876 #if defined __stub_$2 || defined __stub___$2 1877 choke me 1878 #endif 1879 1880 int 1881 main () 1882 { 1883 return $2 (); 1884 ; 1885 return 0; 1886 } 1887 _ACEOF 1888 if ac_fn_c_try_link "$LINENO"; then : 1889 eval "$3=yes" 1890 else 1891 eval "$3=no" 1892 fi 1893 rm -f core conftest.err conftest.$ac_objext \ 1894 conftest$ac_exeext conftest.$ac_ext 1895 fi 1896 eval ac_res=\$$3 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1898 $as_echo "$ac_res" >&6; } 1899 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1900 1901 } # ac_fn_c_check_func 1902 1903 # ac_fn_cxx_try_run LINENO 1904 # ------------------------ 1905 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1906 # that executables *can* be run. 1907 ac_fn_cxx_try_run () 1908 { 1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1910 if { { ac_try="$ac_link" 1911 case "(($ac_try" in 1912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1913 *) ac_try_echo=$ac_try;; 1914 esac 1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1916 $as_echo "$ac_try_echo"; } >&5 1917 (eval "$ac_link") 2>&5 1918 ac_status=$? 1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1920 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1921 { { case "(($ac_try" in 1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1923 *) ac_try_echo=$ac_try;; 1924 esac 1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1926 $as_echo "$ac_try_echo"; } >&5 1927 (eval "$ac_try") 2>&5 1928 ac_status=$? 1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1930 test $ac_status = 0; }; }; then : 1931 ac_retval=0 1932 else 1933 $as_echo "$as_me: program exited with status $ac_status" >&5 1934 $as_echo "$as_me: failed program was:" >&5 1935 sed 's/^/| /' conftest.$ac_ext >&5 1936 1937 ac_retval=$ac_status 1938 fi 1939 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1940 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1941 as_fn_set_status $ac_retval 1942 1943 } # ac_fn_cxx_try_run 1944 cat >config.log <<_ACEOF 991 exit 0 992 fi 993 exec 5>config.log 994 cat >&5 <<_ACEOF 1945 995 This file contains any messages produced by compilers while 1946 996 running configure, to aid debugging if configure makes a mistake. 1947 997 1948 998 It was created by $as_me, which was 1949 generated by GNU Autoconf 2. 67. Invocation command line was999 generated by GNU Autoconf 2.59. Invocation command line was 1950 1000 1951 1001 $ $0 $@ 1952 1002 1953 1003 _ACEOF 1954 exec 5>>config.log1955 1004 { 1956 1005 cat <<_ASUNAME … … 1971 1020 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1972 1021 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1973 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1022 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1974 1023 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1975 1024 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1983 1032 IFS=$as_save_IFS 1984 1033 test -z "$as_dir" && as_dir=. 1985 $as_echo "PATH: $as_dir" 1986 done 1987 IFS=$as_save_IFS 1034 echo "PATH: $as_dir" 1035 done 1988 1036 1989 1037 } >&5 … … 2007 1055 ac_configure_args0= 2008 1056 ac_configure_args1= 1057 ac_sep= 2009 1058 ac_must_keep_next=false 2010 1059 for ac_pass in 1 2 … … 2017 1066 | -silent | --silent | --silen | --sile | --sil) 2018 1067 continue ;; 2019 * \'*)2020 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1068 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1069 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2021 1070 esac 2022 1071 case $ac_pass in 2023 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1072 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2024 1073 2) 2025 a s_fn_append ac_configure_args1 "'$ac_arg'"1074 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2026 1075 if test $ac_must_keep_next = true; then 2027 1076 ac_must_keep_next=false # Got value, back to normal. … … 2039 1088 esac 2040 1089 fi 2041 as_fn_append ac_configure_args " '$ac_arg'" 1090 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1091 # Get rid of the leading space. 1092 ac_sep=" " 2042 1093 ;; 2043 1094 esac 2044 1095 done 2045 1096 done 2046 { ac_configure_args0=; unset ac_configure_args0;}2047 { ac_configure_args1=; unset ac_configure_args1;}1097 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1098 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2048 1099 2049 1100 # When interrupted or exit'd, cleanup temporary files, and complete 2050 1101 # config.log. We remove comments because anyway the quotes in there 2051 1102 # would cause problems or look ugly. 2052 # WARNING: Use '\'' to represent an apostrophe within the trap.2053 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.1103 # WARNING: Be sure not to use single quotes in there, as some shells, 1104 # such as our DU 5.0 friend, will then `close' the trap. 2054 1105 trap 'exit_status=$? 2055 1106 # Save into config.log some information that might help in debugging. … … 2057 1108 echo 2058 1109 2059 $as_echo "## ---------------- ## 1110 cat <<\_ASBOX 1111 ## ---------------- ## 2060 1112 ## Cache variables. ## 2061 ## ---------------- ##" 1113 ## ---------------- ## 1114 _ASBOX 2062 1115 echo 2063 1116 # The following way of writing the cache mishandles newlines in values, 2064 ( 2065 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2066 eval ac_val=\$$ac_var 2067 case $ac_val in #( 2068 *${as_nl}*) 2069 case $ac_var in #( 2070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2072 esac 2073 case $ac_var in #( 2074 _ | IFS | as_nl) ;; #( 2075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2076 *) { eval $ac_var=; unset $ac_var;} ;; 2077 esac ;; 2078 esac 2079 done 1117 { 2080 1118 (set) 2>&1 | 2081 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(2082 * ${as_nl}ac_space=\ *)1119 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1120 *ac_space=\ *) 2083 1121 sed -n \ 2084 "s/' \''/'\''\\\\'\'''\''/g;2085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' \''\\2'\''/p"2086 ;; #(1122 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1124 ;; 2087 1125 *) 2088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1126 sed -n \ 1127 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 2089 1128 ;; 2090 esac | 2091 sort 2092 ) 1129 esac; 1130 } 2093 1131 echo 2094 1132 2095 $as_echo "## ----------------- ## 1133 cat <<\_ASBOX 1134 ## ----------------- ## 2096 1135 ## Output variables. ## 2097 ## ----------------- ##" 1136 ## ----------------- ## 1137 _ASBOX 2098 1138 echo 2099 1139 for ac_var in $ac_subst_vars 2100 1140 do 2101 eval ac_val=\$$ac_var 2102 case $ac_val in 2103 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2104 esac 2105 $as_echo "$ac_var='\''$ac_val'\''" 1141 eval ac_val=$`echo $ac_var` 1142 echo "$ac_var='"'"'$ac_val'"'"'" 2106 1143 done | sort 2107 1144 echo 2108 1145 2109 1146 if test -n "$ac_subst_files"; then 2110 $as_echo "## ------------------- ## 2111 ## File substitutions. ## 2112 ## ------------------- ##" 1147 cat <<\_ASBOX 1148 ## ------------- ## 1149 ## Output files. ## 1150 ## ------------- ## 1151 _ASBOX 2113 1152 echo 2114 1153 for ac_var in $ac_subst_files 2115 1154 do 2116 eval ac_val=\$$ac_var 2117 case $ac_val in 2118 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2119 esac 2120 $as_echo "$ac_var='\''$ac_val'\''" 1155 eval ac_val=$`echo $ac_var` 1156 echo "$ac_var='"'"'$ac_val'"'"'" 2121 1157 done | sort 2122 1158 echo … … 2124 1160 2125 1161 if test -s confdefs.h; then 2126 $as_echo "## ----------- ## 1162 cat <<\_ASBOX 1163 ## ----------- ## 2127 1164 ## confdefs.h. ## 2128 ## ----------- ##" 1165 ## ----------- ## 1166 _ASBOX 2129 1167 echo 2130 cat confdefs.h1168 sed "/^$/d" confdefs.h | sort 2131 1169 echo 2132 1170 fi 2133 1171 test "$ac_signal" != 0 && 2134 $as_echo "$as_me: caught signal $ac_signal"2135 $as_echo "$as_me: exit $exit_status"1172 echo "$as_me: caught signal $ac_signal" 1173 echo "$as_me: exit $exit_status" 2136 1174 } >&5 2137 rm -f core *.core core.conftest.*&&2138 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1175 rm -f core *.core && 1176 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 2139 1177 exit $exit_status 2140 ' 01178 ' 0 2141 1179 for ac_signal in 1 2 13 15; do 2142 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1180 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2143 1181 done 2144 1182 ac_signal=0 2145 1183 2146 1184 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2147 rm - f -rconftest* confdefs.h2148 2149 $as_echo "/* confdefs.h */" >confdefs.h1185 rm -rf conftest* confdefs.h 1186 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1187 echo >confdefs.h 2150 1188 2151 1189 # Predefined preprocessor variables. … … 2155 1193 _ACEOF 2156 1194 1195 2157 1196 cat >>confdefs.h <<_ACEOF 2158 1197 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2159 1198 _ACEOF 2160 1199 1200 2161 1201 cat >>confdefs.h <<_ACEOF 2162 1202 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2163 1203 _ACEOF 2164 1204 1205 2165 1206 cat >>confdefs.h <<_ACEOF 2166 1207 #define PACKAGE_STRING "$PACKAGE_STRING" 2167 1208 _ACEOF 2168 1209 1210 2169 1211 cat >>confdefs.h <<_ACEOF 2170 1212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2171 1213 _ACEOF 2172 1214 2173 cat >>confdefs.h <<_ACEOF2174 #define PACKAGE_URL "$PACKAGE_URL"2175 _ACEOF2176 2177 1215 2178 1216 # Let the site file select an alternate cache file if it wants to. 2179 # Prefer an explicitly selected file to automatically selected ones. 2180 ac_site_file1=NONE 2181 ac_site_file2=NONE 2182 if test -n "$CONFIG_SITE"; then 2183 # We do not want a PATH search for config.site. 2184 case $CONFIG_SITE in #(( 2185 -*) ac_site_file1=./$CONFIG_SITE;; 2186 */*) ac_site_file1=$CONFIG_SITE;; 2187 *) ac_site_file1=./$CONFIG_SITE;; 2188 esac 2189 elif test "x$prefix" != xNONE; then 2190 ac_site_file1=$prefix/share/config.site 2191 ac_site_file2=$prefix/etc/config.site 2192 else 2193 ac_site_file1=$ac_default_prefix/share/config.site 2194 ac_site_file2=$ac_default_prefix/etc/config.site 2195 fi 2196 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2197 do 2198 test "x$ac_site_file" = xNONE && continue 2199 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2201 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1217 # Prefer explicitly selected file to automatically selected ones. 1218 if test -z "$CONFIG_SITE"; then 1219 if test "x$prefix" != xNONE; then 1220 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1221 else 1222 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1223 fi 1224 fi 1225 for ac_site_file in $CONFIG_SITE; do 1226 if test -r "$ac_site_file"; then 1227 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1228 echo "$as_me: loading site script $ac_site_file" >&6;} 2202 1229 sed 's/^/| /' "$ac_site_file" >&5 2203 . "$ac_site_file" \ 2204 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2206 as_fn_error $? "failed to load site script $ac_site_file 2207 See \`config.log' for more details" "$LINENO" 5 ; } 1230 . "$ac_site_file" 2208 1231 fi 2209 1232 done 2210 1233 2211 1234 if test -r "$cache_file"; then 2212 # Some versions of bash will fail to source /dev/null (special files2213 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2214 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2215 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52216 $as_echo "$as_me: loading cache $cache_file" >&6;}1235 # Some versions of bash will fail to source /dev/null (special 1236 # files actually), so we avoid doing that. 1237 if test -f "$cache_file"; then 1238 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1239 echo "$as_me: loading cache $cache_file" >&6;} 2217 1240 case $cache_file in 2218 [\\/]* | ?:[\\/]* ) . "$cache_file";;2219 *) . "./$cache_file";;1241 [\\/]* | ?:[\\/]* ) . $cache_file;; 1242 *) . ./$cache_file;; 2220 1243 esac 2221 1244 fi 2222 1245 else 2223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52224 $as_echo "$as_me: creating cache $cache_file" >&6;}1246 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1247 echo "$as_me: creating cache $cache_file" >&6;} 2225 1248 >$cache_file 2226 1249 fi … … 2229 1252 # value. 2230 1253 ac_cache_corrupted=false 2231 for ac_var in $ac_precious_vars; do 1254 for ac_var in `(set) 2>&1 | 1255 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2232 1256 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2233 1257 eval ac_new_set=\$ac_env_${ac_var}_set 2234 eval ac_old_val= \$ac_cv_env_${ac_var}_value2235 eval ac_new_val= \$ac_env_${ac_var}_value1258 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1259 eval ac_new_val="\$ac_env_${ac_var}_value" 2236 1260 case $ac_old_set,$ac_new_set in 2237 1261 set,) 2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1262 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1263 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2240 1264 ac_cache_corrupted=: ;; 2241 1265 ,set) 2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1266 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1267 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2244 1268 ac_cache_corrupted=: ;; 2245 1269 ,);; 2246 1270 *) 2247 1271 if test "x$ac_old_val" != "x$ac_new_val"; then 2248 # differences in whitespace do not lead to failure. 2249 ac_old_val_w=`echo x $ac_old_val` 2250 ac_new_val_w=`echo x $ac_new_val` 2251 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2254 ac_cache_corrupted=: 2255 else 2256 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2258 eval $ac_var=\$ac_old_val 2259 fi 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2261 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2263 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1272 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1273 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1274 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1275 echo "$as_me: former value: $ac_old_val" >&2;} 1276 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1277 echo "$as_me: current value: $ac_new_val" >&2;} 1278 ac_cache_corrupted=: 2264 1279 fi;; 2265 1280 esac … … 2267 1282 if test "$ac_new_set" = set; then 2268 1283 case $ac_new_val in 2269 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1285 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2270 1286 *) ac_arg=$ac_var=$ac_new_val ;; 2271 1287 esac 2272 1288 case " $ac_configure_args " in 2273 1289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2274 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1290 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2275 1291 esac 2276 1292 fi 2277 1293 done 2278 1294 if $ac_cache_corrupted; then 2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2283 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2284 fi 2285 ## -------------------- ## 2286 ## Main body of script. ## 2287 ## -------------------- ## 1295 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1296 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1297 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1298 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1299 { (exit 1); exit 1; }; } 1300 fi 2288 1301 2289 1302 ac_ext=c … … 2294 1307 2295 1308 2296 ac_config_headers="$ac_config_headers config.h" 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 ac_config_headers="$ac_config_headers config.h" 2297 1327 2298 1328 … … 2314 1344 USE_FASTCGI=0 2315 1345 if test USE_FASTCGI = 1; then 2316 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1346 cat >>confdefs.h <<\_ACEOF 1347 #define USE_FASTCGI 1 1348 _ACEOF 2317 1349 2318 1350 … … 2320 1352 2321 1353 if test USE_LANGACTION = 1; then 2322 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 2323 2324 2325 fi 2326 2327 # Check whether --enable-corba was given. 2328 if test "${enable_corba+set}" = set; then : 2329 enableval=$enable_corba; USE_CORBA=$enableval 1354 cat >>confdefs.h <<\_ACEOF 1355 #define USE_LANGACTION 1 1356 _ACEOF 1357 1358 1359 fi 1360 1361 # Check whether --enable-corba or --disable-corba was given. 1362 if test "${enable_corba+set}" = set; then 1363 enableval="$enable_corba" 1364 USE_CORBA=$enableval 2330 1365 else 2331 1366 USE_CORBA=no 2332 fi 2333 1367 fi; 2334 1368 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 2335 1369 USE_CORBA=1 2336 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1370 cat >>confdefs.h <<\_ACEOF 1371 #define USE_CORBA 1372 _ACEOF 2337 1373 2338 1374 else … … 2342 1378 2343 1379 2344 # Check whether --with-micodir was given. 2345 if test "${with_micodir+set}" = set; then : 2346 withval=$with_micodir; MICO_DIR=$withval 1380 # Check whether --with-micodir or --without-micodir was given. 1381 if test "${with_micodir+set}" = set; then 1382 withval="$with_micodir" 1383 MICO_DIR=$withval 2347 1384 else 2348 1385 MICO_DIR="default" 2349 fi 2350 1386 fi; 2351 1387 cat >>confdefs.h <<_ACEOF 2352 1388 #define MICO_DIR "$MICO_DIR" … … 2355 1391 2356 1392 2357 # Check whether --enable-z3950 was given. 2358 if test "${enable_z3950+set}" = set; then : 2359 enableval=$enable_z3950; USE_Z3950=$enableval 1393 # Check whether --enable-z3950 or --disable-z3950 was given. 1394 if test "${enable_z3950+set}" = set; then 1395 enableval="$enable_z3950" 1396 USE_Z3950=$enableval 2360 1397 else 2361 1398 USE_Z3950=no 2362 fi 2363 1399 fi; 2364 1400 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 2365 1401 USE_Z3950=1 2366 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1402 cat >>confdefs.h <<\_ACEOF 1403 #define USE_Z3950 1404 _ACEOF 2367 1405 2368 1406 else … … 2371 1409 2372 1410 2373 # Check whether --enable-yaz was given. 2374 if test "${enable_yaz+set}" = set; then : 2375 enableval=$enable_yaz; USE_YAZ=$enableval 1411 # Check whether --enable-yaz or --disable-yaz was given. 1412 if test "${enable_yaz+set}" = set; then 1413 enableval="$enable_yaz" 1414 USE_YAZ=$enableval 2376 1415 else 2377 1416 USE_YAZ=yes 2378 fi 2379 1417 fi; 2380 1418 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 2381 1419 USE_YAZ=1 2382 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1420 cat >>confdefs.h <<\_ACEOF 1421 #define USE_YAZ 1422 _ACEOF 2383 1423 2384 1424 else … … 2387 1427 2388 1428 2389 # Check whether --enable-java was given. 2390 if test "${enable_java+set}" = set; then : 2391 enableval=$enable_java; ENABLE_JAVA=$enableval 1429 # Check whether --enable-java or --disable-java was given. 1430 if test "${enable_java+set}" = set; then 1431 enableval="$enable_java" 1432 ENABLE_JAVA=$enableval 2392 1433 else 2393 1434 ENABLE_JAVA=yes 2394 fi 2395 1435 fi; 2396 1436 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 2397 1437 ENABLE_JAVA=1 … … 2407 1447 2408 1448 2409 # Check whether --enable-jdbm was given. 2410 if test "${enable_jdbm+set}" = set; then : 2411 enableval=$enable_jdbm; USE_JDBM=$enableval 1449 # Check whether --enable-jdbm or --disable-jdbm was given. 1450 if test "${enable_jdbm+set}" = set; then 1451 enableval="$enable_jdbm" 1452 USE_JDBM=$enableval 2412 1453 else 2413 1454 USE_JDBM=yes 2414 fi 2415 1455 fi; 2416 1456 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 2417 1457 USE_JDBM=1 2418 $as_echo "#define USE_JDBM /**/" >>confdefs.h 1458 cat >>confdefs.h <<\_ACEOF 1459 #define USE_JDBM 1460 _ACEOF 2419 1461 2420 1462 else … … 2423 1465 2424 1466 2425 # Check whether --enable-gdbm was given. 2426 if test "${enable_gdbm+set}" = set; then : 2427 enableval=$enable_gdbm; USE_GDBM=$enableval 1467 # Check whether --enable-gdbm or --disable-gdbm was given. 1468 if test "${enable_gdbm+set}" = set; then 1469 enableval="$enable_gdbm" 1470 USE_GDBM=$enableval 2428 1471 else 2429 1472 USE_GDBM=yes 2430 fi 2431 1473 fi; 2432 1474 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 2433 1475 USE_GDBM=1 2434 $as_echo "#define USE_GDBM /**/" >>confdefs.h 1476 cat >>confdefs.h <<\_ACEOF 1477 #define USE_GDBM 1478 _ACEOF 2435 1479 2436 1480 else … … 2439 1483 2440 1484 2441 # Check whether --enable-accentfold was given. 2442 if test "${enable_accentfold+set}" = set; then : 2443 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1485 # Check whether --enable-accentfold or --disable-accentfold was given. 1486 if test "${enable_accentfold+set}" = set; then 1487 enableval="$enable_accentfold" 1488 ENABLE_ACCENTFOLD=$enableval 2444 1489 else 2445 1490 ENABLE_ACCENTFOLD=yes 2446 fi 2447 1491 fi; 2448 1492 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 2449 1493 ENABLE_ACCENTFOLD=1 2450 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 1494 cat >>confdefs.h <<\_ACEOF 1495 #define ENABLE_ACCENTFOLD 1496 _ACEOF 2451 1497 2452 1498 else … … 2455 1501 2456 1502 2457 # Check whether --enable-sqlite was given. 2458 if test "${enable_sqlite+set}" = set; then : 2459 enableval=$enable_sqlite; USE_SQLITE=$enableval 1503 # Check whether --enable-sqlite or --disable-sqlite was given. 1504 if test "${enable_sqlite+set}" = set; then 1505 enableval="$enable_sqlite" 1506 USE_SQLITE=$enableval 2460 1507 else 2461 1508 USE_SQLITE=yes 2462 fi 2463 1509 fi; 2464 1510 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 2465 1511 USE_SQLITE=1 2466 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 1512 cat >>confdefs.h <<\_ACEOF 1513 #define USE_SQLITE 1514 _ACEOF 2467 1515 2468 1516 else … … 2471 1519 2472 1520 2473 # Check whether --enable-apache-httpd was given. 2474 if test "${enable_apache_httpd+set}" = set; then : 2475 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval 1521 # Check whether --enable-apache-httpd or --disable-apache-httpd was given. 1522 if test "${enable_apache_httpd+set}" = set; then 1523 enableval="$enable_apache_httpd" 1524 USE_APACHE_HTTPD=$enableval 2476 1525 else 2477 1526 USE_APACHE_HTTPD=no 2478 fi 2479 1527 fi; 2480 1528 if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then 2481 1529 USE_APACHE_HTTPD=1 2482 $as_echo "#define USE_APACHE_HTTPD /**/" >>confdefs.h 1530 cat >>confdefs.h <<\_ACEOF 1531 #define USE_APACHE_HTTPD 1532 _ACEOF 2483 1533 2484 1534 else … … 2488 1538 2489 1539 2490 # Check whether --enable-mg was given. 2491 if test "${enable_mg+set}" = set; then : 2492 enableval=$enable_mg; ENABLE_MG=$enableval 1540 # Check whether --enable-mg or --disable-mg was given. 1541 if test "${enable_mg+set}" = set; then 1542 enableval="$enable_mg" 1543 ENABLE_MG=$enableval 2493 1544 else 2494 1545 ENABLE_MG=yes 2495 fi 2496 1546 fi; 2497 1547 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 2498 1548 ENABLE_MG=1 2499 $as_echo "#define ENABLE_MG /**/" >>confdefs.h 1549 cat >>confdefs.h <<\_ACEOF 1550 #define ENABLE_MG 1551 _ACEOF 2500 1552 2501 1553 else … … 2504 1556 2505 1557 2506 # Check whether --enable-mgpp was given. 2507 if test "${enable_mgpp+set}" = set; then : 2508 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1558 # Check whether --enable-mgpp or --disable-mgpp was given. 1559 if test "${enable_mgpp+set}" = set; then 1560 enableval="$enable_mgpp" 1561 ENABLE_MGPP=$enableval 2509 1562 else 2510 1563 ENABLE_MGPP=yes 2511 fi 2512 1564 fi; 2513 1565 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 2514 1566 ENABLE_MGPP=1 2515 $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h 1567 cat >>confdefs.h <<\_ACEOF 1568 #define ENABLE_MGPP 1569 _ACEOF 2516 1570 2517 1571 else … … 2520 1574 2521 1575 2522 # Check whether --enable-lucene was given. 2523 if test "${enable_lucene+set}" = set; then : 2524 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1576 # Check whether --enable-lucene or --disable-lucene was given. 1577 if test "${enable_lucene+set}" = set; then 1578 enableval="$enable_lucene" 1579 ENABLE_LUCENE=$enableval 2525 1580 else 2526 1581 ENABLE_LUCENE=yes 2527 fi 2528 1582 fi; 2529 1583 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 2530 1584 ENABLE_LUCENE=1 2531 $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h 1585 cat >>confdefs.h <<\_ACEOF 1586 #define ENABLE_LUCENE 1587 _ACEOF 2532 1588 2533 1589 else … … 2552 1608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2553 1609 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52555 $as_echo_n "checking for $ac_word... " >&6; } 2556 if test "${ac_cv_prog_CC+set}" = set; then :2557 $as_echo_n "(cached)" >&61610 echo "$as_me:$LINENO: checking for $ac_word" >&5 1611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1612 if test "${ac_cv_prog_CC+set}" = set; then 1613 echo $ECHO_N "(cached) $ECHO_C" >&6 2558 1614 else 2559 1615 if test -n "$CC"; then … … 2565 1621 IFS=$as_save_IFS 2566 1622 test -z "$as_dir" && as_dir=. 2567 2568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1623 for ac_exec_ext in '' $ac_executable_extensions; do 1624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2569 1625 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2571 1627 break 2 2572 1628 fi 2573 1629 done 2574 done 2575 IFS=$as_save_IFS 1630 done 2576 1631 2577 1632 fi … … 2579 1634 CC=$ac_cv_prog_CC 2580 1635 if test -n "$CC"; then 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2582 $as_echo "$CC" >&6; } 2583 else 2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2585 $as_echo "no" >&6; } 2586 fi 2587 1636 echo "$as_me:$LINENO: result: $CC" >&5 1637 echo "${ECHO_T}$CC" >&6 1638 else 1639 echo "$as_me:$LINENO: result: no" >&5 1640 echo "${ECHO_T}no" >&6 1641 fi 2588 1642 2589 1643 fi … … 2592 1646 # Extract the first word of "gcc", so it can be a program name with args. 2593 1647 set dummy gcc; ac_word=$2 2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52595 $as_echo_n "checking for $ac_word... " >&6; } 2596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2597 $as_echo_n "(cached)" >&61648 echo "$as_me:$LINENO: checking for $ac_word" >&5 1649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1650 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1651 echo $ECHO_N "(cached) $ECHO_C" >&6 2598 1652 else 2599 1653 if test -n "$ac_ct_CC"; then … … 2605 1659 IFS=$as_save_IFS 2606 1660 test -z "$as_dir" && as_dir=. 2607 2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1661 for ac_exec_ext in '' $ac_executable_extensions; do 1662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2609 1663 ac_cv_prog_ac_ct_CC="gcc" 2610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2611 1665 break 2 2612 1666 fi 2613 1667 done 2614 done 2615 IFS=$as_save_IFS 1668 done 2616 1669 2617 1670 fi … … 2619 1672 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2620 1673 if test -n "$ac_ct_CC"; then 2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2622 $as_echo "$ac_ct_CC" >&6; } 2623 else 2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2625 $as_echo "no" >&6; } 2626 fi 2627 2628 if test "x$ac_ct_CC" = x; then 2629 CC="" 2630 else 2631 case $cross_compiling:$ac_tool_warned in 2632 yes:) 2633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2635 ac_tool_warned=yes ;; 2636 esac 2637 CC=$ac_ct_CC 2638 fi 1674 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1675 echo "${ECHO_T}$ac_ct_CC" >&6 1676 else 1677 echo "$as_me:$LINENO: result: no" >&5 1678 echo "${ECHO_T}no" >&6 1679 fi 1680 1681 CC=$ac_ct_CC 2639 1682 else 2640 1683 CC="$ac_cv_prog_CC" … … 2642 1685 2643 1686 if test -z "$CC"; then 2644 2645 1687 if test -n "$ac_tool_prefix"; then 1688 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2646 1689 set dummy ${ac_tool_prefix}cc; ac_word=$2 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52648 $as_echo_n "checking for $ac_word... " >&6; } 2649 if test "${ac_cv_prog_CC+set}" = set; then :2650 $as_echo_n "(cached)" >&61690 echo "$as_me:$LINENO: checking for $ac_word" >&5 1691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1692 if test "${ac_cv_prog_CC+set}" = set; then 1693 echo $ECHO_N "(cached) $ECHO_C" >&6 2651 1694 else 2652 1695 if test -n "$CC"; then … … 2658 1701 IFS=$as_save_IFS 2659 1702 test -z "$as_dir" && as_dir=. 2660 2661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1703 for ac_exec_ext in '' $ac_executable_extensions; do 1704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2662 1705 ac_cv_prog_CC="${ac_tool_prefix}cc" 2663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2664 1707 break 2 2665 1708 fi 2666 1709 done 2667 done 2668 IFS=$as_save_IFS 1710 done 2669 1711 2670 1712 fi … … 2672 1714 CC=$ac_cv_prog_CC 2673 1715 if test -n "$CC"; then 2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2675 $as_echo "$CC" >&6; } 2676 else 2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2678 $as_echo "no" >&6; } 2679 fi 2680 2681 1716 echo "$as_me:$LINENO: result: $CC" >&5 1717 echo "${ECHO_T}$CC" >&6 1718 else 1719 echo "$as_me:$LINENO: result: no" >&5 1720 echo "${ECHO_T}no" >&6 1721 fi 1722 1723 fi 1724 if test -z "$ac_cv_prog_CC"; then 1725 ac_ct_CC=$CC 1726 # Extract the first word of "cc", so it can be a program name with args. 1727 set dummy cc; ac_word=$2 1728 echo "$as_me:$LINENO: checking for $ac_word" >&5 1729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1730 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1731 echo $ECHO_N "(cached) $ECHO_C" >&6 1732 else 1733 if test -n "$ac_ct_CC"; then 1734 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1735 else 1736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1737 for as_dir in $PATH 1738 do 1739 IFS=$as_save_IFS 1740 test -z "$as_dir" && as_dir=. 1741 for ac_exec_ext in '' $ac_executable_extensions; do 1742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1743 ac_cv_prog_ac_ct_CC="cc" 1744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1745 break 2 2682 1746 fi 1747 done 1748 done 1749 1750 fi 1751 fi 1752 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1753 if test -n "$ac_ct_CC"; then 1754 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1755 echo "${ECHO_T}$ac_ct_CC" >&6 1756 else 1757 echo "$as_me:$LINENO: result: no" >&5 1758 echo "${ECHO_T}no" >&6 1759 fi 1760 1761 CC=$ac_ct_CC 1762 else 1763 CC="$ac_cv_prog_CC" 1764 fi 1765 2683 1766 fi 2684 1767 if test -z "$CC"; then 2685 1768 # Extract the first word of "cc", so it can be a program name with args. 2686 1769 set dummy cc; ac_word=$2 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52688 $as_echo_n "checking for $ac_word... " >&6; } 2689 if test "${ac_cv_prog_CC+set}" = set; then :2690 $as_echo_n "(cached)" >&61770 echo "$as_me:$LINENO: checking for $ac_word" >&5 1771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1772 if test "${ac_cv_prog_CC+set}" = set; then 1773 echo $ECHO_N "(cached) $ECHO_C" >&6 2691 1774 else 2692 1775 if test -n "$CC"; then … … 2699 1782 IFS=$as_save_IFS 2700 1783 test -z "$as_dir" && as_dir=. 2701 2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1784 for ac_exec_ext in '' $ac_executable_extensions; do 1785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2703 1786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2704 1787 ac_prog_rejected=yes … … 2706 1789 fi 2707 1790 ac_cv_prog_CC="cc" 2708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2709 1792 break 2 2710 1793 fi 2711 1794 done 2712 done 2713 IFS=$as_save_IFS 1795 done 2714 1796 2715 1797 if test $ac_prog_rejected = yes; then … … 2729 1811 CC=$ac_cv_prog_CC 2730 1812 if test -n "$CC"; then 2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2732 $as_echo "$CC" >&6; } 2733 else 2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2735 $as_echo "no" >&6; } 2736 fi 2737 1813 echo "$as_me:$LINENO: result: $CC" >&5 1814 echo "${ECHO_T}$CC" >&6 1815 else 1816 echo "$as_me:$LINENO: result: no" >&5 1817 echo "${ECHO_T}no" >&6 1818 fi 2738 1819 2739 1820 fi 2740 1821 if test -z "$CC"; then 2741 1822 if test -n "$ac_tool_prefix"; then 2742 for ac_prog in cl .exe1823 for ac_prog in cl 2743 1824 do 2744 1825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2745 1826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52747 $as_echo_n "checking for $ac_word... " >&6; } 2748 if test "${ac_cv_prog_CC+set}" = set; then :2749 $as_echo_n "(cached)" >&61827 echo "$as_me:$LINENO: checking for $ac_word" >&5 1828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1829 if test "${ac_cv_prog_CC+set}" = set; then 1830 echo $ECHO_N "(cached) $ECHO_C" >&6 2750 1831 else 2751 1832 if test -n "$CC"; then … … 2757 1838 IFS=$as_save_IFS 2758 1839 test -z "$as_dir" && as_dir=. 2759 2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1840 for ac_exec_ext in '' $ac_executable_extensions; do 1841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2761 1842 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2763 1844 break 2 2764 1845 fi 2765 1846 done 2766 done 2767 IFS=$as_save_IFS 1847 done 2768 1848 2769 1849 fi … … 2771 1851 CC=$ac_cv_prog_CC 2772 1852 if test -n "$CC"; then 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2774 $as_echo "$CC" >&6; } 2775 else 2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2777 $as_echo "no" >&6; } 2778 fi 2779 1853 echo "$as_me:$LINENO: result: $CC" >&5 1854 echo "${ECHO_T}$CC" >&6 1855 else 1856 echo "$as_me:$LINENO: result: no" >&5 1857 echo "${ECHO_T}no" >&6 1858 fi 2780 1859 2781 1860 test -n "$CC" && break … … 2784 1863 if test -z "$CC"; then 2785 1864 ac_ct_CC=$CC 2786 for ac_prog in cl .exe1865 for ac_prog in cl 2787 1866 do 2788 1867 # Extract the first word of "$ac_prog", so it can be a program name with args. 2789 1868 set dummy $ac_prog; ac_word=$2 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52791 $as_echo_n "checking for $ac_word... " >&6; } 2792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2793 $as_echo_n "(cached)" >&61869 echo "$as_me:$LINENO: checking for $ac_word" >&5 1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1872 echo $ECHO_N "(cached) $ECHO_C" >&6 2794 1873 else 2795 1874 if test -n "$ac_ct_CC"; then … … 2801 1880 IFS=$as_save_IFS 2802 1881 test -z "$as_dir" && as_dir=. 2803 2804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1882 for ac_exec_ext in '' $ac_executable_extensions; do 1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2805 1884 ac_cv_prog_ac_ct_CC="$ac_prog" 2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2807 1886 break 2 2808 1887 fi 2809 1888 done 2810 done 2811 IFS=$as_save_IFS 1889 done 2812 1890 2813 1891 fi … … 2815 1893 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2816 1894 if test -n "$ac_ct_CC"; then 2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2818 $as_echo "$ac_ct_CC" >&6; } 2819 else 2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2821 $as_echo "no" >&6; } 2822 fi 2823 1895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1896 echo "${ECHO_T}$ac_ct_CC" >&6 1897 else 1898 echo "$as_me:$LINENO: result: no" >&5 1899 echo "${ECHO_T}no" >&6 1900 fi 2824 1901 2825 1902 test -n "$ac_ct_CC" && break 2826 1903 done 2827 1904 2828 if test "x$ac_ct_CC" = x; then 2829 CC="" 2830 else 2831 case $cross_compiling:$ac_tool_warned in 2832 yes:) 2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2835 ac_tool_warned=yes ;; 2836 esac 2837 CC=$ac_ct_CC 2838 fi 2839 fi 2840 2841 fi 2842 2843 2844 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2846 as_fn_error $? "no acceptable C compiler found in \$PATH 2847 See \`config.log' for more details" "$LINENO" 5 ; } 1905 CC=$ac_ct_CC 1906 fi 1907 1908 fi 1909 1910 1911 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1912 See \`config.log' for more details." >&5 1913 echo "$as_me: error: no acceptable C compiler found in \$PATH 1914 See \`config.log' for more details." >&2;} 1915 { (exit 1); exit 1; }; } 2848 1916 2849 1917 # Provide some information about the compiler. 2850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2851 set X $ac_compile 2852 ac_compiler=$2 2853 for ac_option in --version -v -V -qversion; do 2854 { { ac_try="$ac_compiler $ac_option >&5" 2855 case "(($ac_try" in 2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2857 *) ac_try_echo=$ac_try;; 2858 esac 2859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2860 $as_echo "$ac_try_echo"; } >&5 2861 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2862 ac_status=$? 2863 if test -s conftest.err; then 2864 sed '10a\ 2865 ... rest of stderr output deleted ... 2866 10q' conftest.err >conftest.er1 2867 cat conftest.er1 >&5 2868 fi 2869 rm -f conftest.er1 conftest.err 2870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2871 test $ac_status = 0; } 2872 done 2873 2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1918 echo "$as_me:$LINENO:" \ 1919 "checking for C compiler version" >&5 1920 ac_compiler=`set X $ac_compile; echo $2` 1921 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1922 (eval $ac_compiler --version </dev/null >&5) 2>&5 1923 ac_status=$? 1924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1925 (exit $ac_status); } 1926 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1927 (eval $ac_compiler -v </dev/null >&5) 2>&5 1928 ac_status=$? 1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1930 (exit $ac_status); } 1931 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1932 (eval $ac_compiler -V </dev/null >&5) 2>&5 1933 ac_status=$? 1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1935 (exit $ac_status); } 1936 1937 cat >conftest.$ac_ext <<_ACEOF 1938 /* confdefs.h. */ 1939 _ACEOF 1940 cat confdefs.h >>conftest.$ac_ext 1941 cat >>conftest.$ac_ext <<_ACEOF 2875 1942 /* end confdefs.h. */ 2876 1943 … … 2884 1951 _ACEOF 2885 1952 ac_clean_files_save=$ac_clean_files 2886 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"1953 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2887 1954 # Try to create an executable without -o first, disregard a.out. 2888 1955 # It will help us diagnose broken compilers, and finding out an intuition 2889 1956 # of exeext. 2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2891 $as_echo_n "checking whether the C compiler works... " >&6; } 2892 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2893 2894 # The possible output files: 2895 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2896 2897 ac_rmfiles= 2898 for ac_file in $ac_files 2899 do 2900 case $ac_file in 2901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2902 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2903 esac 2904 done 2905 rm -f $ac_rmfiles 2906 2907 if { { ac_try="$ac_link_default" 2908 case "(($ac_try" in 2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2910 *) ac_try_echo=$ac_try;; 2911 esac 2912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2913 $as_echo "$ac_try_echo"; } >&5 2914 (eval "$ac_link_default") 2>&5 2915 ac_status=$? 2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2917 test $ac_status = 0; }; then : 2918 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2919 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2920 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2921 # so that the user can short-circuit this test for compilers unknown to 2922 # Autoconf. 2923 for ac_file in $ac_files '' 1957 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1958 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1959 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1960 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1961 (eval $ac_link_default) 2>&5 1962 ac_status=$? 1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1964 (exit $ac_status); }; then 1965 # Find the output, starting from the most likely. This scheme is 1966 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1967 # resort. 1968 1969 # Be careful to initialize this variable, since it used to be cached. 1970 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1971 ac_cv_exeext= 1972 # b.out is created by i960 compilers. 1973 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2924 1974 do 2925 1975 test -f "$ac_file" || continue 2926 1976 case $ac_file in 2927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1978 ;; 1979 conftest.$ac_ext ) 1980 # This is the source file. 2928 1981 ;; 2929 1982 [ab].out ) … … 2932 1985 break;; 2933 1986 *.* ) 2934 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2935 then :; else 2936 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2937 fi 2938 # We set ac_cv_exeext here because the later test for it is not 2939 # safe: cross compilers may not add the suffix if given an `-o' 2940 # argument, so we may need to know it at that point already. 2941 # Even if this section looks crufty: it has the advantage of 2942 # actually working. 1987 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1988 # FIXME: I believe we export ac_cv_exeext for Libtool, 1989 # but it would be cool to find out if it's true. Does anybody 1990 # maintain Libtool? --akim. 1991 export ac_cv_exeext 2943 1992 break;; 2944 1993 * ) … … 2946 1995 esac 2947 1996 done 2948 test "$ac_cv_exeext" = no && ac_cv_exeext= 2949 2950 else 2951 ac_file='' 2952 fi 2953 if test -z "$ac_file"; then : 2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2955 $as_echo "no" >&6; } 2956 $as_echo "$as_me: failed program was:" >&5 1997 else 1998 echo "$as_me: failed program was:" >&5 2957 1999 sed 's/^/| /' conftest.$ac_ext >&5 2958 2000 2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2961 as_fn_error 77 "C compiler cannot create executables 2962 See \`config.log' for more details" "$LINENO" 5 ; } 2963 else 2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2965 $as_echo "yes" >&6; } 2966 fi 2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2968 $as_echo_n "checking for C compiler default output file name... " >&6; } 2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2970 $as_echo "$ac_file" >&6; } 2001 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2002 See \`config.log' for more details." >&5 2003 echo "$as_me: error: C compiler cannot create executables 2004 See \`config.log' for more details." >&2;} 2005 { (exit 77); exit 77; }; } 2006 fi 2007 2971 2008 ac_exeext=$ac_cv_exeext 2972 2973 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2009 echo "$as_me:$LINENO: result: $ac_file" >&5 2010 echo "${ECHO_T}$ac_file" >&6 2011 2012 # Check the compiler produces executables we can run. If not, either 2013 # the compiler is broken, or we cross compile. 2014 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2015 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2016 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2017 # If not cross compiling, check that we can run a simple program. 2018 if test "$cross_compiling" != yes; then 2019 if { ac_try='./$ac_file' 2020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2021 (eval $ac_try) 2>&5 2022 ac_status=$? 2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2024 (exit $ac_status); }; }; then 2025 cross_compiling=no 2026 else 2027 if test "$cross_compiling" = maybe; then 2028 cross_compiling=yes 2029 else 2030 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2031 If you meant to cross compile, use \`--host'. 2032 See \`config.log' for more details." >&5 2033 echo "$as_me: error: cannot run C compiled programs. 2034 If you meant to cross compile, use \`--host'. 2035 See \`config.log' for more details." >&2;} 2036 { (exit 1); exit 1; }; } 2037 fi 2038 fi 2039 fi 2040 echo "$as_me:$LINENO: result: yes" >&5 2041 echo "${ECHO_T}yes" >&6 2042 2043 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2974 2044 ac_clean_files=$ac_clean_files_save 2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2976 $as_echo_n "checking for suffix of executables... " >&6; } 2977 if { { ac_try="$ac_link" 2978 case "(($ac_try" in 2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2980 *) ac_try_echo=$ac_try;; 2981 esac 2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2983 $as_echo "$ac_try_echo"; } >&5 2984 (eval "$ac_link") 2>&5 2985 ac_status=$? 2986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2987 test $ac_status = 0; }; then : 2045 # Check the compiler produces executables we can run. If not, either 2046 # the compiler is broken, or we cross compile. 2047 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2048 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2049 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2050 echo "${ECHO_T}$cross_compiling" >&6 2051 2052 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2053 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2055 (eval $ac_link) 2>&5 2056 ac_status=$? 2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2058 (exit $ac_status); }; then 2988 2059 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2989 2060 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2993 2064 test -f "$ac_file" || continue 2994 2065 case $ac_file in 2995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. map | *.inf | *.dSYM | *.o | *.obj ) ;;2066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2996 2067 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2068 export ac_cv_exeext 2997 2069 break;; 2998 2070 * ) break;; … … 3000 2072 done 3001 2073 else 3002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3004 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3005 See \`config.log' for more details" "$LINENO" 5 ; } 3006 fi 3007 rm -f conftest conftest$ac_cv_exeext 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3009 $as_echo "$ac_cv_exeext" >&6; } 2074 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2075 See \`config.log' for more details." >&5 2076 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2077 See \`config.log' for more details." >&2;} 2078 { (exit 1); exit 1; }; } 2079 fi 2080 2081 rm -f conftest$ac_cv_exeext 2082 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2083 echo "${ECHO_T}$ac_cv_exeext" >&6 3010 2084 3011 2085 rm -f conftest.$ac_ext 3012 2086 EXEEXT=$ac_cv_exeext 3013 2087 ac_exeext=$EXEEXT 3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2088 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2089 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2090 if test "${ac_cv_objext+set}" = set; then 2091 echo $ECHO_N "(cached) $ECHO_C" >&6 2092 else 2093 cat >conftest.$ac_ext <<_ACEOF 2094 /* confdefs.h. */ 2095 _ACEOF 2096 cat confdefs.h >>conftest.$ac_ext 2097 cat >>conftest.$ac_ext <<_ACEOF 3015 2098 /* end confdefs.h. */ 3016 #include <stdio.h> 2099 3017 2100 int 3018 2101 main () 3019 2102 { 3020 FILE *f = fopen ("conftest.out", "w");3021 return ferror (f) || fclose (f) != 0;3022 2103 3023 2104 ; … … 3025 2106 } 3026 2107 _ACEOF 3027 ac_clean_files="$ac_clean_files conftest.out"3028 # Check that the compiler produces executables we can run. If not, either3029 # the compiler is broken, or we cross compile.3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&53031 $as_echo_n "checking whether we are cross compiling... " >&6; }3032 if test "$cross_compiling" != yes; then3033 { { ac_try="$ac_link"3034 case "(($ac_try" in3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3036 *) ac_try_echo=$ac_try;;3037 esac3038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3039 $as_echo "$ac_try_echo"; } >&53040 (eval "$ac_link") 2>&53041 ac_status=$?3042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53043 test $ac_status = 0; }3044 if { ac_try='./conftest$ac_cv_exeext'3045 { { case "(($ac_try" in3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3047 *) ac_try_echo=$ac_try;;3048 esac3049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3050 $as_echo "$ac_try_echo"; } >&53051 (eval "$ac_try") 2>&53052 ac_status=$?3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53054 test $ac_status = 0; }; }; then3055 cross_compiling=no3056 else3057 if test "$cross_compiling" = maybe; then3058 cross_compiling=yes3059 else3060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3062 as_fn_error $? "cannot run C compiled programs.3063 If you meant to cross compile, use \`--host'.3064 See \`config.log' for more details" "$LINENO" 5 ; }3065 fi3066 fi3067 fi3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&53069 $as_echo "$cross_compiling" >&6; }3070 3071 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out3072 ac_clean_files=$ac_clean_files_save3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&53074 $as_echo_n "checking for suffix of object files... " >&6; }3075 if test "${ac_cv_objext+set}" = set; then :3076 $as_echo_n "(cached) " >&63077 else3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3079 /* end confdefs.h. */3080 3081 int3082 main ()3083 {3084 3085 ;3086 return 0;3087 }3088 _ACEOF3089 2108 rm -f conftest.o conftest.obj 3090 if { { ac_try="$ac_compile" 3091 case "(($ac_try" in 3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3093 *) ac_try_echo=$ac_try;; 3094 esac 3095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3096 $as_echo "$ac_try_echo"; } >&5 3097 (eval "$ac_compile") 2>&5 3098 ac_status=$? 3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3100 test $ac_status = 0; }; then : 3101 for ac_file in conftest.o conftest.obj conftest.*; do 3102 test -f "$ac_file" || continue; 2109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2110 (eval $ac_compile) 2>&5 2111 ac_status=$? 2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2113 (exit $ac_status); }; then 2114 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3103 2115 case $ac_file in 3104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 3105 2117 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3106 2118 break;; … … 3108 2120 done 3109 2121 else 3110 $as_echo "$as_me: failed program was:" >&52122 echo "$as_me: failed program was:" >&5 3111 2123 sed 's/^/| /' conftest.$ac_ext >&5 3112 2124 3113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3115 as_fn_error $? "cannot compute suffix of object files: cannot compile 3116 See \`config.log' for more details" "$LINENO" 5 ; } 3117 fi 2125 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2126 See \`config.log' for more details." >&5 2127 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2128 See \`config.log' for more details." >&2;} 2129 { (exit 1); exit 1; }; } 2130 fi 2131 3118 2132 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3119 2133 fi 3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&53121 $as_echo "$ac_cv_objext" >&6; } 2134 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2135 echo "${ECHO_T}$ac_cv_objext" >&6 3122 2136 OBJEXT=$ac_cv_objext 3123 2137 ac_objext=$OBJEXT 3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3125 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3126 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3127 $as_echo_n "(cached) " >&6 3128 else 3129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2138 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2139 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2140 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2141 echo $ECHO_N "(cached) $ECHO_C" >&6 2142 else 2143 cat >conftest.$ac_ext <<_ACEOF 2144 /* confdefs.h. */ 2145 _ACEOF 2146 cat confdefs.h >>conftest.$ac_ext 2147 cat >>conftest.$ac_ext <<_ACEOF 3130 2148 /* end confdefs.h. */ 3131 2149 … … 3141 2159 } 3142 2160 _ACEOF 3143 if ac_fn_c_try_compile "$LINENO"; then : 2161 rm -f conftest.$ac_objext 2162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2163 (eval $ac_compile) 2>conftest.er1 2164 ac_status=$? 2165 grep -v '^ *+' conftest.er1 >conftest.err 2166 rm -f conftest.er1 2167 cat conftest.err >&5 2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2169 (exit $ac_status); } && 2170 { ac_try='test -z "$ac_c_werror_flag" 2171 || test ! -s conftest.err' 2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2173 (eval $ac_try) 2>&5 2174 ac_status=$? 2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2176 (exit $ac_status); }; } && 2177 { ac_try='test -s conftest.$ac_objext' 2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2179 (eval $ac_try) 2>&5 2180 ac_status=$? 2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2182 (exit $ac_status); }; }; then 3144 2183 ac_compiler_gnu=yes 3145 2184 else 3146 ac_compiler_gnu=no 3147 fi 3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2185 echo "$as_me: failed program was:" >&5 2186 sed 's/^/| /' conftest.$ac_ext >&5 2187 2188 ac_compiler_gnu=no 2189 fi 2190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3149 2191 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3150 2192 3151 2193 fi 3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3153 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3154 if test $ac_compiler_gnu = yes; then 3155 GCC=yes 3156 else 3157 GCC= 3158 fi 2194 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2195 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2196 GCC=`test $ac_compiler_gnu = yes && echo yes` 3159 2197 ac_test_CFLAGS=${CFLAGS+set} 3160 2198 ac_save_CFLAGS=$CFLAGS 3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3162 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3163 if test "${ac_cv_prog_cc_g+set}" = set; then : 3164 $as_echo_n "(cached) " >&6 3165 else 3166 ac_save_c_werror_flag=$ac_c_werror_flag 3167 ac_c_werror_flag=yes 3168 ac_cv_prog_cc_g=no 3169 CFLAGS="-g" 3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2199 CFLAGS="-g" 2200 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2201 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2202 if test "${ac_cv_prog_cc_g+set}" = set; then 2203 echo $ECHO_N "(cached) $ECHO_C" >&6 2204 else 2205 cat >conftest.$ac_ext <<_ACEOF 2206 /* confdefs.h. */ 2207 _ACEOF 2208 cat confdefs.h >>conftest.$ac_ext 2209 cat >>conftest.$ac_ext <<_ACEOF 3171 2210 /* end confdefs.h. */ 3172 2211 … … 3179 2218 } 3180 2219 _ACEOF 3181 if ac_fn_c_try_compile "$LINENO"; then : 2220 rm -f conftest.$ac_objext 2221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2222 (eval $ac_compile) 2>conftest.er1 2223 ac_status=$? 2224 grep -v '^ *+' conftest.er1 >conftest.err 2225 rm -f conftest.er1 2226 cat conftest.err >&5 2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2228 (exit $ac_status); } && 2229 { ac_try='test -z "$ac_c_werror_flag" 2230 || test ! -s conftest.err' 2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2232 (eval $ac_try) 2>&5 2233 ac_status=$? 2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2235 (exit $ac_status); }; } && 2236 { ac_try='test -s conftest.$ac_objext' 2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2238 (eval $ac_try) 2>&5 2239 ac_status=$? 2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2241 (exit $ac_status); }; }; then 3182 2242 ac_cv_prog_cc_g=yes 3183 2243 else 3184 CFLAGS="" 3185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3186 /* end confdefs.h. */ 3187 3188 int 3189 main () 3190 { 3191 3192 ; 3193 return 0; 3194 } 3195 _ACEOF 3196 if ac_fn_c_try_compile "$LINENO"; then : 3197 3198 else 3199 ac_c_werror_flag=$ac_save_c_werror_flag 3200 CFLAGS="-g" 3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3202 /* end confdefs.h. */ 3203 3204 int 3205 main () 3206 { 3207 3208 ; 3209 return 0; 3210 } 3211 _ACEOF 3212 if ac_fn_c_try_compile "$LINENO"; then : 3213 ac_cv_prog_cc_g=yes 3214 fi 3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3216 fi 3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3218 fi 3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3220 ac_c_werror_flag=$ac_save_c_werror_flag 3221 fi 3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3223 $as_echo "$ac_cv_prog_cc_g" >&6; } 2244 echo "$as_me: failed program was:" >&5 2245 sed 's/^/| /' conftest.$ac_ext >&5 2246 2247 ac_cv_prog_cc_g=no 2248 fi 2249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2250 fi 2251 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2252 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3224 2253 if test "$ac_test_CFLAGS" = set; then 3225 2254 CFLAGS=$ac_save_CFLAGS … … 3237 2266 fi 3238 2267 fi 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53240 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3241 if test "${ac_cv_prog_cc_ c89+set}" = set; then :3242 $as_echo_n "(cached)" >&63243 else 3244 ac_cv_prog_cc_ c89=no2268 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2269 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2270 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2271 echo $ECHO_N "(cached) $ECHO_C" >&6 2272 else 2273 ac_cv_prog_cc_stdc=no 3245 2274 ac_save_CC=$CC 3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2275 cat >conftest.$ac_ext <<_ACEOF 2276 /* confdefs.h. */ 2277 _ACEOF 2278 cat confdefs.h >>conftest.$ac_ext 2279 cat >>conftest.$ac_ext <<_ACEOF 3247 2280 /* end confdefs.h. */ 3248 2281 #include <stdarg.h> … … 3272 2305 function prototypes and stuff, but not '\xHH' hex character constants. 3273 2306 These don't provoke an error unfortunately, instead are silently treated 3274 as 'x'. The following induces an error, until -std is added to get2307 as 'x'. The following induces an error, until -std1 is added to get 3275 2308 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3276 2309 array size at least. It's necessary to write '\x00'==0 to get something 3277 that's true only with -std . */2310 that's true only with -std1. */ 3278 2311 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3279 3280 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters3281 inside strings and character constants. */3282 #define FOO(x) 'x'3283 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];3284 2312 3285 2313 int test (int i, double x); … … 3297 2325 } 3298 2326 _ACEOF 3299 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3300 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2327 # Don't try gcc -ansi; that turns off useful extensions and 2328 # breaks some systems' header files. 2329 # AIX -qlanglvl=ansi 2330 # Ultrix and OSF/1 -std1 2331 # HP-UX 10.20 and later -Ae 2332 # HP-UX older versions -Aa -D_HPUX_SOURCE 2333 # SVR4 -Xc -D__EXTENSIONS__ 2334 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3301 2335 do 3302 2336 CC="$ac_save_CC $ac_arg" 3303 if ac_fn_c_try_compile "$LINENO"; then : 3304 ac_cv_prog_cc_c89=$ac_arg 3305 fi 3306 rm -f core conftest.err conftest.$ac_objext 3307 test "x$ac_cv_prog_cc_c89" != "xno" && break 2337 rm -f conftest.$ac_objext 2338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2339 (eval $ac_compile) 2>conftest.er1 2340 ac_status=$? 2341 grep -v '^ *+' conftest.er1 >conftest.err 2342 rm -f conftest.er1 2343 cat conftest.err >&5 2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2345 (exit $ac_status); } && 2346 { ac_try='test -z "$ac_c_werror_flag" 2347 || test ! -s conftest.err' 2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2349 (eval $ac_try) 2>&5 2350 ac_status=$? 2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2352 (exit $ac_status); }; } && 2353 { ac_try='test -s conftest.$ac_objext' 2354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2355 (eval $ac_try) 2>&5 2356 ac_status=$? 2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2358 (exit $ac_status); }; }; then 2359 ac_cv_prog_cc_stdc=$ac_arg 2360 break 2361 else 2362 echo "$as_me: failed program was:" >&5 2363 sed 's/^/| /' conftest.$ac_ext >&5 2364 2365 fi 2366 rm -f conftest.err conftest.$ac_objext 3308 2367 done 3309 rm -f conftest.$ac_ext 2368 rm -f conftest.$ac_ext conftest.$ac_objext 3310 2369 CC=$ac_save_CC 3311 2370 3312 2371 fi 3313 # AC_CACHE_VAL 3314 case "x$ac_cv_prog_cc_c89" in 3315 x) 3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3317 $as_echo "none needed" >&6; } ;; 3318 xno) 3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3320 $as_echo "unsupported" >&6; } ;; 2372 2373 case "x$ac_cv_prog_cc_stdc" in 2374 x|xno) 2375 echo "$as_me:$LINENO: result: none needed" >&5 2376 echo "${ECHO_T}none needed" >&6 ;; 3321 2377 *) 3322 CC="$CC $ac_cv_prog_cc_c89"3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3324 $as_echo "$ac_cv_prog_cc_c89" >&6; };;2378 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2379 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2380 CC="$CC $ac_cv_prog_cc_stdc" ;; 3325 2381 esac 3326 if test "x$ac_cv_prog_cc_c89" != xno; then : 3327 3328 fi 3329 2382 2383 # Some people use a C++ compiler to compile C. Since we use `exit', 2384 # in C++ we need to declare it. In case someone uses the same compiler 2385 # for both compiling C and C++ we need to have the C++ compiler decide 2386 # the declaration of exit, since it's the most demanding environment. 2387 cat >conftest.$ac_ext <<_ACEOF 2388 #ifndef __cplusplus 2389 choke me 2390 #endif 2391 _ACEOF 2392 rm -f conftest.$ac_objext 2393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2394 (eval $ac_compile) 2>conftest.er1 2395 ac_status=$? 2396 grep -v '^ *+' conftest.er1 >conftest.err 2397 rm -f conftest.er1 2398 cat conftest.err >&5 2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2400 (exit $ac_status); } && 2401 { ac_try='test -z "$ac_c_werror_flag" 2402 || test ! -s conftest.err' 2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2404 (eval $ac_try) 2>&5 2405 ac_status=$? 2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2407 (exit $ac_status); }; } && 2408 { ac_try='test -s conftest.$ac_objext' 2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2410 (eval $ac_try) 2>&5 2411 ac_status=$? 2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2413 (exit $ac_status); }; }; then 2414 for ac_declaration in \ 2415 '' \ 2416 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2417 'extern "C" void std::exit (int); using std::exit;' \ 2418 'extern "C" void exit (int) throw ();' \ 2419 'extern "C" void exit (int);' \ 2420 'void exit (int);' 2421 do 2422 cat >conftest.$ac_ext <<_ACEOF 2423 /* confdefs.h. */ 2424 _ACEOF 2425 cat confdefs.h >>conftest.$ac_ext 2426 cat >>conftest.$ac_ext <<_ACEOF 2427 /* end confdefs.h. */ 2428 $ac_declaration 2429 #include <stdlib.h> 2430 int 2431 main () 2432 { 2433 exit (42); 2434 ; 2435 return 0; 2436 } 2437 _ACEOF 2438 rm -f conftest.$ac_objext 2439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2440 (eval $ac_compile) 2>conftest.er1 2441 ac_status=$? 2442 grep -v '^ *+' conftest.er1 >conftest.err 2443 rm -f conftest.er1 2444 cat conftest.err >&5 2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2446 (exit $ac_status); } && 2447 { ac_try='test -z "$ac_c_werror_flag" 2448 || test ! -s conftest.err' 2449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2450 (eval $ac_try) 2>&5 2451 ac_status=$? 2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2453 (exit $ac_status); }; } && 2454 { ac_try='test -s conftest.$ac_objext' 2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2456 (eval $ac_try) 2>&5 2457 ac_status=$? 2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2459 (exit $ac_status); }; }; then 2460 : 2461 else 2462 echo "$as_me: failed program was:" >&5 2463 sed 's/^/| /' conftest.$ac_ext >&5 2464 2465 continue 2466 fi 2467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2468 cat >conftest.$ac_ext <<_ACEOF 2469 /* confdefs.h. */ 2470 _ACEOF 2471 cat confdefs.h >>conftest.$ac_ext 2472 cat >>conftest.$ac_ext <<_ACEOF 2473 /* end confdefs.h. */ 2474 $ac_declaration 2475 int 2476 main () 2477 { 2478 exit (42); 2479 ; 2480 return 0; 2481 } 2482 _ACEOF 2483 rm -f conftest.$ac_objext 2484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2485 (eval $ac_compile) 2>conftest.er1 2486 ac_status=$? 2487 grep -v '^ *+' conftest.er1 >conftest.err 2488 rm -f conftest.er1 2489 cat conftest.err >&5 2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2491 (exit $ac_status); } && 2492 { ac_try='test -z "$ac_c_werror_flag" 2493 || test ! -s conftest.err' 2494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2495 (eval $ac_try) 2>&5 2496 ac_status=$? 2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2498 (exit $ac_status); }; } && 2499 { ac_try='test -s conftest.$ac_objext' 2500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2501 (eval $ac_try) 2>&5 2502 ac_status=$? 2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2504 (exit $ac_status); }; }; then 2505 break 2506 else 2507 echo "$as_me: failed program was:" >&5 2508 sed 's/^/| /' conftest.$ac_ext >&5 2509 2510 fi 2511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2512 done 2513 rm -f conftest* 2514 if test -n "$ac_declaration"; then 2515 echo '#ifdef __cplusplus' >>confdefs.h 2516 echo $ac_declaration >>confdefs.h 2517 echo '#endif' >>confdefs.h 2518 fi 2519 2520 else 2521 echo "$as_me: failed program was:" >&5 2522 sed 's/^/| /' conftest.$ac_ext >&5 2523 2524 fi 2525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3330 2526 ac_ext=c 3331 2527 ac_cpp='$CPP $CPPFLAGS' … … 3334 2530 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3335 2531 3336 ac_ext=c pp2532 ac_ext=cc 3337 2533 ac_cpp='$CXXCPP $CPPFLAGS' 3338 2534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3339 2535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3340 2536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3341 if test -z "$CXX"; then 3342 if test -n "$CCC"; then 3343 CXX=$CCC 3344 else 3345 if test -n "$ac_tool_prefix"; then 3346 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2537 if test -n "$ac_tool_prefix"; then 2538 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3347 2539 do 3348 2540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3349 2541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53351 $as_echo_n "checking for $ac_word... " >&6; } 3352 if test "${ac_cv_prog_CXX+set}" = set; then :3353 $as_echo_n "(cached)" >&62542 echo "$as_me:$LINENO: checking for $ac_word" >&5 2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2544 if test "${ac_cv_prog_CXX+set}" = set; then 2545 echo $ECHO_N "(cached) $ECHO_C" >&6 3354 2546 else 3355 2547 if test -n "$CXX"; then … … 3361 2553 IFS=$as_save_IFS 3362 2554 test -z "$as_dir" && as_dir=. 3363 3364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2555 for ac_exec_ext in '' $ac_executable_extensions; do 2556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3365 2557 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3367 2559 break 2 3368 2560 fi 3369 2561 done 3370 done 3371 IFS=$as_save_IFS 2562 done 3372 2563 3373 2564 fi … … 3375 2566 CXX=$ac_cv_prog_CXX 3376 2567 if test -n "$CXX"; then 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3378 $as_echo "$CXX" >&6; } 3379 else 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3381 $as_echo "no" >&6; } 3382 fi 3383 2568 echo "$as_me:$LINENO: result: $CXX" >&5 2569 echo "${ECHO_T}$CXX" >&6 2570 else 2571 echo "$as_me:$LINENO: result: no" >&5 2572 echo "${ECHO_T}no" >&6 2573 fi 3384 2574 3385 2575 test -n "$CXX" && break … … 3388 2578 if test -z "$CXX"; then 3389 2579 ac_ct_CXX=$CXX 3390 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC2580 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3391 2581 do 3392 2582 # Extract the first word of "$ac_prog", so it can be a program name with args. 3393 2583 set dummy $ac_prog; ac_word=$2 3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53395 $as_echo_n "checking for $ac_word... " >&6; } 3396 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3397 $as_echo_n "(cached)" >&62584 echo "$as_me:$LINENO: checking for $ac_word" >&5 2585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2586 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2587 echo $ECHO_N "(cached) $ECHO_C" >&6 3398 2588 else 3399 2589 if test -n "$ac_ct_CXX"; then … … 3405 2595 IFS=$as_save_IFS 3406 2596 test -z "$as_dir" && as_dir=. 3407 3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2597 for ac_exec_ext in '' $ac_executable_extensions; do 2598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3409 2599 ac_cv_prog_ac_ct_CXX="$ac_prog" 3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3411 2601 break 2 3412 2602 fi 3413 2603 done 3414 done 3415 IFS=$as_save_IFS 2604 done 3416 2605 3417 2606 fi … … 3419 2608 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3420 2609 if test -n "$ac_ct_CXX"; then 3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3422 $as_echo "$ac_ct_CXX" >&6; } 3423 else 3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3425 $as_echo "no" >&6; } 3426 fi 3427 2610 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2611 echo "${ECHO_T}$ac_ct_CXX" >&6 2612 else 2613 echo "$as_me:$LINENO: result: no" >&5 2614 echo "${ECHO_T}no" >&6 2615 fi 3428 2616 3429 2617 test -n "$ac_ct_CXX" && break 3430 2618 done 3431 3432 if test "x$ac_ct_CXX" = x; then 3433 CXX="g++" 3434 else 3435 case $cross_compiling:$ac_tool_warned in 3436 yes:) 3437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3439 ac_tool_warned=yes ;; 3440 esac 3441 CXX=$ac_ct_CXX 3442 fi 3443 fi 3444 3445 fi 3446 fi 2619 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2620 2621 CXX=$ac_ct_CXX 2622 fi 2623 2624 3447 2625 # Provide some information about the compiler. 3448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3449 set X $ac_compile 3450 ac_compiler=$2 3451 for ac_option in --version -v -V -qversion; do 3452 { { ac_try="$ac_compiler $ac_option >&5" 3453 case "(($ac_try" in 3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3455 *) ac_try_echo=$ac_try;; 3456 esac 3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3458 $as_echo "$ac_try_echo"; } >&5 3459 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3460 ac_status=$? 3461 if test -s conftest.err; then 3462 sed '10a\ 3463 ... rest of stderr output deleted ... 3464 10q' conftest.err >conftest.er1 3465 cat conftest.er1 >&5 3466 fi 3467 rm -f conftest.er1 conftest.err 3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3469 test $ac_status = 0; } 3470 done 3471 3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3473 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3474 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3475 $as_echo_n "(cached) " >&6 3476 else 3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2626 echo "$as_me:$LINENO:" \ 2627 "checking for C++ compiler version" >&5 2628 ac_compiler=`set X $ac_compile; echo $2` 2629 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2630 (eval $ac_compiler --version </dev/null >&5) 2>&5 2631 ac_status=$? 2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2633 (exit $ac_status); } 2634 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2635 (eval $ac_compiler -v </dev/null >&5) 2>&5 2636 ac_status=$? 2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2638 (exit $ac_status); } 2639 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2640 (eval $ac_compiler -V </dev/null >&5) 2>&5 2641 ac_status=$? 2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); } 2644 2645 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2646 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2647 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2648 echo $ECHO_N "(cached) $ECHO_C" >&6 2649 else 2650 cat >conftest.$ac_ext <<_ACEOF 2651 /* confdefs.h. */ 2652 _ACEOF 2653 cat confdefs.h >>conftest.$ac_ext 2654 cat >>conftest.$ac_ext <<_ACEOF 3478 2655 /* end confdefs.h. */ 3479 2656 … … 3489 2666 } 3490 2667 _ACEOF 3491 if ac_fn_cxx_try_compile "$LINENO"; then : 2668 rm -f conftest.$ac_objext 2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2670 (eval $ac_compile) 2>conftest.er1 2671 ac_status=$? 2672 grep -v '^ *+' conftest.er1 >conftest.err 2673 rm -f conftest.er1 2674 cat conftest.err >&5 2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); } && 2677 { ac_try='test -z "$ac_cxx_werror_flag" 2678 || test ! -s conftest.err' 2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2680 (eval $ac_try) 2>&5 2681 ac_status=$? 2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2683 (exit $ac_status); }; } && 2684 { ac_try='test -s conftest.$ac_objext' 2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2686 (eval $ac_try) 2>&5 2687 ac_status=$? 2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2689 (exit $ac_status); }; }; then 3492 2690 ac_compiler_gnu=yes 3493 2691 else 3494 ac_compiler_gnu=no 3495 fi 3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2692 echo "$as_me: failed program was:" >&5 2693 sed 's/^/| /' conftest.$ac_ext >&5 2694 2695 ac_compiler_gnu=no 2696 fi 2697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3497 2698 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3498 2699 3499 2700 fi 3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3501 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3502 if test $ac_compiler_gnu = yes; then 3503 GXX=yes 3504 else 3505 GXX= 3506 fi 2701 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2702 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2703 GXX=`test $ac_compiler_gnu = yes && echo yes` 3507 2704 ac_test_CXXFLAGS=${CXXFLAGS+set} 3508 2705 ac_save_CXXFLAGS=$CXXFLAGS 3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3510 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3511 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3512 $as_echo_n "(cached) " >&6 3513 else 3514 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3515 ac_cxx_werror_flag=yes 3516 ac_cv_prog_cxx_g=no 3517 CXXFLAGS="-g" 3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2706 CXXFLAGS="-g" 2707 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2708 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2709 if test "${ac_cv_prog_cxx_g+set}" = set; then 2710 echo $ECHO_N "(cached) $ECHO_C" >&6 2711 else 2712 cat >conftest.$ac_ext <<_ACEOF 2713 /* confdefs.h. */ 2714 _ACEOF 2715 cat confdefs.h >>conftest.$ac_ext 2716 cat >>conftest.$ac_ext <<_ACEOF 3519 2717 /* end confdefs.h. */ 3520 2718 … … 3527 2725 } 3528 2726 _ACEOF 3529 if ac_fn_cxx_try_compile "$LINENO"; then : 2727 rm -f conftest.$ac_objext 2728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2729 (eval $ac_compile) 2>conftest.er1 2730 ac_status=$? 2731 grep -v '^ *+' conftest.er1 >conftest.err 2732 rm -f conftest.er1 2733 cat conftest.err >&5 2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2735 (exit $ac_status); } && 2736 { ac_try='test -z "$ac_cxx_werror_flag" 2737 || test ! -s conftest.err' 2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2739 (eval $ac_try) 2>&5 2740 ac_status=$? 2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2742 (exit $ac_status); }; } && 2743 { ac_try='test -s conftest.$ac_objext' 2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2745 (eval $ac_try) 2>&5 2746 ac_status=$? 2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2748 (exit $ac_status); }; }; then 3530 2749 ac_cv_prog_cxx_g=yes 3531 2750 else 3532 CXXFLAGS="" 3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3534 /* end confdefs.h. */ 3535 3536 int 3537 main () 3538 { 3539 3540 ; 3541 return 0; 3542 } 3543 _ACEOF 3544 if ac_fn_cxx_try_compile "$LINENO"; then : 3545 3546 else 3547 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3548 CXXFLAGS="-g" 3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3550 /* end confdefs.h. */ 3551 3552 int 3553 main () 3554 { 3555 3556 ; 3557 return 0; 3558 } 3559 _ACEOF 3560 if ac_fn_cxx_try_compile "$LINENO"; then : 3561 ac_cv_prog_cxx_g=yes 3562 fi 3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3564 fi 3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3566 fi 3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3568 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3569 fi 3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3571 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2751 echo "$as_me: failed program was:" >&5 2752 sed 's/^/| /' conftest.$ac_ext >&5 2753 2754 ac_cv_prog_cxx_g=no 2755 fi 2756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2757 fi 2758 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2759 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3572 2760 if test "$ac_test_CXXFLAGS" = set; then 3573 2761 CXXFLAGS=$ac_save_CXXFLAGS … … 3585 2773 fi 3586 2774 fi 2775 for ac_declaration in \ 2776 '' \ 2777 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2778 'extern "C" void std::exit (int); using std::exit;' \ 2779 'extern "C" void exit (int) throw ();' \ 2780 'extern "C" void exit (int);' \ 2781 'void exit (int);' 2782 do 2783 cat >conftest.$ac_ext <<_ACEOF 2784 /* confdefs.h. */ 2785 _ACEOF 2786 cat confdefs.h >>conftest.$ac_ext 2787 cat >>conftest.$ac_ext <<_ACEOF 2788 /* end confdefs.h. */ 2789 $ac_declaration 2790 #include <stdlib.h> 2791 int 2792 main () 2793 { 2794 exit (42); 2795 ; 2796 return 0; 2797 } 2798 _ACEOF 2799 rm -f conftest.$ac_objext 2800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2801 (eval $ac_compile) 2>conftest.er1 2802 ac_status=$? 2803 grep -v '^ *+' conftest.er1 >conftest.err 2804 rm -f conftest.er1 2805 cat conftest.err >&5 2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2807 (exit $ac_status); } && 2808 { ac_try='test -z "$ac_cxx_werror_flag" 2809 || test ! -s conftest.err' 2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2811 (eval $ac_try) 2>&5 2812 ac_status=$? 2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2814 (exit $ac_status); }; } && 2815 { ac_try='test -s conftest.$ac_objext' 2816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2817 (eval $ac_try) 2>&5 2818 ac_status=$? 2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2820 (exit $ac_status); }; }; then 2821 : 2822 else 2823 echo "$as_me: failed program was:" >&5 2824 sed 's/^/| /' conftest.$ac_ext >&5 2825 2826 continue 2827 fi 2828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2829 cat >conftest.$ac_ext <<_ACEOF 2830 /* confdefs.h. */ 2831 _ACEOF 2832 cat confdefs.h >>conftest.$ac_ext 2833 cat >>conftest.$ac_ext <<_ACEOF 2834 /* end confdefs.h. */ 2835 $ac_declaration 2836 int 2837 main () 2838 { 2839 exit (42); 2840 ; 2841 return 0; 2842 } 2843 _ACEOF 2844 rm -f conftest.$ac_objext 2845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2846 (eval $ac_compile) 2>conftest.er1 2847 ac_status=$? 2848 grep -v '^ *+' conftest.er1 >conftest.err 2849 rm -f conftest.er1 2850 cat conftest.err >&5 2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2852 (exit $ac_status); } && 2853 { ac_try='test -z "$ac_cxx_werror_flag" 2854 || test ! -s conftest.err' 2855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2856 (eval $ac_try) 2>&5 2857 ac_status=$? 2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2859 (exit $ac_status); }; } && 2860 { ac_try='test -s conftest.$ac_objext' 2861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2862 (eval $ac_try) 2>&5 2863 ac_status=$? 2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2865 (exit $ac_status); }; }; then 2866 break 2867 else 2868 echo "$as_me: failed program was:" >&5 2869 sed 's/^/| /' conftest.$ac_ext >&5 2870 2871 fi 2872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2873 done 2874 rm -f conftest* 2875 if test -n "$ac_declaration"; then 2876 echo '#ifdef __cplusplus' >>confdefs.h 2877 echo $ac_declaration >>confdefs.h 2878 echo '#endif' >>confdefs.h 2879 fi 2880 3587 2881 ac_ext=c 3588 2882 ac_cpp='$CPP $CPPFLAGS' … … 3600 2894 # Extract the first word of "$ac_prog", so it can be a program name with args. 3601 2895 set dummy $ac_prog; ac_word=$2 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53603 $as_echo_n "checking for $ac_word... " >&6; } 3604 if test "${ac_cv_prog_JAVAC+set}" = set; then :3605 $as_echo_n "(cached)" >&62896 echo "$as_me:$LINENO: checking for $ac_word" >&5 2897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2898 if test "${ac_cv_prog_JAVAC+set}" = set; then 2899 echo $ECHO_N "(cached) $ECHO_C" >&6 3606 2900 else 3607 2901 if test -n "$JAVAC"; then … … 3613 2907 IFS=$as_save_IFS 3614 2908 test -z "$as_dir" && as_dir=. 3615 3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2909 for ac_exec_ext in '' $ac_executable_extensions; do 2910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3617 2911 ac_cv_prog_JAVAC="$ac_prog" 3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3619 2913 break 2 3620 2914 fi 3621 2915 done 3622 done 3623 IFS=$as_save_IFS 2916 done 3624 2917 3625 2918 fi … … 3627 2920 JAVAC=$ac_cv_prog_JAVAC 3628 2921 if test -n "$JAVAC"; then 3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3630 $as_echo "$JAVAC" >&6; } 3631 else 3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3633 $as_echo "no" >&6; } 3634 fi 3635 2922 echo "$as_me:$LINENO: result: $JAVAC" >&5 2923 echo "${ECHO_T}$JAVAC" >&6 2924 else 2925 echo "$as_me:$LINENO: result: no" >&5 2926 echo "${ECHO_T}no" >&6 2927 fi 3636 2928 3637 2929 test -n "$JAVAC" && break … … 3643 2935 # Extract the first word of "$ac_prog", so it can be a program name with args. 3644 2936 set dummy $ac_prog; ac_word=$2 3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53646 $as_echo_n "checking for $ac_word... " >&6; } 3647 if test "${ac_cv_prog_JAVAC+set}" = set; then :3648 $as_echo_n "(cached)" >&62937 echo "$as_me:$LINENO: checking for $ac_word" >&5 2938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2939 if test "${ac_cv_prog_JAVAC+set}" = set; then 2940 echo $ECHO_N "(cached) $ECHO_C" >&6 3649 2941 else 3650 2942 if test -n "$JAVAC"; then … … 3656 2948 IFS=$as_save_IFS 3657 2949 test -z "$as_dir" && as_dir=. 3658 3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2950 for ac_exec_ext in '' $ac_executable_extensions; do 2951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3660 2952 ac_cv_prog_JAVAC="$ac_prog" 3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3662 2954 break 2 3663 2955 fi 3664 2956 done 3665 done 3666 IFS=$as_save_IFS 2957 done 3667 2958 3668 2959 fi … … 3670 2961 JAVAC=$ac_cv_prog_JAVAC 3671 2962 if test -n "$JAVAC"; then 3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3673 $as_echo "$JAVAC" >&6; } 3674 else 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3676 $as_echo "no" >&6; } 3677 fi 3678 2963 echo "$as_me:$LINENO: result: $JAVAC" >&5 2964 echo "${ECHO_T}$JAVAC" >&6 2965 else 2966 echo "$as_me:$LINENO: result: no" >&5 2967 echo "${ECHO_T}no" >&6 2968 fi 3679 2969 3680 2970 test -n "$JAVAC" && break … … 3683 2973 3684 2974 fi 3685 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 2975 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 2976 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 2977 { (exit 1); exit 1; }; } 3686 2978 else 3687 2979 echo "Checking for javac... $JAVAC" … … 3690 2982 3691 2983 3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&53693 $as_echo_n "checking if $JAVAC works... " >&6; } 3694 if test "${ac_cv_prog_javac_works+set}" = set; then :3695 $as_echo_n "(cached)" >&62984 echo "$as_me:$LINENO: checking if $JAVAC works" >&5 2985 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 2986 if test "${ac_cv_prog_javac_works+set}" = set; then 2987 echo $ECHO_N "(cached) $ECHO_C" >&6 3696 2988 else 3697 2989 … … 3699 2991 CLASS_TEST=Test.class 3700 2992 cat << \EOF > $JAVA_TEST 3701 /* #line 3701"configure" */2993 /* #line 2993 "configure" */ 3702 2994 public class Test { 3703 2995 } 3704 2996 EOF 3705 2997 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3706 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53707 (eval $ac_try) 2>&5 3708 ac_status=$? 3709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53710 test $ac_status = 0; }; } >/dev/null 2>&1; then2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2999 (eval $ac_try) 2>&5 3000 ac_status=$? 3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3002 (exit $ac_status); }; } >/dev/null 2>&1; then 3711 3003 ac_cv_prog_javac_works=yes 3712 3004 else 3713 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3005 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3006 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3007 { (exit 1); exit 1; }; } 3714 3008 echo "configure: failed program was:" >&5 3715 3009 cat $JAVA_TEST >&5 … … 3718 3012 3719 3013 fi 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&53721 $as_echo "$ac_cv_prog_javac_works" >&6; } 3014 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3015 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3722 3016 if test "x$JAVACFLAGS" = x ; then 3723 3017 JAVACFLAGS="-source 1.4 -target 1.4" … … 3733 3027 # Extract the first word of "$ac_prog", so it can be a program name with args. 3734 3028 set dummy $ac_prog; ac_word=$2 3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53736 $as_echo_n "checking for $ac_word... " >&6; } 3737 if test "${ac_cv_prog_JAVA+set}" = set; then :3738 $as_echo_n "(cached)" >&63029 echo "$as_me:$LINENO: checking for $ac_word" >&5 3030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3031 if test "${ac_cv_prog_JAVA+set}" = set; then 3032 echo $ECHO_N "(cached) $ECHO_C" >&6 3739 3033 else 3740 3034 if test -n "$JAVA"; then … … 3746 3040 IFS=$as_save_IFS 3747 3041 test -z "$as_dir" && as_dir=. 3748 3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3042 for ac_exec_ext in '' $ac_executable_extensions; do 3043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3750 3044 ac_cv_prog_JAVA="$ac_prog" 3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3752 3046 break 2 3753 3047 fi 3754 3048 done 3755 done 3756 IFS=$as_save_IFS 3049 done 3757 3050 3758 3051 fi … … 3760 3053 JAVA=$ac_cv_prog_JAVA 3761 3054 if test -n "$JAVA"; then 3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3763 $as_echo "$JAVA" >&6; } 3764 else 3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3766 $as_echo "no" >&6; } 3767 fi 3768 3055 echo "$as_me:$LINENO: result: $JAVA" >&5 3056 echo "${ECHO_T}$JAVA" >&6 3057 else 3058 echo "$as_me:$LINENO: result: no" >&5 3059 echo "${ECHO_T}no" >&6 3060 fi 3769 3061 3770 3062 test -n "$JAVA" && break … … 3776 3068 # Extract the first word of "$ac_prog", so it can be a program name with args. 3777 3069 set dummy $ac_prog; ac_word=$2 3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53779 $as_echo_n "checking for $ac_word... " >&6; } 3780 if test "${ac_cv_prog_JAVA+set}" = set; then :3781 $as_echo_n "(cached)" >&63070 echo "$as_me:$LINENO: checking for $ac_word" >&5 3071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3072 if test "${ac_cv_prog_JAVA+set}" = set; then 3073 echo $ECHO_N "(cached) $ECHO_C" >&6 3782 3074 else 3783 3075 if test -n "$JAVA"; then … … 3789 3081 IFS=$as_save_IFS 3790 3082 test -z "$as_dir" && as_dir=. 3791 3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3083 for ac_exec_ext in '' $ac_executable_extensions; do 3084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3793 3085 ac_cv_prog_JAVA="$ac_prog" 3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3795 3087 break 2 3796 3088 fi 3797 3089 done 3798 done 3799 IFS=$as_save_IFS 3090 done 3800 3091 3801 3092 fi … … 3803 3094 JAVA=$ac_cv_prog_JAVA 3804 3095 if test -n "$JAVA"; then 3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3806 $as_echo "$JAVA" >&6; } 3807 else 3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3809 $as_echo "no" >&6; } 3810 fi 3811 3096 echo "$as_me:$LINENO: result: $JAVA" >&5 3097 echo "${ECHO_T}$JAVA" >&6 3098 else 3099 echo "$as_me:$LINENO: result: no" >&5 3100 echo "${ECHO_T}no" >&6 3101 fi 3812 3102 3813 3103 test -n "$JAVA" && break … … 3816 3106 3817 3107 fi 3818 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3108 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3109 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3110 { (exit 1); exit 1; }; } 3819 3111 fi 3820 3112 … … 3822 3114 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3823 3115 set dummy uudecode$EXEEXT; ac_word=$2 3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53825 $as_echo_n "checking for $ac_word... " >&6; } 3826 if test "${ac_cv_prog_uudecode+set}" = set; then :3827 $as_echo_n "(cached)" >&63116 echo "$as_me:$LINENO: checking for $ac_word" >&5 3117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3118 if test "${ac_cv_prog_uudecode+set}" = set; then 3119 echo $ECHO_N "(cached) $ECHO_C" >&6 3828 3120 else 3829 3121 if test -n "$uudecode"; then … … 3835 3127 IFS=$as_save_IFS 3836 3128 test -z "$as_dir" && as_dir=. 3837 3838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3129 for ac_exec_ext in '' $ac_executable_extensions; do 3130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3839 3131 ac_cv_prog_uudecode="yes" 3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3841 3133 break 2 3842 3134 fi 3843 3135 done 3844 done 3845 IFS=$as_save_IFS 3136 done 3846 3137 3847 3138 fi … … 3849 3140 uudecode=$ac_cv_prog_uudecode 3850 3141 if test -n "$uudecode"; then 3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 3852 $as_echo "$uudecode" >&6; } 3853 else 3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3855 $as_echo "no" >&6; } 3856 fi 3857 3142 echo "$as_me:$LINENO: result: $uudecode" >&5 3143 echo "${ECHO_T}$uudecode" >&6 3144 else 3145 echo "$as_me:$LINENO: result: no" >&5 3146 echo "${ECHO_T}no" >&6 3147 fi 3858 3148 3859 3149 if test x$uudecode = xyes; then 3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&53861 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3862 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :3863 $as_echo_n "(cached)" >&63150 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3151 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6 3152 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3153 echo $ECHO_N "(cached) $ECHO_C" >&6 3864 3154 else 3865 3155 … … 3878 3168 ac_cv_prog_uudecode_base64=yes 3879 3169 else 3880 echo "configure: 3 880: uudecode had trouble decoding base 64 file 'Test.uue'" >&53170 echo "configure: 3170: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3881 3171 echo "configure: failed file was:" >&5 3882 3172 cat Test.uue >&5 … … 3885 3175 rm -f Test.uue 3886 3176 fi 3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&53888 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3177 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3178 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6 3889 3179 fi 3890 3180 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3891 3181 rm -f Test.class 3892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&53893 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3182 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3183 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3894 3184 if test x$ac_cv_prog_javac_works = xno; then 3895 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3185 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3186 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3187 { (exit 1); exit 1; }; } 3896 3188 fi 3897 3189 if test x$ac_cv_prog_javac_works = x; then … … 3903 3195 # Extract the first word of "$ac_prog", so it can be a program name with args. 3904 3196 set dummy $ac_prog; ac_word=$2 3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53906 $as_echo_n "checking for $ac_word... " >&6; } 3907 if test "${ac_cv_prog_JAVAC+set}" = set; then :3908 $as_echo_n "(cached)" >&63197 echo "$as_me:$LINENO: checking for $ac_word" >&5 3198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3199 if test "${ac_cv_prog_JAVAC+set}" = set; then 3200 echo $ECHO_N "(cached) $ECHO_C" >&6 3909 3201 else 3910 3202 if test -n "$JAVAC"; then … … 3916 3208 IFS=$as_save_IFS 3917 3209 test -z "$as_dir" && as_dir=. 3918 3919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3210 for ac_exec_ext in '' $ac_executable_extensions; do 3211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3920 3212 ac_cv_prog_JAVAC="$ac_prog" 3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3922 3214 break 2 3923 3215 fi 3924 3216 done 3925 done 3926 IFS=$as_save_IFS 3217 done 3927 3218 3928 3219 fi … … 3930 3221 JAVAC=$ac_cv_prog_JAVAC 3931 3222 if test -n "$JAVAC"; then 3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3933 $as_echo "$JAVAC" >&6; } 3934 else 3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3936 $as_echo "no" >&6; } 3937 fi 3938 3223 echo "$as_me:$LINENO: result: $JAVAC" >&5 3224 echo "${ECHO_T}$JAVAC" >&6 3225 else 3226 echo "$as_me:$LINENO: result: no" >&5 3227 echo "${ECHO_T}no" >&6 3228 fi 3939 3229 3940 3230 test -n "$JAVAC" && break … … 3946 3236 # Extract the first word of "$ac_prog", so it can be a program name with args. 3947 3237 set dummy $ac_prog; ac_word=$2 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53949 $as_echo_n "checking for $ac_word... " >&6; } 3950 if test "${ac_cv_prog_JAVAC+set}" = set; then :3951 $as_echo_n "(cached)" >&63238 echo "$as_me:$LINENO: checking for $ac_word" >&5 3239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3240 if test "${ac_cv_prog_JAVAC+set}" = set; then 3241 echo $ECHO_N "(cached) $ECHO_C" >&6 3952 3242 else 3953 3243 if test -n "$JAVAC"; then … … 3959 3249 IFS=$as_save_IFS 3960 3250 test -z "$as_dir" && as_dir=. 3961 3962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3251 for ac_exec_ext in '' $ac_executable_extensions; do 3252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3963 3253 ac_cv_prog_JAVAC="$ac_prog" 3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3965 3255 break 2 3966 3256 fi 3967 3257 done 3968 done 3969 IFS=$as_save_IFS 3258 done 3970 3259 3971 3260 fi … … 3973 3262 JAVAC=$ac_cv_prog_JAVAC 3974 3263 if test -n "$JAVAC"; then 3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3976 $as_echo "$JAVAC" >&6; } 3977 else 3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3979 $as_echo "no" >&6; } 3980 fi 3981 3264 echo "$as_me:$LINENO: result: $JAVAC" >&5 3265 echo "${ECHO_T}$JAVAC" >&6 3266 else 3267 echo "$as_me:$LINENO: result: no" >&5 3268 echo "${ECHO_T}no" >&6 3269 fi 3982 3270 3983 3271 test -n "$JAVAC" && break … … 3986 3274 3987 3275 fi 3988 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3276 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3277 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3278 { (exit 1); exit 1; }; } 3989 3279 else 3990 3280 echo "Checking for javac... $JAVAC" … … 3993 3283 3994 3284 3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&53996 $as_echo_n "checking if $JAVAC works... " >&6; } 3997 if test "${ac_cv_prog_javac_works+set}" = set; then :3998 $as_echo_n "(cached)" >&63285 echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3286 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3287 if test "${ac_cv_prog_javac_works+set}" = set; then 3288 echo $ECHO_N "(cached) $ECHO_C" >&6 3999 3289 else 4000 3290 … … 4002 3292 CLASS_TEST=Test.class 4003 3293 cat << \EOF > $JAVA_TEST 4004 /* #line 4004 "configure" */3294 /* #line 3294 "configure" */ 4005 3295 public class Test { 4006 3296 } 4007 3297 EOF 4008 3298 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4009 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&54010 (eval $ac_try) 2>&5 4011 ac_status=$? 4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&54013 test $ac_status = 0; }; } >/dev/null 2>&1; then3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3300 (eval $ac_try) 2>&5 3301 ac_status=$? 3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3303 (exit $ac_status); }; } >/dev/null 2>&1; then 4014 3304 ac_cv_prog_javac_works=yes 4015 3305 else 4016 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3306 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3307 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3308 { (exit 1); exit 1; }; } 4017 3309 echo "configure: failed program was:" >&5 4018 3310 cat $JAVA_TEST >&5 … … 4021 3313 4022 3314 fi 4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&54024 $as_echo "$ac_cv_prog_javac_works" >&6; } 3315 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3316 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 4025 3317 if test "x$JAVACFLAGS" = x ; then 4026 3318 JAVACFLAGS="-source 1.4 -target 1.4" … … 4031 3323 fi 4032 3324 fi 4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&54034 $as_echo_n "checking if $JAVA works... " >&6; } 4035 if test "${ac_cv_prog_java_works+set}" = set; then :4036 $as_echo_n "(cached)" >&63325 echo "$as_me:$LINENO: checking if $JAVA works" >&5 3326 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6 3327 if test "${ac_cv_prog_java_works+set}" = set; then 3328 echo $ECHO_N "(cached) $ECHO_C" >&6 4037 3329 else 4038 3330 … … 4041 3333 TEST=Test 4042 3334 cat << \EOF > $JAVA_TEST 4043 /* [#]line 4043"configure" */3335 /* [#]line 3335 "configure" */ 4044 3336 public class Test { 4045 3337 public static void main (String args[]) { … … 4049 3341 if test x$ac_cv_prog_uudecode_base64 != xyes; then 4050 3342 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4051 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&54052 (eval $ac_try) 2>&5 4053 ac_status=$? 4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&54055 test $ac_status = 0; }; } && test -s $CLASS_TEST; then3343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3344 (eval $ac_try) 2>&5 3345 ac_status=$? 3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3347 (exit $ac_status); }; } && test -s $CLASS_TEST; then 4056 3348 : 4057 3349 else 4058 3350 echo "configure: failed program was:" >&5 4059 3351 cat $JAVA_TEST >&5 4060 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3352 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3353 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3354 { (exit 1); exit 1; }; } 4061 3355 fi 4062 3356 fi 4063 3357 if { ac_try='$JAVA $JAVAFLAGS $TEST' 4064 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&54065 (eval $ac_try) 2>&5 4066 ac_status=$? 4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&54068 test $ac_status = 0; }; } >/dev/null 2>&1; then3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3359 (eval $ac_try) 2>&5 3360 ac_status=$? 3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3362 (exit $ac_status); }; } >/dev/null 2>&1; then 4069 3363 ac_cv_prog_java_works=yes 4070 3364 else 4071 3365 echo "configure: failed program was:" >&5 4072 3366 cat $JAVA_TEST >&5 4073 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3367 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3368 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3369 { (exit 1); exit 1; }; } 4074 3370 fi 4075 3371 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 4076 3372 4077 3373 fi 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&54079 $as_echo "$ac_cv_prog_java_works" >&6; } 3374 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 3375 echo "${ECHO_T}$ac_cv_prog_java_works" >&6 4080 3376 4081 3377 … … 4086 3382 # Extract the first word of "$ac_prog", so it can be a program name with args. 4087 3383 set dummy $ac_prog; ac_word=$2 4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54089 $as_echo_n "checking for $ac_word... " >&6; } 4090 if test "${ac_cv_prog_AWK+set}" = set; then :4091 $as_echo_n "(cached)" >&63384 echo "$as_me:$LINENO: checking for $ac_word" >&5 3385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3386 if test "${ac_cv_prog_AWK+set}" = set; then 3387 echo $ECHO_N "(cached) $ECHO_C" >&6 4092 3388 else 4093 3389 if test -n "$AWK"; then … … 4099 3395 IFS=$as_save_IFS 4100 3396 test -z "$as_dir" && as_dir=. 4101 4102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3397 for ac_exec_ext in '' $ac_executable_extensions; do 3398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4103 3399 ac_cv_prog_AWK="$ac_prog" 4104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4105 3401 break 2 4106 3402 fi 4107 3403 done 4108 done 4109 IFS=$as_save_IFS 3404 done 4110 3405 4111 3406 fi … … 4113 3408 AWK=$ac_cv_prog_AWK 4114 3409 if test -n "$AWK"; then 4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4116 $as_echo "$AWK" >&6; } 4117 else 4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4119 $as_echo "no" >&6; } 4120 fi 4121 3410 echo "$as_me:$LINENO: result: $AWK" >&5 3411 echo "${ECHO_T}$AWK" >&6 3412 else 3413 echo "$as_me:$LINENO: result: no" >&5 3414 echo "${ECHO_T}no" >&6 3415 fi 4122 3416 4123 3417 test -n "$AWK" && break … … 4128 3422 # Extract the first word of "$ac_prog", so it can be a program name with args. 4129 3423 set dummy $ac_prog; ac_word=$2 4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54131 $as_echo_n "checking for $ac_word... " >&6; } 4132 if test "${ac_cv_prog_YACC+set}" = set; then :4133 $as_echo_n "(cached)" >&63424 echo "$as_me:$LINENO: checking for $ac_word" >&5 3425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3426 if test "${ac_cv_prog_YACC+set}" = set; then 3427 echo $ECHO_N "(cached) $ECHO_C" >&6 4134 3428 else 4135 3429 if test -n "$YACC"; then … … 4141 3435 IFS=$as_save_IFS 4142 3436 test -z "$as_dir" && as_dir=. 4143 4144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3437 for ac_exec_ext in '' $ac_executable_extensions; do 3438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4145 3439 ac_cv_prog_YACC="$ac_prog" 4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4147 3441 break 2 4148 3442 fi 4149 3443 done 4150 done 4151 IFS=$as_save_IFS 3444 done 4152 3445 4153 3446 fi … … 4155 3448 YACC=$ac_cv_prog_YACC 4156 3449 if test -n "$YACC"; then 4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 4158 $as_echo "$YACC" >&6; } 4159 else 4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4161 $as_echo "no" >&6; } 4162 fi 4163 3450 echo "$as_me:$LINENO: result: $YACC" >&5 3451 echo "${ECHO_T}$YACC" >&6 3452 else 3453 echo "$as_me:$LINENO: result: no" >&5 3454 echo "${ECHO_T}no" >&6 3455 fi 4164 3456 4165 3457 test -n "$YACC" && break … … 4168 3460 4169 3461 ac_aux_dir= 4170 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do4171 if test -f "$ac_dir/install-sh"; then3462 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 3463 if test -f $ac_dir/install-sh; then 4172 3464 ac_aux_dir=$ac_dir 4173 3465 ac_install_sh="$ac_aux_dir/install-sh -c" 4174 3466 break 4175 elif test -f "$ac_dir/install.sh"; then3467 elif test -f $ac_dir/install.sh; then 4176 3468 ac_aux_dir=$ac_dir 4177 3469 ac_install_sh="$ac_aux_dir/install.sh -c" 4178 3470 break 4179 elif test -f "$ac_dir/shtool"; then3471 elif test -f $ac_dir/shtool; then 4180 3472 ac_aux_dir=$ac_dir 4181 3473 ac_install_sh="$ac_aux_dir/shtool install -c" … … 4184 3476 done 4185 3477 if test -z "$ac_aux_dir"; then 4186 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 4187 fi 4188 4189 # These three variables are undocumented and unsupported, 4190 # and are intended to be withdrawn in a future Autoconf release. 4191 # They can cause serious problems if a builder's source tree is in a directory 4192 # whose full name contains unusual characters. 4193 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4194 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4195 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4196 3478 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 3479 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 3480 { (exit 1); exit 1; }; } 3481 fi 3482 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3483 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3484 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4197 3485 4198 3486 # Make sure we can run config.sub. 4199 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4200 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4201 4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4203 $as_echo_n "checking build system type... " >&6; } 4204 if test "${ac_cv_build+set}" = set; then : 4205 $as_echo_n "(cached) " >&6 4206 else 4207 ac_build_alias=$build_alias 4208 test "x$ac_build_alias" = x && 4209 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4210 test "x$ac_build_alias" = x && 4211 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4212 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4213 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4214 4215 fi 4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4217 $as_echo "$ac_cv_build" >&6; } 4218 case $ac_cv_build in 4219 *-*-*) ;; 4220 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 4221 esac 3487 $ac_config_sub sun4 >/dev/null 2>&1 || 3488 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 3489 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 3490 { (exit 1); exit 1; }; } 3491 3492 echo "$as_me:$LINENO: checking build system type" >&5 3493 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3494 if test "${ac_cv_build+set}" = set; then 3495 echo $ECHO_N "(cached) $ECHO_C" >&6 3496 else 3497 ac_cv_build_alias=$build_alias 3498 test -z "$ac_cv_build_alias" && 3499 ac_cv_build_alias=`$ac_config_guess` 3500 test -z "$ac_cv_build_alias" && 3501 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3502 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3503 { (exit 1); exit 1; }; } 3504 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 3505 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 3506 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3507 { (exit 1); exit 1; }; } 3508 3509 fi 3510 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3511 echo "${ECHO_T}$ac_cv_build" >&6 4222 3512 build=$ac_cv_build 4223 ac_save_IFS=$IFS; IFS='-' 4224 set x $ac_cv_build 4225 shift 4226 build_cpu=$1 4227 build_vendor=$2 4228 shift; shift 4229 # Remember, the first character of IFS is used to create $*, 4230 # except with old shells: 4231 build_os=$* 4232 IFS=$ac_save_IFS 4233 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4234 4235 4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4237 $as_echo_n "checking host system type... " >&6; } 4238 if test "${ac_cv_host+set}" = set; then : 4239 $as_echo_n "(cached) " >&6 4240 else 4241 if test "x$host_alias" = x; then 4242 ac_cv_host=$ac_cv_build 4243 else 4244 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4245 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4246 fi 4247 4248 fi 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4250 $as_echo "$ac_cv_host" >&6; } 4251 case $ac_cv_host in 4252 *-*-*) ;; 4253 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 4254 esac 3513 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3514 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3515 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3516 3517 3518 echo "$as_me:$LINENO: checking host system type" >&5 3519 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3520 if test "${ac_cv_host+set}" = set; then 3521 echo $ECHO_N "(cached) $ECHO_C" >&6 3522 else 3523 ac_cv_host_alias=$host_alias 3524 test -z "$ac_cv_host_alias" && 3525 ac_cv_host_alias=$ac_cv_build_alias 3526 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 3527 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 3528 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 3529 { (exit 1); exit 1; }; } 3530 3531 fi 3532 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3533 echo "${ECHO_T}$ac_cv_host" >&6 4255 3534 host=$ac_cv_host 4256 ac_save_IFS=$IFS; IFS='-' 4257 set x $ac_cv_host 4258 shift 4259 host_cpu=$1 4260 host_vendor=$2 4261 shift; shift 4262 # Remember, the first character of IFS is used to create $*, 4263 # except with old shells: 4264 host_os=$* 4265 IFS=$ac_save_IFS 4266 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4267 4268 4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 4270 $as_echo_n "checking target system type... " >&6; } 4271 if test "${ac_cv_target+set}" = set; then : 4272 $as_echo_n "(cached) " >&6 4273 else 4274 if test "x$target_alias" = x; then 4275 ac_cv_target=$ac_cv_host 4276 else 4277 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4278 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 4279 fi 4280 4281 fi 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 4283 $as_echo "$ac_cv_target" >&6; } 4284 case $ac_cv_target in 4285 *-*-*) ;; 4286 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 4287 esac 3535 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3536 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3537 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3538 3539 3540 echo "$as_me:$LINENO: checking target system type" >&5 3541 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3542 if test "${ac_cv_target+set}" = set; then 3543 echo $ECHO_N "(cached) $ECHO_C" >&6 3544 else 3545 ac_cv_target_alias=$target_alias 3546 test "x$ac_cv_target_alias" = "x" && 3547 ac_cv_target_alias=$ac_cv_host_alias 3548 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 3549 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 3550 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 3551 { (exit 1); exit 1; }; } 3552 3553 fi 3554 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3555 echo "${ECHO_T}$ac_cv_target" >&6 4288 3556 target=$ac_cv_target 4289 ac_save_IFS=$IFS; IFS='-' 4290 set x $ac_cv_target 4291 shift 4292 target_cpu=$1 4293 target_vendor=$2 4294 shift; shift 4295 # Remember, the first character of IFS is used to create $*, 4296 # except with old shells: 4297 target_os=$* 4298 IFS=$ac_save_IFS 4299 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3557 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3558 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3559 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4300 3560 4301 3561 … … 4306 3566 NONENONEs,x,x, && 4307 3567 program_prefix=${target_alias}- 4308 4309 3568 # Find a good install program. We prefer a C program (faster), 4310 3569 # so one script is as good as another. But avoid the broken or … … 4320 3579 # OS/2's system install, which has a completely different semantic 4321 3580 # ./install, which can be erroneously created by make from ./install.sh. 4322 # Reject install programs that cannot install multiple files. 4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4324 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3581 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3582 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4325 3583 if test -z "$INSTALL"; then 4326 if test "${ac_cv_path_install+set}" = set; then :4327 $as_echo_n "(cached)" >&63584 if test "${ac_cv_path_install+set}" = set; then 3585 echo $ECHO_N "(cached) $ECHO_C" >&6 4328 3586 else 4329 3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 4332 3590 IFS=$as_save_IFS 4333 3591 test -z "$as_dir" && as_dir=. 4334 4335 case $as_dir/ in #((4336 ./ | .// | / [cC]/* | \3592 # Account for people who put trailing slashes in PATH elements. 3593 case $as_dir/ in 3594 ./ | .// | /cC/* | \ 4337 3595 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4338 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \3596 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4339 3597 /usr/ucb/* ) ;; 4340 3598 *) … … 4344 3602 for ac_prog in ginstall scoinst install; do 4345 3603 for ac_exec_ext in '' $ac_executable_extensions; do 4346 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then3604 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 4347 3605 if test $ac_prog = install && 4348 3606 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 4354 3612 : 4355 3613 else 4356 rm -rf conftest.one conftest.two conftest.dir 4357 echo one > conftest.one 4358 echo two > conftest.two 4359 mkdir conftest.dir 4360 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4361 test -s conftest.one && test -s conftest.two && 4362 test -s conftest.dir/conftest.one && 4363 test -s conftest.dir/conftest.two 4364 then 4365 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4366 break 3 4367 fi 3614 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3615 break 3 4368 3616 fi 4369 3617 fi … … 4372 3620 ;; 4373 3621 esac 4374 4375 done 4376 IFS=$as_save_IFS 4377 4378 rm -rf conftest.one conftest.two conftest.dir 3622 done 3623 4379 3624 4380 3625 fi … … 4382 3627 INSTALL=$ac_cv_path_install 4383 3628 else 4384 # As a last resort, use the slow shell script. Don't cache a4385 # valuefor INSTALL within a source directory, because that will3629 # As a last resort, use the slow shell script. We don't cache a 3630 # path for INSTALL within a source directory, because that will 4386 3631 # break other packages using the cache if that directory is 4387 # removed, or if the value is a relative name.3632 # removed, or if the path is relative. 4388 3633 INSTALL=$ac_install_sh 4389 3634 fi 4390 3635 fi 4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&54392 $as_echo "$INSTALL" >&6; } 3636 echo "$as_me:$LINENO: result: $INSTALL" >&5 3637 echo "${ECHO_T}$INSTALL" >&6 4393 3638 4394 3639 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 4400 3645 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4401 3646 4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&54403 $as_echo_n "checking whether ln -s works... " >&6; } 3647 echo "$as_me:$LINENO: checking whether ln -s works" >&5 3648 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4404 3649 LN_S=$as_ln_s 4405 3650 if test "$LN_S" = "ln -s"; then 4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4407 $as_echo "yes" >&6; } 4408 else 4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4410 $as_echo "no, using $LN_S" >&6; } 4411 fi 4412 4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4414 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4415 set x ${MAKE-make} 4416 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4417 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 4418 $as_echo_n "(cached) " >&6 3651 echo "$as_me:$LINENO: result: yes" >&5 3652 echo "${ECHO_T}yes" >&6 3653 else 3654 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3655 echo "${ECHO_T}no, using $LN_S" >&6 3656 fi 3657 3658 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3659 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3660 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3661 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3662 echo $ECHO_N "(cached) $ECHO_C" >&6 4419 3663 else 4420 3664 cat >conftest.make <<\_ACEOF 4421 SHELL = /bin/sh4422 3665 all: 4423 @echo ' @@@%%%=$(MAKE)=@@@%%%'4424 _ACEOF 4425 # GNU make sometimes prints "make[1]: Entering 4426 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4427 *@@@%%%=?*=@@@%%%*) 4428 eval ac_cv_prog_make_${ac_make}_set=yes;;4429 *) 4430 eval ac_cv_prog_make_${ac_make}_set=no;;4431 esac 3666 @echo 'ac_maketemp="$(MAKE)"' 3667 _ACEOF 3668 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3669 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3670 if test -n "$ac_maketemp"; then 3671 eval ac_cv_prog_make_${ac_make}_set=yes 3672 else 3673 eval ac_cv_prog_make_${ac_make}_set=no 3674 fi 4432 3675 rm -f conftest.make 4433 3676 fi 4434 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&54436 $as_echo "yes" >&6; } 3677 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3678 echo "$as_me:$LINENO: result: yes" >&5 3679 echo "${ECHO_T}yes" >&6 4437 3680 SET_MAKE= 4438 3681 else 4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54440 $as_echo "no" >&6; } 3682 echo "$as_me:$LINENO: result: no" >&5 3683 echo "${ECHO_T}no" >&6 4441 3684 SET_MAKE="MAKE=${MAKE-make}" 4442 3685 fi … … 4445 3688 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4446 3689 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54448 $as_echo_n "checking for $ac_word... " >&6; } 4449 if test "${ac_cv_prog_RANLIB+set}" = set; then :4450 $as_echo_n "(cached)" >&63690 echo "$as_me:$LINENO: checking for $ac_word" >&5 3691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3692 if test "${ac_cv_prog_RANLIB+set}" = set; then 3693 echo $ECHO_N "(cached) $ECHO_C" >&6 4451 3694 else 4452 3695 if test -n "$RANLIB"; then … … 4458 3701 IFS=$as_save_IFS 4459 3702 test -z "$as_dir" && as_dir=. 4460 4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3703 for ac_exec_ext in '' $ac_executable_extensions; do 3704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4462 3705 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4464 3707 break 2 4465 3708 fi 4466 3709 done 4467 done 4468 IFS=$as_save_IFS 3710 done 4469 3711 4470 3712 fi … … 4472 3714 RANLIB=$ac_cv_prog_RANLIB 4473 3715 if test -n "$RANLIB"; then 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4475 $as_echo "$RANLIB" >&6; } 4476 else 4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4478 $as_echo "no" >&6; } 4479 fi 4480 3716 echo "$as_me:$LINENO: result: $RANLIB" >&5 3717 echo "${ECHO_T}$RANLIB" >&6 3718 else 3719 echo "$as_me:$LINENO: result: no" >&5 3720 echo "${ECHO_T}no" >&6 3721 fi 4481 3722 4482 3723 fi … … 4485 3726 # Extract the first word of "ranlib", so it can be a program name with args. 4486 3727 set dummy ranlib; ac_word=$2 4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54488 $as_echo_n "checking for $ac_word... " >&6; } 4489 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :4490 $as_echo_n "(cached)" >&63728 echo "$as_me:$LINENO: checking for $ac_word" >&5 3729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3730 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3731 echo $ECHO_N "(cached) $ECHO_C" >&6 4491 3732 else 4492 3733 if test -n "$ac_ct_RANLIB"; then … … 4498 3739 IFS=$as_save_IFS 4499 3740 test -z "$as_dir" && as_dir=. 4500 4501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3741 for ac_exec_ext in '' $ac_executable_extensions; do 3742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4502 3743 ac_cv_prog_ac_ct_RANLIB="ranlib" 4503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4504 3745 break 2 4505 3746 fi 4506 3747 done 4507 4508 IFS=$as_save_IFS 4509 3748 done 3749 3750 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4510 3751 fi 4511 3752 fi 4512 3753 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4513 3754 if test -n "$ac_ct_RANLIB"; then 4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4515 $as_echo "$ac_ct_RANLIB" >&6; } 4516 else 4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4518 $as_echo "no" >&6; } 4519 fi 4520 4521 if test "x$ac_ct_RANLIB" = x; then 4522 RANLIB=":" 4523 else 4524 case $cross_compiling:$ac_tool_warned in 4525 yes:) 4526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4528 ac_tool_warned=yes ;; 4529 esac 4530 RANLIB=$ac_ct_RANLIB 4531 fi 3755 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3756 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3757 else 3758 echo "$as_me:$LINENO: result: no" >&5 3759 echo "${ECHO_T}no" >&6 3760 fi 3761 3762 RANLIB=$ac_ct_RANLIB 4532 3763 else 4533 3764 RANLIB="$ac_cv_prog_RANLIB" … … 4535 3766 4536 3767 4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&54538 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3768 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3769 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4539 3770 arch_64bit=no 4540 3771 case "$host_cpu" in … … 4543 3774 4544 3775 if test "$arch_64bit" = yes; then 4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&54546 $as_echo "yes" >&6; } 3776 echo "$as_me:$LINENO: result: yes" >&5 3777 echo "${ECHO_T}yes" >&6 4547 3778 if test -z "$COMPAT32BITFLAGS" ; then 4548 3779 COMPAT32BITFLAGS="-m32" 3780 gsdlarch='64' 4549 3781 fi 4550 3782 else 4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54552 $as_echo "no" >&6; } 3783 echo "$as_me:$LINENO: result: no" >&5 3784 echo "${ECHO_T}no" >&6 4553 3785 if test -z "$COMPAT32BITFLAGS" ; then 4554 3786 COMPAT32BITFLAGS= 3787 gsdlarch='32' 4555 3788 fi 4556 3789 fi … … 4592 3825 #do test of MICO_VER 4593 3826 if test MICO_VER != 0; then 4594 $as_echo "#define MICO_VER 1" >>confdefs.h 3827 cat >>confdefs.h <<\_ACEOF 3828 #define MICO_VER 1 3829 _ACEOF 4595 3830 4596 3831 … … 4605 3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4606 3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&54608 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3842 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3843 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4609 3844 # On Suns, sometimes $CPP names a directory. 4610 3845 if test -n "$CPP" && test -d "$CPP"; then … … 4612 3847 fi 4613 3848 if test -z "$CPP"; then 4614 if test "${ac_cv_prog_CPP+set}" = set; then :4615 $as_echo_n "(cached)" >&63849 if test "${ac_cv_prog_CPP+set}" = set; then 3850 echo $ECHO_N "(cached) $ECHO_C" >&6 4616 3851 else 4617 3852 # Double quotes because CPP needs to be expanded … … 4627 3862 # On the NeXT, cc -E runs the code through the compiler's parser, 4628 3863 # not just through cpp. "Syntax error" is here to catch this case. 4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3864 cat >conftest.$ac_ext <<_ACEOF 3865 /* confdefs.h. */ 3866 _ACEOF 3867 cat confdefs.h >>conftest.$ac_ext 3868 cat >>conftest.$ac_ext <<_ACEOF 4630 3869 /* end confdefs.h. */ 4631 3870 #ifdef __STDC__ … … 4636 3875 Syntax error 4637 3876 _ACEOF 4638 if ac_fn_c_try_cpp "$LINENO"; then : 4639 4640 else 3877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3879 ac_status=$? 3880 grep -v '^ *+' conftest.er1 >conftest.err 3881 rm -f conftest.er1 3882 cat conftest.err >&5 3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3884 (exit $ac_status); } >/dev/null; then 3885 if test -s conftest.err; then 3886 ac_cpp_err=$ac_c_preproc_warn_flag 3887 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3888 else 3889 ac_cpp_err= 3890 fi 3891 else 3892 ac_cpp_err=yes 3893 fi 3894 if test -z "$ac_cpp_err"; then 3895 : 3896 else 3897 echo "$as_me: failed program was:" >&5 3898 sed 's/^/| /' conftest.$ac_ext >&5 3899 4641 3900 # Broken: fails on valid input. 4642 3901 continue 4643 3902 fi 4644 rm -f conftest.err conftest. i conftest.$ac_ext4645 4646 # OK, works on sane cases. Now check whether non existent headers3903 rm -f conftest.err conftest.$ac_ext 3904 3905 # OK, works on sane cases. Now check whether non-existent headers 4647 3906 # can be detected and how. 4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3907 cat >conftest.$ac_ext <<_ACEOF 3908 /* confdefs.h. */ 3909 _ACEOF 3910 cat confdefs.h >>conftest.$ac_ext 3911 cat >>conftest.$ac_ext <<_ACEOF 4649 3912 /* end confdefs.h. */ 4650 3913 #include <ac_nonexistent.h> 4651 3914 _ACEOF 4652 if ac_fn_c_try_cpp "$LINENO"; then : 3915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3916 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3917 ac_status=$? 3918 grep -v '^ *+' conftest.er1 >conftest.err 3919 rm -f conftest.er1 3920 cat conftest.err >&5 3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3922 (exit $ac_status); } >/dev/null; then 3923 if test -s conftest.err; then 3924 ac_cpp_err=$ac_c_preproc_warn_flag 3925 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3926 else 3927 ac_cpp_err= 3928 fi 3929 else 3930 ac_cpp_err=yes 3931 fi 3932 if test -z "$ac_cpp_err"; then 4653 3933 # Broken: success on invalid input. 4654 3934 continue 4655 3935 else 3936 echo "$as_me: failed program was:" >&5 3937 sed 's/^/| /' conftest.$ac_ext >&5 3938 4656 3939 # Passes both tests. 4657 3940 ac_preproc_ok=: 4658 3941 break 4659 3942 fi 4660 rm -f conftest.err conftest. i conftest.$ac_ext3943 rm -f conftest.err conftest.$ac_ext 4661 3944 4662 3945 done 4663 3946 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4664 rm -f conftest. i conftest.err conftest.$ac_ext4665 if $ac_preproc_ok; then :3947 rm -f conftest.err conftest.$ac_ext 3948 if $ac_preproc_ok; then 4666 3949 break 4667 3950 fi … … 4675 3958 ac_cv_prog_CPP=$CPP 4676 3959 fi 4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54678 $as_echo "$CPP" >&6; } 3960 echo "$as_me:$LINENO: result: $CPP" >&5 3961 echo "${ECHO_T}$CPP" >&6 4679 3962 ac_preproc_ok=false 4680 3963 for ac_c_preproc_warn_flag in '' yes … … 4686 3969 # On the NeXT, cc -E runs the code through the compiler's parser, 4687 3970 # not just through cpp. "Syntax error" is here to catch this case. 4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3971 cat >conftest.$ac_ext <<_ACEOF 3972 /* confdefs.h. */ 3973 _ACEOF 3974 cat confdefs.h >>conftest.$ac_ext 3975 cat >>conftest.$ac_ext <<_ACEOF 4689 3976 /* end confdefs.h. */ 4690 3977 #ifdef __STDC__ … … 4695 3982 Syntax error 4696 3983 _ACEOF 4697 if ac_fn_c_try_cpp "$LINENO"; then : 4698 4699 else 3984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3986 ac_status=$? 3987 grep -v '^ *+' conftest.er1 >conftest.err 3988 rm -f conftest.er1 3989 cat conftest.err >&5 3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3991 (exit $ac_status); } >/dev/null; then 3992 if test -s conftest.err; then 3993 ac_cpp_err=$ac_c_preproc_warn_flag 3994 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3995 else 3996 ac_cpp_err= 3997 fi 3998 else 3999 ac_cpp_err=yes 4000 fi 4001 if test -z "$ac_cpp_err"; then 4002 : 4003 else 4004 echo "$as_me: failed program was:" >&5 4005 sed 's/^/| /' conftest.$ac_ext >&5 4006 4700 4007 # Broken: fails on valid input. 4701 4008 continue 4702 4009 fi 4703 rm -f conftest.err conftest. i conftest.$ac_ext4704 4705 # OK, works on sane cases. Now check whether non existent headers4010 rm -f conftest.err conftest.$ac_ext 4011 4012 # OK, works on sane cases. Now check whether non-existent headers 4706 4013 # can be detected and how. 4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4014 cat >conftest.$ac_ext <<_ACEOF 4015 /* confdefs.h. */ 4016 _ACEOF 4017 cat confdefs.h >>conftest.$ac_ext 4018 cat >>conftest.$ac_ext <<_ACEOF 4708 4019 /* end confdefs.h. */ 4709 4020 #include <ac_nonexistent.h> 4710 4021 _ACEOF 4711 if ac_fn_c_try_cpp "$LINENO"; then : 4022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4024 ac_status=$? 4025 grep -v '^ *+' conftest.er1 >conftest.err 4026 rm -f conftest.er1 4027 cat conftest.err >&5 4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4029 (exit $ac_status); } >/dev/null; then 4030 if test -s conftest.err; then 4031 ac_cpp_err=$ac_c_preproc_warn_flag 4032 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4033 else 4034 ac_cpp_err= 4035 fi 4036 else 4037 ac_cpp_err=yes 4038 fi 4039 if test -z "$ac_cpp_err"; then 4712 4040 # Broken: success on invalid input. 4713 4041 continue 4714 4042 else 4043 echo "$as_me: failed program was:" >&5 4044 sed 's/^/| /' conftest.$ac_ext >&5 4045 4715 4046 # Passes both tests. 4716 4047 ac_preproc_ok=: 4717 4048 break 4718 4049 fi 4719 rm -f conftest.err conftest. i conftest.$ac_ext4050 rm -f conftest.err conftest.$ac_ext 4720 4051 4721 4052 done 4722 4053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4723 rm -f conftest.i conftest.err conftest.$ac_ext 4724 if $ac_preproc_ok; then : 4725 4726 else 4727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4729 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4730 See \`config.log' for more details" "$LINENO" 5 ; } 4054 rm -f conftest.err conftest.$ac_ext 4055 if $ac_preproc_ok; then 4056 : 4057 else 4058 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4059 See \`config.log' for more details." >&5 4060 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4061 See \`config.log' for more details." >&2;} 4062 { (exit 1); exit 1; }; } 4731 4063 fi 4732 4064 … … 4738 4070 4739 4071 4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4741 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4742 if test "${ac_cv_path_GREP+set}" = set; then : 4743 $as_echo_n "(cached) " >&6 4744 else 4745 if test -z "$GREP"; then 4746 ac_path_GREP_found=false 4747 # Loop through the user's path and test for each of PROGNAME-LIST 4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4749 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4750 do 4751 IFS=$as_save_IFS 4752 test -z "$as_dir" && as_dir=. 4753 for ac_prog in grep ggrep; do 4754 for ac_exec_ext in '' $ac_executable_extensions; do 4755 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4756 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4757 # Check for GNU ac_path_GREP and select it if it is found. 4758 # Check for GNU $ac_path_GREP 4759 case `"$ac_path_GREP" --version 2>&1` in 4760 *GNU*) 4761 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4762 *) 4763 ac_count=0 4764 $as_echo_n 0123456789 >"conftest.in" 4765 while : 4766 do 4767 cat "conftest.in" "conftest.in" >"conftest.tmp" 4768 mv "conftest.tmp" "conftest.in" 4769 cp "conftest.in" "conftest.nl" 4770 $as_echo 'GREP' >> "conftest.nl" 4771 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4772 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4773 as_fn_arith $ac_count + 1 && ac_count=$as_val 4774 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4775 # Best one so far, save it but keep looking for a better one 4776 ac_cv_path_GREP="$ac_path_GREP" 4777 ac_path_GREP_max=$ac_count 4072 echo "$as_me:$LINENO: checking for egrep" >&5 4073 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4074 if test "${ac_cv_prog_egrep+set}" = set; then 4075 echo $ECHO_N "(cached) $ECHO_C" >&6 4076 else 4077 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4078 then ac_cv_prog_egrep='grep -E' 4079 else ac_cv_prog_egrep='egrep' 4778 4080 fi 4779 # 10*(2^10) chars as input seems more than enough 4780 test $ac_count -gt 10 && break 4081 fi 4082 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4083 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4084 EGREP=$ac_cv_prog_egrep 4085 4086 4087 4088 echo "$as_me:$LINENO: checking for AIX" >&5 4089 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4090 cat >conftest.$ac_ext <<_ACEOF 4091 /* confdefs.h. */ 4092 _ACEOF 4093 cat confdefs.h >>conftest.$ac_ext 4094 cat >>conftest.$ac_ext <<_ACEOF 4095 /* end confdefs.h. */ 4096 #ifdef _AIX 4097 yes 4098 #endif 4099 4100 _ACEOF 4101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4102 $EGREP "yes" >/dev/null 2>&1; then 4103 echo "$as_me:$LINENO: result: yes" >&5 4104 echo "${ECHO_T}yes" >&6 4105 cat >>confdefs.h <<\_ACEOF 4106 #define _ALL_SOURCE 1 4107 _ACEOF 4108 4109 else 4110 echo "$as_me:$LINENO: result: no" >&5 4111 echo "${ECHO_T}no" >&6 4112 fi 4113 rm -f conftest* 4114 4115 4116 echo "$as_me:$LINENO: checking for library containing strerror" >&5 4117 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4118 if test "${ac_cv_search_strerror+set}" = set; then 4119 echo $ECHO_N "(cached) $ECHO_C" >&6 4120 else 4121 ac_func_search_save_LIBS=$LIBS 4122 ac_cv_search_strerror=no 4123 cat >conftest.$ac_ext <<_ACEOF 4124 /* confdefs.h. */ 4125 _ACEOF 4126 cat confdefs.h >>conftest.$ac_ext 4127 cat >>conftest.$ac_ext <<_ACEOF 4128 /* end confdefs.h. */ 4129 4130 /* Override any gcc2 internal prototype to avoid an error. */ 4131 #ifdef __cplusplus 4132 extern "C" 4133 #endif 4134 /* We use char because int might match the return type of a gcc2 4135 builtin and then its argument prototype would still apply. */ 4136 char strerror (); 4137 int 4138 main () 4139 { 4140 strerror (); 4141 ; 4142 return 0; 4143 } 4144 _ACEOF 4145 rm -f conftest.$ac_objext conftest$ac_exeext 4146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4147 (eval $ac_link) 2>conftest.er1 4148 ac_status=$? 4149 grep -v '^ *+' conftest.er1 >conftest.err 4150 rm -f conftest.er1 4151 cat conftest.err >&5 4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4153 (exit $ac_status); } && 4154 { ac_try='test -z "$ac_c_werror_flag" 4155 || test ! -s conftest.err' 4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4157 (eval $ac_try) 2>&5 4158 ac_status=$? 4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4160 (exit $ac_status); }; } && 4161 { ac_try='test -s conftest$ac_exeext' 4162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4163 (eval $ac_try) 2>&5 4164 ac_status=$? 4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4166 (exit $ac_status); }; }; then 4167 ac_cv_search_strerror="none required" 4168 else 4169 echo "$as_me: failed program was:" >&5 4170 sed 's/^/| /' conftest.$ac_ext >&5 4171 4172 fi 4173 rm -f conftest.err conftest.$ac_objext \ 4174 conftest$ac_exeext conftest.$ac_ext 4175 if test "$ac_cv_search_strerror" = no; then 4176 for ac_lib in cposix; do 4177 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4178 cat >conftest.$ac_ext <<_ACEOF 4179 /* confdefs.h. */ 4180 _ACEOF 4181 cat confdefs.h >>conftest.$ac_ext 4182 cat >>conftest.$ac_ext <<_ACEOF 4183 /* end confdefs.h. */ 4184 4185 /* Override any gcc2 internal prototype to avoid an error. */ 4186 #ifdef __cplusplus 4187 extern "C" 4188 #endif 4189 /* We use char because int might match the return type of a gcc2 4190 builtin and then its argument prototype would still apply. */ 4191 char strerror (); 4192 int 4193 main () 4194 { 4195 strerror (); 4196 ; 4197 return 0; 4198 } 4199 _ACEOF 4200 rm -f conftest.$ac_objext conftest$ac_exeext 4201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4202 (eval $ac_link) 2>conftest.er1 4203 ac_status=$? 4204 grep -v '^ *+' conftest.er1 >conftest.err 4205 rm -f conftest.er1 4206 cat conftest.err >&5 4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4208 (exit $ac_status); } && 4209 { ac_try='test -z "$ac_c_werror_flag" 4210 || test ! -s conftest.err' 4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4212 (eval $ac_try) 2>&5 4213 ac_status=$? 4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4215 (exit $ac_status); }; } && 4216 { ac_try='test -s conftest$ac_exeext' 4217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4218 (eval $ac_try) 2>&5 4219 ac_status=$? 4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4221 (exit $ac_status); }; }; then 4222 ac_cv_search_strerror="-l$ac_lib" 4223 break 4224 else 4225 echo "$as_me: failed program was:" >&5 4226 sed 's/^/| /' conftest.$ac_ext >&5 4227 4228 fi 4229 rm -f conftest.err conftest.$ac_objext \ 4230 conftest$ac_exeext conftest.$ac_ext 4781 4231 done 4782 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4783 esac 4784 4785 $ac_path_GREP_found && break 3 4786 done 4787 done 4788 done 4789 IFS=$as_save_IFS 4790 if test -z "$ac_cv_path_GREP"; then 4791 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4792 fi 4793 else 4794 ac_cv_path_GREP=$GREP 4795 fi 4796 4797 fi 4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4799 $as_echo "$ac_cv_path_GREP" >&6; } 4800 GREP="$ac_cv_path_GREP" 4801 4802 4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4804 $as_echo_n "checking for egrep... " >&6; } 4805 if test "${ac_cv_path_EGREP+set}" = set; then : 4806 $as_echo_n "(cached) " >&6 4807 else 4808 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4809 then ac_cv_path_EGREP="$GREP -E" 4810 else 4811 if test -z "$EGREP"; then 4812 ac_path_EGREP_found=false 4813 # Loop through the user's path and test for each of PROGNAME-LIST 4814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4815 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4816 do 4817 IFS=$as_save_IFS 4818 test -z "$as_dir" && as_dir=. 4819 for ac_prog in egrep; do 4820 for ac_exec_ext in '' $ac_executable_extensions; do 4821 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4822 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4823 # Check for GNU ac_path_EGREP and select it if it is found. 4824 # Check for GNU $ac_path_EGREP 4825 case `"$ac_path_EGREP" --version 2>&1` in 4826 *GNU*) 4827 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4828 *) 4829 ac_count=0 4830 $as_echo_n 0123456789 >"conftest.in" 4831 while : 4832 do 4833 cat "conftest.in" "conftest.in" >"conftest.tmp" 4834 mv "conftest.tmp" "conftest.in" 4835 cp "conftest.in" "conftest.nl" 4836 $as_echo 'EGREP' >> "conftest.nl" 4837 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4838 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4839 as_fn_arith $ac_count + 1 && ac_count=$as_val 4840 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4841 # Best one so far, save it but keep looking for a better one 4842 ac_cv_path_EGREP="$ac_path_EGREP" 4843 ac_path_EGREP_max=$ac_count 4844 fi 4845 # 10*(2^10) chars as input seems more than enough 4846 test $ac_count -gt 10 && break 4847 done 4848 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4849 esac 4850 4851 $ac_path_EGREP_found && break 3 4852 done 4853 done 4854 done 4855 IFS=$as_save_IFS 4856 if test -z "$ac_cv_path_EGREP"; then 4857 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4858 fi 4859 else 4860 ac_cv_path_EGREP=$EGREP 4861 fi 4862 4863 fi 4864 fi 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4866 $as_echo "$ac_cv_path_EGREP" >&6; } 4867 EGREP="$ac_cv_path_EGREP" 4868 4869 4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4871 $as_echo_n "checking for ANSI C header files... " >&6; } 4872 if test "${ac_cv_header_stdc+set}" = set; then : 4873 $as_echo_n "(cached) " >&6 4874 else 4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4232 fi 4233 LIBS=$ac_func_search_save_LIBS 4234 fi 4235 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4236 echo "${ECHO_T}$ac_cv_search_strerror" >&6 4237 if test "$ac_cv_search_strerror" != no; then 4238 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 4239 4240 fi 4241 4242 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4243 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4244 if test "${ac_cv_header_stdc+set}" = set; then 4245 echo $ECHO_N "(cached) $ECHO_C" >&6 4246 else 4247 cat >conftest.$ac_ext <<_ACEOF 4248 /* confdefs.h. */ 4249 _ACEOF 4250 cat confdefs.h >>conftest.$ac_ext 4251 cat >>conftest.$ac_ext <<_ACEOF 4876 4252 /* end confdefs.h. */ 4877 4253 #include <stdlib.h> … … 4888 4264 } 4889 4265 _ACEOF 4890 if ac_fn_c_try_compile "$LINENO"; then : 4266 rm -f conftest.$ac_objext 4267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4268 (eval $ac_compile) 2>conftest.er1 4269 ac_status=$? 4270 grep -v '^ *+' conftest.er1 >conftest.err 4271 rm -f conftest.er1 4272 cat conftest.err >&5 4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4274 (exit $ac_status); } && 4275 { ac_try='test -z "$ac_c_werror_flag" 4276 || test ! -s conftest.err' 4277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4278 (eval $ac_try) 2>&5 4279 ac_status=$? 4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4281 (exit $ac_status); }; } && 4282 { ac_try='test -s conftest.$ac_objext' 4283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4284 (eval $ac_try) 2>&5 4285 ac_status=$? 4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4287 (exit $ac_status); }; }; then 4891 4288 ac_cv_header_stdc=yes 4892 4289 else 4893 ac_cv_header_stdc=no 4894 fi 4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4290 echo "$as_me: failed program was:" >&5 4291 sed 's/^/| /' conftest.$ac_ext >&5 4292 4293 ac_cv_header_stdc=no 4294 fi 4295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4896 4296 4897 4297 if test $ac_cv_header_stdc = yes; then 4898 4298 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4299 cat >conftest.$ac_ext <<_ACEOF 4300 /* confdefs.h. */ 4301 _ACEOF 4302 cat confdefs.h >>conftest.$ac_ext 4303 cat >>conftest.$ac_ext <<_ACEOF 4900 4304 /* end confdefs.h. */ 4901 4305 #include <string.h> … … 4903 4307 _ACEOF 4904 4308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4905 $EGREP "memchr" >/dev/null 2>&1; then :4906 4309 $EGREP "memchr" >/dev/null 2>&1; then 4310 : 4907 4311 else 4908 4312 ac_cv_header_stdc=no … … 4914 4318 if test $ac_cv_header_stdc = yes; then 4915 4319 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4320 cat >conftest.$ac_ext <<_ACEOF 4321 /* confdefs.h. */ 4322 _ACEOF 4323 cat confdefs.h >>conftest.$ac_ext 4324 cat >>conftest.$ac_ext <<_ACEOF 4917 4325 /* end confdefs.h. */ 4918 4326 #include <stdlib.h> … … 4920 4328 _ACEOF 4921 4329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4922 $EGREP "free" >/dev/null 2>&1; then :4923 4330 $EGREP "free" >/dev/null 2>&1; then 4331 : 4924 4332 else 4925 4333 ac_cv_header_stdc=no … … 4931 4339 if test $ac_cv_header_stdc = yes; then 4932 4340 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4933 if test "$cross_compiling" = yes; then :4341 if test "$cross_compiling" = yes; then 4934 4342 : 4935 4343 else 4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4344 cat >conftest.$ac_ext <<_ACEOF 4345 /* confdefs.h. */ 4346 _ACEOF 4347 cat confdefs.h >>conftest.$ac_ext 4348 cat >>conftest.$ac_ext <<_ACEOF 4937 4349 /* end confdefs.h. */ 4938 4350 #include <ctype.h> 4939 #include <stdlib.h>4940 4351 #if ((' ' & 0x0FF) == 0x020) 4941 4352 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4957 4368 if (XOR (islower (i), ISLOWER (i)) 4958 4369 || toupper (i) != TOUPPER (i)) 4959 return 2;4960 return 0;4370 exit(2); 4371 exit (0); 4961 4372 } 4962 4373 _ACEOF 4963 if ac_fn_c_try_run "$LINENO"; then : 4964 4965 else 4966 ac_cv_header_stdc=no 4967 fi 4968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4969 conftest.$ac_objext conftest.beam conftest.$ac_ext 4970 fi 4971 4972 fi 4973 fi 4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4975 $as_echo "$ac_cv_header_stdc" >&6; } 4374 rm -f conftest$ac_exeext 4375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4376 (eval $ac_link) 2>&5 4377 ac_status=$? 4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4381 (eval $ac_try) 2>&5 4382 ac_status=$? 4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4384 (exit $ac_status); }; }; then 4385 : 4386 else 4387 echo "$as_me: program exited with status $ac_status" >&5 4388 echo "$as_me: failed program was:" >&5 4389 sed 's/^/| /' conftest.$ac_ext >&5 4390 4391 ( exit $ac_status ) 4392 ac_cv_header_stdc=no 4393 fi 4394 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4395 fi 4396 fi 4397 fi 4398 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4399 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4976 4400 if test $ac_cv_header_stdc = yes; then 4977 4401 4978 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4402 cat >>confdefs.h <<\_ACEOF 4403 #define STDC_HEADERS 1 4404 _ACEOF 4979 4405 4980 4406 fi 4981 4407 4982 4408 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4409 4410 4411 4412 4413 4414 4415 4416 4417 4983 4418 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4984 4419 inttypes.h stdint.h unistd.h 4985 do : 4986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4987 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4988 " 4989 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4420 do 4421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4422 echo "$as_me:$LINENO: checking for $ac_header" >&5 4423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4424 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4425 echo $ECHO_N "(cached) $ECHO_C" >&6 4426 else 4427 cat >conftest.$ac_ext <<_ACEOF 4428 /* confdefs.h. */ 4429 _ACEOF 4430 cat confdefs.h >>conftest.$ac_ext 4431 cat >>conftest.$ac_ext <<_ACEOF 4432 /* end confdefs.h. */ 4433 $ac_includes_default 4434 4435 #include <$ac_header> 4436 _ACEOF 4437 rm -f conftest.$ac_objext 4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4439 (eval $ac_compile) 2>conftest.er1 4440 ac_status=$? 4441 grep -v '^ *+' conftest.er1 >conftest.err 4442 rm -f conftest.er1 4443 cat conftest.err >&5 4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4445 (exit $ac_status); } && 4446 { ac_try='test -z "$ac_c_werror_flag" 4447 || test ! -s conftest.err' 4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4449 (eval $ac_try) 2>&5 4450 ac_status=$? 4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4452 (exit $ac_status); }; } && 4453 { ac_try='test -s conftest.$ac_objext' 4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4455 (eval $ac_try) 2>&5 4456 ac_status=$? 4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4458 (exit $ac_status); }; }; then 4459 eval "$as_ac_Header=yes" 4460 else 4461 echo "$as_me: failed program was:" >&5 4462 sed 's/^/| /' conftest.$ac_ext >&5 4463 4464 eval "$as_ac_Header=no" 4465 fi 4466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4467 fi 4468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4470 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4990 4471 cat >>confdefs.h <<_ACEOF 4991 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4992 4473 _ACEOF 4993 4474 … … 4997 4478 4998 4479 4999 5000 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5001 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4480 if test "${ac_cv_header_minix_config_h+set}" = set; then 4481 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4482 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4483 if test "${ac_cv_header_minix_config_h+set}" = set; then 4484 echo $ECHO_N "(cached) $ECHO_C" >&6 4485 fi 4486 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4487 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4488 else 4489 # Is the header compilable? 4490 echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4491 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4492 cat >conftest.$ac_ext <<_ACEOF 4493 /* confdefs.h. */ 4494 _ACEOF 4495 cat confdefs.h >>conftest.$ac_ext 4496 cat >>conftest.$ac_ext <<_ACEOF 4497 /* end confdefs.h. */ 4498 $ac_includes_default 4499 #include <minix/config.h> 4500 _ACEOF 4501 rm -f conftest.$ac_objext 4502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4503 (eval $ac_compile) 2>conftest.er1 4504 ac_status=$? 4505 grep -v '^ *+' conftest.er1 >conftest.err 4506 rm -f conftest.er1 4507 cat conftest.err >&5 4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4509 (exit $ac_status); } && 4510 { ac_try='test -z "$ac_c_werror_flag" 4511 || test ! -s conftest.err' 4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4513 (eval $ac_try) 2>&5 4514 ac_status=$? 4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4516 (exit $ac_status); }; } && 4517 { ac_try='test -s conftest.$ac_objext' 4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4519 (eval $ac_try) 2>&5 4520 ac_status=$? 4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4522 (exit $ac_status); }; }; then 4523 ac_header_compiler=yes 4524 else 4525 echo "$as_me: failed program was:" >&5 4526 sed 's/^/| /' conftest.$ac_ext >&5 4527 4528 ac_header_compiler=no 4529 fi 4530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4532 echo "${ECHO_T}$ac_header_compiler" >&6 4533 4534 # Is the header present? 4535 echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4536 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4537 cat >conftest.$ac_ext <<_ACEOF 4538 /* confdefs.h. */ 4539 _ACEOF 4540 cat confdefs.h >>conftest.$ac_ext 4541 cat >>conftest.$ac_ext <<_ACEOF 4542 /* end confdefs.h. */ 4543 #include <minix/config.h> 4544 _ACEOF 4545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4547 ac_status=$? 4548 grep -v '^ *+' conftest.er1 >conftest.err 4549 rm -f conftest.er1 4550 cat conftest.err >&5 4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4552 (exit $ac_status); } >/dev/null; then 4553 if test -s conftest.err; then 4554 ac_cpp_err=$ac_c_preproc_warn_flag 4555 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4556 else 4557 ac_cpp_err= 4558 fi 4559 else 4560 ac_cpp_err=yes 4561 fi 4562 if test -z "$ac_cpp_err"; then 4563 ac_header_preproc=yes 4564 else 4565 echo "$as_me: failed program was:" >&5 4566 sed 's/^/| /' conftest.$ac_ext >&5 4567 4568 ac_header_preproc=no 4569 fi 4570 rm -f conftest.err conftest.$ac_ext 4571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4572 echo "${ECHO_T}$ac_header_preproc" >&6 4573 4574 # So? What about this header? 4575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4576 yes:no: ) 4577 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4578 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4579 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4580 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4581 ac_header_preproc=yes 4582 ;; 4583 no:yes:* ) 4584 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4585 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4586 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4587 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4588 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4589 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4590 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4591 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4592 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4593 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4594 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4595 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4596 ( 4597 cat <<\_ASBOX 4598 ## ------------------------------------------ ## 4599 ## Report this to the AC_PACKAGE_NAME lists. ## 4600 ## ------------------------------------------ ## 4601 _ASBOX 4602 ) | 4603 sed "s/^/$as_me: WARNING: /" >&2 4604 ;; 4605 esac 4606 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4607 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4608 if test "${ac_cv_header_minix_config_h+set}" = set; then 4609 echo $ECHO_N "(cached) $ECHO_C" >&6 4610 else 4611 ac_cv_header_minix_config_h=$ac_header_preproc 4612 fi 4613 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4614 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4615 4616 fi 4617 if test $ac_cv_header_minix_config_h = yes; then 5002 4618 MINIX=yes 5003 4619 else … … 5006 4622 5007 4623 5008 if test "$MINIX" = yes; then 5009 5010 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5011 5012 5013 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5014 5015 5016 $as_echo "#define _MINIX 1" >>confdefs.h 5017 5018 fi 5019 5020 5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5022 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5023 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 5024 $as_echo_n "(cached) " >&6 5025 else 5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5027 /* end confdefs.h. */ 5028 5029 # define __EXTENSIONS__ 1 5030 $ac_includes_default 5031 int 5032 main () 5033 { 5034 5035 ; 5036 return 0; 5037 } 5038 _ACEOF 5039 if ac_fn_c_try_compile "$LINENO"; then : 5040 ac_cv_safe_to_define___extensions__=yes 5041 else 5042 ac_cv_safe_to_define___extensions__=no 5043 fi 5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5045 fi 5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5047 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5048 test $ac_cv_safe_to_define___extensions__ = yes && 5049 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5050 5051 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5052 5053 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5054 5055 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5056 5057 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5058 5059 5060 5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 5062 $as_echo_n "checking for library containing strerror... " >&6; } 5063 if test "${ac_cv_search_strerror+set}" = set; then : 5064 $as_echo_n "(cached) " >&6 5065 else 5066 ac_func_search_save_LIBS=$LIBS 5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5068 /* end confdefs.h. */ 5069 5070 /* Override any GCC internal prototype to avoid an error. 5071 Use char because int might match the return type of a GCC 5072 builtin and then its argument prototype would still apply. */ 5073 #ifdef __cplusplus 5074 extern "C" 5075 #endif 5076 char strerror (); 5077 int 5078 main () 5079 { 5080 return strerror (); 5081 ; 5082 return 0; 5083 } 5084 _ACEOF 5085 for ac_lib in '' cposix; do 5086 if test -z "$ac_lib"; then 5087 ac_res="none required" 5088 else 5089 ac_res=-l$ac_lib 5090 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5091 fi 5092 if ac_fn_c_try_link "$LINENO"; then : 5093 ac_cv_search_strerror=$ac_res 5094 fi 5095 rm -f core conftest.err conftest.$ac_objext \ 5096 conftest$ac_exeext 5097 if test "${ac_cv_search_strerror+set}" = set; then : 5098 break 5099 fi 5100 done 5101 if test "${ac_cv_search_strerror+set}" = set; then : 5102 5103 else 5104 ac_cv_search_strerror=no 5105 fi 5106 rm conftest.$ac_ext 5107 LIBS=$ac_func_search_save_LIBS 5108 fi 5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 5110 $as_echo "$ac_cv_search_strerror" >&6; } 5111 ac_res=$ac_cv_search_strerror 5112 if test "$ac_res" != no; then : 5113 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5114 5115 fi 5116 5117 5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5119 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 5120 if test "${ac_cv_prog_cc_stdc+set}" = set; then : 5121 $as_echo_n "(cached) " >&6 4624 if test "$MINIX" = yes; then 4625 4626 cat >>confdefs.h <<\_ACEOF 4627 #define _POSIX_SOURCE 1 4628 _ACEOF 4629 4630 4631 cat >>confdefs.h <<\_ACEOF 4632 #define _POSIX_1_SOURCE 2 4633 _ACEOF 4634 4635 4636 cat >>confdefs.h <<\_ACEOF 4637 #define _MINIX 1 4638 _ACEOF 4639 4640 fi 4641 4642 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4643 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4644 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4645 echo $ECHO_N "(cached) $ECHO_C" >&6 5122 4646 else 5123 4647 ac_cv_prog_cc_stdc=no … … 5132 4656 do 5133 4657 CFLAGS="$ac_save_CFLAGS $ac_arg" 5134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4658 cat >conftest.$ac_ext <<_ACEOF 4659 /* confdefs.h. */ 4660 _ACEOF 4661 cat confdefs.h >>conftest.$ac_ext 4662 cat >>conftest.$ac_ext <<_ACEOF 5135 4663 /* end confdefs.h. */ 5136 4664 #if !defined(__STDC__) || __STDC__ != 1 … … 5148 4676 } 5149 4677 _ACEOF 5150 if ac_fn_c_try_compile "$LINENO"; then : 4678 rm -f conftest.$ac_objext 4679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4680 (eval $ac_compile) 2>conftest.er1 4681 ac_status=$? 4682 grep -v '^ *+' conftest.er1 >conftest.err 4683 rm -f conftest.er1 4684 cat conftest.err >&5 4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4686 (exit $ac_status); } && 4687 { ac_try='test -z "$ac_c_werror_flag" 4688 || test ! -s conftest.err' 4689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4690 (eval $ac_try) 2>&5 4691 ac_status=$? 4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4693 (exit $ac_status); }; } && 4694 { ac_try='test -s conftest.$ac_objext' 4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4696 (eval $ac_try) 2>&5 4697 ac_status=$? 4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4699 (exit $ac_status); }; }; then 5151 4700 ac_cv_prog_cc_stdc="$ac_arg"; break 5152 fi 5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4701 else 4702 echo "$as_me: failed program was:" >&5 4703 sed 's/^/| /' conftest.$ac_ext >&5 4704 4705 fi 4706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5154 4707 done 5155 4708 CFLAGS="$ac_save_CFLAGS" … … 5157 4710 fi 5158 4711 5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&55160 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4713 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5161 4714 case "x$ac_cv_prog_cc_stdc" in 5162 4715 x|xno) ;; … … 5165 4718 5166 4719 5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&55168 $as_echo_n "checking for function prototypes... " >&6; } 4720 echo "$as_me:$LINENO: checking for function prototypes" >&5 4721 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5169 4722 if test "$ac_cv_prog_cc_stdc" != no; then 5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5171 $as_echo "yes" >&6; } 5172 $as_echo "#define PROTOTYPES 1" >>confdefs.h 4723 echo "$as_me:$LINENO: result: yes" >&5 4724 echo "${ECHO_T}yes" >&6 4725 cat >>confdefs.h <<\_ACEOF 4726 #define PROTOTYPES 1 4727 _ACEOF 5173 4728 5174 4729 U= ANSI2KNR= 5175 4730 else 5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55177 $as_echo "no" >&6; } 4731 echo "$as_me:$LINENO: result: no" >&5 4732 echo "${ECHO_T}no" >&6 5178 4733 U=_ ANSI2KNR=ansi2knr 5179 4734 fi 5180 4735 5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5182 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5183 if test "${ac_cv_c_const+set}" = set; then : 5184 $as_echo_n "(cached) " >&6 5185 else 5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4736 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4737 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4738 if test "${ac_cv_c_const+set}" = set; then 4739 echo $ECHO_N "(cached) $ECHO_C" >&6 4740 else 4741 cat >conftest.$ac_ext <<_ACEOF 4742 /* confdefs.h. */ 4743 _ACEOF 4744 cat confdefs.h >>conftest.$ac_ext 4745 cat >>conftest.$ac_ext <<_ACEOF 5187 4746 /* end confdefs.h. */ 5188 4747 … … 5194 4753 /* Ultrix mips cc rejects this. */ 5195 4754 typedef int charset[2]; 5196 const charset cs;4755 const charset x; 5197 4756 /* SunOS 4.1.1 cc rejects this. */ 5198 char const *const * pcpcc;5199 char **p pc;4757 char const *const *ccp; 4758 char **p; 5200 4759 /* NEC SVR4.0.2 mips cc rejects this. */ 5201 4760 struct point {int x, y;}; … … 5206 4765 expression */ 5207 4766 const char *g = "string"; 5208 pcpcc= &g + (g ? g-g : 0);4767 ccp = &g + (g ? g-g : 0); 5209 4768 /* HPUX 7.0 cc rejects these. */ 5210 ++ pcpcc;5211 p pc = (char**) pcpcc;5212 pcpcc = (char const *const *) ppc;4769 ++ccp; 4770 p = (char**) ccp; 4771 ccp = (char const *const *) p; 5213 4772 { /* SCO 3.2v4 cc rejects this. */ 5214 4773 char *t; … … 5216 4775 5217 4776 *t++ = 0; 5218 if (s) return 0;5219 4777 } 5220 4778 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 5235 4793 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 5236 4794 const int foo = 10; 5237 if (!foo) return 0;5238 4795 } 5239 return !cs[0] && !zero.x;5240 4796 #endif 5241 4797 … … 5244 4800 } 5245 4801 _ACEOF 5246 if ac_fn_c_try_compile "$LINENO"; then : 4802 rm -f conftest.$ac_objext 4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4804 (eval $ac_compile) 2>conftest.er1 4805 ac_status=$? 4806 grep -v '^ *+' conftest.er1 >conftest.err 4807 rm -f conftest.er1 4808 cat conftest.err >&5 4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4810 (exit $ac_status); } && 4811 { ac_try='test -z "$ac_c_werror_flag" 4812 || test ! -s conftest.err' 4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4814 (eval $ac_try) 2>&5 4815 ac_status=$? 4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4817 (exit $ac_status); }; } && 4818 { ac_try='test -s conftest.$ac_objext' 4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4820 (eval $ac_try) 2>&5 4821 ac_status=$? 4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4823 (exit $ac_status); }; }; then 5247 4824 ac_cv_c_const=yes 5248 4825 else 5249 ac_cv_c_const=no 5250 fi 5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5252 fi 5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5254 $as_echo "$ac_cv_c_const" >&6; } 4826 echo "$as_me: failed program was:" >&5 4827 sed 's/^/| /' conftest.$ac_ext >&5 4828 4829 ac_cv_c_const=no 4830 fi 4831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4832 fi 4833 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4834 echo "${ECHO_T}$ac_cv_c_const" >&6 5255 4835 if test $ac_cv_c_const = no; then 5256 4836 5257 $as_echo "#define const /**/" >>confdefs.h 5258 5259 fi 5260 5261 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 5262 if test "x$ac_cv_type_off_t" = x""yes; then : 5263 4837 cat >>confdefs.h <<\_ACEOF 4838 #define const 4839 _ACEOF 4840 4841 fi 4842 4843 echo "$as_me:$LINENO: checking for off_t" >&5 4844 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4845 if test "${ac_cv_type_off_t+set}" = set; then 4846 echo $ECHO_N "(cached) $ECHO_C" >&6 4847 else 4848 cat >conftest.$ac_ext <<_ACEOF 4849 /* confdefs.h. */ 4850 _ACEOF 4851 cat confdefs.h >>conftest.$ac_ext 4852 cat >>conftest.$ac_ext <<_ACEOF 4853 /* end confdefs.h. */ 4854 $ac_includes_default 4855 int 4856 main () 4857 { 4858 if ((off_t *) 0) 4859 return 0; 4860 if (sizeof (off_t)) 4861 return 0; 4862 ; 4863 return 0; 4864 } 4865 _ACEOF 4866 rm -f conftest.$ac_objext 4867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4868 (eval $ac_compile) 2>conftest.er1 4869 ac_status=$? 4870 grep -v '^ *+' conftest.er1 >conftest.err 4871 rm -f conftest.er1 4872 cat conftest.err >&5 4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4874 (exit $ac_status); } && 4875 { ac_try='test -z "$ac_c_werror_flag" 4876 || test ! -s conftest.err' 4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4878 (eval $ac_try) 2>&5 4879 ac_status=$? 4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4881 (exit $ac_status); }; } && 4882 { ac_try='test -s conftest.$ac_objext' 4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4884 (eval $ac_try) 2>&5 4885 ac_status=$? 4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4887 (exit $ac_status); }; }; then 4888 ac_cv_type_off_t=yes 4889 else 4890 echo "$as_me: failed program was:" >&5 4891 sed 's/^/| /' conftest.$ac_ext >&5 4892 4893 ac_cv_type_off_t=no 4894 fi 4895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4896 fi 4897 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4898 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4899 if test $ac_cv_type_off_t = yes; then 4900 : 5264 4901 else 5265 4902 5266 4903 cat >>confdefs.h <<_ACEOF 5267 #define off_t long int 5268 _ACEOF 5269 5270 fi 5271 5272 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5273 if test "x$ac_cv_type_size_t" = x""yes; then : 5274 4904 #define off_t long 4905 _ACEOF 4906 4907 fi 4908 4909 echo "$as_me:$LINENO: checking for size_t" >&5 4910 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4911 if test "${ac_cv_type_size_t+set}" = set; then 4912 echo $ECHO_N "(cached) $ECHO_C" >&6 4913 else 4914 cat >conftest.$ac_ext <<_ACEOF 4915 /* confdefs.h. */ 4916 _ACEOF 4917 cat confdefs.h >>conftest.$ac_ext 4918 cat >>conftest.$ac_ext <<_ACEOF 4919 /* end confdefs.h. */ 4920 $ac_includes_default 4921 int 4922 main () 4923 { 4924 if ((size_t *) 0) 4925 return 0; 4926 if (sizeof (size_t)) 4927 return 0; 4928 ; 4929 return 0; 4930 } 4931 _ACEOF 4932 rm -f conftest.$ac_objext 4933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4934 (eval $ac_compile) 2>conftest.er1 4935 ac_status=$? 4936 grep -v '^ *+' conftest.er1 >conftest.err 4937 rm -f conftest.er1 4938 cat conftest.err >&5 4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4940 (exit $ac_status); } && 4941 { ac_try='test -z "$ac_c_werror_flag" 4942 || test ! -s conftest.err' 4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4944 (eval $ac_try) 2>&5 4945 ac_status=$? 4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4947 (exit $ac_status); }; } && 4948 { ac_try='test -s conftest.$ac_objext' 4949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4950 (eval $ac_try) 2>&5 4951 ac_status=$? 4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4953 (exit $ac_status); }; }; then 4954 ac_cv_type_size_t=yes 4955 else 4956 echo "$as_me: failed program was:" >&5 4957 sed 's/^/| /' conftest.$ac_ext >&5 4958 4959 ac_cv_type_size_t=no 4960 fi 4961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4962 fi 4963 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4964 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4965 if test $ac_cv_type_size_t = yes; then 4966 : 5275 4967 else 5276 4968 5277 4969 cat >>confdefs.h <<_ACEOF 5278 #define size_t unsigned int 5279 _ACEOF 5280 5281 fi 5282 5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 5284 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 5285 if test "${ac_cv_header_time+set}" = set; then : 5286 $as_echo_n "(cached) " >&6 5287 else 5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4970 #define size_t unsigned 4971 _ACEOF 4972 4973 fi 4974 4975 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4976 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4977 if test "${ac_cv_header_time+set}" = set; then 4978 echo $ECHO_N "(cached) $ECHO_C" >&6 4979 else 4980 cat >conftest.$ac_ext <<_ACEOF 4981 /* confdefs.h. */ 4982 _ACEOF 4983 cat confdefs.h >>conftest.$ac_ext 4984 cat >>conftest.$ac_ext <<_ACEOF 5289 4985 /* end confdefs.h. */ 5290 4986 #include <sys/types.h> … … 5301 4997 } 5302 4998 _ACEOF 5303 if ac_fn_c_try_compile "$LINENO"; then : 4999 rm -f conftest.$ac_objext 5000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5001 (eval $ac_compile) 2>conftest.er1 5002 ac_status=$? 5003 grep -v '^ *+' conftest.er1 >conftest.err 5004 rm -f conftest.er1 5005 cat conftest.err >&5 5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5007 (exit $ac_status); } && 5008 { ac_try='test -z "$ac_c_werror_flag" 5009 || test ! -s conftest.err' 5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5011 (eval $ac_try) 2>&5 5012 ac_status=$? 5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5014 (exit $ac_status); }; } && 5015 { ac_try='test -s conftest.$ac_objext' 5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5017 (eval $ac_try) 2>&5 5018 ac_status=$? 5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5020 (exit $ac_status); }; }; then 5304 5021 ac_cv_header_time=yes 5305 5022 else 5306 ac_cv_header_time=no 5307 fi 5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5309 fi 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 5311 $as_echo "$ac_cv_header_time" >&6; } 5023 echo "$as_me: failed program was:" >&5 5024 sed 's/^/| /' conftest.$ac_ext >&5 5025 5026 ac_cv_header_time=no 5027 fi 5028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5029 fi 5030 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5031 echo "${ECHO_T}$ac_cv_header_time" >&6 5312 5032 if test $ac_cv_header_time = yes; then 5313 5033 5314 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 5315 5316 fi 5317 5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 5319 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5320 if test "${ac_cv_struct_tm+set}" = set; then : 5321 $as_echo_n "(cached) " >&6 5322 else 5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5034 cat >>confdefs.h <<\_ACEOF 5035 #define TIME_WITH_SYS_TIME 1 5036 _ACEOF 5037 5038 fi 5039 5040 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5041 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 5042 if test "${ac_cv_struct_tm+set}" = set; then 5043 echo $ECHO_N "(cached) $ECHO_C" >&6 5044 else 5045 cat >conftest.$ac_ext <<_ACEOF 5046 /* confdefs.h. */ 5047 _ACEOF 5048 cat confdefs.h >>conftest.$ac_ext 5049 cat >>conftest.$ac_ext <<_ACEOF 5324 5050 /* end confdefs.h. */ 5325 5051 #include <sys/types.h> … … 5329 5055 main () 5330 5056 { 5331 struct tm tm; 5332 int *p = &tm.tm_sec; 5333 return !p; 5057 struct tm *tp; tp->tm_sec; 5334 5058 ; 5335 5059 return 0; 5336 5060 } 5337 5061 _ACEOF 5338 if ac_fn_c_try_compile "$LINENO"; then : 5062 rm -f conftest.$ac_objext 5063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5064 (eval $ac_compile) 2>conftest.er1 5065 ac_status=$? 5066 grep -v '^ *+' conftest.er1 >conftest.err 5067 rm -f conftest.er1 5068 cat conftest.err >&5 5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5070 (exit $ac_status); } && 5071 { ac_try='test -z "$ac_c_werror_flag" 5072 || test ! -s conftest.err' 5073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5074 (eval $ac_try) 2>&5 5075 ac_status=$? 5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5077 (exit $ac_status); }; } && 5078 { ac_try='test -s conftest.$ac_objext' 5079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5080 (eval $ac_try) 2>&5 5081 ac_status=$? 5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5083 (exit $ac_status); }; }; then 5339 5084 ac_cv_struct_tm=time.h 5340 5085 else 5341 ac_cv_struct_tm=sys/time.h 5342 fi 5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5344 fi 5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 5346 $as_echo "$ac_cv_struct_tm" >&6; } 5086 echo "$as_me: failed program was:" >&5 5087 sed 's/^/| /' conftest.$ac_ext >&5 5088 5089 ac_cv_struct_tm=sys/time.h 5090 fi 5091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5092 fi 5093 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5094 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5347 5095 if test $ac_cv_struct_tm = sys/time.h; then 5348 5096 5349 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 5097 cat >>confdefs.h <<\_ACEOF 5098 #define TM_IN_SYS_TIME 1 5099 _ACEOF 5350 5100 5351 5101 fi … … 5353 5103 5354 5104 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 5355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5105 cat >conftest.$ac_ext <<_ACEOF 5106 /* confdefs.h. */ 5107 _ACEOF 5108 cat confdefs.h >>conftest.$ac_ext 5109 cat >>conftest.$ac_ext <<_ACEOF 5356 5110 /* end confdefs.h. */ 5357 5111 #include <stdio.h> … … 5365 5119 } 5366 5120 _ACEOF 5367 if ac_fn_c_try_compile "$LINENO"; then : 5368 5369 else 5370 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5371 fi 5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5373 fi 5374 5375 5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5 5377 $as_echo_n "checking for main in -lg... " >&6; } 5378 if test "${ac_cv_lib_g_main+set}" = set; then : 5379 $as_echo_n "(cached) " >&6 5121 rm -f conftest.$ac_objext 5122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5123 (eval $ac_compile) 2>conftest.er1 5124 ac_status=$? 5125 grep -v '^ *+' conftest.er1 >conftest.err 5126 rm -f conftest.er1 5127 cat conftest.err >&5 5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5129 (exit $ac_status); } && 5130 { ac_try='test -z "$ac_c_werror_flag" 5131 || test ! -s conftest.err' 5132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5133 (eval $ac_try) 2>&5 5134 ac_status=$? 5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5136 (exit $ac_status); }; } && 5137 { ac_try='test -s conftest.$ac_objext' 5138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5139 (eval $ac_try) 2>&5 5140 ac_status=$? 5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5142 (exit $ac_status); }; }; then 5143 : 5144 else 5145 echo "$as_me: failed program was:" >&5 5146 sed 's/^/| /' conftest.$ac_ext >&5 5147 5148 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5149 fi 5150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5151 fi 5152 5153 5154 5155 echo "$as_me:$LINENO: checking for main in -lg" >&5 5156 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5157 if test "${ac_cv_lib_g_main+set}" = set; then 5158 echo $ECHO_N "(cached) $ECHO_C" >&6 5380 5159 else 5381 5160 ac_check_lib_save_LIBS=$LIBS 5382 5161 LIBS="-lg $LIBS" 5383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5162 cat >conftest.$ac_ext <<_ACEOF 5163 /* confdefs.h. */ 5164 _ACEOF 5165 cat confdefs.h >>conftest.$ac_ext 5166 cat >>conftest.$ac_ext <<_ACEOF 5384 5167 /* end confdefs.h. */ 5385 5168 … … 5388 5171 main () 5389 5172 { 5390 returnmain ();5173 main (); 5391 5174 ; 5392 5175 return 0; 5393 5176 } 5394 5177 _ACEOF 5395 if ac_fn_c_try_link "$LINENO"; then : 5178 rm -f conftest.$ac_objext conftest$ac_exeext 5179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5180 (eval $ac_link) 2>conftest.er1 5181 ac_status=$? 5182 grep -v '^ *+' conftest.er1 >conftest.err 5183 rm -f conftest.er1 5184 cat conftest.err >&5 5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5186 (exit $ac_status); } && 5187 { ac_try='test -z "$ac_c_werror_flag" 5188 || test ! -s conftest.err' 5189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5190 (eval $ac_try) 2>&5 5191 ac_status=$? 5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5193 (exit $ac_status); }; } && 5194 { ac_try='test -s conftest$ac_exeext' 5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5196 (eval $ac_try) 2>&5 5197 ac_status=$? 5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5199 (exit $ac_status); }; }; then 5396 5200 ac_cv_lib_g_main=yes 5397 5201 else 5398 ac_cv_lib_g_main=no 5399 fi 5400 rm -f core conftest.err conftest.$ac_objext \ 5401 conftest$ac_exeext conftest.$ac_ext 5202 echo "$as_me: failed program was:" >&5 5203 sed 's/^/| /' conftest.$ac_ext >&5 5204 5205 ac_cv_lib_g_main=no 5206 fi 5207 rm -f conftest.err conftest.$ac_objext \ 5208 conftest$ac_exeext conftest.$ac_ext 5402 5209 LIBS=$ac_check_lib_save_LIBS 5403 5210 fi 5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&55405 $as_echo "$ac_cv_lib_g_main" >&6; } 5406 if test "x$ac_cv_lib_g_main" = x""yes; then :5211 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5212 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5213 if test $ac_cv_lib_g_main = yes; then 5407 5214 cat >>confdefs.h <<_ACEOF 5408 5215 #define HAVE_LIBG 1 … … 5414 5221 ac_cv_lib_g=ac_cv_lib_g_main 5415 5222 5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 5417 $as_echo_n "checking for main in -lm... " >&6; } 5418 if test "${ac_cv_lib_m_main+set}" = set; then : 5419 $as_echo_n "(cached) " >&6 5223 5224 echo "$as_me:$LINENO: checking for main in -lm" >&5 5225 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5226 if test "${ac_cv_lib_m_main+set}" = set; then 5227 echo $ECHO_N "(cached) $ECHO_C" >&6 5420 5228 else 5421 5229 ac_check_lib_save_LIBS=$LIBS 5422 5230 LIBS="-lm $LIBS" 5423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5231 cat >conftest.$ac_ext <<_ACEOF 5232 /* confdefs.h. */ 5233 _ACEOF 5234 cat confdefs.h >>conftest.$ac_ext 5235 cat >>conftest.$ac_ext <<_ACEOF 5424 5236 /* end confdefs.h. */ 5425 5237 … … 5428 5240 main () 5429 5241 { 5430 returnmain ();5242 main (); 5431 5243 ; 5432 5244 return 0; 5433 5245 } 5434 5246 _ACEOF 5435 if ac_fn_c_try_link "$LINENO"; then : 5247 rm -f conftest.$ac_objext conftest$ac_exeext 5248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5249 (eval $ac_link) 2>conftest.er1 5250 ac_status=$? 5251 grep -v '^ *+' conftest.er1 >conftest.err 5252 rm -f conftest.er1 5253 cat conftest.err >&5 5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5255 (exit $ac_status); } && 5256 { ac_try='test -z "$ac_c_werror_flag" 5257 || test ! -s conftest.err' 5258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5259 (eval $ac_try) 2>&5 5260 ac_status=$? 5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5262 (exit $ac_status); }; } && 5263 { ac_try='test -s conftest$ac_exeext' 5264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5265 (eval $ac_try) 2>&5 5266 ac_status=$? 5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5268 (exit $ac_status); }; }; then 5436 5269 ac_cv_lib_m_main=yes 5437 5270 else 5438 ac_cv_lib_m_main=no 5439 fi 5440 rm -f core conftest.err conftest.$ac_objext \ 5441 conftest$ac_exeext conftest.$ac_ext 5271 echo "$as_me: failed program was:" >&5 5272 sed 's/^/| /' conftest.$ac_ext >&5 5273 5274 ac_cv_lib_m_main=no 5275 fi 5276 rm -f conftest.err conftest.$ac_objext \ 5277 conftest$ac_exeext conftest.$ac_ext 5442 5278 LIBS=$ac_check_lib_save_LIBS 5443 5279 fi 5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&55445 $as_echo "$ac_cv_lib_m_main" >&6; } 5446 if test "x$ac_cv_lib_m_main" = x""yes; then :5280 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5281 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5282 if test $ac_cv_lib_m_main = yes; then 5447 5283 cat >>confdefs.h <<_ACEOF 5448 5284 #define HAVE_LIBM 1 … … 5454 5290 ac_cv_lib_m=ac_cv_lib_m_main 5455 5291 5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 5457 $as_echo_n "checking for main in -lcrypt... " >&6; } 5458 if test "${ac_cv_lib_crypt_main+set}" = set; then : 5459 $as_echo_n "(cached) " >&6 5292 5293 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5294 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5295 if test "${ac_cv_lib_crypt_main+set}" = set; then 5296 echo $ECHO_N "(cached) $ECHO_C" >&6 5460 5297 else 5461 5298 ac_check_lib_save_LIBS=$LIBS 5462 5299 LIBS="-lcrypt $LIBS" 5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5300 cat >conftest.$ac_ext <<_ACEOF 5301 /* confdefs.h. */ 5302 _ACEOF 5303 cat confdefs.h >>conftest.$ac_ext 5304 cat >>conftest.$ac_ext <<_ACEOF 5464 5305 /* end confdefs.h. */ 5465 5306 … … 5468 5309 main () 5469 5310 { 5470 returnmain ();5311 main (); 5471 5312 ; 5472 5313 return 0; 5473 5314 } 5474 5315 _ACEOF 5475 if ac_fn_c_try_link "$LINENO"; then : 5316 rm -f conftest.$ac_objext conftest$ac_exeext 5317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5318 (eval $ac_link) 2>conftest.er1 5319 ac_status=$? 5320 grep -v '^ *+' conftest.er1 >conftest.err 5321 rm -f conftest.er1 5322 cat conftest.err >&5 5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5324 (exit $ac_status); } && 5325 { ac_try='test -z "$ac_c_werror_flag" 5326 || test ! -s conftest.err' 5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5328 (eval $ac_try) 2>&5 5329 ac_status=$? 5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5331 (exit $ac_status); }; } && 5332 { ac_try='test -s conftest$ac_exeext' 5333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5334 (eval $ac_try) 2>&5 5335 ac_status=$? 5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5337 (exit $ac_status); }; }; then 5476 5338 ac_cv_lib_crypt_main=yes 5477 5339 else 5478 ac_cv_lib_crypt_main=no 5479 fi 5480 rm -f core conftest.err conftest.$ac_objext \ 5481 conftest$ac_exeext conftest.$ac_ext 5340 echo "$as_me: failed program was:" >&5 5341 sed 's/^/| /' conftest.$ac_ext >&5 5342 5343 ac_cv_lib_crypt_main=no 5344 fi 5345 rm -f conftest.err conftest.$ac_objext \ 5346 conftest$ac_exeext conftest.$ac_ext 5482 5347 LIBS=$ac_check_lib_save_LIBS 5483 5348 fi 5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&55485 $as_echo "$ac_cv_lib_crypt_main" >&6; } 5486 if test "x$ac_cv_lib_crypt_main" = x""yes; then :5349 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5350 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5351 if test $ac_cv_lib_crypt_main = yes; then 5487 5352 cat >>confdefs.h <<_ACEOF 5488 5353 #define HAVE_LIBCRYPT 1 … … 5498 5363 #fi 5499 5364 5365 5366 5367 5368 5369 5500 5370 ac_header_dirent=no 5501 5371 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5502 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 5504 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 5505 if eval "test \"\${$as_ac_Header+set}\"" = set; then : 5506 $as_echo_n "(cached) " >&6 5507 else 5508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5372 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5373 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5374 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 5375 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5376 echo $ECHO_N "(cached) $ECHO_C" >&6 5377 else 5378 cat >conftest.$ac_ext <<_ACEOF 5379 /* confdefs.h. */ 5380 _ACEOF 5381 cat confdefs.h >>conftest.$ac_ext 5382 cat >>conftest.$ac_ext <<_ACEOF 5509 5383 /* end confdefs.h. */ 5510 5384 #include <sys/types.h> … … 5520 5394 } 5521 5395 _ACEOF 5522 if ac_fn_c_try_compile "$LINENO"; then : 5396 rm -f conftest.$ac_objext 5397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5398 (eval $ac_compile) 2>conftest.er1 5399 ac_status=$? 5400 grep -v '^ *+' conftest.er1 >conftest.err 5401 rm -f conftest.er1 5402 cat conftest.err >&5 5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5404 (exit $ac_status); } && 5405 { ac_try='test -z "$ac_c_werror_flag" 5406 || test ! -s conftest.err' 5407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5408 (eval $ac_try) 2>&5 5409 ac_status=$? 5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5411 (exit $ac_status); }; } && 5412 { ac_try='test -s conftest.$ac_objext' 5413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5414 (eval $ac_try) 2>&5 5415 ac_status=$? 5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5417 (exit $ac_status); }; }; then 5523 5418 eval "$as_ac_Header=yes" 5524 5419 else 5525 eval "$as_ac_Header=no" 5526 fi 5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5528 fi 5529 eval ac_res=\$$as_ac_Header 5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5531 $as_echo "$ac_res" >&6; } 5532 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5420 echo "$as_me: failed program was:" >&5 5421 sed 's/^/| /' conftest.$ac_ext >&5 5422 5423 eval "$as_ac_Header=no" 5424 fi 5425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5426 fi 5427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5429 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5533 5430 cat >>confdefs.h <<_ACEOF 5534 #define ` $as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 15431 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 5535 5432 _ACEOF 5536 5433 … … 5541 5438 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5542 5439 if test $ac_header_dirent = dirent.h; then 5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&55544 $as_echo_n "checking for library containing opendir... " >&6; } 5545 if test "${ac_cv_search_opendir+set}" = set; then :5546 $as_echo_n "(cached)" >&65440 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5441 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5442 if test "${ac_cv_search_opendir+set}" = set; then 5443 echo $ECHO_N "(cached) $ECHO_C" >&6 5547 5444 else 5548 5445 ac_func_search_save_LIBS=$LIBS 5549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5446 ac_cv_search_opendir=no 5447 cat >conftest.$ac_ext <<_ACEOF 5448 /* confdefs.h. */ 5449 _ACEOF 5450 cat confdefs.h >>conftest.$ac_ext 5451 cat >>conftest.$ac_ext <<_ACEOF 5550 5452 /* end confdefs.h. */ 5551 5453 5552 /* Override any GCC internal prototype to avoid an error. 5553 Use char because int might match the return type of a GCC 5554 builtin and then its argument prototype would still apply. */ 5454 /* Override any gcc2 internal prototype to avoid an error. */ 5555 5455 #ifdef __cplusplus 5556 5456 extern "C" 5557 5457 #endif 5458 /* We use char because int might match the return type of a gcc2 5459 builtin and then its argument prototype would still apply. */ 5558 5460 char opendir (); 5559 5461 int 5560 5462 main () 5561 5463 { 5562 returnopendir ();5464 opendir (); 5563 5465 ; 5564 5466 return 0; 5565 5467 } 5566 5468 _ACEOF 5567 for ac_lib in '' dir; do 5568 if test -z "$ac_lib"; then 5569 ac_res="none required" 5570 else 5571 ac_res=-l$ac_lib 5469 rm -f conftest.$ac_objext conftest$ac_exeext 5470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5471 (eval $ac_link) 2>conftest.er1 5472 ac_status=$? 5473 grep -v '^ *+' conftest.er1 >conftest.err 5474 rm -f conftest.er1 5475 cat conftest.err >&5 5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5477 (exit $ac_status); } && 5478 { ac_try='test -z "$ac_c_werror_flag" 5479 || test ! -s conftest.err' 5480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5481 (eval $ac_try) 2>&5 5482 ac_status=$? 5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5484 (exit $ac_status); }; } && 5485 { ac_try='test -s conftest$ac_exeext' 5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5487 (eval $ac_try) 2>&5 5488 ac_status=$? 5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 (exit $ac_status); }; }; then 5491 ac_cv_search_opendir="none required" 5492 else 5493 echo "$as_me: failed program was:" >&5 5494 sed 's/^/| /' conftest.$ac_ext >&5 5495 5496 fi 5497 rm -f conftest.err conftest.$ac_objext \ 5498 conftest$ac_exeext conftest.$ac_ext 5499 if test "$ac_cv_search_opendir" = no; then 5500 for ac_lib in dir; do 5572 5501 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5573 fi 5574 if ac_fn_c_try_link "$LINENO"; then : 5575 ac_cv_search_opendir=$ac_res 5576 fi 5577 rm -f core conftest.err conftest.$ac_objext \ 5578 conftest$ac_exeext 5579 if test "${ac_cv_search_opendir+set}" = set; then : 5580 break 5581 fi 5582 done 5583 if test "${ac_cv_search_opendir+set}" = set; then : 5584 5585 else 5586 ac_cv_search_opendir=no 5587 fi 5588 rm conftest.$ac_ext 5589 LIBS=$ac_func_search_save_LIBS 5590 fi 5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5592 $as_echo "$ac_cv_search_opendir" >&6; } 5593 ac_res=$ac_cv_search_opendir 5594 if test "$ac_res" != no; then : 5595 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5596 5597 fi 5598 5599 else 5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 5601 $as_echo_n "checking for library containing opendir... " >&6; } 5602 if test "${ac_cv_search_opendir+set}" = set; then : 5603 $as_echo_n "(cached) " >&6 5604 else 5605 ac_func_search_save_LIBS=$LIBS 5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5502 cat >conftest.$ac_ext <<_ACEOF 5503 /* confdefs.h. */ 5504 _ACEOF 5505 cat confdefs.h >>conftest.$ac_ext 5506 cat >>conftest.$ac_ext <<_ACEOF 5607 5507 /* end confdefs.h. */ 5608 5508 5609 /* Override any GCC internal prototype to avoid an error. 5610 Use char because int might match the return type of a GCC 5611 builtin and then its argument prototype would still apply. */ 5509 /* Override any gcc2 internal prototype to avoid an error. */ 5612 5510 #ifdef __cplusplus 5613 5511 extern "C" 5614 5512 #endif 5513 /* We use char because int might match the return type of a gcc2 5514 builtin and then its argument prototype would still apply. */ 5615 5515 char opendir (); 5616 5516 int 5617 5517 main () 5618 5518 { 5619 returnopendir ();5519 opendir (); 5620 5520 ; 5621 5521 return 0; 5622 5522 } 5623 5523 _ACEOF 5624 for ac_lib in '' x; do 5625 if test -z "$ac_lib"; then 5626 ac_res="none required" 5627 else 5628 ac_res=-l$ac_lib 5524 rm -f conftest.$ac_objext conftest$ac_exeext 5525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5526 (eval $ac_link) 2>conftest.er1 5527 ac_status=$? 5528 grep -v '^ *+' conftest.er1 >conftest.err 5529 rm -f conftest.er1 5530 cat conftest.err >&5 5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5532 (exit $ac_status); } && 5533 { ac_try='test -z "$ac_c_werror_flag" 5534 || test ! -s conftest.err' 5535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5536 (eval $ac_try) 2>&5 5537 ac_status=$? 5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5539 (exit $ac_status); }; } && 5540 { ac_try='test -s conftest$ac_exeext' 5541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5542 (eval $ac_try) 2>&5 5543 ac_status=$? 5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5545 (exit $ac_status); }; }; then 5546 ac_cv_search_opendir="-l$ac_lib" 5547 break 5548 else 5549 echo "$as_me: failed program was:" >&5 5550 sed 's/^/| /' conftest.$ac_ext >&5 5551 5552 fi 5553 rm -f conftest.err conftest.$ac_objext \ 5554 conftest$ac_exeext conftest.$ac_ext 5555 done 5556 fi 5557 LIBS=$ac_func_search_save_LIBS 5558 fi 5559 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5560 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5561 if test "$ac_cv_search_opendir" != no; then 5562 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5563 5564 fi 5565 5566 else 5567 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5568 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5569 if test "${ac_cv_search_opendir+set}" = set; then 5570 echo $ECHO_N "(cached) $ECHO_C" >&6 5571 else 5572 ac_func_search_save_LIBS=$LIBS 5573 ac_cv_search_opendir=no 5574 cat >conftest.$ac_ext <<_ACEOF 5575 /* confdefs.h. */ 5576 _ACEOF 5577 cat confdefs.h >>conftest.$ac_ext 5578 cat >>conftest.$ac_ext <<_ACEOF 5579 /* end confdefs.h. */ 5580 5581 /* Override any gcc2 internal prototype to avoid an error. */ 5582 #ifdef __cplusplus 5583 extern "C" 5584 #endif 5585 /* We use char because int might match the return type of a gcc2 5586 builtin and then its argument prototype would still apply. */ 5587 char opendir (); 5588 int 5589 main () 5590 { 5591 opendir (); 5592 ; 5593 return 0; 5594 } 5595 _ACEOF 5596 rm -f conftest.$ac_objext conftest$ac_exeext 5597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5598 (eval $ac_link) 2>conftest.er1 5599 ac_status=$? 5600 grep -v '^ *+' conftest.er1 >conftest.err 5601 rm -f conftest.er1 5602 cat conftest.err >&5 5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5604 (exit $ac_status); } && 5605 { ac_try='test -z "$ac_c_werror_flag" 5606 || test ! -s conftest.err' 5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5608 (eval $ac_try) 2>&5 5609 ac_status=$? 5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5611 (exit $ac_status); }; } && 5612 { ac_try='test -s conftest$ac_exeext' 5613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5614 (eval $ac_try) 2>&5 5615 ac_status=$? 5616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5617 (exit $ac_status); }; }; then 5618 ac_cv_search_opendir="none required" 5619 else 5620 echo "$as_me: failed program was:" >&5 5621 sed 's/^/| /' conftest.$ac_ext >&5 5622 5623 fi 5624 rm -f conftest.err conftest.$ac_objext \ 5625 conftest$ac_exeext conftest.$ac_ext 5626 if test "$ac_cv_search_opendir" = no; then 5627 for ac_lib in x; do 5629 5628 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5630 fi 5631 if ac_fn_c_try_link "$LINENO"; then : 5632 ac_cv_search_opendir=$ac_res 5633 fi 5634 rm -f core conftest.err conftest.$ac_objext \ 5635 conftest$ac_exeext 5636 if test "${ac_cv_search_opendir+set}" = set; then : 5637 break 5638 fi 5639 done 5640 if test "${ac_cv_search_opendir+set}" = set; then : 5641 5642 else 5643 ac_cv_search_opendir=no 5644 fi 5645 rm conftest.$ac_ext 5629 cat >conftest.$ac_ext <<_ACEOF 5630 /* confdefs.h. */ 5631 _ACEOF 5632 cat confdefs.h >>conftest.$ac_ext 5633 cat >>conftest.$ac_ext <<_ACEOF 5634 /* end confdefs.h. */ 5635 5636 /* Override any gcc2 internal prototype to avoid an error. */ 5637 #ifdef __cplusplus 5638 extern "C" 5639 #endif 5640 /* We use char because int might match the return type of a gcc2 5641 builtin and then its argument prototype would still apply. */ 5642 char opendir (); 5643 int 5644 main () 5645 { 5646 opendir (); 5647 ; 5648 return 0; 5649 } 5650 _ACEOF 5651 rm -f conftest.$ac_objext conftest$ac_exeext 5652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5653 (eval $ac_link) 2>conftest.er1 5654 ac_status=$? 5655 grep -v '^ *+' conftest.er1 >conftest.err 5656 rm -f conftest.er1 5657 cat conftest.err >&5 5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5659 (exit $ac_status); } && 5660 { ac_try='test -z "$ac_c_werror_flag" 5661 || test ! -s conftest.err' 5662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5663 (eval $ac_try) 2>&5 5664 ac_status=$? 5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5666 (exit $ac_status); }; } && 5667 { ac_try='test -s conftest$ac_exeext' 5668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5669 (eval $ac_try) 2>&5 5670 ac_status=$? 5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5672 (exit $ac_status); }; }; then 5673 ac_cv_search_opendir="-l$ac_lib" 5674 break 5675 else 5676 echo "$as_me: failed program was:" >&5 5677 sed 's/^/| /' conftest.$ac_ext >&5 5678 5679 fi 5680 rm -f conftest.err conftest.$ac_objext \ 5681 conftest$ac_exeext conftest.$ac_ext 5682 done 5683 fi 5646 5684 LIBS=$ac_func_search_save_LIBS 5647 5685 fi 5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5649 $as_echo "$ac_cv_search_opendir" >&6; } 5650 ac_res=$ac_cv_search_opendir 5651 if test "$ac_res" != no; then : 5652 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5653 5654 fi 5655 5656 fi 5657 5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5659 $as_echo_n "checking for ANSI C header files... " >&6; } 5660 if test "${ac_cv_header_stdc+set}" = set; then : 5661 $as_echo_n "(cached) " >&6 5662 else 5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5686 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5687 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5688 if test "$ac_cv_search_opendir" != no; then 5689 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5690 5691 fi 5692 5693 fi 5694 5695 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5696 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5697 if test "${ac_cv_header_stdc+set}" = set; then 5698 echo $ECHO_N "(cached) $ECHO_C" >&6 5699 else 5700 cat >conftest.$ac_ext <<_ACEOF 5701 /* confdefs.h. */ 5702 _ACEOF 5703 cat confdefs.h >>conftest.$ac_ext 5704 cat >>conftest.$ac_ext <<_ACEOF 5664 5705 /* end confdefs.h. */ 5665 5706 #include <stdlib.h> … … 5676 5717 } 5677 5718 _ACEOF 5678 if ac_fn_c_try_compile "$LINENO"; then : 5719 rm -f conftest.$ac_objext 5720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5721 (eval $ac_compile) 2>conftest.er1 5722 ac_status=$? 5723 grep -v '^ *+' conftest.er1 >conftest.err 5724 rm -f conftest.er1 5725 cat conftest.err >&5 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5727 (exit $ac_status); } && 5728 { ac_try='test -z "$ac_c_werror_flag" 5729 || test ! -s conftest.err' 5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5731 (eval $ac_try) 2>&5 5732 ac_status=$? 5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5734 (exit $ac_status); }; } && 5735 { ac_try='test -s conftest.$ac_objext' 5736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5737 (eval $ac_try) 2>&5 5738 ac_status=$? 5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5740 (exit $ac_status); }; }; then 5679 5741 ac_cv_header_stdc=yes 5680 5742 else 5681 ac_cv_header_stdc=no 5682 fi 5683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5743 echo "$as_me: failed program was:" >&5 5744 sed 's/^/| /' conftest.$ac_ext >&5 5745 5746 ac_cv_header_stdc=no 5747 fi 5748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5684 5749 5685 5750 if test $ac_cv_header_stdc = yes; then 5686 5751 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5752 cat >conftest.$ac_ext <<_ACEOF 5753 /* confdefs.h. */ 5754 _ACEOF 5755 cat confdefs.h >>conftest.$ac_ext 5756 cat >>conftest.$ac_ext <<_ACEOF 5688 5757 /* end confdefs.h. */ 5689 5758 #include <string.h> … … 5691 5760 _ACEOF 5692 5761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5693 $EGREP "memchr" >/dev/null 2>&1; then :5694 5762 $EGREP "memchr" >/dev/null 2>&1; then 5763 : 5695 5764 else 5696 5765 ac_cv_header_stdc=no … … 5702 5771 if test $ac_cv_header_stdc = yes; then 5703 5772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5773 cat >conftest.$ac_ext <<_ACEOF 5774 /* confdefs.h. */ 5775 _ACEOF 5776 cat confdefs.h >>conftest.$ac_ext 5777 cat >>conftest.$ac_ext <<_ACEOF 5705 5778 /* end confdefs.h. */ 5706 5779 #include <stdlib.h> … … 5708 5781 _ACEOF 5709 5782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5710 $EGREP "free" >/dev/null 2>&1; then :5711 5783 $EGREP "free" >/dev/null 2>&1; then 5784 : 5712 5785 else 5713 5786 ac_cv_header_stdc=no … … 5719 5792 if test $ac_cv_header_stdc = yes; then 5720 5793 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5721 if test "$cross_compiling" = yes; then :5794 if test "$cross_compiling" = yes; then 5722 5795 : 5723 5796 else 5724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5797 cat >conftest.$ac_ext <<_ACEOF 5798 /* confdefs.h. */ 5799 _ACEOF 5800 cat confdefs.h >>conftest.$ac_ext 5801 cat >>conftest.$ac_ext <<_ACEOF 5725 5802 /* end confdefs.h. */ 5726 5803 #include <ctype.h> 5727 #include <stdlib.h>5728 5804 #if ((' ' & 0x0FF) == 0x020) 5729 5805 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5745 5821 if (XOR (islower (i), ISLOWER (i)) 5746 5822 || toupper (i) != TOUPPER (i)) 5747 return 2;5748 return 0;5823 exit(2); 5824 exit (0); 5749 5825 } 5750 5826 _ACEOF 5751 if ac_fn_c_try_run "$LINENO"; then : 5752 5753 else 5754 ac_cv_header_stdc=no 5755 fi 5756 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5757 conftest.$ac_objext conftest.beam conftest.$ac_ext 5758 fi 5759 5760 fi 5761 fi 5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5763 $as_echo "$ac_cv_header_stdc" >&6; } 5827 rm -f conftest$ac_exeext 5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5829 (eval $ac_link) 2>&5 5830 ac_status=$? 5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5834 (eval $ac_try) 2>&5 5835 ac_status=$? 5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5837 (exit $ac_status); }; }; then 5838 : 5839 else 5840 echo "$as_me: program exited with status $ac_status" >&5 5841 echo "$as_me: failed program was:" >&5 5842 sed 's/^/| /' conftest.$ac_ext >&5 5843 5844 ( exit $ac_status ) 5845 ac_cv_header_stdc=no 5846 fi 5847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5848 fi 5849 fi 5850 fi 5851 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5852 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5764 5853 if test $ac_cv_header_stdc = yes; then 5765 5854 5766 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5767 5768 fi 5855 cat >>confdefs.h <<\_ACEOF 5856 #define STDC_HEADERS 1 5857 _ACEOF 5858 5859 fi 5860 5861 5862 5863 5864 5865 5866 5867 5868 5769 5869 5770 5870 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 5771 do : 5772 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5773 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5774 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5871 do 5872 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5873 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5874 echo "$as_me:$LINENO: checking for $ac_header" >&5 5875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5876 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5877 echo $ECHO_N "(cached) $ECHO_C" >&6 5878 fi 5879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5881 else 5882 # Is the header compilable? 5883 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5885 cat >conftest.$ac_ext <<_ACEOF 5886 /* confdefs.h. */ 5887 _ACEOF 5888 cat confdefs.h >>conftest.$ac_ext 5889 cat >>conftest.$ac_ext <<_ACEOF 5890 /* end confdefs.h. */ 5891 $ac_includes_default 5892 #include <$ac_header> 5893 _ACEOF 5894 rm -f conftest.$ac_objext 5895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5896 (eval $ac_compile) 2>conftest.er1 5897 ac_status=$? 5898 grep -v '^ *+' conftest.er1 >conftest.err 5899 rm -f conftest.er1 5900 cat conftest.err >&5 5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5902 (exit $ac_status); } && 5903 { ac_try='test -z "$ac_c_werror_flag" 5904 || test ! -s conftest.err' 5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5906 (eval $ac_try) 2>&5 5907 ac_status=$? 5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5909 (exit $ac_status); }; } && 5910 { ac_try='test -s conftest.$ac_objext' 5911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5912 (eval $ac_try) 2>&5 5913 ac_status=$? 5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5915 (exit $ac_status); }; }; then 5916 ac_header_compiler=yes 5917 else 5918 echo "$as_me: failed program was:" >&5 5919 sed 's/^/| /' conftest.$ac_ext >&5 5920 5921 ac_header_compiler=no 5922 fi 5923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5925 echo "${ECHO_T}$ac_header_compiler" >&6 5926 5927 # Is the header present? 5928 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5930 cat >conftest.$ac_ext <<_ACEOF 5931 /* confdefs.h. */ 5932 _ACEOF 5933 cat confdefs.h >>conftest.$ac_ext 5934 cat >>conftest.$ac_ext <<_ACEOF 5935 /* end confdefs.h. */ 5936 #include <$ac_header> 5937 _ACEOF 5938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5940 ac_status=$? 5941 grep -v '^ *+' conftest.er1 >conftest.err 5942 rm -f conftest.er1 5943 cat conftest.err >&5 5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5945 (exit $ac_status); } >/dev/null; then 5946 if test -s conftest.err; then 5947 ac_cpp_err=$ac_c_preproc_warn_flag 5948 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5949 else 5950 ac_cpp_err= 5951 fi 5952 else 5953 ac_cpp_err=yes 5954 fi 5955 if test -z "$ac_cpp_err"; then 5956 ac_header_preproc=yes 5957 else 5958 echo "$as_me: failed program was:" >&5 5959 sed 's/^/| /' conftest.$ac_ext >&5 5960 5961 ac_header_preproc=no 5962 fi 5963 rm -f conftest.err conftest.$ac_ext 5964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5965 echo "${ECHO_T}$ac_header_preproc" >&6 5966 5967 # So? What about this header? 5968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5969 yes:no: ) 5970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5974 ac_header_preproc=yes 5975 ;; 5976 no:yes:* ) 5977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5989 ( 5990 cat <<\_ASBOX 5991 ## ------------------------------------------ ## 5992 ## Report this to the AC_PACKAGE_NAME lists. ## 5993 ## ------------------------------------------ ## 5994 _ASBOX 5995 ) | 5996 sed "s/^/$as_me: WARNING: /" >&2 5997 ;; 5998 esac 5999 echo "$as_me:$LINENO: checking for $ac_header" >&5 6000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6001 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6002 echo $ECHO_N "(cached) $ECHO_C" >&6 6003 else 6004 eval "$as_ac_Header=\$ac_header_preproc" 6005 fi 6006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6008 6009 fi 6010 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5775 6011 cat >>confdefs.h <<_ACEOF 5776 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 16012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5777 6013 _ACEOF 5778 6014 … … 5781 6017 done 5782 6018 5783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6019 cat >conftest.$ac_ext <<_ACEOF 6020 /* confdefs.h. */ 6021 _ACEOF 6022 cat confdefs.h >>conftest.$ac_ext 6023 cat >>conftest.$ac_ext <<_ACEOF 5784 6024 /* end confdefs.h. */ 5785 6025 #include <stdio.h> … … 5787 6027 _ACEOF 5788 6028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5789 $EGREP "fread" >/dev/null 2>&1; then : 5790 $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h 6029 $EGREP "fread" >/dev/null 2>&1; then 6030 cat >>confdefs.h <<\_ACEOF 6031 #define HAVE_FREAD_DECL 1 6032 _ACEOF 5791 6033 5792 6034 fi 5793 6035 rm -f conftest* 5794 6036 5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6037 cat >conftest.$ac_ext <<_ACEOF 6038 /* confdefs.h. */ 6039 _ACEOF 6040 cat confdefs.h >>conftest.$ac_ext 6041 cat >>conftest.$ac_ext <<_ACEOF 5796 6042 /* end confdefs.h. */ 5797 6043 #include <stdio.h> … … 5799 6045 _ACEOF 5800 6046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5801 $EGREP "fgetc" >/dev/null 2>&1; then : 5802 $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h 6047 $EGREP "fgetc" >/dev/null 2>&1; then 6048 cat >>confdefs.h <<\_ACEOF 6049 #define HAVE_FGETC_DECL 1 6050 _ACEOF 5803 6051 5804 6052 fi 5805 6053 rm -f conftest* 5806 6054 5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6055 cat >conftest.$ac_ext <<_ACEOF 6056 /* confdefs.h. */ 6057 _ACEOF 6058 cat confdefs.h >>conftest.$ac_ext 6059 cat >>conftest.$ac_ext <<_ACEOF 5808 6060 /* end confdefs.h. */ 5809 6061 #include <sys/procfs.h> … … 5811 6063 _ACEOF 5812 6064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5813 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5814 $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h 6065 $EGREP "pr_brksize" >/dev/null 2>&1; then 6066 cat >>confdefs.h <<\_ACEOF 6067 #define HAVE_PR_BRKSIZE 1 6068 _ACEOF 5815 6069 5816 6070 fi … … 5820 6074 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5821 6075 # for constant arguments. Useless! 5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 5823 $as_echo_n "checking for working alloca.h... " >&6; } 5824 if test "${ac_cv_working_alloca_h+set}" = set; then : 5825 $as_echo_n "(cached) " >&6 5826 else 5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6076 echo "$as_me:$LINENO: checking for working alloca.h" >&5 6077 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 6078 if test "${ac_cv_working_alloca_h+set}" = set; then 6079 echo $ECHO_N "(cached) $ECHO_C" >&6 6080 else 6081 cat >conftest.$ac_ext <<_ACEOF 6082 /* confdefs.h. */ 6083 _ACEOF 6084 cat confdefs.h >>conftest.$ac_ext 6085 cat >>conftest.$ac_ext <<_ACEOF 5828 6086 /* end confdefs.h. */ 5829 6087 #include <alloca.h> … … 5832 6090 { 5833 6091 char *p = (char *) alloca (2 * sizeof (int)); 5834 if (p) return 0;5835 6092 ; 5836 6093 return 0; 5837 6094 } 5838 6095 _ACEOF 5839 if ac_fn_c_try_link "$LINENO"; then : 6096 rm -f conftest.$ac_objext conftest$ac_exeext 6097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6098 (eval $ac_link) 2>conftest.er1 6099 ac_status=$? 6100 grep -v '^ *+' conftest.er1 >conftest.err 6101 rm -f conftest.er1 6102 cat conftest.err >&5 6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6104 (exit $ac_status); } && 6105 { ac_try='test -z "$ac_c_werror_flag" 6106 || test ! -s conftest.err' 6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6108 (eval $ac_try) 2>&5 6109 ac_status=$? 6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6111 (exit $ac_status); }; } && 6112 { ac_try='test -s conftest$ac_exeext' 6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6114 (eval $ac_try) 2>&5 6115 ac_status=$? 6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6117 (exit $ac_status); }; }; then 5840 6118 ac_cv_working_alloca_h=yes 5841 6119 else 5842 ac_cv_working_alloca_h=no 5843 fi 5844 rm -f core conftest.err conftest.$ac_objext \ 5845 conftest$ac_exeext conftest.$ac_ext 5846 fi 5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 5848 $as_echo "$ac_cv_working_alloca_h" >&6; } 6120 echo "$as_me: failed program was:" >&5 6121 sed 's/^/| /' conftest.$ac_ext >&5 6122 6123 ac_cv_working_alloca_h=no 6124 fi 6125 rm -f conftest.err conftest.$ac_objext \ 6126 conftest$ac_exeext conftest.$ac_ext 6127 fi 6128 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 6129 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5849 6130 if test $ac_cv_working_alloca_h = yes; then 5850 6131 5851 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5852 5853 fi 5854 5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 5856 $as_echo_n "checking for alloca... " >&6; } 5857 if test "${ac_cv_func_alloca_works+set}" = set; then : 5858 $as_echo_n "(cached) " >&6 5859 else 5860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6132 cat >>confdefs.h <<\_ACEOF 6133 #define HAVE_ALLOCA_H 1 6134 _ACEOF 6135 6136 fi 6137 6138 echo "$as_me:$LINENO: checking for alloca" >&5 6139 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 6140 if test "${ac_cv_func_alloca_works+set}" = set; then 6141 echo $ECHO_N "(cached) $ECHO_C" >&6 6142 else 6143 cat >conftest.$ac_ext <<_ACEOF 6144 /* confdefs.h. */ 6145 _ACEOF 6146 cat confdefs.h >>conftest.$ac_ext 6147 cat >>conftest.$ac_ext <<_ACEOF 5861 6148 /* end confdefs.h. */ 5862 6149 #ifdef __GNUC__ … … 5867 6154 # define alloca _alloca 5868 6155 # else 5869 # if defHAVE_ALLOCA_H6156 # if HAVE_ALLOCA_H 5870 6157 # include <alloca.h> 5871 6158 # else … … 5885 6172 { 5886 6173 char *p = (char *) alloca (1); 5887 if (p) return 0;5888 6174 ; 5889 6175 return 0; 5890 6176 } 5891 6177 _ACEOF 5892 if ac_fn_c_try_link "$LINENO"; then : 6178 rm -f conftest.$ac_objext conftest$ac_exeext 6179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6180 (eval $ac_link) 2>conftest.er1 6181 ac_status=$? 6182 grep -v '^ *+' conftest.er1 >conftest.err 6183 rm -f conftest.er1 6184 cat conftest.err >&5 6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6186 (exit $ac_status); } && 6187 { ac_try='test -z "$ac_c_werror_flag" 6188 || test ! -s conftest.err' 6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6190 (eval $ac_try) 2>&5 6191 ac_status=$? 6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6193 (exit $ac_status); }; } && 6194 { ac_try='test -s conftest$ac_exeext' 6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6196 (eval $ac_try) 2>&5 6197 ac_status=$? 6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6199 (exit $ac_status); }; }; then 5893 6200 ac_cv_func_alloca_works=yes 5894 6201 else 5895 ac_cv_func_alloca_works=no 5896 fi 5897 rm -f core conftest.err conftest.$ac_objext \ 5898 conftest$ac_exeext conftest.$ac_ext 5899 fi 5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 5901 $as_echo "$ac_cv_func_alloca_works" >&6; } 6202 echo "$as_me: failed program was:" >&5 6203 sed 's/^/| /' conftest.$ac_ext >&5 6204 6205 ac_cv_func_alloca_works=no 6206 fi 6207 rm -f conftest.err conftest.$ac_objext \ 6208 conftest$ac_exeext conftest.$ac_ext 6209 fi 6210 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6211 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 5902 6212 5903 6213 if test $ac_cv_func_alloca_works = yes; then 5904 6214 5905 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 6215 cat >>confdefs.h <<\_ACEOF 6216 #define HAVE_ALLOCA 1 6217 _ACEOF 5906 6218 5907 6219 else … … 5911 6223 # use ar to extract alloca.o from them instead of compiling alloca.c. 5912 6224 5913 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5914 5915 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5916 5917 5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 5919 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5920 if test "${ac_cv_os_cray+set}" = set; then : 5921 $as_echo_n "(cached) " >&6 5922 else 5923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6225 ALLOCA=alloca.$ac_objext 6226 6227 cat >>confdefs.h <<\_ACEOF 6228 #define C_ALLOCA 1 6229 _ACEOF 6230 6231 6232 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6233 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6234 if test "${ac_cv_os_cray+set}" = set; then 6235 echo $ECHO_N "(cached) $ECHO_C" >&6 6236 else 6237 cat >conftest.$ac_ext <<_ACEOF 6238 /* confdefs.h. */ 6239 _ACEOF 6240 cat confdefs.h >>conftest.$ac_ext 6241 cat >>conftest.$ac_ext <<_ACEOF 5924 6242 /* end confdefs.h. */ 5925 #if defined CRAY && ! defined CRAY26243 #if defined(CRAY) && ! defined(CRAY2) 5926 6244 webecray 5927 6245 #else … … 5931 6249 _ACEOF 5932 6250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5933 $EGREP "webecray" >/dev/null 2>&1; then :6251 $EGREP "webecray" >/dev/null 2>&1; then 5934 6252 ac_cv_os_cray=yes 5935 6253 else … … 5939 6257 5940 6258 fi 5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&55942 $as_echo "$ac_cv_os_cray" >&6; } 6259 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6260 echo "${ECHO_T}$ac_cv_os_cray" >&6 5943 6261 if test $ac_cv_os_cray = yes; then 5944 6262 for ac_func in _getb67 GETB67 getb67; do 5945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5947 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6264 echo "$as_me:$LINENO: checking for $ac_func" >&5 6265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6266 if eval "test \"\${$as_ac_var+set}\" = set"; then 6267 echo $ECHO_N "(cached) $ECHO_C" >&6 6268 else 6269 cat >conftest.$ac_ext <<_ACEOF 6270 /* confdefs.h. */ 6271 _ACEOF 6272 cat confdefs.h >>conftest.$ac_ext 6273 cat >>conftest.$ac_ext <<_ACEOF 6274 /* end confdefs.h. */ 6275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6276 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6277 #define $ac_func innocuous_$ac_func 6278 6279 /* System header to define __stub macros and hopefully few prototypes, 6280 which can conflict with char $ac_func (); below. 6281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6282 <limits.h> exists even on freestanding compilers. */ 6283 6284 #ifdef __STDC__ 6285 # include <limits.h> 6286 #else 6287 # include <assert.h> 6288 #endif 6289 6290 #undef $ac_func 6291 6292 /* Override any gcc2 internal prototype to avoid an error. */ 6293 #ifdef __cplusplus 6294 extern "C" 6295 { 6296 #endif 6297 /* We use char because int might match the return type of a gcc2 6298 builtin and then its argument prototype would still apply. */ 6299 char $ac_func (); 6300 /* The GNU C library defines this for functions which it implements 6301 to always fail with ENOSYS. Some functions are actually named 6302 something starting with __ and the normal name is an alias. */ 6303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6304 choke me 6305 #else 6306 char (*f) () = $ac_func; 6307 #endif 6308 #ifdef __cplusplus 6309 } 6310 #endif 6311 6312 int 6313 main () 6314 { 6315 return f != $ac_func; 6316 ; 6317 return 0; 6318 } 6319 _ACEOF 6320 rm -f conftest.$ac_objext conftest$ac_exeext 6321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6322 (eval $ac_link) 2>conftest.er1 6323 ac_status=$? 6324 grep -v '^ *+' conftest.er1 >conftest.err 6325 rm -f conftest.er1 6326 cat conftest.err >&5 6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6328 (exit $ac_status); } && 6329 { ac_try='test -z "$ac_c_werror_flag" 6330 || test ! -s conftest.err' 6331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6332 (eval $ac_try) 2>&5 6333 ac_status=$? 6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6335 (exit $ac_status); }; } && 6336 { ac_try='test -s conftest$ac_exeext' 6337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6338 (eval $ac_try) 2>&5 6339 ac_status=$? 6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6341 (exit $ac_status); }; }; then 6342 eval "$as_ac_var=yes" 6343 else 6344 echo "$as_me: failed program was:" >&5 6345 sed 's/^/| /' conftest.$ac_ext >&5 6346 6347 eval "$as_ac_var=no" 6348 fi 6349 rm -f conftest.err conftest.$ac_objext \ 6350 conftest$ac_exeext conftest.$ac_ext 6351 fi 6352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6354 if test `eval echo '${'$as_ac_var'}'` = yes; then 5948 6355 5949 6356 cat >>confdefs.h <<_ACEOF … … 5957 6364 fi 5958 6365 5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&55960 $as_echo_n "checking stack direction for C alloca... " >&6; } 5961 if test "${ac_cv_c_stack_direction+set}" = set; then :5962 $as_echo_n "(cached)" >&65963 else 5964 if test "$cross_compiling" = yes; then :6366 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 6367 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6368 if test "${ac_cv_c_stack_direction+set}" = set; then 6369 echo $ECHO_N "(cached) $ECHO_C" >&6 6370 else 6371 if test "$cross_compiling" = yes; then 5965 6372 ac_cv_c_stack_direction=0 5966 6373 else 5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6374 cat >conftest.$ac_ext <<_ACEOF 6375 /* confdefs.h. */ 6376 _ACEOF 6377 cat confdefs.h >>conftest.$ac_ext 6378 cat >>conftest.$ac_ext <<_ACEOF 5968 6379 /* end confdefs.h. */ 5969 $ac_includes_default5970 6380 int 5971 6381 find_stack_direction () … … 5985 6395 main () 5986 6396 { 5987 return find_stack_direction () < 0;6397 exit (find_stack_direction () < 0); 5988 6398 } 5989 6399 _ACEOF 5990 if ac_fn_c_try_run "$LINENO"; then : 6400 rm -f conftest$ac_exeext 6401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6402 (eval $ac_link) 2>&5 6403 ac_status=$? 6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6407 (eval $ac_try) 2>&5 6408 ac_status=$? 6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6410 (exit $ac_status); }; }; then 5991 6411 ac_cv_c_stack_direction=1 5992 6412 else 5993 ac_cv_c_stack_direction=-1 5994 fi 5995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5996 conftest.$ac_objext conftest.beam conftest.$ac_ext 5997 fi 5998 5999 fi 6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 6001 $as_echo "$ac_cv_c_stack_direction" >&6; } 6413 echo "$as_me: program exited with status $ac_status" >&5 6414 echo "$as_me: failed program was:" >&5 6415 sed 's/^/| /' conftest.$ac_ext >&5 6416 6417 ( exit $ac_status ) 6418 ac_cv_c_stack_direction=-1 6419 fi 6420 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6421 fi 6422 fi 6423 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6424 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 6425 6002 6426 cat >>confdefs.h <<_ACEOF 6003 6427 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 6008 6432 6009 6433 if test $ac_cv_c_compiler_gnu = yes; then 6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&56011 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6012 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :6013 $as_echo_n "(cached)" >&66434 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 6435 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 6436 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6437 echo $ECHO_N "(cached) $ECHO_C" >&6 6014 6438 else 6015 6439 ac_pattern="Autoconf.*'x'" 6016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6440 cat >conftest.$ac_ext <<_ACEOF 6441 /* confdefs.h. */ 6442 _ACEOF 6443 cat confdefs.h >>conftest.$ac_ext 6444 cat >>conftest.$ac_ext <<_ACEOF 6017 6445 /* end confdefs.h. */ 6018 6446 #include <sgtty.h> … … 6020 6448 _ACEOF 6021 6449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6022 $EGREP "$ac_pattern" >/dev/null 2>&1; then :6450 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6023 6451 ac_cv_prog_gcc_traditional=yes 6024 6452 else … … 6029 6457 6030 6458 if test $ac_cv_prog_gcc_traditional = no; then 6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6459 cat >conftest.$ac_ext <<_ACEOF 6460 /* confdefs.h. */ 6461 _ACEOF 6462 cat confdefs.h >>conftest.$ac_ext 6463 cat >>conftest.$ac_ext <<_ACEOF 6032 6464 /* end confdefs.h. */ 6033 6465 #include <termio.h> … … 6035 6467 _ACEOF 6036 6468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6037 $EGREP "$ac_pattern" >/dev/null 2>&1; then :6469 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6038 6470 ac_cv_prog_gcc_traditional=yes 6039 6471 fi … … 6042 6474 fi 6043 6475 fi 6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&56045 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6476 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 6477 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 6046 6478 if test $ac_cv_prog_gcc_traditional = yes; then 6047 6479 CC="$CC -traditional" … … 6049 6481 fi 6050 6482 6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 6052 $as_echo_n "checking return type of signal handlers... " >&6; } 6053 if test "${ac_cv_type_signal+set}" = set; then : 6054 $as_echo_n "(cached) " >&6 6055 else 6056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6483 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6484 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 6485 if test "${ac_cv_type_signal+set}" = set; then 6486 echo $ECHO_N "(cached) $ECHO_C" >&6 6487 else 6488 cat >conftest.$ac_ext <<_ACEOF 6489 /* confdefs.h. */ 6490 _ACEOF 6491 cat confdefs.h >>conftest.$ac_ext 6492 cat >>conftest.$ac_ext <<_ACEOF 6057 6493 /* end confdefs.h. */ 6058 6494 #include <sys/types.h> 6059 6495 #include <signal.h> 6496 #ifdef signal 6497 # undef signal 6498 #endif 6499 #ifdef __cplusplus 6500 extern "C" void (*signal (int, void (*)(int)))(int); 6501 #else 6502 void (*signal ()) (); 6503 #endif 6060 6504 6061 6505 int 6062 6506 main () 6063 6507 { 6064 return *(signal (0, 0)) (0) == 1;6508 int i; 6065 6509 ; 6066 6510 return 0; 6067 6511 } 6068 6512 _ACEOF 6069 if ac_fn_c_try_compile "$LINENO"; then : 6070 ac_cv_type_signal=int 6071 else 6513 rm -f conftest.$ac_objext 6514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6515 (eval $ac_compile) 2>conftest.er1 6516 ac_status=$? 6517 grep -v '^ *+' conftest.er1 >conftest.err 6518 rm -f conftest.er1 6519 cat conftest.err >&5 6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6521 (exit $ac_status); } && 6522 { ac_try='test -z "$ac_c_werror_flag" 6523 || test ! -s conftest.err' 6524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6525 (eval $ac_try) 2>&5 6526 ac_status=$? 6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6528 (exit $ac_status); }; } && 6529 { ac_try='test -s conftest.$ac_objext' 6530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6531 (eval $ac_try) 2>&5 6532 ac_status=$? 6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6534 (exit $ac_status); }; }; then 6072 6535 ac_cv_type_signal=void 6073 fi 6074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6075 fi 6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 6077 $as_echo "$ac_cv_type_signal" >&6; } 6536 else 6537 echo "$as_me: failed program was:" >&5 6538 sed 's/^/| /' conftest.$ac_ext >&5 6539 6540 ac_cv_type_signal=int 6541 fi 6542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6543 fi 6544 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6545 echo "${ECHO_T}$ac_cv_type_signal" >&6 6078 6546 6079 6547 cat >>confdefs.h <<_ACEOF … … 6082 6550 6083 6551 6552 6084 6553 for ac_func in vprintf 6085 do : 6086 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 6087 if test "x$ac_cv_func_vprintf" = x""yes; then : 6554 do 6555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6556 echo "$as_me:$LINENO: checking for $ac_func" >&5 6557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6558 if eval "test \"\${$as_ac_var+set}\" = set"; then 6559 echo $ECHO_N "(cached) $ECHO_C" >&6 6560 else 6561 cat >conftest.$ac_ext <<_ACEOF 6562 /* confdefs.h. */ 6563 _ACEOF 6564 cat confdefs.h >>conftest.$ac_ext 6565 cat >>conftest.$ac_ext <<_ACEOF 6566 /* end confdefs.h. */ 6567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6568 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6569 #define $ac_func innocuous_$ac_func 6570 6571 /* System header to define __stub macros and hopefully few prototypes, 6572 which can conflict with char $ac_func (); below. 6573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6574 <limits.h> exists even on freestanding compilers. */ 6575 6576 #ifdef __STDC__ 6577 # include <limits.h> 6578 #else 6579 # include <assert.h> 6580 #endif 6581 6582 #undef $ac_func 6583 6584 /* Override any gcc2 internal prototype to avoid an error. */ 6585 #ifdef __cplusplus 6586 extern "C" 6587 { 6588 #endif 6589 /* We use char because int might match the return type of a gcc2 6590 builtin and then its argument prototype would still apply. */ 6591 char $ac_func (); 6592 /* The GNU C library defines this for functions which it implements 6593 to always fail with ENOSYS. Some functions are actually named 6594 something starting with __ and the normal name is an alias. */ 6595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6596 choke me 6597 #else 6598 char (*f) () = $ac_func; 6599 #endif 6600 #ifdef __cplusplus 6601 } 6602 #endif 6603 6604 int 6605 main () 6606 { 6607 return f != $ac_func; 6608 ; 6609 return 0; 6610 } 6611 _ACEOF 6612 rm -f conftest.$ac_objext conftest$ac_exeext 6613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6614 (eval $ac_link) 2>conftest.er1 6615 ac_status=$? 6616 grep -v '^ *+' conftest.er1 >conftest.err 6617 rm -f conftest.er1 6618 cat conftest.err >&5 6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6620 (exit $ac_status); } && 6621 { ac_try='test -z "$ac_c_werror_flag" 6622 || test ! -s conftest.err' 6623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6624 (eval $ac_try) 2>&5 6625 ac_status=$? 6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6627 (exit $ac_status); }; } && 6628 { ac_try='test -s conftest$ac_exeext' 6629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6630 (eval $ac_try) 2>&5 6631 ac_status=$? 6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6633 (exit $ac_status); }; }; then 6634 eval "$as_ac_var=yes" 6635 else 6636 echo "$as_me: failed program was:" >&5 6637 sed 's/^/| /' conftest.$ac_ext >&5 6638 6639 eval "$as_ac_var=no" 6640 fi 6641 rm -f conftest.err conftest.$ac_objext \ 6642 conftest$ac_exeext conftest.$ac_ext 6643 fi 6644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6646 if test `eval echo '${'$as_ac_var'}'` = yes; then 6088 6647 cat >>confdefs.h <<_ACEOF 6089 #define HAVE_VPRINTF 1 6090 _ACEOF 6091 6092 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 6093 if test "x$ac_cv_func__doprnt" = x""yes; then : 6094 6095 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 6648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6649 _ACEOF 6650 6651 echo "$as_me:$LINENO: checking for _doprnt" >&5 6652 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 6653 if test "${ac_cv_func__doprnt+set}" = set; then 6654 echo $ECHO_N "(cached) $ECHO_C" >&6 6655 else 6656 cat >conftest.$ac_ext <<_ACEOF 6657 /* confdefs.h. */ 6658 _ACEOF 6659 cat confdefs.h >>conftest.$ac_ext 6660 cat >>conftest.$ac_ext <<_ACEOF 6661 /* end confdefs.h. */ 6662 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 6663 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6664 #define _doprnt innocuous__doprnt 6665 6666 /* System header to define __stub macros and hopefully few prototypes, 6667 which can conflict with char _doprnt (); below. 6668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6669 <limits.h> exists even on freestanding compilers. */ 6670 6671 #ifdef __STDC__ 6672 # include <limits.h> 6673 #else 6674 # include <assert.h> 6675 #endif 6676 6677 #undef _doprnt 6678 6679 /* Override any gcc2 internal prototype to avoid an error. */ 6680 #ifdef __cplusplus 6681 extern "C" 6682 { 6683 #endif 6684 /* We use char because int might match the return type of a gcc2 6685 builtin and then its argument prototype would still apply. */ 6686 char _doprnt (); 6687 /* The GNU C library defines this for functions which it implements 6688 to always fail with ENOSYS. Some functions are actually named 6689 something starting with __ and the normal name is an alias. */ 6690 #if defined (__stub__doprnt) || defined (__stub____doprnt) 6691 choke me 6692 #else 6693 char (*f) () = _doprnt; 6694 #endif 6695 #ifdef __cplusplus 6696 } 6697 #endif 6698 6699 int 6700 main () 6701 { 6702 return f != _doprnt; 6703 ; 6704 return 0; 6705 } 6706 _ACEOF 6707 rm -f conftest.$ac_objext conftest$ac_exeext 6708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6709 (eval $ac_link) 2>conftest.er1 6710 ac_status=$? 6711 grep -v '^ *+' conftest.er1 >conftest.err 6712 rm -f conftest.er1 6713 cat conftest.err >&5 6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6715 (exit $ac_status); } && 6716 { ac_try='test -z "$ac_c_werror_flag" 6717 || test ! -s conftest.err' 6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6719 (eval $ac_try) 2>&5 6720 ac_status=$? 6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6722 (exit $ac_status); }; } && 6723 { ac_try='test -s conftest$ac_exeext' 6724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6725 (eval $ac_try) 2>&5 6726 ac_status=$? 6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6728 (exit $ac_status); }; }; then 6729 ac_cv_func__doprnt=yes 6730 else 6731 echo "$as_me: failed program was:" >&5 6732 sed 's/^/| /' conftest.$ac_ext >&5 6733 6734 ac_cv_func__doprnt=no 6735 fi 6736 rm -f conftest.err conftest.$ac_objext \ 6737 conftest$ac_exeext conftest.$ac_ext 6738 fi 6739 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 6740 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6741 if test $ac_cv_func__doprnt = yes; then 6742 6743 cat >>confdefs.h <<\_ACEOF 6744 #define HAVE_DOPRNT 1 6745 _ACEOF 6096 6746 6097 6747 fi … … 6101 6751 6102 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6103 6763 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6104 do : 6105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6107 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6764 do 6765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6766 echo "$as_me:$LINENO: checking for $ac_func" >&5 6767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6768 if eval "test \"\${$as_ac_var+set}\" = set"; then 6769 echo $ECHO_N "(cached) $ECHO_C" >&6 6770 else 6771 cat >conftest.$ac_ext <<_ACEOF 6772 /* confdefs.h. */ 6773 _ACEOF 6774 cat confdefs.h >>conftest.$ac_ext 6775 cat >>conftest.$ac_ext <<_ACEOF 6776 /* end confdefs.h. */ 6777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6778 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6779 #define $ac_func innocuous_$ac_func 6780 6781 /* System header to define __stub macros and hopefully few prototypes, 6782 which can conflict with char $ac_func (); below. 6783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6784 <limits.h> exists even on freestanding compilers. */ 6785 6786 #ifdef __STDC__ 6787 # include <limits.h> 6788 #else 6789 # include <assert.h> 6790 #endif 6791 6792 #undef $ac_func 6793 6794 /* Override any gcc2 internal prototype to avoid an error. */ 6795 #ifdef __cplusplus 6796 extern "C" 6797 { 6798 #endif 6799 /* We use char because int might match the return type of a gcc2 6800 builtin and then its argument prototype would still apply. */ 6801 char $ac_func (); 6802 /* The GNU C library defines this for functions which it implements 6803 to always fail with ENOSYS. Some functions are actually named 6804 something starting with __ and the normal name is an alias. */ 6805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6806 choke me 6807 #else 6808 char (*f) () = $ac_func; 6809 #endif 6810 #ifdef __cplusplus 6811 } 6812 #endif 6813 6814 int 6815 main () 6816 { 6817 return f != $ac_func; 6818 ; 6819 return 0; 6820 } 6821 _ACEOF 6822 rm -f conftest.$ac_objext conftest$ac_exeext 6823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6824 (eval $ac_link) 2>conftest.er1 6825 ac_status=$? 6826 grep -v '^ *+' conftest.er1 >conftest.err 6827 rm -f conftest.er1 6828 cat conftest.err >&5 6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6830 (exit $ac_status); } && 6831 { ac_try='test -z "$ac_c_werror_flag" 6832 || test ! -s conftest.err' 6833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6834 (eval $ac_try) 2>&5 6835 ac_status=$? 6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6837 (exit $ac_status); }; } && 6838 { ac_try='test -s conftest$ac_exeext' 6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6840 (eval $ac_try) 2>&5 6841 ac_status=$? 6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6843 (exit $ac_status); }; }; then 6844 eval "$as_ac_var=yes" 6845 else 6846 echo "$as_me: failed program was:" >&5 6847 sed 's/^/| /' conftest.$ac_ext >&5 6848 6849 eval "$as_ac_var=no" 6850 fi 6851 rm -f conftest.err conftest.$ac_objext \ 6852 conftest$ac_exeext conftest.$ac_ext 6853 fi 6854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6856 if test `eval echo '${'$as_ac_var'}'` = yes; then 6108 6857 cat >>confdefs.h <<_ACEOF 6109 #define ` $as_echo "HAVE_$ac_func" | $as_tr_cpp` 16858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6110 6859 _ACEOF 6111 6860 … … 6113 6862 done 6114 6863 6115 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" 6116 if test "x$ac_cv_func_ftruncate" = x""yes; then : 6117 $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h 6118 6119 else 6120 case " $LIBOBJS " in 6121 *" ftruncate.$ac_objext "* ) ;; 6122 *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext" 6123 ;; 6864 6865 6866 6867 for ac_func in ftruncate strstr strcasecmp 6868 do 6869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6870 echo "$as_me:$LINENO: checking for $ac_func" >&5 6871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6872 if eval "test \"\${$as_ac_var+set}\" = set"; then 6873 echo $ECHO_N "(cached) $ECHO_C" >&6 6874 else 6875 cat >conftest.$ac_ext <<_ACEOF 6876 /* confdefs.h. */ 6877 _ACEOF 6878 cat confdefs.h >>conftest.$ac_ext 6879 cat >>conftest.$ac_ext <<_ACEOF 6880 /* end confdefs.h. */ 6881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6882 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6883 #define $ac_func innocuous_$ac_func 6884 6885 /* System header to define __stub macros and hopefully few prototypes, 6886 which can conflict with char $ac_func (); below. 6887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6888 <limits.h> exists even on freestanding compilers. */ 6889 6890 #ifdef __STDC__ 6891 # include <limits.h> 6892 #else 6893 # include <assert.h> 6894 #endif 6895 6896 #undef $ac_func 6897 6898 /* Override any gcc2 internal prototype to avoid an error. */ 6899 #ifdef __cplusplus 6900 extern "C" 6901 { 6902 #endif 6903 /* We use char because int might match the return type of a gcc2 6904 builtin and then its argument prototype would still apply. */ 6905 char $ac_func (); 6906 /* The GNU C library defines this for functions which it implements 6907 to always fail with ENOSYS. Some functions are actually named 6908 something starting with __ and the normal name is an alias. */ 6909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6910 choke me 6911 #else 6912 char (*f) () = $ac_func; 6913 #endif 6914 #ifdef __cplusplus 6915 } 6916 #endif 6917 6918 int 6919 main () 6920 { 6921 return f != $ac_func; 6922 ; 6923 return 0; 6924 } 6925 _ACEOF 6926 rm -f conftest.$ac_objext conftest$ac_exeext 6927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6928 (eval $ac_link) 2>conftest.er1 6929 ac_status=$? 6930 grep -v '^ *+' conftest.er1 >conftest.err 6931 rm -f conftest.er1 6932 cat conftest.err >&5 6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6934 (exit $ac_status); } && 6935 { ac_try='test -z "$ac_c_werror_flag" 6936 || test ! -s conftest.err' 6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6938 (eval $ac_try) 2>&5 6939 ac_status=$? 6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6941 (exit $ac_status); }; } && 6942 { ac_try='test -s conftest$ac_exeext' 6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6944 (eval $ac_try) 2>&5 6945 ac_status=$? 6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6947 (exit $ac_status); }; }; then 6948 eval "$as_ac_var=yes" 6949 else 6950 echo "$as_me: failed program was:" >&5 6951 sed 's/^/| /' conftest.$ac_ext >&5 6952 6953 eval "$as_ac_var=no" 6954 fi 6955 rm -f conftest.err conftest.$ac_objext \ 6956 conftest$ac_exeext conftest.$ac_ext 6957 fi 6958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6960 if test `eval echo '${'$as_ac_var'}'` = yes; then 6961 cat >>confdefs.h <<_ACEOF 6962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6963 _ACEOF 6964 6965 else 6966 case $LIBOBJS in 6967 "$ac_func.$ac_objext" | \ 6968 *" $ac_func.$ac_objext" | \ 6969 "$ac_func.$ac_objext "* | \ 6970 *" $ac_func.$ac_objext "* ) ;; 6971 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 6124 6972 esac 6125 6973 6126 6974 fi 6127 6128 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 6129 if test "x$ac_cv_func_strstr" = x""yes; then : 6130 $as_echo "#define HAVE_STRSTR 1" >>confdefs.h 6131 6132 else 6133 case " $LIBOBJS " in 6134 *" strstr.$ac_objext "* ) ;; 6135 *) LIBOBJS="$LIBOBJS strstr.$ac_objext" 6136 ;; 6137 esac 6138 6139 fi 6140 6141 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 6142 if test "x$ac_cv_func_strcasecmp" = x""yes; then : 6143 $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h 6144 6145 else 6146 case " $LIBOBJS " in 6147 *" strcasecmp.$ac_objext "* ) ;; 6148 *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" 6149 ;; 6150 esac 6151 6152 fi 6153 6154 6155 6156 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain" 6157 if test "x$ac_cv_func_textdomain" = x""yes; then : 6158 $as_echo "#define ENABLE_NLS 1" >>confdefs.h 6975 done 6976 6977 6978 6979 echo "$as_me:$LINENO: checking for textdomain" >&5 6980 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 6981 if test "${ac_cv_func_textdomain+set}" = set; then 6982 echo $ECHO_N "(cached) $ECHO_C" >&6 6983 else 6984 cat >conftest.$ac_ext <<_ACEOF 6985 /* confdefs.h. */ 6986 _ACEOF 6987 cat confdefs.h >>conftest.$ac_ext 6988 cat >>conftest.$ac_ext <<_ACEOF 6989 /* end confdefs.h. */ 6990 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain. 6991 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6992 #define textdomain innocuous_textdomain 6993 6994 /* System header to define __stub macros and hopefully few prototypes, 6995 which can conflict with char textdomain (); below. 6996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6997 <limits.h> exists even on freestanding compilers. */ 6998 6999 #ifdef __STDC__ 7000 # include <limits.h> 7001 #else 7002 # include <assert.h> 7003 #endif 7004 7005 #undef textdomain 7006 7007 /* Override any gcc2 internal prototype to avoid an error. */ 7008 #ifdef __cplusplus 7009 extern "C" 7010 { 7011 #endif 7012 /* We use char because int might match the return type of a gcc2 7013 builtin and then its argument prototype would still apply. */ 7014 char textdomain (); 7015 /* The GNU C library defines this for functions which it implements 7016 to always fail with ENOSYS. Some functions are actually named 7017 something starting with __ and the normal name is an alias. */ 7018 #if defined (__stub_textdomain) || defined (__stub___textdomain) 7019 choke me 7020 #else 7021 char (*f) () = textdomain; 7022 #endif 7023 #ifdef __cplusplus 7024 } 7025 #endif 7026 7027 int 7028 main () 7029 { 7030 return f != textdomain; 7031 ; 7032 return 0; 7033 } 7034 _ACEOF 7035 rm -f conftest.$ac_objext conftest$ac_exeext 7036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7037 (eval $ac_link) 2>conftest.er1 7038 ac_status=$? 7039 grep -v '^ *+' conftest.er1 >conftest.err 7040 rm -f conftest.er1 7041 cat conftest.err >&5 7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7043 (exit $ac_status); } && 7044 { ac_try='test -z "$ac_c_werror_flag" 7045 || test ! -s conftest.err' 7046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7047 (eval $ac_try) 2>&5 7048 ac_status=$? 7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7050 (exit $ac_status); }; } && 7051 { ac_try='test -s conftest$ac_exeext' 7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7053 (eval $ac_try) 2>&5 7054 ac_status=$? 7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7056 (exit $ac_status); }; }; then 7057 ac_cv_func_textdomain=yes 7058 else 7059 echo "$as_me: failed program was:" >&5 7060 sed 's/^/| /' conftest.$ac_ext >&5 7061 7062 ac_cv_func_textdomain=no 7063 fi 7064 rm -f conftest.err conftest.$ac_objext \ 7065 conftest$ac_exeext conftest.$ac_ext 7066 fi 7067 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 7068 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 7069 if test $ac_cv_func_textdomain = yes; then 7070 cat >>confdefs.h <<\_ACEOF 7071 #define ENABLE_NLS 1 7072 _ACEOF 6159 7073 6160 7074 fi … … 6163 7077 # *** Custom checking (based on GNU tar configure.in) *** 6164 7078 # --------------------------------------------------------------------------- 6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&56166 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7079 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 7080 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 6167 7081 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6169 $as_echo "yes" >&6; } 6170 case " $LIBOBJS " in 7082 echo "$as_me:$LINENO: result: yes" >&5 7083 echo "${ECHO_T}yes" >&6 7084 case $LIBOBJS in 7085 "gmalloc.$ac_objext" | \ 7086 *" gmalloc.$ac_objext" | \ 7087 "gmalloc.$ac_objext "* | \ 6171 7088 *" gmalloc.$ac_objext "* ) ;; 6172 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 6173 ;; 7089 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 6174 7090 esac 6175 7091 6176 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 6177 6178 else 6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6180 $as_echo "no" >&6; } 6181 for ac_func in valloc 6182 do : 6183 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 6184 if test "x$ac_cv_func_valloc" = x""yes; then : 7092 cat >>confdefs.h <<\_ACEOF 7093 #define HAVE_VALLOC 1 7094 _ACEOF 7095 7096 else 7097 echo "$as_me:$LINENO: result: no" >&5 7098 echo "${ECHO_T}no" >&6 7099 7100 for ac_func in valloc 7101 do 7102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7103 echo "$as_me:$LINENO: checking for $ac_func" >&5 7104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7105 if eval "test \"\${$as_ac_var+set}\" = set"; then 7106 echo $ECHO_N "(cached) $ECHO_C" >&6 7107 else 7108 cat >conftest.$ac_ext <<_ACEOF 7109 /* confdefs.h. */ 7110 _ACEOF 7111 cat confdefs.h >>conftest.$ac_ext 7112 cat >>conftest.$ac_ext <<_ACEOF 7113 /* end confdefs.h. */ 7114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7115 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7116 #define $ac_func innocuous_$ac_func 7117 7118 /* System header to define __stub macros and hopefully few prototypes, 7119 which can conflict with char $ac_func (); below. 7120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7121 <limits.h> exists even on freestanding compilers. */ 7122 7123 #ifdef __STDC__ 7124 # include <limits.h> 7125 #else 7126 # include <assert.h> 7127 #endif 7128 7129 #undef $ac_func 7130 7131 /* Override any gcc2 internal prototype to avoid an error. */ 7132 #ifdef __cplusplus 7133 extern "C" 7134 { 7135 #endif 7136 /* We use char because int might match the return type of a gcc2 7137 builtin and then its argument prototype would still apply. */ 7138 char $ac_func (); 7139 /* The GNU C library defines this for functions which it implements 7140 to always fail with ENOSYS. Some functions are actually named 7141 something starting with __ and the normal name is an alias. */ 7142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 7143 choke me 7144 #else 7145 char (*f) () = $ac_func; 7146 #endif 7147 #ifdef __cplusplus 7148 } 7149 #endif 7150 7151 int 7152 main () 7153 { 7154 return f != $ac_func; 7155 ; 7156 return 0; 7157 } 7158 _ACEOF 7159 rm -f conftest.$ac_objext conftest$ac_exeext 7160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7161 (eval $ac_link) 2>conftest.er1 7162 ac_status=$? 7163 grep -v '^ *+' conftest.er1 >conftest.err 7164 rm -f conftest.er1 7165 cat conftest.err >&5 7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7167 (exit $ac_status); } && 7168 { ac_try='test -z "$ac_c_werror_flag" 7169 || test ! -s conftest.err' 7170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7171 (eval $ac_try) 2>&5 7172 ac_status=$? 7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7174 (exit $ac_status); }; } && 7175 { ac_try='test -s conftest$ac_exeext' 7176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7177 (eval $ac_try) 2>&5 7178 ac_status=$? 7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7180 (exit $ac_status); }; }; then 7181 eval "$as_ac_var=yes" 7182 else 7183 echo "$as_me: failed program was:" >&5 7184 sed 's/^/| /' conftest.$ac_ext >&5 7185 7186 eval "$as_ac_var=no" 7187 fi 7188 rm -f conftest.err conftest.$ac_objext \ 7189 conftest$ac_exeext conftest.$ac_ext 7190 fi 7191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7193 if test `eval echo '${'$as_ac_var'}'` = yes; then 6185 7194 cat >>confdefs.h <<_ACEOF 6186 #define HAVE_VALLOC17195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6187 7196 _ACEOF 6188 7197 … … 6193 7202 6194 7203 # we cannot generate static libraries under Darwin 6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&56196 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 7204 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 7205 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 6197 7206 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&56199 $as_echo "yes" >&6; } 7207 echo "$as_me:$LINENO: result: yes" >&5 7208 echo "${ECHO_T}yes" >&6 6200 7209 STATIC="" 6201 7210 else 6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56203 $as_echo "no" >&6; } 7211 echo "$as_me:$LINENO: result: no" >&5 7212 echo "${ECHO_T}no" >&6 6204 7213 STATIC="-static " 6205 7214 fi 6206 7215 6207 7216 6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 6209 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 6210 6211 # Check whether --with-dmalloc was given. 6212 if test "${with_dmalloc+set}" = set; then : 6213 withval=$with_dmalloc; if test "$withval" = yes; then 6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6215 $as_echo "yes" >&6; } 6216 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h 7217 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 7218 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 7219 7220 # Check whether --with-dmalloc or --without-dmalloc was given. 7221 if test "${with_dmalloc+set}" = set; then 7222 withval="$with_dmalloc" 7223 if test "$withval" = yes; then 7224 echo "$as_me:$LINENO: result: yes" >&5 7225 echo "${ECHO_T}yes" >&6 7226 cat >>confdefs.h <<\_ACEOF 7227 #define WITH_DMALLOC 1 7228 _ACEOF 6217 7229 6218 7230 LIBS="$LIBS -ldmalloc" 6219 7231 LDFLAGS="$LDFLAGS -g" 6220 7232 else 6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56222 $as_echo "no" >&6; } 6223 fi 6224 else 6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56226 $as_echo "no" >&6; } 6227 fi 6228 6229 6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5 6231 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 6232 6233 # Check whether --with-regex was given. 6234 if test "${with_regex+set}" = set; then : 6235 withval=$with_regex;if test "$withval" = yes; then7233 echo "$as_me:$LINENO: result: no" >&5 7234 echo "${ECHO_T}no" >&6 7235 fi 7236 else 7237 echo "$as_me:$LINENO: result: no" >&5 7238 echo "${ECHO_T}no" >&6 7239 fi; 7240 7241 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7242 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 7243 7244 # Check whether --with-regex or --without-regex was given. 7245 if test "${with_regex+set}" = set; then 7246 withval="$with_regex" 7247 if test "$withval" = yes; then 6236 7248 ac_with_regex=1 6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5 6238 $as_echo "regex" >&6; } 6239 $as_echo "#define WITH_REGEX 1" >>confdefs.h 6240 6241 case " $LIBOBJS " in 7249 echo "$as_me:$LINENO: result: regex" >&5 7250 echo "${ECHO_T}regex" >&6 7251 cat >>confdefs.h <<\_ACEOF 7252 #define WITH_REGEX 1 7253 _ACEOF 7254 7255 case $LIBOBJS in 7256 "regex.$ac_objext" | \ 7257 *" regex.$ac_objext" | \ 7258 "regex.$ac_objext "* | \ 6242 7259 *" regex.$ac_objext "* ) ;; 6243 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 6244 ;; 7260 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6245 7261 esac 6246 7262 6247 7263 fi 6248 fi 6249 7264 fi; 6250 7265 if test -z "$ac_with_regex"; then 6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5 6252 $as_echo "rx" >&6; } 6253 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 6254 if test "x$ac_cv_func_re_rx_search" = x""yes; then : 6255 6256 else 6257 case " $LIBOBJS " in 7266 echo "$as_me:$LINENO: result: rx" >&5 7267 echo "${ECHO_T}rx" >&6 7268 echo "$as_me:$LINENO: checking for re_rx_search" >&5 7269 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 7270 if test "${ac_cv_func_re_rx_search+set}" = set; then 7271 echo $ECHO_N "(cached) $ECHO_C" >&6 7272 else 7273 cat >conftest.$ac_ext <<_ACEOF 7274 /* confdefs.h. */ 7275 _ACEOF 7276 cat confdefs.h >>conftest.$ac_ext 7277 cat >>conftest.$ac_ext <<_ACEOF 7278 /* end confdefs.h. */ 7279 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 7280 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7281 #define re_rx_search innocuous_re_rx_search 7282 7283 /* System header to define __stub macros and hopefully few prototypes, 7284 which can conflict with char re_rx_search (); below. 7285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7286 <limits.h> exists even on freestanding compilers. */ 7287 7288 #ifdef __STDC__ 7289 # include <limits.h> 7290 #else 7291 # include <assert.h> 7292 #endif 7293 7294 #undef re_rx_search 7295 7296 /* Override any gcc2 internal prototype to avoid an error. */ 7297 #ifdef __cplusplus 7298 extern "C" 7299 { 7300 #endif 7301 /* We use char because int might match the return type of a gcc2 7302 builtin and then its argument prototype would still apply. */ 7303 char re_rx_search (); 7304 /* The GNU C library defines this for functions which it implements 7305 to always fail with ENOSYS. Some functions are actually named 7306 something starting with __ and the normal name is an alias. */ 7307 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search) 7308 choke me 7309 #else 7310 char (*f) () = re_rx_search; 7311 #endif 7312 #ifdef __cplusplus 7313 } 7314 #endif 7315 7316 int 7317 main () 7318 { 7319 return f != re_rx_search; 7320 ; 7321 return 0; 7322 } 7323 _ACEOF 7324 rm -f conftest.$ac_objext conftest$ac_exeext 7325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7326 (eval $ac_link) 2>conftest.er1 7327 ac_status=$? 7328 grep -v '^ *+' conftest.er1 >conftest.err 7329 rm -f conftest.er1 7330 cat conftest.err >&5 7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7332 (exit $ac_status); } && 7333 { ac_try='test -z "$ac_c_werror_flag" 7334 || test ! -s conftest.err' 7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7336 (eval $ac_try) 2>&5 7337 ac_status=$? 7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7339 (exit $ac_status); }; } && 7340 { ac_try='test -s conftest$ac_exeext' 7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7342 (eval $ac_try) 2>&5 7343 ac_status=$? 7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7345 (exit $ac_status); }; }; then 7346 ac_cv_func_re_rx_search=yes 7347 else 7348 echo "$as_me: failed program was:" >&5 7349 sed 's/^/| /' conftest.$ac_ext >&5 7350 7351 ac_cv_func_re_rx_search=no 7352 fi 7353 rm -f conftest.err conftest.$ac_objext \ 7354 conftest$ac_exeext conftest.$ac_ext 7355 fi 7356 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7357 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7358 if test $ac_cv_func_re_rx_search = yes; then 7359 : 7360 else 7361 case $LIBOBJS in 7362 "rx.$ac_objext" | \ 7363 *" rx.$ac_objext" | \ 7364 "rx.$ac_objext "* | \ 6258 7365 *" rx.$ac_objext "* ) ;; 6259 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 6260 ;; 7366 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 6261 7367 esac 6262 7368 … … 6268 7374 # --------------------------------------------------------------------------- 6269 7375 if test "$ac_cv_func_alloca" = 'no'; then 6270 case " $LIBOBJS " in 7376 case $LIBOBJS in 7377 "xmalloc.$ac_objext" | \ 7378 *" xmalloc.$ac_objext" | \ 7379 "xmalloc.$ac_objext "* | \ 6271 7380 *" xmalloc.$ac_objext "* ) ;; 6272 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 6273 ;; 7381 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 6274 7382 esac 6275 7383 6276 case " $LIBOBJS " in 7384 case $LIBOBJS in 7385 "error.$ac_objext" | \ 7386 *" error.$ac_objext" | \ 7387 "error.$ac_objext "* | \ 6277 7388 *" error.$ac_objext "* ) ;; 6278 *) LIBOBJS="$LIBOBJS error.$ac_objext" 6279 ;; 7389 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 6280 7390 esac 6281 7391 … … 6285 7395 # --------------------------------------------------------------------------- 6286 7396 6287 ac_ext=c pp7397 ac_ext=cc 6288 7398 ac_cpp='$CXXCPP $CPPFLAGS' 6289 7399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6292 7402 6293 7403 6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&56295 $as_echo_n "checking that Perl 5 is available... " >&6; } 7404 echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 7405 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 6296 7406 success="no" 6297 7407 pl_path="$PATH" … … 6307 7417 6308 7418 success=no 6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5 6310 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 6311 6312 6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7419 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 7420 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 7421 7422 7423 cat >conftest.$ac_ext <<_ACEOF 7424 /* confdefs.h. */ 7425 _ACEOF 7426 cat confdefs.h >>conftest.$ac_ext 7427 cat >>conftest.$ac_ext <<_ACEOF 6314 7428 /* end confdefs.h. */ 6315 7429 #include <vector> … … 6323 7437 } 6324 7438 _ACEOF 6325 if ac_fn_cxx_try_compile "$LINENO"; then : 7439 rm -f conftest.$ac_objext 7440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7441 (eval $ac_compile) 2>conftest.er1 7442 ac_status=$? 7443 grep -v '^ *+' conftest.er1 >conftest.err 7444 rm -f conftest.er1 7445 cat conftest.err >&5 7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7447 (exit $ac_status); } && 7448 { ac_try='test -z "$ac_cxx_werror_flag" 7449 || test ! -s conftest.err' 7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7451 (eval $ac_try) 2>&5 7452 ac_status=$? 7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7454 (exit $ac_status); }; } && 7455 { ac_try='test -s conftest.$ac_objext' 7456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7457 (eval $ac_try) 2>&5 7458 ac_status=$? 7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7460 (exit $ac_status); }; }; then 6326 7461 success=yes 6327 fi 6328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7462 else 7463 echo "$as_me: failed program was:" >&5 7464 sed 's/^/| /' conftest.$ac_ext >&5 7465 7466 fi 7467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6329 7468 6330 7469 if test $success = "no"; then 6331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7470 cat >conftest.$ac_ext <<_ACEOF 7471 /* confdefs.h. */ 7472 _ACEOF 7473 cat confdefs.h >>conftest.$ac_ext 7474 cat >>conftest.$ac_ext <<_ACEOF 6332 7475 /* end confdefs.h. */ 6333 7476 #include <vector.h> … … 6341 7484 } 6342 7485 _ACEOF 6343 if ac_fn_cxx_try_compile "$LINENO"; then : 7486 rm -f conftest.$ac_objext 7487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7488 (eval $ac_compile) 2>conftest.er1 7489 ac_status=$? 7490 grep -v '^ *+' conftest.er1 >conftest.err 7491 rm -f conftest.er1 7492 cat conftest.err >&5 7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7494 (exit $ac_status); } && 7495 { ac_try='test -z "$ac_cxx_werror_flag" 7496 || test ! -s conftest.err' 7497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7498 (eval $ac_try) 2>&5 7499 ac_status=$? 7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7501 (exit $ac_status); }; } && 7502 { ac_try='test -s conftest.$ac_objext' 7503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7504 (eval $ac_try) 2>&5 7505 ac_status=$? 7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7507 (exit $ac_status); }; }; then 6344 7508 success="yes" 6345 fi 6346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7509 else 7510 echo "$as_me: failed program was:" >&5 7511 sed 's/^/| /' conftest.$ac_ext >&5 7512 7513 fi 7514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6347 7515 fi 6348 7516 6349 7517 if test $success = "no"; then 6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7518 cat >conftest.$ac_ext <<_ACEOF 7519 /* confdefs.h. */ 7520 _ACEOF 7521 cat confdefs.h >>conftest.$ac_ext 7522 cat >>conftest.$ac_ext <<_ACEOF 6351 7523 /* end confdefs.h. */ 6352 7524 #include <ospace\\std\\vector> … … 6360 7532 } 6361 7533 _ACEOF 6362 if ac_fn_cxx_try_compile "$LINENO"; then : 7534 rm -f conftest.$ac_objext 7535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7536 (eval $ac_compile) 2>conftest.er1 7537 ac_status=$? 7538 grep -v '^ *+' conftest.er1 >conftest.err 7539 rm -f conftest.er1 7540 cat conftest.err >&5 7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7542 (exit $ac_status); } && 7543 { ac_try='test -z "$ac_cxx_werror_flag" 7544 || test ! -s conftest.err' 7545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7546 (eval $ac_try) 2>&5 7547 ac_status=$? 7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7549 (exit $ac_status); }; } && 7550 { ac_try='test -s conftest.$ac_objext' 7551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7552 (eval $ac_try) 2>&5 7553 ac_status=$? 7554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7555 (exit $ac_status); }; }; then 6363 7556 success="yes" 6364 fi 6365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7557 else 7558 echo "$as_me: failed program was:" >&5 7559 sed 's/^/| /' conftest.$ac_ext >&5 7560 7561 fi 7562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6366 7563 fi 6367 7564 6368 7565 if test $success = yes; then 6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 6370 $as_echo "\"no\"" >&6; } 6371 else 6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 6373 $as_echo "\"yes\"" >&6; } 6374 as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5 7566 echo "$as_me:$LINENO: result: \"no\"" >&5 7567 echo "${ECHO_T}\"no\"" >&6 7568 else 7569 echo "$as_me:$LINENO: result: \"yes\"" >&5 7570 echo "${ECHO_T}\"yes\"" >&6 7571 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 7572 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7573 { (exit 1); exit 1; }; } 6375 7574 fi 6376 7575 … … 6383 7582 6384 7583 7584 # Make gsdlarch empty if the OS bit value (32 or 64) is not used in naming 7585 # directories already or if runtime-src is compiled up on its own. 7586 # E.g. 32/64 bit won't be used in the SVN version if only bin/linux exists. 7587 if test -d "../bin/$gsdlos" -o ! -f "../setup.bash" ; then 7588 gsdlarch="" 7589 fi 7590 7591 6385 7592 # check for endianness 6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 6387 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 6388 if test "${ac_cv_c_bigendian+set}" = set; then : 6389 $as_echo_n "(cached) " >&6 6390 else 6391 ac_cv_c_bigendian=unknown 6392 # See if we're dealing with a universal compiler. 6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6394 /* end confdefs.h. */ 6395 #ifndef __APPLE_CC__ 6396 not a universal capable compiler 6397 #endif 6398 typedef int dummy; 6399 6400 _ACEOF 6401 if ac_fn_cxx_try_compile "$LINENO"; then : 6402 6403 # Check for potential -arch flags. It is not universal unless 6404 # there are at least two -arch flags with different values. 6405 ac_arch= 6406 ac_prev= 6407 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 6408 if test -n "$ac_prev"; then 6409 case $ac_word in 6410 i?86 | x86_64 | ppc | ppc64) 6411 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 6412 ac_arch=$ac_word 6413 else 6414 ac_cv_c_bigendian=universal 6415 break 6416 fi 6417 ;; 6418 esac 6419 ac_prev= 6420 elif test "x$ac_word" = "x-arch"; then 6421 ac_prev=arch 6422 fi 6423 done 6424 fi 6425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6426 if test $ac_cv_c_bigendian = unknown; then 6427 # See if sys/param.h defines the BYTE_ORDER macro. 6428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7593 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7594 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7595 if test "${ac_cv_c_bigendian+set}" = set; then 7596 echo $ECHO_N "(cached) $ECHO_C" >&6 7597 else 7598 # See if sys/param.h defines the BYTE_ORDER macro. 7599 cat >conftest.$ac_ext <<_ACEOF 7600 /* confdefs.h. */ 7601 _ACEOF 7602 cat confdefs.h >>conftest.$ac_ext 7603 cat >>conftest.$ac_ext <<_ACEOF 6429 7604 /* end confdefs.h. */ 6430 7605 #include <sys/types.h> 6431 7606 #include <sys/param.h> 6432 7607 6433 7608 int 6434 7609 main () 6435 7610 { 6436 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 6437 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 6438 && LITTLE_ENDIAN) 6439 bogus endian macros 6440 #endif 7611 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7612 bogus endian macros 7613 #endif 6441 7614 6442 7615 ; … … 6444 7617 } 6445 7618 _ACEOF 6446 if ac_fn_cxx_try_compile "$LINENO"; then : 7619 rm -f conftest.$ac_objext 7620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7621 (eval $ac_compile) 2>conftest.er1 7622 ac_status=$? 7623 grep -v '^ *+' conftest.er1 >conftest.err 7624 rm -f conftest.er1 7625 cat conftest.err >&5 7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7627 (exit $ac_status); } && 7628 { ac_try='test -z "$ac_cxx_werror_flag" 7629 || test ! -s conftest.err' 7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7631 (eval $ac_try) 2>&5 7632 ac_status=$? 7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7634 (exit $ac_status); }; } && 7635 { ac_try='test -s conftest.$ac_objext' 7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7637 (eval $ac_try) 2>&5 7638 ac_status=$? 7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7640 (exit $ac_status); }; }; then 6447 7641 # It does; now see whether it defined to BIG_ENDIAN or not. 6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7642 cat >conftest.$ac_ext <<_ACEOF 7643 /* confdefs.h. */ 7644 _ACEOF 7645 cat confdefs.h >>conftest.$ac_ext 7646 cat >>conftest.$ac_ext <<_ACEOF 6449 7647 /* end confdefs.h. */ 6450 7648 #include <sys/types.h> 6451 7649 #include <sys/param.h> 6452 7650 6453 7651 int … … 6455 7653 { 6456 7654 #if BYTE_ORDER != BIG_ENDIAN 6457 6458 7655 not big endian 7656 #endif 6459 7657 6460 7658 ; … … 6462 7660 } 6463 7661 _ACEOF 6464 if ac_fn_cxx_try_compile "$LINENO"; then : 7662 rm -f conftest.$ac_objext 7663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7664 (eval $ac_compile) 2>conftest.er1 7665 ac_status=$? 7666 grep -v '^ *+' conftest.er1 >conftest.err 7667 rm -f conftest.er1 7668 cat conftest.err >&5 7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7670 (exit $ac_status); } && 7671 { ac_try='test -z "$ac_cxx_werror_flag" 7672 || test ! -s conftest.err' 7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7674 (eval $ac_try) 2>&5 7675 ac_status=$? 7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7677 (exit $ac_status); }; } && 7678 { ac_try='test -s conftest.$ac_objext' 7679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7680 (eval $ac_try) 2>&5 7681 ac_status=$? 7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7683 (exit $ac_status); }; }; then 6465 7684 ac_cv_c_bigendian=yes 6466 7685 else 6467 ac_cv_c_bigendian=no 6468 fi 6469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6470 fi 6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6472 fi 6473 if test $ac_cv_c_bigendian = unknown; then 6474 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 6475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7686 echo "$as_me: failed program was:" >&5 7687 sed 's/^/| /' conftest.$ac_ext >&5 7688 7689 ac_cv_c_bigendian=no 7690 fi 7691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7692 else 7693 echo "$as_me: failed program was:" >&5 7694 sed 's/^/| /' conftest.$ac_ext >&5 7695 7696 # It does not; compile a test program. 7697 if test "$cross_compiling" = yes; then 7698 # try to guess the endianness by grepping values into an object file 7699 ac_cv_c_bigendian=unknown 7700 cat >conftest.$ac_ext <<_ACEOF 7701 /* confdefs.h. */ 7702 _ACEOF 7703 cat confdefs.h >>conftest.$ac_ext 7704 cat >>conftest.$ac_ext <<_ACEOF 6476 7705 /* end confdefs.h. */ 6477 #include <limits.h> 6478 7706 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7707 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7708 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7709 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7710 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7711 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 6479 7712 int 6480 7713 main () 6481 7714 { 6482 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 6483 bogus endian macros 6484 #endif 6485 7715 _ascii (); _ebcdic (); 6486 7716 ; 6487 7717 return 0; 6488 7718 } 6489 7719 _ACEOF 6490 if ac_fn_cxx_try_compile "$LINENO"; then : 6491 # It does; now see whether it defined to _BIG_ENDIAN or not. 6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7720 rm -f conftest.$ac_objext 7721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7722 (eval $ac_compile) 2>conftest.er1 7723 ac_status=$? 7724 grep -v '^ *+' conftest.er1 >conftest.err 7725 rm -f conftest.er1 7726 cat conftest.err >&5 7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7728 (exit $ac_status); } && 7729 { ac_try='test -z "$ac_cxx_werror_flag" 7730 || test ! -s conftest.err' 7731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7732 (eval $ac_try) 2>&5 7733 ac_status=$? 7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7735 (exit $ac_status); }; } && 7736 { ac_try='test -s conftest.$ac_objext' 7737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7738 (eval $ac_try) 2>&5 7739 ac_status=$? 7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7741 (exit $ac_status); }; }; then 7742 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7743 ac_cv_c_bigendian=yes 7744 fi 7745 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7746 if test "$ac_cv_c_bigendian" = unknown; then 7747 ac_cv_c_bigendian=no 7748 else 7749 # finding both strings is unlikely to happen, but who knows? 7750 ac_cv_c_bigendian=unknown 7751 fi 7752 fi 7753 else 7754 echo "$as_me: failed program was:" >&5 7755 sed 's/^/| /' conftest.$ac_ext >&5 7756 7757 fi 7758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7759 else 7760 cat >conftest.$ac_ext <<_ACEOF 7761 /* confdefs.h. */ 7762 _ACEOF 7763 cat confdefs.h >>conftest.$ac_ext 7764 cat >>conftest.$ac_ext <<_ACEOF 6493 7765 /* end confdefs.h. */ 6494 #include <limits.h>6495 6496 7766 int 6497 7767 main () 6498 7768 { 6499 #ifndef _BIG_ENDIAN 6500 not big endian 6501 #endif 6502 6503 ; 6504 return 0; 7769 /* Are we little or big endian? From Harbison&Steele. */ 7770 union 7771 { 7772 long l; 7773 char c[sizeof (long)]; 7774 } u; 7775 u.l = 1; 7776 exit (u.c[sizeof (long) - 1] == 1); 6505 7777 } 6506 7778 _ACEOF 6507 if ac_fn_cxx_try_compile "$LINENO"; then : 6508 ac_cv_c_bigendian=yes 6509 else 7779 rm -f conftest$ac_exeext 7780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7781 (eval $ac_link) 2>&5 7782 ac_status=$? 7783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7786 (eval $ac_try) 2>&5 7787 ac_status=$? 7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7789 (exit $ac_status); }; }; then 6510 7790 ac_cv_c_bigendian=no 6511 fi 6512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6513 fi 6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6515 fi 6516 if test $ac_cv_c_bigendian = unknown; then 6517 # Compile a test program. 6518 if test "$cross_compiling" = yes; then : 6519 # Try to guess by grepping values from an object file. 6520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6521 /* end confdefs.h. */ 6522 short int ascii_mm[] = 6523 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 6524 short int ascii_ii[] = 6525 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 6526 int use_ascii (int i) { 6527 return ascii_mm[i] + ascii_ii[i]; 6528 } 6529 short int ebcdic_ii[] = 6530 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 6531 short int ebcdic_mm[] = 6532 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 6533 int use_ebcdic (int i) { 6534 return ebcdic_mm[i] + ebcdic_ii[i]; 6535 } 6536 extern int foo; 6537 6538 int 6539 main () 6540 { 6541 return use_ascii (foo) == use_ebcdic (foo); 6542 ; 6543 return 0; 6544 } 6545 _ACEOF 6546 if ac_fn_cxx_try_compile "$LINENO"; then : 6547 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 6548 ac_cv_c_bigendian=yes 6549 fi 6550 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 6551 if test "$ac_cv_c_bigendian" = unknown; then 6552 ac_cv_c_bigendian=no 6553 else 6554 # finding both strings is unlikely to happen, but who knows? 6555 ac_cv_c_bigendian=unknown 6556 fi 6557 fi 6558 fi 6559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6560 else 6561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6562 /* end confdefs.h. */ 6563 $ac_includes_default 6564 int 6565 main () 6566 { 6567 6568 /* Are we little or big endian? From Harbison&Steele. */ 6569 union 6570 { 6571 long int l; 6572 char c[sizeof (long int)]; 6573 } u; 6574 u.l = 1; 6575 return u.c[sizeof (long int) - 1] == 1; 6576 6577 ; 6578 return 0; 6579 } 6580 _ACEOF 6581 if ac_fn_cxx_try_run "$LINENO"; then : 6582 ac_cv_c_bigendian=no 6583 else 6584 ac_cv_c_bigendian=yes 6585 fi 6586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6587 conftest.$ac_objext conftest.beam conftest.$ac_ext 6588 fi 6589 6590 fi 6591 fi 6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 6593 $as_echo "$ac_cv_c_bigendian" >&6; } 6594 case $ac_cv_c_bigendian in #( 6595 yes) 6596 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 6597 ;; #( 6598 no) 6599 ;; #( 6600 universal) 6601 6602 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 6603 6604 ;; #( 6605 *) 6606 as_fn_error $? "unknown endianness 6607 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 6608 esac 7791 else 7792 echo "$as_me: program exited with status $ac_status" >&5 7793 echo "$as_me: failed program was:" >&5 7794 sed 's/^/| /' conftest.$ac_ext >&5 7795 7796 ( exit $ac_status ) 7797 ac_cv_c_bigendian=yes 7798 fi 7799 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7800 fi 7801 fi 7802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7803 fi 7804 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7805 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7806 case $ac_cv_c_bigendian in 7807 yes) 7808 7809 cat >>confdefs.h <<\_ACEOF 7810 #define WORDS_BIGENDIAN 1 7811 _ACEOF 7812 ;; 7813 no) 7814 ;; 7815 *) 7816 { { echo "$as_me:$LINENO: error: unknown endianness 7817 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7818 echo "$as_me: error: unknown endianness 7819 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7820 { (exit 1); exit 1; }; } ;; 7821 esac 6609 7822 6610 7823 # --------------------------------------------------------------------------- 6611 7824 if test "$ac_cv_func_alloca" = 'no'; then 6612 case " $LIBOBJS " in 7825 case $LIBOBJS in 7826 "xmalloc.o.$ac_objext" | \ 7827 *" xmalloc.o.$ac_objext" | \ 7828 "xmalloc.o.$ac_objext "* | \ 6613 7829 *" xmalloc.o.$ac_objext "* ) ;; 6614 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 6615 ;; 7830 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 6616 7831 esac 6617 7832 6618 case " $LIBOBJS " in 7833 case $LIBOBJS in 7834 "error.$ac_objext" | \ 7835 *" error.$ac_objext" | \ 7836 "error.$ac_objext "* | \ 6619 7837 *" error.$ac_objext "* ) ;; 6620 *) LIBOBJS="$LIBOBJS error.$ac_objext" 6621 ;; 7838 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 6622 7839 esac 6623 7840 … … 6656 7873 src/oaiservr/Makefile \ 6657 7874 src/z3950/Makefile \ 6658 src/java/org/nzdl/gsdl/GsdlCollageApplet/Makefile \ 6659 src/java/org/nzdl/gsdl/Phind/Makefile" 6660 6661 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 6662 7875 src/java/org/nzdl/gsdl/GsdlCollageApplet/Makefile \ 7876 src/java/org/nzdl/gsdl/Phind/Makefile" 7877 7878 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 6663 7879 cat >confcache <<\_ACEOF 6664 7880 # This file is a shell script that caches the results of configure … … 6679 7895 # The following way of writing the cache mishandles newlines in values, 6680 7896 # but we know of no workaround that is simple, portable, and efficient. 6681 # So, we kill variables containing newlines.7897 # So, don't put newlines in cache variables' values. 6682 7898 # Ultrix sh set writes to stderr and can't be redirected directly, 6683 7899 # and sets the high bit in the cache file unless we assign to the vars. 6684 ( 6685 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6686 eval ac_val=\$$ac_var 6687 case $ac_val in #( 6688 *${as_nl}*) 6689 case $ac_var in #( 6690 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6691 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6692 esac 6693 case $ac_var in #( 6694 _ | IFS | as_nl) ;; #( 6695 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6696 *) { eval $ac_var=; unset $ac_var;} ;; 6697 esac ;; 6698 esac 6699 done 6700 7900 { 6701 7901 (set) 2>&1 | 6702 case $as_nl`(ac_space=' '; set) 2>&1` in #(6703 * ${as_nl}ac_space=\ *)6704 # `set' does not quote correctly, so add quotes :double-quote6705 # substitution turns \\\\ into \\, and sed turns \\ into \ .7902 case `(ac_space=' '; set | grep ac_space) 2>&1` in 7903 *ac_space=\ *) 7904 # `set' does not quote correctly, so add quotes (double-quote 7905 # substitution turns \\\\ into \\, and sed turns \\ into \). 6706 7906 sed -n \ 6707 7907 "s/'/'\\\\''/g; 6708 7908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6709 ;; #(7909 ;; 6710 7910 *) 6711 7911 # `set' quotes correctly as required by POSIX, so do not add quotes. 6712 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7912 sed -n \ 7913 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6713 7914 ;; 6714 esac | 6715 sort 6716 ) | 7915 esac; 7916 } | 6717 7917 sed ' 6718 /^ac_cv_env_/b end6719 7918 t clear 6720 : clear7919 : clear 6721 7920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6722 7921 t end 6723 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6724 :end' >>confcache 6725 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6726 if test -w "$cache_file"; then 6727 test "x$cache_file" != "x/dev/null" && 6728 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6729 $as_echo "$as_me: updating cache $cache_file" >&6;} 7922 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7923 : end' >>confcache 7924 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7925 if test -w $cache_file; then 7926 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6730 7927 cat confcache >$cache_file 6731 7928 else 6732 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6733 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7929 echo "not updating unwritable cache $cache_file" 6734 7930 fi 6735 7931 fi … … 6740 7936 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6741 7937 7938 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7939 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7940 # trailing colons and then remove the whole line if VPATH becomes empty 7941 # (actually we leave an empty line to preserve line numbers). 7942 if test "x$srcdir" = x.; then 7943 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7944 s/:*\$(srcdir):*/:/; 7945 s/:*\${srcdir}:*/:/; 7946 s/:*@srcdir@:*/:/; 7947 s/^\([^=]*=[ ]*\):*/\1/; 7948 s/:*$//; 7949 s/^[^=]*=[ ]*$//; 7950 }' 7951 fi 7952 6742 7953 DEFS=-DHAVE_CONFIG_H 6743 7954 6744 7955 ac_libobjs= 6745 7956 ac_ltlibobjs= 6746 U=6747 7957 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6748 7958 # 1. Remove the extension, and $U if already installed. 6749 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6750 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6751 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6752 # will be set to the directory where LIBOBJS objects are built. 6753 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6754 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7959 ac_i=`echo "$ac_i" | 7960 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7961 # 2. Add them. 7962 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7963 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6755 7964 done 6756 7965 LIBOBJS=$ac_libobjs … … 6760 7969 6761 7970 6762 6763 7971 : ${CONFIG_STATUS=./config.status} 6764 ac_write_fail=06765 7972 ac_clean_files_save=$ac_clean_files 6766 7973 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6768 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6769 as_write_fail=0 6770 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7974 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 7975 echo "$as_me: creating $CONFIG_STATUS" >&6;} 7976 cat >$CONFIG_STATUS <<_ACEOF 6771 7977 #! $SHELL 6772 7978 # Generated by $as_me. … … 6778 7984 ac_cs_recheck=false 6779 7985 ac_cs_silent=false 6780 6781 7986 SHELL=\${CONFIG_SHELL-$SHELL} 6782 export SHELL 6783 _ASEOF 6784 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6785 ## -------------------- ## 6786 ## M4sh Initialization. ## 6787 ## -------------------- ## 6788 6789 # Be more Bourne compatible 6790 DUALCASE=1; export DUALCASE # for MKS sh 6791 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7987 _ACEOF 7988 7989 cat >>$CONFIG_STATUS <<\_ACEOF 7990 ## --------------------- ## 7991 ## M4sh Initialization. ## 7992 ## --------------------- ## 7993 7994 # Be Bourne compatible 7995 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6792 7996 emulate sh 6793 7997 NULLCMD=: 6794 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which7998 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6795 7999 # is contrary to our usage. Disable this feature. 6796 8000 alias -g '${1+"$@"}'='"$@"' 6797 setopt NO_GLOB_SUBST 6798 else 6799 case `(set -o) 2>/dev/null` in #( 6800 *posix*) : 6801 set -o posix ;; #( 6802 *) : 6803 ;; 6804 esac 6805 fi 6806 6807 6808 as_nl=' 6809 ' 6810 export as_nl 6811 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6812 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6813 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6815 # Prefer a ksh shell builtin over an external printf program on Solaris, 6816 # but without wasting forks for bash or zsh. 6817 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6818 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6819 as_echo='print -r --' 6820 as_echo_n='print -rn --' 6821 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6822 as_echo='printf %s\n' 6823 as_echo_n='printf %s' 6824 else 6825 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6826 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6827 as_echo_n='/usr/ucb/echo -n' 6828 else 6829 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6830 as_echo_n_body='eval 6831 arg=$1; 6832 case $arg in #( 6833 *"$as_nl"*) 6834 expr "X$arg" : "X\\(.*\\)$as_nl"; 6835 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6836 esac; 6837 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6838 ' 6839 export as_echo_n_body 6840 as_echo_n='sh -c $as_echo_n_body as_echo' 6841 fi 6842 export as_echo_body 6843 as_echo='sh -c $as_echo_body as_echo' 6844 fi 6845 6846 # The user is always right. 6847 if test "${PATH_SEPARATOR+set}" != set; then 6848 PATH_SEPARATOR=: 6849 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6850 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6851 PATH_SEPARATOR=';' 6852 } 6853 fi 6854 6855 6856 # IFS 6857 # We need space, tab and new line, in precisely that order. Quoting is 6858 # there to prevent editors from complaining about space-tab. 6859 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6860 # splitting by setting IFS to empty value.) 6861 IFS=" "" $as_nl" 6862 6863 # Find who we are. Look in the path if we contain no directory separator. 6864 case $0 in #(( 6865 *[\\/]* ) as_myself=$0 ;; 6866 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6867 for as_dir in $PATH 6868 do 6869 IFS=$as_save_IFS 6870 test -z "$as_dir" && as_dir=. 6871 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6872 done 6873 IFS=$as_save_IFS 6874 6875 ;; 6876 esac 6877 # We did not find ourselves, most probably we were run as `sh COMMAND' 6878 # in which case we are not to be found in the path. 6879 if test "x$as_myself" = x; then 6880 as_myself=$0 6881 fi 6882 if test ! -f "$as_myself"; then 6883 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6884 exit 1 6885 fi 6886 6887 # Unset variables that we do not need and which cause bugs (e.g. in 6888 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6889 # suppresses any "Segmentation fault" message there. '((' could 6890 # trigger a bug in pdksh 5.2.14. 6891 for as_var in BASH_ENV ENV MAIL MAILPATH 6892 do eval test x\${$as_var+set} = xset \ 6893 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6894 done 8001 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8002 set -o posix 8003 fi 8004 DUALCASE=1; export DUALCASE # for MKS sh 8005 8006 # Support unset when possible. 8007 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8008 as_unset=unset 8009 else 8010 as_unset=false 8011 fi 8012 8013 8014 # Work around bugs in pre-3.0 UWIN ksh. 8015 $as_unset ENV MAIL MAILPATH 6895 8016 PS1='$ ' 6896 8017 PS2='> ' … … 6898 8019 6899 8020 # NLS nuisances. 6900 LC_ALL=C 6901 export LC_ALL 6902 LANGUAGE=C 6903 export LANGUAGE 6904 6905 # CDPATH. 6906 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6907 6908 6909 # as_fn_error STATUS ERROR [LINENO LOG_FD] 6910 # ---------------------------------------- 6911 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6912 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6913 # script with STATUS, using 1 if that was 0. 6914 as_fn_error () 6915 { 6916 as_status=$1; test $as_status -eq 0 && as_status=1 6917 if test "$4"; then 6918 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6919 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8021 for as_var in \ 8022 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8023 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8024 LC_TELEPHONE LC_TIME 8025 do 8026 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8027 eval $as_var=C; export $as_var 8028 else 8029 $as_unset $as_var 6920 8030 fi 6921 $as_echo "$as_me: error: $2" >&2 6922 as_fn_exit $as_status 6923 } # as_fn_error 6924 6925 6926 # as_fn_set_status STATUS 6927 # ----------------------- 6928 # Set $? to STATUS, without forking. 6929 as_fn_set_status () 6930 { 6931 return $1 6932 } # as_fn_set_status 6933 6934 # as_fn_exit STATUS 6935 # ----------------- 6936 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6937 as_fn_exit () 6938 { 6939 set +e 6940 as_fn_set_status $1 6941 exit $1 6942 } # as_fn_exit 6943 6944 # as_fn_unset VAR 6945 # --------------- 6946 # Portably unset VAR. 6947 as_fn_unset () 6948 { 6949 { eval $1=; unset $1;} 6950 } 6951 as_unset=as_fn_unset 6952 # as_fn_append VAR VALUE 6953 # ---------------------- 6954 # Append the text in VALUE to the end of the definition contained in VAR. Take 6955 # advantage of any shell optimizations that allow amortized linear growth over 6956 # repeated appends, instead of the typical quadratic growth present in naive 6957 # implementations. 6958 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6959 eval 'as_fn_append () 6960 { 6961 eval $1+=\$2 6962 }' 6963 else 6964 as_fn_append () 6965 { 6966 eval $1=\$$1\$2 6967 } 6968 fi # as_fn_append 6969 6970 # as_fn_arith ARG... 6971 # ------------------ 6972 # Perform arithmetic evaluation on the ARGs, and store the result in the 6973 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6974 # must be portable across $(()) and expr. 6975 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6976 eval 'as_fn_arith () 6977 { 6978 as_val=$(( $* )) 6979 }' 6980 else 6981 as_fn_arith () 6982 { 6983 as_val=`expr "$@" || test $? -eq 1` 6984 } 6985 fi # as_fn_arith 6986 6987 6988 if expr a : '\(a\)' >/dev/null 2>&1 && 6989 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8031 done 8032 8033 # Required to use basename. 8034 if expr a : '\(a\)' >/dev/null 2>&1; then 6990 8035 as_expr=expr 6991 8036 else … … 6993 8038 fi 6994 8039 6995 if (basename -- /) >/dev/null 2>&1 && test "X`basename --/ 2>&1`" = "X/"; then8040 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 6996 8041 as_basename=basename 6997 8042 else … … 6999 8044 fi 7000 8045 7001 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7002 as_dirname=dirname 7003 else 7004 as_dirname=false 7005 fi 7006 7007 as_me=`$as_basename -- "$0" || 8046 8047 # Name of the executable. 8048 as_me=`$as_basename "$0" || 7008 8049 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7009 8050 X"$0" : 'X\(//\)$' \| \ 7010 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7011 $as_echo X/"$0" | 7012 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7013 s//\1/ 7014 q 7015 } 7016 /^X\/\(\/\/\)$/{ 7017 s//\1/ 7018 q 7019 } 7020 /^X\/\(\/\).*/{ 7021 s//\1/ 7022 q 7023 } 7024 s/.*/./; q'` 7025 8051 X"$0" : 'X\(/\)$' \| \ 8052 . : '\(.\)' 2>/dev/null || 8053 echo X/"$0" | 8054 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8055 /^X\/\(\/\/\)$/{ s//\1/; q; } 8056 /^X\/\(\/\).*/{ s//\1/; q; } 8057 s/.*/./; q'` 8058 8059 8060 # PATH needs CR, and LINENO needs CR and PATH. 7026 8061 # Avoid depending upon Character Ranges. 7027 8062 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7031 8066 as_cr_alnum=$as_cr_Letters$as_cr_digits 7032 8067 7033 ECHO_C= ECHO_N= ECHO_T= 7034 case `echo -n x` in #((((( 7035 -n*) 7036 case `echo 'xy\c'` in 7037 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7038 xy) ECHO_C='\c';; 7039 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7040 ECHO_T=' ';; 7041 esac;; 7042 *) 7043 ECHO_N='-n';; 8068 # The user is always right. 8069 if test "${PATH_SEPARATOR+set}" != set; then 8070 echo "#! /bin/sh" >conf$$.sh 8071 echo "exit 0" >>conf$$.sh 8072 chmod +x conf$$.sh 8073 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8074 PATH_SEPARATOR=';' 8075 else 8076 PATH_SEPARATOR=: 8077 fi 8078 rm -f conf$$.sh 8079 fi 8080 8081 8082 as_lineno_1=$LINENO 8083 as_lineno_2=$LINENO 8084 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8085 test "x$as_lineno_1" != "x$as_lineno_2" && 8086 test "x$as_lineno_3" = "x$as_lineno_2" || { 8087 # Find who we are. Look in the path if we contain no path at all 8088 # relative or not. 8089 case $0 in 8090 *[\\/]* ) as_myself=$0 ;; 8091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8092 for as_dir in $PATH 8093 do 8094 IFS=$as_save_IFS 8095 test -z "$as_dir" && as_dir=. 8096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8097 done 8098 8099 ;; 8100 esac 8101 # We did not find ourselves, most probably we were run as `sh COMMAND' 8102 # in which case we are not to be found in the path. 8103 if test "x$as_myself" = x; then 8104 as_myself=$0 8105 fi 8106 if test ! -f "$as_myself"; then 8107 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8108 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8109 { (exit 1); exit 1; }; } 8110 fi 8111 case $CONFIG_SHELL in 8112 '') 8113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8114 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8115 do 8116 IFS=$as_save_IFS 8117 test -z "$as_dir" && as_dir=. 8118 for as_base in sh bash ksh sh5; do 8119 case $as_dir in 8120 /*) 8121 if ("$as_dir/$as_base" -c ' 8122 as_lineno_1=$LINENO 8123 as_lineno_2=$LINENO 8124 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8125 test "x$as_lineno_1" != "x$as_lineno_2" && 8126 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8127 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8128 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8129 CONFIG_SHELL=$as_dir/$as_base 8130 export CONFIG_SHELL 8131 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8132 fi;; 8133 esac 8134 done 8135 done 8136 ;; 8137 esac 8138 8139 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8140 # uniformly replaced by the line number. The first 'sed' inserts a 8141 # line-number line before each line; the second 'sed' does the real 8142 # work. The second script uses 'N' to pair each line-number line 8143 # with the numbered line, and appends trailing '-' during 8144 # substitution so that $LINENO is not a special case at line end. 8145 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8146 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8147 sed '=' <$as_myself | 8148 sed ' 8149 N 8150 s,$,-, 8151 : loop 8152 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8153 t loop 8154 s,-$,, 8155 s,^['$as_cr_digits']*\n,, 8156 ' >$as_me.lineno && 8157 chmod +x $as_me.lineno || 8158 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8159 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8160 { (exit 1); exit 1; }; } 8161 8162 # Don't try to exec as it changes $[0], causing all sort of problems 8163 # (the dirname of $[0] is not the place where we might find the 8164 # original and so on. Autoconf is especially sensible to this). 8165 . ./$as_me.lineno 8166 # Exit status is that of the last command. 8167 exit 8168 } 8169 8170 8171 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8172 *c*,-n*) ECHO_N= ECHO_C=' 8173 ' ECHO_T=' ' ;; 8174 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8175 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7044 8176 esac 7045 8177 8178 if expr a : '\(a\)' >/dev/null 2>&1; then 8179 as_expr=expr 8180 else 8181 as_expr=false 8182 fi 8183 7046 8184 rm -f conf$$ conf$$.exe conf$$.file 7047 if test -d conf$$.dir; then 7048 rm -f conf$$.dir/conf$$.file 7049 else 7050 rm -f conf$$.dir7051 mkdir conf$$.dir 2>/dev/null7052 fi 7053 if (echo >conf$$.file) 2>/dev/null; then 7054 if ln -s conf$$.file conf$$ 2>/dev/null; then8185 echo >conf$$.file 8186 if ln -s conf$$.file conf$$ 2>/dev/null; then 8187 # We could just check for DJGPP; but this test a) works b) is more generic 8188 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8189 if test -f conf$$.exe; then 8190 # Don't use ln at all; we don't have any links 8191 as_ln_s='cp -p' 8192 else 7055 8193 as_ln_s='ln -s' 7056 # ... but there are two gotchas:7057 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.7058 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.7059 # In both cases, we have to default to `cp -p'.7060 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||7061 as_ln_s='cp -p'7062 elif ln conf$$.file conf$$ 2>/dev/null; then7063 as_ln_s=ln7064 else7065 as_ln_s='cp -p'7066 8194 fi 8195 elif ln conf$$.file conf$$ 2>/dev/null; then 8196 as_ln_s=ln 7067 8197 else 7068 8198 as_ln_s='cp -p' 7069 8199 fi 7070 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7071 rmdir conf$$.dir 2>/dev/null 7072 7073 7074 # as_fn_mkdir_p 7075 # ------------- 7076 # Create "$as_dir" as a directory, including parents if necessary. 7077 as_fn_mkdir_p () 7078 { 7079 7080 case $as_dir in #( 7081 -*) as_dir=./$as_dir;; 7082 esac 7083 test -d "$as_dir" || eval $as_mkdir_p || { 7084 as_dirs= 7085 while :; do 7086 case $as_dir in #( 7087 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7088 *) as_qdir=$as_dir;; 7089 esac 7090 as_dirs="'$as_qdir' $as_dirs" 7091 as_dir=`$as_dirname -- "$as_dir" || 7092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7093 X"$as_dir" : 'X\(//\)[^/]' \| \ 7094 X"$as_dir" : 'X\(//\)$' \| \ 7095 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7096 $as_echo X"$as_dir" | 7097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7098 s//\1/ 7099 q 7100 } 7101 /^X\(\/\/\)[^/].*/{ 7102 s//\1/ 7103 q 7104 } 7105 /^X\(\/\/\)$/{ 7106 s//\1/ 7107 q 7108 } 7109 /^X\(\/\).*/{ 7110 s//\1/ 7111 q 7112 } 7113 s/.*/./; q'` 7114 test -d "$as_dir" && break 7115 done 7116 test -z "$as_dirs" || eval "mkdir $as_dirs" 7117 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7118 7119 7120 } # as_fn_mkdir_p 8200 rm -f conf$$ conf$$.exe conf$$.file 8201 7121 8202 if mkdir -p . 2>/dev/null; then 7122 as_mkdir_p= 'mkdir -p "$as_dir"'8203 as_mkdir_p=: 7123 8204 else 7124 8205 test -d ./-p && rmdir ./-p … … 7126 8207 fi 7127 8208 7128 if test -x / >/dev/null 2>&1; then 7129 as_test_x='test -x' 7130 else 7131 if ls -dL / >/dev/null 2>&1; then 7132 as_ls_L_option=L 7133 else 7134 as_ls_L_option= 7135 fi 7136 as_test_x=' 7137 eval sh -c '\'' 7138 if test -d "$1"; then 7139 test -d "$1/."; 7140 else 7141 case $1 in #( 7142 -*)set "./$1";; 7143 esac; 7144 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7145 ???[sx]*):;;*)false;;esac;fi 7146 '\'' sh 7147 ' 7148 fi 7149 as_executable_p=$as_test_x 8209 as_executable_p="test -f" 7150 8210 7151 8211 # Sed expression to map a string onto a valid CPP name. … … 7156 8216 7157 8217 8218 # IFS 8219 # We need space, tab and new line, in precisely that order. 8220 as_nl=' 8221 ' 8222 IFS=" $as_nl" 8223 8224 # CDPATH. 8225 $as_unset CDPATH 8226 7158 8227 exec 6>&1 7159 ## ----------------------------------- ## 7160 ## Main body of $CONFIG_STATUS script. ## 7161 ## ----------------------------------- ## 7162 _ASEOF 7163 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7164 7165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7166 # Save the log message, to keep $0 and so on meaningful, and to 8228 8229 # Open the log real soon, to keep \$[0] and so on meaningful, and to 7167 8230 # report actual input values of CONFIG_FILES etc. instead of their 7168 # values after options handling. 7169 ac_log=" 7170 This file was extended by $as_me, which was 7171 generated by GNU Autoconf 2.67. Invocation command line was 7172 7173 CONFIG_FILES = $CONFIG_FILES 7174 CONFIG_HEADERS = $CONFIG_HEADERS 7175 CONFIG_LINKS = $CONFIG_LINKS 7176 CONFIG_COMMANDS = $CONFIG_COMMANDS 7177 $ $0 $@ 7178 7179 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7180 " 7181 7182 _ACEOF 7183 7184 case $ac_config_files in *" 7185 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7186 esac 7187 7188 case $ac_config_headers in *" 7189 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7190 esac 7191 7192 7193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7194 # Files that config.status was made for. 7195 config_files="$ac_config_files" 7196 config_headers="$ac_config_headers" 7197 7198 _ACEOF 7199 7200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7201 ac_cs_usage="\ 7202 \`$as_me' instantiates files and other configuration actions 7203 from templates according to the current configuration. Unless the files 7204 and actions are specified as TAGs, all are instantiated by default. 7205 7206 Usage: $0 [OPTION]... [TAG]... 7207 7208 -h, --help print this help, then exit 7209 -V, --version print version number and configuration settings, then exit 7210 --config print configuration, then exit 7211 -q, --quiet, --silent 7212 do not print progress messages 7213 -d, --debug don't remove temporary files 7214 --recheck update $as_me by reconfiguring in the same conditions 7215 --file=FILE[:TEMPLATE] 7216 instantiate the configuration file FILE 7217 --header=FILE[:TEMPLATE] 7218 instantiate the configuration header FILE 7219 7220 Configuration files: 7221 $config_files 7222 7223 Configuration headers: 7224 $config_headers 7225 7226 Report bugs to the package provider." 7227 7228 _ACEOF 7229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7230 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7231 ac_cs_version="\\ 7232 config.status 7233 configured by $0, generated by GNU Autoconf 2.67, 7234 with options \\"\$ac_cs_config\\" 7235 7236 Copyright (C) 2010 Free Software Foundation, Inc. 7237 This config.status script is free software; the Free Software Foundation 7238 gives unlimited permission to copy, distribute and modify it." 7239 7240 ac_pwd='$ac_pwd' 7241 srcdir='$srcdir' 7242 INSTALL='$INSTALL' 7243 AWK='$AWK' 7244 test -n "\$AWK" || AWK=awk 7245 _ACEOF 7246 7247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7248 # The default lists apply if the user does not specify any file. 7249 ac_need_defaults=: 7250 while test $# != 0 7251 do 7252 case $1 in 7253 --*=?*) 7254 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7255 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7256 ac_shift=: 7257 ;; 7258 --*=) 7259 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7260 ac_optarg= 7261 ac_shift=: 7262 ;; 7263 *) 7264 ac_option=$1 7265 ac_optarg=$2 7266 ac_shift=shift 7267 ;; 7268 esac 7269 7270 case $ac_option in 7271 # Handling of the options. 7272 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7273 ac_cs_recheck=: ;; 7274 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7275 $as_echo "$ac_cs_version"; exit ;; 7276 --config | --confi | --conf | --con | --co | --c ) 7277 $as_echo "$ac_cs_config"; exit ;; 7278 --debug | --debu | --deb | --de | --d | -d ) 7279 debug=: ;; 7280 --file | --fil | --fi | --f ) 7281 $ac_shift 7282 case $ac_optarg in 7283 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7284 '') as_fn_error $? "missing file argument" ;; 7285 esac 7286 as_fn_append CONFIG_FILES " '$ac_optarg'" 7287 ac_need_defaults=false;; 7288 --header | --heade | --head | --hea ) 7289 $ac_shift 7290 case $ac_optarg in 7291 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7292 esac 7293 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7294 ac_need_defaults=false;; 7295 --he | --h) 7296 # Conflict between --help and --header 7297 as_fn_error $? "ambiguous option: \`$1' 7298 Try \`$0 --help' for more information.";; 7299 --help | --hel | -h ) 7300 $as_echo "$ac_cs_usage"; exit ;; 7301 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7302 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7303 ac_cs_silent=: ;; 7304 7305 # This is an error. 7306 -*) as_fn_error $? "unrecognized option: \`$1' 7307 Try \`$0 --help' for more information." ;; 7308 7309 *) as_fn_append ac_config_targets " $1" 7310 ac_need_defaults=false ;; 7311 7312 esac 7313 shift 7314 done 7315 7316 ac_configure_extra_args= 7317 7318 if $ac_cs_silent; then 7319 exec 6>/dev/null 7320 ac_configure_extra_args="$ac_configure_extra_args --silent" 7321 fi 7322 7323 _ACEOF 7324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7325 if \$ac_cs_recheck; then 7326 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7327 shift 7328 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7329 CONFIG_SHELL='$SHELL' 7330 export CONFIG_SHELL 7331 exec "\$@" 7332 fi 7333 7334 _ACEOF 7335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8231 # values after options handling. Logging --version etc. is OK. 7336 8232 exec 5>>config.log 7337 8233 { … … 7340 8236 ## Running $as_me. ## 7341 8237 _ASBOX 7342 $as_echo "$ac_log"7343 8238 } >&5 7344 7345 _ACEOF 7346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7347 _ACEOF 7348 7349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7350 7351 # Handling of arguments. 8239 cat >&5 <<_CSEOF 8240 8241 This file was extended by $as_me, which was 8242 generated by GNU Autoconf 2.59. Invocation command line was 8243 8244 CONFIG_FILES = $CONFIG_FILES 8245 CONFIG_HEADERS = $CONFIG_HEADERS 8246 CONFIG_LINKS = $CONFIG_LINKS 8247 CONFIG_COMMANDS = $CONFIG_COMMANDS 8248 $ $0 $@ 8249 8250 _CSEOF 8251 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8252 echo >&5 8253 _ACEOF 8254 8255 # Files that config.status was made for. 8256 if test -n "$ac_config_files"; then 8257 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8258 fi 8259 8260 if test -n "$ac_config_headers"; then 8261 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8262 fi 8263 8264 if test -n "$ac_config_links"; then 8265 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8266 fi 8267 8268 if test -n "$ac_config_commands"; then 8269 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8270 fi 8271 8272 cat >>$CONFIG_STATUS <<\_ACEOF 8273 8274 ac_cs_usage="\ 8275 \`$as_me' instantiates files from templates according to the 8276 current configuration. 8277 8278 Usage: $0 [OPTIONS] [FILE]... 8279 8280 -h, --help print this help, then exit 8281 -V, --version print version number, then exit 8282 -q, --quiet do not print progress messages 8283 -d, --debug don't remove temporary files 8284 --recheck update $as_me by reconfiguring in the same conditions 8285 --file=FILE[:TEMPLATE] 8286 instantiate the configuration file FILE 8287 --header=FILE[:TEMPLATE] 8288 instantiate the configuration header FILE 8289 8290 Configuration files: 8291 $config_files 8292 8293 Configuration headers: 8294 $config_headers 8295 8296 Report bugs to <[email protected]>." 8297 _ACEOF 8298 8299 cat >>$CONFIG_STATUS <<_ACEOF 8300 ac_cs_version="\\ 8301 config.status 8302 configured by $0, generated by GNU Autoconf 2.59, 8303 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8304 8305 Copyright (C) 2003 Free Software Foundation, Inc. 8306 This config.status script is free software; the Free Software Foundation 8307 gives unlimited permission to copy, distribute and modify it." 8308 srcdir=$srcdir 8309 INSTALL="$INSTALL" 8310 _ACEOF 8311 8312 cat >>$CONFIG_STATUS <<\_ACEOF 8313 # If no file are specified by the user, then we need to provide default 8314 # value. By we need to know if files were specified by the user. 8315 ac_need_defaults=: 8316 while test $# != 0 8317 do 8318 case $1 in 8319 --*=*) 8320 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8321 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8322 ac_shift=: 8323 ;; 8324 -*) 8325 ac_option=$1 8326 ac_optarg=$2 8327 ac_shift=shift 8328 ;; 8329 *) # This is not an option, so the user has probably given explicit 8330 # arguments. 8331 ac_option=$1 8332 ac_need_defaults=false;; 8333 esac 8334 8335 case $ac_option in 8336 # Handling of the options. 8337 _ACEOF 8338 cat >>$CONFIG_STATUS <<\_ACEOF 8339 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8340 ac_cs_recheck=: ;; 8341 --version | --vers* | -V ) 8342 echo "$ac_cs_version"; exit 0 ;; 8343 --he | --h) 8344 # Conflict between --help and --header 8345 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8346 Try \`$0 --help' for more information." >&5 8347 echo "$as_me: error: ambiguous option: $1 8348 Try \`$0 --help' for more information." >&2;} 8349 { (exit 1); exit 1; }; };; 8350 --help | --hel | -h ) 8351 echo "$ac_cs_usage"; exit 0 ;; 8352 --debug | --d* | -d ) 8353 debug=: ;; 8354 --file | --fil | --fi | --f ) 8355 $ac_shift 8356 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8357 ac_need_defaults=false;; 8358 --header | --heade | --head | --hea ) 8359 $ac_shift 8360 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8361 ac_need_defaults=false;; 8362 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8363 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8364 ac_cs_silent=: ;; 8365 8366 # This is an error. 8367 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8368 Try \`$0 --help' for more information." >&5 8369 echo "$as_me: error: unrecognized option: $1 8370 Try \`$0 --help' for more information." >&2;} 8371 { (exit 1); exit 1; }; } ;; 8372 8373 *) ac_config_targets="$ac_config_targets $1" ;; 8374 8375 esac 8376 shift 8377 done 8378 8379 ac_configure_extra_args= 8380 8381 if $ac_cs_silent; then 8382 exec 6>/dev/null 8383 ac_configure_extra_args="$ac_configure_extra_args --silent" 8384 fi 8385 8386 _ACEOF 8387 cat >>$CONFIG_STATUS <<_ACEOF 8388 if \$ac_cs_recheck; then 8389 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8390 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8391 fi 8392 8393 _ACEOF 8394 8395 8396 8397 8398 8399 cat >>$CONFIG_STATUS <<\_ACEOF 7352 8400 for ac_config_target in $ac_config_targets 7353 8401 do 7354 case $ac_config_target in 7355 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7356 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 7357 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7358 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 7359 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 7360 7361 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 8402 case "$ac_config_target" in 8403 # Handling of arguments. 8404 "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 8405 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8406 "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;; 8407 "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 8408 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8409 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8410 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8411 { (exit 1); exit 1; }; };; 7362 8412 esac 7363 8413 done 7364 7365 8414 7366 8415 # If the user did not use the arguments to specify the items to instantiate, … … 7374 8423 7375 8424 # Have a temporary directory for convenience. Make it in the build tree 7376 # simply because there is no reason against havingit here, and in addition,8425 # simply because there is no reason to put it here, and in addition, 7377 8426 # creating and moving files from /tmp can sometimes cause problems. 7378 # Hook for its removal unless debugging. 7379 # Note that there is a small window in which the directory will not be cleaned: 7380 # after its creation but before its name has been assigned to `$tmp'. 8427 # Create a temporary directory, and hook for its removal unless debugging. 7381 8428 $debug || 7382 8429 { 7383 tmp= 7384 trap 'exit_status=$? 7385 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7386 ' 0 7387 trap 'as_fn_exit 1' 1 2 13 15 8430 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 8431 trap '{ (exit 1); exit 1; }' 1 2 13 15 7388 8432 } 8433 7389 8434 # Create a (secure) tmp directory for tmp files. 7390 8435 7391 8436 { 7392 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&8437 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 7393 8438 test -n "$tmp" && test -d "$tmp" 7394 8439 } || 7395 8440 { 7396 tmp=./conf$$-$RANDOM 7397 (umask 077 && mkdir "$tmp") 7398 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7399 7400 # Set up the scripts for CONFIG_FILES section. 7401 # No need to generate them if there are no CONFIG_FILES. 7402 # This happens for instance with `./config.status config.h'. 7403 if test -n "$CONFIG_FILES"; then 7404 7405 7406 ac_cr=`echo X | tr X '\015'` 7407 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7408 # But we know of no other shell where ac_cr would be empty at this 7409 # point, so we can use a bashism as a fallback. 7410 if test "x$ac_cr" = x; then 7411 eval ac_cr=\$\'\\r\' 7412 fi 7413 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7414 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7415 ac_cs_awk_cr='\\r' 7416 else 7417 ac_cs_awk_cr=$ac_cr 7418 fi 7419 7420 echo 'BEGIN {' >"$tmp/subs1.awk" && 7421 _ACEOF 7422 7423 8441 tmp=./confstat$$-$RANDOM 8442 (umask 077 && mkdir $tmp) 8443 } || 7424 8444 { 7425 echo "cat >conf$$subs.awk <<_ACEOF" && 7426 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7427 echo "_ACEOF" 7428 } >conf$$subs.sh || 7429 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7430 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7431 ac_delim='%!_!# ' 7432 for ac_last_try in false false false false false :; do 7433 . ./conf$$subs.sh || 7434 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7435 7436 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7437 if test $ac_delim_n = $ac_delim_num; then 7438 break 7439 elif $ac_last_try; then 7440 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7441 else 7442 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8445 echo "$me: cannot create a temporary directory in ." >&2 8446 { (exit 1); exit 1; } 8447 } 8448 8449 _ACEOF 8450 8451 cat >>$CONFIG_STATUS <<_ACEOF 8452 8453 # 8454 # CONFIG_FILES section. 8455 # 8456 8457 # No need to generate the scripts if there are no CONFIG_FILES. 8458 # This happens for instance when ./config.status config.h 8459 if test -n "\$CONFIG_FILES"; then 8460 # Protect against being on the right side of a sed subst in config.status. 8461 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8462 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8463 s,@SHELL@,$SHELL,;t t 8464 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8465 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8466 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8467 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8468 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8469 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8470 s,@exec_prefix@,$exec_prefix,;t t 8471 s,@prefix@,$prefix,;t t 8472 s,@program_transform_name@,$program_transform_name,;t t 8473 s,@bindir@,$bindir,;t t 8474 s,@sbindir@,$sbindir,;t t 8475 s,@libexecdir@,$libexecdir,;t t 8476 s,@datadir@,$datadir,;t t 8477 s,@sysconfdir@,$sysconfdir,;t t 8478 s,@sharedstatedir@,$sharedstatedir,;t t 8479 s,@localstatedir@,$localstatedir,;t t 8480 s,@libdir@,$libdir,;t t 8481 s,@includedir@,$includedir,;t t 8482 s,@oldincludedir@,$oldincludedir,;t t 8483 s,@infodir@,$infodir,;t t 8484 s,@mandir@,$mandir,;t t 8485 s,@build_alias@,$build_alias,;t t 8486 s,@host_alias@,$host_alias,;t t 8487 s,@target_alias@,$target_alias,;t t 8488 s,@DEFS@,$DEFS,;t t 8489 s,@ECHO_C@,$ECHO_C,;t t 8490 s,@ECHO_N@,$ECHO_N,;t t 8491 s,@ECHO_T@,$ECHO_T,;t t 8492 s,@LIBS@,$LIBS,;t t 8493 s,@PACKAGE@,$PACKAGE,;t t 8494 s,@VERSION@,$VERSION,;t t 8495 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8496 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8497 s,@USE_CORBA@,$USE_CORBA,;t t 8498 s,@MICO_DIR@,$MICO_DIR,;t t 8499 s,@USE_Z3950@,$USE_Z3950,;t t 8500 s,@USE_YAZ@,$USE_YAZ,;t t 8501 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8502 s,@USE_JDBM@,$USE_JDBM,;t t 8503 s,@USE_GDBM@,$USE_GDBM,;t t 8504 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8505 s,@USE_SQLITE@,$USE_SQLITE,;t t 8506 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 8507 s,@ENABLE_MG@,$ENABLE_MG,;t t 8508 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8509 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8510 s,@LDFLAGS@,$LDFLAGS,;t t 8511 s,@CFLAGS@,$CFLAGS,;t t 8512 s,@CC@,$CC,;t t 8513 s,@CPPFLAGS@,$CPPFLAGS,;t t 8514 s,@ac_ct_CC@,$ac_ct_CC,;t t 8515 s,@EXEEXT@,$EXEEXT,;t t 8516 s,@OBJEXT@,$OBJEXT,;t t 8517 s,@CXX@,$CXX,;t t 8518 s,@CXXFLAGS@,$CXXFLAGS,;t t 8519 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8520 s,@JAVAC@,$JAVAC,;t t 8521 s,@JAVACFLAGS@,$JAVACFLAGS,;t t 8522 s,@JAVA@,$JAVA,;t t 8523 s,@uudecode@,$uudecode,;t t 8524 s,@AWK@,$AWK,;t t 8525 s,@YACC@,$YACC,;t t 8526 s,@build@,$build,;t t 8527 s,@build_cpu@,$build_cpu,;t t 8528 s,@build_vendor@,$build_vendor,;t t 8529 s,@build_os@,$build_os,;t t 8530 s,@host@,$host,;t t 8531 s,@host_cpu@,$host_cpu,;t t 8532 s,@host_vendor@,$host_vendor,;t t 8533 s,@host_os@,$host_os,;t t 8534 s,@target@,$target,;t t 8535 s,@target_cpu@,$target_cpu,;t t 8536 s,@target_vendor@,$target_vendor,;t t 8537 s,@target_os@,$target_os,;t t 8538 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8539 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8540 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8541 s,@LN_S@,$LN_S,;t t 8542 s,@SET_MAKE@,$SET_MAKE,;t t 8543 s,@RANLIB@,$RANLIB,;t t 8544 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8545 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8546 s,@MICO_VER@,$MICO_VER,;t t 8547 s,@CPP@,$CPP,;t t 8548 s,@EGREP@,$EGREP,;t t 8549 s,@U@,$U,;t t 8550 s,@ANSI2KNR@,$ANSI2KNR,;t t 8551 s,@ALLOCA@,$ALLOCA,;t t 8552 s,@LIBOBJS@,$LIBOBJS,;t t 8553 s,@STATIC@,$STATIC,;t t 8554 s,@gsdlos@,$gsdlos,;t t 8555 s,@gsdlarch@,$gsdlarch,;t t 8556 s,@MODULEDIRS@,$MODULEDIRS,;t t 8557 s,@subdirs@,$subdirs,;t t 8558 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8559 CEOF 8560 8561 _ACEOF 8562 8563 cat >>$CONFIG_STATUS <<\_ACEOF 8564 # Split the substitutions into bite-sized pieces for seds with 8565 # small command number limits, like on Digital OSF/1 and HP-UX. 8566 ac_max_sed_lines=48 8567 ac_sed_frag=1 # Number of current file. 8568 ac_beg=1 # First line for current file. 8569 ac_end=$ac_max_sed_lines # Line after last line for current file. 8570 ac_more_lines=: 8571 ac_sed_cmds= 8572 while $ac_more_lines; do 8573 if test $ac_beg -gt 1; then 8574 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8575 else 8576 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8577 fi 8578 if test ! -s $tmp/subs.frag; then 8579 ac_more_lines=false 8580 else 8581 # The purpose of the label and of the branching condition is to 8582 # speed up the sed processing (if there are no `@' at all, there 8583 # is no need to browse any of the substitutions). 8584 # These are the two extra sed commands mentioned above. 8585 (echo ':t 8586 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8587 if test -z "$ac_sed_cmds"; then 8588 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8589 else 8590 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8591 fi 8592 ac_sed_frag=`expr $ac_sed_frag + 1` 8593 ac_beg=$ac_end 8594 ac_end=`expr $ac_end + $ac_max_sed_lines` 8595 fi 8596 done 8597 if test -z "$ac_sed_cmds"; then 8598 ac_sed_cmds=cat 7443 8599 fi 7444 done7445 rm -f conf$$subs.sh7446 7447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=17448 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&7449 _ACEOF7450 sed -n '7451 h7452 s/^/S["/; s/!.*/"]=/7453 p7454 g7455 s/^[^!]*!//7456 :repl7457 t repl7458 s/'"$ac_delim"'$//7459 t delim7460 :nl7461 h7462 s/\(.\{148\}\)..*/\1/7463 t more17464 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/7465 p7466 n7467 b repl7468 :more17469 s/["\\]/\\&/g; s/^/"/; s/$/"\\/7470 p7471 g7472 s/.\{148\}//7473 t nl7474 :delim7475 h7476 s/\(.\{148\}\)..*/\1/7477 t more27478 s/["\\]/\\&/g; s/^/"/; s/$/"/7479 p7480 b7481 :more27482 s/["\\]/\\&/g; s/^/"/; s/$/"\\/7483 p7484 g7485 s/.\{148\}//7486 t delim7487 ' <conf$$subs.awk | sed '7488 /^[^""]/{7489 N7490 s/\n//7491 }7492 ' >>$CONFIG_STATUS || ac_write_fail=17493 rm -f conf$$subs.awk7494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=17495 _ACAWK7496 cat >>"\$tmp/subs1.awk" <<_ACAWK &&7497 for (key in S) S_is_set[key] = 17498 FS = ""7499 7500 }7501 {7502 line = $ 07503 nfields = split(line, field, "@")7504 substed = 07505 len = length(field[1])7506 for (i = 2; i < nfields; i++) {7507 key = field[i]7508 keylen = length(key)7509 if (S_is_set[key]) {7510 value = S[key]7511 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)7512 len += length(value) + length(field[++i])7513 substed = 17514 } else7515 len += 1 + keylen7516 }7517 7518 print line7519 }7520 7521 _ACAWK7522 _ACEOF7523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=17524 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then7525 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"7526 else7527 cat7528 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \7529 || as_fn_error $? "could not setup config files machinery" "$LINENO" 57530 _ACEOF7531 7532 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),7533 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and7534 # trailing colons and then remove the whole line if VPATH becomes empty7535 # (actually we leave an empty line to preserve line numbers).7536 if test "x$srcdir" = x.; then7537 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{7538 h7539 s///7540 s/^/:/7541 s/[ ]*$/:/7542 s/:\$(srcdir):/:/g7543 s/:\${srcdir}:/:/g7544 s/:@srcdir@:/:/g7545 s/^:*//7546 s/:*$//7547 x7548 s/\(=[ ]*\).*/\1/7549 G7550 s/\n//7551 s/^[^=]*=[ ]*$//7552 }'7553 fi7554 7555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=17556 8600 fi # test -n "$CONFIG_FILES" 7557 8601 7558 # Set up the scripts for CONFIG_HEADERS section. 7559 # No need to generate them if there are no CONFIG_HEADERS. 7560 # This happens for instance with `./config.status Makefile'. 7561 if test -n "$CONFIG_HEADERS"; then 7562 cat >"$tmp/defines.awk" <<\_ACAWK || 7563 BEGIN { 7564 _ACEOF 7565 7566 # Transform confdefs.h into an awk script `defines.awk', embedded as 7567 # here-document in config.status, that substitutes the proper values into 7568 # config.h.in to produce config.h. 7569 7570 # Create a delimiter string that does not exist in confdefs.h, to ease 7571 # handling of long lines. 7572 ac_delim='%!_!# ' 7573 for ac_last_try in false false :; do 7574 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7575 if test -z "$ac_t"; then 7576 break 7577 elif $ac_last_try; then 7578 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7579 else 7580 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7581 fi 7582 done 7583 7584 # For the awk script, D is an array of macro values keyed by name, 7585 # likewise P contains macro parameters if any. Preserve backslash 7586 # newline sequences. 7587 7588 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7589 sed -n ' 7590 s/.\{148\}/&'"$ac_delim"'/g 7591 t rset 7592 :rset 7593 s/^[ ]*#[ ]*define[ ][ ]*/ / 7594 t def 7595 d 7596 :def 7597 s/\\$// 7598 t bsnl 7599 s/["\\]/\\&/g 7600 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7601 D["\1"]=" \3"/p 7602 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7603 d 7604 :bsnl 7605 s/["\\]/\\&/g 7606 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7607 D["\1"]=" \3\\\\\\n"\\/p 7608 t cont 7609 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7610 t cont 7611 d 7612 :cont 7613 n 7614 s/.\{148\}/&'"$ac_delim"'/g 7615 t clear 7616 :clear 7617 s/\\$// 7618 t bsnlc 7619 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7620 d 7621 :bsnlc 7622 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7623 b cont 7624 ' <confdefs.h | sed ' 7625 s/'"$ac_delim"'/"\\\ 7626 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7627 7628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7629 for (key in D) D_is_set[key] = 1 7630 FS = "" 7631 } 7632 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7633 line = \$ 0 7634 split(line, arg, " ") 7635 if (arg[1] == "#") { 7636 defundef = arg[2] 7637 mac1 = arg[3] 7638 } else { 7639 defundef = substr(arg[1], 2) 7640 mac1 = arg[2] 7641 } 7642 split(mac1, mac2, "(") #) 7643 macro = mac2[1] 7644 prefix = substr(line, 1, index(line, defundef) - 1) 7645 if (D_is_set[macro]) { 7646 # Preserve the white space surrounding the "#". 7647 print prefix "define", macro P[macro] D[macro] 7648 next 7649 } else { 7650 # Replace #undef with comments. This is necessary, for example, 7651 # in the case of _POSIX_SOURCE, which is predefined and required 7652 # on some systems where configure will not decide to define it. 7653 if (defundef == "undef") { 7654 print "/*", prefix defundef, macro, "*/" 7655 next 7656 } 7657 } 7658 } 7659 { print } 7660 _ACAWK 7661 _ACEOF 7662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7663 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7664 fi # test -n "$CONFIG_HEADERS" 7665 7666 7667 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7668 shift 7669 for ac_tag 7670 do 7671 case $ac_tag in 7672 :[FHLC]) ac_mode=$ac_tag; continue;; 8602 _ACEOF 8603 cat >>$CONFIG_STATUS <<\_ACEOF 8604 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8605 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8606 case $ac_file in 8607 - | *:- | *:-:* ) # input from stdin 8608 cat >$tmp/stdin 8609 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8610 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8611 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8612 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8613 * ) ac_file_in=$ac_file.in ;; 7673 8614 esac 7674 case $ac_mode$ac_tag in 7675 :[FHL]*:*);; 7676 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 7677 :[FH]-) ac_tag=-:-;; 7678 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7679 esac 7680 ac_save_IFS=$IFS 7681 IFS=: 7682 set x $ac_tag 7683 IFS=$ac_save_IFS 7684 shift 7685 ac_file=$1 7686 shift 7687 7688 case $ac_mode in 7689 :L) ac_source=$1;; 7690 :[FH]) 7691 ac_file_inputs= 7692 for ac_f 7693 do 7694 case $ac_f in 7695 -) ac_f="$tmp/stdin";; 7696 *) # Look for the file first in the build tree, then in the source tree 7697 # (if the path is not absolute). The absolute path cannot be DOS-style, 7698 # because $ac_f cannot contain `:'. 7699 test -f "$ac_f" || 7700 case $ac_f in 7701 [\\/$]*) false;; 7702 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7703 esac || 7704 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 7705 esac 7706 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7707 as_fn_append ac_file_inputs " '$ac_f'" 7708 done 7709 7710 # Let's still pretend it is `configure' which instantiates (i.e., don't 7711 # use $as_me), people would be surprised to read: 7712 # /* config.h. Generated by config.status. */ 7713 configure_input='Generated from '` 7714 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7715 `' by configure.' 7716 if test x"$ac_file" != x-; then 7717 configure_input="$ac_file. $configure_input" 7718 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7719 $as_echo "$as_me: creating $ac_file" >&6;} 7720 fi 7721 # Neutralize special characters interpreted by sed in replacement strings. 7722 case $configure_input in #( 7723 *\&* | *\|* | *\\* ) 7724 ac_sed_conf_input=`$as_echo "$configure_input" | 7725 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7726 *) ac_sed_conf_input=$configure_input;; 7727 esac 7728 7729 case $ac_tag in 7730 *:-:* | *:-) cat >"$tmp/stdin" \ 7731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7732 esac 7733 ;; 7734 esac 7735 7736 ac_dir=`$as_dirname -- "$ac_file" || 8615 8616 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8617 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7737 8618 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7738 8619 X"$ac_file" : 'X\(//\)[^/]' \| \ 7739 8620 X"$ac_file" : 'X\(//\)$' \| \ 7740 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7741 $as_echo X"$ac_file" | 7742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7743 s//\1/ 7744 q 7745 } 7746 /^X\(\/\/\)[^/].*/{ 7747 s//\1/ 7748 q 7749 } 7750 /^X\(\/\/\)$/{ 7751 s//\1/ 7752 q 7753 } 7754 /^X\(\/\).*/{ 7755 s//\1/ 7756 q 7757 } 7758 s/.*/./; q'` 7759 as_dir="$ac_dir"; as_fn_mkdir_p 8621 X"$ac_file" : 'X\(/\)' \| \ 8622 . : '\(.\)' 2>/dev/null || 8623 echo X"$ac_file" | 8624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8625 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8626 /^X\(\/\/\)$/{ s//\1/; q; } 8627 /^X\(\/\).*/{ s//\1/; q; } 8628 s/.*/./; q'` 8629 { if $as_mkdir_p; then 8630 mkdir -p "$ac_dir" 8631 else 8632 as_dir="$ac_dir" 8633 as_dirs= 8634 while test ! -d "$as_dir"; do 8635 as_dirs="$as_dir $as_dirs" 8636 as_dir=`(dirname "$as_dir") 2>/dev/null || 8637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8638 X"$as_dir" : 'X\(//\)[^/]' \| \ 8639 X"$as_dir" : 'X\(//\)$' \| \ 8640 X"$as_dir" : 'X\(/\)' \| \ 8641 . : '\(.\)' 2>/dev/null || 8642 echo X"$as_dir" | 8643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8644 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8645 /^X\(\/\/\)$/{ s//\1/; q; } 8646 /^X\(\/\).*/{ s//\1/; q; } 8647 s/.*/./; q'` 8648 done 8649 test ! -n "$as_dirs" || mkdir $as_dirs 8650 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8651 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8652 { (exit 1); exit 1; }; }; } 8653 7760 8654 ac_builddir=. 7761 8655 7762 case "$ac_dir" in 7763 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8656 if test "$ac_dir" != .; then 8657 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8658 # A "../" for each directory in $ac_dir_suffix. 8659 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8660 else 8661 ac_dir_suffix= ac_top_builddir= 8662 fi 8663 8664 case $srcdir in 8665 .) # No --srcdir option. We are building in place. 8666 ac_srcdir=. 8667 if test -z "$ac_top_builddir"; then 8668 ac_top_srcdir=. 8669 else 8670 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8671 fi ;; 8672 [\\/]* | ?:[\\/]* ) # Absolute path. 8673 ac_srcdir=$srcdir$ac_dir_suffix; 8674 ac_top_srcdir=$srcdir ;; 8675 *) # Relative path. 8676 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8677 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8678 esac 8679 8680 # Do not use `cd foo && pwd` to compute absolute paths, because 8681 # the directories may not exist. 8682 case `pwd` in 8683 .) ac_abs_builddir="$ac_dir";; 7764 8684 *) 7765 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7766 # A ".." for each directory in $ac_dir_suffix. 7767 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7768 case $ac_top_builddir_sub in 7769 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7770 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7771 esac ;; 8685 case "$ac_dir" in 8686 .) ac_abs_builddir=`pwd`;; 8687 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8688 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8689 esac;; 7772 8690 esac 7773 ac_abs_top_builddir=$ac_pwd 7774 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7775 # for backward compatibility: 7776 ac_top_builddir=$ac_top_build_prefix 7777 7778 case $srcdir in 7779 .) # We are building in place. 7780 ac_srcdir=. 7781 ac_top_srcdir=$ac_top_builddir_sub 7782 ac_abs_top_srcdir=$ac_pwd ;; 7783 [\\/]* | ?:[\\/]* ) # Absolute name. 7784 ac_srcdir=$srcdir$ac_dir_suffix; 7785 ac_top_srcdir=$srcdir 7786 ac_abs_top_srcdir=$srcdir ;; 7787 *) # Relative name. 7788 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7789 ac_top_srcdir=$ac_top_build_prefix$srcdir 7790 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8691 case $ac_abs_builddir in 8692 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8693 *) 8694 case ${ac_top_builddir}. in 8695 .) ac_abs_top_builddir=$ac_abs_builddir;; 8696 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8697 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8698 esac;; 7791 8699 esac 7792 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7793 7794 7795 case $ac_mode in 7796 :F) 7797 # 7798 # CONFIG_FILE 7799 # 8700 case $ac_abs_builddir in 8701 .) ac_abs_srcdir=$ac_srcdir;; 8702 *) 8703 case $ac_srcdir in 8704 .) ac_abs_srcdir=$ac_abs_builddir;; 8705 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8706 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8707 esac;; 8708 esac 8709 case $ac_abs_builddir in 8710 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8711 *) 8712 case $ac_top_srcdir in 8713 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8714 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8715 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8716 esac;; 8717 esac 8718 7800 8719 7801 8720 case $INSTALL in 7802 8721 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7803 *) ac_INSTALL=$ac_top_build _prefix$INSTALL ;;8722 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 7804 8723 esac 7805 _ACEOF 7806 7807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7808 # If the template does not know about datarootdir, expand it. 7809 # FIXME: This hack should be removed a few years after 2.60. 7810 ac_datarootdir_hack=; ac_datarootdir_seen= 7811 ac_sed_dataroot=' 7812 /datarootdir/ { 7813 p 7814 q 7815 } 7816 /@datadir@/p 7817 /@docdir@/p 7818 /@infodir@/p 7819 /@localedir@/p 7820 /@mandir@/p' 7821 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7822 *datarootdir*) ac_datarootdir_seen=yes;; 7823 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7825 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7826 _ACEOF 7827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7828 ac_datarootdir_hack=' 7829 s&@datadir@&$datadir&g 7830 s&@docdir@&$docdir&g 7831 s&@infodir@&$infodir&g 7832 s&@localedir@&$localedir&g 7833 s&@mandir@&$mandir&g 7834 s&\\\${datarootdir}&$datarootdir&g' ;; 7835 esac 7836 _ACEOF 7837 7838 # Neutralize VPATH when `$srcdir' = `.'. 7839 # Shell code in configure.ac might set extrasub. 7840 # FIXME: do we really want to maintain this feature? 7841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7842 ac_sed_extra="$ac_vpsub 8724 8725 if test x"$ac_file" != x-; then 8726 { echo "$as_me:$LINENO: creating $ac_file" >&5 8727 echo "$as_me: creating $ac_file" >&6;} 8728 rm -f "$ac_file" 8729 fi 8730 # Let's still pretend it is `configure' which instantiates (i.e., don't 8731 # use $as_me), people would be surprised to read: 8732 # /* config.h. Generated by config.status. */ 8733 if test x"$ac_file" = x-; then 8734 configure_input= 8735 else 8736 configure_input="$ac_file. " 8737 fi 8738 configure_input=$configure_input"Generated from `echo $ac_file_in | 8739 sed 's,.*/,,'` by configure." 8740 8741 # First look for the input files in the build tree, otherwise in the 8742 # src tree. 8743 ac_file_inputs=`IFS=: 8744 for f in $ac_file_in; do 8745 case $f in 8746 -) echo $tmp/stdin ;; 8747 [\\/$]*) 8748 # Absolute (can't be DOS-style, as IFS=:) 8749 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8750 echo "$as_me: error: cannot find input file: $f" >&2;} 8751 { (exit 1); exit 1; }; } 8752 echo "$f";; 8753 *) # Relative 8754 if test -f "$f"; then 8755 # Build tree 8756 echo "$f" 8757 elif test -f "$srcdir/$f"; then 8758 # Source tree 8759 echo "$srcdir/$f" 8760 else 8761 # /dev/null tree 8762 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8763 echo "$as_me: error: cannot find input file: $f" >&2;} 8764 { (exit 1); exit 1; }; } 8765 fi;; 8766 esac 8767 done` || { (exit 1); exit 1; } 8768 _ACEOF 8769 cat >>$CONFIG_STATUS <<_ACEOF 8770 sed "$ac_vpsub 7843 8771 $extrasub 7844 8772 _ACEOF 7845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=18773 cat >>$CONFIG_STATUS <<\_ACEOF 7846 8774 :t 7847 8775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7848 s|@configure_input@|$ac_sed_conf_input|;t t 7849 s&@top_builddir@&$ac_top_builddir_sub&;t t 7850 s&@top_build_prefix@&$ac_top_build_prefix&;t t 7851 s&@srcdir@&$ac_srcdir&;t t 7852 s&@abs_srcdir@&$ac_abs_srcdir&;t t 7853 s&@top_srcdir@&$ac_top_srcdir&;t t 7854 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7855 s&@builddir@&$ac_builddir&;t t 7856 s&@abs_builddir@&$ac_abs_builddir&;t t 7857 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7858 s&@INSTALL@&$ac_INSTALL&;t t 7859 $ac_datarootdir_hack 7860 " 7861 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7862 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7863 7864 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7865 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7866 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7868 which seems to be undefined. Please make sure it is defined" >&5 7869 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7870 which seems to be undefined. Please make sure it is defined" >&2;} 7871 7872 rm -f "$tmp/stdin" 8776 s,@configure_input@,$configure_input,;t t 8777 s,@srcdir@,$ac_srcdir,;t t 8778 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8779 s,@top_srcdir@,$ac_top_srcdir,;t t 8780 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8781 s,@builddir@,$ac_builddir,;t t 8782 s,@abs_builddir@,$ac_abs_builddir,;t t 8783 s,@top_builddir@,$ac_top_builddir,;t t 8784 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8785 s,@INSTALL@,$ac_INSTALL,;t t 8786 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8787 rm -f $tmp/stdin 8788 if test x"$ac_file" != x-; then 8789 mv $tmp/out $ac_file 8790 else 8791 cat $tmp/out 8792 rm -f $tmp/out 8793 fi 8794 8795 done 8796 _ACEOF 8797 cat >>$CONFIG_STATUS <<\_ACEOF 8798 8799 # 8800 # CONFIG_HEADER section. 8801 # 8802 8803 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8804 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8805 # 8806 # ac_d sets the value in "#define NAME VALUE" lines. 8807 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8808 ac_dB='[ ].*$,\1#\2' 8809 ac_dC=' ' 8810 ac_dD=',;t' 8811 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8812 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8813 ac_uB='$,\1#\2define\3' 8814 ac_uC=' ' 8815 ac_uD=',;t' 8816 8817 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8818 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7873 8819 case $ac_file in 7874 -) cat "$tmp/out" && rm -f "$tmp/out";; 7875 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7876 esac \ 7877 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7878 ;; 7879 :H) 7880 # 7881 # CONFIG_HEADER 7882 # 8820 - | *:- | *:-:* ) # input from stdin 8821 cat >$tmp/stdin 8822 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8823 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8824 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8825 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8826 * ) ac_file_in=$ac_file.in ;; 8827 esac 8828 8829 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8830 echo "$as_me: creating $ac_file" >&6;} 8831 8832 # First look for the input files in the build tree, otherwise in the 8833 # src tree. 8834 ac_file_inputs=`IFS=: 8835 for f in $ac_file_in; do 8836 case $f in 8837 -) echo $tmp/stdin ;; 8838 [\\/$]*) 8839 # Absolute (can't be DOS-style, as IFS=:) 8840 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8841 echo "$as_me: error: cannot find input file: $f" >&2;} 8842 { (exit 1); exit 1; }; } 8843 # Do quote $f, to prevent DOS paths from being IFS'd. 8844 echo "$f";; 8845 *) # Relative 8846 if test -f "$f"; then 8847 # Build tree 8848 echo "$f" 8849 elif test -f "$srcdir/$f"; then 8850 # Source tree 8851 echo "$srcdir/$f" 8852 else 8853 # /dev/null tree 8854 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8855 echo "$as_me: error: cannot find input file: $f" >&2;} 8856 { (exit 1); exit 1; }; } 8857 fi;; 8858 esac 8859 done` || { (exit 1); exit 1; } 8860 # Remove the trailing spaces. 8861 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8862 8863 _ACEOF 8864 8865 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8866 # `conftest.undefs', that substitutes the proper values into 8867 # config.h.in to produce config.h. The first handles `#define' 8868 # templates, and the second `#undef' templates. 8869 # And first: Protect against being on the right side of a sed subst in 8870 # config.status. Protect against being in an unquoted here document 8871 # in config.status. 8872 rm -f conftest.defines conftest.undefs 8873 # Using a here document instead of a string reduces the quoting nightmare. 8874 # Putting comments in sed scripts is not portable. 8875 # 8876 # `end' is used to avoid that the second main sed command (meant for 8877 # 0-ary CPP macros) applies to n-ary macro definitions. 8878 # See the Autoconf documentation for `clear'. 8879 cat >confdef2sed.sed <<\_ACEOF 8880 s/[\\&,]/\\&/g 8881 s,[\\$`],\\&,g 8882 t clear 8883 : clear 8884 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8885 t end 8886 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8887 : end 8888 _ACEOF 8889 # If some macros were called several times there might be several times 8890 # the same #defines, which is useless. Nevertheless, we may not want to 8891 # sort them, since we want the *last* AC-DEFINE to be honored. 8892 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8893 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8894 rm -f confdef2sed.sed 8895 8896 # This sed command replaces #undef with comments. This is necessary, for 8897 # example, in the case of _POSIX_SOURCE, which is predefined and required 8898 # on some systems where configure will not decide to define it. 8899 cat >>conftest.undefs <<\_ACEOF 8900 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8901 _ACEOF 8902 8903 # Break up conftest.defines because some shells have a limit on the size 8904 # of here documents, and old seds have small limits too (100 cmds). 8905 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8906 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8907 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8908 echo ' :' >>$CONFIG_STATUS 8909 rm -f conftest.tail 8910 while grep . conftest.defines >/dev/null 8911 do 8912 # Write a limited-size here document to $tmp/defines.sed. 8913 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8914 # Speed up: don't consider the non `#define' lines. 8915 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8916 # Work around the forget-to-reset-the-flag bug. 8917 echo 't clr' >>$CONFIG_STATUS 8918 echo ': clr' >>$CONFIG_STATUS 8919 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 8920 echo 'CEOF 8921 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8922 rm -f $tmp/in 8923 mv $tmp/out $tmp/in 8924 ' >>$CONFIG_STATUS 8925 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 8926 rm -f conftest.defines 8927 mv conftest.tail conftest.defines 8928 done 8929 rm -f conftest.defines 8930 echo ' fi # grep' >>$CONFIG_STATUS 8931 echo >>$CONFIG_STATUS 8932 8933 # Break up conftest.undefs because some shells have a limit on the size 8934 # of here documents, and old seds have small limits too (100 cmds). 8935 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8936 rm -f conftest.tail 8937 while grep . conftest.undefs >/dev/null 8938 do 8939 # Write a limited-size here document to $tmp/undefs.sed. 8940 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8941 # Speed up: don't consider the non `#undef' 8942 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8943 # Work around the forget-to-reset-the-flag bug. 8944 echo 't clr' >>$CONFIG_STATUS 8945 echo ': clr' >>$CONFIG_STATUS 8946 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8947 echo 'CEOF 8948 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8949 rm -f $tmp/in 8950 mv $tmp/out $tmp/in 8951 ' >>$CONFIG_STATUS 8952 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8953 rm -f conftest.undefs 8954 mv conftest.tail conftest.undefs 8955 done 8956 rm -f conftest.undefs 8957 8958 cat >>$CONFIG_STATUS <<\_ACEOF 8959 # Let's still pretend it is `configure' which instantiates (i.e., don't 8960 # use $as_me), people would be surprised to read: 8961 # /* config.h. Generated by config.status. */ 8962 if test x"$ac_file" = x-; then 8963 echo "/* Generated by configure. */" >$tmp/config.h 8964 else 8965 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 8966 fi 8967 cat $tmp/in >>$tmp/config.h 8968 rm -f $tmp/in 7883 8969 if test x"$ac_file" != x-; then 7884 { 7885 $as_echo "/* $configure_input */" \ 7886 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7887 } >"$tmp/config.h" \ 7888 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7889 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7890 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7891 $as_echo "$as_me: $ac_file is unchanged" >&6;} 8970 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8971 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8972 echo "$as_me: $ac_file is unchanged" >&6;} 7892 8973 else 7893 rm -f "$ac_file" 7894 mv "$tmp/config.h" "$ac_file" \ 7895 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8974 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8976 X"$ac_file" : 'X\(//\)[^/]' \| \ 8977 X"$ac_file" : 'X\(//\)$' \| \ 8978 X"$ac_file" : 'X\(/\)' \| \ 8979 . : '\(.\)' 2>/dev/null || 8980 echo X"$ac_file" | 8981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8982 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8983 /^X\(\/\/\)$/{ s//\1/; q; } 8984 /^X\(\/\).*/{ s//\1/; q; } 8985 s/.*/./; q'` 8986 { if $as_mkdir_p; then 8987 mkdir -p "$ac_dir" 8988 else 8989 as_dir="$ac_dir" 8990 as_dirs= 8991 while test ! -d "$as_dir"; do 8992 as_dirs="$as_dir $as_dirs" 8993 as_dir=`(dirname "$as_dir") 2>/dev/null || 8994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8995 X"$as_dir" : 'X\(//\)[^/]' \| \ 8996 X"$as_dir" : 'X\(//\)$' \| \ 8997 X"$as_dir" : 'X\(/\)' \| \ 8998 . : '\(.\)' 2>/dev/null || 8999 echo X"$as_dir" | 9000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9001 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9002 /^X\(\/\/\)$/{ s//\1/; q; } 9003 /^X\(\/\).*/{ s//\1/; q; } 9004 s/.*/./; q'` 9005 done 9006 test ! -n "$as_dirs" || mkdir $as_dirs 9007 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9008 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9009 { (exit 1); exit 1; }; }; } 9010 9011 rm -f $ac_file 9012 mv $tmp/config.h $ac_file 7896 9013 fi 7897 9014 else 7898 $as_echo "/* $configure_input */" \ 7899 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7900 || as_fn_error $? "could not create -" "$LINENO" 5 9015 cat $tmp/config.h 9016 rm -f $tmp/config.h 7901 9017 fi 7902 ;; 7903 7904 7905 esac 7906 7907 done # for ac_tag 7908 7909 7910 as_fn_exit 0 7911 _ACEOF 9018 done 9019 _ACEOF 9020 9021 cat >>$CONFIG_STATUS <<\_ACEOF 9022 9023 { (exit 0); exit 0; } 9024 _ACEOF 9025 chmod +x $CONFIG_STATUS 7912 9026 ac_clean_files=$ac_clean_files_save 7913 7914 test $ac_write_fail = 0 ||7915 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 57916 9027 7917 9028 … … 7934 9045 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7935 9046 # would make configure fail if this is the last instruction. 7936 $ac_cs_success || as_fn_exit 19047 $ac_cs_success || { (exit 1); exit 1; } 7937 9048 fi 7938 9049 … … 7942 9053 if test "$no_recursion" != yes; then 7943 9054 7944 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 7945 # so they do not pile up. 9055 # Remove --cache-file and --srcdir arguments so they do not pile up. 7946 9056 ac_sub_configure_args= 7947 9057 ac_prev= 7948 eval "set x $ac_configure_args" 7949 shift 7950 for ac_arg 7951 do 9058 for ac_arg in $ac_configure_args; do 7952 9059 if test -n "$ac_prev"; then 7953 9060 ac_prev= … … 7972 9079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 7973 9080 ;; 7974 --disable-option-checking) 7975 ;; 7976 *) 7977 case $ac_arg in 7978 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 7979 esac 7980 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 9081 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 7981 9082 esac 7982 9083 done … … 7984 9085 # Always prepend --prefix to ensure using the same prefix 7985 9086 # in subdir configurations. 7986 ac_arg="--prefix=$prefix" 7987 case $ac_arg in 7988 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 7989 esac 7990 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 7991 7992 # Pass --silent 7993 if test "$silent" = yes; then 7994 ac_sub_configure_args="--silent $ac_sub_configure_args" 7995 fi 7996 7997 # Always prepend --disable-option-checking to silence warnings, since 7998 # different subdirs can have different --enable and --with options. 7999 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 9087 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 8000 9088 8001 9089 ac_popdir=`pwd` … … 8004 9092 # Do not complain, so a configure script can configure whichever 8005 9093 # parts of a large source tree are present. 8006 test -d "$srcdir/$ac_dir" || continue 8007 8008 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 8009 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 8010 $as_echo "$ac_msg" >&6 8011 as_dir="$ac_dir"; as_fn_mkdir_p 9094 test -d $srcdir/$ac_dir || continue 9095 9096 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 9097 echo "$as_me: configuring in $ac_dir" >&6;} 9098 { if $as_mkdir_p; then 9099 mkdir -p "$ac_dir" 9100 else 9101 as_dir="$ac_dir" 9102 as_dirs= 9103 while test ! -d "$as_dir"; do 9104 as_dirs="$as_dir $as_dirs" 9105 as_dir=`(dirname "$as_dir") 2>/dev/null || 9106 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9107 X"$as_dir" : 'X\(//\)[^/]' \| \ 9108 X"$as_dir" : 'X\(//\)$' \| \ 9109 X"$as_dir" : 'X\(/\)' \| \ 9110 . : '\(.\)' 2>/dev/null || 9111 echo X"$as_dir" | 9112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9113 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9114 /^X\(\/\/\)$/{ s//\1/; q; } 9115 /^X\(\/\).*/{ s//\1/; q; } 9116 s/.*/./; q'` 9117 done 9118 test ! -n "$as_dirs" || mkdir $as_dirs 9119 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9120 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9121 { (exit 1); exit 1; }; }; } 9122 8012 9123 ac_builddir=. 8013 9124 8014 case "$ac_dir" in 8015 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9125 if test "$ac_dir" != .; then 9126 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9127 # A "../" for each directory in $ac_dir_suffix. 9128 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9129 else 9130 ac_dir_suffix= ac_top_builddir= 9131 fi 9132 9133 case $srcdir in 9134 .) # No --srcdir option. We are building in place. 9135 ac_srcdir=. 9136 if test -z "$ac_top_builddir"; then 9137 ac_top_srcdir=. 9138 else 9139 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9140 fi ;; 9141 [\\/]* | ?:[\\/]* ) # Absolute path. 9142 ac_srcdir=$srcdir$ac_dir_suffix; 9143 ac_top_srcdir=$srcdir ;; 9144 *) # Relative path. 9145 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9146 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9147 esac 9148 9149 # Do not use `cd foo && pwd` to compute absolute paths, because 9150 # the directories may not exist. 9151 case `pwd` in 9152 .) ac_abs_builddir="$ac_dir";; 8016 9153 *) 8017 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8018 # A ".." for each directory in $ac_dir_suffix. 8019 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8020 case $ac_top_builddir_sub in 8021 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8022 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8023 esac ;; 9154 case "$ac_dir" in 9155 .) ac_abs_builddir=`pwd`;; 9156 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9157 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9158 esac;; 8024 9159 esac 8025 ac_abs_top_builddir=$ac_pwd 8026 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8027 # for backward compatibility: 8028 ac_top_builddir=$ac_top_build_prefix 8029 8030 case $srcdir in 8031 .) # We are building in place. 8032 ac_srcdir=. 8033 ac_top_srcdir=$ac_top_builddir_sub 8034 ac_abs_top_srcdir=$ac_pwd ;; 8035 [\\/]* | ?:[\\/]* ) # Absolute name. 8036 ac_srcdir=$srcdir$ac_dir_suffix; 8037 ac_top_srcdir=$srcdir 8038 ac_abs_top_srcdir=$srcdir ;; 8039 *) # Relative name. 8040 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8041 ac_top_srcdir=$ac_top_build_prefix$srcdir 8042 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9160 case $ac_abs_builddir in 9161 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9162 *) 9163 case ${ac_top_builddir}. in 9164 .) ac_abs_top_builddir=$ac_abs_builddir;; 9165 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9166 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9167 esac;; 8043 9168 esac 8044 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8045 8046 8047 cd "$ac_dir" 9169 case $ac_abs_builddir in 9170 .) ac_abs_srcdir=$ac_srcdir;; 9171 *) 9172 case $ac_srcdir in 9173 .) ac_abs_srcdir=$ac_abs_builddir;; 9174 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9175 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9176 esac;; 9177 esac 9178 case $ac_abs_builddir in 9179 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9180 *) 9181 case $ac_top_srcdir in 9182 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9183 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9184 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9185 esac;; 9186 esac 9187 9188 9189 cd $ac_dir 8048 9190 8049 9191 # Check for guested configure; otherwise get Cygnus style configure. 8050 if test -f "$ac_srcdir/configure.gnu"; then 8051 ac_sub_configure=$ac_srcdir/configure.gnu 8052 elif test -f "$ac_srcdir/configure"; then 8053 ac_sub_configure=$ac_srcdir/configure 8054 elif test -f "$ac_srcdir/configure.in"; then 8055 # This should be Cygnus configure. 8056 ac_sub_configure=$ac_aux_dir/configure 9192 if test -f $ac_srcdir/configure.gnu; then 9193 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 9194 elif test -f $ac_srcdir/configure; then 9195 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 9196 elif test -f $ac_srcdir/configure.in; then 9197 ac_sub_configure=$ac_configure 8057 9198 else 8058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&58059 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}9199 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9200 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 8060 9201 ac_sub_configure= 8061 9202 fi … … 8066 9207 case $cache_file in 8067 9208 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8068 *) # Relative name.8069 ac_sub_cache_file=$ac_top_build _prefix$cache_file ;;9209 *) # Relative path. 9210 ac_sub_cache_file=$ac_top_builddir$cache_file ;; 8070 9211 esac 8071 9212 8072 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&58073 $as_echo "$as_me: running $SHELL$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}9213 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 9214 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8074 9215 # The eval makes quoting arguments work. 8075 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 8076 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 8077 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 9216 eval $ac_sub_configure $ac_sub_configure_args \ 9217 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || 9218 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 9219 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9220 { (exit 1); exit 1; }; } 8078 9221 fi 8079 9222 8080 cd "$ac_popdir"9223 cd $ac_popdir 8081 9224 done 8082 9225 fi 8083 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8085 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8086 fi 8087 8088 8089 9226 9227 9228 -
main/trunk/greenstone2/runtime-src/configure.in
r23356 r24901 224 224 if test -z "$COMPAT32BITFLAGS" ; then 225 225 COMPAT32BITFLAGS="-m32" 226 gsdlarch='64' 226 227 fi 227 228 else … … 229 230 if test -z "$COMPAT32BITFLAGS" ; then 230 231 COMPAT32BITFLAGS= 232 gsdlarch='32' 231 233 fi 232 234 fi … … 440 442 fi 441 443 AC_SUBST(gsdlos) 444 445 # Make gsdlarch empty if the OS bit value (32 or 64) is not used in naming 446 # directories already or if runtime-src is compiled up on its own. 447 # E.g. 32/64 bit won't be used in the SVN version if only bin/linux exists. 448 if test -d "../bin/$gsdlos" -o ! -f "../setup.bash" ; then 449 gsdlarch="" 450 fi 451 AC_SUBST(gsdlarch) 442 452 443 453 # check for endianness -
main/trunk/greenstone2/runtime-src/packages/apache-httpd/httpd.conf.in
r24874 r24901 418 418 </IfModule> 419 419 420 ScriptAlias /greenstone/cgi-bin "**GSDLHOME**/cgi-bin/**GSDL OS**"421 <Directory "**GSDLHOME**/cgi-bin/**GSDL OS**">420 ScriptAlias /greenstone/cgi-bin "**GSDLHOME**/cgi-bin/**GSDL_OS_ARCH**" 421 <Directory "**GSDLHOME**/cgi-bin/**GSDL_OS_ARCH**"> 422 422 Options None 423 423 AllowOverride None -
main/trunk/greenstone2/runtime-src/src/oaiservr/Makefile.in
r24874 r24901 30 30 31 31 GSDLOS = @gsdlos@ 32 GSDLARCH = @gsdlarch@ 32 33 33 34 INDEXERS_DIR = $(COMMON_DIR)/indexers … … 183 184 184 185 install: $(EXECUTABLE) 185 $(INSTALL) -m 755 -s $(EXECUTABLE) $(GSDL_DIR)/cgi-bin/$(GSDLOS) 186 $(INSTALL) -m 755 -s $(EXECUTABLE) $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH) 186 187 187 188 clean: -
main/trunk/greenstone2/runtime-src/src/recpt/Makefile.in
r24874 r24901 30 30 31 31 GSDLOS = @gsdlos@ 32 GSDLARCH = @gsdlarch@ 32 33 33 34 INDEXERS_DIR = $(COMMON_DIR)/indexers … … 306 307 307 308 install: $(EXECUTABLE) 308 $(INSTALL) -m 755 -s $(EXECUTABLE) $(GSDL_DIR)/cgi-bin/$(GSDLOS) 309 $(INSTALL) -m 755 -s $(EXECUTABLE) $(GSDL_DIR)/cgi-bin/$(GSDLOS)$(GSDLARCH) 309 310 #ifeq ($(USE_APACHE_HTTPD), 1) 310 311 ifeq ($(USE_APACHE_HTTPD), "IGNORE_FOR_NOW")
Note:
See TracChangeset
for help on using the changeset viewer.