Changeset 24874 for main/trunk/greenstone2
- Timestamp:
- 2011-12-09T18:25:27+13:00 (12 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 2 added
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/indexes/relation.pl
r1971 r24874 38 38 39 39 #get the httpprefix from gsdlsite.cfg 40 open(CFG, "$gsdlhome/cgi-bin/gsdlsite.cfg") 41 or die "$gsdlhome/cgi-bin/gsdlsite.cfg could not be opened"; 40 my $cgibin = "cgi-bin/$ENV{'GSDLOS'}"; 41 $cgibin = $cgibin.$ENV{'GSDLARCH'} if defined $ENV{'GSDLARCH';} 42 open(CFG, "$gsdlhome/$cgibin/gsdlsite.cfg") 43 or die "$gsdlhome/$cgibin/gsdlsite.cfg could not be opened"; 42 44 43 45 while(<CFG>){ -
main/trunk/greenstone2/common-src/Makefile.in
r22079 r24874 51 51 52 52 # all directories should be compiled 53 COMPILEDIRS = packages src/lib src/getpw53 COMPILEDIRS = cgi-bin packages src/lib src/getpw 54 54 55 55 # a subset of the directories get installed 56 INSTALLDIRS = packages src/getpw56 INSTALLDIRS = cgi-bin packages src/getpw 57 57 58 58 -
main/trunk/greenstone2/common-src/configure
r23356 r24874 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 ac_unique_file="src/lib/text_t.h" … … 559 276 ac_includes_default="\ 560 277 #include <stdio.h> 561 #if defHAVE_SYS_TYPES_H278 #if HAVE_SYS_TYPES_H 562 279 # include <sys/types.h> 563 280 #endif 564 #if defHAVE_SYS_STAT_H281 #if HAVE_SYS_STAT_H 565 282 # include <sys/stat.h> 566 283 #endif 567 #if defSTDC_HEADERS284 #if STDC_HEADERS 568 285 # include <stdlib.h> 569 286 # include <stddef.h> 570 287 #else 571 # if defHAVE_STDLIB_H288 # if HAVE_STDLIB_H 572 289 # include <stdlib.h> 573 290 # endif 574 291 #endif 575 #if defHAVE_STRING_H576 # if ! defined STDC_HEADERS && definedHAVE_MEMORY_H292 #if HAVE_STRING_H 293 # if !STDC_HEADERS && HAVE_MEMORY_H 577 294 # include <memory.h> 578 295 # endif 579 296 # include <string.h> 580 297 #endif 581 #if defHAVE_STRINGS_H298 #if HAVE_STRINGS_H 582 299 # include <strings.h> 583 300 #endif 584 #if defHAVE_INTTYPES_H301 #if HAVE_INTTYPES_H 585 302 # include <inttypes.h> 303 #else 304 # if HAVE_STDINT_H 305 # include <stdint.h> 306 # endif 586 307 #endif 587 #ifdef HAVE_STDINT_H 588 # include <stdint.h> 589 #endif 590 #ifdef HAVE_UNISTD_H 308 #if HAVE_UNISTD_H 591 309 # include <unistd.h> 592 310 #endif" 593 311 594 enable_option_checking=no 595 ac_subst_vars='LTLIBOBJS 596 subdirs 597 MODULEDIRS 598 gsdlos 599 STATIC 600 LIBOBJS 601 ALLOCA 602 ANSI2KNR 603 U 604 EGREP 605 GREP 606 CPP 607 MICO_VER 608 COMPAT32BITFLAGS 609 RANLIB 610 SET_MAKE 611 LN_S 612 INSTALL_DATA 613 INSTALL_SCRIPT 614 INSTALL_PROGRAM 615 target_os 616 target_vendor 617 target_cpu 618 target 619 host_os 620 host_vendor 621 host_cpu 622 host 623 build_os 624 build_vendor 625 build_cpu 626 build 627 YFLAGS 628 YACC 629 AWK 630 JAVACFLAGS 631 JAVAC 632 uudecode 633 JAVA 634 ac_ct_CXX 635 CXXFLAGS 636 CXX 637 OBJEXT 638 EXEEXT 639 ac_ct_CC 640 CPPFLAGS 641 CC 642 CFLAGS 643 LDFLAGS 644 ENABLE_LUCENE 645 ENABLE_MGPP 646 ENABLE_MG 647 ENABLE_JNI 648 USE_SQLITE 649 ENABLE_ACCENTFOLD 650 USE_GDBM 651 USE_JDBM 652 ENABLE_JAVA 653 USE_YAZ 654 USE_Z3950 655 MICO_DIR 656 USE_CORBA 657 USE_LANGACTION 658 USE_FASTCGI 659 VERSION 660 PACKAGE 661 target_alias 662 host_alias 663 build_alias 664 LIBS 665 ECHO_T 666 ECHO_N 667 ECHO_C 668 DEFS 669 mandir 670 localedir 671 libdir 672 psdir 673 pdfdir 674 dvidir 675 htmldir 676 infodir 677 docdir 678 oldincludedir 679 includedir 680 localstatedir 681 sharedstatedir 682 sysconfdir 683 datadir 684 datarootdir 685 libexecdir 686 sbindir 687 bindir 688 program_transform_name 689 prefix 690 exec_prefix 691 PACKAGE_URL 692 PACKAGE_BUGREPORT 693 PACKAGE_STRING 694 PACKAGE_VERSION 695 PACKAGE_TARNAME 696 PACKAGE_NAME 697 PATH_SEPARATOR 698 SHELL' 312 ac_subdirs_all="$ac_subdirs_all packages" 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' 699 315 ac_subst_files='' 700 ac_user_opts='701 enable_option_checking702 enable_corba703 with_micodir704 enable_z3950705 enable_yaz706 enable_java707 enable_jdbm708 enable_gdbm709 enable_accentfold710 enable_sqlite711 enable_jni712 enable_mg713 enable_mgpp714 enable_lucene715 with_dmalloc716 with_regex717 '718 ac_precious_vars='build_alias719 host_alias720 target_alias721 CC722 CFLAGS723 LDFLAGS724 LIBS725 CPPFLAGS726 CXX727 CXXFLAGS728 CCC729 YACC730 YFLAGS731 CPP'732 ac_subdirs_all='packages733 indexers'734 316 735 317 # Initialize some variables set by options. 736 318 ac_init_help= 737 319 ac_init_version=false 738 ac_unrecognized_opts=739 ac_unrecognized_sep=740 320 # The variables have the same names as the options, with 741 321 # dashes changed to underlines. … … 760 340 # by default will actually change. 761 341 # Use braces instead of parens because sh, perl, etc. also accept them. 762 # (The list follows the same order as the GNU Coding Standards.)763 342 bindir='${exec_prefix}/bin' 764 343 sbindir='${exec_prefix}/sbin' 765 344 libexecdir='${exec_prefix}/libexec' 766 datarootdir='${prefix}/share' 767 datadir='${datarootdir}' 345 datadir='${prefix}/share' 768 346 sysconfdir='${prefix}/etc' 769 347 sharedstatedir='${prefix}/com' 770 348 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib' 771 350 includedir='${prefix}/include' 772 351 oldincludedir='/usr/include' 773 docdir='${datarootdir}/doc/${PACKAGE}' 774 infodir='${datarootdir}/info' 775 htmldir='${docdir}' 776 dvidir='${docdir}' 777 pdfdir='${docdir}' 778 psdir='${docdir}' 779 libdir='${exec_prefix}/lib' 780 localedir='${datarootdir}/locale' 781 mandir='${datarootdir}/man' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 782 354 783 355 ac_prev= 784 ac_dashdash=785 356 for ac_option 786 357 do 787 358 # If the previous option needs an argument, assign it. 788 359 if test -n "$ac_prev"; then 789 eval $ac_prev=\$ac_option360 eval "$ac_prev=\$ac_option" 790 361 ac_prev= 791 362 continue 792 363 fi 793 364 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 366 367 # Accept the important Cygnus configure options, so we can diagnose typos. 368 794 369 case $ac_option in 795 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;796 *=) ac_optarg= ;;797 *) ac_optarg=yes ;;798 esac799 800 # Accept the important Cygnus configure options, so we can diagnose typos.801 802 case $ac_dashdash$ac_option in803 --)804 ac_dashdash=yes ;;805 370 806 371 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 824 389 cache_file=config.cache ;; 825 390 826 -datadir | --datadir | --datadi | --datad )391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 827 392 ac_prev=datadir ;; 828 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 829 395 datadir=$ac_optarg ;; 830 396 831 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \832 | --dataroo | --dataro | --datar)833 ac_prev=datarootdir ;;834 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \835 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)836 datarootdir=$ac_optarg ;;837 838 397 -disable-* | --disable-*) 839 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 840 399 # Reject names that are not valid shell variable names. 841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 842 as_fn_error $? "invalid feature name: $ac_useropt" 843 ac_useropt_orig=$ac_useropt 844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 845 case $ac_user_opts in 846 *" 847 "enable_$ac_useropt" 848 "*) ;; 849 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 850 ac_unrecognized_sep=', ';; 400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 402 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 405 406 -enable-* | --enable-*) 407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 # Reject names that are not valid shell variable names. 409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 411 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 851 416 esac 852 eval enable_$ac_useropt=no ;; 853 854 -docdir | --docdir | --docdi | --doc | --do) 855 ac_prev=docdir ;; 856 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 857 docdir=$ac_optarg ;; 858 859 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 860 ac_prev=dvidir ;; 861 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 862 dvidir=$ac_optarg ;; 863 864 -enable-* | --enable-*) 865 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 866 # Reject names that are not valid shell variable names. 867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 868 as_fn_error $? "invalid feature name: $ac_useropt" 869 ac_useropt_orig=$ac_useropt 870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 871 case $ac_user_opts in 872 *" 873 "enable_$ac_useropt" 874 "*) ;; 875 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 876 ac_unrecognized_sep=', ';; 877 esac 878 eval enable_$ac_useropt=\$ac_optarg ;; 417 eval "enable_$ac_feature='$ac_optarg'" ;; 879 418 880 419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 903 442 host_alias=$ac_optarg ;; 904 443 905 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)906 ac_prev=htmldir ;;907 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \908 | --ht=*)909 htmldir=$ac_optarg ;;910 911 444 -includedir | --includedir | --includedi | --included | --include \ 912 445 | --includ | --inclu | --incl | --inc) … … 933 466 libexecdir=$ac_optarg ;; 934 467 935 -localedir | --localedir | --localedi | --localed | --locale)936 ac_prev=localedir ;;937 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)938 localedir=$ac_optarg ;;939 940 468 -localstatedir | --localstatedir | --localstatedi | --localstated \ 941 | --localstate | --localstat | --localsta | --localst | --locals) 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 942 471 ac_prev=localstatedir ;; 943 472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 944 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 945 475 localstatedir=$ac_optarg ;; 946 476 … … 1007 537 program_transform_name=$ac_optarg ;; 1008 538 1009 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)1010 ac_prev=pdfdir ;;1011 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)1012 pdfdir=$ac_optarg ;;1013 1014 -psdir | --psdir | --psdi | --psd | --ps)1015 ac_prev=psdir ;;1016 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)1017 psdir=$ac_optarg ;;1018 1019 539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1020 540 | -silent | --silent | --silen | --sile | --sil) … … 1067 587 1068 588 -with-* | --with-*) 1069 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1070 590 # Reject names that are not valid shell variable names. 1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1072 as_fn_error $? "invalid package name: $ac_useropt" 1073 ac_useropt_orig=$ac_useropt 1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1075 case $ac_user_opts in 1076 *" 1077 "with_$ac_useropt" 1078 "*) ;; 1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1080 ac_unrecognized_sep=', ';; 591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 592 { echo "$as_me: error: invalid package name: $ac_package" >&2 593 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 1081 598 esac 1082 eval with_$ac_useropt=\$ac_optarg;;599 eval "with_$ac_package='$ac_optarg'" ;; 1083 600 1084 601 -without-* | --without-*) 1085 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1086 603 # Reject names that are not valid shell variable names. 1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1088 as_fn_error $? "invalid package name: $ac_useropt" 1089 ac_useropt_orig=$ac_useropt 1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1091 case $ac_user_opts in 1092 *" 1093 "with_$ac_useropt" 1094 "*) ;; 1095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1096 ac_unrecognized_sep=', ';; 1097 esac 1098 eval with_$ac_useropt=no ;; 604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 605 { echo "$as_me: error: invalid package name: $ac_package" >&2 606 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 1099 609 1100 610 --x) … … 1116 626 x_libraries=$ac_optarg ;; 1117 627 1118 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1119 Try \`$0 --help' for more information" 628 -*) { echo "$as_me: error: unrecognized option: $ac_option 629 Try \`$0 --help' for more information." >&2 630 { (exit 1); exit 1; }; } 1120 631 ;; 1121 632 … … 1123 634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1124 635 # Reject names that are not valid shell variable names. 1125 case $ac_envvar in #(1126 '' | [0-9]* | *[!_$as_cr_alnum]* )1127 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;1128 esac1129 eval $ac_envvar=\$ac_optarg636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1130 641 export $ac_envvar ;; 1131 642 1132 643 *) 1133 644 # FIXME: should be removed in autoconf 3.0. 1134 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1135 646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1136 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1137 648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1138 649 ;; … … 1143 654 if test -n "$ac_prev"; then 1144 655 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1145 as_fn_error $? "missing argument to $ac_option" 1146 fi 1147 1148 if test -n "$ac_unrecognized_opts"; then 1149 case $enable_option_checking in 1150 no) ;; 1151 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1152 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 656 { echo "$as_me: error: missing argument to $ac_option" >&2 657 { (exit 1); exit 1; }; } 658 fi 659 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 662 do 663 eval ac_val=$`echo $ac_var` 664 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 667 { (exit 1); exit 1; }; };; 1153 668 esac 1154 fi 1155 1156 # Check all directory arguments for consistency. 1157 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1158 datadir sysconfdir sharedstatedir localstatedir includedir \ 1159 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1160 libdir localedir mandir 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 1161 674 do 1162 eval ac_val=\$$ac_var 1163 # Remove trailing slashes. 675 eval ac_val=$`echo $ac_var` 1164 676 case $ac_val in 1165 */ )1166 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1167 eval $ac_var=\$ac_val;;677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 1168 680 esac 1169 # Be sure to have absolute directory names.1170 case $ac_val in1171 [\\/$]* | ?:[\\/]* ) continue;;1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;1173 esac1174 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"1175 681 done 1176 682 … … 1186 692 if test "x$build_alias" = x; then 1187 693 cross_compiling=maybe 1188 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1189 If a cross compiler is detected then cross compile mode will be used " >&2694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 695 If a cross compiler is detected then cross compile mode will be used." >&2 1190 696 elif test "x$build_alias" != "x$host_alias"; then 1191 697 cross_compiling=yes … … 1199 705 1200 706 1201 ac_pwd=`pwd` && test -n "$ac_pwd" &&1202 ac_ls_di=`ls -di .` &&1203 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1204 as_fn_error $? "working directory cannot be determined"1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1206 as_fn_error $? "pwd does not report name of working directory"1207 1208 1209 707 # Find the source files, if location was not specified. 1210 708 if test -z "$srcdir"; then 1211 709 ac_srcdir_defaulted=yes 1212 # Try the directory containing this script, then the parent directory. 1213 ac_confdir=`$as_dirname -- "$as_myself" || 1214 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1215 X"$as_myself" : 'X\(//\)[^/]' \| \ 1216 X"$as_myself" : 'X\(//\)$' \| \ 1217 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1218 $as_echo X"$as_myself" | 1219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1220 s//\1/ 1221 q 1222 } 1223 /^X\(\/\/\)[^/].*/{ 1224 s//\1/ 1225 q 1226 } 1227 /^X\(\/\/\)$/{ 1228 s//\1/ 1229 q 1230 } 1231 /^X\(\/\).*/{ 1232 s//\1/ 1233 q 1234 } 1235 s/.*/./; q'` 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1236 723 srcdir=$ac_confdir 1237 if test ! -r "$srcdir/$ac_unique_file"; then724 if test ! -r $srcdir/$ac_unique_file; then 1238 725 srcdir=.. 1239 726 fi … … 1241 728 ac_srcdir_defaulted=no 1242 729 fi 1243 if test ! -r "$srcdir/$ac_unique_file"; then 1244 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1245 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1246 fi 1247 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1248 ac_abs_confdir=`( 1249 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1250 pwd)` 1251 # When building in place, set srcdir=. 1252 if test "$ac_abs_confdir" = "$ac_pwd"; then 1253 srcdir=. 1254 fi 1255 # Remove unnecessary trailing slashes from srcdir. 1256 # Double slashes in file names in object file debugging info 1257 # mess up M-x gdb in Emacs. 1258 case $srcdir in 1259 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1260 esac 1261 for ac_var in $ac_precious_vars; do 1262 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1263 eval ac_env_${ac_var}_value=\$${ac_var} 1264 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1265 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1266 done 730 if test ! -r $srcdir/$ac_unique_file; then 731 if test "$ac_srcdir_defaulted" = yes; then 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 733 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 736 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 1267 783 1268 784 # … … 1287 803 --help=recursive display the short help of all the included packages 1288 804 -V, --version display version information and exit 1289 -q, --quiet, --silent do not print \`checking 805 -q, --quiet, --silent do not print \`checking...' messages 1290 806 --cache-file=FILE cache test results in FILE [disabled] 1291 807 -C, --config-cache alias for \`--cache-file=config.cache' … … 1293 809 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1294 810 811 _ACEOF 812 813 cat <<_ACEOF 1295 814 Installation directories: 1296 815 --prefix=PREFIX install architecture-independent files in PREFIX 1297 816 [$ac_default_prefix] 1298 817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1299 818 [PREFIX] 1300 819 1301 820 By default, \`make install' will install all the files in … … 1307 826 1308 827 Fine tuning of the installation directories: 1309 --bindir=DIR user executables [EPREFIX/bin] 1310 --sbindir=DIR system admin executables [EPREFIX/sbin] 1311 --libexecdir=DIR program executables [EPREFIX/libexec] 1312 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1313 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1314 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1315 --libdir=DIR object code libraries [EPREFIX/lib] 1316 --includedir=DIR C header files [PREFIX/include] 1317 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1318 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1319 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1320 --infodir=DIR info documentation [DATAROOTDIR/info] 1321 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1322 --mandir=DIR man documentation [DATAROOTDIR/man] 1323 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1324 --htmldir=DIR html documentation [DOCDIR] 1325 --dvidir=DIR dvi documentation [DOCDIR] 1326 --pdfdir=DIR pdf documentation [DOCDIR] 1327 --psdir=DIR ps documentation [DOCDIR] 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 1328 840 _ACEOF 1329 841 … … 1342 854 1343 855 Optional Features: 1344 --disable-option-checking ignore unrecognized --enable/--with options1345 856 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1346 857 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1371 882 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1372 883 nonstandard directory <lib dir> 1373 LIBS libraries to pass to the linker, e.g. -l<library> 1374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1375 you have headers in a nonstandard directory <include dir> 884 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 885 headers in a nonstandard directory <include dir> 1376 886 CXX C++ compiler command 1377 887 CXXFLAGS C++ compiler flags 1378 YACC The `Yet Another C Compiler' implementation to use. Defaults to1379 the first program found out of: `bison -y', `byacc', `yacc'.1380 YFLAGS The list of arguments that will be passed by default to $YACC.1381 This script will default YFLAGS to the empty string to avoid a1382 default value of `-d' given by some make applications.1383 888 CPP C preprocessor 1384 889 … … 1386 891 it to find libraries and programs with nonstandard names/locations. 1387 892 1388 Report bugs to the package provider. 1389 _ACEOF 1390 ac_status=$? 893 _ACEOF 1391 894 fi 1392 895 1393 896 if test "$ac_init_help" = "recursive"; then 1394 897 # If there are subdirs, report their specific --help. 898 ac_popdir=`pwd` 1395 899 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1396 test -d "$ac_dir" || 1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1398 continue 900 test -d $ac_dir || continue 1399 901 ac_builddir=. 1400 902 1401 case "$ac_dir" in 1402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 903 if test "$ac_dir" != .; then 904 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 905 # A "../" for each directory in $ac_dir_suffix. 906 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 907 else 908 ac_dir_suffix= ac_top_builddir= 909 fi 910 911 case $srcdir in 912 .) # No --srcdir option. We are building in place. 913 ac_srcdir=. 914 if test -z "$ac_top_builddir"; then 915 ac_top_srcdir=. 916 else 917 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 918 fi ;; 919 [\\/]* | ?:[\\/]* ) # Absolute path. 920 ac_srcdir=$srcdir$ac_dir_suffix; 921 ac_top_srcdir=$srcdir ;; 922 *) # Relative path. 923 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 924 ac_top_srcdir=$ac_top_builddir$srcdir ;; 925 esac 926 927 # Do not use `cd foo && pwd` to compute absolute paths, because 928 # the directories may not exist. 929 case `pwd` in 930 .) ac_abs_builddir="$ac_dir";; 1403 931 *) 1404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1405 # A ".." for each directory in $ac_dir_suffix. 1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1407 case $ac_top_builddir_sub in 1408 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1409 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1410 esac ;; 932 case "$ac_dir" in 933 .) ac_abs_builddir=`pwd`;; 934 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 935 *) ac_abs_builddir=`pwd`/"$ac_dir";; 936 esac;; 1411 937 esac 1412 ac_abs_top_builddir=$ac_pwd 1413 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1414 # for backward compatibility: 1415 ac_top_builddir=$ac_top_build_prefix 1416 1417 case $srcdir in 1418 .) # We are building in place. 1419 ac_srcdir=. 1420 ac_top_srcdir=$ac_top_builddir_sub 1421 ac_abs_top_srcdir=$ac_pwd ;; 1422 [\\/]* | ?:[\\/]* ) # Absolute name. 1423 ac_srcdir=$srcdir$ac_dir_suffix; 1424 ac_top_srcdir=$srcdir 1425 ac_abs_top_srcdir=$srcdir ;; 1426 *) # Relative name. 1427 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1428 ac_top_srcdir=$ac_top_build_prefix$srcdir 1429 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 938 case $ac_abs_builddir in 939 .) ac_abs_top_builddir=${ac_top_builddir}.;; 940 *) 941 case ${ac_top_builddir}. in 942 .) ac_abs_top_builddir=$ac_abs_builddir;; 943 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 944 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 945 esac;; 1430 946 esac 1431 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1432 1433 cd "$ac_dir" || { ac_status=$?; continue; } 1434 # Check for guested configure. 1435 if test -f "$ac_srcdir/configure.gnu"; then 1436 echo && 1437 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1438 elif test -f "$ac_srcdir/configure"; then 1439 echo && 1440 $SHELL "$ac_srcdir/configure" --help=recursive 947 case $ac_abs_builddir in 948 .) ac_abs_srcdir=$ac_srcdir;; 949 *) 950 case $ac_srcdir in 951 .) ac_abs_srcdir=$ac_abs_builddir;; 952 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 953 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 954 esac;; 955 esac 956 case $ac_abs_builddir in 957 .) ac_abs_top_srcdir=$ac_top_srcdir;; 958 *) 959 case $ac_top_srcdir in 960 .) ac_abs_top_srcdir=$ac_abs_builddir;; 961 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 962 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 963 esac;; 964 esac 965 966 cd $ac_dir 967 # Check for guested configure; otherwise get Cygnus style configure. 968 if test -f $ac_srcdir/configure.gnu; then 969 echo 970 $SHELL $ac_srcdir/configure.gnu --help=recursive 971 elif test -f $ac_srcdir/configure; then 972 echo 973 $SHELL $ac_srcdir/configure --help=recursive 974 elif test -f $ac_srcdir/configure.ac || 975 test -f $ac_srcdir/configure.in; then 976 echo 977 $ac_configure --help 1441 978 else 1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21443 fi || ac_status=$?1444 cd "$ac_pwd" || { ac_status=$?; break; }979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 980 fi 981 cd $ac_popdir 1445 982 done 1446 983 fi 1447 984 1448 test -n "$ac_init_help" && exit $ac_status985 test -n "$ac_init_help" && exit 0 1449 986 if $ac_init_version; then 1450 987 cat <<\_ACEOF 1451 configure 1452 generated by GNU Autoconf 2.67 1453 1454 Copyright (C) 2010 Free Software Foundation, Inc. 988 989 Copyright (C) 2003 Free Software Foundation, Inc. 1455 990 This configure script is free software; the Free Software Foundation 1456 991 gives unlimited permission to copy, distribute and modify it. 1457 992 _ACEOF 1458 exit 1459 fi 1460 1461 ## ------------------------ ## 1462 ## Autoconf initialization. ## 1463 ## ------------------------ ## 1464 1465 # ac_fn_c_try_compile LINENO 1466 # -------------------------- 1467 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1468 ac_fn_c_try_compile () 1469 { 1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1471 rm -f conftest.$ac_objext 1472 if { { ac_try="$ac_compile" 1473 case "(($ac_try" in 1474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1475 *) ac_try_echo=$ac_try;; 1476 esac 1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1478 $as_echo "$ac_try_echo"; } >&5 1479 (eval "$ac_compile") 2>conftest.err 1480 ac_status=$? 1481 if test -s conftest.err; then 1482 grep -v '^ *+' conftest.err >conftest.er1 1483 cat conftest.er1 >&5 1484 mv -f conftest.er1 conftest.err 1485 fi 1486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1487 test $ac_status = 0; } && { 1488 test -z "$ac_c_werror_flag" || 1489 test ! -s conftest.err 1490 } && test -s conftest.$ac_objext; then : 1491 ac_retval=0 1492 else 1493 $as_echo "$as_me: failed program was:" >&5 1494 sed 's/^/| /' conftest.$ac_ext >&5 1495 1496 ac_retval=1 1497 fi 1498 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1499 as_fn_set_status $ac_retval 1500 1501 } # ac_fn_c_try_compile 1502 1503 # ac_fn_cxx_try_compile LINENO 1504 # ---------------------------- 1505 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1506 ac_fn_cxx_try_compile () 1507 { 1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1509 rm -f conftest.$ac_objext 1510 if { { ac_try="$ac_compile" 1511 case "(($ac_try" in 1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1513 *) ac_try_echo=$ac_try;; 1514 esac 1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1516 $as_echo "$ac_try_echo"; } >&5 1517 (eval "$ac_compile") 2>conftest.err 1518 ac_status=$? 1519 if test -s conftest.err; then 1520 grep -v '^ *+' conftest.err >conftest.er1 1521 cat conftest.er1 >&5 1522 mv -f conftest.er1 conftest.err 1523 fi 1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1525 test $ac_status = 0; } && { 1526 test -z "$ac_cxx_werror_flag" || 1527 test ! -s conftest.err 1528 } && test -s conftest.$ac_objext; then : 1529 ac_retval=0 1530 else 1531 $as_echo "$as_me: failed program was:" >&5 1532 sed 's/^/| /' conftest.$ac_ext >&5 1533 1534 ac_retval=1 1535 fi 1536 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1537 as_fn_set_status $ac_retval 1538 1539 } # ac_fn_cxx_try_compile 1540 1541 # ac_fn_c_try_cpp LINENO 1542 # ---------------------- 1543 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1544 ac_fn_c_try_cpp () 1545 { 1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1547 if { { ac_try="$ac_cpp conftest.$ac_ext" 1548 case "(($ac_try" in 1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1550 *) ac_try_echo=$ac_try;; 1551 esac 1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1553 $as_echo "$ac_try_echo"; } >&5 1554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1555 ac_status=$? 1556 if test -s conftest.err; then 1557 grep -v '^ *+' conftest.err >conftest.er1 1558 cat conftest.er1 >&5 1559 mv -f conftest.er1 conftest.err 1560 fi 1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1562 test $ac_status = 0; } > conftest.i && { 1563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1564 test ! -s conftest.err 1565 }; then : 1566 ac_retval=0 1567 else 1568 $as_echo "$as_me: failed program was:" >&5 1569 sed 's/^/| /' conftest.$ac_ext >&5 1570 1571 ac_retval=1 1572 fi 1573 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1574 as_fn_set_status $ac_retval 1575 1576 } # ac_fn_c_try_cpp 1577 1578 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1579 # ------------------------------------------------------- 1580 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1581 # the include files in INCLUDES and setting the cache variable VAR 1582 # accordingly. 1583 ac_fn_c_check_header_mongrel () 1584 { 1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1586 if eval "test \"\${$3+set}\"" = set; then : 1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1588 $as_echo_n "checking for $2... " >&6; } 1589 if eval "test \"\${$3+set}\"" = set; then : 1590 $as_echo_n "(cached) " >&6 1591 fi 1592 eval ac_res=\$$3 1593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1594 $as_echo "$ac_res" >&6; } 1595 else 1596 # Is the header compilable? 1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1598 $as_echo_n "checking $2 usability... " >&6; } 1599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1600 /* end confdefs.h. */ 1601 $4 1602 #include <$2> 1603 _ACEOF 1604 if ac_fn_c_try_compile "$LINENO"; then : 1605 ac_header_compiler=yes 1606 else 1607 ac_header_compiler=no 1608 fi 1609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1611 $as_echo "$ac_header_compiler" >&6; } 1612 1613 # Is the header present? 1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1615 $as_echo_n "checking $2 presence... " >&6; } 1616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1617 /* end confdefs.h. */ 1618 #include <$2> 1619 _ACEOF 1620 if ac_fn_c_try_cpp "$LINENO"; then : 1621 ac_header_preproc=yes 1622 else 1623 ac_header_preproc=no 1624 fi 1625 rm -f conftest.err conftest.i conftest.$ac_ext 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1627 $as_echo "$ac_header_preproc" >&6; } 1628 1629 # So? What about this header? 1630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1631 yes:no: ) 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1633 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1635 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1636 ;; 1637 no:yes:* ) 1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1639 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1641 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1643 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1645 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1648 ;; 1649 esac 1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1651 $as_echo_n "checking for $2... " >&6; } 1652 if eval "test \"\${$3+set}\"" = set; then : 1653 $as_echo_n "(cached) " >&6 1654 else 1655 eval "$3=\$ac_header_compiler" 1656 fi 1657 eval ac_res=\$$3 1658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1659 $as_echo "$ac_res" >&6; } 1660 fi 1661 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1662 1663 } # ac_fn_c_check_header_mongrel 1664 1665 # ac_fn_c_try_run LINENO 1666 # ---------------------- 1667 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1668 # that executables *can* be run. 1669 ac_fn_c_try_run () 1670 { 1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1672 if { { ac_try="$ac_link" 1673 case "(($ac_try" in 1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1675 *) ac_try_echo=$ac_try;; 1676 esac 1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1678 $as_echo "$ac_try_echo"; } >&5 1679 (eval "$ac_link") 2>&5 1680 ac_status=$? 1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1683 { { case "(($ac_try" in 1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1685 *) ac_try_echo=$ac_try;; 1686 esac 1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1688 $as_echo "$ac_try_echo"; } >&5 1689 (eval "$ac_try") 2>&5 1690 ac_status=$? 1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1692 test $ac_status = 0; }; }; then : 1693 ac_retval=0 1694 else 1695 $as_echo "$as_me: program exited with status $ac_status" >&5 1696 $as_echo "$as_me: failed program was:" >&5 1697 sed 's/^/| /' conftest.$ac_ext >&5 1698 1699 ac_retval=$ac_status 1700 fi 1701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1703 as_fn_set_status $ac_retval 1704 1705 } # ac_fn_c_try_run 1706 1707 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1708 # ------------------------------------------------------- 1709 # Tests whether HEADER exists and can be compiled using the include files in 1710 # INCLUDES, setting the cache variable VAR accordingly. 1711 ac_fn_c_check_header_compile () 1712 { 1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1715 $as_echo_n "checking for $2... " >&6; } 1716 if eval "test \"\${$3+set}\"" = set; then : 1717 $as_echo_n "(cached) " >&6 1718 else 1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1720 /* end confdefs.h. */ 1721 $4 1722 #include <$2> 1723 _ACEOF 1724 if ac_fn_c_try_compile "$LINENO"; then : 1725 eval "$3=yes" 1726 else 1727 eval "$3=no" 1728 fi 1729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1730 fi 1731 eval ac_res=\$$3 1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1733 $as_echo "$ac_res" >&6; } 1734 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1735 1736 } # ac_fn_c_check_header_compile 1737 1738 # ac_fn_c_try_link LINENO 1739 # ----------------------- 1740 # Try to link conftest.$ac_ext, and return whether this succeeded. 1741 ac_fn_c_try_link () 1742 { 1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1744 rm -f conftest.$ac_objext conftest$ac_exeext 1745 if { { ac_try="$ac_link" 1746 case "(($ac_try" in 1747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1748 *) ac_try_echo=$ac_try;; 1749 esac 1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1751 $as_echo "$ac_try_echo"; } >&5 1752 (eval "$ac_link") 2>conftest.err 1753 ac_status=$? 1754 if test -s conftest.err; then 1755 grep -v '^ *+' conftest.err >conftest.er1 1756 cat conftest.er1 >&5 1757 mv -f conftest.er1 conftest.err 1758 fi 1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1760 test $ac_status = 0; } && { 1761 test -z "$ac_c_werror_flag" || 1762 test ! -s conftest.err 1763 } && test -s conftest$ac_exeext && { 1764 test "$cross_compiling" = yes || 1765 $as_test_x conftest$ac_exeext 1766 }; then : 1767 ac_retval=0 1768 else 1769 $as_echo "$as_me: failed program was:" >&5 1770 sed 's/^/| /' conftest.$ac_ext >&5 1771 1772 ac_retval=1 1773 fi 1774 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1775 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1776 # interfere with the next link command; also delete a directory that is 1777 # left behind by Apple's compiler. We do this before executing the actions. 1778 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1779 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1780 as_fn_set_status $ac_retval 1781 1782 } # ac_fn_c_try_link 1783 1784 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1785 # ------------------------------------------- 1786 # Tests whether TYPE exists after having included INCLUDES, setting cache 1787 # variable VAR accordingly. 1788 ac_fn_c_check_type () 1789 { 1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1792 $as_echo_n "checking for $2... " >&6; } 1793 if eval "test \"\${$3+set}\"" = set; then : 1794 $as_echo_n "(cached) " >&6 1795 else 1796 eval "$3=no" 1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1798 /* end confdefs.h. */ 1799 $4 1800 int 1801 main () 1802 { 1803 if (sizeof ($2)) 1804 return 0; 1805 ; 1806 return 0; 1807 } 1808 _ACEOF 1809 if ac_fn_c_try_compile "$LINENO"; then : 1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1811 /* end confdefs.h. */ 1812 $4 1813 int 1814 main () 1815 { 1816 if (sizeof (($2))) 1817 return 0; 1818 ; 1819 return 0; 1820 } 1821 _ACEOF 1822 if ac_fn_c_try_compile "$LINENO"; then : 1823 1824 else 1825 eval "$3=yes" 1826 fi 1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1828 fi 1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1830 fi 1831 eval ac_res=\$$3 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1833 $as_echo "$ac_res" >&6; } 1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1835 1836 } # ac_fn_c_check_type 1837 1838 # ac_fn_c_check_func LINENO FUNC VAR 1839 # ---------------------------------- 1840 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1841 ac_fn_c_check_func () 1842 { 1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1845 $as_echo_n "checking for $2... " >&6; } 1846 if eval "test \"\${$3+set}\"" = set; then : 1847 $as_echo_n "(cached) " >&6 1848 else 1849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1850 /* end confdefs.h. */ 1851 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1852 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1853 #define $2 innocuous_$2 1854 1855 /* System header to define __stub macros and hopefully few prototypes, 1856 which can conflict with char $2 (); below. 1857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1858 <limits.h> exists even on freestanding compilers. */ 1859 1860 #ifdef __STDC__ 1861 # include <limits.h> 1862 #else 1863 # include <assert.h> 1864 #endif 1865 1866 #undef $2 1867 1868 /* Override any GCC internal prototype to avoid an error. 1869 Use char because int might match the return type of a GCC 1870 builtin and then its argument prototype would still apply. */ 1871 #ifdef __cplusplus 1872 extern "C" 1873 #endif 1874 char $2 (); 1875 /* The GNU C library defines this for functions which it implements 1876 to always fail with ENOSYS. Some functions are actually named 1877 something starting with __ and the normal name is an alias. */ 1878 #if defined __stub_$2 || defined __stub___$2 1879 choke me 1880 #endif 1881 1882 int 1883 main () 1884 { 1885 return $2 (); 1886 ; 1887 return 0; 1888 } 1889 _ACEOF 1890 if ac_fn_c_try_link "$LINENO"; then : 1891 eval "$3=yes" 1892 else 1893 eval "$3=no" 1894 fi 1895 rm -f core conftest.err conftest.$ac_objext \ 1896 conftest$ac_exeext conftest.$ac_ext 1897 fi 1898 eval ac_res=\$$3 1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1900 $as_echo "$ac_res" >&6; } 1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1902 1903 } # ac_fn_c_check_func 1904 1905 # ac_fn_cxx_try_run LINENO 1906 # ------------------------ 1907 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1908 # that executables *can* be run. 1909 ac_fn_cxx_try_run () 1910 { 1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1912 if { { ac_try="$ac_link" 1913 case "(($ac_try" in 1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1915 *) ac_try_echo=$ac_try;; 1916 esac 1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1918 $as_echo "$ac_try_echo"; } >&5 1919 (eval "$ac_link") 2>&5 1920 ac_status=$? 1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1922 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1923 { { case "(($ac_try" in 1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1925 *) ac_try_echo=$ac_try;; 1926 esac 1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1928 $as_echo "$ac_try_echo"; } >&5 1929 (eval "$ac_try") 2>&5 1930 ac_status=$? 1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1932 test $ac_status = 0; }; }; then : 1933 ac_retval=0 1934 else 1935 $as_echo "$as_me: program exited with status $ac_status" >&5 1936 $as_echo "$as_me: failed program was:" >&5 1937 sed 's/^/| /' conftest.$ac_ext >&5 1938 1939 ac_retval=$ac_status 1940 fi 1941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1942 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1943 as_fn_set_status $ac_retval 1944 1945 } # ac_fn_cxx_try_run 1946 cat >config.log <<_ACEOF 993 exit 0 994 fi 995 exec 5>config.log 996 cat >&5 <<_ACEOF 1947 997 This file contains any messages produced by compilers while 1948 998 running configure, to aid debugging if configure makes a mistake. 1949 999 1950 1000 It was created by $as_me, which was 1951 generated by GNU Autoconf 2. 67. Invocation command line was1001 generated by GNU Autoconf 2.59. Invocation command line was 1952 1002 1953 1003 $ $0 $@ 1954 1004 1955 1005 _ACEOF 1956 exec 5>>config.log1957 1006 { 1958 1007 cat <<_ASUNAME … … 1973 1022 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1974 1023 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1975 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1024 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1976 1025 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1977 1026 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1985 1034 IFS=$as_save_IFS 1986 1035 test -z "$as_dir" && as_dir=. 1987 $as_echo "PATH: $as_dir" 1988 done 1989 IFS=$as_save_IFS 1036 echo "PATH: $as_dir" 1037 done 1990 1038 1991 1039 } >&5 … … 2009 1057 ac_configure_args0= 2010 1058 ac_configure_args1= 1059 ac_sep= 2011 1060 ac_must_keep_next=false 2012 1061 for ac_pass in 1 2 … … 2019 1068 | -silent | --silent | --silen | --sile | --sil) 2020 1069 continue ;; 2021 * \'*)2022 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1070 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1071 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2023 1072 esac 2024 1073 case $ac_pass in 2025 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1074 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2026 1075 2) 2027 a s_fn_append ac_configure_args1 "'$ac_arg'"1076 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2028 1077 if test $ac_must_keep_next = true; then 2029 1078 ac_must_keep_next=false # Got value, back to normal. … … 2041 1090 esac 2042 1091 fi 2043 as_fn_append ac_configure_args " '$ac_arg'" 1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1093 # Get rid of the leading space. 1094 ac_sep=" " 2044 1095 ;; 2045 1096 esac 2046 1097 done 2047 1098 done 2048 { ac_configure_args0=; unset ac_configure_args0;}2049 { ac_configure_args1=; unset ac_configure_args1;}1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2050 1101 2051 1102 # When interrupted or exit'd, cleanup temporary files, and complete 2052 1103 # config.log. We remove comments because anyway the quotes in there 2053 1104 # would cause problems or look ugly. 2054 # WARNING: Use '\'' to represent an apostrophe within the trap.2055 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.1105 # WARNING: Be sure not to use single quotes in there, as some shells, 1106 # such as our DU 5.0 friend, will then `close' the trap. 2056 1107 trap 'exit_status=$? 2057 1108 # Save into config.log some information that might help in debugging. … … 2059 1110 echo 2060 1111 2061 $as_echo "## ---------------- ## 1112 cat <<\_ASBOX 1113 ## ---------------- ## 2062 1114 ## Cache variables. ## 2063 ## ---------------- ##" 1115 ## ---------------- ## 1116 _ASBOX 2064 1117 echo 2065 1118 # The following way of writing the cache mishandles newlines in values, 2066 ( 2067 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2068 eval ac_val=\$$ac_var 2069 case $ac_val in #( 2070 *${as_nl}*) 2071 case $ac_var in #( 2072 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2074 esac 2075 case $ac_var in #( 2076 _ | IFS | as_nl) ;; #( 2077 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2078 *) { eval $ac_var=; unset $ac_var;} ;; 2079 esac ;; 2080 esac 2081 done 1119 { 2082 1120 (set) 2>&1 | 2083 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(2084 * ${as_nl}ac_space=\ *)1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1122 *ac_space=\ *) 2085 1123 sed -n \ 2086 "s/' \''/'\''\\\\'\'''\''/g;2087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' \''\\2'\''/p"2088 ;; #(1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1126 ;; 2089 1127 *) 2090 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1128 sed -n \ 1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 2091 1130 ;; 2092 esac | 2093 sort 2094 ) 1131 esac; 1132 } 2095 1133 echo 2096 1134 2097 $as_echo "## ----------------- ## 1135 cat <<\_ASBOX 1136 ## ----------------- ## 2098 1137 ## Output variables. ## 2099 ## ----------------- ##" 1138 ## ----------------- ## 1139 _ASBOX 2100 1140 echo 2101 1141 for ac_var in $ac_subst_vars 2102 1142 do 2103 eval ac_val=\$$ac_var 2104 case $ac_val in 2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2106 esac 2107 $as_echo "$ac_var='\''$ac_val'\''" 1143 eval ac_val=$`echo $ac_var` 1144 echo "$ac_var='"'"'$ac_val'"'"'" 2108 1145 done | sort 2109 1146 echo 2110 1147 2111 1148 if test -n "$ac_subst_files"; then 2112 $as_echo "## ------------------- ## 2113 ## File substitutions. ## 2114 ## ------------------- ##" 1149 cat <<\_ASBOX 1150 ## ------------- ## 1151 ## Output files. ## 1152 ## ------------- ## 1153 _ASBOX 2115 1154 echo 2116 1155 for ac_var in $ac_subst_files 2117 1156 do 2118 eval ac_val=\$$ac_var 2119 case $ac_val in 2120 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2121 esac 2122 $as_echo "$ac_var='\''$ac_val'\''" 1157 eval ac_val=$`echo $ac_var` 1158 echo "$ac_var='"'"'$ac_val'"'"'" 2123 1159 done | sort 2124 1160 echo … … 2126 1162 2127 1163 if test -s confdefs.h; then 2128 $as_echo "## ----------- ## 1164 cat <<\_ASBOX 1165 ## ----------- ## 2129 1166 ## confdefs.h. ## 2130 ## ----------- ##" 1167 ## ----------- ## 1168 _ASBOX 2131 1169 echo 2132 cat confdefs.h1170 sed "/^$/d" confdefs.h | sort 2133 1171 echo 2134 1172 fi 2135 1173 test "$ac_signal" != 0 && 2136 $as_echo "$as_me: caught signal $ac_signal"2137 $as_echo "$as_me: exit $exit_status"1174 echo "$as_me: caught signal $ac_signal" 1175 echo "$as_me: exit $exit_status" 2138 1176 } >&5 2139 rm -f core *.core core.conftest.*&&2140 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1177 rm -f core *.core && 1178 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 2141 1179 exit $exit_status 2142 ' 01180 ' 0 2143 1181 for ac_signal in 1 2 13 15; do 2144 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1182 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2145 1183 done 2146 1184 ac_signal=0 2147 1185 2148 1186 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2149 rm - f -rconftest* confdefs.h2150 2151 $as_echo "/* confdefs.h */" >confdefs.h1187 rm -rf conftest* confdefs.h 1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1189 echo >confdefs.h 2152 1190 2153 1191 # Predefined preprocessor variables. … … 2157 1195 _ACEOF 2158 1196 1197 2159 1198 cat >>confdefs.h <<_ACEOF 2160 1199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2161 1200 _ACEOF 2162 1201 1202 2163 1203 cat >>confdefs.h <<_ACEOF 2164 1204 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2165 1205 _ACEOF 2166 1206 1207 2167 1208 cat >>confdefs.h <<_ACEOF 2168 1209 #define PACKAGE_STRING "$PACKAGE_STRING" 2169 1210 _ACEOF 2170 1211 1212 2171 1213 cat >>confdefs.h <<_ACEOF 2172 1214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2173 1215 _ACEOF 2174 1216 2175 cat >>confdefs.h <<_ACEOF2176 #define PACKAGE_URL "$PACKAGE_URL"2177 _ACEOF2178 2179 1217 2180 1218 # Let the site file select an alternate cache file if it wants to. 2181 # Prefer an explicitly selected file to automatically selected ones. 2182 ac_site_file1=NONE 2183 ac_site_file2=NONE 2184 if test -n "$CONFIG_SITE"; then 2185 # We do not want a PATH search for config.site. 2186 case $CONFIG_SITE in #(( 2187 -*) ac_site_file1=./$CONFIG_SITE;; 2188 */*) ac_site_file1=$CONFIG_SITE;; 2189 *) ac_site_file1=./$CONFIG_SITE;; 2190 esac 2191 elif test "x$prefix" != xNONE; then 2192 ac_site_file1=$prefix/share/config.site 2193 ac_site_file2=$prefix/etc/config.site 2194 else 2195 ac_site_file1=$ac_default_prefix/share/config.site 2196 ac_site_file2=$ac_default_prefix/etc/config.site 2197 fi 2198 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2199 do 2200 test "x$ac_site_file" = xNONE && continue 2201 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2203 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1219 # Prefer explicitly selected file to automatically selected ones. 1220 if test -z "$CONFIG_SITE"; then 1221 if test "x$prefix" != xNONE; then 1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1223 else 1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1225 fi 1226 fi 1227 for ac_site_file in $CONFIG_SITE; do 1228 if test -r "$ac_site_file"; then 1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1230 echo "$as_me: loading site script $ac_site_file" >&6;} 2204 1231 sed 's/^/| /' "$ac_site_file" >&5 2205 . "$ac_site_file" \ 2206 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2208 as_fn_error $? "failed to load site script $ac_site_file 2209 See \`config.log' for more details" "$LINENO" 5 ; } 1232 . "$ac_site_file" 2210 1233 fi 2211 1234 done 2212 1235 2213 1236 if test -r "$cache_file"; then 2214 # Some versions of bash will fail to source /dev/null (special files2215 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2216 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52218 $as_echo "$as_me: loading cache $cache_file" >&6;}1237 # Some versions of bash will fail to source /dev/null (special 1238 # files actually), so we avoid doing that. 1239 if test -f "$cache_file"; then 1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1241 echo "$as_me: loading cache $cache_file" >&6;} 2219 1242 case $cache_file in 2220 [\\/]* | ?:[\\/]* ) . "$cache_file";;2221 *) . "./$cache_file";;1243 [\\/]* | ?:[\\/]* ) . $cache_file;; 1244 *) . ./$cache_file;; 2222 1245 esac 2223 1246 fi 2224 1247 else 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52226 $as_echo "$as_me: creating cache $cache_file" >&6;}1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1249 echo "$as_me: creating cache $cache_file" >&6;} 2227 1250 >$cache_file 2228 1251 fi … … 2231 1254 # value. 2232 1255 ac_cache_corrupted=false 2233 for ac_var in $ac_precious_vars; do 1256 for ac_var in `(set) 2>&1 | 1257 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2234 1258 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2235 1259 eval ac_new_set=\$ac_env_${ac_var}_set 2236 eval ac_old_val= \$ac_cv_env_${ac_var}_value2237 eval ac_new_val= \$ac_env_${ac_var}_value1260 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1261 eval ac_new_val="\$ac_env_${ac_var}_value" 2238 1262 case $ac_old_set,$ac_new_set in 2239 1263 set,) 2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52241 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1264 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2242 1266 ac_cache_corrupted=: ;; 2243 1267 ,set) 2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52245 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1268 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2246 1270 ac_cache_corrupted=: ;; 2247 1271 ,);; 2248 1272 *) 2249 1273 if test "x$ac_old_val" != "x$ac_new_val"; then 2250 # differences in whitespace do not lead to failure. 2251 ac_old_val_w=`echo x $ac_old_val` 2252 ac_new_val_w=`echo x $ac_new_val` 2253 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2255 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2256 ac_cache_corrupted=: 2257 else 2258 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2259 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2260 eval $ac_var=\$ac_old_val 2261 fi 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2263 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2264 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2265 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1275 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1277 echo "$as_me: former value: $ac_old_val" >&2;} 1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1279 echo "$as_me: current value: $ac_new_val" >&2;} 1280 ac_cache_corrupted=: 2266 1281 fi;; 2267 1282 esac … … 2269 1284 if test "$ac_new_set" = set; then 2270 1285 case $ac_new_val in 2271 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1287 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2272 1288 *) ac_arg=$ac_var=$ac_new_val ;; 2273 1289 esac 2274 1290 case " $ac_configure_args " in 2275 1291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2276 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1292 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2277 1293 esac 2278 1294 fi 2279 1295 done 2280 1296 if $ac_cache_corrupted; then 2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2284 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2285 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2286 fi 2287 ## -------------------- ## 2288 ## Main body of script. ## 2289 ## -------------------- ## 1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1299 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1300 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1301 { (exit 1); exit 1; }; } 1302 fi 2290 1303 2291 1304 ac_ext=c … … 2296 1309 2297 1310 2298 ac_config_headers="$ac_config_headers config.h" 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 ac_config_headers="$ac_config_headers config.h" 2299 1329 2300 1330 … … 2317 1347 USE_FASTCGI=0 2318 1348 if test USE_FASTCGI = 1; then 2319 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1349 cat >>confdefs.h <<\_ACEOF 1350 #define USE_FASTCGI 1 1351 _ACEOF 2320 1352 2321 1353 … … 2323 1355 2324 1356 if test USE_LANGACTION = 1; then 2325 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 2326 2327 2328 fi 2329 2330 # Check whether --enable-corba was given. 2331 if test "${enable_corba+set}" = set; then : 2332 enableval=$enable_corba; USE_CORBA=$enableval 1357 cat >>confdefs.h <<\_ACEOF 1358 #define USE_LANGACTION 1 1359 _ACEOF 1360 1361 1362 fi 1363 1364 # Check whether --enable-corba or --disable-corba was given. 1365 if test "${enable_corba+set}" = set; then 1366 enableval="$enable_corba" 1367 USE_CORBA=$enableval 2333 1368 else 2334 1369 USE_CORBA=no 2335 fi 2336 1370 fi; 2337 1371 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 2338 1372 USE_CORBA=1 2339 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1373 cat >>confdefs.h <<\_ACEOF 1374 #define USE_CORBA 1375 _ACEOF 2340 1376 2341 1377 else … … 2345 1381 2346 1382 2347 # Check whether --with-micodir was given. 2348 if test "${with_micodir+set}" = set; then : 2349 withval=$with_micodir; MICO_DIR=$withval 1383 # Check whether --with-micodir or --without-micodir was given. 1384 if test "${with_micodir+set}" = set; then 1385 withval="$with_micodir" 1386 MICO_DIR=$withval 2350 1387 else 2351 1388 MICO_DIR="default" 2352 fi 2353 1389 fi; 2354 1390 cat >>confdefs.h <<_ACEOF 2355 1391 #define MICO_DIR "$MICO_DIR" … … 2358 1394 2359 1395 2360 # Check whether --enable-z3950 was given. 2361 if test "${enable_z3950+set}" = set; then : 2362 enableval=$enable_z3950; USE_Z3950=$enableval 1396 # Check whether --enable-z3950 or --disable-z3950 was given. 1397 if test "${enable_z3950+set}" = set; then 1398 enableval="$enable_z3950" 1399 USE_Z3950=$enableval 2363 1400 else 2364 1401 USE_Z3950=no 2365 fi 2366 1402 fi; 2367 1403 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 2368 1404 USE_Z3950=1 2369 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1405 cat >>confdefs.h <<\_ACEOF 1406 #define USE_Z3950 1407 _ACEOF 2370 1408 2371 1409 else … … 2374 1412 2375 1413 2376 # Check whether --enable-yaz was given. 2377 if test "${enable_yaz+set}" = set; then : 2378 enableval=$enable_yaz; USE_YAZ=$enableval 1414 # Check whether --enable-yaz or --disable-yaz was given. 1415 if test "${enable_yaz+set}" = set; then 1416 enableval="$enable_yaz" 1417 USE_YAZ=$enableval 2379 1418 else 2380 1419 USE_YAZ=yes 2381 fi 2382 1420 fi; 2383 1421 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 2384 1422 USE_YAZ=1 2385 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1423 cat >>confdefs.h <<\_ACEOF 1424 #define USE_YAZ 1425 _ACEOF 2386 1426 2387 1427 else … … 2390 1430 2391 1431 2392 # Check whether --enable-java was given. 2393 if test "${enable_java+set}" = set; then : 2394 enableval=$enable_java; ENABLE_JAVA=$enableval 1432 # Check whether --enable-java or --disable-java was given. 1433 if test "${enable_java+set}" = set; then 1434 enableval="$enable_java" 1435 ENABLE_JAVA=$enableval 2395 1436 else 2396 1437 ENABLE_JAVA=yes 2397 fi 2398 1438 fi; 2399 1439 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 2400 1440 ENABLE_JAVA=1 … … 2410 1450 2411 1451 2412 # Check whether --enable-jdbm was given. 2413 if test "${enable_jdbm+set}" = set; then : 2414 enableval=$enable_jdbm; USE_JDBM=$enableval 1452 # Check whether --enable-jdbm or --disable-jdbm was given. 1453 if test "${enable_jdbm+set}" = set; then 1454 enableval="$enable_jdbm" 1455 USE_JDBM=$enableval 2415 1456 else 2416 1457 USE_JDBM=yes 2417 fi 2418 1458 fi; 2419 1459 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 2420 1460 USE_JDBM=1 2421 $as_echo "#define USE_JDBM /**/" >>confdefs.h 1461 cat >>confdefs.h <<\_ACEOF 1462 #define USE_JDBM 1463 _ACEOF 2422 1464 2423 1465 else … … 2426 1468 2427 1469 2428 # Check whether --enable-gdbm was given. 2429 if test "${enable_gdbm+set}" = set; then : 2430 enableval=$enable_gdbm; USE_GDBM=$enableval 1470 # Check whether --enable-gdbm or --disable-gdbm was given. 1471 if test "${enable_gdbm+set}" = set; then 1472 enableval="$enable_gdbm" 1473 USE_GDBM=$enableval 2431 1474 else 2432 1475 USE_GDBM=yes 2433 fi 2434 1476 fi; 2435 1477 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 2436 1478 USE_GDBM=1 2437 $as_echo "#define USE_GDBM /**/" >>confdefs.h 1479 cat >>confdefs.h <<\_ACEOF 1480 #define USE_GDBM 1481 _ACEOF 2438 1482 2439 1483 else … … 2442 1486 2443 1487 2444 # Check whether --enable-accentfold was given. 2445 if test "${enable_accentfold+set}" = set; then : 2446 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1488 # Check whether --enable-accentfold or --disable-accentfold was given. 1489 if test "${enable_accentfold+set}" = set; then 1490 enableval="$enable_accentfold" 1491 ENABLE_ACCENTFOLD=$enableval 2447 1492 else 2448 1493 ENABLE_ACCENTFOLD=yes 2449 fi 2450 1494 fi; 2451 1495 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 2452 1496 ENABLE_ACCENTFOLD=1 2453 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 1497 cat >>confdefs.h <<\_ACEOF 1498 #define ENABLE_ACCENTFOLD 1499 _ACEOF 2454 1500 2455 1501 else … … 2459 1505 2460 1506 2461 # Check whether --enable-sqlite was given. 2462 if test "${enable_sqlite+set}" = set; then : 2463 enableval=$enable_sqlite; USE_SQLITE=$enableval 1507 # Check whether --enable-sqlite or --disable-sqlite was given. 1508 if test "${enable_sqlite+set}" = set; then 1509 enableval="$enable_sqlite" 1510 USE_SQLITE=$enableval 2464 1511 else 2465 1512 USE_SQLITE=yes 2466 fi 2467 1513 fi; 2468 1514 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 2469 1515 USE_SQLITE=1 2470 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 1516 cat >>confdefs.h <<\_ACEOF 1517 #define USE_SQLITE 1518 _ACEOF 2471 1519 2472 1520 else … … 2475 1523 2476 1524 2477 # Check whether --enable-jni was given. 2478 if test "${enable_jni+set}" = set; then : 2479 enableval=$enable_jni; ENABLE_JNI=$enableval 1525 # Check whether --enable-jni or --disable-jni was given. 1526 if test "${enable_jni+set}" = set; then 1527 enableval="$enable_jni" 1528 ENABLE_JNI=$enableval 2480 1529 else 2481 1530 ENABLE_JNI=no 2482 fi 2483 1531 fi; 2484 1532 if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 2485 1533 ENABLE_JNI=1 2486 $as_echo "#define ENABLE_JNI /**/" >>confdefs.h 1534 cat >>confdefs.h <<\_ACEOF 1535 #define ENABLE_JNI 1536 _ACEOF 2487 1537 2488 1538 else … … 2491 1541 2492 1542 2493 # Check whether --enable-mg was given. 2494 if test "${enable_mg+set}" = set; then : 2495 enableval=$enable_mg; ENABLE_MG=$enableval 1543 # Check whether --enable-mg or --disable-mg was given. 1544 if test "${enable_mg+set}" = set; then 1545 enableval="$enable_mg" 1546 ENABLE_MG=$enableval 2496 1547 else 2497 1548 ENABLE_MG=yes 2498 fi 2499 1549 fi; 2500 1550 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 2501 1551 ENABLE_MG=1 2502 $as_echo "#define ENABLE_MG /**/" >>confdefs.h 1552 cat >>confdefs.h <<\_ACEOF 1553 #define ENABLE_MG 1554 _ACEOF 2503 1555 2504 1556 else … … 2507 1559 2508 1560 2509 # Check whether --enable-mgpp was given. 2510 if test "${enable_mgpp+set}" = set; then : 2511 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1561 # Check whether --enable-mgpp or --disable-mgpp was given. 1562 if test "${enable_mgpp+set}" = set; then 1563 enableval="$enable_mgpp" 1564 ENABLE_MGPP=$enableval 2512 1565 else 2513 1566 ENABLE_MGPP=yes 2514 fi 2515 1567 fi; 2516 1568 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 2517 1569 ENABLE_MGPP=1 2518 $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h 1570 cat >>confdefs.h <<\_ACEOF 1571 #define ENABLE_MGPP 1572 _ACEOF 2519 1573 2520 1574 else … … 2523 1577 2524 1578 2525 # Check whether --enable-lucene was given. 2526 if test "${enable_lucene+set}" = set; then : 2527 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1579 # Check whether --enable-lucene or --disable-lucene was given. 1580 if test "${enable_lucene+set}" = set; then 1581 enableval="$enable_lucene" 1582 ENABLE_LUCENE=$enableval 2528 1583 else 2529 1584 ENABLE_LUCENE=yes 2530 fi 2531 1585 fi; 2532 1586 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 2533 1587 ENABLE_LUCENE=1 2534 $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h 1588 cat >>confdefs.h <<\_ACEOF 1589 #define ENABLE_LUCENE 1590 _ACEOF 2535 1591 2536 1592 else … … 2556 1612 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2557 1613 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52559 $as_echo_n "checking for $ac_word... " >&6; } 2560 if test "${ac_cv_prog_CC+set}" = set; then :2561 $as_echo_n "(cached)" >&61614 echo "$as_me:$LINENO: checking for $ac_word" >&5 1615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1616 if test "${ac_cv_prog_CC+set}" = set; then 1617 echo $ECHO_N "(cached) $ECHO_C" >&6 2562 1618 else 2563 1619 if test -n "$CC"; then … … 2569 1625 IFS=$as_save_IFS 2570 1626 test -z "$as_dir" && as_dir=. 2571 2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1627 for ac_exec_ext in '' $ac_executable_extensions; do 1628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2573 1629 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2575 1631 break 2 2576 1632 fi 2577 1633 done 2578 done 2579 IFS=$as_save_IFS 1634 done 2580 1635 2581 1636 fi … … 2583 1638 CC=$ac_cv_prog_CC 2584 1639 if test -n "$CC"; then 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2586 $as_echo "$CC" >&6; } 2587 else 2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2589 $as_echo "no" >&6; } 2590 fi 2591 1640 echo "$as_me:$LINENO: result: $CC" >&5 1641 echo "${ECHO_T}$CC" >&6 1642 else 1643 echo "$as_me:$LINENO: result: no" >&5 1644 echo "${ECHO_T}no" >&6 1645 fi 2592 1646 2593 1647 fi … … 2596 1650 # Extract the first word of "gcc", so it can be a program name with args. 2597 1651 set dummy gcc; ac_word=$2 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52599 $as_echo_n "checking for $ac_word... " >&6; } 2600 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2601 $as_echo_n "(cached)" >&61652 echo "$as_me:$LINENO: checking for $ac_word" >&5 1653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1654 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1655 echo $ECHO_N "(cached) $ECHO_C" >&6 2602 1656 else 2603 1657 if test -n "$ac_ct_CC"; then … … 2609 1663 IFS=$as_save_IFS 2610 1664 test -z "$as_dir" && as_dir=. 2611 2612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1665 for ac_exec_ext in '' $ac_executable_extensions; do 1666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2613 1667 ac_cv_prog_ac_ct_CC="gcc" 2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2615 1669 break 2 2616 1670 fi 2617 1671 done 2618 done 2619 IFS=$as_save_IFS 1672 done 2620 1673 2621 1674 fi … … 2623 1676 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2624 1677 if test -n "$ac_ct_CC"; then 2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2626 $as_echo "$ac_ct_CC" >&6; } 2627 else 2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2629 $as_echo "no" >&6; } 2630 fi 2631 2632 if test "x$ac_ct_CC" = x; then 2633 CC="" 2634 else 2635 case $cross_compiling:$ac_tool_warned in 2636 yes:) 2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2639 ac_tool_warned=yes ;; 2640 esac 2641 CC=$ac_ct_CC 2642 fi 1678 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1679 echo "${ECHO_T}$ac_ct_CC" >&6 1680 else 1681 echo "$as_me:$LINENO: result: no" >&5 1682 echo "${ECHO_T}no" >&6 1683 fi 1684 1685 CC=$ac_ct_CC 2643 1686 else 2644 1687 CC="$ac_cv_prog_CC" … … 2646 1689 2647 1690 if test -z "$CC"; then 2648 2649 1691 if test -n "$ac_tool_prefix"; then 1692 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2650 1693 set dummy ${ac_tool_prefix}cc; ac_word=$2 2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52652 $as_echo_n "checking for $ac_word... " >&6; } 2653 if test "${ac_cv_prog_CC+set}" = set; then :2654 $as_echo_n "(cached)" >&61694 echo "$as_me:$LINENO: checking for $ac_word" >&5 1695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1696 if test "${ac_cv_prog_CC+set}" = set; then 1697 echo $ECHO_N "(cached) $ECHO_C" >&6 2655 1698 else 2656 1699 if test -n "$CC"; then … … 2662 1705 IFS=$as_save_IFS 2663 1706 test -z "$as_dir" && as_dir=. 2664 2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1707 for ac_exec_ext in '' $ac_executable_extensions; do 1708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2666 1709 ac_cv_prog_CC="${ac_tool_prefix}cc" 2667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2668 1711 break 2 2669 1712 fi 2670 1713 done 2671 done 2672 IFS=$as_save_IFS 1714 done 2673 1715 2674 1716 fi … … 2676 1718 CC=$ac_cv_prog_CC 2677 1719 if test -n "$CC"; then 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2679 $as_echo "$CC" >&6; } 2680 else 2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2682 $as_echo "no" >&6; } 2683 fi 2684 2685 1720 echo "$as_me:$LINENO: result: $CC" >&5 1721 echo "${ECHO_T}$CC" >&6 1722 else 1723 echo "$as_me:$LINENO: result: no" >&5 1724 echo "${ECHO_T}no" >&6 1725 fi 1726 1727 fi 1728 if test -z "$ac_cv_prog_CC"; then 1729 ac_ct_CC=$CC 1730 # Extract the first word of "cc", so it can be a program name with args. 1731 set dummy cc; ac_word=$2 1732 echo "$as_me:$LINENO: checking for $ac_word" >&5 1733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1734 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1735 echo $ECHO_N "(cached) $ECHO_C" >&6 1736 else 1737 if test -n "$ac_ct_CC"; then 1738 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1739 else 1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1741 for as_dir in $PATH 1742 do 1743 IFS=$as_save_IFS 1744 test -z "$as_dir" && as_dir=. 1745 for ac_exec_ext in '' $ac_executable_extensions; do 1746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1747 ac_cv_prog_ac_ct_CC="cc" 1748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1749 break 2 2686 1750 fi 1751 done 1752 done 1753 1754 fi 1755 fi 1756 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1757 if test -n "$ac_ct_CC"; then 1758 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1759 echo "${ECHO_T}$ac_ct_CC" >&6 1760 else 1761 echo "$as_me:$LINENO: result: no" >&5 1762 echo "${ECHO_T}no" >&6 1763 fi 1764 1765 CC=$ac_ct_CC 1766 else 1767 CC="$ac_cv_prog_CC" 1768 fi 1769 2687 1770 fi 2688 1771 if test -z "$CC"; then 2689 1772 # Extract the first word of "cc", so it can be a program name with args. 2690 1773 set dummy cc; ac_word=$2 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52692 $as_echo_n "checking for $ac_word... " >&6; } 2693 if test "${ac_cv_prog_CC+set}" = set; then :2694 $as_echo_n "(cached)" >&61774 echo "$as_me:$LINENO: checking for $ac_word" >&5 1775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1776 if test "${ac_cv_prog_CC+set}" = set; then 1777 echo $ECHO_N "(cached) $ECHO_C" >&6 2695 1778 else 2696 1779 if test -n "$CC"; then … … 2703 1786 IFS=$as_save_IFS 2704 1787 test -z "$as_dir" && as_dir=. 2705 2706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1788 for ac_exec_ext in '' $ac_executable_extensions; do 1789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2707 1790 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2708 1791 ac_prog_rejected=yes … … 2710 1793 fi 2711 1794 ac_cv_prog_CC="cc" 2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2713 1796 break 2 2714 1797 fi 2715 1798 done 2716 done 2717 IFS=$as_save_IFS 1799 done 2718 1800 2719 1801 if test $ac_prog_rejected = yes; then … … 2733 1815 CC=$ac_cv_prog_CC 2734 1816 if test -n "$CC"; then 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2736 $as_echo "$CC" >&6; } 2737 else 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2739 $as_echo "no" >&6; } 2740 fi 2741 1817 echo "$as_me:$LINENO: result: $CC" >&5 1818 echo "${ECHO_T}$CC" >&6 1819 else 1820 echo "$as_me:$LINENO: result: no" >&5 1821 echo "${ECHO_T}no" >&6 1822 fi 2742 1823 2743 1824 fi 2744 1825 if test -z "$CC"; then 2745 1826 if test -n "$ac_tool_prefix"; then 2746 for ac_prog in cl .exe1827 for ac_prog in cl 2747 1828 do 2748 1829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2749 1830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52751 $as_echo_n "checking for $ac_word... " >&6; } 2752 if test "${ac_cv_prog_CC+set}" = set; then :2753 $as_echo_n "(cached)" >&61831 echo "$as_me:$LINENO: checking for $ac_word" >&5 1832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1833 if test "${ac_cv_prog_CC+set}" = set; then 1834 echo $ECHO_N "(cached) $ECHO_C" >&6 2754 1835 else 2755 1836 if test -n "$CC"; then … … 2761 1842 IFS=$as_save_IFS 2762 1843 test -z "$as_dir" && as_dir=. 2763 2764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1844 for ac_exec_ext in '' $ac_executable_extensions; do 1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2765 1846 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2767 1848 break 2 2768 1849 fi 2769 1850 done 2770 done 2771 IFS=$as_save_IFS 1851 done 2772 1852 2773 1853 fi … … 2775 1855 CC=$ac_cv_prog_CC 2776 1856 if test -n "$CC"; then 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2778 $as_echo "$CC" >&6; } 2779 else 2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2781 $as_echo "no" >&6; } 2782 fi 2783 1857 echo "$as_me:$LINENO: result: $CC" >&5 1858 echo "${ECHO_T}$CC" >&6 1859 else 1860 echo "$as_me:$LINENO: result: no" >&5 1861 echo "${ECHO_T}no" >&6 1862 fi 2784 1863 2785 1864 test -n "$CC" && break … … 2788 1867 if test -z "$CC"; then 2789 1868 ac_ct_CC=$CC 2790 for ac_prog in cl .exe1869 for ac_prog in cl 2791 1870 do 2792 1871 # Extract the first word of "$ac_prog", so it can be a program name with args. 2793 1872 set dummy $ac_prog; ac_word=$2 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52795 $as_echo_n "checking for $ac_word... " >&6; } 2796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2797 $as_echo_n "(cached)" >&61873 echo "$as_me:$LINENO: checking for $ac_word" >&5 1874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1876 echo $ECHO_N "(cached) $ECHO_C" >&6 2798 1877 else 2799 1878 if test -n "$ac_ct_CC"; then … … 2805 1884 IFS=$as_save_IFS 2806 1885 test -z "$as_dir" && as_dir=. 2807 2808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1886 for ac_exec_ext in '' $ac_executable_extensions; do 1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2809 1888 ac_cv_prog_ac_ct_CC="$ac_prog" 2810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2811 1890 break 2 2812 1891 fi 2813 1892 done 2814 done 2815 IFS=$as_save_IFS 1893 done 2816 1894 2817 1895 fi … … 2819 1897 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2820 1898 if test -n "$ac_ct_CC"; then 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2822 $as_echo "$ac_ct_CC" >&6; } 2823 else 2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2825 $as_echo "no" >&6; } 2826 fi 2827 1899 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1900 echo "${ECHO_T}$ac_ct_CC" >&6 1901 else 1902 echo "$as_me:$LINENO: result: no" >&5 1903 echo "${ECHO_T}no" >&6 1904 fi 2828 1905 2829 1906 test -n "$ac_ct_CC" && break 2830 1907 done 2831 1908 2832 if test "x$ac_ct_CC" = x; then 2833 CC="" 2834 else 2835 case $cross_compiling:$ac_tool_warned in 2836 yes:) 2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2839 ac_tool_warned=yes ;; 2840 esac 2841 CC=$ac_ct_CC 2842 fi 2843 fi 2844 2845 fi 2846 2847 2848 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2850 as_fn_error $? "no acceptable C compiler found in \$PATH 2851 See \`config.log' for more details" "$LINENO" 5 ; } 1909 CC=$ac_ct_CC 1910 fi 1911 1912 fi 1913 1914 1915 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1916 See \`config.log' for more details." >&5 1917 echo "$as_me: error: no acceptable C compiler found in \$PATH 1918 See \`config.log' for more details." >&2;} 1919 { (exit 1); exit 1; }; } 2852 1920 2853 1921 # Provide some information about the compiler. 2854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2855 set X $ac_compile 2856 ac_compiler=$2 2857 for ac_option in --version -v -V -qversion; do 2858 { { ac_try="$ac_compiler $ac_option >&5" 2859 case "(($ac_try" in 2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2861 *) ac_try_echo=$ac_try;; 2862 esac 2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2864 $as_echo "$ac_try_echo"; } >&5 2865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2866 ac_status=$? 2867 if test -s conftest.err; then 2868 sed '10a\ 2869 ... rest of stderr output deleted ... 2870 10q' conftest.err >conftest.er1 2871 cat conftest.er1 >&5 2872 fi 2873 rm -f conftest.er1 conftest.err 2874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2875 test $ac_status = 0; } 2876 done 2877 2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1922 echo "$as_me:$LINENO:" \ 1923 "checking for C compiler version" >&5 1924 ac_compiler=`set X $ac_compile; echo $2` 1925 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1926 (eval $ac_compiler --version </dev/null >&5) 2>&5 1927 ac_status=$? 1928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1929 (exit $ac_status); } 1930 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1931 (eval $ac_compiler -v </dev/null >&5) 2>&5 1932 ac_status=$? 1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1934 (exit $ac_status); } 1935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1936 (eval $ac_compiler -V </dev/null >&5) 2>&5 1937 ac_status=$? 1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1939 (exit $ac_status); } 1940 1941 cat >conftest.$ac_ext <<_ACEOF 1942 /* confdefs.h. */ 1943 _ACEOF 1944 cat confdefs.h >>conftest.$ac_ext 1945 cat >>conftest.$ac_ext <<_ACEOF 2879 1946 /* end confdefs.h. */ 2880 1947 … … 2888 1955 _ACEOF 2889 1956 ac_clean_files_save=$ac_clean_files 2890 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"1957 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2891 1958 # Try to create an executable without -o first, disregard a.out. 2892 1959 # It will help us diagnose broken compilers, and finding out an intuition 2893 1960 # of exeext. 2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2895 $as_echo_n "checking whether the C compiler works... " >&6; } 2896 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2897 2898 # The possible output files: 2899 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2900 2901 ac_rmfiles= 2902 for ac_file in $ac_files 2903 do 2904 case $ac_file in 2905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2906 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2907 esac 2908 done 2909 rm -f $ac_rmfiles 2910 2911 if { { ac_try="$ac_link_default" 2912 case "(($ac_try" in 2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2914 *) ac_try_echo=$ac_try;; 2915 esac 2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2917 $as_echo "$ac_try_echo"; } >&5 2918 (eval "$ac_link_default") 2>&5 2919 ac_status=$? 2920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2921 test $ac_status = 0; }; then : 2922 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2923 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2924 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2925 # so that the user can short-circuit this test for compilers unknown to 2926 # Autoconf. 2927 for ac_file in $ac_files '' 1961 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1962 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1963 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1964 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1965 (eval $ac_link_default) 2>&5 1966 ac_status=$? 1967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1968 (exit $ac_status); }; then 1969 # Find the output, starting from the most likely. This scheme is 1970 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1971 # resort. 1972 1973 # Be careful to initialize this variable, since it used to be cached. 1974 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1975 ac_cv_exeext= 1976 # b.out is created by i960 compilers. 1977 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2928 1978 do 2929 1979 test -f "$ac_file" || continue 2930 1980 case $ac_file in 2931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1982 ;; 1983 conftest.$ac_ext ) 1984 # This is the source file. 2932 1985 ;; 2933 1986 [ab].out ) … … 2936 1989 break;; 2937 1990 *.* ) 2938 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2939 then :; else 2940 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2941 fi 2942 # We set ac_cv_exeext here because the later test for it is not 2943 # safe: cross compilers may not add the suffix if given an `-o' 2944 # argument, so we may need to know it at that point already. 2945 # Even if this section looks crufty: it has the advantage of 2946 # actually working. 1991 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1992 # FIXME: I believe we export ac_cv_exeext for Libtool, 1993 # but it would be cool to find out if it's true. Does anybody 1994 # maintain Libtool? --akim. 1995 export ac_cv_exeext 2947 1996 break;; 2948 1997 * ) … … 2950 1999 esac 2951 2000 done 2952 test "$ac_cv_exeext" = no && ac_cv_exeext= 2953 2954 else 2955 ac_file='' 2956 fi 2957 if test -z "$ac_file"; then : 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2959 $as_echo "no" >&6; } 2960 $as_echo "$as_me: failed program was:" >&5 2001 else 2002 echo "$as_me: failed program was:" >&5 2961 2003 sed 's/^/| /' conftest.$ac_ext >&5 2962 2004 2963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2965 as_fn_error 77 "C compiler cannot create executables 2966 See \`config.log' for more details" "$LINENO" 5 ; } 2967 else 2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2969 $as_echo "yes" >&6; } 2970 fi 2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2972 $as_echo_n "checking for C compiler default output file name... " >&6; } 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2974 $as_echo "$ac_file" >&6; } 2005 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2006 See \`config.log' for more details." >&5 2007 echo "$as_me: error: C compiler cannot create executables 2008 See \`config.log' for more details." >&2;} 2009 { (exit 77); exit 77; }; } 2010 fi 2011 2975 2012 ac_exeext=$ac_cv_exeext 2976 2977 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2013 echo "$as_me:$LINENO: result: $ac_file" >&5 2014 echo "${ECHO_T}$ac_file" >&6 2015 2016 # Check the compiler produces executables we can run. If not, either 2017 # the compiler is broken, or we cross compile. 2018 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2019 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2020 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2021 # If not cross compiling, check that we can run a simple program. 2022 if test "$cross_compiling" != yes; then 2023 if { ac_try='./$ac_file' 2024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2025 (eval $ac_try) 2>&5 2026 ac_status=$? 2027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2028 (exit $ac_status); }; }; then 2029 cross_compiling=no 2030 else 2031 if test "$cross_compiling" = maybe; then 2032 cross_compiling=yes 2033 else 2034 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2035 If you meant to cross compile, use \`--host'. 2036 See \`config.log' for more details." >&5 2037 echo "$as_me: error: cannot run C compiled programs. 2038 If you meant to cross compile, use \`--host'. 2039 See \`config.log' for more details." >&2;} 2040 { (exit 1); exit 1; }; } 2041 fi 2042 fi 2043 fi 2044 echo "$as_me:$LINENO: result: yes" >&5 2045 echo "${ECHO_T}yes" >&6 2046 2047 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2978 2048 ac_clean_files=$ac_clean_files_save 2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2980 $as_echo_n "checking for suffix of executables... " >&6; } 2981 if { { ac_try="$ac_link" 2982 case "(($ac_try" in 2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2984 *) ac_try_echo=$ac_try;; 2985 esac 2986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2987 $as_echo "$ac_try_echo"; } >&5 2988 (eval "$ac_link") 2>&5 2989 ac_status=$? 2990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2991 test $ac_status = 0; }; then : 2049 # Check the compiler produces executables we can run. If not, either 2050 # the compiler is broken, or we cross compile. 2051 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2052 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2053 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2054 echo "${ECHO_T}$cross_compiling" >&6 2055 2056 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2057 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2059 (eval $ac_link) 2>&5 2060 ac_status=$? 2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2062 (exit $ac_status); }; then 2992 2063 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2993 2064 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2997 2068 test -f "$ac_file" || continue 2998 2069 case $ac_file in 2999 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. map | *.inf | *.dSYM | *.o | *.obj ) ;;2070 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 3000 2071 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2072 export ac_cv_exeext 3001 2073 break;; 3002 2074 * ) break;; … … 3004 2076 done 3005 2077 else 3006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3008 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3009 See \`config.log' for more details" "$LINENO" 5 ; } 3010 fi 3011 rm -f conftest conftest$ac_cv_exeext 3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3013 $as_echo "$ac_cv_exeext" >&6; } 2078 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2079 See \`config.log' for more details." >&5 2080 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2081 See \`config.log' for more details." >&2;} 2082 { (exit 1); exit 1; }; } 2083 fi 2084 2085 rm -f conftest$ac_cv_exeext 2086 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2087 echo "${ECHO_T}$ac_cv_exeext" >&6 3014 2088 3015 2089 rm -f conftest.$ac_ext 3016 2090 EXEEXT=$ac_cv_exeext 3017 2091 ac_exeext=$EXEEXT 3018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2092 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2093 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2094 if test "${ac_cv_objext+set}" = set; then 2095 echo $ECHO_N "(cached) $ECHO_C" >&6 2096 else 2097 cat >conftest.$ac_ext <<_ACEOF 2098 /* confdefs.h. */ 2099 _ACEOF 2100 cat confdefs.h >>conftest.$ac_ext 2101 cat >>conftest.$ac_ext <<_ACEOF 3019 2102 /* end confdefs.h. */ 3020 #include <stdio.h> 2103 3021 2104 int 3022 2105 main () 3023 2106 { 3024 FILE *f = fopen ("conftest.out", "w");3025 return ferror (f) || fclose (f) != 0;3026 2107 3027 2108 ; … … 3029 2110 } 3030 2111 _ACEOF 3031 ac_clean_files="$ac_clean_files conftest.out"3032 # Check that the compiler produces executables we can run. If not, either3033 # the compiler is broken, or we cross compile.3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&53035 $as_echo_n "checking whether we are cross compiling... " >&6; }3036 if test "$cross_compiling" != yes; then3037 { { ac_try="$ac_link"3038 case "(($ac_try" in3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3040 *) ac_try_echo=$ac_try;;3041 esac3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3043 $as_echo "$ac_try_echo"; } >&53044 (eval "$ac_link") 2>&53045 ac_status=$?3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53047 test $ac_status = 0; }3048 if { ac_try='./conftest$ac_cv_exeext'3049 { { case "(($ac_try" in3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3051 *) ac_try_echo=$ac_try;;3052 esac3053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3054 $as_echo "$ac_try_echo"; } >&53055 (eval "$ac_try") 2>&53056 ac_status=$?3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53058 test $ac_status = 0; }; }; then3059 cross_compiling=no3060 else3061 if test "$cross_compiling" = maybe; then3062 cross_compiling=yes3063 else3064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3066 as_fn_error $? "cannot run C compiled programs.3067 If you meant to cross compile, use \`--host'.3068 See \`config.log' for more details" "$LINENO" 5 ; }3069 fi3070 fi3071 fi3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&53073 $as_echo "$cross_compiling" >&6; }3074 3075 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out3076 ac_clean_files=$ac_clean_files_save3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&53078 $as_echo_n "checking for suffix of object files... " >&6; }3079 if test "${ac_cv_objext+set}" = set; then :3080 $as_echo_n "(cached) " >&63081 else3082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3083 /* end confdefs.h. */3084 3085 int3086 main ()3087 {3088 3089 ;3090 return 0;3091 }3092 _ACEOF3093 2112 rm -f conftest.o conftest.obj 3094 if { { ac_try="$ac_compile" 3095 case "(($ac_try" in 3096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3097 *) ac_try_echo=$ac_try;; 3098 esac 3099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3100 $as_echo "$ac_try_echo"; } >&5 3101 (eval "$ac_compile") 2>&5 3102 ac_status=$? 3103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3104 test $ac_status = 0; }; then : 3105 for ac_file in conftest.o conftest.obj conftest.*; do 3106 test -f "$ac_file" || continue; 2113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2114 (eval $ac_compile) 2>&5 2115 ac_status=$? 2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2117 (exit $ac_status); }; then 2118 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3107 2119 case $ac_file in 3108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 3109 2121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3110 2122 break;; … … 3112 2124 done 3113 2125 else 3114 $as_echo "$as_me: failed program was:" >&52126 echo "$as_me: failed program was:" >&5 3115 2127 sed 's/^/| /' conftest.$ac_ext >&5 3116 2128 3117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3119 as_fn_error $? "cannot compute suffix of object files: cannot compile 3120 See \`config.log' for more details" "$LINENO" 5 ; } 3121 fi 2129 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2130 See \`config.log' for more details." >&5 2131 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2132 See \`config.log' for more details." >&2;} 2133 { (exit 1); exit 1; }; } 2134 fi 2135 3122 2136 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3123 2137 fi 3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&53125 $as_echo "$ac_cv_objext" >&6; } 2138 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2139 echo "${ECHO_T}$ac_cv_objext" >&6 3126 2140 OBJEXT=$ac_cv_objext 3127 2141 ac_objext=$OBJEXT 3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3130 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3131 $as_echo_n "(cached) " >&6 3132 else 3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2142 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2143 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2144 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2145 echo $ECHO_N "(cached) $ECHO_C" >&6 2146 else 2147 cat >conftest.$ac_ext <<_ACEOF 2148 /* confdefs.h. */ 2149 _ACEOF 2150 cat confdefs.h >>conftest.$ac_ext 2151 cat >>conftest.$ac_ext <<_ACEOF 3134 2152 /* end confdefs.h. */ 3135 2153 … … 3145 2163 } 3146 2164 _ACEOF 3147 if ac_fn_c_try_compile "$LINENO"; then : 2165 rm -f conftest.$ac_objext 2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2167 (eval $ac_compile) 2>conftest.er1 2168 ac_status=$? 2169 grep -v '^ *+' conftest.er1 >conftest.err 2170 rm -f conftest.er1 2171 cat conftest.err >&5 2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2173 (exit $ac_status); } && 2174 { ac_try='test -z "$ac_c_werror_flag" 2175 || test ! -s conftest.err' 2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2177 (eval $ac_try) 2>&5 2178 ac_status=$? 2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2180 (exit $ac_status); }; } && 2181 { ac_try='test -s conftest.$ac_objext' 2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2183 (eval $ac_try) 2>&5 2184 ac_status=$? 2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2186 (exit $ac_status); }; }; then 3148 2187 ac_compiler_gnu=yes 3149 2188 else 3150 ac_compiler_gnu=no 3151 fi 3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2189 echo "$as_me: failed program was:" >&5 2190 sed 's/^/| /' conftest.$ac_ext >&5 2191 2192 ac_compiler_gnu=no 2193 fi 2194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3153 2195 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3154 2196 3155 2197 fi 3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3157 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3158 if test $ac_compiler_gnu = yes; then 3159 GCC=yes 3160 else 3161 GCC= 3162 fi 2198 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2199 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2200 GCC=`test $ac_compiler_gnu = yes && echo yes` 3163 2201 ac_test_CFLAGS=${CFLAGS+set} 3164 2202 ac_save_CFLAGS=$CFLAGS 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3166 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3167 if test "${ac_cv_prog_cc_g+set}" = set; then : 3168 $as_echo_n "(cached) " >&6 3169 else 3170 ac_save_c_werror_flag=$ac_c_werror_flag 3171 ac_c_werror_flag=yes 3172 ac_cv_prog_cc_g=no 3173 CFLAGS="-g" 3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2203 CFLAGS="-g" 2204 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2205 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2206 if test "${ac_cv_prog_cc_g+set}" = set; then 2207 echo $ECHO_N "(cached) $ECHO_C" >&6 2208 else 2209 cat >conftest.$ac_ext <<_ACEOF 2210 /* confdefs.h. */ 2211 _ACEOF 2212 cat confdefs.h >>conftest.$ac_ext 2213 cat >>conftest.$ac_ext <<_ACEOF 3175 2214 /* end confdefs.h. */ 3176 2215 … … 3183 2222 } 3184 2223 _ACEOF 3185 if ac_fn_c_try_compile "$LINENO"; then : 2224 rm -f conftest.$ac_objext 2225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2226 (eval $ac_compile) 2>conftest.er1 2227 ac_status=$? 2228 grep -v '^ *+' conftest.er1 >conftest.err 2229 rm -f conftest.er1 2230 cat conftest.err >&5 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2232 (exit $ac_status); } && 2233 { ac_try='test -z "$ac_c_werror_flag" 2234 || test ! -s conftest.err' 2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2236 (eval $ac_try) 2>&5 2237 ac_status=$? 2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); }; } && 2240 { ac_try='test -s conftest.$ac_objext' 2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2242 (eval $ac_try) 2>&5 2243 ac_status=$? 2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2245 (exit $ac_status); }; }; then 3186 2246 ac_cv_prog_cc_g=yes 3187 2247 else 3188 CFLAGS="" 3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3190 /* end confdefs.h. */ 3191 3192 int 3193 main () 3194 { 3195 3196 ; 3197 return 0; 3198 } 3199 _ACEOF 3200 if ac_fn_c_try_compile "$LINENO"; then : 3201 3202 else 3203 ac_c_werror_flag=$ac_save_c_werror_flag 3204 CFLAGS="-g" 3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3206 /* end confdefs.h. */ 3207 3208 int 3209 main () 3210 { 3211 3212 ; 3213 return 0; 3214 } 3215 _ACEOF 3216 if ac_fn_c_try_compile "$LINENO"; then : 3217 ac_cv_prog_cc_g=yes 3218 fi 3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3220 fi 3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3222 fi 3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3224 ac_c_werror_flag=$ac_save_c_werror_flag 3225 fi 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3227 $as_echo "$ac_cv_prog_cc_g" >&6; } 2248 echo "$as_me: failed program was:" >&5 2249 sed 's/^/| /' conftest.$ac_ext >&5 2250 2251 ac_cv_prog_cc_g=no 2252 fi 2253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2254 fi 2255 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2256 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3228 2257 if test "$ac_test_CFLAGS" = set; then 3229 2258 CFLAGS=$ac_save_CFLAGS … … 3241 2270 fi 3242 2271 fi 3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3245 if test "${ac_cv_prog_cc_ c89+set}" = set; then :3246 $as_echo_n "(cached)" >&63247 else 3248 ac_cv_prog_cc_ c89=no2272 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2273 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2274 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2275 echo $ECHO_N "(cached) $ECHO_C" >&6 2276 else 2277 ac_cv_prog_cc_stdc=no 3249 2278 ac_save_CC=$CC 3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2279 cat >conftest.$ac_ext <<_ACEOF 2280 /* confdefs.h. */ 2281 _ACEOF 2282 cat confdefs.h >>conftest.$ac_ext 2283 cat >>conftest.$ac_ext <<_ACEOF 3251 2284 /* end confdefs.h. */ 3252 2285 #include <stdarg.h> … … 3276 2309 function prototypes and stuff, but not '\xHH' hex character constants. 3277 2310 These don't provoke an error unfortunately, instead are silently treated 3278 as 'x'. The following induces an error, until -std is added to get2311 as 'x'. The following induces an error, until -std1 is added to get 3279 2312 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3280 2313 array size at least. It's necessary to write '\x00'==0 to get something 3281 that's true only with -std . */2314 that's true only with -std1. */ 3282 2315 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3283 3284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters3285 inside strings and character constants. */3286 #define FOO(x) 'x'3287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];3288 2316 3289 2317 int test (int i, double x); … … 3301 2329 } 3302 2330 _ACEOF 3303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3304 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2331 # Don't try gcc -ansi; that turns off useful extensions and 2332 # breaks some systems' header files. 2333 # AIX -qlanglvl=ansi 2334 # Ultrix and OSF/1 -std1 2335 # HP-UX 10.20 and later -Ae 2336 # HP-UX older versions -Aa -D_HPUX_SOURCE 2337 # SVR4 -Xc -D__EXTENSIONS__ 2338 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3305 2339 do 3306 2340 CC="$ac_save_CC $ac_arg" 3307 if ac_fn_c_try_compile "$LINENO"; then : 3308 ac_cv_prog_cc_c89=$ac_arg 3309 fi 3310 rm -f core conftest.err conftest.$ac_objext 3311 test "x$ac_cv_prog_cc_c89" != "xno" && break 2341 rm -f conftest.$ac_objext 2342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2343 (eval $ac_compile) 2>conftest.er1 2344 ac_status=$? 2345 grep -v '^ *+' conftest.er1 >conftest.err 2346 rm -f conftest.er1 2347 cat conftest.err >&5 2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2349 (exit $ac_status); } && 2350 { ac_try='test -z "$ac_c_werror_flag" 2351 || test ! -s conftest.err' 2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2353 (eval $ac_try) 2>&5 2354 ac_status=$? 2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2356 (exit $ac_status); }; } && 2357 { ac_try='test -s conftest.$ac_objext' 2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2359 (eval $ac_try) 2>&5 2360 ac_status=$? 2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2362 (exit $ac_status); }; }; then 2363 ac_cv_prog_cc_stdc=$ac_arg 2364 break 2365 else 2366 echo "$as_me: failed program was:" >&5 2367 sed 's/^/| /' conftest.$ac_ext >&5 2368 2369 fi 2370 rm -f conftest.err conftest.$ac_objext 3312 2371 done 3313 rm -f conftest.$ac_ext 2372 rm -f conftest.$ac_ext conftest.$ac_objext 3314 2373 CC=$ac_save_CC 3315 2374 3316 2375 fi 3317 # AC_CACHE_VAL 3318 case "x$ac_cv_prog_cc_c89" in 3319 x) 3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3321 $as_echo "none needed" >&6; } ;; 3322 xno) 3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3324 $as_echo "unsupported" >&6; } ;; 2376 2377 case "x$ac_cv_prog_cc_stdc" in 2378 x|xno) 2379 echo "$as_me:$LINENO: result: none needed" >&5 2380 echo "${ECHO_T}none needed" >&6 ;; 3325 2381 *) 3326 CC="$CC $ac_cv_prog_cc_c89"3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3328 $as_echo "$ac_cv_prog_cc_c89" >&6; };;2382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2383 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2384 CC="$CC $ac_cv_prog_cc_stdc" ;; 3329 2385 esac 3330 if test "x$ac_cv_prog_cc_c89" != xno; then : 3331 3332 fi 3333 2386 2387 # Some people use a C++ compiler to compile C. Since we use `exit', 2388 # in C++ we need to declare it. In case someone uses the same compiler 2389 # for both compiling C and C++ we need to have the C++ compiler decide 2390 # the declaration of exit, since it's the most demanding environment. 2391 cat >conftest.$ac_ext <<_ACEOF 2392 #ifndef __cplusplus 2393 choke me 2394 #endif 2395 _ACEOF 2396 rm -f conftest.$ac_objext 2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2398 (eval $ac_compile) 2>conftest.er1 2399 ac_status=$? 2400 grep -v '^ *+' conftest.er1 >conftest.err 2401 rm -f conftest.er1 2402 cat conftest.err >&5 2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2404 (exit $ac_status); } && 2405 { ac_try='test -z "$ac_c_werror_flag" 2406 || test ! -s conftest.err' 2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2408 (eval $ac_try) 2>&5 2409 ac_status=$? 2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2411 (exit $ac_status); }; } && 2412 { ac_try='test -s conftest.$ac_objext' 2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2414 (eval $ac_try) 2>&5 2415 ac_status=$? 2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2417 (exit $ac_status); }; }; then 2418 for ac_declaration in \ 2419 '' \ 2420 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2421 'extern "C" void std::exit (int); using std::exit;' \ 2422 'extern "C" void exit (int) throw ();' \ 2423 'extern "C" void exit (int);' \ 2424 'void exit (int);' 2425 do 2426 cat >conftest.$ac_ext <<_ACEOF 2427 /* confdefs.h. */ 2428 _ACEOF 2429 cat confdefs.h >>conftest.$ac_ext 2430 cat >>conftest.$ac_ext <<_ACEOF 2431 /* end confdefs.h. */ 2432 $ac_declaration 2433 #include <stdlib.h> 2434 int 2435 main () 2436 { 2437 exit (42); 2438 ; 2439 return 0; 2440 } 2441 _ACEOF 2442 rm -f conftest.$ac_objext 2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2444 (eval $ac_compile) 2>conftest.er1 2445 ac_status=$? 2446 grep -v '^ *+' conftest.er1 >conftest.err 2447 rm -f conftest.er1 2448 cat conftest.err >&5 2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2450 (exit $ac_status); } && 2451 { ac_try='test -z "$ac_c_werror_flag" 2452 || test ! -s conftest.err' 2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2454 (eval $ac_try) 2>&5 2455 ac_status=$? 2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2457 (exit $ac_status); }; } && 2458 { ac_try='test -s conftest.$ac_objext' 2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2460 (eval $ac_try) 2>&5 2461 ac_status=$? 2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 (exit $ac_status); }; }; then 2464 : 2465 else 2466 echo "$as_me: failed program was:" >&5 2467 sed 's/^/| /' conftest.$ac_ext >&5 2468 2469 continue 2470 fi 2471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2472 cat >conftest.$ac_ext <<_ACEOF 2473 /* confdefs.h. */ 2474 _ACEOF 2475 cat confdefs.h >>conftest.$ac_ext 2476 cat >>conftest.$ac_ext <<_ACEOF 2477 /* end confdefs.h. */ 2478 $ac_declaration 2479 int 2480 main () 2481 { 2482 exit (42); 2483 ; 2484 return 0; 2485 } 2486 _ACEOF 2487 rm -f conftest.$ac_objext 2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2489 (eval $ac_compile) 2>conftest.er1 2490 ac_status=$? 2491 grep -v '^ *+' conftest.er1 >conftest.err 2492 rm -f conftest.er1 2493 cat conftest.err >&5 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); } && 2496 { ac_try='test -z "$ac_c_werror_flag" 2497 || test ! -s conftest.err' 2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2499 (eval $ac_try) 2>&5 2500 ac_status=$? 2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2502 (exit $ac_status); }; } && 2503 { ac_try='test -s conftest.$ac_objext' 2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2505 (eval $ac_try) 2>&5 2506 ac_status=$? 2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2508 (exit $ac_status); }; }; then 2509 break 2510 else 2511 echo "$as_me: failed program was:" >&5 2512 sed 's/^/| /' conftest.$ac_ext >&5 2513 2514 fi 2515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2516 done 2517 rm -f conftest* 2518 if test -n "$ac_declaration"; then 2519 echo '#ifdef __cplusplus' >>confdefs.h 2520 echo $ac_declaration >>confdefs.h 2521 echo '#endif' >>confdefs.h 2522 fi 2523 2524 else 2525 echo "$as_me: failed program was:" >&5 2526 sed 's/^/| /' conftest.$ac_ext >&5 2527 2528 fi 2529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3334 2530 ac_ext=c 3335 2531 ac_cpp='$CPP $CPPFLAGS' … … 3338 2534 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3339 2535 3340 ac_ext=c pp2536 ac_ext=cc 3341 2537 ac_cpp='$CXXCPP $CPPFLAGS' 3342 2538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3343 2539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3344 2540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3345 if test -z "$CXX"; then 3346 if test -n "$CCC"; then 3347 CXX=$CCC 3348 else 3349 if test -n "$ac_tool_prefix"; then 3350 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2541 if test -n "$ac_tool_prefix"; then 2542 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3351 2543 do 3352 2544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3353 2545 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53355 $as_echo_n "checking for $ac_word... " >&6; } 3356 if test "${ac_cv_prog_CXX+set}" = set; then :3357 $as_echo_n "(cached)" >&62546 echo "$as_me:$LINENO: checking for $ac_word" >&5 2547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2548 if test "${ac_cv_prog_CXX+set}" = set; then 2549 echo $ECHO_N "(cached) $ECHO_C" >&6 3358 2550 else 3359 2551 if test -n "$CXX"; then … … 3365 2557 IFS=$as_save_IFS 3366 2558 test -z "$as_dir" && as_dir=. 3367 3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2559 for ac_exec_ext in '' $ac_executable_extensions; do 2560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3369 2561 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3371 2563 break 2 3372 2564 fi 3373 2565 done 3374 done 3375 IFS=$as_save_IFS 2566 done 3376 2567 3377 2568 fi … … 3379 2570 CXX=$ac_cv_prog_CXX 3380 2571 if test -n "$CXX"; then 3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3382 $as_echo "$CXX" >&6; } 3383 else 3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3385 $as_echo "no" >&6; } 3386 fi 3387 2572 echo "$as_me:$LINENO: result: $CXX" >&5 2573 echo "${ECHO_T}$CXX" >&6 2574 else 2575 echo "$as_me:$LINENO: result: no" >&5 2576 echo "${ECHO_T}no" >&6 2577 fi 3388 2578 3389 2579 test -n "$CXX" && break … … 3392 2582 if test -z "$CXX"; then 3393 2583 ac_ct_CXX=$CXX 3394 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC2584 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3395 2585 do 3396 2586 # Extract the first word of "$ac_prog", so it can be a program name with args. 3397 2587 set dummy $ac_prog; ac_word=$2 3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53399 $as_echo_n "checking for $ac_word... " >&6; } 3400 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3401 $as_echo_n "(cached)" >&62588 echo "$as_me:$LINENO: checking for $ac_word" >&5 2589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2590 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2591 echo $ECHO_N "(cached) $ECHO_C" >&6 3402 2592 else 3403 2593 if test -n "$ac_ct_CXX"; then … … 3409 2599 IFS=$as_save_IFS 3410 2600 test -z "$as_dir" && as_dir=. 3411 3412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2601 for ac_exec_ext in '' $ac_executable_extensions; do 2602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3413 2603 ac_cv_prog_ac_ct_CXX="$ac_prog" 3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3415 2605 break 2 3416 2606 fi 3417 2607 done 3418 done 3419 IFS=$as_save_IFS 2608 done 3420 2609 3421 2610 fi … … 3423 2612 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3424 2613 if test -n "$ac_ct_CXX"; then 3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3426 $as_echo "$ac_ct_CXX" >&6; } 3427 else 3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3429 $as_echo "no" >&6; } 3430 fi 3431 2614 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2615 echo "${ECHO_T}$ac_ct_CXX" >&6 2616 else 2617 echo "$as_me:$LINENO: result: no" >&5 2618 echo "${ECHO_T}no" >&6 2619 fi 3432 2620 3433 2621 test -n "$ac_ct_CXX" && break 3434 2622 done 3435 3436 if test "x$ac_ct_CXX" = x; then 3437 CXX="g++" 3438 else 3439 case $cross_compiling:$ac_tool_warned in 3440 yes:) 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3443 ac_tool_warned=yes ;; 3444 esac 3445 CXX=$ac_ct_CXX 3446 fi 3447 fi 3448 3449 fi 3450 fi 2623 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2624 2625 CXX=$ac_ct_CXX 2626 fi 2627 2628 3451 2629 # Provide some information about the compiler. 3452 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3453 set X $ac_compile 3454 ac_compiler=$2 3455 for ac_option in --version -v -V -qversion; do 3456 { { ac_try="$ac_compiler $ac_option >&5" 3457 case "(($ac_try" in 3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3459 *) ac_try_echo=$ac_try;; 3460 esac 3461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3462 $as_echo "$ac_try_echo"; } >&5 3463 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3464 ac_status=$? 3465 if test -s conftest.err; then 3466 sed '10a\ 3467 ... rest of stderr output deleted ... 3468 10q' conftest.err >conftest.er1 3469 cat conftest.er1 >&5 3470 fi 3471 rm -f conftest.er1 conftest.err 3472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3473 test $ac_status = 0; } 3474 done 3475 3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3477 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3478 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3479 $as_echo_n "(cached) " >&6 3480 else 3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2630 echo "$as_me:$LINENO:" \ 2631 "checking for C++ compiler version" >&5 2632 ac_compiler=`set X $ac_compile; echo $2` 2633 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2634 (eval $ac_compiler --version </dev/null >&5) 2>&5 2635 ac_status=$? 2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2637 (exit $ac_status); } 2638 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2639 (eval $ac_compiler -v </dev/null >&5) 2>&5 2640 ac_status=$? 2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2642 (exit $ac_status); } 2643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2644 (eval $ac_compiler -V </dev/null >&5) 2>&5 2645 ac_status=$? 2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2647 (exit $ac_status); } 2648 2649 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2650 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2651 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2652 echo $ECHO_N "(cached) $ECHO_C" >&6 2653 else 2654 cat >conftest.$ac_ext <<_ACEOF 2655 /* confdefs.h. */ 2656 _ACEOF 2657 cat confdefs.h >>conftest.$ac_ext 2658 cat >>conftest.$ac_ext <<_ACEOF 3482 2659 /* end confdefs.h. */ 3483 2660 … … 3493 2670 } 3494 2671 _ACEOF 3495 if ac_fn_cxx_try_compile "$LINENO"; then : 2672 rm -f conftest.$ac_objext 2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2674 (eval $ac_compile) 2>conftest.er1 2675 ac_status=$? 2676 grep -v '^ *+' conftest.er1 >conftest.err 2677 rm -f conftest.er1 2678 cat conftest.err >&5 2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2680 (exit $ac_status); } && 2681 { ac_try='test -z "$ac_cxx_werror_flag" 2682 || test ! -s conftest.err' 2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2684 (eval $ac_try) 2>&5 2685 ac_status=$? 2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2687 (exit $ac_status); }; } && 2688 { ac_try='test -s conftest.$ac_objext' 2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2690 (eval $ac_try) 2>&5 2691 ac_status=$? 2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2693 (exit $ac_status); }; }; then 3496 2694 ac_compiler_gnu=yes 3497 2695 else 3498 ac_compiler_gnu=no 3499 fi 3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2696 echo "$as_me: failed program was:" >&5 2697 sed 's/^/| /' conftest.$ac_ext >&5 2698 2699 ac_compiler_gnu=no 2700 fi 2701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3501 2702 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3502 2703 3503 2704 fi 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3505 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3506 if test $ac_compiler_gnu = yes; then 3507 GXX=yes 3508 else 3509 GXX= 3510 fi 2705 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2706 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2707 GXX=`test $ac_compiler_gnu = yes && echo yes` 3511 2708 ac_test_CXXFLAGS=${CXXFLAGS+set} 3512 2709 ac_save_CXXFLAGS=$CXXFLAGS 3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3514 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3515 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3516 $as_echo_n "(cached) " >&6 3517 else 3518 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3519 ac_cxx_werror_flag=yes 3520 ac_cv_prog_cxx_g=no 3521 CXXFLAGS="-g" 3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2710 CXXFLAGS="-g" 2711 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2712 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2713 if test "${ac_cv_prog_cxx_g+set}" = set; then 2714 echo $ECHO_N "(cached) $ECHO_C" >&6 2715 else 2716 cat >conftest.$ac_ext <<_ACEOF 2717 /* confdefs.h. */ 2718 _ACEOF 2719 cat confdefs.h >>conftest.$ac_ext 2720 cat >>conftest.$ac_ext <<_ACEOF 3523 2721 /* end confdefs.h. */ 3524 2722 … … 3531 2729 } 3532 2730 _ACEOF 3533 if ac_fn_cxx_try_compile "$LINENO"; then : 2731 rm -f conftest.$ac_objext 2732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2733 (eval $ac_compile) 2>conftest.er1 2734 ac_status=$? 2735 grep -v '^ *+' conftest.er1 >conftest.err 2736 rm -f conftest.er1 2737 cat conftest.err >&5 2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2739 (exit $ac_status); } && 2740 { ac_try='test -z "$ac_cxx_werror_flag" 2741 || test ! -s conftest.err' 2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2743 (eval $ac_try) 2>&5 2744 ac_status=$? 2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746 (exit $ac_status); }; } && 2747 { ac_try='test -s conftest.$ac_objext' 2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2749 (eval $ac_try) 2>&5 2750 ac_status=$? 2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2752 (exit $ac_status); }; }; then 3534 2753 ac_cv_prog_cxx_g=yes 3535 2754 else 3536 CXXFLAGS="" 3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3538 /* end confdefs.h. */ 3539 3540 int 3541 main () 3542 { 3543 3544 ; 3545 return 0; 3546 } 3547 _ACEOF 3548 if ac_fn_cxx_try_compile "$LINENO"; then : 3549 3550 else 3551 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3552 CXXFLAGS="-g" 3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3554 /* end confdefs.h. */ 3555 3556 int 3557 main () 3558 { 3559 3560 ; 3561 return 0; 3562 } 3563 _ACEOF 3564 if ac_fn_cxx_try_compile "$LINENO"; then : 3565 ac_cv_prog_cxx_g=yes 3566 fi 3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3568 fi 3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3570 fi 3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3572 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3573 fi 3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3575 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2755 echo "$as_me: failed program was:" >&5 2756 sed 's/^/| /' conftest.$ac_ext >&5 2757 2758 ac_cv_prog_cxx_g=no 2759 fi 2760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2761 fi 2762 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2763 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3576 2764 if test "$ac_test_CXXFLAGS" = set; then 3577 2765 CXXFLAGS=$ac_save_CXXFLAGS … … 3589 2777 fi 3590 2778 fi 2779 for ac_declaration in \ 2780 '' \ 2781 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2782 'extern "C" void std::exit (int); using std::exit;' \ 2783 'extern "C" void exit (int) throw ();' \ 2784 'extern "C" void exit (int);' \ 2785 'void exit (int);' 2786 do 2787 cat >conftest.$ac_ext <<_ACEOF 2788 /* confdefs.h. */ 2789 _ACEOF 2790 cat confdefs.h >>conftest.$ac_ext 2791 cat >>conftest.$ac_ext <<_ACEOF 2792 /* end confdefs.h. */ 2793 $ac_declaration 2794 #include <stdlib.h> 2795 int 2796 main () 2797 { 2798 exit (42); 2799 ; 2800 return 0; 2801 } 2802 _ACEOF 2803 rm -f conftest.$ac_objext 2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2805 (eval $ac_compile) 2>conftest.er1 2806 ac_status=$? 2807 grep -v '^ *+' conftest.er1 >conftest.err 2808 rm -f conftest.er1 2809 cat conftest.err >&5 2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2811 (exit $ac_status); } && 2812 { ac_try='test -z "$ac_cxx_werror_flag" 2813 || test ! -s conftest.err' 2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2815 (eval $ac_try) 2>&5 2816 ac_status=$? 2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2818 (exit $ac_status); }; } && 2819 { ac_try='test -s conftest.$ac_objext' 2820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2821 (eval $ac_try) 2>&5 2822 ac_status=$? 2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2824 (exit $ac_status); }; }; then 2825 : 2826 else 2827 echo "$as_me: failed program was:" >&5 2828 sed 's/^/| /' conftest.$ac_ext >&5 2829 2830 continue 2831 fi 2832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2833 cat >conftest.$ac_ext <<_ACEOF 2834 /* confdefs.h. */ 2835 _ACEOF 2836 cat confdefs.h >>conftest.$ac_ext 2837 cat >>conftest.$ac_ext <<_ACEOF 2838 /* end confdefs.h. */ 2839 $ac_declaration 2840 int 2841 main () 2842 { 2843 exit (42); 2844 ; 2845 return 0; 2846 } 2847 _ACEOF 2848 rm -f conftest.$ac_objext 2849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2850 (eval $ac_compile) 2>conftest.er1 2851 ac_status=$? 2852 grep -v '^ *+' conftest.er1 >conftest.err 2853 rm -f conftest.er1 2854 cat conftest.err >&5 2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2856 (exit $ac_status); } && 2857 { ac_try='test -z "$ac_cxx_werror_flag" 2858 || test ! -s conftest.err' 2859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2860 (eval $ac_try) 2>&5 2861 ac_status=$? 2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2863 (exit $ac_status); }; } && 2864 { ac_try='test -s conftest.$ac_objext' 2865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2866 (eval $ac_try) 2>&5 2867 ac_status=$? 2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2869 (exit $ac_status); }; }; then 2870 break 2871 else 2872 echo "$as_me: failed program was:" >&5 2873 sed 's/^/| /' conftest.$ac_ext >&5 2874 2875 fi 2876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2877 done 2878 rm -f conftest* 2879 if test -n "$ac_declaration"; then 2880 echo '#ifdef __cplusplus' >>confdefs.h 2881 echo $ac_declaration >>confdefs.h 2882 echo '#endif' >>confdefs.h 2883 fi 2884 3591 2885 ac_ext=c 3592 2886 ac_cpp='$CPP $CPPFLAGS' … … 3604 2898 # Extract the first word of "$ac_prog", so it can be a program name with args. 3605 2899 set dummy $ac_prog; ac_word=$2 3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53607 $as_echo_n "checking for $ac_word... " >&6; } 3608 if test "${ac_cv_prog_JAVA+set}" = set; then :3609 $as_echo_n "(cached)" >&62900 echo "$as_me:$LINENO: checking for $ac_word" >&5 2901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2902 if test "${ac_cv_prog_JAVA+set}" = set; then 2903 echo $ECHO_N "(cached) $ECHO_C" >&6 3610 2904 else 3611 2905 if test -n "$JAVA"; then … … 3617 2911 IFS=$as_save_IFS 3618 2912 test -z "$as_dir" && as_dir=. 3619 3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2913 for ac_exec_ext in '' $ac_executable_extensions; do 2914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3621 2915 ac_cv_prog_JAVA="$ac_prog" 3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3623 2917 break 2 3624 2918 fi 3625 2919 done 3626 done 3627 IFS=$as_save_IFS 2920 done 3628 2921 3629 2922 fi … … 3631 2924 JAVA=$ac_cv_prog_JAVA 3632 2925 if test -n "$JAVA"; then 3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3634 $as_echo "$JAVA" >&6; } 3635 else 3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3637 $as_echo "no" >&6; } 3638 fi 3639 2926 echo "$as_me:$LINENO: result: $JAVA" >&5 2927 echo "${ECHO_T}$JAVA" >&6 2928 else 2929 echo "$as_me:$LINENO: result: no" >&5 2930 echo "${ECHO_T}no" >&6 2931 fi 3640 2932 3641 2933 test -n "$JAVA" && break … … 3647 2939 # Extract the first word of "$ac_prog", so it can be a program name with args. 3648 2940 set dummy $ac_prog; ac_word=$2 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53650 $as_echo_n "checking for $ac_word... " >&6; } 3651 if test "${ac_cv_prog_JAVA+set}" = set; then :3652 $as_echo_n "(cached)" >&62941 echo "$as_me:$LINENO: checking for $ac_word" >&5 2942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2943 if test "${ac_cv_prog_JAVA+set}" = set; then 2944 echo $ECHO_N "(cached) $ECHO_C" >&6 3653 2945 else 3654 2946 if test -n "$JAVA"; then … … 3660 2952 IFS=$as_save_IFS 3661 2953 test -z "$as_dir" && as_dir=. 3662 3663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2954 for ac_exec_ext in '' $ac_executable_extensions; do 2955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3664 2956 ac_cv_prog_JAVA="$ac_prog" 3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3666 2958 break 2 3667 2959 fi 3668 2960 done 3669 done 3670 IFS=$as_save_IFS 2961 done 3671 2962 3672 2963 fi … … 3674 2965 JAVA=$ac_cv_prog_JAVA 3675 2966 if test -n "$JAVA"; then 3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3677 $as_echo "$JAVA" >&6; } 3678 else 3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3680 $as_echo "no" >&6; } 3681 fi 3682 2967 echo "$as_me:$LINENO: result: $JAVA" >&5 2968 echo "${ECHO_T}$JAVA" >&6 2969 else 2970 echo "$as_me:$LINENO: result: no" >&5 2971 echo "${ECHO_T}no" >&6 2972 fi 3683 2973 3684 2974 test -n "$JAVA" && break … … 3687 2977 3688 2978 fi 3689 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 2979 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 2980 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 2981 { (exit 1); exit 1; }; } 3690 2982 fi 3691 2983 … … 3693 2985 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3694 2986 set dummy uudecode$EXEEXT; ac_word=$2 3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53696 $as_echo_n "checking for $ac_word... " >&6; } 3697 if test "${ac_cv_prog_uudecode+set}" = set; then :3698 $as_echo_n "(cached)" >&62987 echo "$as_me:$LINENO: checking for $ac_word" >&5 2988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2989 if test "${ac_cv_prog_uudecode+set}" = set; then 2990 echo $ECHO_N "(cached) $ECHO_C" >&6 3699 2991 else 3700 2992 if test -n "$uudecode"; then … … 3706 2998 IFS=$as_save_IFS 3707 2999 test -z "$as_dir" && as_dir=. 3708 3709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3000 for ac_exec_ext in '' $ac_executable_extensions; do 3001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3710 3002 ac_cv_prog_uudecode="yes" 3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3712 3004 break 2 3713 3005 fi 3714 3006 done 3715 done 3716 IFS=$as_save_IFS 3007 done 3717 3008 3718 3009 fi … … 3720 3011 uudecode=$ac_cv_prog_uudecode 3721 3012 if test -n "$uudecode"; then 3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 3723 $as_echo "$uudecode" >&6; } 3724 else 3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3726 $as_echo "no" >&6; } 3727 fi 3728 3013 echo "$as_me:$LINENO: result: $uudecode" >&5 3014 echo "${ECHO_T}$uudecode" >&6 3015 else 3016 echo "$as_me:$LINENO: result: no" >&5 3017 echo "${ECHO_T}no" >&6 3018 fi 3729 3019 3730 3020 if test x$uudecode = xyes; then 3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&53732 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3733 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :3734 $as_echo_n "(cached)" >&63021 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3022 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6 3023 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3024 echo $ECHO_N "(cached) $ECHO_C" >&6 3735 3025 else 3736 3026 … … 3749 3039 ac_cv_prog_uudecode_base64=yes 3750 3040 else 3751 echo "configure: 3 751: uudecode had trouble decoding base 64 file 'Test.uue'" >&53041 echo "configure: 3041: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3752 3042 echo "configure: failed file was:" >&5 3753 3043 cat Test.uue >&5 … … 3756 3046 rm -f Test.uue 3757 3047 fi 3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&53759 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3048 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3049 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6 3760 3050 fi 3761 3051 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3762 3052 rm -f Test.class 3763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&53764 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3053 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3054 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3765 3055 if test x$ac_cv_prog_javac_works = xno; then 3766 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3056 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3057 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3058 { (exit 1); exit 1; }; } 3767 3059 fi 3768 3060 if test x$ac_cv_prog_javac_works = x; then … … 3774 3066 # Extract the first word of "$ac_prog", so it can be a program name with args. 3775 3067 set dummy $ac_prog; ac_word=$2 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53777 $as_echo_n "checking for $ac_word... " >&6; } 3778 if test "${ac_cv_prog_JAVAC+set}" = set; then :3779 $as_echo_n "(cached)" >&63068 echo "$as_me:$LINENO: checking for $ac_word" >&5 3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3070 if test "${ac_cv_prog_JAVAC+set}" = set; then 3071 echo $ECHO_N "(cached) $ECHO_C" >&6 3780 3072 else 3781 3073 if test -n "$JAVAC"; then … … 3787 3079 IFS=$as_save_IFS 3788 3080 test -z "$as_dir" && as_dir=. 3789 3790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3081 for ac_exec_ext in '' $ac_executable_extensions; do 3082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3791 3083 ac_cv_prog_JAVAC="$ac_prog" 3792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3793 3085 break 2 3794 3086 fi 3795 3087 done 3796 done 3797 IFS=$as_save_IFS 3088 done 3798 3089 3799 3090 fi … … 3801 3092 JAVAC=$ac_cv_prog_JAVAC 3802 3093 if test -n "$JAVAC"; then 3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3804 $as_echo "$JAVAC" >&6; } 3805 else 3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3807 $as_echo "no" >&6; } 3808 fi 3809 3094 echo "$as_me:$LINENO: result: $JAVAC" >&5 3095 echo "${ECHO_T}$JAVAC" >&6 3096 else 3097 echo "$as_me:$LINENO: result: no" >&5 3098 echo "${ECHO_T}no" >&6 3099 fi 3810 3100 3811 3101 test -n "$JAVAC" && break … … 3817 3107 # Extract the first word of "$ac_prog", so it can be a program name with args. 3818 3108 set dummy $ac_prog; ac_word=$2 3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53820 $as_echo_n "checking for $ac_word... " >&6; } 3821 if test "${ac_cv_prog_JAVAC+set}" = set; then :3822 $as_echo_n "(cached)" >&63109 echo "$as_me:$LINENO: checking for $ac_word" >&5 3110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3111 if test "${ac_cv_prog_JAVAC+set}" = set; then 3112 echo $ECHO_N "(cached) $ECHO_C" >&6 3823 3113 else 3824 3114 if test -n "$JAVAC"; then … … 3830 3120 IFS=$as_save_IFS 3831 3121 test -z "$as_dir" && as_dir=. 3832 3833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3122 for ac_exec_ext in '' $ac_executable_extensions; do 3123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3834 3124 ac_cv_prog_JAVAC="$ac_prog" 3835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3836 3126 break 2 3837 3127 fi 3838 3128 done 3839 done 3840 IFS=$as_save_IFS 3129 done 3841 3130 3842 3131 fi … … 3844 3133 JAVAC=$ac_cv_prog_JAVAC 3845 3134 if test -n "$JAVAC"; then 3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3847 $as_echo "$JAVAC" >&6; } 3848 else 3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3850 $as_echo "no" >&6; } 3851 fi 3852 3135 echo "$as_me:$LINENO: result: $JAVAC" >&5 3136 echo "${ECHO_T}$JAVAC" >&6 3137 else 3138 echo "$as_me:$LINENO: result: no" >&5 3139 echo "${ECHO_T}no" >&6 3140 fi 3853 3141 3854 3142 test -n "$JAVAC" && break … … 3857 3145 3858 3146 fi 3859 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3147 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3148 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3149 { (exit 1); exit 1; }; } 3860 3150 else 3861 3151 echo "Checking for javac... $JAVAC" … … 3863 3153 3864 3154 3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&53866 $as_echo_n "checking if $JAVAC works... " >&6; } 3867 if test "${ac_cv_prog_javac_works+set}" = set; then :3868 $as_echo_n "(cached)" >&63155 echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3156 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3157 if test "${ac_cv_prog_javac_works+set}" = set; then 3158 echo $ECHO_N "(cached) $ECHO_C" >&6 3869 3159 else 3870 3160 … … 3872 3162 CLASS_TEST=Test.class 3873 3163 cat << \EOF > $JAVA_TEST 3874 /* #line 3 874 "configure" */3164 /* #line 3164 "configure" */ 3875 3165 public class Test { 3876 3166 } 3877 3167 EOF 3878 3168 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3879 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53880 (eval $ac_try) 2>&5 3881 ac_status=$? 3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53883 test $ac_status = 0; }; } >/dev/null 2>&1; then3169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3170 (eval $ac_try) 2>&5 3171 ac_status=$? 3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 (exit $ac_status); }; } >/dev/null 2>&1; then 3884 3174 ac_cv_prog_javac_works=yes 3885 3175 else 3886 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3176 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3177 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3178 { (exit 1); exit 1; }; } 3887 3179 echo "configure: failed program was:" >&5 3888 3180 cat $JAVA_TEST >&5 … … 3891 3183 3892 3184 fi 3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&53894 $as_echo "$ac_cv_prog_javac_works" >&6; } 3185 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3186 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3895 3187 if test "x$JAVACFLAGS" = x ; then 3896 3188 JAVACFLAGS="-source 1.4 -target 1.4" … … 3901 3193 fi 3902 3194 fi 3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&53904 $as_echo_n "checking if $JAVA works... " >&6; } 3905 if test "${ac_cv_prog_java_works+set}" = set; then :3906 $as_echo_n "(cached)" >&63195 echo "$as_me:$LINENO: checking if $JAVA works" >&5 3196 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6 3197 if test "${ac_cv_prog_java_works+set}" = set; then 3198 echo $ECHO_N "(cached) $ECHO_C" >&6 3907 3199 else 3908 3200 … … 3911 3203 TEST=Test 3912 3204 cat << \EOF > $JAVA_TEST 3913 /* [#]line 3 913"configure" */3205 /* [#]line 3205 "configure" */ 3914 3206 public class Test { 3915 3207 public static void main (String args[]) { … … 3919 3211 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3920 3212 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3921 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53922 (eval $ac_try) 2>&5 3923 ac_status=$? 3924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53925 test $ac_status = 0; }; } && test -s $CLASS_TEST; then3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3214 (eval $ac_try) 2>&5 3215 ac_status=$? 3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3217 (exit $ac_status); }; } && test -s $CLASS_TEST; then 3926 3218 : 3927 3219 else 3928 3220 echo "configure: failed program was:" >&5 3929 3221 cat $JAVA_TEST >&5 3930 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3222 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3223 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3224 { (exit 1); exit 1; }; } 3931 3225 fi 3932 3226 fi 3933 3227 if { ac_try='$JAVA $JAVAFLAGS $TEST' 3934 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53935 (eval $ac_try) 2>&5 3936 ac_status=$? 3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53938 test $ac_status = 0; }; } >/dev/null 2>&1; then3228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3229 (eval $ac_try) 2>&5 3230 ac_status=$? 3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3232 (exit $ac_status); }; } >/dev/null 2>&1; then 3939 3233 ac_cv_prog_java_works=yes 3940 3234 else 3941 3235 echo "configure: failed program was:" >&5 3942 3236 cat $JAVA_TEST >&5 3943 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3237 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3238 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3239 { (exit 1); exit 1; }; } 3944 3240 fi 3945 3241 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 3946 3242 3947 3243 fi 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&53949 $as_echo "$ac_cv_prog_java_works" >&6; } 3244 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 3245 echo "${ECHO_T}$ac_cv_prog_java_works" >&6 3950 3246 3951 3247 … … 3958 3254 # Extract the first word of "$ac_prog", so it can be a program name with args. 3959 3255 set dummy $ac_prog; ac_word=$2 3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53961 $as_echo_n "checking for $ac_word... " >&6; } 3962 if test "${ac_cv_prog_JAVAC+set}" = set; then :3963 $as_echo_n "(cached)" >&63256 echo "$as_me:$LINENO: checking for $ac_word" >&5 3257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3258 if test "${ac_cv_prog_JAVAC+set}" = set; then 3259 echo $ECHO_N "(cached) $ECHO_C" >&6 3964 3260 else 3965 3261 if test -n "$JAVAC"; then … … 3971 3267 IFS=$as_save_IFS 3972 3268 test -z "$as_dir" && as_dir=. 3973 3974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3269 for ac_exec_ext in '' $ac_executable_extensions; do 3270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3975 3271 ac_cv_prog_JAVAC="$ac_prog" 3976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3977 3273 break 2 3978 3274 fi 3979 3275 done 3980 done 3981 IFS=$as_save_IFS 3276 done 3982 3277 3983 3278 fi … … 3985 3280 JAVAC=$ac_cv_prog_JAVAC 3986 3281 if test -n "$JAVAC"; then 3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3988 $as_echo "$JAVAC" >&6; } 3989 else 3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3991 $as_echo "no" >&6; } 3992 fi 3993 3282 echo "$as_me:$LINENO: result: $JAVAC" >&5 3283 echo "${ECHO_T}$JAVAC" >&6 3284 else 3285 echo "$as_me:$LINENO: result: no" >&5 3286 echo "${ECHO_T}no" >&6 3287 fi 3994 3288 3995 3289 test -n "$JAVAC" && break … … 4001 3295 # Extract the first word of "$ac_prog", so it can be a program name with args. 4002 3296 set dummy $ac_prog; ac_word=$2 4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54004 $as_echo_n "checking for $ac_word... " >&6; } 4005 if test "${ac_cv_prog_JAVAC+set}" = set; then :4006 $as_echo_n "(cached)" >&63297 echo "$as_me:$LINENO: checking for $ac_word" >&5 3298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3299 if test "${ac_cv_prog_JAVAC+set}" = set; then 3300 echo $ECHO_N "(cached) $ECHO_C" >&6 4007 3301 else 4008 3302 if test -n "$JAVAC"; then … … 4014 3308 IFS=$as_save_IFS 4015 3309 test -z "$as_dir" && as_dir=. 4016 4017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3310 for ac_exec_ext in '' $ac_executable_extensions; do 3311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4018 3312 ac_cv_prog_JAVAC="$ac_prog" 4019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4020 3314 break 2 4021 3315 fi 4022 3316 done 4023 done 4024 IFS=$as_save_IFS 3317 done 4025 3318 4026 3319 fi … … 4028 3321 JAVAC=$ac_cv_prog_JAVAC 4029 3322 if test -n "$JAVAC"; then 4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 4031 $as_echo "$JAVAC" >&6; } 4032 else 4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4034 $as_echo "no" >&6; } 4035 fi 4036 3323 echo "$as_me:$LINENO: result: $JAVAC" >&5 3324 echo "${ECHO_T}$JAVAC" >&6 3325 else 3326 echo "$as_me:$LINENO: result: no" >&5 3327 echo "${ECHO_T}no" >&6 3328 fi 4037 3329 4038 3330 test -n "$JAVAC" && break … … 4041 3333 4042 3334 fi 4043 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3335 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3336 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3337 { (exit 1); exit 1; }; } 4044 3338 else 4045 3339 echo "Checking for javac... $JAVAC" … … 4047 3341 4048 3342 4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&54050 $as_echo_n "checking if $JAVAC works... " >&6; } 4051 if test "${ac_cv_prog_javac_works+set}" = set; then :4052 $as_echo_n "(cached)" >&63343 echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3344 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3345 if test "${ac_cv_prog_javac_works+set}" = set; then 3346 echo $ECHO_N "(cached) $ECHO_C" >&6 4053 3347 else 4054 3348 … … 4056 3350 CLASS_TEST=Test.class 4057 3351 cat << \EOF > $JAVA_TEST 4058 /* #line 4058"configure" */3352 /* #line 3352 "configure" */ 4059 3353 public class Test { 4060 3354 } 4061 3355 EOF 4062 3356 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4063 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&54064 (eval $ac_try) 2>&5 4065 ac_status=$? 4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&54067 test $ac_status = 0; }; } >/dev/null 2>&1; then3357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3358 (eval $ac_try) 2>&5 3359 ac_status=$? 3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3361 (exit $ac_status); }; } >/dev/null 2>&1; then 4068 3362 ac_cv_prog_javac_works=yes 4069 3363 else 4070 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3364 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3365 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3366 { (exit 1); exit 1; }; } 4071 3367 echo "configure: failed program was:" >&5 4072 3368 cat $JAVA_TEST >&5 … … 4075 3371 4076 3372 fi 4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&54078 $as_echo "$ac_cv_prog_javac_works" >&6; } 3373 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3374 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 4079 3375 if test "x$JAVACFLAGS" = x ; then 4080 3376 JAVACFLAGS="-source 1.4 -target 1.4" … … 4088 3384 # Extract the first word of "$ac_prog", so it can be a program name with args. 4089 3385 set dummy $ac_prog; ac_word=$2 4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54091 $as_echo_n "checking for $ac_word... " >&6; } 4092 if test "${ac_cv_prog_AWK+set}" = set; then :4093 $as_echo_n "(cached)" >&63386 echo "$as_me:$LINENO: checking for $ac_word" >&5 3387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3388 if test "${ac_cv_prog_AWK+set}" = set; then 3389 echo $ECHO_N "(cached) $ECHO_C" >&6 4094 3390 else 4095 3391 if test -n "$AWK"; then … … 4101 3397 IFS=$as_save_IFS 4102 3398 test -z "$as_dir" && as_dir=. 4103 4104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3399 for ac_exec_ext in '' $ac_executable_extensions; do 3400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4105 3401 ac_cv_prog_AWK="$ac_prog" 4106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4107 3403 break 2 4108 3404 fi 4109 3405 done 4110 done 4111 IFS=$as_save_IFS 3406 done 4112 3407 4113 3408 fi … … 4115 3410 AWK=$ac_cv_prog_AWK 4116 3411 if test -n "$AWK"; then 4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4118 $as_echo "$AWK" >&6; } 4119 else 4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4121 $as_echo "no" >&6; } 4122 fi 4123 3412 echo "$as_me:$LINENO: result: $AWK" >&5 3413 echo "${ECHO_T}$AWK" >&6 3414 else 3415 echo "$as_me:$LINENO: result: no" >&5 3416 echo "${ECHO_T}no" >&6 3417 fi 4124 3418 4125 3419 test -n "$AWK" && break … … 4130 3424 # Extract the first word of "$ac_prog", so it can be a program name with args. 4131 3425 set dummy $ac_prog; ac_word=$2 4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54133 $as_echo_n "checking for $ac_word... " >&6; } 4134 if test "${ac_cv_prog_YACC+set}" = set; then :4135 $as_echo_n "(cached)" >&63426 echo "$as_me:$LINENO: checking for $ac_word" >&5 3427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3428 if test "${ac_cv_prog_YACC+set}" = set; then 3429 echo $ECHO_N "(cached) $ECHO_C" >&6 4136 3430 else 4137 3431 if test -n "$YACC"; then … … 4143 3437 IFS=$as_save_IFS 4144 3438 test -z "$as_dir" && as_dir=. 4145 4146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3439 for ac_exec_ext in '' $ac_executable_extensions; do 3440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4147 3441 ac_cv_prog_YACC="$ac_prog" 4148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4149 3443 break 2 4150 3444 fi 4151 3445 done 4152 done 4153 IFS=$as_save_IFS 3446 done 4154 3447 4155 3448 fi … … 4157 3450 YACC=$ac_cv_prog_YACC 4158 3451 if test -n "$YACC"; then 4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 4160 $as_echo "$YACC" >&6; } 4161 else 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4163 $as_echo "no" >&6; } 4164 fi 4165 3452 echo "$as_me:$LINENO: result: $YACC" >&5 3453 echo "${ECHO_T}$YACC" >&6 3454 else 3455 echo "$as_me:$LINENO: result: no" >&5 3456 echo "${ECHO_T}no" >&6 3457 fi 4166 3458 4167 3459 test -n "$YACC" && break … … 4170 3462 4171 3463 ac_aux_dir= 4172 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do4173 if test -f "$ac_dir/install-sh"; then3464 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 3465 if test -f $ac_dir/install-sh; then 4174 3466 ac_aux_dir=$ac_dir 4175 3467 ac_install_sh="$ac_aux_dir/install-sh -c" 4176 3468 break 4177 elif test -f "$ac_dir/install.sh"; then3469 elif test -f $ac_dir/install.sh; then 4178 3470 ac_aux_dir=$ac_dir 4179 3471 ac_install_sh="$ac_aux_dir/install.sh -c" 4180 3472 break 4181 elif test -f "$ac_dir/shtool"; then3473 elif test -f $ac_dir/shtool; then 4182 3474 ac_aux_dir=$ac_dir 4183 3475 ac_install_sh="$ac_aux_dir/shtool install -c" … … 4186 3478 done 4187 3479 if test -z "$ac_aux_dir"; then 4188 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 4189 fi 4190 4191 # These three variables are undocumented and unsupported, 4192 # and are intended to be withdrawn in a future Autoconf release. 4193 # They can cause serious problems if a builder's source tree is in a directory 4194 # whose full name contains unusual characters. 4195 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4196 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4197 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4198 3480 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 3481 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 3482 { (exit 1); exit 1; }; } 3483 fi 3484 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3485 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3486 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4199 3487 4200 3488 # Make sure we can run config.sub. 4201 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4202 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4203 4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4205 $as_echo_n "checking build system type... " >&6; } 4206 if test "${ac_cv_build+set}" = set; then : 4207 $as_echo_n "(cached) " >&6 4208 else 4209 ac_build_alias=$build_alias 4210 test "x$ac_build_alias" = x && 4211 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4212 test "x$ac_build_alias" = x && 4213 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4214 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4215 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4216 4217 fi 4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4219 $as_echo "$ac_cv_build" >&6; } 4220 case $ac_cv_build in 4221 *-*-*) ;; 4222 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 4223 esac 3489 $ac_config_sub sun4 >/dev/null 2>&1 || 3490 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 3491 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 3492 { (exit 1); exit 1; }; } 3493 3494 echo "$as_me:$LINENO: checking build system type" >&5 3495 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3496 if test "${ac_cv_build+set}" = set; then 3497 echo $ECHO_N "(cached) $ECHO_C" >&6 3498 else 3499 ac_cv_build_alias=$build_alias 3500 test -z "$ac_cv_build_alias" && 3501 ac_cv_build_alias=`$ac_config_guess` 3502 test -z "$ac_cv_build_alias" && 3503 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3504 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3505 { (exit 1); exit 1; }; } 3506 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 3507 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 3508 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3509 { (exit 1); exit 1; }; } 3510 3511 fi 3512 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3513 echo "${ECHO_T}$ac_cv_build" >&6 4224 3514 build=$ac_cv_build 4225 ac_save_IFS=$IFS; IFS='-' 4226 set x $ac_cv_build 4227 shift 4228 build_cpu=$1 4229 build_vendor=$2 4230 shift; shift 4231 # Remember, the first character of IFS is used to create $*, 4232 # except with old shells: 4233 build_os=$* 4234 IFS=$ac_save_IFS 4235 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4236 4237 4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4239 $as_echo_n "checking host system type... " >&6; } 4240 if test "${ac_cv_host+set}" = set; then : 4241 $as_echo_n "(cached) " >&6 4242 else 4243 if test "x$host_alias" = x; then 4244 ac_cv_host=$ac_cv_build 4245 else 4246 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4247 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4248 fi 4249 4250 fi 4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4252 $as_echo "$ac_cv_host" >&6; } 4253 case $ac_cv_host in 4254 *-*-*) ;; 4255 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 4256 esac 3515 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3516 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3517 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3518 3519 3520 echo "$as_me:$LINENO: checking host system type" >&5 3521 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3522 if test "${ac_cv_host+set}" = set; then 3523 echo $ECHO_N "(cached) $ECHO_C" >&6 3524 else 3525 ac_cv_host_alias=$host_alias 3526 test -z "$ac_cv_host_alias" && 3527 ac_cv_host_alias=$ac_cv_build_alias 3528 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 3529 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 3530 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 3531 { (exit 1); exit 1; }; } 3532 3533 fi 3534 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3535 echo "${ECHO_T}$ac_cv_host" >&6 4257 3536 host=$ac_cv_host 4258 ac_save_IFS=$IFS; IFS='-' 4259 set x $ac_cv_host 4260 shift 4261 host_cpu=$1 4262 host_vendor=$2 4263 shift; shift 4264 # Remember, the first character of IFS is used to create $*, 4265 # except with old shells: 4266 host_os=$* 4267 IFS=$ac_save_IFS 4268 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4269 4270 4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 4272 $as_echo_n "checking target system type... " >&6; } 4273 if test "${ac_cv_target+set}" = set; then : 4274 $as_echo_n "(cached) " >&6 4275 else 4276 if test "x$target_alias" = x; then 4277 ac_cv_target=$ac_cv_host 4278 else 4279 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4280 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 4281 fi 4282 4283 fi 4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 4285 $as_echo "$ac_cv_target" >&6; } 4286 case $ac_cv_target in 4287 *-*-*) ;; 4288 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 4289 esac 3537 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3538 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3539 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3540 3541 3542 echo "$as_me:$LINENO: checking target system type" >&5 3543 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3544 if test "${ac_cv_target+set}" = set; then 3545 echo $ECHO_N "(cached) $ECHO_C" >&6 3546 else 3547 ac_cv_target_alias=$target_alias 3548 test "x$ac_cv_target_alias" = "x" && 3549 ac_cv_target_alias=$ac_cv_host_alias 3550 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 3551 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 3552 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 3553 { (exit 1); exit 1; }; } 3554 3555 fi 3556 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3557 echo "${ECHO_T}$ac_cv_target" >&6 4290 3558 target=$ac_cv_target 4291 ac_save_IFS=$IFS; IFS='-' 4292 set x $ac_cv_target 4293 shift 4294 target_cpu=$1 4295 target_vendor=$2 4296 shift; shift 4297 # Remember, the first character of IFS is used to create $*, 4298 # except with old shells: 4299 target_os=$* 4300 IFS=$ac_save_IFS 4301 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3559 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3560 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3561 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4302 3562 4303 3563 … … 4308 3568 NONENONEs,x,x, && 4309 3569 program_prefix=${target_alias}- 4310 4311 3570 # Find a good install program. We prefer a C program (faster), 4312 3571 # so one script is as good as another. But avoid the broken or … … 4322 3581 # OS/2's system install, which has a completely different semantic 4323 3582 # ./install, which can be erroneously created by make from ./install.sh. 4324 # Reject install programs that cannot install multiple files. 4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4326 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4327 3585 if test -z "$INSTALL"; then 4328 if test "${ac_cv_path_install+set}" = set; then :4329 $as_echo_n "(cached)" >&63586 if test "${ac_cv_path_install+set}" = set; then 3587 echo $ECHO_N "(cached) $ECHO_C" >&6 4330 3588 else 4331 3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 4334 3592 IFS=$as_save_IFS 4335 3593 test -z "$as_dir" && as_dir=. 4336 4337 case $as_dir/ in #((4338 ./ | .// | / [cC]/* | \3594 # Account for people who put trailing slashes in PATH elements. 3595 case $as_dir/ in 3596 ./ | .// | /cC/* | \ 4339 3597 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4340 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \3598 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4341 3599 /usr/ucb/* ) ;; 4342 3600 *) … … 4346 3604 for ac_prog in ginstall scoinst install; do 4347 3605 for ac_exec_ext in '' $ac_executable_extensions; do 4348 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then3606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 4349 3607 if test $ac_prog = install && 4350 3608 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 4356 3614 : 4357 3615 else 4358 rm -rf conftest.one conftest.two conftest.dir 4359 echo one > conftest.one 4360 echo two > conftest.two 4361 mkdir conftest.dir 4362 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4363 test -s conftest.one && test -s conftest.two && 4364 test -s conftest.dir/conftest.one && 4365 test -s conftest.dir/conftest.two 4366 then 4367 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4368 break 3 4369 fi 3616 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3617 break 3 4370 3618 fi 4371 3619 fi … … 4374 3622 ;; 4375 3623 esac 4376 4377 done 4378 IFS=$as_save_IFS 4379 4380 rm -rf conftest.one conftest.two conftest.dir 3624 done 3625 4381 3626 4382 3627 fi … … 4384 3629 INSTALL=$ac_cv_path_install 4385 3630 else 4386 # As a last resort, use the slow shell script. Don't cache a4387 # valuefor INSTALL within a source directory, because that will3631 # As a last resort, use the slow shell script. We don't cache a 3632 # path for INSTALL within a source directory, because that will 4388 3633 # break other packages using the cache if that directory is 4389 # removed, or if the value is a relative name.3634 # removed, or if the path is relative. 4390 3635 INSTALL=$ac_install_sh 4391 3636 fi 4392 3637 fi 4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&54394 $as_echo "$INSTALL" >&6; } 3638 echo "$as_me:$LINENO: result: $INSTALL" >&5 3639 echo "${ECHO_T}$INSTALL" >&6 4395 3640 4396 3641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 4402 3647 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4403 3648 4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&54405 $as_echo_n "checking whether ln -s works... " >&6; } 3649 echo "$as_me:$LINENO: checking whether ln -s works" >&5 3650 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4406 3651 LN_S=$as_ln_s 4407 3652 if test "$LN_S" = "ln -s"; then 4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4409 $as_echo "yes" >&6; } 4410 else 4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4412 $as_echo "no, using $LN_S" >&6; } 4413 fi 4414 4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4416 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4417 set x ${MAKE-make} 4418 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4419 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 4420 $as_echo_n "(cached) " >&6 3653 echo "$as_me:$LINENO: result: yes" >&5 3654 echo "${ECHO_T}yes" >&6 3655 else 3656 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3657 echo "${ECHO_T}no, using $LN_S" >&6 3658 fi 3659 3660 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3661 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3662 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3663 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3664 echo $ECHO_N "(cached) $ECHO_C" >&6 4421 3665 else 4422 3666 cat >conftest.make <<\_ACEOF 4423 SHELL = /bin/sh4424 3667 all: 4425 @echo ' @@@%%%=$(MAKE)=@@@%%%'4426 _ACEOF 4427 # GNU make sometimes prints "make[1]: Entering 4428 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4429 *@@@%%%=?*=@@@%%%*) 4430 eval ac_cv_prog_make_${ac_make}_set=yes;;4431 *) 4432 eval ac_cv_prog_make_${ac_make}_set=no;;4433 esac 3668 @echo 'ac_maketemp="$(MAKE)"' 3669 _ACEOF 3670 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3671 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3672 if test -n "$ac_maketemp"; then 3673 eval ac_cv_prog_make_${ac_make}_set=yes 3674 else 3675 eval ac_cv_prog_make_${ac_make}_set=no 3676 fi 4434 3677 rm -f conftest.make 4435 3678 fi 4436 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&54438 $as_echo "yes" >&6; } 3679 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3680 echo "$as_me:$LINENO: result: yes" >&5 3681 echo "${ECHO_T}yes" >&6 4439 3682 SET_MAKE= 4440 3683 else 4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54442 $as_echo "no" >&6; } 3684 echo "$as_me:$LINENO: result: no" >&5 3685 echo "${ECHO_T}no" >&6 4443 3686 SET_MAKE="MAKE=${MAKE-make}" 4444 3687 fi … … 4447 3690 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4448 3691 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54450 $as_echo_n "checking for $ac_word... " >&6; } 4451 if test "${ac_cv_prog_RANLIB+set}" = set; then :4452 $as_echo_n "(cached)" >&63692 echo "$as_me:$LINENO: checking for $ac_word" >&5 3693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3694 if test "${ac_cv_prog_RANLIB+set}" = set; then 3695 echo $ECHO_N "(cached) $ECHO_C" >&6 4453 3696 else 4454 3697 if test -n "$RANLIB"; then … … 4460 3703 IFS=$as_save_IFS 4461 3704 test -z "$as_dir" && as_dir=. 4462 4463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3705 for ac_exec_ext in '' $ac_executable_extensions; do 3706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4464 3707 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4466 3709 break 2 4467 3710 fi 4468 3711 done 4469 done 4470 IFS=$as_save_IFS 3712 done 4471 3713 4472 3714 fi … … 4474 3716 RANLIB=$ac_cv_prog_RANLIB 4475 3717 if test -n "$RANLIB"; then 4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4477 $as_echo "$RANLIB" >&6; } 4478 else 4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4480 $as_echo "no" >&6; } 4481 fi 4482 3718 echo "$as_me:$LINENO: result: $RANLIB" >&5 3719 echo "${ECHO_T}$RANLIB" >&6 3720 else 3721 echo "$as_me:$LINENO: result: no" >&5 3722 echo "${ECHO_T}no" >&6 3723 fi 4483 3724 4484 3725 fi … … 4487 3728 # Extract the first word of "ranlib", so it can be a program name with args. 4488 3729 set dummy ranlib; ac_word=$2 4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54490 $as_echo_n "checking for $ac_word... " >&6; } 4491 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :4492 $as_echo_n "(cached)" >&63730 echo "$as_me:$LINENO: checking for $ac_word" >&5 3731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3732 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3733 echo $ECHO_N "(cached) $ECHO_C" >&6 4493 3734 else 4494 3735 if test -n "$ac_ct_RANLIB"; then … … 4500 3741 IFS=$as_save_IFS 4501 3742 test -z "$as_dir" && as_dir=. 4502 4503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3743 for ac_exec_ext in '' $ac_executable_extensions; do 3744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4504 3745 ac_cv_prog_ac_ct_RANLIB="ranlib" 4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4506 3747 break 2 4507 3748 fi 4508 3749 done 4509 4510 IFS=$as_save_IFS 4511 3750 done 3751 3752 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4512 3753 fi 4513 3754 fi 4514 3755 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4515 3756 if test -n "$ac_ct_RANLIB"; then 4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4517 $as_echo "$ac_ct_RANLIB" >&6; } 4518 else 4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4520 $as_echo "no" >&6; } 4521 fi 4522 4523 if test "x$ac_ct_RANLIB" = x; then 4524 RANLIB=":" 4525 else 4526 case $cross_compiling:$ac_tool_warned in 4527 yes:) 4528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4530 ac_tool_warned=yes ;; 4531 esac 4532 RANLIB=$ac_ct_RANLIB 4533 fi 3757 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3758 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3759 else 3760 echo "$as_me:$LINENO: result: no" >&5 3761 echo "${ECHO_T}no" >&6 3762 fi 3763 3764 RANLIB=$ac_ct_RANLIB 4534 3765 else 4535 3766 RANLIB="$ac_cv_prog_RANLIB" … … 4537 3768 4538 3769 4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&54540 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3770 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3771 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4541 3772 arch_64bit=no 4542 3773 case "$host_cpu" in … … 4545 3776 4546 3777 if test "$arch_64bit" = yes; then 4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&54548 $as_echo "yes" >&6; } 3778 echo "$as_me:$LINENO: result: yes" >&5 3779 echo "${ECHO_T}yes" >&6 4549 3780 if test -z "$COMPAT32BITFLAGS" ; then 4550 3781 COMPAT32BITFLAGS="-m32" 4551 3782 fi 4552 3783 else 4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54554 $as_echo "no" >&6; } 3784 echo "$as_me:$LINENO: result: no" >&5 3785 echo "${ECHO_T}no" >&6 4555 3786 if test -z "$COMPAT32BITFLAGS" ; then 4556 3787 COMPAT32BITFLAGS= … … 4594 3825 #do test of MICO_VER 4595 3826 if test MICO_VER != 0; then 4596 $as_echo "#define MICO_VER 1" >>confdefs.h 3827 cat >>confdefs.h <<\_ACEOF 3828 #define MICO_VER 1 3829 _ACEOF 4597 3830 4598 3831 … … 4607 3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4608 3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&54610 $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 4611 3844 # On Suns, sometimes $CPP names a directory. 4612 3845 if test -n "$CPP" && test -d "$CPP"; then … … 4614 3847 fi 4615 3848 if test -z "$CPP"; then 4616 if test "${ac_cv_prog_CPP+set}" = set; then :4617 $as_echo_n "(cached)" >&63849 if test "${ac_cv_prog_CPP+set}" = set; then 3850 echo $ECHO_N "(cached) $ECHO_C" >&6 4618 3851 else 4619 3852 # Double quotes because CPP needs to be expanded … … 4629 3862 # On the NeXT, cc -E runs the code through the compiler's parser, 4630 3863 # not just through cpp. "Syntax error" is here to catch this case. 4631 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 4632 3869 /* end confdefs.h. */ 4633 3870 #ifdef __STDC__ … … 4638 3875 Syntax error 4639 3876 _ACEOF 4640 if ac_fn_c_try_cpp "$LINENO"; then : 4641 4642 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 4643 3900 # Broken: fails on valid input. 4644 3901 continue 4645 3902 fi 4646 rm -f conftest.err conftest. i conftest.$ac_ext4647 4648 # 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 4649 3906 # can be detected and how. 4650 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 4651 3912 /* end confdefs.h. */ 4652 3913 #include <ac_nonexistent.h> 4653 3914 _ACEOF 4654 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 4655 3933 # Broken: success on invalid input. 4656 3934 continue 4657 3935 else 3936 echo "$as_me: failed program was:" >&5 3937 sed 's/^/| /' conftest.$ac_ext >&5 3938 4658 3939 # Passes both tests. 4659 3940 ac_preproc_ok=: 4660 3941 break 4661 3942 fi 4662 rm -f conftest.err conftest. i conftest.$ac_ext3943 rm -f conftest.err conftest.$ac_ext 4663 3944 4664 3945 done 4665 3946 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4666 rm -f conftest. i conftest.err conftest.$ac_ext4667 if $ac_preproc_ok; then :3947 rm -f conftest.err conftest.$ac_ext 3948 if $ac_preproc_ok; then 4668 3949 break 4669 3950 fi … … 4677 3958 ac_cv_prog_CPP=$CPP 4678 3959 fi 4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54680 $as_echo "$CPP" >&6; } 3960 echo "$as_me:$LINENO: result: $CPP" >&5 3961 echo "${ECHO_T}$CPP" >&6 4681 3962 ac_preproc_ok=false 4682 3963 for ac_c_preproc_warn_flag in '' yes … … 4688 3969 # On the NeXT, cc -E runs the code through the compiler's parser, 4689 3970 # not just through cpp. "Syntax error" is here to catch this case. 4690 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 4691 3976 /* end confdefs.h. */ 4692 3977 #ifdef __STDC__ … … 4697 3982 Syntax error 4698 3983 _ACEOF 4699 if ac_fn_c_try_cpp "$LINENO"; then : 4700 4701 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 4702 4007 # Broken: fails on valid input. 4703 4008 continue 4704 4009 fi 4705 rm -f conftest.err conftest. i conftest.$ac_ext4706 4707 # 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 4708 4013 # can be detected and how. 4709 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 4710 4019 /* end confdefs.h. */ 4711 4020 #include <ac_nonexistent.h> 4712 4021 _ACEOF 4713 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 4714 4040 # Broken: success on invalid input. 4715 4041 continue 4716 4042 else 4043 echo "$as_me: failed program was:" >&5 4044 sed 's/^/| /' conftest.$ac_ext >&5 4045 4717 4046 # Passes both tests. 4718 4047 ac_preproc_ok=: 4719 4048 break 4720 4049 fi 4721 rm -f conftest.err conftest. i conftest.$ac_ext4050 rm -f conftest.err conftest.$ac_ext 4722 4051 4723 4052 done 4724 4053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4725 rm -f conftest.i conftest.err conftest.$ac_ext 4726 if $ac_preproc_ok; then : 4727 4728 else 4729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4731 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4732 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; }; } 4733 4063 fi 4734 4064 … … 4740 4070 4741 4071 4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4743 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4744 if test "${ac_cv_path_GREP+set}" = set; then : 4745 $as_echo_n "(cached) " >&6 4746 else 4747 if test -z "$GREP"; then 4748 ac_path_GREP_found=false 4749 # Loop through the user's path and test for each of PROGNAME-LIST 4750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4751 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4752 do 4753 IFS=$as_save_IFS 4754 test -z "$as_dir" && as_dir=. 4755 for ac_prog in grep ggrep; do 4756 for ac_exec_ext in '' $ac_executable_extensions; do 4757 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4758 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4759 # Check for GNU ac_path_GREP and select it if it is found. 4760 # Check for GNU $ac_path_GREP 4761 case `"$ac_path_GREP" --version 2>&1` in 4762 *GNU*) 4763 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4764 *) 4765 ac_count=0 4766 $as_echo_n 0123456789 >"conftest.in" 4767 while : 4768 do 4769 cat "conftest.in" "conftest.in" >"conftest.tmp" 4770 mv "conftest.tmp" "conftest.in" 4771 cp "conftest.in" "conftest.nl" 4772 $as_echo 'GREP' >> "conftest.nl" 4773 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4774 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4775 as_fn_arith $ac_count + 1 && ac_count=$as_val 4776 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4777 # Best one so far, save it but keep looking for a better one 4778 ac_cv_path_GREP="$ac_path_GREP" 4779 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' 4780 4080 fi 4781 # 10*(2^10) chars as input seems more than enough 4782 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 4783 4231 done 4784 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4785 esac 4786 4787 $ac_path_GREP_found && break 3 4788 done 4789 done 4790 done 4791 IFS=$as_save_IFS 4792 if test -z "$ac_cv_path_GREP"; then 4793 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4794 fi 4795 else 4796 ac_cv_path_GREP=$GREP 4797 fi 4798 4799 fi 4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4801 $as_echo "$ac_cv_path_GREP" >&6; } 4802 GREP="$ac_cv_path_GREP" 4803 4804 4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4806 $as_echo_n "checking for egrep... " >&6; } 4807 if test "${ac_cv_path_EGREP+set}" = set; then : 4808 $as_echo_n "(cached) " >&6 4809 else 4810 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4811 then ac_cv_path_EGREP="$GREP -E" 4812 else 4813 if test -z "$EGREP"; then 4814 ac_path_EGREP_found=false 4815 # Loop through the user's path and test for each of PROGNAME-LIST 4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4817 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4818 do 4819 IFS=$as_save_IFS 4820 test -z "$as_dir" && as_dir=. 4821 for ac_prog in egrep; do 4822 for ac_exec_ext in '' $ac_executable_extensions; do 4823 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4824 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4825 # Check for GNU ac_path_EGREP and select it if it is found. 4826 # Check for GNU $ac_path_EGREP 4827 case `"$ac_path_EGREP" --version 2>&1` in 4828 *GNU*) 4829 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4830 *) 4831 ac_count=0 4832 $as_echo_n 0123456789 >"conftest.in" 4833 while : 4834 do 4835 cat "conftest.in" "conftest.in" >"conftest.tmp" 4836 mv "conftest.tmp" "conftest.in" 4837 cp "conftest.in" "conftest.nl" 4838 $as_echo 'EGREP' >> "conftest.nl" 4839 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4840 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4841 as_fn_arith $ac_count + 1 && ac_count=$as_val 4842 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4843 # Best one so far, save it but keep looking for a better one 4844 ac_cv_path_EGREP="$ac_path_EGREP" 4845 ac_path_EGREP_max=$ac_count 4846 fi 4847 # 10*(2^10) chars as input seems more than enough 4848 test $ac_count -gt 10 && break 4849 done 4850 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4851 esac 4852 4853 $ac_path_EGREP_found && break 3 4854 done 4855 done 4856 done 4857 IFS=$as_save_IFS 4858 if test -z "$ac_cv_path_EGREP"; then 4859 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4860 fi 4861 else 4862 ac_cv_path_EGREP=$EGREP 4863 fi 4864 4865 fi 4866 fi 4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4868 $as_echo "$ac_cv_path_EGREP" >&6; } 4869 EGREP="$ac_cv_path_EGREP" 4870 4871 4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4873 $as_echo_n "checking for ANSI C header files... " >&6; } 4874 if test "${ac_cv_header_stdc+set}" = set; then : 4875 $as_echo_n "(cached) " >&6 4876 else 4877 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 4878 4252 /* end confdefs.h. */ 4879 4253 #include <stdlib.h> … … 4890 4264 } 4891 4265 _ACEOF 4892 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 4893 4288 ac_cv_header_stdc=yes 4894 4289 else 4895 ac_cv_header_stdc=no 4896 fi 4897 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 4898 4296 4899 4297 if test $ac_cv_header_stdc = yes; then 4900 4298 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4901 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 4902 4304 /* end confdefs.h. */ 4903 4305 #include <string.h> … … 4905 4307 _ACEOF 4906 4308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4907 $EGREP "memchr" >/dev/null 2>&1; then :4908 4309 $EGREP "memchr" >/dev/null 2>&1; then 4310 : 4909 4311 else 4910 4312 ac_cv_header_stdc=no … … 4916 4318 if test $ac_cv_header_stdc = yes; then 4917 4319 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4918 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 4919 4325 /* end confdefs.h. */ 4920 4326 #include <stdlib.h> … … 4922 4328 _ACEOF 4923 4329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4924 $EGREP "free" >/dev/null 2>&1; then :4925 4330 $EGREP "free" >/dev/null 2>&1; then 4331 : 4926 4332 else 4927 4333 ac_cv_header_stdc=no … … 4933 4339 if test $ac_cv_header_stdc = yes; then 4934 4340 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4935 if test "$cross_compiling" = yes; then :4341 if test "$cross_compiling" = yes; then 4936 4342 : 4937 4343 else 4938 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 4939 4349 /* end confdefs.h. */ 4940 4350 #include <ctype.h> 4941 #include <stdlib.h>4942 4351 #if ((' ' & 0x0FF) == 0x020) 4943 4352 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4959 4368 if (XOR (islower (i), ISLOWER (i)) 4960 4369 || toupper (i) != TOUPPER (i)) 4961 return 2;4962 return 0;4370 exit(2); 4371 exit (0); 4963 4372 } 4964 4373 _ACEOF 4965 if ac_fn_c_try_run "$LINENO"; then : 4966 4967 else 4968 ac_cv_header_stdc=no 4969 fi 4970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4971 conftest.$ac_objext conftest.beam conftest.$ac_ext 4972 fi 4973 4974 fi 4975 fi 4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4977 $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 4978 4400 if test $ac_cv_header_stdc = yes; then 4979 4401 4980 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4402 cat >>confdefs.h <<\_ACEOF 4403 #define STDC_HEADERS 1 4404 _ACEOF 4981 4405 4982 4406 fi 4983 4407 4984 4408 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4409 4410 4411 4412 4413 4414 4415 4416 4417 4985 4418 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4986 4419 inttypes.h stdint.h unistd.h 4987 do : 4988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4989 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4990 " 4991 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 4992 4471 cat >>confdefs.h <<_ACEOF 4993 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4994 4473 _ACEOF 4995 4474 … … 4999 4478 5000 4479 5001 5002 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5003 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 5004 4618 MINIX=yes 5005 4619 else … … 5008 4622 5009 4623 5010 if test "$MINIX" = yes; then 5011 5012 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5013 5014 5015 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5016 5017 5018 $as_echo "#define _MINIX 1" >>confdefs.h 5019 5020 fi 5021 5022 5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5024 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5025 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 5026 $as_echo_n "(cached) " >&6 5027 else 5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5029 /* end confdefs.h. */ 5030 5031 # define __EXTENSIONS__ 1 5032 $ac_includes_default 5033 int 5034 main () 5035 { 5036 5037 ; 5038 return 0; 5039 } 5040 _ACEOF 5041 if ac_fn_c_try_compile "$LINENO"; then : 5042 ac_cv_safe_to_define___extensions__=yes 5043 else 5044 ac_cv_safe_to_define___extensions__=no 5045 fi 5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5047 fi 5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5049 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5050 test $ac_cv_safe_to_define___extensions__ = yes && 5051 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5052 5053 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5054 5055 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5056 5057 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5058 5059 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5060 5061 5062 5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 5064 $as_echo_n "checking for library containing strerror... " >&6; } 5065 if test "${ac_cv_search_strerror+set}" = set; then : 5066 $as_echo_n "(cached) " >&6 5067 else 5068 ac_func_search_save_LIBS=$LIBS 5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5070 /* end confdefs.h. */ 5071 5072 /* Override any GCC internal prototype to avoid an error. 5073 Use char because int might match the return type of a GCC 5074 builtin and then its argument prototype would still apply. */ 5075 #ifdef __cplusplus 5076 extern "C" 5077 #endif 5078 char strerror (); 5079 int 5080 main () 5081 { 5082 return strerror (); 5083 ; 5084 return 0; 5085 } 5086 _ACEOF 5087 for ac_lib in '' cposix; do 5088 if test -z "$ac_lib"; then 5089 ac_res="none required" 5090 else 5091 ac_res=-l$ac_lib 5092 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5093 fi 5094 if ac_fn_c_try_link "$LINENO"; then : 5095 ac_cv_search_strerror=$ac_res 5096 fi 5097 rm -f core conftest.err conftest.$ac_objext \ 5098 conftest$ac_exeext 5099 if test "${ac_cv_search_strerror+set}" = set; then : 5100 break 5101 fi 5102 done 5103 if test "${ac_cv_search_strerror+set}" = set; then : 5104 5105 else 5106 ac_cv_search_strerror=no 5107 fi 5108 rm conftest.$ac_ext 5109 LIBS=$ac_func_search_save_LIBS 5110 fi 5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 5112 $as_echo "$ac_cv_search_strerror" >&6; } 5113 ac_res=$ac_cv_search_strerror 5114 if test "$ac_res" != no; then : 5115 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5116 5117 fi 5118 5119 5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5121 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 5122 if test "${ac_cv_prog_cc_stdc+set}" = set; then : 5123 $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 5124 4646 else 5125 4647 ac_cv_prog_cc_stdc=no … … 5134 4656 do 5135 4657 CFLAGS="$ac_save_CFLAGS $ac_arg" 5136 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 5137 4663 /* end confdefs.h. */ 5138 4664 #if !defined(__STDC__) || __STDC__ != 1 … … 5150 4676 } 5151 4677 _ACEOF 5152 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 5153 4700 ac_cv_prog_cc_stdc="$ac_arg"; break 5154 fi 5155 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 5156 4707 done 5157 4708 CFLAGS="$ac_save_CFLAGS" … … 5159 4710 fi 5160 4711 5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&55162 $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 5163 4714 case "x$ac_cv_prog_cc_stdc" in 5164 4715 x|xno) ;; … … 5167 4718 5168 4719 5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&55170 $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 5171 4722 if test "$ac_cv_prog_cc_stdc" != no; then 5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5173 $as_echo "yes" >&6; } 5174 $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 5175 4728 5176 4729 U= ANSI2KNR= 5177 4730 else 5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55179 $as_echo "no" >&6; } 4731 echo "$as_me:$LINENO: result: no" >&5 4732 echo "${ECHO_T}no" >&6 5180 4733 U=_ ANSI2KNR=ansi2knr 5181 4734 fi 5182 4735 5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5184 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5185 if test "${ac_cv_c_const+set}" = set; then : 5186 $as_echo_n "(cached) " >&6 5187 else 5188 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 5189 4746 /* end confdefs.h. */ 5190 4747 … … 5196 4753 /* Ultrix mips cc rejects this. */ 5197 4754 typedef int charset[2]; 5198 const charset cs;4755 const charset x; 5199 4756 /* SunOS 4.1.1 cc rejects this. */ 5200 char const *const * pcpcc;5201 char **p pc;4757 char const *const *ccp; 4758 char **p; 5202 4759 /* NEC SVR4.0.2 mips cc rejects this. */ 5203 4760 struct point {int x, y;}; … … 5208 4765 expression */ 5209 4766 const char *g = "string"; 5210 pcpcc= &g + (g ? g-g : 0);4767 ccp = &g + (g ? g-g : 0); 5211 4768 /* HPUX 7.0 cc rejects these. */ 5212 ++ pcpcc;5213 p pc = (char**) pcpcc;5214 pcpcc = (char const *const *) ppc;4769 ++ccp; 4770 p = (char**) ccp; 4771 ccp = (char const *const *) p; 5215 4772 { /* SCO 3.2v4 cc rejects this. */ 5216 4773 char *t; … … 5218 4775 5219 4776 *t++ = 0; 5220 if (s) return 0;5221 4777 } 5222 4778 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 5237 4793 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 5238 4794 const int foo = 10; 5239 if (!foo) return 0;5240 4795 } 5241 return !cs[0] && !zero.x;5242 4796 #endif 5243 4797 … … 5246 4800 } 5247 4801 _ACEOF 5248 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 5249 4824 ac_cv_c_const=yes 5250 4825 else 5251 ac_cv_c_const=no 5252 fi 5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5254 fi 5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5256 $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 5257 4835 if test $ac_cv_c_const = no; then 5258 4836 5259 $as_echo "#define const /**/" >>confdefs.h 5260 5261 fi 5262 5263 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 5264 if test "x$ac_cv_type_off_t" = x""yes; then : 5265 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 : 5266 4901 else 5267 4902 5268 4903 cat >>confdefs.h <<_ACEOF 5269 #define off_t long int 5270 _ACEOF 5271 5272 fi 5273 5274 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5275 if test "x$ac_cv_type_size_t" = x""yes; then : 5276 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 : 5277 4967 else 5278 4968 5279 4969 cat >>confdefs.h <<_ACEOF 5280 #define size_t unsigned int 5281 _ACEOF 5282 5283 fi 5284 5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 5286 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 5287 if test "${ac_cv_header_time+set}" = set; then : 5288 $as_echo_n "(cached) " >&6 5289 else 5290 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 5291 4985 /* end confdefs.h. */ 5292 4986 #include <sys/types.h> … … 5303 4997 } 5304 4998 _ACEOF 5305 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 5306 5021 ac_cv_header_time=yes 5307 5022 else 5308 ac_cv_header_time=no 5309 fi 5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5311 fi 5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 5313 $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 5314 5032 if test $ac_cv_header_time = yes; then 5315 5033 5316 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 5317 5318 fi 5319 5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 5321 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5322 if test "${ac_cv_struct_tm+set}" = set; then : 5323 $as_echo_n "(cached) " >&6 5324 else 5325 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 5326 5050 /* end confdefs.h. */ 5327 5051 #include <sys/types.h> … … 5331 5055 main () 5332 5056 { 5333 struct tm tm; 5334 int *p = &tm.tm_sec; 5335 return !p; 5057 struct tm *tp; tp->tm_sec; 5336 5058 ; 5337 5059 return 0; 5338 5060 } 5339 5061 _ACEOF 5340 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 5341 5084 ac_cv_struct_tm=time.h 5342 5085 else 5343 ac_cv_struct_tm=sys/time.h 5344 fi 5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5346 fi 5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 5348 $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 5349 5095 if test $ac_cv_struct_tm = sys/time.h; then 5350 5096 5351 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 5097 cat >>confdefs.h <<\_ACEOF 5098 #define TM_IN_SYS_TIME 1 5099 _ACEOF 5352 5100 5353 5101 fi … … 5355 5103 5356 5104 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 5357 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 5358 5110 /* end confdefs.h. */ 5359 5111 #include <stdio.h> … … 5367 5119 } 5368 5120 _ACEOF 5369 if ac_fn_c_try_compile "$LINENO"; then : 5370 5371 else 5372 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5373 fi 5374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5375 fi 5376 5377 5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5 5379 $as_echo_n "checking for main in -lg... " >&6; } 5380 if test "${ac_cv_lib_g_main+set}" = set; then : 5381 $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 5382 5159 else 5383 5160 ac_check_lib_save_LIBS=$LIBS 5384 5161 LIBS="-lg $LIBS" 5385 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 5386 5167 /* end confdefs.h. */ 5387 5168 … … 5390 5171 main () 5391 5172 { 5392 returnmain ();5173 main (); 5393 5174 ; 5394 5175 return 0; 5395 5176 } 5396 5177 _ACEOF 5397 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 5398 5200 ac_cv_lib_g_main=yes 5399 5201 else 5400 ac_cv_lib_g_main=no 5401 fi 5402 rm -f core conftest.err conftest.$ac_objext \ 5403 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 5404 5209 LIBS=$ac_check_lib_save_LIBS 5405 5210 fi 5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&55407 $as_echo "$ac_cv_lib_g_main" >&6; } 5408 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 5409 5214 cat >>confdefs.h <<_ACEOF 5410 5215 #define HAVE_LIBG 1 … … 5416 5221 ac_cv_lib_g=ac_cv_lib_g_main 5417 5222 5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 5419 $as_echo_n "checking for main in -lm... " >&6; } 5420 if test "${ac_cv_lib_m_main+set}" = set; then : 5421 $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 5422 5228 else 5423 5229 ac_check_lib_save_LIBS=$LIBS 5424 5230 LIBS="-lm $LIBS" 5425 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 5426 5236 /* end confdefs.h. */ 5427 5237 … … 5430 5240 main () 5431 5241 { 5432 returnmain ();5242 main (); 5433 5243 ; 5434 5244 return 0; 5435 5245 } 5436 5246 _ACEOF 5437 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 5438 5269 ac_cv_lib_m_main=yes 5439 5270 else 5440 ac_cv_lib_m_main=no 5441 fi 5442 rm -f core conftest.err conftest.$ac_objext \ 5443 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 5444 5278 LIBS=$ac_check_lib_save_LIBS 5445 5279 fi 5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&55447 $as_echo "$ac_cv_lib_m_main" >&6; } 5448 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 5449 5283 cat >>confdefs.h <<_ACEOF 5450 5284 #define HAVE_LIBM 1 … … 5456 5290 ac_cv_lib_m=ac_cv_lib_m_main 5457 5291 5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 5459 $as_echo_n "checking for main in -lcrypt... " >&6; } 5460 if test "${ac_cv_lib_crypt_main+set}" = set; then : 5461 $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 5462 5297 else 5463 5298 ac_check_lib_save_LIBS=$LIBS 5464 5299 LIBS="-lcrypt $LIBS" 5465 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 5466 5305 /* end confdefs.h. */ 5467 5306 … … 5470 5309 main () 5471 5310 { 5472 returnmain ();5311 main (); 5473 5312 ; 5474 5313 return 0; 5475 5314 } 5476 5315 _ACEOF 5477 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 5478 5338 ac_cv_lib_crypt_main=yes 5479 5339 else 5480 ac_cv_lib_crypt_main=no 5481 fi 5482 rm -f core conftest.err conftest.$ac_objext \ 5483 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 5484 5347 LIBS=$ac_check_lib_save_LIBS 5485 5348 fi 5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&55487 $as_echo "$ac_cv_lib_crypt_main" >&6; } 5488 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 5489 5352 cat >>confdefs.h <<_ACEOF 5490 5353 #define HAVE_LIBCRYPT 1 … … 5500 5363 #fi 5501 5364 5365 5366 5367 5368 5369 5502 5370 ac_header_dirent=no 5503 5371 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5504 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 5506 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 5507 if eval "test \"\${$as_ac_Header+set}\"" = set; then : 5508 $as_echo_n "(cached) " >&6 5509 else 5510 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 5511 5383 /* end confdefs.h. */ 5512 5384 #include <sys/types.h> … … 5522 5394 } 5523 5395 _ACEOF 5524 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 5525 5418 eval "$as_ac_Header=yes" 5526 5419 else 5527 eval "$as_ac_Header=no" 5528 fi 5529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5530 fi 5531 eval ac_res=\$$as_ac_Header 5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5533 $as_echo "$ac_res" >&6; } 5534 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 5535 5430 cat >>confdefs.h <<_ACEOF 5536 #define ` $as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 15431 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 5537 5432 _ACEOF 5538 5433 … … 5543 5438 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5544 5439 if test $ac_header_dirent = dirent.h; then 5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&55546 $as_echo_n "checking for library containing opendir... " >&6; } 5547 if test "${ac_cv_search_opendir+set}" = set; then :5548 $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 5549 5444 else 5550 5445 ac_func_search_save_LIBS=$LIBS 5551 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 5552 5452 /* end confdefs.h. */ 5553 5453 5554 /* Override any GCC internal prototype to avoid an error. 5555 Use char because int might match the return type of a GCC 5556 builtin and then its argument prototype would still apply. */ 5454 /* Override any gcc2 internal prototype to avoid an error. */ 5557 5455 #ifdef __cplusplus 5558 5456 extern "C" 5559 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. */ 5560 5460 char opendir (); 5561 5461 int 5562 5462 main () 5563 5463 { 5564 returnopendir ();5464 opendir (); 5565 5465 ; 5566 5466 return 0; 5567 5467 } 5568 5468 _ACEOF 5569 for ac_lib in '' dir; do 5570 if test -z "$ac_lib"; then 5571 ac_res="none required" 5572 else 5573 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 5574 5501 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5575 fi 5576 if ac_fn_c_try_link "$LINENO"; then : 5577 ac_cv_search_opendir=$ac_res 5578 fi 5579 rm -f core conftest.err conftest.$ac_objext \ 5580 conftest$ac_exeext 5581 if test "${ac_cv_search_opendir+set}" = set; then : 5582 break 5583 fi 5584 done 5585 if test "${ac_cv_search_opendir+set}" = set; then : 5586 5587 else 5588 ac_cv_search_opendir=no 5589 fi 5590 rm conftest.$ac_ext 5591 LIBS=$ac_func_search_save_LIBS 5592 fi 5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5594 $as_echo "$ac_cv_search_opendir" >&6; } 5595 ac_res=$ac_cv_search_opendir 5596 if test "$ac_res" != no; then : 5597 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5598 5599 fi 5600 5601 else 5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 5603 $as_echo_n "checking for library containing opendir... " >&6; } 5604 if test "${ac_cv_search_opendir+set}" = set; then : 5605 $as_echo_n "(cached) " >&6 5606 else 5607 ac_func_search_save_LIBS=$LIBS 5608 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 5609 5507 /* end confdefs.h. */ 5610 5508 5611 /* Override any GCC internal prototype to avoid an error. 5612 Use char because int might match the return type of a GCC 5613 builtin and then its argument prototype would still apply. */ 5509 /* Override any gcc2 internal prototype to avoid an error. */ 5614 5510 #ifdef __cplusplus 5615 5511 extern "C" 5616 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. */ 5617 5515 char opendir (); 5618 5516 int 5619 5517 main () 5620 5518 { 5621 returnopendir ();5519 opendir (); 5622 5520 ; 5623 5521 return 0; 5624 5522 } 5625 5523 _ACEOF 5626 for ac_lib in '' x; do 5627 if test -z "$ac_lib"; then 5628 ac_res="none required" 5629 else 5630 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 5631 5628 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5632 fi 5633 if ac_fn_c_try_link "$LINENO"; then : 5634 ac_cv_search_opendir=$ac_res 5635 fi 5636 rm -f core conftest.err conftest.$ac_objext \ 5637 conftest$ac_exeext 5638 if test "${ac_cv_search_opendir+set}" = set; then : 5639 break 5640 fi 5641 done 5642 if test "${ac_cv_search_opendir+set}" = set; then : 5643 5644 else 5645 ac_cv_search_opendir=no 5646 fi 5647 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 5648 5684 LIBS=$ac_func_search_save_LIBS 5649 5685 fi 5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5651 $as_echo "$ac_cv_search_opendir" >&6; } 5652 ac_res=$ac_cv_search_opendir 5653 if test "$ac_res" != no; then : 5654 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5655 5656 fi 5657 5658 fi 5659 5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5661 $as_echo_n "checking for ANSI C header files... " >&6; } 5662 if test "${ac_cv_header_stdc+set}" = set; then : 5663 $as_echo_n "(cached) " >&6 5664 else 5665 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 5666 5705 /* end confdefs.h. */ 5667 5706 #include <stdlib.h> … … 5678 5717 } 5679 5718 _ACEOF 5680 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 5681 5741 ac_cv_header_stdc=yes 5682 5742 else 5683 ac_cv_header_stdc=no 5684 fi 5685 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 5686 5749 5687 5750 if test $ac_cv_header_stdc = yes; then 5688 5751 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5689 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 5690 5757 /* end confdefs.h. */ 5691 5758 #include <string.h> … … 5693 5760 _ACEOF 5694 5761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5695 $EGREP "memchr" >/dev/null 2>&1; then :5696 5762 $EGREP "memchr" >/dev/null 2>&1; then 5763 : 5697 5764 else 5698 5765 ac_cv_header_stdc=no … … 5704 5771 if test $ac_cv_header_stdc = yes; then 5705 5772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5706 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 5707 5778 /* end confdefs.h. */ 5708 5779 #include <stdlib.h> … … 5710 5781 _ACEOF 5711 5782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5712 $EGREP "free" >/dev/null 2>&1; then :5713 5783 $EGREP "free" >/dev/null 2>&1; then 5784 : 5714 5785 else 5715 5786 ac_cv_header_stdc=no … … 5721 5792 if test $ac_cv_header_stdc = yes; then 5722 5793 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5723 if test "$cross_compiling" = yes; then :5794 if test "$cross_compiling" = yes; then 5724 5795 : 5725 5796 else 5726 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 5727 5802 /* end confdefs.h. */ 5728 5803 #include <ctype.h> 5729 #include <stdlib.h>5730 5804 #if ((' ' & 0x0FF) == 0x020) 5731 5805 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5747 5821 if (XOR (islower (i), ISLOWER (i)) 5748 5822 || toupper (i) != TOUPPER (i)) 5749 return 2;5750 return 0;5823 exit(2); 5824 exit (0); 5751 5825 } 5752 5826 _ACEOF 5753 if ac_fn_c_try_run "$LINENO"; then : 5754 5755 else 5756 ac_cv_header_stdc=no 5757 fi 5758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5759 conftest.$ac_objext conftest.beam conftest.$ac_ext 5760 fi 5761 5762 fi 5763 fi 5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5765 $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 5766 5853 if test $ac_cv_header_stdc = yes; then 5767 5854 5768 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5769 5770 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 5771 5869 5772 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 5773 do : 5774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5775 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5776 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 5777 6011 cat >>confdefs.h <<_ACEOF 5778 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 16012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5779 6013 _ACEOF 5780 6014 … … 5783 6017 done 5784 6018 5785 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 5786 6024 /* end confdefs.h. */ 5787 6025 #include <stdio.h> … … 5789 6027 _ACEOF 5790 6028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5791 $EGREP "fread" >/dev/null 2>&1; then : 5792 $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 5793 6033 5794 6034 fi 5795 6035 rm -f conftest* 5796 6036 5797 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 5798 6042 /* end confdefs.h. */ 5799 6043 #include <stdio.h> … … 5801 6045 _ACEOF 5802 6046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5803 $EGREP "fgetc" >/dev/null 2>&1; then : 5804 $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 5805 6051 5806 6052 fi 5807 6053 rm -f conftest* 5808 6054 5809 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 5810 6060 /* end confdefs.h. */ 5811 6061 #include <sys/procfs.h> … … 5813 6063 _ACEOF 5814 6064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5815 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5816 $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 5817 6069 5818 6070 fi … … 5822 6074 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5823 6075 # for constant arguments. Useless! 5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 5825 $as_echo_n "checking for working alloca.h... " >&6; } 5826 if test "${ac_cv_working_alloca_h+set}" = set; then : 5827 $as_echo_n "(cached) " >&6 5828 else 5829 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 5830 6086 /* end confdefs.h. */ 5831 6087 #include <alloca.h> … … 5834 6090 { 5835 6091 char *p = (char *) alloca (2 * sizeof (int)); 5836 if (p) return 0;5837 6092 ; 5838 6093 return 0; 5839 6094 } 5840 6095 _ACEOF 5841 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 5842 6118 ac_cv_working_alloca_h=yes 5843 6119 else 5844 ac_cv_working_alloca_h=no 5845 fi 5846 rm -f core conftest.err conftest.$ac_objext \ 5847 conftest$ac_exeext conftest.$ac_ext 5848 fi 5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 5850 $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 5851 6130 if test $ac_cv_working_alloca_h = yes; then 5852 6131 5853 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5854 5855 fi 5856 5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 5858 $as_echo_n "checking for alloca... " >&6; } 5859 if test "${ac_cv_func_alloca_works+set}" = set; then : 5860 $as_echo_n "(cached) " >&6 5861 else 5862 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 5863 6148 /* end confdefs.h. */ 5864 6149 #ifdef __GNUC__ … … 5869 6154 # define alloca _alloca 5870 6155 # else 5871 # if defHAVE_ALLOCA_H6156 # if HAVE_ALLOCA_H 5872 6157 # include <alloca.h> 5873 6158 # else … … 5887 6172 { 5888 6173 char *p = (char *) alloca (1); 5889 if (p) return 0;5890 6174 ; 5891 6175 return 0; 5892 6176 } 5893 6177 _ACEOF 5894 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 5895 6200 ac_cv_func_alloca_works=yes 5896 6201 else 5897 ac_cv_func_alloca_works=no 5898 fi 5899 rm -f core conftest.err conftest.$ac_objext \ 5900 conftest$ac_exeext conftest.$ac_ext 5901 fi 5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 5903 $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 5904 6212 5905 6213 if test $ac_cv_func_alloca_works = yes; then 5906 6214 5907 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 6215 cat >>confdefs.h <<\_ACEOF 6216 #define HAVE_ALLOCA 1 6217 _ACEOF 5908 6218 5909 6219 else … … 5913 6223 # use ar to extract alloca.o from them instead of compiling alloca.c. 5914 6224 5915 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5916 5917 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5918 5919 5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 5921 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5922 if test "${ac_cv_os_cray+set}" = set; then : 5923 $as_echo_n "(cached) " >&6 5924 else 5925 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 5926 6242 /* end confdefs.h. */ 5927 #if defined CRAY && ! defined CRAY26243 #if defined(CRAY) && ! defined(CRAY2) 5928 6244 webecray 5929 6245 #else … … 5933 6249 _ACEOF 5934 6250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5935 $EGREP "webecray" >/dev/null 2>&1; then :6251 $EGREP "webecray" >/dev/null 2>&1; then 5936 6252 ac_cv_os_cray=yes 5937 6253 else … … 5941 6257 5942 6258 fi 5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&55944 $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 5945 6261 if test $ac_cv_os_cray = yes; then 5946 6262 for ac_func in _getb67 GETB67 getb67; do 5947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5949 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 5950 6355 5951 6356 cat >>confdefs.h <<_ACEOF … … 5959 6364 fi 5960 6365 5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&55962 $as_echo_n "checking stack direction for C alloca... " >&6; } 5963 if test "${ac_cv_c_stack_direction+set}" = set; then :5964 $as_echo_n "(cached)" >&65965 else 5966 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 5967 6372 ac_cv_c_stack_direction=0 5968 6373 else 5969 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 5970 6379 /* end confdefs.h. */ 5971 $ac_includes_default5972 6380 int 5973 6381 find_stack_direction () … … 5987 6395 main () 5988 6396 { 5989 return find_stack_direction () < 0;6397 exit (find_stack_direction () < 0); 5990 6398 } 5991 6399 _ACEOF 5992 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 5993 6411 ac_cv_c_stack_direction=1 5994 6412 else 5995 ac_cv_c_stack_direction=-1 5996 fi 5997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5998 conftest.$ac_objext conftest.beam conftest.$ac_ext 5999 fi 6000 6001 fi 6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 6003 $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 6004 6426 cat >>confdefs.h <<_ACEOF 6005 6427 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 6010 6432 6011 6433 if test $ac_cv_c_compiler_gnu = yes; then 6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&56013 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6014 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :6015 $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 6016 6438 else 6017 6439 ac_pattern="Autoconf.*'x'" 6018 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 6019 6445 /* end confdefs.h. */ 6020 6446 #include <sgtty.h> … … 6022 6448 _ACEOF 6023 6449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6024 $EGREP "$ac_pattern" >/dev/null 2>&1; then :6450 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6025 6451 ac_cv_prog_gcc_traditional=yes 6026 6452 else … … 6031 6457 6032 6458 if test $ac_cv_prog_gcc_traditional = no; then 6033 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 6034 6464 /* end confdefs.h. */ 6035 6465 #include <termio.h> … … 6037 6467 _ACEOF 6038 6468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6039 $EGREP "$ac_pattern" >/dev/null 2>&1; then :6469 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6040 6470 ac_cv_prog_gcc_traditional=yes 6041 6471 fi … … 6044 6474 fi 6045 6475 fi 6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&56047 $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 6048 6478 if test $ac_cv_prog_gcc_traditional = yes; then 6049 6479 CC="$CC -traditional" … … 6051 6481 fi 6052 6482 6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 6054 $as_echo_n "checking return type of signal handlers... " >&6; } 6055 if test "${ac_cv_type_signal+set}" = set; then : 6056 $as_echo_n "(cached) " >&6 6057 else 6058 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 6059 6493 /* end confdefs.h. */ 6060 6494 #include <sys/types.h> 6061 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 6062 6504 6063 6505 int 6064 6506 main () 6065 6507 { 6066 return *(signal (0, 0)) (0) == 1;6508 int i; 6067 6509 ; 6068 6510 return 0; 6069 6511 } 6070 6512 _ACEOF 6071 if ac_fn_c_try_compile "$LINENO"; then : 6072 ac_cv_type_signal=int 6073 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 6074 6535 ac_cv_type_signal=void 6075 fi 6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6077 fi 6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 6079 $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 6080 6546 6081 6547 cat >>confdefs.h <<_ACEOF … … 6084 6550 6085 6551 6552 6086 6553 for ac_func in vprintf 6087 do : 6088 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 6089 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 6090 6647 cat >>confdefs.h <<_ACEOF 6091 #define HAVE_VPRINTF 1 6092 _ACEOF 6093 6094 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 6095 if test "x$ac_cv_func__doprnt" = x""yes; then : 6096 6097 $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 6098 6746 6099 6747 fi … … 6103 6751 6104 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6105 6763 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6106 do : 6107 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6109 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 6110 6857 cat >>confdefs.h <<_ACEOF 6111 #define ` $as_echo "HAVE_$ac_func" | $as_tr_cpp` 16858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6112 6859 _ACEOF 6113 6860 … … 6115 6862 done 6116 6863 6117 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" 6118 if test "x$ac_cv_func_ftruncate" = x""yes; then : 6119 $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h 6120 6121 else 6122 case " $LIBOBJS " in 6123 *" ftruncate.$ac_objext "* ) ;; 6124 *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext" 6125 ;; 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" ;; 6126 6972 esac 6127 6973 6128 6974 fi 6129 6130 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 6131 if test "x$ac_cv_func_strstr" = x""yes; then : 6132 $as_echo "#define HAVE_STRSTR 1" >>confdefs.h 6133 6134 else 6135 case " $LIBOBJS " in 6136 *" strstr.$ac_objext "* ) ;; 6137 *) LIBOBJS="$LIBOBJS strstr.$ac_objext" 6138 ;; 6139 esac 6140 6141 fi 6142 6143 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 6144 if test "x$ac_cv_func_strcasecmp" = x""yes; then : 6145 $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h 6146 6147 else 6148 case " $LIBOBJS " in 6149 *" strcasecmp.$ac_objext "* ) ;; 6150 *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" 6151 ;; 6152 esac 6153 6154 fi 6155 6156 6157 6158 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain" 6159 if test "x$ac_cv_func_textdomain" = x""yes; then : 6160 $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 6161 7073 6162 7074 fi … … 6165 7077 # *** Custom checking (based on GNU tar configure.in) *** 6166 7078 # --------------------------------------------------------------------------- 6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&56168 $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 6169 7081 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6171 $as_echo "yes" >&6; } 6172 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 "* | \ 6173 7088 *" gmalloc.$ac_objext "* ) ;; 6174 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 6175 ;; 7089 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 6176 7090 esac 6177 7091 6178 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 6179 6180 else 6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6182 $as_echo "no" >&6; } 6183 for ac_func in valloc 6184 do : 6185 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 6186 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 6187 7194 cat >>confdefs.h <<_ACEOF 6188 #define HAVE_VALLOC17195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6189 7196 _ACEOF 6190 7197 … … 6195 7202 6196 7203 # we cannot generate static libraries under Darwin 6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&56198 $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 6199 7206 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&56201 $as_echo "yes" >&6; } 7207 echo "$as_me:$LINENO: result: yes" >&5 7208 echo "${ECHO_T}yes" >&6 6202 7209 STATIC="" 6203 7210 else 6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56205 $as_echo "no" >&6; } 7211 echo "$as_me:$LINENO: result: no" >&5 7212 echo "${ECHO_T}no" >&6 6206 7213 STATIC="-static " 6207 7214 fi 6208 7215 6209 7216 6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 6211 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 6212 6213 # Check whether --with-dmalloc was given. 6214 if test "${with_dmalloc+set}" = set; then : 6215 withval=$with_dmalloc; if test "$withval" = yes; then 6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6217 $as_echo "yes" >&6; } 6218 $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 6219 7229 6220 7230 LIBS="$LIBS -ldmalloc" 6221 7231 LDFLAGS="$LDFLAGS -g" 6222 7232 else 6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56224 $as_echo "no" >&6; } 6225 fi 6226 else 6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56228 $as_echo "no" >&6; } 6229 fi 6230 6231 6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5 6233 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 6234 6235 # Check whether --with-regex was given. 6236 if test "${with_regex+set}" = set; then : 6237 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 6238 7248 ac_with_regex=1 6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5 6240 $as_echo "regex" >&6; } 6241 $as_echo "#define WITH_REGEX 1" >>confdefs.h 6242 6243 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 "* | \ 6244 7259 *" regex.$ac_objext "* ) ;; 6245 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 6246 ;; 7260 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6247 7261 esac 6248 7262 6249 7263 fi 6250 fi 6251 7264 fi; 6252 7265 if test -z "$ac_with_regex"; then 6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5 6254 $as_echo "rx" >&6; } 6255 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 6256 if test "x$ac_cv_func_re_rx_search" = x""yes; then : 6257 6258 else 6259 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 "* | \ 6260 7365 *" rx.$ac_objext "* ) ;; 6261 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 6262 ;; 7366 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 6263 7367 esac 6264 7368 … … 6270 7374 # --------------------------------------------------------------------------- 6271 7375 if test "$ac_cv_func_alloca" = 'no'; then 6272 case " $LIBOBJS " in 7376 case $LIBOBJS in 7377 "xmalloc.$ac_objext" | \ 7378 *" xmalloc.$ac_objext" | \ 7379 "xmalloc.$ac_objext "* | \ 6273 7380 *" xmalloc.$ac_objext "* ) ;; 6274 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 6275 ;; 7381 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 6276 7382 esac 6277 7383 6278 case " $LIBOBJS " in 7384 case $LIBOBJS in 7385 "error.$ac_objext" | \ 7386 *" error.$ac_objext" | \ 7387 "error.$ac_objext "* | \ 6279 7388 *" error.$ac_objext "* ) ;; 6280 *) LIBOBJS="$LIBOBJS error.$ac_objext" 6281 ;; 7389 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 6282 7390 esac 6283 7391 … … 6287 7395 # --------------------------------------------------------------------------- 6288 7396 6289 ac_ext=c pp7397 ac_ext=cc 6290 7398 ac_cpp='$CXXCPP $CPPFLAGS' 6291 7399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6295 7403 6296 7404 success=no 6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5 6298 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 6299 6300 6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7405 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 7406 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 7407 7408 7409 cat >conftest.$ac_ext <<_ACEOF 7410 /* confdefs.h. */ 7411 _ACEOF 7412 cat confdefs.h >>conftest.$ac_ext 7413 cat >>conftest.$ac_ext <<_ACEOF 6302 7414 /* end confdefs.h. */ 6303 7415 #include <vector> … … 6311 7423 } 6312 7424 _ACEOF 6313 if ac_fn_cxx_try_compile "$LINENO"; then : 7425 rm -f conftest.$ac_objext 7426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7427 (eval $ac_compile) 2>conftest.er1 7428 ac_status=$? 7429 grep -v '^ *+' conftest.er1 >conftest.err 7430 rm -f conftest.er1 7431 cat conftest.err >&5 7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7433 (exit $ac_status); } && 7434 { ac_try='test -z "$ac_cxx_werror_flag" 7435 || test ! -s conftest.err' 7436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7437 (eval $ac_try) 2>&5 7438 ac_status=$? 7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7440 (exit $ac_status); }; } && 7441 { ac_try='test -s conftest.$ac_objext' 7442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7443 (eval $ac_try) 2>&5 7444 ac_status=$? 7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7446 (exit $ac_status); }; }; then 6314 7447 success=yes 6315 fi 6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7448 else 7449 echo "$as_me: failed program was:" >&5 7450 sed 's/^/| /' conftest.$ac_ext >&5 7451 7452 fi 7453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6317 7454 6318 7455 if test $success = "no"; then 6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7456 cat >conftest.$ac_ext <<_ACEOF 7457 /* confdefs.h. */ 7458 _ACEOF 7459 cat confdefs.h >>conftest.$ac_ext 7460 cat >>conftest.$ac_ext <<_ACEOF 6320 7461 /* end confdefs.h. */ 6321 7462 #include <vector.h> … … 6329 7470 } 6330 7471 _ACEOF 6331 if ac_fn_cxx_try_compile "$LINENO"; then : 7472 rm -f conftest.$ac_objext 7473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7474 (eval $ac_compile) 2>conftest.er1 7475 ac_status=$? 7476 grep -v '^ *+' conftest.er1 >conftest.err 7477 rm -f conftest.er1 7478 cat conftest.err >&5 7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7480 (exit $ac_status); } && 7481 { ac_try='test -z "$ac_cxx_werror_flag" 7482 || test ! -s conftest.err' 7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7484 (eval $ac_try) 2>&5 7485 ac_status=$? 7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7487 (exit $ac_status); }; } && 7488 { ac_try='test -s conftest.$ac_objext' 7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7490 (eval $ac_try) 2>&5 7491 ac_status=$? 7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7493 (exit $ac_status); }; }; then 6332 7494 success="yes" 6333 fi 6334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7495 else 7496 echo "$as_me: failed program was:" >&5 7497 sed 's/^/| /' conftest.$ac_ext >&5 7498 7499 fi 7500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6335 7501 fi 6336 7502 6337 7503 if test $success = "no"; then 6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7504 cat >conftest.$ac_ext <<_ACEOF 7505 /* confdefs.h. */ 7506 _ACEOF 7507 cat confdefs.h >>conftest.$ac_ext 7508 cat >>conftest.$ac_ext <<_ACEOF 6339 7509 /* end confdefs.h. */ 6340 7510 #include <ospace\\std\\vector> … … 6348 7518 } 6349 7519 _ACEOF 6350 if ac_fn_cxx_try_compile "$LINENO"; then : 7520 rm -f conftest.$ac_objext 7521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7522 (eval $ac_compile) 2>conftest.er1 7523 ac_status=$? 7524 grep -v '^ *+' conftest.er1 >conftest.err 7525 rm -f conftest.er1 7526 cat conftest.err >&5 7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7528 (exit $ac_status); } && 7529 { ac_try='test -z "$ac_cxx_werror_flag" 7530 || test ! -s conftest.err' 7531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7532 (eval $ac_try) 2>&5 7533 ac_status=$? 7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7535 (exit $ac_status); }; } && 7536 { ac_try='test -s conftest.$ac_objext' 7537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7538 (eval $ac_try) 2>&5 7539 ac_status=$? 7540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7541 (exit $ac_status); }; }; then 6351 7542 success="yes" 6352 fi 6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7543 else 7544 echo "$as_me: failed program was:" >&5 7545 sed 's/^/| /' conftest.$ac_ext >&5 7546 7547 fi 7548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6354 7549 fi 6355 7550 6356 7551 if test $success = yes; then 6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 6358 $as_echo "\"no\"" >&6; } 6359 else 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 6361 $as_echo "\"yes\"" >&6; } 6362 as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5 7552 echo "$as_me:$LINENO: result: \"no\"" >&5 7553 echo "${ECHO_T}\"no\"" >&6 7554 else 7555 echo "$as_me:$LINENO: result: \"yes\"" >&5 7556 echo "${ECHO_T}\"yes\"" >&6 7557 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 7558 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7559 { (exit 1); exit 1; }; } 6363 7560 fi 6364 7561 … … 6372 7569 6373 7570 # check for endianness 6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 6375 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 6376 if test "${ac_cv_c_bigendian+set}" = set; then : 6377 $as_echo_n "(cached) " >&6 6378 else 6379 ac_cv_c_bigendian=unknown 6380 # See if we're dealing with a universal compiler. 6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6382 /* end confdefs.h. */ 6383 #ifndef __APPLE_CC__ 6384 not a universal capable compiler 6385 #endif 6386 typedef int dummy; 6387 6388 _ACEOF 6389 if ac_fn_cxx_try_compile "$LINENO"; then : 6390 6391 # Check for potential -arch flags. It is not universal unless 6392 # there are at least two -arch flags with different values. 6393 ac_arch= 6394 ac_prev= 6395 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 6396 if test -n "$ac_prev"; then 6397 case $ac_word in 6398 i?86 | x86_64 | ppc | ppc64) 6399 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 6400 ac_arch=$ac_word 6401 else 6402 ac_cv_c_bigendian=universal 6403 break 6404 fi 6405 ;; 6406 esac 6407 ac_prev= 6408 elif test "x$ac_word" = "x-arch"; then 6409 ac_prev=arch 6410 fi 6411 done 6412 fi 6413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6414 if test $ac_cv_c_bigendian = unknown; then 6415 # See if sys/param.h defines the BYTE_ORDER macro. 6416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7571 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7572 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7573 if test "${ac_cv_c_bigendian+set}" = set; then 7574 echo $ECHO_N "(cached) $ECHO_C" >&6 7575 else 7576 # See if sys/param.h defines the BYTE_ORDER macro. 7577 cat >conftest.$ac_ext <<_ACEOF 7578 /* confdefs.h. */ 7579 _ACEOF 7580 cat confdefs.h >>conftest.$ac_ext 7581 cat >>conftest.$ac_ext <<_ACEOF 6417 7582 /* end confdefs.h. */ 6418 7583 #include <sys/types.h> 6419 7584 #include <sys/param.h> 6420 7585 6421 7586 int 6422 7587 main () 6423 7588 { 6424 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 6425 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 6426 && LITTLE_ENDIAN) 6427 bogus endian macros 6428 #endif 7589 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7590 bogus endian macros 7591 #endif 6429 7592 6430 7593 ; … … 6432 7595 } 6433 7596 _ACEOF 6434 if ac_fn_cxx_try_compile "$LINENO"; then : 7597 rm -f conftest.$ac_objext 7598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7599 (eval $ac_compile) 2>conftest.er1 7600 ac_status=$? 7601 grep -v '^ *+' conftest.er1 >conftest.err 7602 rm -f conftest.er1 7603 cat conftest.err >&5 7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7605 (exit $ac_status); } && 7606 { ac_try='test -z "$ac_cxx_werror_flag" 7607 || test ! -s conftest.err' 7608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7609 (eval $ac_try) 2>&5 7610 ac_status=$? 7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7612 (exit $ac_status); }; } && 7613 { ac_try='test -s conftest.$ac_objext' 7614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7615 (eval $ac_try) 2>&5 7616 ac_status=$? 7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7618 (exit $ac_status); }; }; then 6435 7619 # It does; now see whether it defined to BIG_ENDIAN or not. 6436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7620 cat >conftest.$ac_ext <<_ACEOF 7621 /* confdefs.h. */ 7622 _ACEOF 7623 cat confdefs.h >>conftest.$ac_ext 7624 cat >>conftest.$ac_ext <<_ACEOF 6437 7625 /* end confdefs.h. */ 6438 7626 #include <sys/types.h> 6439 7627 #include <sys/param.h> 6440 7628 6441 7629 int … … 6443 7631 { 6444 7632 #if BYTE_ORDER != BIG_ENDIAN 6445 6446 7633 not big endian 7634 #endif 6447 7635 6448 7636 ; … … 6450 7638 } 6451 7639 _ACEOF 6452 if ac_fn_cxx_try_compile "$LINENO"; then : 7640 rm -f conftest.$ac_objext 7641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7642 (eval $ac_compile) 2>conftest.er1 7643 ac_status=$? 7644 grep -v '^ *+' conftest.er1 >conftest.err 7645 rm -f conftest.er1 7646 cat conftest.err >&5 7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7648 (exit $ac_status); } && 7649 { ac_try='test -z "$ac_cxx_werror_flag" 7650 || test ! -s conftest.err' 7651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7652 (eval $ac_try) 2>&5 7653 ac_status=$? 7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7655 (exit $ac_status); }; } && 7656 { ac_try='test -s conftest.$ac_objext' 7657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7658 (eval $ac_try) 2>&5 7659 ac_status=$? 7660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7661 (exit $ac_status); }; }; then 6453 7662 ac_cv_c_bigendian=yes 6454 7663 else 6455 ac_cv_c_bigendian=no 6456 fi 6457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6458 fi 6459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6460 fi 6461 if test $ac_cv_c_bigendian = unknown; then 6462 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7664 echo "$as_me: failed program was:" >&5 7665 sed 's/^/| /' conftest.$ac_ext >&5 7666 7667 ac_cv_c_bigendian=no 7668 fi 7669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7670 else 7671 echo "$as_me: failed program was:" >&5 7672 sed 's/^/| /' conftest.$ac_ext >&5 7673 7674 # It does not; compile a test program. 7675 if test "$cross_compiling" = yes; then 7676 # try to guess the endianness by grepping values into an object file 7677 ac_cv_c_bigendian=unknown 7678 cat >conftest.$ac_ext <<_ACEOF 7679 /* confdefs.h. */ 7680 _ACEOF 7681 cat confdefs.h >>conftest.$ac_ext 7682 cat >>conftest.$ac_ext <<_ACEOF 6464 7683 /* end confdefs.h. */ 6465 #include <limits.h> 6466 7684 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7685 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7686 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7687 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7688 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7689 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 6467 7690 int 6468 7691 main () 6469 7692 { 6470 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 6471 bogus endian macros 6472 #endif 6473 7693 _ascii (); _ebcdic (); 6474 7694 ; 6475 7695 return 0; 6476 7696 } 6477 7697 _ACEOF 6478 if ac_fn_cxx_try_compile "$LINENO"; then : 6479 # It does; now see whether it defined to _BIG_ENDIAN or not. 6480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7698 rm -f conftest.$ac_objext 7699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7700 (eval $ac_compile) 2>conftest.er1 7701 ac_status=$? 7702 grep -v '^ *+' conftest.er1 >conftest.err 7703 rm -f conftest.er1 7704 cat conftest.err >&5 7705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7706 (exit $ac_status); } && 7707 { ac_try='test -z "$ac_cxx_werror_flag" 7708 || test ! -s conftest.err' 7709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7710 (eval $ac_try) 2>&5 7711 ac_status=$? 7712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7713 (exit $ac_status); }; } && 7714 { ac_try='test -s conftest.$ac_objext' 7715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7716 (eval $ac_try) 2>&5 7717 ac_status=$? 7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7719 (exit $ac_status); }; }; then 7720 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7721 ac_cv_c_bigendian=yes 7722 fi 7723 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7724 if test "$ac_cv_c_bigendian" = unknown; then 7725 ac_cv_c_bigendian=no 7726 else 7727 # finding both strings is unlikely to happen, but who knows? 7728 ac_cv_c_bigendian=unknown 7729 fi 7730 fi 7731 else 7732 echo "$as_me: failed program was:" >&5 7733 sed 's/^/| /' conftest.$ac_ext >&5 7734 7735 fi 7736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7737 else 7738 cat >conftest.$ac_ext <<_ACEOF 7739 /* confdefs.h. */ 7740 _ACEOF 7741 cat confdefs.h >>conftest.$ac_ext 7742 cat >>conftest.$ac_ext <<_ACEOF 6481 7743 /* end confdefs.h. */ 6482 #include <limits.h>6483 6484 7744 int 6485 7745 main () 6486 7746 { 6487 #ifndef _BIG_ENDIAN 6488 not big endian 6489 #endif 6490 6491 ; 6492 return 0; 7747 /* Are we little or big endian? From Harbison&Steele. */ 7748 union 7749 { 7750 long l; 7751 char c[sizeof (long)]; 7752 } u; 7753 u.l = 1; 7754 exit (u.c[sizeof (long) - 1] == 1); 6493 7755 } 6494 7756 _ACEOF 6495 if ac_fn_cxx_try_compile "$LINENO"; then : 6496 ac_cv_c_bigendian=yes 6497 else 7757 rm -f conftest$ac_exeext 7758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7759 (eval $ac_link) 2>&5 7760 ac_status=$? 7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7762 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7764 (eval $ac_try) 2>&5 7765 ac_status=$? 7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7767 (exit $ac_status); }; }; then 6498 7768 ac_cv_c_bigendian=no 6499 fi 6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6501 fi 6502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6503 fi 6504 if test $ac_cv_c_bigendian = unknown; then 6505 # Compile a test program. 6506 if test "$cross_compiling" = yes; then : 6507 # Try to guess by grepping values from an object file. 6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6509 /* end confdefs.h. */ 6510 short int ascii_mm[] = 6511 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 6512 short int ascii_ii[] = 6513 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 6514 int use_ascii (int i) { 6515 return ascii_mm[i] + ascii_ii[i]; 6516 } 6517 short int ebcdic_ii[] = 6518 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 6519 short int ebcdic_mm[] = 6520 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 6521 int use_ebcdic (int i) { 6522 return ebcdic_mm[i] + ebcdic_ii[i]; 6523 } 6524 extern int foo; 6525 6526 int 6527 main () 6528 { 6529 return use_ascii (foo) == use_ebcdic (foo); 6530 ; 6531 return 0; 6532 } 6533 _ACEOF 6534 if ac_fn_cxx_try_compile "$LINENO"; then : 6535 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 6536 ac_cv_c_bigendian=yes 6537 fi 6538 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 6539 if test "$ac_cv_c_bigendian" = unknown; then 6540 ac_cv_c_bigendian=no 6541 else 6542 # finding both strings is unlikely to happen, but who knows? 6543 ac_cv_c_bigendian=unknown 6544 fi 6545 fi 6546 fi 6547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6548 else 6549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6550 /* end confdefs.h. */ 6551 $ac_includes_default 6552 int 6553 main () 6554 { 6555 6556 /* Are we little or big endian? From Harbison&Steele. */ 6557 union 6558 { 6559 long int l; 6560 char c[sizeof (long int)]; 6561 } u; 6562 u.l = 1; 6563 return u.c[sizeof (long int) - 1] == 1; 6564 6565 ; 6566 return 0; 6567 } 6568 _ACEOF 6569 if ac_fn_cxx_try_run "$LINENO"; then : 6570 ac_cv_c_bigendian=no 6571 else 6572 ac_cv_c_bigendian=yes 6573 fi 6574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6575 conftest.$ac_objext conftest.beam conftest.$ac_ext 6576 fi 6577 6578 fi 6579 fi 6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 6581 $as_echo "$ac_cv_c_bigendian" >&6; } 6582 case $ac_cv_c_bigendian in #( 6583 yes) 6584 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 6585 ;; #( 6586 no) 6587 ;; #( 6588 universal) 6589 6590 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 6591 6592 ;; #( 6593 *) 6594 as_fn_error $? "unknown endianness 6595 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 6596 esac 7769 else 7770 echo "$as_me: program exited with status $ac_status" >&5 7771 echo "$as_me: failed program was:" >&5 7772 sed 's/^/| /' conftest.$ac_ext >&5 7773 7774 ( exit $ac_status ) 7775 ac_cv_c_bigendian=yes 7776 fi 7777 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7778 fi 7779 fi 7780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7781 fi 7782 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7783 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7784 case $ac_cv_c_bigendian in 7785 yes) 7786 7787 cat >>confdefs.h <<\_ACEOF 7788 #define WORDS_BIGENDIAN 1 7789 _ACEOF 7790 ;; 7791 no) 7792 ;; 7793 *) 7794 { { echo "$as_me:$LINENO: error: unknown endianness 7795 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7796 echo "$as_me: error: unknown endianness 7797 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7798 { (exit 1); exit 1; }; } ;; 7799 esac 6597 7800 6598 7801 # --------------------------------------------------------------------------- 6599 7802 if test "$ac_cv_func_alloca" = 'no'; then 6600 case " $LIBOBJS " in 7803 case $LIBOBJS in 7804 "xmalloc.o.$ac_objext" | \ 7805 *" xmalloc.o.$ac_objext" | \ 7806 "xmalloc.o.$ac_objext "* | \ 6601 7807 *" xmalloc.o.$ac_objext "* ) ;; 6602 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 6603 ;; 7808 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 6604 7809 esac 6605 7810 6606 case " $LIBOBJS " in 7811 case $LIBOBJS in 7812 "error.$ac_objext" | \ 7813 *" error.$ac_objext" | \ 7814 "error.$ac_objext "* | \ 6607 7815 *" error.$ac_objext "* ) ;; 6608 *) LIBOBJS="$LIBOBJS error.$ac_objext" 6609 ;; 7816 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 6610 7817 esac 6611 7818 … … 6641 7848 commonsrcprefix=`pwd` 6642 7849 ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv" 7850 7851 6643 7852 subdirs="$subdirs indexers" 6644 7853 6645 7854 6646 7855 # the list of folders in the src folder 6647 srclist="src/lib/Makefile \ 7856 srclist="cgi-bin/Makefile \ 7857 src/lib/Makefile \ 6648 7858 src/gdbmedit/db2txt/Makefile \ 6649 7859 src/gdbmedit/txt2db/Makefile \ 6650 7860 src/gdbmedit/gdbmget/Makefile \ 6651 7861 src/gdbmedit/gdbmset/Makefile \ 6652 6653 7862 src/gdbmedit/gdbmkeys/Makefile \ 7863 src/gdbmedit/gdbmdel/Makefile \ 6654 7864 src/getpw/Makefile \ 6655 src/jdbmedit/Makefile" 6656 6657 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 6658 7865 src/jdbmedit/Makefile" 7866 7867 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 6659 7868 cat >confcache <<\_ACEOF 6660 7869 # This file is a shell script that caches the results of configure … … 6675 7884 # The following way of writing the cache mishandles newlines in values, 6676 7885 # but we know of no workaround that is simple, portable, and efficient. 6677 # So, we kill variables containing newlines.7886 # So, don't put newlines in cache variables' values. 6678 7887 # Ultrix sh set writes to stderr and can't be redirected directly, 6679 7888 # and sets the high bit in the cache file unless we assign to the vars. 6680 ( 6681 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6682 eval ac_val=\$$ac_var 6683 case $ac_val in #( 6684 *${as_nl}*) 6685 case $ac_var in #( 6686 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6687 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6688 esac 6689 case $ac_var in #( 6690 _ | IFS | as_nl) ;; #( 6691 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6692 *) { eval $ac_var=; unset $ac_var;} ;; 6693 esac ;; 6694 esac 6695 done 6696 7889 { 6697 7890 (set) 2>&1 | 6698 case $as_nl`(ac_space=' '; set) 2>&1` in #(6699 * ${as_nl}ac_space=\ *)6700 # `set' does not quote correctly, so add quotes :double-quote6701 # substitution turns \\\\ into \\, and sed turns \\ into \ .7891 case `(ac_space=' '; set | grep ac_space) 2>&1` in 7892 *ac_space=\ *) 7893 # `set' does not quote correctly, so add quotes (double-quote 7894 # substitution turns \\\\ into \\, and sed turns \\ into \). 6702 7895 sed -n \ 6703 7896 "s/'/'\\\\''/g; 6704 7897 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6705 ;; #(7898 ;; 6706 7899 *) 6707 7900 # `set' quotes correctly as required by POSIX, so do not add quotes. 6708 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7901 sed -n \ 7902 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6709 7903 ;; 6710 esac | 6711 sort 6712 ) | 7904 esac; 7905 } | 6713 7906 sed ' 6714 /^ac_cv_env_/b end6715 7907 t clear 6716 : clear7908 : clear 6717 7909 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6718 7910 t end 6719 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6720 :end' >>confcache 6721 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6722 if test -w "$cache_file"; then 6723 test "x$cache_file" != "x/dev/null" && 6724 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6725 $as_echo "$as_me: updating cache $cache_file" >&6;} 7911 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7912 : end' >>confcache 7913 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7914 if test -w $cache_file; then 7915 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6726 7916 cat confcache >$cache_file 6727 7917 else 6728 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6729 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7918 echo "not updating unwritable cache $cache_file" 6730 7919 fi 6731 7920 fi … … 6736 7925 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6737 7926 7927 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7928 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7929 # trailing colons and then remove the whole line if VPATH becomes empty 7930 # (actually we leave an empty line to preserve line numbers). 7931 if test "x$srcdir" = x.; then 7932 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7933 s/:*\$(srcdir):*/:/; 7934 s/:*\${srcdir}:*/:/; 7935 s/:*@srcdir@:*/:/; 7936 s/^\([^=]*=[ ]*\):*/\1/; 7937 s/:*$//; 7938 s/^[^=]*=[ ]*$//; 7939 }' 7940 fi 7941 6738 7942 DEFS=-DHAVE_CONFIG_H 6739 7943 6740 7944 ac_libobjs= 6741 7945 ac_ltlibobjs= 6742 U=6743 7946 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6744 7947 # 1. Remove the extension, and $U if already installed. 6745 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6746 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6747 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6748 # will be set to the directory where LIBOBJS objects are built. 6749 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6750 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7948 ac_i=`echo "$ac_i" | 7949 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7950 # 2. Add them. 7951 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7952 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6751 7953 done 6752 7954 LIBOBJS=$ac_libobjs … … 6756 7958 6757 7959 6758 6759 7960 : ${CONFIG_STATUS=./config.status} 6760 ac_write_fail=06761 7961 ac_clean_files_save=$ac_clean_files 6762 7962 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6763 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6764 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6765 as_write_fail=0 6766 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7963 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 7964 echo "$as_me: creating $CONFIG_STATUS" >&6;} 7965 cat >$CONFIG_STATUS <<_ACEOF 6767 7966 #! $SHELL 6768 7967 # Generated by $as_me. … … 6774 7973 ac_cs_recheck=false 6775 7974 ac_cs_silent=false 6776 6777 7975 SHELL=\${CONFIG_SHELL-$SHELL} 6778 export SHELL 6779 _ASEOF 6780 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6781 ## -------------------- ## 6782 ## M4sh Initialization. ## 6783 ## -------------------- ## 6784 6785 # Be more Bourne compatible 6786 DUALCASE=1; export DUALCASE # for MKS sh 6787 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7976 _ACEOF 7977 7978 cat >>$CONFIG_STATUS <<\_ACEOF 7979 ## --------------------- ## 7980 ## M4sh Initialization. ## 7981 ## --------------------- ## 7982 7983 # Be Bourne compatible 7984 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6788 7985 emulate sh 6789 7986 NULLCMD=: 6790 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which7987 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6791 7988 # is contrary to our usage. Disable this feature. 6792 7989 alias -g '${1+"$@"}'='"$@"' 6793 setopt NO_GLOB_SUBST 6794 else 6795 case `(set -o) 2>/dev/null` in #( 6796 *posix*) : 6797 set -o posix ;; #( 6798 *) : 6799 ;; 6800 esac 6801 fi 6802 6803 6804 as_nl=' 6805 ' 6806 export as_nl 6807 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6808 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6809 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6810 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6811 # Prefer a ksh shell builtin over an external printf program on Solaris, 6812 # but without wasting forks for bash or zsh. 6813 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6814 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6815 as_echo='print -r --' 6816 as_echo_n='print -rn --' 6817 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6818 as_echo='printf %s\n' 6819 as_echo_n='printf %s' 6820 else 6821 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6822 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6823 as_echo_n='/usr/ucb/echo -n' 6824 else 6825 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6826 as_echo_n_body='eval 6827 arg=$1; 6828 case $arg in #( 6829 *"$as_nl"*) 6830 expr "X$arg" : "X\\(.*\\)$as_nl"; 6831 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6832 esac; 6833 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6834 ' 6835 export as_echo_n_body 6836 as_echo_n='sh -c $as_echo_n_body as_echo' 6837 fi 6838 export as_echo_body 6839 as_echo='sh -c $as_echo_body as_echo' 6840 fi 6841 6842 # The user is always right. 6843 if test "${PATH_SEPARATOR+set}" != set; then 6844 PATH_SEPARATOR=: 6845 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6846 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6847 PATH_SEPARATOR=';' 6848 } 6849 fi 6850 6851 6852 # IFS 6853 # We need space, tab and new line, in precisely that order. Quoting is 6854 # there to prevent editors from complaining about space-tab. 6855 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6856 # splitting by setting IFS to empty value.) 6857 IFS=" "" $as_nl" 6858 6859 # Find who we are. Look in the path if we contain no directory separator. 6860 case $0 in #(( 6861 *[\\/]* ) as_myself=$0 ;; 6862 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6863 for as_dir in $PATH 6864 do 6865 IFS=$as_save_IFS 6866 test -z "$as_dir" && as_dir=. 6867 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6868 done 6869 IFS=$as_save_IFS 6870 6871 ;; 6872 esac 6873 # We did not find ourselves, most probably we were run as `sh COMMAND' 6874 # in which case we are not to be found in the path. 6875 if test "x$as_myself" = x; then 6876 as_myself=$0 6877 fi 6878 if test ! -f "$as_myself"; then 6879 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6880 exit 1 6881 fi 6882 6883 # Unset variables that we do not need and which cause bugs (e.g. in 6884 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6885 # suppresses any "Segmentation fault" message there. '((' could 6886 # trigger a bug in pdksh 5.2.14. 6887 for as_var in BASH_ENV ENV MAIL MAILPATH 6888 do eval test x\${$as_var+set} = xset \ 6889 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6890 done 7990 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7991 set -o posix 7992 fi 7993 DUALCASE=1; export DUALCASE # for MKS sh 7994 7995 # Support unset when possible. 7996 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7997 as_unset=unset 7998 else 7999 as_unset=false 8000 fi 8001 8002 8003 # Work around bugs in pre-3.0 UWIN ksh. 8004 $as_unset ENV MAIL MAILPATH 6891 8005 PS1='$ ' 6892 8006 PS2='> ' … … 6894 8008 6895 8009 # NLS nuisances. 6896 LC_ALL=C 6897 export LC_ALL 6898 LANGUAGE=C 6899 export LANGUAGE 6900 6901 # CDPATH. 6902 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6903 6904 6905 # as_fn_error STATUS ERROR [LINENO LOG_FD] 6906 # ---------------------------------------- 6907 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6908 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6909 # script with STATUS, using 1 if that was 0. 6910 as_fn_error () 6911 { 6912 as_status=$1; test $as_status -eq 0 && as_status=1 6913 if test "$4"; then 6914 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6915 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8010 for as_var in \ 8011 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8012 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8013 LC_TELEPHONE LC_TIME 8014 do 8015 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8016 eval $as_var=C; export $as_var 8017 else 8018 $as_unset $as_var 6916 8019 fi 6917 $as_echo "$as_me: error: $2" >&2 6918 as_fn_exit $as_status 6919 } # as_fn_error 6920 6921 6922 # as_fn_set_status STATUS 6923 # ----------------------- 6924 # Set $? to STATUS, without forking. 6925 as_fn_set_status () 6926 { 6927 return $1 6928 } # as_fn_set_status 6929 6930 # as_fn_exit STATUS 6931 # ----------------- 6932 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6933 as_fn_exit () 6934 { 6935 set +e 6936 as_fn_set_status $1 6937 exit $1 6938 } # as_fn_exit 6939 6940 # as_fn_unset VAR 6941 # --------------- 6942 # Portably unset VAR. 6943 as_fn_unset () 6944 { 6945 { eval $1=; unset $1;} 6946 } 6947 as_unset=as_fn_unset 6948 # as_fn_append VAR VALUE 6949 # ---------------------- 6950 # Append the text in VALUE to the end of the definition contained in VAR. Take 6951 # advantage of any shell optimizations that allow amortized linear growth over 6952 # repeated appends, instead of the typical quadratic growth present in naive 6953 # implementations. 6954 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6955 eval 'as_fn_append () 6956 { 6957 eval $1+=\$2 6958 }' 6959 else 6960 as_fn_append () 6961 { 6962 eval $1=\$$1\$2 6963 } 6964 fi # as_fn_append 6965 6966 # as_fn_arith ARG... 6967 # ------------------ 6968 # Perform arithmetic evaluation on the ARGs, and store the result in the 6969 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6970 # must be portable across $(()) and expr. 6971 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6972 eval 'as_fn_arith () 6973 { 6974 as_val=$(( $* )) 6975 }' 6976 else 6977 as_fn_arith () 6978 { 6979 as_val=`expr "$@" || test $? -eq 1` 6980 } 6981 fi # as_fn_arith 6982 6983 6984 if expr a : '\(a\)' >/dev/null 2>&1 && 6985 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8020 done 8021 8022 # Required to use basename. 8023 if expr a : '\(a\)' >/dev/null 2>&1; then 6986 8024 as_expr=expr 6987 8025 else … … 6989 8027 fi 6990 8028 6991 if (basename -- /) >/dev/null 2>&1 && test "X`basename --/ 2>&1`" = "X/"; then8029 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 6992 8030 as_basename=basename 6993 8031 else … … 6995 8033 fi 6996 8034 6997 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6998 as_dirname=dirname 6999 else 7000 as_dirname=false 7001 fi 7002 7003 as_me=`$as_basename -- "$0" || 8035 8036 # Name of the executable. 8037 as_me=`$as_basename "$0" || 7004 8038 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7005 8039 X"$0" : 'X\(//\)$' \| \ 7006 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7007 $as_echo X/"$0" | 7008 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7009 s//\1/ 7010 q 7011 } 7012 /^X\/\(\/\/\)$/{ 7013 s//\1/ 7014 q 7015 } 7016 /^X\/\(\/\).*/{ 7017 s//\1/ 7018 q 7019 } 7020 s/.*/./; q'` 7021 8040 X"$0" : 'X\(/\)$' \| \ 8041 . : '\(.\)' 2>/dev/null || 8042 echo X/"$0" | 8043 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8044 /^X\/\(\/\/\)$/{ s//\1/; q; } 8045 /^X\/\(\/\).*/{ s//\1/; q; } 8046 s/.*/./; q'` 8047 8048 8049 # PATH needs CR, and LINENO needs CR and PATH. 7022 8050 # Avoid depending upon Character Ranges. 7023 8051 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7027 8055 as_cr_alnum=$as_cr_Letters$as_cr_digits 7028 8056 7029 ECHO_C= ECHO_N= ECHO_T= 7030 case `echo -n x` in #((((( 7031 -n*) 7032 case `echo 'xy\c'` in 7033 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7034 xy) ECHO_C='\c';; 7035 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7036 ECHO_T=' ';; 7037 esac;; 7038 *) 7039 ECHO_N='-n';; 8057 # The user is always right. 8058 if test "${PATH_SEPARATOR+set}" != set; then 8059 echo "#! /bin/sh" >conf$$.sh 8060 echo "exit 0" >>conf$$.sh 8061 chmod +x conf$$.sh 8062 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8063 PATH_SEPARATOR=';' 8064 else 8065 PATH_SEPARATOR=: 8066 fi 8067 rm -f conf$$.sh 8068 fi 8069 8070 8071 as_lineno_1=$LINENO 8072 as_lineno_2=$LINENO 8073 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8074 test "x$as_lineno_1" != "x$as_lineno_2" && 8075 test "x$as_lineno_3" = "x$as_lineno_2" || { 8076 # Find who we are. Look in the path if we contain no path at all 8077 # relative or not. 8078 case $0 in 8079 *[\\/]* ) as_myself=$0 ;; 8080 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8081 for as_dir in $PATH 8082 do 8083 IFS=$as_save_IFS 8084 test -z "$as_dir" && as_dir=. 8085 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8086 done 8087 8088 ;; 8089 esac 8090 # We did not find ourselves, most probably we were run as `sh COMMAND' 8091 # in which case we are not to be found in the path. 8092 if test "x$as_myself" = x; then 8093 as_myself=$0 8094 fi 8095 if test ! -f "$as_myself"; then 8096 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8097 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8098 { (exit 1); exit 1; }; } 8099 fi 8100 case $CONFIG_SHELL in 8101 '') 8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8103 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8104 do 8105 IFS=$as_save_IFS 8106 test -z "$as_dir" && as_dir=. 8107 for as_base in sh bash ksh sh5; do 8108 case $as_dir in 8109 /*) 8110 if ("$as_dir/$as_base" -c ' 8111 as_lineno_1=$LINENO 8112 as_lineno_2=$LINENO 8113 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8114 test "x$as_lineno_1" != "x$as_lineno_2" && 8115 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8116 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8117 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8118 CONFIG_SHELL=$as_dir/$as_base 8119 export CONFIG_SHELL 8120 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8121 fi;; 8122 esac 8123 done 8124 done 8125 ;; 8126 esac 8127 8128 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8129 # uniformly replaced by the line number. The first 'sed' inserts a 8130 # line-number line before each line; the second 'sed' does the real 8131 # work. The second script uses 'N' to pair each line-number line 8132 # with the numbered line, and appends trailing '-' during 8133 # substitution so that $LINENO is not a special case at line end. 8134 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8135 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8136 sed '=' <$as_myself | 8137 sed ' 8138 N 8139 s,$,-, 8140 : loop 8141 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8142 t loop 8143 s,-$,, 8144 s,^['$as_cr_digits']*\n,, 8145 ' >$as_me.lineno && 8146 chmod +x $as_me.lineno || 8147 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8148 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8149 { (exit 1); exit 1; }; } 8150 8151 # Don't try to exec as it changes $[0], causing all sort of problems 8152 # (the dirname of $[0] is not the place where we might find the 8153 # original and so on. Autoconf is especially sensible to this). 8154 . ./$as_me.lineno 8155 # Exit status is that of the last command. 8156 exit 8157 } 8158 8159 8160 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8161 *c*,-n*) ECHO_N= ECHO_C=' 8162 ' ECHO_T=' ' ;; 8163 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8164 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7040 8165 esac 7041 8166 8167 if expr a : '\(a\)' >/dev/null 2>&1; then 8168 as_expr=expr 8169 else 8170 as_expr=false 8171 fi 8172 7042 8173 rm -f conf$$ conf$$.exe conf$$.file 7043 if test -d conf$$.dir; then 7044 rm -f conf$$.dir/conf$$.file 7045 else 7046 rm -f conf$$.dir7047 mkdir conf$$.dir 2>/dev/null7048 fi 7049 if (echo >conf$$.file) 2>/dev/null; then 7050 if ln -s conf$$.file conf$$ 2>/dev/null; then8174 echo >conf$$.file 8175 if ln -s conf$$.file conf$$ 2>/dev/null; then 8176 # We could just check for DJGPP; but this test a) works b) is more generic 8177 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8178 if test -f conf$$.exe; then 8179 # Don't use ln at all; we don't have any links 8180 as_ln_s='cp -p' 8181 else 7051 8182 as_ln_s='ln -s' 7052 # ... but there are two gotchas:7053 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.7054 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.7055 # In both cases, we have to default to `cp -p'.7056 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||7057 as_ln_s='cp -p'7058 elif ln conf$$.file conf$$ 2>/dev/null; then7059 as_ln_s=ln7060 else7061 as_ln_s='cp -p'7062 8183 fi 8184 elif ln conf$$.file conf$$ 2>/dev/null; then 8185 as_ln_s=ln 7063 8186 else 7064 8187 as_ln_s='cp -p' 7065 8188 fi 7066 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7067 rmdir conf$$.dir 2>/dev/null 7068 7069 7070 # as_fn_mkdir_p 7071 # ------------- 7072 # Create "$as_dir" as a directory, including parents if necessary. 7073 as_fn_mkdir_p () 7074 { 7075 7076 case $as_dir in #( 7077 -*) as_dir=./$as_dir;; 7078 esac 7079 test -d "$as_dir" || eval $as_mkdir_p || { 7080 as_dirs= 7081 while :; do 7082 case $as_dir in #( 7083 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7084 *) as_qdir=$as_dir;; 7085 esac 7086 as_dirs="'$as_qdir' $as_dirs" 7087 as_dir=`$as_dirname -- "$as_dir" || 7088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7089 X"$as_dir" : 'X\(//\)[^/]' \| \ 7090 X"$as_dir" : 'X\(//\)$' \| \ 7091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7092 $as_echo X"$as_dir" | 7093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7094 s//\1/ 7095 q 7096 } 7097 /^X\(\/\/\)[^/].*/{ 7098 s//\1/ 7099 q 7100 } 7101 /^X\(\/\/\)$/{ 7102 s//\1/ 7103 q 7104 } 7105 /^X\(\/\).*/{ 7106 s//\1/ 7107 q 7108 } 7109 s/.*/./; q'` 7110 test -d "$as_dir" && break 7111 done 7112 test -z "$as_dirs" || eval "mkdir $as_dirs" 7113 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7114 7115 7116 } # as_fn_mkdir_p 8189 rm -f conf$$ conf$$.exe conf$$.file 8190 7117 8191 if mkdir -p . 2>/dev/null; then 7118 as_mkdir_p= 'mkdir -p "$as_dir"'8192 as_mkdir_p=: 7119 8193 else 7120 8194 test -d ./-p && rmdir ./-p … … 7122 8196 fi 7123 8197 7124 if test -x / >/dev/null 2>&1; then 7125 as_test_x='test -x' 7126 else 7127 if ls -dL / >/dev/null 2>&1; then 7128 as_ls_L_option=L 7129 else 7130 as_ls_L_option= 7131 fi 7132 as_test_x=' 7133 eval sh -c '\'' 7134 if test -d "$1"; then 7135 test -d "$1/."; 7136 else 7137 case $1 in #( 7138 -*)set "./$1";; 7139 esac; 7140 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7141 ???[sx]*):;;*)false;;esac;fi 7142 '\'' sh 7143 ' 7144 fi 7145 as_executable_p=$as_test_x 8198 as_executable_p="test -f" 7146 8199 7147 8200 # Sed expression to map a string onto a valid CPP name. … … 7152 8205 7153 8206 8207 # IFS 8208 # We need space, tab and new line, in precisely that order. 8209 as_nl=' 8210 ' 8211 IFS=" $as_nl" 8212 8213 # CDPATH. 8214 $as_unset CDPATH 8215 7154 8216 exec 6>&1 7155 ## ----------------------------------- ## 7156 ## Main body of $CONFIG_STATUS script. ## 7157 ## ----------------------------------- ## 7158 _ASEOF 7159 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7160 7161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7162 # Save the log message, to keep $0 and so on meaningful, and to 8217 8218 # Open the log real soon, to keep \$[0] and so on meaningful, and to 7163 8219 # report actual input values of CONFIG_FILES etc. instead of their 7164 # values after options handling. 7165 ac_log=" 7166 This file was extended by $as_me, which was 7167 generated by GNU Autoconf 2.67. Invocation command line was 7168 7169 CONFIG_FILES = $CONFIG_FILES 7170 CONFIG_HEADERS = $CONFIG_HEADERS 7171 CONFIG_LINKS = $CONFIG_LINKS 7172 CONFIG_COMMANDS = $CONFIG_COMMANDS 7173 $ $0 $@ 7174 7175 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7176 " 7177 7178 _ACEOF 7179 7180 case $ac_config_files in *" 7181 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7182 esac 7183 7184 case $ac_config_headers in *" 7185 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7186 esac 7187 7188 7189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7190 # Files that config.status was made for. 7191 config_files="$ac_config_files" 7192 config_headers="$ac_config_headers" 7193 7194 _ACEOF 7195 7196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7197 ac_cs_usage="\ 7198 \`$as_me' instantiates files and other configuration actions 7199 from templates according to the current configuration. Unless the files 7200 and actions are specified as TAGs, all are instantiated by default. 7201 7202 Usage: $0 [OPTION]... [TAG]... 7203 7204 -h, --help print this help, then exit 7205 -V, --version print version number and configuration settings, then exit 7206 --config print configuration, then exit 7207 -q, --quiet, --silent 7208 do not print progress messages 7209 -d, --debug don't remove temporary files 7210 --recheck update $as_me by reconfiguring in the same conditions 7211 --file=FILE[:TEMPLATE] 7212 instantiate the configuration file FILE 7213 --header=FILE[:TEMPLATE] 7214 instantiate the configuration header FILE 7215 7216 Configuration files: 7217 $config_files 7218 7219 Configuration headers: 7220 $config_headers 7221 7222 Report bugs to the package provider." 7223 7224 _ACEOF 7225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7226 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7227 ac_cs_version="\\ 7228 config.status 7229 configured by $0, generated by GNU Autoconf 2.67, 7230 with options \\"\$ac_cs_config\\" 7231 7232 Copyright (C) 2010 Free Software Foundation, Inc. 7233 This config.status script is free software; the Free Software Foundation 7234 gives unlimited permission to copy, distribute and modify it." 7235 7236 ac_pwd='$ac_pwd' 7237 srcdir='$srcdir' 7238 INSTALL='$INSTALL' 7239 AWK='$AWK' 7240 test -n "\$AWK" || AWK=awk 7241 _ACEOF 7242 7243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7244 # The default lists apply if the user does not specify any file. 7245 ac_need_defaults=: 7246 while test $# != 0 7247 do 7248 case $1 in 7249 --*=?*) 7250 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7251 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7252 ac_shift=: 7253 ;; 7254 --*=) 7255 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7256 ac_optarg= 7257 ac_shift=: 7258 ;; 7259 *) 7260 ac_option=$1 7261 ac_optarg=$2 7262 ac_shift=shift 7263 ;; 7264 esac 7265 7266 case $ac_option in 7267 # Handling of the options. 7268 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7269 ac_cs_recheck=: ;; 7270 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7271 $as_echo "$ac_cs_version"; exit ;; 7272 --config | --confi | --conf | --con | --co | --c ) 7273 $as_echo "$ac_cs_config"; exit ;; 7274 --debug | --debu | --deb | --de | --d | -d ) 7275 debug=: ;; 7276 --file | --fil | --fi | --f ) 7277 $ac_shift 7278 case $ac_optarg in 7279 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7280 '') as_fn_error $? "missing file argument" ;; 7281 esac 7282 as_fn_append CONFIG_FILES " '$ac_optarg'" 7283 ac_need_defaults=false;; 7284 --header | --heade | --head | --hea ) 7285 $ac_shift 7286 case $ac_optarg in 7287 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7288 esac 7289 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7290 ac_need_defaults=false;; 7291 --he | --h) 7292 # Conflict between --help and --header 7293 as_fn_error $? "ambiguous option: \`$1' 7294 Try \`$0 --help' for more information.";; 7295 --help | --hel | -h ) 7296 $as_echo "$ac_cs_usage"; exit ;; 7297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7298 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7299 ac_cs_silent=: ;; 7300 7301 # This is an error. 7302 -*) as_fn_error $? "unrecognized option: \`$1' 7303 Try \`$0 --help' for more information." ;; 7304 7305 *) as_fn_append ac_config_targets " $1" 7306 ac_need_defaults=false ;; 7307 7308 esac 7309 shift 7310 done 7311 7312 ac_configure_extra_args= 7313 7314 if $ac_cs_silent; then 7315 exec 6>/dev/null 7316 ac_configure_extra_args="$ac_configure_extra_args --silent" 7317 fi 7318 7319 _ACEOF 7320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7321 if \$ac_cs_recheck; then 7322 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7323 shift 7324 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7325 CONFIG_SHELL='$SHELL' 7326 export CONFIG_SHELL 7327 exec "\$@" 7328 fi 7329 7330 _ACEOF 7331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8220 # values after options handling. Logging --version etc. is OK. 7332 8221 exec 5>>config.log 7333 8222 { … … 7336 8225 ## Running $as_me. ## 7337 8226 _ASBOX 7338 $as_echo "$ac_log"7339 8227 } >&5 7340 7341 _ACEOF 7342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7343 _ACEOF 7344 7345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7346 7347 # Handling of arguments. 8228 cat >&5 <<_CSEOF 8229 8230 This file was extended by $as_me, which was 8231 generated by GNU Autoconf 2.59. Invocation command line was 8232 8233 CONFIG_FILES = $CONFIG_FILES 8234 CONFIG_HEADERS = $CONFIG_HEADERS 8235 CONFIG_LINKS = $CONFIG_LINKS 8236 CONFIG_COMMANDS = $CONFIG_COMMANDS 8237 $ $0 $@ 8238 8239 _CSEOF 8240 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8241 echo >&5 8242 _ACEOF 8243 8244 # Files that config.status was made for. 8245 if test -n "$ac_config_files"; then 8246 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8247 fi 8248 8249 if test -n "$ac_config_headers"; then 8250 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8251 fi 8252 8253 if test -n "$ac_config_links"; then 8254 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8255 fi 8256 8257 if test -n "$ac_config_commands"; then 8258 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8259 fi 8260 8261 cat >>$CONFIG_STATUS <<\_ACEOF 8262 8263 ac_cs_usage="\ 8264 \`$as_me' instantiates files from templates according to the 8265 current configuration. 8266 8267 Usage: $0 [OPTIONS] [FILE]... 8268 8269 -h, --help print this help, then exit 8270 -V, --version print version number, then exit 8271 -q, --quiet do not print progress messages 8272 -d, --debug don't remove temporary files 8273 --recheck update $as_me by reconfiguring in the same conditions 8274 --file=FILE[:TEMPLATE] 8275 instantiate the configuration file FILE 8276 --header=FILE[:TEMPLATE] 8277 instantiate the configuration header FILE 8278 8279 Configuration files: 8280 $config_files 8281 8282 Configuration headers: 8283 $config_headers 8284 8285 Report bugs to <[email protected]>." 8286 _ACEOF 8287 8288 cat >>$CONFIG_STATUS <<_ACEOF 8289 ac_cs_version="\\ 8290 config.status 8291 configured by $0, generated by GNU Autoconf 2.59, 8292 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8293 8294 Copyright (C) 2003 Free Software Foundation, Inc. 8295 This config.status script is free software; the Free Software Foundation 8296 gives unlimited permission to copy, distribute and modify it." 8297 srcdir=$srcdir 8298 INSTALL="$INSTALL" 8299 _ACEOF 8300 8301 cat >>$CONFIG_STATUS <<\_ACEOF 8302 # If no file are specified by the user, then we need to provide default 8303 # value. By we need to know if files were specified by the user. 8304 ac_need_defaults=: 8305 while test $# != 0 8306 do 8307 case $1 in 8308 --*=*) 8309 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8310 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8311 ac_shift=: 8312 ;; 8313 -*) 8314 ac_option=$1 8315 ac_optarg=$2 8316 ac_shift=shift 8317 ;; 8318 *) # This is not an option, so the user has probably given explicit 8319 # arguments. 8320 ac_option=$1 8321 ac_need_defaults=false;; 8322 esac 8323 8324 case $ac_option in 8325 # Handling of the options. 8326 _ACEOF 8327 cat >>$CONFIG_STATUS <<\_ACEOF 8328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8329 ac_cs_recheck=: ;; 8330 --version | --vers* | -V ) 8331 echo "$ac_cs_version"; exit 0 ;; 8332 --he | --h) 8333 # Conflict between --help and --header 8334 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8335 Try \`$0 --help' for more information." >&5 8336 echo "$as_me: error: ambiguous option: $1 8337 Try \`$0 --help' for more information." >&2;} 8338 { (exit 1); exit 1; }; };; 8339 --help | --hel | -h ) 8340 echo "$ac_cs_usage"; exit 0 ;; 8341 --debug | --d* | -d ) 8342 debug=: ;; 8343 --file | --fil | --fi | --f ) 8344 $ac_shift 8345 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8346 ac_need_defaults=false;; 8347 --header | --heade | --head | --hea ) 8348 $ac_shift 8349 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8350 ac_need_defaults=false;; 8351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8352 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8353 ac_cs_silent=: ;; 8354 8355 # This is an error. 8356 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8357 Try \`$0 --help' for more information." >&5 8358 echo "$as_me: error: unrecognized option: $1 8359 Try \`$0 --help' for more information." >&2;} 8360 { (exit 1); exit 1; }; } ;; 8361 8362 *) ac_config_targets="$ac_config_targets $1" ;; 8363 8364 esac 8365 shift 8366 done 8367 8368 ac_configure_extra_args= 8369 8370 if $ac_cs_silent; then 8371 exec 6>/dev/null 8372 ac_configure_extra_args="$ac_configure_extra_args --silent" 8373 fi 8374 8375 _ACEOF 8376 cat >>$CONFIG_STATUS <<_ACEOF 8377 if \$ac_cs_recheck; then 8378 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8379 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8380 fi 8381 8382 _ACEOF 8383 8384 8385 8386 8387 8388 cat >>$CONFIG_STATUS <<\_ACEOF 7348 8389 for ac_config_target in $ac_config_targets 7349 8390 do 7350 case $ac_config_target in 7351 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7352 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 7353 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7354 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 7355 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 7356 7357 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 8391 case "$ac_config_target" in 8392 # Handling of arguments. 8393 "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 8394 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8395 "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;; 8396 "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 8397 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8398 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8399 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8400 { (exit 1); exit 1; }; };; 7358 8401 esac 7359 8402 done 7360 7361 8403 7362 8404 # If the user did not use the arguments to specify the items to instantiate, … … 7370 8412 7371 8413 # Have a temporary directory for convenience. Make it in the build tree 7372 # simply because there is no reason against havingit here, and in addition,8414 # simply because there is no reason to put it here, and in addition, 7373 8415 # creating and moving files from /tmp can sometimes cause problems. 7374 # Hook for its removal unless debugging. 7375 # Note that there is a small window in which the directory will not be cleaned: 7376 # after its creation but before its name has been assigned to `$tmp'. 8416 # Create a temporary directory, and hook for its removal unless debugging. 7377 8417 $debug || 7378 8418 { 7379 tmp= 7380 trap 'exit_status=$? 7381 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7382 ' 0 7383 trap 'as_fn_exit 1' 1 2 13 15 8419 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 8420 trap '{ (exit 1); exit 1; }' 1 2 13 15 7384 8421 } 8422 7385 8423 # Create a (secure) tmp directory for tmp files. 7386 8424 7387 8425 { 7388 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&8426 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 7389 8427 test -n "$tmp" && test -d "$tmp" 7390 8428 } || 7391 8429 { 7392 tmp=./conf$$-$RANDOM 7393 (umask 077 && mkdir "$tmp") 7394 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7395 7396 # Set up the scripts for CONFIG_FILES section. 7397 # No need to generate them if there are no CONFIG_FILES. 7398 # This happens for instance with `./config.status config.h'. 7399 if test -n "$CONFIG_FILES"; then 7400 7401 7402 ac_cr=`echo X | tr X '\015'` 7403 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7404 # But we know of no other shell where ac_cr would be empty at this 7405 # point, so we can use a bashism as a fallback. 7406 if test "x$ac_cr" = x; then 7407 eval ac_cr=\$\'\\r\' 7408 fi 7409 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7410 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7411 ac_cs_awk_cr='\\r' 7412 else 7413 ac_cs_awk_cr=$ac_cr 7414 fi 7415 7416 echo 'BEGIN {' >"$tmp/subs1.awk" && 7417 _ACEOF 7418 7419 8430 tmp=./confstat$$-$RANDOM 8431 (umask 077 && mkdir $tmp) 8432 } || 7420 8433 { 7421 echo "cat >conf$$subs.awk <<_ACEOF" && 7422 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7423 echo "_ACEOF" 7424 } >conf$$subs.sh || 7425 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7426 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7427 ac_delim='%!_!# ' 7428 for ac_last_try in false false false false false :; do 7429 . ./conf$$subs.sh || 7430 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7431 7432 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7433 if test $ac_delim_n = $ac_delim_num; then 7434 break 7435 elif $ac_last_try; then 7436 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7437 else 7438 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8434 echo "$me: cannot create a temporary directory in ." >&2 8435 { (exit 1); exit 1; } 8436 } 8437 8438 _ACEOF 8439 8440 cat >>$CONFIG_STATUS <<_ACEOF 8441 8442 # 8443 # CONFIG_FILES section. 8444 # 8445 8446 # No need to generate the scripts if there are no CONFIG_FILES. 8447 # This happens for instance when ./config.status config.h 8448 if test -n "\$CONFIG_FILES"; then 8449 # Protect against being on the right side of a sed subst in config.status. 8450 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8451 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8452 s,@SHELL@,$SHELL,;t t 8453 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8454 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8455 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8456 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8457 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8458 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8459 s,@exec_prefix@,$exec_prefix,;t t 8460 s,@prefix@,$prefix,;t t 8461 s,@program_transform_name@,$program_transform_name,;t t 8462 s,@bindir@,$bindir,;t t 8463 s,@sbindir@,$sbindir,;t t 8464 s,@libexecdir@,$libexecdir,;t t 8465 s,@datadir@,$datadir,;t t 8466 s,@sysconfdir@,$sysconfdir,;t t 8467 s,@sharedstatedir@,$sharedstatedir,;t t 8468 s,@localstatedir@,$localstatedir,;t t 8469 s,@libdir@,$libdir,;t t 8470 s,@includedir@,$includedir,;t t 8471 s,@oldincludedir@,$oldincludedir,;t t 8472 s,@infodir@,$infodir,;t t 8473 s,@mandir@,$mandir,;t t 8474 s,@build_alias@,$build_alias,;t t 8475 s,@host_alias@,$host_alias,;t t 8476 s,@target_alias@,$target_alias,;t t 8477 s,@DEFS@,$DEFS,;t t 8478 s,@ECHO_C@,$ECHO_C,;t t 8479 s,@ECHO_N@,$ECHO_N,;t t 8480 s,@ECHO_T@,$ECHO_T,;t t 8481 s,@LIBS@,$LIBS,;t t 8482 s,@PACKAGE@,$PACKAGE,;t t 8483 s,@VERSION@,$VERSION,;t t 8484 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8485 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8486 s,@USE_CORBA@,$USE_CORBA,;t t 8487 s,@MICO_DIR@,$MICO_DIR,;t t 8488 s,@USE_Z3950@,$USE_Z3950,;t t 8489 s,@USE_YAZ@,$USE_YAZ,;t t 8490 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8491 s,@USE_JDBM@,$USE_JDBM,;t t 8492 s,@USE_GDBM@,$USE_GDBM,;t t 8493 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8494 s,@USE_SQLITE@,$USE_SQLITE,;t t 8495 s,@ENABLE_JNI@,$ENABLE_JNI,;t t 8496 s,@ENABLE_MG@,$ENABLE_MG,;t t 8497 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8498 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8499 s,@LDFLAGS@,$LDFLAGS,;t t 8500 s,@CFLAGS@,$CFLAGS,;t t 8501 s,@CC@,$CC,;t t 8502 s,@CPPFLAGS@,$CPPFLAGS,;t t 8503 s,@ac_ct_CC@,$ac_ct_CC,;t t 8504 s,@EXEEXT@,$EXEEXT,;t t 8505 s,@OBJEXT@,$OBJEXT,;t t 8506 s,@CXX@,$CXX,;t t 8507 s,@CXXFLAGS@,$CXXFLAGS,;t t 8508 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8509 s,@JAVA@,$JAVA,;t t 8510 s,@uudecode@,$uudecode,;t t 8511 s,@JAVAC@,$JAVAC,;t t 8512 s,@JAVACFLAGS@,$JAVACFLAGS,;t t 8513 s,@AWK@,$AWK,;t t 8514 s,@YACC@,$YACC,;t t 8515 s,@build@,$build,;t t 8516 s,@build_cpu@,$build_cpu,;t t 8517 s,@build_vendor@,$build_vendor,;t t 8518 s,@build_os@,$build_os,;t t 8519 s,@host@,$host,;t t 8520 s,@host_cpu@,$host_cpu,;t t 8521 s,@host_vendor@,$host_vendor,;t t 8522 s,@host_os@,$host_os,;t t 8523 s,@target@,$target,;t t 8524 s,@target_cpu@,$target_cpu,;t t 8525 s,@target_vendor@,$target_vendor,;t t 8526 s,@target_os@,$target_os,;t t 8527 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8528 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8529 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8530 s,@LN_S@,$LN_S,;t t 8531 s,@SET_MAKE@,$SET_MAKE,;t t 8532 s,@RANLIB@,$RANLIB,;t t 8533 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8534 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8535 s,@MICO_VER@,$MICO_VER,;t t 8536 s,@CPP@,$CPP,;t t 8537 s,@EGREP@,$EGREP,;t t 8538 s,@U@,$U,;t t 8539 s,@ANSI2KNR@,$ANSI2KNR,;t t 8540 s,@ALLOCA@,$ALLOCA,;t t 8541 s,@LIBOBJS@,$LIBOBJS,;t t 8542 s,@STATIC@,$STATIC,;t t 8543 s,@gsdlos@,$gsdlos,;t t 8544 s,@MODULEDIRS@,$MODULEDIRS,;t t 8545 s,@subdirs@,$subdirs,;t t 8546 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8547 CEOF 8548 8549 _ACEOF 8550 8551 cat >>$CONFIG_STATUS <<\_ACEOF 8552 # Split the substitutions into bite-sized pieces for seds with 8553 # small command number limits, like on Digital OSF/1 and HP-UX. 8554 ac_max_sed_lines=48 8555 ac_sed_frag=1 # Number of current file. 8556 ac_beg=1 # First line for current file. 8557 ac_end=$ac_max_sed_lines # Line after last line for current file. 8558 ac_more_lines=: 8559 ac_sed_cmds= 8560 while $ac_more_lines; do 8561 if test $ac_beg -gt 1; then 8562 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8563 else 8564 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8565 fi 8566 if test ! -s $tmp/subs.frag; then 8567 ac_more_lines=false 8568 else 8569 # The purpose of the label and of the branching condition is to 8570 # speed up the sed processing (if there are no `@' at all, there 8571 # is no need to browse any of the substitutions). 8572 # These are the two extra sed commands mentioned above. 8573 (echo ':t 8574 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8575 if test -z "$ac_sed_cmds"; then 8576 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8577 else 8578 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8579 fi 8580 ac_sed_frag=`expr $ac_sed_frag + 1` 8581 ac_beg=$ac_end 8582 ac_end=`expr $ac_end + $ac_max_sed_lines` 8583 fi 8584 done 8585 if test -z "$ac_sed_cmds"; then 8586 ac_sed_cmds=cat 7439 8587 fi 7440 done7441 rm -f conf$$subs.sh7442 7443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=17444 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&7445 _ACEOF7446 sed -n '7447 h7448 s/^/S["/; s/!.*/"]=/7449 p7450 g7451 s/^[^!]*!//7452 :repl7453 t repl7454 s/'"$ac_delim"'$//7455 t delim7456 :nl7457 h7458 s/\(.\{148\}\)..*/\1/7459 t more17460 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/7461 p7462 n7463 b repl7464 :more17465 s/["\\]/\\&/g; s/^/"/; s/$/"\\/7466 p7467 g7468 s/.\{148\}//7469 t nl7470 :delim7471 h7472 s/\(.\{148\}\)..*/\1/7473 t more27474 s/["\\]/\\&/g; s/^/"/; s/$/"/7475 p7476 b7477 :more27478 s/["\\]/\\&/g; s/^/"/; s/$/"\\/7479 p7480 g7481 s/.\{148\}//7482 t delim7483 ' <conf$$subs.awk | sed '7484 /^[^""]/{7485 N7486 s/\n//7487 }7488 ' >>$CONFIG_STATUS || ac_write_fail=17489 rm -f conf$$subs.awk7490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=17491 _ACAWK7492 cat >>"\$tmp/subs1.awk" <<_ACAWK &&7493 for (key in S) S_is_set[key] = 17494 FS = ""7495 7496 }7497 {7498 line = $ 07499 nfields = split(line, field, "@")7500 substed = 07501 len = length(field[1])7502 for (i = 2; i < nfields; i++) {7503 key = field[i]7504 keylen = length(key)7505 if (S_is_set[key]) {7506 value = S[key]7507 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)7508 len += length(value) + length(field[++i])7509 substed = 17510 } else7511 len += 1 + keylen7512 }7513 7514 print line7515 }7516 7517 _ACAWK7518 _ACEOF7519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=17520 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then7521 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"7522 else7523 cat7524 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \7525 || as_fn_error $? "could not setup config files machinery" "$LINENO" 57526 _ACEOF7527 7528 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),7529 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and7530 # trailing colons and then remove the whole line if VPATH becomes empty7531 # (actually we leave an empty line to preserve line numbers).7532 if test "x$srcdir" = x.; then7533 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{7534 h7535 s///7536 s/^/:/7537 s/[ ]*$/:/7538 s/:\$(srcdir):/:/g7539 s/:\${srcdir}:/:/g7540 s/:@srcdir@:/:/g7541 s/^:*//7542 s/:*$//7543 x7544 s/\(=[ ]*\).*/\1/7545 G7546 s/\n//7547 s/^[^=]*=[ ]*$//7548 }'7549 fi7550 7551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=17552 8588 fi # test -n "$CONFIG_FILES" 7553 8589 7554 # Set up the scripts for CONFIG_HEADERS section. 7555 # No need to generate them if there are no CONFIG_HEADERS. 7556 # This happens for instance with `./config.status Makefile'. 7557 if test -n "$CONFIG_HEADERS"; then 7558 cat >"$tmp/defines.awk" <<\_ACAWK || 7559 BEGIN { 7560 _ACEOF 7561 7562 # Transform confdefs.h into an awk script `defines.awk', embedded as 7563 # here-document in config.status, that substitutes the proper values into 7564 # config.h.in to produce config.h. 7565 7566 # Create a delimiter string that does not exist in confdefs.h, to ease 7567 # handling of long lines. 7568 ac_delim='%!_!# ' 7569 for ac_last_try in false false :; do 7570 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7571 if test -z "$ac_t"; then 7572 break 7573 elif $ac_last_try; then 7574 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7575 else 7576 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7577 fi 7578 done 7579 7580 # For the awk script, D is an array of macro values keyed by name, 7581 # likewise P contains macro parameters if any. Preserve backslash 7582 # newline sequences. 7583 7584 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7585 sed -n ' 7586 s/.\{148\}/&'"$ac_delim"'/g 7587 t rset 7588 :rset 7589 s/^[ ]*#[ ]*define[ ][ ]*/ / 7590 t def 7591 d 7592 :def 7593 s/\\$// 7594 t bsnl 7595 s/["\\]/\\&/g 7596 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7597 D["\1"]=" \3"/p 7598 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7599 d 7600 :bsnl 7601 s/["\\]/\\&/g 7602 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7603 D["\1"]=" \3\\\\\\n"\\/p 7604 t cont 7605 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7606 t cont 7607 d 7608 :cont 7609 n 7610 s/.\{148\}/&'"$ac_delim"'/g 7611 t clear 7612 :clear 7613 s/\\$// 7614 t bsnlc 7615 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7616 d 7617 :bsnlc 7618 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7619 b cont 7620 ' <confdefs.h | sed ' 7621 s/'"$ac_delim"'/"\\\ 7622 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7623 7624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7625 for (key in D) D_is_set[key] = 1 7626 FS = "" 7627 } 7628 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7629 line = \$ 0 7630 split(line, arg, " ") 7631 if (arg[1] == "#") { 7632 defundef = arg[2] 7633 mac1 = arg[3] 7634 } else { 7635 defundef = substr(arg[1], 2) 7636 mac1 = arg[2] 7637 } 7638 split(mac1, mac2, "(") #) 7639 macro = mac2[1] 7640 prefix = substr(line, 1, index(line, defundef) - 1) 7641 if (D_is_set[macro]) { 7642 # Preserve the white space surrounding the "#". 7643 print prefix "define", macro P[macro] D[macro] 7644 next 7645 } else { 7646 # Replace #undef with comments. This is necessary, for example, 7647 # in the case of _POSIX_SOURCE, which is predefined and required 7648 # on some systems where configure will not decide to define it. 7649 if (defundef == "undef") { 7650 print "/*", prefix defundef, macro, "*/" 7651 next 7652 } 7653 } 7654 } 7655 { print } 7656 _ACAWK 7657 _ACEOF 7658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7659 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7660 fi # test -n "$CONFIG_HEADERS" 7661 7662 7663 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7664 shift 7665 for ac_tag 7666 do 7667 case $ac_tag in 7668 :[FHLC]) ac_mode=$ac_tag; continue;; 8590 _ACEOF 8591 cat >>$CONFIG_STATUS <<\_ACEOF 8592 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8593 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8594 case $ac_file in 8595 - | *:- | *:-:* ) # input from stdin 8596 cat >$tmp/stdin 8597 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8598 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8599 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8600 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8601 * ) ac_file_in=$ac_file.in ;; 7669 8602 esac 7670 case $ac_mode$ac_tag in 7671 :[FHL]*:*);; 7672 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 7673 :[FH]-) ac_tag=-:-;; 7674 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7675 esac 7676 ac_save_IFS=$IFS 7677 IFS=: 7678 set x $ac_tag 7679 IFS=$ac_save_IFS 7680 shift 7681 ac_file=$1 7682 shift 7683 7684 case $ac_mode in 7685 :L) ac_source=$1;; 7686 :[FH]) 7687 ac_file_inputs= 7688 for ac_f 7689 do 7690 case $ac_f in 7691 -) ac_f="$tmp/stdin";; 7692 *) # Look for the file first in the build tree, then in the source tree 7693 # (if the path is not absolute). The absolute path cannot be DOS-style, 7694 # because $ac_f cannot contain `:'. 7695 test -f "$ac_f" || 7696 case $ac_f in 7697 [\\/$]*) false;; 7698 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7699 esac || 7700 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 7701 esac 7702 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7703 as_fn_append ac_file_inputs " '$ac_f'" 7704 done 7705 7706 # Let's still pretend it is `configure' which instantiates (i.e., don't 7707 # use $as_me), people would be surprised to read: 7708 # /* config.h. Generated by config.status. */ 7709 configure_input='Generated from '` 7710 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7711 `' by configure.' 7712 if test x"$ac_file" != x-; then 7713 configure_input="$ac_file. $configure_input" 7714 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7715 $as_echo "$as_me: creating $ac_file" >&6;} 7716 fi 7717 # Neutralize special characters interpreted by sed in replacement strings. 7718 case $configure_input in #( 7719 *\&* | *\|* | *\\* ) 7720 ac_sed_conf_input=`$as_echo "$configure_input" | 7721 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7722 *) ac_sed_conf_input=$configure_input;; 7723 esac 7724 7725 case $ac_tag in 7726 *:-:* | *:-) cat >"$tmp/stdin" \ 7727 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7728 esac 7729 ;; 7730 esac 7731 7732 ac_dir=`$as_dirname -- "$ac_file" || 8603 8604 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8605 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7733 8606 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7734 8607 X"$ac_file" : 'X\(//\)[^/]' \| \ 7735 8608 X"$ac_file" : 'X\(//\)$' \| \ 7736 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7737 $as_echo X"$ac_file" | 7738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7739 s//\1/ 7740 q 7741 } 7742 /^X\(\/\/\)[^/].*/{ 7743 s//\1/ 7744 q 7745 } 7746 /^X\(\/\/\)$/{ 7747 s//\1/ 7748 q 7749 } 7750 /^X\(\/\).*/{ 7751 s//\1/ 7752 q 7753 } 7754 s/.*/./; q'` 7755 as_dir="$ac_dir"; as_fn_mkdir_p 8609 X"$ac_file" : 'X\(/\)' \| \ 8610 . : '\(.\)' 2>/dev/null || 8611 echo X"$ac_file" | 8612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8613 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8614 /^X\(\/\/\)$/{ s//\1/; q; } 8615 /^X\(\/\).*/{ s//\1/; q; } 8616 s/.*/./; q'` 8617 { if $as_mkdir_p; then 8618 mkdir -p "$ac_dir" 8619 else 8620 as_dir="$ac_dir" 8621 as_dirs= 8622 while test ! -d "$as_dir"; do 8623 as_dirs="$as_dir $as_dirs" 8624 as_dir=`(dirname "$as_dir") 2>/dev/null || 8625 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8626 X"$as_dir" : 'X\(//\)[^/]' \| \ 8627 X"$as_dir" : 'X\(//\)$' \| \ 8628 X"$as_dir" : 'X\(/\)' \| \ 8629 . : '\(.\)' 2>/dev/null || 8630 echo X"$as_dir" | 8631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8632 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8633 /^X\(\/\/\)$/{ s//\1/; q; } 8634 /^X\(\/\).*/{ s//\1/; q; } 8635 s/.*/./; q'` 8636 done 8637 test ! -n "$as_dirs" || mkdir $as_dirs 8638 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8639 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8640 { (exit 1); exit 1; }; }; } 8641 7756 8642 ac_builddir=. 7757 8643 7758 case "$ac_dir" in 7759 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8644 if test "$ac_dir" != .; then 8645 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8646 # A "../" for each directory in $ac_dir_suffix. 8647 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8648 else 8649 ac_dir_suffix= ac_top_builddir= 8650 fi 8651 8652 case $srcdir in 8653 .) # No --srcdir option. We are building in place. 8654 ac_srcdir=. 8655 if test -z "$ac_top_builddir"; then 8656 ac_top_srcdir=. 8657 else 8658 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8659 fi ;; 8660 [\\/]* | ?:[\\/]* ) # Absolute path. 8661 ac_srcdir=$srcdir$ac_dir_suffix; 8662 ac_top_srcdir=$srcdir ;; 8663 *) # Relative path. 8664 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8665 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8666 esac 8667 8668 # Do not use `cd foo && pwd` to compute absolute paths, because 8669 # the directories may not exist. 8670 case `pwd` in 8671 .) ac_abs_builddir="$ac_dir";; 7760 8672 *) 7761 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7762 # A ".." for each directory in $ac_dir_suffix. 7763 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7764 case $ac_top_builddir_sub in 7765 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7766 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7767 esac ;; 8673 case "$ac_dir" in 8674 .) ac_abs_builddir=`pwd`;; 8675 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8676 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8677 esac;; 7768 8678 esac 7769 ac_abs_top_builddir=$ac_pwd 7770 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7771 # for backward compatibility: 7772 ac_top_builddir=$ac_top_build_prefix 7773 7774 case $srcdir in 7775 .) # We are building in place. 7776 ac_srcdir=. 7777 ac_top_srcdir=$ac_top_builddir_sub 7778 ac_abs_top_srcdir=$ac_pwd ;; 7779 [\\/]* | ?:[\\/]* ) # Absolute name. 7780 ac_srcdir=$srcdir$ac_dir_suffix; 7781 ac_top_srcdir=$srcdir 7782 ac_abs_top_srcdir=$srcdir ;; 7783 *) # Relative name. 7784 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7785 ac_top_srcdir=$ac_top_build_prefix$srcdir 7786 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8679 case $ac_abs_builddir in 8680 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8681 *) 8682 case ${ac_top_builddir}. in 8683 .) ac_abs_top_builddir=$ac_abs_builddir;; 8684 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8685 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8686 esac;; 7787 8687 esac 7788 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7789 7790 7791 case $ac_mode in 7792 :F) 7793 # 7794 # CONFIG_FILE 7795 # 8688 case $ac_abs_builddir in 8689 .) ac_abs_srcdir=$ac_srcdir;; 8690 *) 8691 case $ac_srcdir in 8692 .) ac_abs_srcdir=$ac_abs_builddir;; 8693 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8694 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8695 esac;; 8696 esac 8697 case $ac_abs_builddir in 8698 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8699 *) 8700 case $ac_top_srcdir in 8701 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8702 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8703 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8704 esac;; 8705 esac 8706 7796 8707 7797 8708 case $INSTALL in 7798 8709 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7799 *) ac_INSTALL=$ac_top_build _prefix$INSTALL ;;8710 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 7800 8711 esac 7801 _ACEOF 7802 7803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7804 # If the template does not know about datarootdir, expand it. 7805 # FIXME: This hack should be removed a few years after 2.60. 7806 ac_datarootdir_hack=; ac_datarootdir_seen= 7807 ac_sed_dataroot=' 7808 /datarootdir/ { 7809 p 7810 q 7811 } 7812 /@datadir@/p 7813 /@docdir@/p 7814 /@infodir@/p 7815 /@localedir@/p 7816 /@mandir@/p' 7817 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7818 *datarootdir*) ac_datarootdir_seen=yes;; 7819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7821 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7822 _ACEOF 7823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7824 ac_datarootdir_hack=' 7825 s&@datadir@&$datadir&g 7826 s&@docdir@&$docdir&g 7827 s&@infodir@&$infodir&g 7828 s&@localedir@&$localedir&g 7829 s&@mandir@&$mandir&g 7830 s&\\\${datarootdir}&$datarootdir&g' ;; 7831 esac 7832 _ACEOF 7833 7834 # Neutralize VPATH when `$srcdir' = `.'. 7835 # Shell code in configure.ac might set extrasub. 7836 # FIXME: do we really want to maintain this feature? 7837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7838 ac_sed_extra="$ac_vpsub 8712 8713 if test x"$ac_file" != x-; then 8714 { echo "$as_me:$LINENO: creating $ac_file" >&5 8715 echo "$as_me: creating $ac_file" >&6;} 8716 rm -f "$ac_file" 8717 fi 8718 # Let's still pretend it is `configure' which instantiates (i.e., don't 8719 # use $as_me), people would be surprised to read: 8720 # /* config.h. Generated by config.status. */ 8721 if test x"$ac_file" = x-; then 8722 configure_input= 8723 else 8724 configure_input="$ac_file. " 8725 fi 8726 configure_input=$configure_input"Generated from `echo $ac_file_in | 8727 sed 's,.*/,,'` by configure." 8728 8729 # First look for the input files in the build tree, otherwise in the 8730 # src tree. 8731 ac_file_inputs=`IFS=: 8732 for f in $ac_file_in; do 8733 case $f in 8734 -) echo $tmp/stdin ;; 8735 [\\/$]*) 8736 # Absolute (can't be DOS-style, as IFS=:) 8737 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8738 echo "$as_me: error: cannot find input file: $f" >&2;} 8739 { (exit 1); exit 1; }; } 8740 echo "$f";; 8741 *) # Relative 8742 if test -f "$f"; then 8743 # Build tree 8744 echo "$f" 8745 elif test -f "$srcdir/$f"; then 8746 # Source tree 8747 echo "$srcdir/$f" 8748 else 8749 # /dev/null tree 8750 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8751 echo "$as_me: error: cannot find input file: $f" >&2;} 8752 { (exit 1); exit 1; }; } 8753 fi;; 8754 esac 8755 done` || { (exit 1); exit 1; } 8756 _ACEOF 8757 cat >>$CONFIG_STATUS <<_ACEOF 8758 sed "$ac_vpsub 7839 8759 $extrasub 7840 8760 _ACEOF 7841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=18761 cat >>$CONFIG_STATUS <<\_ACEOF 7842 8762 :t 7843 8763 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7844 s|@configure_input@|$ac_sed_conf_input|;t t 7845 s&@top_builddir@&$ac_top_builddir_sub&;t t 7846 s&@top_build_prefix@&$ac_top_build_prefix&;t t 7847 s&@srcdir@&$ac_srcdir&;t t 7848 s&@abs_srcdir@&$ac_abs_srcdir&;t t 7849 s&@top_srcdir@&$ac_top_srcdir&;t t 7850 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7851 s&@builddir@&$ac_builddir&;t t 7852 s&@abs_builddir@&$ac_abs_builddir&;t t 7853 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7854 s&@INSTALL@&$ac_INSTALL&;t t 7855 $ac_datarootdir_hack 7856 " 7857 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7859 7860 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7861 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7862 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7864 which seems to be undefined. Please make sure it is defined" >&5 7865 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7866 which seems to be undefined. Please make sure it is defined" >&2;} 7867 7868 rm -f "$tmp/stdin" 8764 s,@configure_input@,$configure_input,;t t 8765 s,@srcdir@,$ac_srcdir,;t t 8766 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8767 s,@top_srcdir@,$ac_top_srcdir,;t t 8768 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8769 s,@builddir@,$ac_builddir,;t t 8770 s,@abs_builddir@,$ac_abs_builddir,;t t 8771 s,@top_builddir@,$ac_top_builddir,;t t 8772 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8773 s,@INSTALL@,$ac_INSTALL,;t t 8774 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8775 rm -f $tmp/stdin 8776 if test x"$ac_file" != x-; then 8777 mv $tmp/out $ac_file 8778 else 8779 cat $tmp/out 8780 rm -f $tmp/out 8781 fi 8782 8783 done 8784 _ACEOF 8785 cat >>$CONFIG_STATUS <<\_ACEOF 8786 8787 # 8788 # CONFIG_HEADER section. 8789 # 8790 8791 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8792 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8793 # 8794 # ac_d sets the value in "#define NAME VALUE" lines. 8795 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8796 ac_dB='[ ].*$,\1#\2' 8797 ac_dC=' ' 8798 ac_dD=',;t' 8799 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8800 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8801 ac_uB='$,\1#\2define\3' 8802 ac_uC=' ' 8803 ac_uD=',;t' 8804 8805 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8806 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7869 8807 case $ac_file in 7870 -) cat "$tmp/out" && rm -f "$tmp/out";; 7871 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7872 esac \ 7873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7874 ;; 7875 :H) 7876 # 7877 # CONFIG_HEADER 7878 # 8808 - | *:- | *:-:* ) # input from stdin 8809 cat >$tmp/stdin 8810 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8811 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8812 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8813 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8814 * ) ac_file_in=$ac_file.in ;; 8815 esac 8816 8817 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8818 echo "$as_me: creating $ac_file" >&6;} 8819 8820 # First look for the input files in the build tree, otherwise in the 8821 # src tree. 8822 ac_file_inputs=`IFS=: 8823 for f in $ac_file_in; do 8824 case $f in 8825 -) echo $tmp/stdin ;; 8826 [\\/$]*) 8827 # Absolute (can't be DOS-style, as IFS=:) 8828 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8829 echo "$as_me: error: cannot find input file: $f" >&2;} 8830 { (exit 1); exit 1; }; } 8831 # Do quote $f, to prevent DOS paths from being IFS'd. 8832 echo "$f";; 8833 *) # Relative 8834 if test -f "$f"; then 8835 # Build tree 8836 echo "$f" 8837 elif test -f "$srcdir/$f"; then 8838 # Source tree 8839 echo "$srcdir/$f" 8840 else 8841 # /dev/null tree 8842 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8843 echo "$as_me: error: cannot find input file: $f" >&2;} 8844 { (exit 1); exit 1; }; } 8845 fi;; 8846 esac 8847 done` || { (exit 1); exit 1; } 8848 # Remove the trailing spaces. 8849 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8850 8851 _ACEOF 8852 8853 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8854 # `conftest.undefs', that substitutes the proper values into 8855 # config.h.in to produce config.h. The first handles `#define' 8856 # templates, and the second `#undef' templates. 8857 # And first: Protect against being on the right side of a sed subst in 8858 # config.status. Protect against being in an unquoted here document 8859 # in config.status. 8860 rm -f conftest.defines conftest.undefs 8861 # Using a here document instead of a string reduces the quoting nightmare. 8862 # Putting comments in sed scripts is not portable. 8863 # 8864 # `end' is used to avoid that the second main sed command (meant for 8865 # 0-ary CPP macros) applies to n-ary macro definitions. 8866 # See the Autoconf documentation for `clear'. 8867 cat >confdef2sed.sed <<\_ACEOF 8868 s/[\\&,]/\\&/g 8869 s,[\\$`],\\&,g 8870 t clear 8871 : clear 8872 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8873 t end 8874 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8875 : end 8876 _ACEOF 8877 # If some macros were called several times there might be several times 8878 # the same #defines, which is useless. Nevertheless, we may not want to 8879 # sort them, since we want the *last* AC-DEFINE to be honored. 8880 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8881 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8882 rm -f confdef2sed.sed 8883 8884 # This sed command replaces #undef with comments. This is necessary, for 8885 # example, in the case of _POSIX_SOURCE, which is predefined and required 8886 # on some systems where configure will not decide to define it. 8887 cat >>conftest.undefs <<\_ACEOF 8888 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8889 _ACEOF 8890 8891 # Break up conftest.defines because some shells have a limit on the size 8892 # of here documents, and old seds have small limits too (100 cmds). 8893 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8894 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8895 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8896 echo ' :' >>$CONFIG_STATUS 8897 rm -f conftest.tail 8898 while grep . conftest.defines >/dev/null 8899 do 8900 # Write a limited-size here document to $tmp/defines.sed. 8901 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8902 # Speed up: don't consider the non `#define' lines. 8903 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8904 # Work around the forget-to-reset-the-flag bug. 8905 echo 't clr' >>$CONFIG_STATUS 8906 echo ': clr' >>$CONFIG_STATUS 8907 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 8908 echo 'CEOF 8909 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8910 rm -f $tmp/in 8911 mv $tmp/out $tmp/in 8912 ' >>$CONFIG_STATUS 8913 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 8914 rm -f conftest.defines 8915 mv conftest.tail conftest.defines 8916 done 8917 rm -f conftest.defines 8918 echo ' fi # grep' >>$CONFIG_STATUS 8919 echo >>$CONFIG_STATUS 8920 8921 # Break up conftest.undefs because some shells have a limit on the size 8922 # of here documents, and old seds have small limits too (100 cmds). 8923 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8924 rm -f conftest.tail 8925 while grep . conftest.undefs >/dev/null 8926 do 8927 # Write a limited-size here document to $tmp/undefs.sed. 8928 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8929 # Speed up: don't consider the non `#undef' 8930 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8931 # Work around the forget-to-reset-the-flag bug. 8932 echo 't clr' >>$CONFIG_STATUS 8933 echo ': clr' >>$CONFIG_STATUS 8934 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8935 echo 'CEOF 8936 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8937 rm -f $tmp/in 8938 mv $tmp/out $tmp/in 8939 ' >>$CONFIG_STATUS 8940 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8941 rm -f conftest.undefs 8942 mv conftest.tail conftest.undefs 8943 done 8944 rm -f conftest.undefs 8945 8946 cat >>$CONFIG_STATUS <<\_ACEOF 8947 # Let's still pretend it is `configure' which instantiates (i.e., don't 8948 # use $as_me), people would be surprised to read: 8949 # /* config.h. Generated by config.status. */ 8950 if test x"$ac_file" = x-; then 8951 echo "/* Generated by configure. */" >$tmp/config.h 8952 else 8953 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 8954 fi 8955 cat $tmp/in >>$tmp/config.h 8956 rm -f $tmp/in 7879 8957 if test x"$ac_file" != x-; then 7880 { 7881 $as_echo "/* $configure_input */" \ 7882 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7883 } >"$tmp/config.h" \ 7884 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7885 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7886 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7887 $as_echo "$as_me: $ac_file is unchanged" >&6;} 8958 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8959 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8960 echo "$as_me: $ac_file is unchanged" >&6;} 7888 8961 else 7889 rm -f "$ac_file" 7890 mv "$tmp/config.h" "$ac_file" \ 7891 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8962 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8963 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8964 X"$ac_file" : 'X\(//\)[^/]' \| \ 8965 X"$ac_file" : 'X\(//\)$' \| \ 8966 X"$ac_file" : 'X\(/\)' \| \ 8967 . : '\(.\)' 2>/dev/null || 8968 echo X"$ac_file" | 8969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8970 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8971 /^X\(\/\/\)$/{ s//\1/; q; } 8972 /^X\(\/\).*/{ s//\1/; q; } 8973 s/.*/./; q'` 8974 { if $as_mkdir_p; then 8975 mkdir -p "$ac_dir" 8976 else 8977 as_dir="$ac_dir" 8978 as_dirs= 8979 while test ! -d "$as_dir"; do 8980 as_dirs="$as_dir $as_dirs" 8981 as_dir=`(dirname "$as_dir") 2>/dev/null || 8982 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8983 X"$as_dir" : 'X\(//\)[^/]' \| \ 8984 X"$as_dir" : 'X\(//\)$' \| \ 8985 X"$as_dir" : 'X\(/\)' \| \ 8986 . : '\(.\)' 2>/dev/null || 8987 echo X"$as_dir" | 8988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8989 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8990 /^X\(\/\/\)$/{ s//\1/; q; } 8991 /^X\(\/\).*/{ s//\1/; q; } 8992 s/.*/./; q'` 8993 done 8994 test ! -n "$as_dirs" || mkdir $as_dirs 8995 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8996 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8997 { (exit 1); exit 1; }; }; } 8998 8999 rm -f $ac_file 9000 mv $tmp/config.h $ac_file 7892 9001 fi 7893 9002 else 7894 $as_echo "/* $configure_input */" \ 7895 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7896 || as_fn_error $? "could not create -" "$LINENO" 5 9003 cat $tmp/config.h 9004 rm -f $tmp/config.h 7897 9005 fi 7898 ;; 7899 7900 7901 esac 7902 7903 done # for ac_tag 7904 7905 7906 as_fn_exit 0 7907 _ACEOF 9006 done 9007 _ACEOF 9008 9009 cat >>$CONFIG_STATUS <<\_ACEOF 9010 9011 { (exit 0); exit 0; } 9012 _ACEOF 9013 chmod +x $CONFIG_STATUS 7908 9014 ac_clean_files=$ac_clean_files_save 7909 7910 test $ac_write_fail = 0 ||7911 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 57912 9015 7913 9016 … … 7930 9033 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7931 9034 # would make configure fail if this is the last instruction. 7932 $ac_cs_success || as_fn_exit 19035 $ac_cs_success || { (exit 1); exit 1; } 7933 9036 fi 7934 9037 … … 7938 9041 if test "$no_recursion" != yes; then 7939 9042 7940 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 7941 # so they do not pile up. 9043 # Remove --cache-file and --srcdir arguments so they do not pile up. 7942 9044 ac_sub_configure_args= 7943 9045 ac_prev= 7944 eval "set x $ac_configure_args" 7945 shift 7946 for ac_arg 7947 do 9046 for ac_arg in $ac_configure_args; do 7948 9047 if test -n "$ac_prev"; then 7949 9048 ac_prev= … … 7968 9067 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 7969 9068 ;; 7970 --disable-option-checking) 7971 ;; 7972 *) 7973 case $ac_arg in 7974 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 7975 esac 7976 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 9069 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 7977 9070 esac 7978 9071 done … … 7980 9073 # Always prepend --prefix to ensure using the same prefix 7981 9074 # in subdir configurations. 7982 ac_arg="--prefix=$prefix" 7983 case $ac_arg in 7984 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 7985 esac 7986 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 7987 7988 # Pass --silent 7989 if test "$silent" = yes; then 7990 ac_sub_configure_args="--silent $ac_sub_configure_args" 7991 fi 7992 7993 # Always prepend --disable-option-checking to silence warnings, since 7994 # different subdirs can have different --enable and --with options. 7995 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 9075 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 7996 9076 7997 9077 ac_popdir=`pwd` … … 8000 9080 # Do not complain, so a configure script can configure whichever 8001 9081 # parts of a large source tree are present. 8002 test -d "$srcdir/$ac_dir" || continue 8003 8004 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 8005 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 8006 $as_echo "$ac_msg" >&6 8007 as_dir="$ac_dir"; as_fn_mkdir_p 9082 test -d $srcdir/$ac_dir || continue 9083 9084 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 9085 echo "$as_me: configuring in $ac_dir" >&6;} 9086 { if $as_mkdir_p; then 9087 mkdir -p "$ac_dir" 9088 else 9089 as_dir="$ac_dir" 9090 as_dirs= 9091 while test ! -d "$as_dir"; do 9092 as_dirs="$as_dir $as_dirs" 9093 as_dir=`(dirname "$as_dir") 2>/dev/null || 9094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9095 X"$as_dir" : 'X\(//\)[^/]' \| \ 9096 X"$as_dir" : 'X\(//\)$' \| \ 9097 X"$as_dir" : 'X\(/\)' \| \ 9098 . : '\(.\)' 2>/dev/null || 9099 echo X"$as_dir" | 9100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9101 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9102 /^X\(\/\/\)$/{ s//\1/; q; } 9103 /^X\(\/\).*/{ s//\1/; q; } 9104 s/.*/./; q'` 9105 done 9106 test ! -n "$as_dirs" || mkdir $as_dirs 9107 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9108 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9109 { (exit 1); exit 1; }; }; } 9110 8008 9111 ac_builddir=. 8009 9112 8010 case "$ac_dir" in 8011 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9113 if test "$ac_dir" != .; then 9114 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9115 # A "../" for each directory in $ac_dir_suffix. 9116 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9117 else 9118 ac_dir_suffix= ac_top_builddir= 9119 fi 9120 9121 case $srcdir in 9122 .) # No --srcdir option. We are building in place. 9123 ac_srcdir=. 9124 if test -z "$ac_top_builddir"; then 9125 ac_top_srcdir=. 9126 else 9127 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9128 fi ;; 9129 [\\/]* | ?:[\\/]* ) # Absolute path. 9130 ac_srcdir=$srcdir$ac_dir_suffix; 9131 ac_top_srcdir=$srcdir ;; 9132 *) # Relative path. 9133 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9134 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9135 esac 9136 9137 # Do not use `cd foo && pwd` to compute absolute paths, because 9138 # the directories may not exist. 9139 case `pwd` in 9140 .) ac_abs_builddir="$ac_dir";; 8012 9141 *) 8013 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8014 # A ".." for each directory in $ac_dir_suffix. 8015 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8016 case $ac_top_builddir_sub in 8017 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8018 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8019 esac ;; 9142 case "$ac_dir" in 9143 .) ac_abs_builddir=`pwd`;; 9144 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9145 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9146 esac;; 8020 9147 esac 8021 ac_abs_top_builddir=$ac_pwd 8022 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8023 # for backward compatibility: 8024 ac_top_builddir=$ac_top_build_prefix 8025 8026 case $srcdir in 8027 .) # We are building in place. 8028 ac_srcdir=. 8029 ac_top_srcdir=$ac_top_builddir_sub 8030 ac_abs_top_srcdir=$ac_pwd ;; 8031 [\\/]* | ?:[\\/]* ) # Absolute name. 8032 ac_srcdir=$srcdir$ac_dir_suffix; 8033 ac_top_srcdir=$srcdir 8034 ac_abs_top_srcdir=$srcdir ;; 8035 *) # Relative name. 8036 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8037 ac_top_srcdir=$ac_top_build_prefix$srcdir 8038 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9148 case $ac_abs_builddir in 9149 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9150 *) 9151 case ${ac_top_builddir}. in 9152 .) ac_abs_top_builddir=$ac_abs_builddir;; 9153 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9154 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9155 esac;; 8039 9156 esac 8040 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8041 8042 8043 cd "$ac_dir" 9157 case $ac_abs_builddir in 9158 .) ac_abs_srcdir=$ac_srcdir;; 9159 *) 9160 case $ac_srcdir in 9161 .) ac_abs_srcdir=$ac_abs_builddir;; 9162 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9163 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9164 esac;; 9165 esac 9166 case $ac_abs_builddir in 9167 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9168 *) 9169 case $ac_top_srcdir in 9170 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9171 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9172 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9173 esac;; 9174 esac 9175 9176 9177 cd $ac_dir 8044 9178 8045 9179 # Check for guested configure; otherwise get Cygnus style configure. 8046 if test -f "$ac_srcdir/configure.gnu"; then 8047 ac_sub_configure=$ac_srcdir/configure.gnu 8048 elif test -f "$ac_srcdir/configure"; then 8049 ac_sub_configure=$ac_srcdir/configure 8050 elif test -f "$ac_srcdir/configure.in"; then 8051 # This should be Cygnus configure. 8052 ac_sub_configure=$ac_aux_dir/configure 9180 if test -f $ac_srcdir/configure.gnu; then 9181 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 9182 elif test -f $ac_srcdir/configure; then 9183 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 9184 elif test -f $ac_srcdir/configure.in; then 9185 ac_sub_configure=$ac_configure 8053 9186 else 8054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&58055 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}9187 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9188 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 8056 9189 ac_sub_configure= 8057 9190 fi … … 8062 9195 case $cache_file in 8063 9196 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8064 *) # Relative name.8065 ac_sub_cache_file=$ac_top_build _prefix$cache_file ;;9197 *) # Relative path. 9198 ac_sub_cache_file=$ac_top_builddir$cache_file ;; 8066 9199 esac 8067 9200 8068 { $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" >&58069 $as_echo "$as_me: running $SHELL$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}9201 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 9202 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8070 9203 # The eval makes quoting arguments work. 8071 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 8072 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 8073 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 9204 eval $ac_sub_configure $ac_sub_configure_args \ 9205 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || 9206 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 9207 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9208 { (exit 1); exit 1; }; } 8074 9209 fi 8075 9210 8076 cd "$ac_popdir"9211 cd $ac_popdir 8077 9212 done 8078 9213 fi 8079 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8081 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8082 fi 8083 8084 8085 9214 9215 9216 -
main/trunk/greenstone2/common-src/configure.in
r23356 r24874 469 469 470 470 # the list of folders in the src folder 471 srclist="src/lib/Makefile \ 471 srclist="cgi-bin/Makefile \ 472 src/lib/Makefile \ 472 473 src/gdbmedit/db2txt/Makefile \ 473 474 src/gdbmedit/txt2db/Makefile \ -
main/trunk/greenstone2/common-src/win32.mak
r24075 r24874 50 50 INDEXERSDIR = indexers 51 51 52 COMPILEDIRS = packages\windows\crypt\crypt \52 COMPILEDIRS = cgi-bin packages\windows\crypt\crypt \ 53 53 packages\search4j src\lib 54 54 55 INSTALLDIRS = packages\expat55 INSTALLDIRS = cgi-bin packages\expat 56 56 57 57 # src\getpw -
main/trunk/greenstone2/gs2-server.sh
r23988 r24874 161 161 # verbose mode, show all output, but then we can't run the server interface in the background 162 162 163 "$javapath" $custom_vm_args org.greenstone.server.Server2 "$GSDLHOME" "$ serverlang" $*163 "$javapath" $custom_vm_args org.greenstone.server.Server2 "$GSDLHOME" "$GSDLOS$GSDLARCH" "$serverlang" $* 164 164 else 165 165 # If we launch the Greenstone Server Interface application in the background (with & at end) 166 166 # need to redirect any STDERR (STDOUT) output to /dev/null first, else output will hog the x-term. 167 "$javapath" $custom_vm_args org.greenstone.server.Server2 "$GSDLHOME" "$ serverlang" $* > /dev/null &167 "$javapath" $custom_vm_args org.greenstone.server.Server2 "$GSDLHOME" "$GSDLOS$GSDLARCH" "$serverlang" $* > /dev/null & 168 168 fi 169 169 -
main/trunk/greenstone2/gs2-web-server.bat
r24829 r24874 209 209 ::echo port: %port%& echo conf: %conf%& echo.& echo. 210 210 :: Do not remove the quotes around %* !!! It's what helps Server2.jar deal with spaces in configfile path 211 "%JAVA_EXECUTABLE%" org.greenstone.server.Server2 "%GSDLHOME%" "%serverlang%" "%*"212 211 if not defined GSDLARCH "%JAVA_EXECUTABLE%" org.greenstone.server.Server2 "%GSDLHOME%" "%GSDLOS%" "%serverlang%" "%*" 212 if defined GSDLARCH "%JAVA_EXECUTABLE%" org.greenstone.server.Server2 "%GSDLHOME%" "%GSDLOS%%GSDLARCH%" "%serverlang%" "%*" 213 213 214 214 :: All params are stored in %* now. This batch script can be called from the commandline or from GLI -
main/trunk/greenstone2/gsicontrol.bat
r24829 r24874 13 13 :: a FOR statement executing a command already embedded in quotes 14 14 set _sed=bin\windows\sed.exe 15 16 set cgibin=cgi-bin17 ::set cgibin=cgi-bin\windows18 15 19 16 set target=%1 … … 88 85 echo GSDLOS = %GSDLOS% 89 86 echo. 87 88 ::set cgibin=cgi-bin 89 ::set cgibin=cgi-bin\windows 90 set cgibin=cgi-bin\%GSDLOS% 90 91 91 92 if "%target%" == "web-start" goto start … … 334 335 if exist "%GSDLHOME%\apache-httpd\%GSDLOS%\conf\httpd.conf" "%GSDLHOME%\bin\windows\stophttpd.exe" %GS2_APACHE_HTTPD_SIGNAL% SILENT 335 336 echo Setting config file to use port %port% 336 type "%GSDLHOME%\apache-httpd\%GSDLOS%\conf\httpd.conf.in" | %_sed% "s@\*\* PORT\*\*@%port%@g" | %_sed% "s@\*\*CONNECTPERMISSION\*\*@%allowfromall%@g" | %_sed% "s@\*\*HOST_IP\*\*@%hostIP%@g" | %_sed% "s@\*\*HOSTS\*\*@%hosts%@g" | %_sed% "s@\*\*COLLECTHOME\*\*@%safecollectpath%@g" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" | %_sed% "s@\*\*APACHE_HOME_OS\*\*@%safepath%\/apache-httpd\/%GSDLOS%@g" > "%GSDLHOME%\apache-httpd\%GSDLOS%\conf\httpd.conf"337 type "%GSDLHOME%\apache-httpd\%GSDLOS%\conf\httpd.conf.in" | %_sed% "s@\*\*GSDLOS\*\*@%GSDLOS%@g" | %_sed% "s@\*\*PORT\*\*@%port%@g" | %_sed% "s@\*\*CONNECTPERMISSION\*\*@%allowfromall%@g" | %_sed% "s@\*\*HOST_IP\*\*@%hostIP%@g" | %_sed% "s@\*\*HOSTS\*\*@%hosts%@g" | %_sed% "s@\*\*COLLECTHOME\*\*@%safecollectpath%@g" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" | %_sed% "s@\*\*APACHE_HOME_OS\*\*@%safepath%\/apache-httpd\/%GSDLOS%@g" > "%GSDLHOME%\apache-httpd\%GSDLOS%\conf\httpd.conf" 337 338 echo Type '%0 web-start' to start the web server running on port %port% 338 339 echo Done -
main/trunk/greenstone2/gsicontrol.sh
r24787 r24874 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@\*\*GSDLOS\*\*@$GSDLOS$GSDLARCH@g" \ 108 109 | sed "s@\*\*PORT\*\*@$port@g" \ 109 110 | sed "s@\*\*CONNECTPERMISSION\*\*@$allowfromall@g" \ -
main/trunk/greenstone2/perllib/util.pm
r24832 r24874 1486 1486 } 1487 1487 1488 sub os_dir() { 1489 1490 my $gsdlarch = ""; 1491 if(defined $ENV{'GSDLARCH'}) { 1492 $gsdlarch = $ENV{'GSDLARCH'}; 1493 } 1494 return $ENV{'GSDLOS'}.$gsdlarch; 1495 } 1488 1496 1489 1497 # Returns the greenstone URL prefix extracted from the appropriate GS2/GS3 config file. … … 1503 1511 } else { 1504 1512 $defaultUrlprefix = "/greenstone"; 1505 $configfile = &util::filename_cat($ENV{'GSDLHOME'}, "cgi-bin", "gsdlsite.cfg");1513 $configfile = &util::filename_cat($ENV{'GSDLHOME'}, "cgi-bin", &os_dir(), "gsdlsite.cfg"); 1506 1514 push(@propertynames, (qw/\nhttpprefix/, qw/\ngwcgi/)); # inspect one property then the other 1507 1515 } -
main/trunk/greenstone2/runtime-src/packages/apache-httpd/httpd.conf.in
r23252 r24874 418 418 </IfModule> 419 419 420 ScriptAlias /greenstone/cgi-bin "**GSDLHOME**/cgi-bin "421 <Directory "**GSDLHOME**/cgi-bin ">420 ScriptAlias /greenstone/cgi-bin "**GSDLHOME**/cgi-bin/**GSDLOS**" 421 <Directory "**GSDLHOME**/cgi-bin/**GSDLOS**"> 422 422 Options None 423 423 AllowOverride None -
main/trunk/greenstone2/runtime-src/packages/apache-httpd/windows-httpd.conf.in
r24563 r24874 496 496 497 497 498 ScriptAlias /greenstone/cgi-bin "**GSDLHOME**/cgi-bin"499 <Directory "**GSDLHOME**/cgi-bin ">498 ScriptAlias /greenstone/cgi-bin "**GSDLHOME**/cgi-bin/**GSDLOS**" 499 <Directory "**GSDLHOME**/cgi-bin/**GSDLOS**"> 500 500 Options None 501 501 AllowOverride None -
main/trunk/greenstone2/runtime-src/src/oaiservr/Makefile.in
r22378 r24874 28 28 COMMON_DIR = $(GSDL_DIR)/common-src 29 29 RUNTIME_DIR = $(GSDL_DIR)/runtime-src 30 31 GSDLOS = @gsdlos@ 30 32 31 33 INDEXERS_DIR = $(COMMON_DIR)/indexers … … 181 183 182 184 install: $(EXECUTABLE) 183 $(INSTALL) -m 755 -s $(EXECUTABLE) $(GSDL_DIR)/cgi-bin 185 $(INSTALL) -m 755 -s $(EXECUTABLE) $(GSDL_DIR)/cgi-bin/$(GSDLOS) 184 186 185 187 clean: -
main/trunk/greenstone2/runtime-src/src/oaiservr/win32.mak
r22960 r24874 242 242 !ELSE 243 243 install: $(EXECUTABLE) 244 copy $(EXECUTABLE) "$(GSDL_DIR)\cgi-bin "244 copy $(EXECUTABLE) "$(GSDL_DIR)\cgi-bin\windows" 245 245 !ENDIF 246 246 -
main/trunk/greenstone2/runtime-src/src/recpt/Makefile.in
r22378 r24874 306 306 307 307 install: $(EXECUTABLE) 308 $(INSTALL) -m 755 -s $(EXECUTABLE) $(GSDL_DIR)/cgi-bin 308 $(INSTALL) -m 755 -s $(EXECUTABLE) $(GSDL_DIR)/cgi-bin/$(GSDLOS) 309 309 #ifeq ($(USE_APACHE_HTTPD), 1) 310 310 ifeq ($(USE_APACHE_HTTPD), "IGNORE_FOR_NOW") -
main/trunk/greenstone2/runtime-src/src/recpt/win32.mak
r22960 r24874 384 384 !ELSE 385 385 install: $(EXECUTABLE) 386 copy $(EXECUTABLE) "$(GSDL_DIR)\cgi-bin "386 copy $(EXECUTABLE) "$(GSDL_DIR)\cgi-bin\windows" 387 387 !ENDIF 388 388
Note:
See TracChangeset
for help on using the changeset viewer.