Changeset 23800
- Timestamp:
- 2011-03-22T21:33:42+13:00 (13 years ago)
- Location:
- main/trunk/greenstone2/build-src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/configure
r23356 r23800 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 67.3 # Generated by GNU Autoconf 2.59. 4 4 # 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 9 # 10 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 11 6 # This configure script is free software; the Free Software Foundation 12 7 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 20 14 emulate sh 21 15 NULLCMD=: 22 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 23 17 # is contrary to our usage. Disable this feature. 24 18 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 for as_dir in $PATH 96 do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101 IFS=$as_save_IFS 102 103 ;; 104 esac 105 # We did not find ourselves, most probably we were run as `sh COMMAND' 106 # in which case we are not to be found in the path. 107 if test "x$as_myself" = x; then 108 as_myself=$0 109 fi 110 if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122 done 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 123 34 PS1='$ ' 124 35 PS2='> ' … … 126 37 127 38 # NLS nuisances. 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 186 43 do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 205 49 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 230 else 231 $as_echo "$0: Please tell [email protected] about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 235 fi 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error STATUS ERROR [LINENO LOG_FD] 360 # ---------------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with STATUS, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$1; test $as_status -eq 0 && as_status=1 367 if test "$4"; then 368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 370 fi 371 $as_echo "$as_me: error: $2" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 375 if expr a : '\(a\)' >/dev/null 2>&1 && 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 377 53 as_expr=expr 378 54 else … … 380 56 fi 381 57 382 if (basename -- /) >/dev/null 2>&1 && test "X`basename --/ 2>&1`" = "X/"; then58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 383 59 as_basename=basename 384 60 else … … 386 62 fi 387 63 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 394 as_me=`$as_basename -- "$0" || 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 395 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 396 68 X"$0" : 'X\(//\)$' \| \ 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398 $as_echo X/"$0" | 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 s//\1/ 401 q 402 } 403 /^X\/\(\/\/\)$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\).*/{ 408 s//\1/ 409 q 410 } 411 s/.*/./; q'` 412 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 413 79 # Avoid depending upon Character Ranges. 414 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 418 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 419 85 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 426 sed -n ' 427 p 428 /[$]LINENO/= 429 ' <$as_myself | 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 430 165 sed ' 431 s/[$]LINENO.*/&-/432 t lineno433 b434 :lineno435 166 N 436 :loop 437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 438 170 t loop 439 s/-\n.*// 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 440 173 ' >$as_me.lineno && 441 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 443 177 444 178 # Don't try to exec as it changes $[0], causing all sort of problems 445 179 # (the dirname of $[0] is not the place where we might find the 446 # original and so on. Autoconf is especially sensi tive to this).447 . "./$as_me.lineno"180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 448 182 # Exit status is that of the last command. 449 183 exit 450 184 } 451 185 452 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #((((( 454 -n*) 455 case `echo 'xy\c'` in 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 460 esac;; 461 *) 462 ECHO_N='-n';; 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 463 192 esac 464 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196 else 197 as_expr=false 198 fi 199 465 200 rm -f conf$$ conf$$.exe conf$$.file 466 if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 468 else 469 rm -f conf$$.dir470 mkdir conf$$.dir 2>/dev/null471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 474 209 as_ln_s='ln -s' 475 # ... but there are two gotchas:476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.478 # In both cases, we have to default to `cp -p'.479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||480 as_ln_s='cp -p'481 elif ln conf$$.file conf$$ 2>/dev/null; then482 as_ln_s=ln483 else484 as_ln_s='cp -p'485 210 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 486 213 else 487 214 as_ln_s='cp -p' 488 215 fi 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490 rmdir conf$$.dir 2>/dev/null 216 rm -f conf$$ conf$$.exe conf$$.file 491 217 492 218 if mkdir -p . 2>/dev/null; then 493 as_mkdir_p= 'mkdir -p "$as_dir"'219 as_mkdir_p=: 494 220 else 495 221 test -d ./-p && rmdir ./-p … … 497 223 fi 498 224 499 if test -x / >/dev/null 2>&1; then 500 as_test_x='test -x' 501 else 502 if ls -dL / >/dev/null 2>&1; then 503 as_ls_L_option=L 504 else 505 as_ls_L_option= 506 fi 507 as_test_x=' 508 eval sh -c '\'' 509 if test -d "$1"; then 510 test -d "$1/."; 511 else 512 case $1 in #( 513 -*)set "./$1";; 514 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516 ???[sx]*):;;*)false;;esac;fi 517 '\'' sh 518 ' 519 fi 520 as_executable_p=$as_test_x 225 as_executable_p="test -f" 521 226 522 227 # Sed expression to map a string onto a valid CPP name. … … 527 232 528 233 529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 531 243 532 244 # Name of the host. 533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 534 246 # so uname gets run too. 535 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249 exec 6>&1 536 250 537 251 # … … 539 253 # 540 254 ac_default_prefix=/usr/local 541 ac_clean_files=542 255 ac_config_libobj_dir=. 543 LIBOBJS=544 256 cross_compiling=no 545 257 subdirs= 546 258 MFLAGS= 547 259 MAKEFLAGS= 260 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document. 263 # This variable seems obsolete. It should probably be removed, and 264 # only ac_max_sed_lines should be used. 265 : ${ac_max_here_lines=38} 548 266 549 267 # Identity of this package. … … 553 271 PACKAGE_STRING= 554 272 PACKAGE_BUGREPORT= 555 PACKAGE_URL=556 273 557 274 # Factoring default headers for most tests. 558 275 ac_includes_default="\ 559 276 #include <stdio.h> 560 #if defHAVE_SYS_TYPES_H277 #if HAVE_SYS_TYPES_H 561 278 # include <sys/types.h> 562 279 #endif 563 #if defHAVE_SYS_STAT_H280 #if HAVE_SYS_STAT_H 564 281 # include <sys/stat.h> 565 282 #endif 566 #if defSTDC_HEADERS283 #if STDC_HEADERS 567 284 # include <stdlib.h> 568 285 # include <stddef.h> 569 286 #else 570 # if defHAVE_STDLIB_H287 # if HAVE_STDLIB_H 571 288 # include <stdlib.h> 572 289 # endif 573 290 #endif 574 #if defHAVE_STRING_H575 # if ! defined STDC_HEADERS && definedHAVE_MEMORY_H291 #if HAVE_STRING_H 292 # if !STDC_HEADERS && HAVE_MEMORY_H 576 293 # include <memory.h> 577 294 # endif 578 295 # include <string.h> 579 296 #endif 580 #if defHAVE_STRINGS_H297 #if HAVE_STRINGS_H 581 298 # include <strings.h> 582 299 #endif 583 #if defHAVE_INTTYPES_H300 #if HAVE_INTTYPES_H 584 301 # include <inttypes.h> 302 #else 303 # if HAVE_STDINT_H 304 # include <stdint.h> 305 # endif 585 306 #endif 586 #ifdef HAVE_STDINT_H 587 # include <stdint.h> 588 #endif 589 #ifdef HAVE_UNISTD_H 307 #if HAVE_UNISTD_H 590 308 # include <unistd.h> 591 309 #endif" 592 310 593 enable_option_checking=no 594 ac_subst_vars='LTLIBOBJS 595 subdirs 596 MODULEDIRS 597 gsdlos 598 STATIC 599 LIBOBJS 600 ALLOCA 601 ANSI2KNR 602 U 603 EGREP 604 GREP 605 CPP 606 MICO_VER 607 COMPAT32BITFLAGS 608 RANLIB 609 SET_MAKE 610 LN_S 611 INSTALL_DATA 612 INSTALL_SCRIPT 613 INSTALL_PROGRAM 614 target_os 615 target_vendor 616 target_cpu 617 target 618 host_os 619 host_vendor 620 host_cpu 621 host 622 build_os 623 build_vendor 624 build_cpu 625 build 626 YFLAGS 627 YACC 628 AWK 629 uudecode 630 JAVA 631 JAVACFLAGS 632 JAVAC 633 ac_ct_CXX 634 CXXFLAGS 635 CXX 636 OBJEXT 637 EXEEXT 638 ac_ct_CC 639 CPPFLAGS 640 CC 641 CFLAGS 642 LDFLAGS 643 USE_SQLITE 644 ENABLE_ACCENTFOLD 645 USE_GDBM 646 USE_JDBM 647 ENABLE_JAVA 648 USE_YAZ 649 USE_Z3950 650 MICO_DIR 651 USE_CORBA 652 USE_LANGACTION 653 USE_FASTCGI 654 VERSION 655 PACKAGE 656 target_alias 657 host_alias 658 build_alias 659 LIBS 660 ECHO_T 661 ECHO_N 662 ECHO_C 663 DEFS 664 mandir 665 localedir 666 libdir 667 psdir 668 pdfdir 669 dvidir 670 htmldir 671 infodir 672 docdir 673 oldincludedir 674 includedir 675 localstatedir 676 sharedstatedir 677 sysconfdir 678 datadir 679 datarootdir 680 libexecdir 681 sbindir 682 bindir 683 program_transform_name 684 prefix 685 exec_prefix 686 PACKAGE_URL 687 PACKAGE_BUGREPORT 688 PACKAGE_STRING 689 PACKAGE_VERSION 690 PACKAGE_TARNAME 691 PACKAGE_NAME 692 PATH_SEPARATOR 693 SHELL' 311 ac_subdirs_all="$ac_subdirs_all packages" 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVAC JAVACFLAGS JAVA uudecode AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 694 313 ac_subst_files='' 695 ac_user_opts='696 enable_option_checking697 enable_corba698 with_micodir699 enable_z3950700 enable_yaz701 enable_java702 enable_jdbm703 enable_gdbm704 enable_accentfold705 enable_sqlite706 with_dmalloc707 with_regex708 '709 ac_precious_vars='build_alias710 host_alias711 target_alias712 CC713 CFLAGS714 LDFLAGS715 LIBS716 CPPFLAGS717 CXX718 CXXFLAGS719 CCC720 YACC721 YFLAGS722 CPP'723 ac_subdirs_all='packages'724 314 725 315 # Initialize some variables set by options. 726 316 ac_init_help= 727 317 ac_init_version=false 728 ac_unrecognized_opts=729 ac_unrecognized_sep=730 318 # The variables have the same names as the options, with 731 319 # dashes changed to underlines. … … 750 338 # by default will actually change. 751 339 # Use braces instead of parens because sh, perl, etc. also accept them. 752 # (The list follows the same order as the GNU Coding Standards.)753 340 bindir='${exec_prefix}/bin' 754 341 sbindir='${exec_prefix}/sbin' 755 342 libexecdir='${exec_prefix}/libexec' 756 datarootdir='${prefix}/share' 757 datadir='${datarootdir}' 343 datadir='${prefix}/share' 758 344 sysconfdir='${prefix}/etc' 759 345 sharedstatedir='${prefix}/com' 760 346 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib' 761 348 includedir='${prefix}/include' 762 349 oldincludedir='/usr/include' 763 docdir='${datarootdir}/doc/${PACKAGE}' 764 infodir='${datarootdir}/info' 765 htmldir='${docdir}' 766 dvidir='${docdir}' 767 pdfdir='${docdir}' 768 psdir='${docdir}' 769 libdir='${exec_prefix}/lib' 770 localedir='${datarootdir}/locale' 771 mandir='${datarootdir}/man' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 772 352 773 353 ac_prev= 774 ac_dashdash=775 354 for ac_option 776 355 do 777 356 # If the previous option needs an argument, assign it. 778 357 if test -n "$ac_prev"; then 779 eval $ac_prev=\$ac_option358 eval "$ac_prev=\$ac_option" 780 359 ac_prev= 781 360 continue 782 361 fi 783 362 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 364 365 # Accept the important Cygnus configure options, so we can diagnose typos. 366 784 367 case $ac_option in 785 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;786 *=) ac_optarg= ;;787 *) ac_optarg=yes ;;788 esac789 790 # Accept the important Cygnus configure options, so we can diagnose typos.791 792 case $ac_dashdash$ac_option in793 --)794 ac_dashdash=yes ;;795 368 796 369 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 814 387 cache_file=config.cache ;; 815 388 816 -datadir | --datadir | --datadi | --datad )389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 817 390 ac_prev=datadir ;; 818 -datadir=* | --datadir=* | --datadi=* | --datad=*) 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 819 393 datadir=$ac_optarg ;; 820 394 821 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \822 | --dataroo | --dataro | --datar)823 ac_prev=datarootdir ;;824 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \825 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)826 datarootdir=$ac_optarg ;;827 828 395 -disable-* | --disable-*) 829 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 830 397 # Reject names that are not valid shell variable names. 831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 832 as_fn_error $? "invalid feature name: $ac_useropt" 833 ac_useropt_orig=$ac_useropt 834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 835 case $ac_user_opts in 836 *" 837 "enable_$ac_useropt" 838 "*) ;; 839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 840 ac_unrecognized_sep=', ';; 398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 403 404 -enable-* | --enable-*) 405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 841 414 esac 842 eval enable_$ac_useropt=no ;; 843 844 -docdir | --docdir | --docdi | --doc | --do) 845 ac_prev=docdir ;; 846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 847 docdir=$ac_optarg ;; 848 849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 850 ac_prev=dvidir ;; 851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 852 dvidir=$ac_optarg ;; 853 854 -enable-* | --enable-*) 855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 856 # Reject names that are not valid shell variable names. 857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 858 as_fn_error $? "invalid feature name: $ac_useropt" 859 ac_useropt_orig=$ac_useropt 860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 861 case $ac_user_opts in 862 *" 863 "enable_$ac_useropt" 864 "*) ;; 865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 866 ac_unrecognized_sep=', ';; 867 esac 868 eval enable_$ac_useropt=\$ac_optarg ;; 415 eval "enable_$ac_feature='$ac_optarg'" ;; 869 416 870 417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 893 440 host_alias=$ac_optarg ;; 894 441 895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)896 ac_prev=htmldir ;;897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \898 | --ht=*)899 htmldir=$ac_optarg ;;900 901 442 -includedir | --includedir | --includedi | --included | --include \ 902 443 | --includ | --inclu | --incl | --inc) … … 923 464 libexecdir=$ac_optarg ;; 924 465 925 -localedir | --localedir | --localedi | --localed | --locale)926 ac_prev=localedir ;;927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)928 localedir=$ac_optarg ;;929 930 466 -localstatedir | --localstatedir | --localstatedi | --localstated \ 931 | --localstate | --localstat | --localsta | --localst | --locals) 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 932 469 ac_prev=localstatedir ;; 933 470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 935 473 localstatedir=$ac_optarg ;; 936 474 … … 997 535 program_transform_name=$ac_optarg ;; 998 536 999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)1000 ac_prev=pdfdir ;;1001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)1002 pdfdir=$ac_optarg ;;1003 1004 -psdir | --psdir | --psdi | --psd | --ps)1005 ac_prev=psdir ;;1006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)1007 psdir=$ac_optarg ;;1008 1009 537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1010 538 | -silent | --silent | --silen | --sile | --sil) … … 1057 585 1058 586 -with-* | --with-*) 1059 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1060 588 # Reject names that are not valid shell variable names. 1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1062 as_fn_error $? "invalid package name: $ac_useropt" 1063 ac_useropt_orig=$ac_useropt 1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1065 case $ac_user_opts in 1066 *" 1067 "with_$ac_useropt" 1068 "*) ;; 1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1070 ac_unrecognized_sep=', ';; 589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 1071 596 esac 1072 eval with_$ac_useropt=\$ac_optarg;;597 eval "with_$ac_package='$ac_optarg'" ;; 1073 598 1074 599 -without-* | --without-*) 1075 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1076 601 # Reject names that are not valid shell variable names. 1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1078 as_fn_error $? "invalid package name: $ac_useropt" 1079 ac_useropt_orig=$ac_useropt 1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1081 case $ac_user_opts in 1082 *" 1083 "with_$ac_useropt" 1084 "*) ;; 1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1086 ac_unrecognized_sep=', ';; 1087 esac 1088 eval with_$ac_useropt=no ;; 602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 1089 607 1090 608 --x) … … 1106 624 x_libraries=$ac_optarg ;; 1107 625 1108 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1109 Try \`$0 --help' for more information" 626 -*) { echo "$as_me: error: unrecognized option: $ac_option 627 Try \`$0 --help' for more information." >&2 628 { (exit 1); exit 1; }; } 1110 629 ;; 1111 630 … … 1113 632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1114 633 # Reject names that are not valid shell variable names. 1115 case $ac_envvar in #(1116 '' | [0-9]* | *[!_$as_cr_alnum]* )1117 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;1118 esac1119 eval $ac_envvar=\$ac_optarg634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1120 639 export $ac_envvar ;; 1121 640 1122 641 *) 1123 642 # FIXME: should be removed in autoconf 3.0. 1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1125 644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1127 646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1128 647 ;; … … 1133 652 if test -n "$ac_prev"; then 1134 653 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1135 as_fn_error $? "missing argument to $ac_option" 1136 fi 1137 1138 if test -n "$ac_unrecognized_opts"; then 1139 case $enable_option_checking in 1140 no) ;; 1141 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 654 { echo "$as_me: error: missing argument to $ac_option" >&2 655 { (exit 1); exit 1; }; } 656 fi 657 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 660 do 661 eval ac_val=$`echo $ac_var` 662 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 1143 666 esac 1144 fi 1145 1146 # Check all directory arguments for consistency. 1147 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1148 datadir sysconfdir sharedstatedir localstatedir includedir \ 1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1150 libdir localedir mandir 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 1151 672 do 1152 eval ac_val=\$$ac_var 1153 # Remove trailing slashes. 673 eval ac_val=$`echo $ac_var` 1154 674 case $ac_val in 1155 */ )1156 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1157 eval $ac_var=\$ac_val;;675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 1158 678 esac 1159 # Be sure to have absolute directory names.1160 case $ac_val in1161 [\\/$]* | ?:[\\/]* ) continue;;1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;1163 esac1164 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"1165 679 done 1166 680 … … 1176 690 if test "x$build_alias" = x; then 1177 691 cross_compiling=maybe 1178 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1179 If a cross compiler is detected then cross compile mode will be used " >&2692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 693 If a cross compiler is detected then cross compile mode will be used." >&2 1180 694 elif test "x$build_alias" != "x$host_alias"; then 1181 695 cross_compiling=yes … … 1189 703 1190 704 1191 ac_pwd=`pwd` && test -n "$ac_pwd" &&1192 ac_ls_di=`ls -di .` &&1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1194 as_fn_error $? "working directory cannot be determined"1195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1196 as_fn_error $? "pwd does not report name of working directory"1197 1198 1199 705 # Find the source files, if location was not specified. 1200 706 if test -z "$srcdir"; then 1201 707 ac_srcdir_defaulted=yes 1202 # Try the directory containing this script, then the parent directory. 1203 ac_confdir=`$as_dirname -- "$as_myself" || 1204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1205 X"$as_myself" : 'X\(//\)[^/]' \| \ 1206 X"$as_myself" : 'X\(//\)$' \| \ 1207 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1208 $as_echo X"$as_myself" | 1209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1210 s//\1/ 1211 q 1212 } 1213 /^X\(\/\/\)[^/].*/{ 1214 s//\1/ 1215 q 1216 } 1217 /^X\(\/\/\)$/{ 1218 s//\1/ 1219 q 1220 } 1221 /^X\(\/\).*/{ 1222 s//\1/ 1223 q 1224 } 1225 s/.*/./; q'` 708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 1226 721 srcdir=$ac_confdir 1227 if test ! -r "$srcdir/$ac_unique_file"; then722 if test ! -r $srcdir/$ac_unique_file; then 1228 723 srcdir=.. 1229 724 fi … … 1231 726 ac_srcdir_defaulted=no 1232 727 fi 1233 if test ! -r "$srcdir/$ac_unique_file"; then 1234 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1235 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1236 fi 1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1238 ac_abs_confdir=`( 1239 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1240 pwd)` 1241 # When building in place, set srcdir=. 1242 if test "$ac_abs_confdir" = "$ac_pwd"; then 1243 srcdir=. 1244 fi 1245 # Remove unnecessary trailing slashes from srcdir. 1246 # Double slashes in file names in object file debugging info 1247 # mess up M-x gdb in Emacs. 1248 case $srcdir in 1249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1250 esac 1251 for ac_var in $ac_precious_vars; do 1252 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1253 eval ac_env_${ac_var}_value=\$${ac_var} 1254 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1255 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1256 done 728 if test ! -r $srcdir/$ac_unique_file; then 729 if test "$ac_srcdir_defaulted" = yes; then 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CXX_set=${CXX+set} 770 ac_env_CXX_value=$CXX 771 ac_cv_env_CXX_set=${CXX+set} 772 ac_cv_env_CXX_value=$CXX 773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 774 ac_env_CXXFLAGS_value=$CXXFLAGS 775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 ac_cv_env_CPP_value=$CPP 1257 781 1258 782 # … … 1277 801 --help=recursive display the short help of all the included packages 1278 802 -V, --version display version information and exit 1279 -q, --quiet, --silent do not print \`checking 803 -q, --quiet, --silent do not print \`checking...' messages 1280 804 --cache-file=FILE cache test results in FILE [disabled] 1281 805 -C, --config-cache alias for \`--cache-file=config.cache' … … 1283 807 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1284 808 809 _ACEOF 810 811 cat <<_ACEOF 1285 812 Installation directories: 1286 813 --prefix=PREFIX install architecture-independent files in PREFIX 1287 814 [$ac_default_prefix] 1288 815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1289 816 [PREFIX] 1290 817 1291 818 By default, \`make install' will install all the files in … … 1297 824 1298 825 Fine tuning of the installation directories: 1299 --bindir=DIR user executables [EPREFIX/bin] 1300 --sbindir=DIR system admin executables [EPREFIX/sbin] 1301 --libexecdir=DIR program executables [EPREFIX/libexec] 1302 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1303 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1304 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1305 --libdir=DIR object code libraries [EPREFIX/lib] 1306 --includedir=DIR C header files [PREFIX/include] 1307 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1308 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1309 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1310 --infodir=DIR info documentation [DATAROOTDIR/info] 1311 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1312 --mandir=DIR man documentation [DATAROOTDIR/man] 1313 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1314 --htmldir=DIR html documentation [DOCDIR] 1315 --dvidir=DIR dvi documentation [DOCDIR] 1316 --pdfdir=DIR pdf documentation [DOCDIR] 1317 --psdir=DIR ps documentation [DOCDIR] 826 --bindir=DIR user executables [EPREFIX/bin] 827 --sbindir=DIR system admin executables [EPREFIX/sbin] 828 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share] 830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 832 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 833 --libdir=DIR object code libraries [EPREFIX/lib] 834 --includedir=DIR C header files [PREFIX/include] 835 --oldincludedir=DIR C header files for non-gcc [/usr/include] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1318 838 _ACEOF 1319 839 … … 1332 852 1333 853 Optional Features: 1334 --disable-option-checking ignore unrecognized --enable/--with options1335 854 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1336 855 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1339 858 --disable-yaz Disable YAZ compilation 1340 859 --disable-java Disable Java compilation 860 --disable-wvware Disable wvWare compilation 1341 861 --disable-jdbm Disable JDBM compilation 1342 862 --disable-gdbm Disable GDBM compilation … … 1357 877 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1358 878 nonstandard directory <lib dir> 1359 LIBS libraries to pass to the linker, e.g. -l<library> 1360 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1361 you have headers in a nonstandard directory <include dir> 879 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 880 headers in a nonstandard directory <include dir> 1362 881 CXX C++ compiler command 1363 882 CXXFLAGS C++ compiler flags 1364 YACC The `Yet Another C Compiler' implementation to use. Defaults to1365 the first program found out of: `bison -y', `byacc', `yacc'.1366 YFLAGS The list of arguments that will be passed by default to $YACC.1367 This script will default YFLAGS to the empty string to avoid a1368 default value of `-d' given by some make applications.1369 883 CPP C preprocessor 1370 884 … … 1372 886 it to find libraries and programs with nonstandard names/locations. 1373 887 1374 Report bugs to the package provider. 1375 _ACEOF 1376 ac_status=$? 888 _ACEOF 1377 889 fi 1378 890 1379 891 if test "$ac_init_help" = "recursive"; then 1380 892 # If there are subdirs, report their specific --help. 893 ac_popdir=`pwd` 1381 894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1382 test -d "$ac_dir" || 1383 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1384 continue 895 test -d $ac_dir || continue 1385 896 ac_builddir=. 1386 897 1387 case "$ac_dir" in 1388 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 898 if test "$ac_dir" != .; then 899 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 900 # A "../" for each directory in $ac_dir_suffix. 901 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 902 else 903 ac_dir_suffix= ac_top_builddir= 904 fi 905 906 case $srcdir in 907 .) # No --srcdir option. We are building in place. 908 ac_srcdir=. 909 if test -z "$ac_top_builddir"; then 910 ac_top_srcdir=. 911 else 912 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 913 fi ;; 914 [\\/]* | ?:[\\/]* ) # Absolute path. 915 ac_srcdir=$srcdir$ac_dir_suffix; 916 ac_top_srcdir=$srcdir ;; 917 *) # Relative path. 918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 919 ac_top_srcdir=$ac_top_builddir$srcdir ;; 920 esac 921 922 # Do not use `cd foo && pwd` to compute absolute paths, because 923 # the directories may not exist. 924 case `pwd` in 925 .) ac_abs_builddir="$ac_dir";; 1389 926 *) 1390 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1391 # A ".." for each directory in $ac_dir_suffix. 1392 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1393 case $ac_top_builddir_sub in 1394 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1395 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1396 esac ;; 927 case "$ac_dir" in 928 .) ac_abs_builddir=`pwd`;; 929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 930 *) ac_abs_builddir=`pwd`/"$ac_dir";; 931 esac;; 1397 932 esac 1398 ac_abs_top_builddir=$ac_pwd 1399 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1400 # for backward compatibility: 1401 ac_top_builddir=$ac_top_build_prefix 1402 1403 case $srcdir in 1404 .) # We are building in place. 1405 ac_srcdir=. 1406 ac_top_srcdir=$ac_top_builddir_sub 1407 ac_abs_top_srcdir=$ac_pwd ;; 1408 [\\/]* | ?:[\\/]* ) # Absolute name. 1409 ac_srcdir=$srcdir$ac_dir_suffix; 1410 ac_top_srcdir=$srcdir 1411 ac_abs_top_srcdir=$srcdir ;; 1412 *) # Relative name. 1413 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1414 ac_top_srcdir=$ac_top_build_prefix$srcdir 1415 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 933 case $ac_abs_builddir in 934 .) ac_abs_top_builddir=${ac_top_builddir}.;; 935 *) 936 case ${ac_top_builddir}. in 937 .) ac_abs_top_builddir=$ac_abs_builddir;; 938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 940 esac;; 1416 941 esac 1417 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1418 1419 cd "$ac_dir" || { ac_status=$?; continue; } 1420 # Check for guested configure. 1421 if test -f "$ac_srcdir/configure.gnu"; then 1422 echo && 1423 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1424 elif test -f "$ac_srcdir/configure"; then 1425 echo && 1426 $SHELL "$ac_srcdir/configure" --help=recursive 942 case $ac_abs_builddir in 943 .) ac_abs_srcdir=$ac_srcdir;; 944 *) 945 case $ac_srcdir in 946 .) ac_abs_srcdir=$ac_abs_builddir;; 947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 949 esac;; 950 esac 951 case $ac_abs_builddir in 952 .) ac_abs_top_srcdir=$ac_top_srcdir;; 953 *) 954 case $ac_top_srcdir in 955 .) ac_abs_top_srcdir=$ac_abs_builddir;; 956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 958 esac;; 959 esac 960 961 cd $ac_dir 962 # Check for guested configure; otherwise get Cygnus style configure. 963 if test -f $ac_srcdir/configure.gnu; then 964 echo 965 $SHELL $ac_srcdir/configure.gnu --help=recursive 966 elif test -f $ac_srcdir/configure; then 967 echo 968 $SHELL $ac_srcdir/configure --help=recursive 969 elif test -f $ac_srcdir/configure.ac || 970 test -f $ac_srcdir/configure.in; then 971 echo 972 $ac_configure --help 1427 973 else 1428 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21429 fi || ac_status=$?1430 cd "$ac_pwd" || { ac_status=$?; break; }974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 975 fi 976 cd $ac_popdir 1431 977 done 1432 978 fi 1433 979 1434 test -n "$ac_init_help" && exit $ac_status980 test -n "$ac_init_help" && exit 0 1435 981 if $ac_init_version; then 1436 982 cat <<\_ACEOF 1437 configure 1438 generated by GNU Autoconf 2.67 1439 1440 Copyright (C) 2010 Free Software Foundation, Inc. 983 984 Copyright (C) 2003 Free Software Foundation, Inc. 1441 985 This configure script is free software; the Free Software Foundation 1442 986 gives unlimited permission to copy, distribute and modify it. 1443 987 _ACEOF 1444 exit 1445 fi 1446 1447 ## ------------------------ ## 1448 ## Autoconf initialization. ## 1449 ## ------------------------ ## 1450 1451 # ac_fn_c_try_compile LINENO 1452 # -------------------------- 1453 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1454 ac_fn_c_try_compile () 1455 { 1456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1457 rm -f conftest.$ac_objext 1458 if { { ac_try="$ac_compile" 1459 case "(($ac_try" in 1460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1461 *) ac_try_echo=$ac_try;; 1462 esac 1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1464 $as_echo "$ac_try_echo"; } >&5 1465 (eval "$ac_compile") 2>conftest.err 1466 ac_status=$? 1467 if test -s conftest.err; then 1468 grep -v '^ *+' conftest.err >conftest.er1 1469 cat conftest.er1 >&5 1470 mv -f conftest.er1 conftest.err 1471 fi 1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1473 test $ac_status = 0; } && { 1474 test -z "$ac_c_werror_flag" || 1475 test ! -s conftest.err 1476 } && test -s conftest.$ac_objext; then : 1477 ac_retval=0 1478 else 1479 $as_echo "$as_me: failed program was:" >&5 1480 sed 's/^/| /' conftest.$ac_ext >&5 1481 1482 ac_retval=1 1483 fi 1484 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1485 as_fn_set_status $ac_retval 1486 1487 } # ac_fn_c_try_compile 1488 1489 # ac_fn_cxx_try_compile LINENO 1490 # ---------------------------- 1491 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1492 ac_fn_cxx_try_compile () 1493 { 1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1495 rm -f conftest.$ac_objext 1496 if { { ac_try="$ac_compile" 1497 case "(($ac_try" in 1498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1499 *) ac_try_echo=$ac_try;; 1500 esac 1501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1502 $as_echo "$ac_try_echo"; } >&5 1503 (eval "$ac_compile") 2>conftest.err 1504 ac_status=$? 1505 if test -s conftest.err; then 1506 grep -v '^ *+' conftest.err >conftest.er1 1507 cat conftest.er1 >&5 1508 mv -f conftest.er1 conftest.err 1509 fi 1510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1511 test $ac_status = 0; } && { 1512 test -z "$ac_cxx_werror_flag" || 1513 test ! -s conftest.err 1514 } && test -s conftest.$ac_objext; then : 1515 ac_retval=0 1516 else 1517 $as_echo "$as_me: failed program was:" >&5 1518 sed 's/^/| /' conftest.$ac_ext >&5 1519 1520 ac_retval=1 1521 fi 1522 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1523 as_fn_set_status $ac_retval 1524 1525 } # ac_fn_cxx_try_compile 1526 1527 # ac_fn_c_try_cpp LINENO 1528 # ---------------------- 1529 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1530 ac_fn_c_try_cpp () 1531 { 1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1533 if { { ac_try="$ac_cpp conftest.$ac_ext" 1534 case "(($ac_try" in 1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1536 *) ac_try_echo=$ac_try;; 1537 esac 1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1539 $as_echo "$ac_try_echo"; } >&5 1540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1541 ac_status=$? 1542 if test -s conftest.err; then 1543 grep -v '^ *+' conftest.err >conftest.er1 1544 cat conftest.er1 >&5 1545 mv -f conftest.er1 conftest.err 1546 fi 1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1548 test $ac_status = 0; } > conftest.i && { 1549 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1550 test ! -s conftest.err 1551 }; then : 1552 ac_retval=0 1553 else 1554 $as_echo "$as_me: failed program was:" >&5 1555 sed 's/^/| /' conftest.$ac_ext >&5 1556 1557 ac_retval=1 1558 fi 1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1560 as_fn_set_status $ac_retval 1561 1562 } # ac_fn_c_try_cpp 1563 1564 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1565 # ------------------------------------------------------- 1566 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1567 # the include files in INCLUDES and setting the cache variable VAR 1568 # accordingly. 1569 ac_fn_c_check_header_mongrel () 1570 { 1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1572 if eval "test \"\${$3+set}\"" = set; then : 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1574 $as_echo_n "checking for $2... " >&6; } 1575 if eval "test \"\${$3+set}\"" = set; then : 1576 $as_echo_n "(cached) " >&6 1577 fi 1578 eval ac_res=\$$3 1579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1580 $as_echo "$ac_res" >&6; } 1581 else 1582 # Is the header compilable? 1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1584 $as_echo_n "checking $2 usability... " >&6; } 1585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1586 /* end confdefs.h. */ 1587 $4 1588 #include <$2> 1589 _ACEOF 1590 if ac_fn_c_try_compile "$LINENO"; then : 1591 ac_header_compiler=yes 1592 else 1593 ac_header_compiler=no 1594 fi 1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1597 $as_echo "$ac_header_compiler" >&6; } 1598 1599 # Is the header present? 1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1601 $as_echo_n "checking $2 presence... " >&6; } 1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1603 /* end confdefs.h. */ 1604 #include <$2> 1605 _ACEOF 1606 if ac_fn_c_try_cpp "$LINENO"; then : 1607 ac_header_preproc=yes 1608 else 1609 ac_header_preproc=no 1610 fi 1611 rm -f conftest.err conftest.i conftest.$ac_ext 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1613 $as_echo "$ac_header_preproc" >&6; } 1614 1615 # So? What about this header? 1616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1617 yes:no: ) 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1619 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1621 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1622 ;; 1623 no:yes:* ) 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1625 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1627 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1629 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1631 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1634 ;; 1635 esac 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1637 $as_echo_n "checking for $2... " >&6; } 1638 if eval "test \"\${$3+set}\"" = set; then : 1639 $as_echo_n "(cached) " >&6 1640 else 1641 eval "$3=\$ac_header_compiler" 1642 fi 1643 eval ac_res=\$$3 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1645 $as_echo "$ac_res" >&6; } 1646 fi 1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1648 1649 } # ac_fn_c_check_header_mongrel 1650 1651 # ac_fn_c_try_run LINENO 1652 # ---------------------- 1653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1654 # that executables *can* be run. 1655 ac_fn_c_try_run () 1656 { 1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1658 if { { ac_try="$ac_link" 1659 case "(($ac_try" in 1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1661 *) ac_try_echo=$ac_try;; 1662 esac 1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1664 $as_echo "$ac_try_echo"; } >&5 1665 (eval "$ac_link") 2>&5 1666 ac_status=$? 1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1668 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1669 { { case "(($ac_try" in 1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1671 *) ac_try_echo=$ac_try;; 1672 esac 1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1674 $as_echo "$ac_try_echo"; } >&5 1675 (eval "$ac_try") 2>&5 1676 ac_status=$? 1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1678 test $ac_status = 0; }; }; then : 1679 ac_retval=0 1680 else 1681 $as_echo "$as_me: program exited with status $ac_status" >&5 1682 $as_echo "$as_me: failed program was:" >&5 1683 sed 's/^/| /' conftest.$ac_ext >&5 1684 1685 ac_retval=$ac_status 1686 fi 1687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1688 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1689 as_fn_set_status $ac_retval 1690 1691 } # ac_fn_c_try_run 1692 1693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1694 # ------------------------------------------------------- 1695 # Tests whether HEADER exists and can be compiled using the include files in 1696 # INCLUDES, setting the cache variable VAR accordingly. 1697 ac_fn_c_check_header_compile () 1698 { 1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1701 $as_echo_n "checking for $2... " >&6; } 1702 if eval "test \"\${$3+set}\"" = set; then : 1703 $as_echo_n "(cached) " >&6 1704 else 1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1706 /* end confdefs.h. */ 1707 $4 1708 #include <$2> 1709 _ACEOF 1710 if ac_fn_c_try_compile "$LINENO"; then : 1711 eval "$3=yes" 1712 else 1713 eval "$3=no" 1714 fi 1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1716 fi 1717 eval ac_res=\$$3 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1719 $as_echo "$ac_res" >&6; } 1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1721 1722 } # ac_fn_c_check_header_compile 1723 1724 # ac_fn_c_try_link LINENO 1725 # ----------------------- 1726 # Try to link conftest.$ac_ext, and return whether this succeeded. 1727 ac_fn_c_try_link () 1728 { 1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1730 rm -f conftest.$ac_objext conftest$ac_exeext 1731 if { { ac_try="$ac_link" 1732 case "(($ac_try" in 1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1734 *) ac_try_echo=$ac_try;; 1735 esac 1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1737 $as_echo "$ac_try_echo"; } >&5 1738 (eval "$ac_link") 2>conftest.err 1739 ac_status=$? 1740 if test -s conftest.err; then 1741 grep -v '^ *+' conftest.err >conftest.er1 1742 cat conftest.er1 >&5 1743 mv -f conftest.er1 conftest.err 1744 fi 1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1746 test $ac_status = 0; } && { 1747 test -z "$ac_c_werror_flag" || 1748 test ! -s conftest.err 1749 } && test -s conftest$ac_exeext && { 1750 test "$cross_compiling" = yes || 1751 $as_test_x conftest$ac_exeext 1752 }; then : 1753 ac_retval=0 1754 else 1755 $as_echo "$as_me: failed program was:" >&5 1756 sed 's/^/| /' conftest.$ac_ext >&5 1757 1758 ac_retval=1 1759 fi 1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1762 # interfere with the next link command; also delete a directory that is 1763 # left behind by Apple's compiler. We do this before executing the actions. 1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1765 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1766 as_fn_set_status $ac_retval 1767 1768 } # ac_fn_c_try_link 1769 1770 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1771 # ------------------------------------------- 1772 # Tests whether TYPE exists after having included INCLUDES, setting cache 1773 # variable VAR accordingly. 1774 ac_fn_c_check_type () 1775 { 1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1778 $as_echo_n "checking for $2... " >&6; } 1779 if eval "test \"\${$3+set}\"" = set; then : 1780 $as_echo_n "(cached) " >&6 1781 else 1782 eval "$3=no" 1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1784 /* end confdefs.h. */ 1785 $4 1786 int 1787 main () 1788 { 1789 if (sizeof ($2)) 1790 return 0; 1791 ; 1792 return 0; 1793 } 1794 _ACEOF 1795 if ac_fn_c_try_compile "$LINENO"; then : 1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1797 /* end confdefs.h. */ 1798 $4 1799 int 1800 main () 1801 { 1802 if (sizeof (($2))) 1803 return 0; 1804 ; 1805 return 0; 1806 } 1807 _ACEOF 1808 if ac_fn_c_try_compile "$LINENO"; then : 1809 1810 else 1811 eval "$3=yes" 1812 fi 1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1814 fi 1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1816 fi 1817 eval ac_res=\$$3 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1819 $as_echo "$ac_res" >&6; } 1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1821 1822 } # ac_fn_c_check_type 1823 1824 # ac_fn_c_check_func LINENO FUNC VAR 1825 # ---------------------------------- 1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1827 ac_fn_c_check_func () 1828 { 1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1831 $as_echo_n "checking for $2... " >&6; } 1832 if eval "test \"\${$3+set}\"" = set; then : 1833 $as_echo_n "(cached) " >&6 1834 else 1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1836 /* end confdefs.h. */ 1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1839 #define $2 innocuous_$2 1840 1841 /* System header to define __stub macros and hopefully few prototypes, 1842 which can conflict with char $2 (); below. 1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1844 <limits.h> exists even on freestanding compilers. */ 1845 1846 #ifdef __STDC__ 1847 # include <limits.h> 1848 #else 1849 # include <assert.h> 1850 #endif 1851 1852 #undef $2 1853 1854 /* Override any GCC internal prototype to avoid an error. 1855 Use char because int might match the return type of a GCC 1856 builtin and then its argument prototype would still apply. */ 1857 #ifdef __cplusplus 1858 extern "C" 1859 #endif 1860 char $2 (); 1861 /* The GNU C library defines this for functions which it implements 1862 to always fail with ENOSYS. Some functions are actually named 1863 something starting with __ and the normal name is an alias. */ 1864 #if defined __stub_$2 || defined __stub___$2 1865 choke me 1866 #endif 1867 1868 int 1869 main () 1870 { 1871 return $2 (); 1872 ; 1873 return 0; 1874 } 1875 _ACEOF 1876 if ac_fn_c_try_link "$LINENO"; then : 1877 eval "$3=yes" 1878 else 1879 eval "$3=no" 1880 fi 1881 rm -f core conftest.err conftest.$ac_objext \ 1882 conftest$ac_exeext conftest.$ac_ext 1883 fi 1884 eval ac_res=\$$3 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1886 $as_echo "$ac_res" >&6; } 1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1888 1889 } # ac_fn_c_check_func 1890 1891 # ac_fn_cxx_try_run LINENO 1892 # ------------------------ 1893 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1894 # that executables *can* be run. 1895 ac_fn_cxx_try_run () 1896 { 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1898 if { { ac_try="$ac_link" 1899 case "(($ac_try" in 1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1901 *) ac_try_echo=$ac_try;; 1902 esac 1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1904 $as_echo "$ac_try_echo"; } >&5 1905 (eval "$ac_link") 2>&5 1906 ac_status=$? 1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1908 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1909 { { case "(($ac_try" in 1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1911 *) ac_try_echo=$ac_try;; 1912 esac 1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1914 $as_echo "$ac_try_echo"; } >&5 1915 (eval "$ac_try") 2>&5 1916 ac_status=$? 1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1918 test $ac_status = 0; }; }; then : 1919 ac_retval=0 1920 else 1921 $as_echo "$as_me: program exited with status $ac_status" >&5 1922 $as_echo "$as_me: failed program was:" >&5 1923 sed 's/^/| /' conftest.$ac_ext >&5 1924 1925 ac_retval=$ac_status 1926 fi 1927 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1929 as_fn_set_status $ac_retval 1930 1931 } # ac_fn_cxx_try_run 1932 cat >config.log <<_ACEOF 988 exit 0 989 fi 990 exec 5>config.log 991 cat >&5 <<_ACEOF 1933 992 This file contains any messages produced by compilers while 1934 993 running configure, to aid debugging if configure makes a mistake. 1935 994 1936 995 It was created by $as_me, which was 1937 generated by GNU Autoconf 2. 67. Invocation command line was996 generated by GNU Autoconf 2.59. Invocation command line was 1938 997 1939 998 $ $0 $@ 1940 999 1941 1000 _ACEOF 1942 exec 5>>config.log1943 1001 { 1944 1002 cat <<_ASUNAME … … 1959 1017 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1960 1018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1961 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1019 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1962 1020 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1963 1021 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1971 1029 IFS=$as_save_IFS 1972 1030 test -z "$as_dir" && as_dir=. 1973 $as_echo "PATH: $as_dir" 1974 done 1975 IFS=$as_save_IFS 1031 echo "PATH: $as_dir" 1032 done 1976 1033 1977 1034 } >&5 … … 1995 1052 ac_configure_args0= 1996 1053 ac_configure_args1= 1054 ac_sep= 1997 1055 ac_must_keep_next=false 1998 1056 for ac_pass in 1 2 … … 2005 1063 | -silent | --silent | --silen | --sile | --sil) 2006 1064 continue ;; 2007 * \'*)2008 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1065 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1066 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2009 1067 esac 2010 1068 case $ac_pass in 2011 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2012 1070 2) 2013 a s_fn_append ac_configure_args1 "'$ac_arg'"1071 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2014 1072 if test $ac_must_keep_next = true; then 2015 1073 ac_must_keep_next=false # Got value, back to normal. … … 2027 1085 esac 2028 1086 fi 2029 as_fn_append ac_configure_args " '$ac_arg'" 1087 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1088 # Get rid of the leading space. 1089 ac_sep=" " 2030 1090 ;; 2031 1091 esac 2032 1092 done 2033 1093 done 2034 { ac_configure_args0=; unset ac_configure_args0;}2035 { ac_configure_args1=; unset ac_configure_args1;}1094 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1095 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2036 1096 2037 1097 # When interrupted or exit'd, cleanup temporary files, and complete 2038 1098 # config.log. We remove comments because anyway the quotes in there 2039 1099 # would cause problems or look ugly. 2040 # WARNING: Use '\'' to represent an apostrophe within the trap.2041 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.1100 # WARNING: Be sure not to use single quotes in there, as some shells, 1101 # such as our DU 5.0 friend, will then `close' the trap. 2042 1102 trap 'exit_status=$? 2043 1103 # Save into config.log some information that might help in debugging. … … 2045 1105 echo 2046 1106 2047 $as_echo "## ---------------- ## 1107 cat <<\_ASBOX 1108 ## ---------------- ## 2048 1109 ## Cache variables. ## 2049 ## ---------------- ##" 1110 ## ---------------- ## 1111 _ASBOX 2050 1112 echo 2051 1113 # The following way of writing the cache mishandles newlines in values, 2052 ( 2053 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2054 eval ac_val=\$$ac_var 2055 case $ac_val in #( 2056 *${as_nl}*) 2057 case $ac_var in #( 2058 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2060 esac 2061 case $ac_var in #( 2062 _ | IFS | as_nl) ;; #( 2063 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2064 *) { eval $ac_var=; unset $ac_var;} ;; 2065 esac ;; 2066 esac 2067 done 1114 { 2068 1115 (set) 2>&1 | 2069 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(2070 * ${as_nl}ac_space=\ *)1116 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1117 *ac_space=\ *) 2071 1118 sed -n \ 2072 "s/' \''/'\''\\\\'\'''\''/g;2073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' \''\\2'\''/p"2074 ;; #(1119 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1121 ;; 2075 1122 *) 2076 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1123 sed -n \ 1124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 2077 1125 ;; 2078 esac | 2079 sort 2080 ) 1126 esac; 1127 } 2081 1128 echo 2082 1129 2083 $as_echo "## ----------------- ## 1130 cat <<\_ASBOX 1131 ## ----------------- ## 2084 1132 ## Output variables. ## 2085 ## ----------------- ##" 1133 ## ----------------- ## 1134 _ASBOX 2086 1135 echo 2087 1136 for ac_var in $ac_subst_vars 2088 1137 do 2089 eval ac_val=\$$ac_var 2090 case $ac_val in 2091 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2092 esac 2093 $as_echo "$ac_var='\''$ac_val'\''" 1138 eval ac_val=$`echo $ac_var` 1139 echo "$ac_var='"'"'$ac_val'"'"'" 2094 1140 done | sort 2095 1141 echo 2096 1142 2097 1143 if test -n "$ac_subst_files"; then 2098 $as_echo "## ------------------- ## 2099 ## File substitutions. ## 2100 ## ------------------- ##" 1144 cat <<\_ASBOX 1145 ## ------------- ## 1146 ## Output files. ## 1147 ## ------------- ## 1148 _ASBOX 2101 1149 echo 2102 1150 for ac_var in $ac_subst_files 2103 1151 do 2104 eval ac_val=\$$ac_var 2105 case $ac_val in 2106 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2107 esac 2108 $as_echo "$ac_var='\''$ac_val'\''" 1152 eval ac_val=$`echo $ac_var` 1153 echo "$ac_var='"'"'$ac_val'"'"'" 2109 1154 done | sort 2110 1155 echo … … 2112 1157 2113 1158 if test -s confdefs.h; then 2114 $as_echo "## ----------- ## 1159 cat <<\_ASBOX 1160 ## ----------- ## 2115 1161 ## confdefs.h. ## 2116 ## ----------- ##" 1162 ## ----------- ## 1163 _ASBOX 2117 1164 echo 2118 cat confdefs.h1165 sed "/^$/d" confdefs.h | sort 2119 1166 echo 2120 1167 fi 2121 1168 test "$ac_signal" != 0 && 2122 $as_echo "$as_me: caught signal $ac_signal"2123 $as_echo "$as_me: exit $exit_status"1169 echo "$as_me: caught signal $ac_signal" 1170 echo "$as_me: exit $exit_status" 2124 1171 } >&5 2125 rm -f core *.core core.conftest.*&&2126 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1172 rm -f core *.core && 1173 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 2127 1174 exit $exit_status 2128 ' 01175 ' 0 2129 1176 for ac_signal in 1 2 13 15; do 2130 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1177 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2131 1178 done 2132 1179 ac_signal=0 2133 1180 2134 1181 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2135 rm - f -rconftest* confdefs.h2136 2137 $as_echo "/* confdefs.h */" >confdefs.h1182 rm -rf conftest* confdefs.h 1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1184 echo >confdefs.h 2138 1185 2139 1186 # Predefined preprocessor variables. … … 2143 1190 _ACEOF 2144 1191 1192 2145 1193 cat >>confdefs.h <<_ACEOF 2146 1194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2147 1195 _ACEOF 2148 1196 1197 2149 1198 cat >>confdefs.h <<_ACEOF 2150 1199 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2151 1200 _ACEOF 2152 1201 1202 2153 1203 cat >>confdefs.h <<_ACEOF 2154 1204 #define PACKAGE_STRING "$PACKAGE_STRING" 2155 1205 _ACEOF 2156 1206 1207 2157 1208 cat >>confdefs.h <<_ACEOF 2158 1209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2159 1210 _ACEOF 2160 1211 2161 cat >>confdefs.h <<_ACEOF2162 #define PACKAGE_URL "$PACKAGE_URL"2163 _ACEOF2164 2165 1212 2166 1213 # Let the site file select an alternate cache file if it wants to. 2167 # Prefer an explicitly selected file to automatically selected ones. 2168 ac_site_file1=NONE 2169 ac_site_file2=NONE 2170 if test -n "$CONFIG_SITE"; then 2171 # We do not want a PATH search for config.site. 2172 case $CONFIG_SITE in #(( 2173 -*) ac_site_file1=./$CONFIG_SITE;; 2174 */*) ac_site_file1=$CONFIG_SITE;; 2175 *) ac_site_file1=./$CONFIG_SITE;; 2176 esac 2177 elif test "x$prefix" != xNONE; then 2178 ac_site_file1=$prefix/share/config.site 2179 ac_site_file2=$prefix/etc/config.site 2180 else 2181 ac_site_file1=$ac_default_prefix/share/config.site 2182 ac_site_file2=$ac_default_prefix/etc/config.site 2183 fi 2184 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2185 do 2186 test "x$ac_site_file" = xNONE && continue 2187 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2189 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1214 # Prefer explicitly selected file to automatically selected ones. 1215 if test -z "$CONFIG_SITE"; then 1216 if test "x$prefix" != xNONE; then 1217 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1218 else 1219 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1220 fi 1221 fi 1222 for ac_site_file in $CONFIG_SITE; do 1223 if test -r "$ac_site_file"; then 1224 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1225 echo "$as_me: loading site script $ac_site_file" >&6;} 2190 1226 sed 's/^/| /' "$ac_site_file" >&5 2191 . "$ac_site_file" \ 2192 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2194 as_fn_error $? "failed to load site script $ac_site_file 2195 See \`config.log' for more details" "$LINENO" 5 ; } 1227 . "$ac_site_file" 2196 1228 fi 2197 1229 done 2198 1230 2199 1231 if test -r "$cache_file"; then 2200 # Some versions of bash will fail to source /dev/null (special files2201 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2202 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2203 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52204 $as_echo "$as_me: loading cache $cache_file" >&6;}1232 # Some versions of bash will fail to source /dev/null (special 1233 # files actually), so we avoid doing that. 1234 if test -f "$cache_file"; then 1235 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1236 echo "$as_me: loading cache $cache_file" >&6;} 2205 1237 case $cache_file in 2206 [\\/]* | ?:[\\/]* ) . "$cache_file";;2207 *) . "./$cache_file";;1238 [\\/]* | ?:[\\/]* ) . $cache_file;; 1239 *) . ./$cache_file;; 2208 1240 esac 2209 1241 fi 2210 1242 else 2211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52212 $as_echo "$as_me: creating cache $cache_file" >&6;}1243 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1244 echo "$as_me: creating cache $cache_file" >&6;} 2213 1245 >$cache_file 2214 1246 fi … … 2217 1249 # value. 2218 1250 ac_cache_corrupted=false 2219 for ac_var in $ac_precious_vars; do 1251 for ac_var in `(set) 2>&1 | 1252 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2220 1253 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2221 1254 eval ac_new_set=\$ac_env_${ac_var}_set 2222 eval ac_old_val= \$ac_cv_env_${ac_var}_value2223 eval ac_new_val= \$ac_env_${ac_var}_value1255 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1256 eval ac_new_val="\$ac_env_${ac_var}_value" 2224 1257 case $ac_old_set,$ac_new_set in 2225 1258 set,) 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1259 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2228 1261 ac_cache_corrupted=: ;; 2229 1262 ,set) 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1263 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2232 1265 ac_cache_corrupted=: ;; 2233 1266 ,);; 2234 1267 *) 2235 1268 if test "x$ac_old_val" != "x$ac_new_val"; then 2236 # differences in whitespace do not lead to failure. 2237 ac_old_val_w=`echo x $ac_old_val` 2238 ac_new_val_w=`echo x $ac_new_val` 2239 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2242 ac_cache_corrupted=: 2243 else 2244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2246 eval $ac_var=\$ac_old_val 2247 fi 2248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2249 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1269 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1270 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1271 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1272 echo "$as_me: former value: $ac_old_val" >&2;} 1273 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1274 echo "$as_me: current value: $ac_new_val" >&2;} 1275 ac_cache_corrupted=: 2252 1276 fi;; 2253 1277 esac … … 2255 1279 if test "$ac_new_set" = set; then 2256 1280 case $ac_new_val in 2257 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1282 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2258 1283 *) ac_arg=$ac_var=$ac_new_val ;; 2259 1284 esac 2260 1285 case " $ac_configure_args " in 2261 1286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2262 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1287 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2263 1288 esac 2264 1289 fi 2265 1290 done 2266 1291 if $ac_cache_corrupted; then 2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2271 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2272 fi 2273 ## -------------------- ## 2274 ## Main body of script. ## 2275 ## -------------------- ## 1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1294 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1295 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1296 { (exit 1); exit 1; }; } 1297 fi 2276 1298 2277 1299 ac_ext=c … … 2282 1304 2283 1305 2284 ac_config_headers="$ac_config_headers config.h" 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 ac_config_headers="$ac_config_headers config.h" 2285 1324 2286 1325 … … 2301 1340 USE_FASTCGI=0 2302 1341 if test USE_FASTCGI = 1; then 2303 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1342 cat >>confdefs.h <<\_ACEOF 1343 #define USE_FASTCGI 1 1344 _ACEOF 2304 1345 2305 1346 … … 2307 1348 2308 1349 if test USE_LANGACTION = 1; then 2309 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 2310 2311 2312 fi 2313 2314 # Check whether --enable-corba was given. 2315 if test "${enable_corba+set}" = set; then : 2316 enableval=$enable_corba; USE_CORBA=$enableval 1350 cat >>confdefs.h <<\_ACEOF 1351 #define USE_LANGACTION 1 1352 _ACEOF 1353 1354 1355 fi 1356 1357 # Check whether --enable-corba or --disable-corba was given. 1358 if test "${enable_corba+set}" = set; then 1359 enableval="$enable_corba" 1360 USE_CORBA=$enableval 2317 1361 else 2318 1362 USE_CORBA=no 2319 fi 2320 1363 fi; 2321 1364 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 2322 1365 USE_CORBA=1 2323 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1366 cat >>confdefs.h <<\_ACEOF 1367 #define USE_CORBA 1368 _ACEOF 2324 1369 2325 1370 else … … 2329 1374 2330 1375 2331 # Check whether --with-micodir was given. 2332 if test "${with_micodir+set}" = set; then : 2333 withval=$with_micodir; MICO_DIR=$withval 1376 # Check whether --with-micodir or --without-micodir was given. 1377 if test "${with_micodir+set}" = set; then 1378 withval="$with_micodir" 1379 MICO_DIR=$withval 2334 1380 else 2335 1381 MICO_DIR="default" 2336 fi 2337 1382 fi; 2338 1383 cat >>confdefs.h <<_ACEOF 2339 1384 #define MICO_DIR "$MICO_DIR" … … 2342 1387 2343 1388 2344 # Check whether --enable-z3950 was given. 2345 if test "${enable_z3950+set}" = set; then : 2346 enableval=$enable_z3950; USE_Z3950=$enableval 1389 # Check whether --enable-z3950 or --disable-z3950 was given. 1390 if test "${enable_z3950+set}" = set; then 1391 enableval="$enable_z3950" 1392 USE_Z3950=$enableval 2347 1393 else 2348 1394 USE_Z3950=no 2349 fi 2350 1395 fi; 2351 1396 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 2352 1397 USE_Z3950=1 2353 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1398 cat >>confdefs.h <<\_ACEOF 1399 #define USE_Z3950 1400 _ACEOF 2354 1401 2355 1402 else … … 2358 1405 2359 1406 2360 # Check whether --enable-yaz was given. 2361 if test "${enable_yaz+set}" = set; then : 2362 enableval=$enable_yaz; USE_YAZ=$enableval 1407 # Check whether --enable-yaz or --disable-yaz was given. 1408 if test "${enable_yaz+set}" = set; then 1409 enableval="$enable_yaz" 1410 USE_YAZ=$enableval 2363 1411 else 2364 1412 USE_YAZ=yes 2365 fi 2366 1413 fi; 2367 1414 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 2368 1415 USE_YAZ=1 2369 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1416 cat >>confdefs.h <<\_ACEOF 1417 #define USE_YAZ 1418 _ACEOF 2370 1419 2371 1420 else … … 2374 1423 2375 1424 2376 # Check whether --enable-java was given. 2377 if test "${enable_java+set}" = set; then : 2378 enableval=$enable_java; ENABLE_JAVA=$enableval 1425 # Check whether --enable-java or --disable-java was given. 1426 if test "${enable_java+set}" = set; then 1427 enableval="$enable_java" 1428 ENABLE_JAVA=$enableval 2379 1429 else 2380 1430 ENABLE_JAVA=yes 2381 fi 2382 1431 fi; 2383 1432 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 2384 1433 ENABLE_JAVA=1 … … 2394 1443 2395 1444 2396 # Check whether --enable-jdbm was given. 2397 if test "${enable_jdbm+set}" = set; then : 2398 enableval=$enable_jdbm; USE_JDBM=$enableval 1445 # Check whether --enable-wvware or --disable-wvware was given. 1446 if test "${enable_wvware+set}" = set; then 1447 enableval="$enable_wvware" 1448 USE_WVWARE=$enableval 1449 else 1450 USE_WVWARE=yes 1451 fi; 1452 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 1453 USE_WVWARE=1 1454 cat >>confdefs.h <<\_ACEOF 1455 #define USE_WVWARE 1456 _ACEOF 1457 1458 else 1459 USE_WVWARE=0 1460 fi 1461 1462 1463 # Check whether --enable-jdbm or --disable-jdbm was given. 1464 if test "${enable_jdbm+set}" = set; then 1465 enableval="$enable_jdbm" 1466 USE_JDBM=$enableval 2399 1467 else 2400 1468 USE_JDBM=yes 2401 fi 2402 1469 fi; 2403 1470 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 2404 1471 USE_JDBM=1 2405 $as_echo "#define USE_JDBM /**/" >>confdefs.h 1472 cat >>confdefs.h <<\_ACEOF 1473 #define USE_JDBM 1474 _ACEOF 2406 1475 2407 1476 else … … 2410 1479 2411 1480 2412 # Check whether --enable-gdbm was given. 2413 if test "${enable_gdbm+set}" = set; then : 2414 enableval=$enable_gdbm; USE_GDBM=$enableval 1481 # Check whether --enable-gdbm or --disable-gdbm was given. 1482 if test "${enable_gdbm+set}" = set; then 1483 enableval="$enable_gdbm" 1484 USE_GDBM=$enableval 2415 1485 else 2416 1486 USE_GDBM=yes 2417 fi 2418 1487 fi; 2419 1488 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 2420 1489 USE_GDBM=1 2421 $as_echo "#define USE_GDBM /**/" >>confdefs.h 1490 cat >>confdefs.h <<\_ACEOF 1491 #define USE_GDBM 1492 _ACEOF 2422 1493 2423 1494 else … … 2426 1497 2427 1498 2428 # Check whether --enable-accentfold was given. 2429 if test "${enable_accentfold+set}" = set; then : 2430 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1499 # Check whether --enable-accentfold or --disable-accentfold was given. 1500 if test "${enable_accentfold+set}" = set; then 1501 enableval="$enable_accentfold" 1502 ENABLE_ACCENTFOLD=$enableval 2431 1503 else 2432 1504 ENABLE_ACCENTFOLD=yes 2433 fi 2434 1505 fi; 2435 1506 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 2436 1507 ENABLE_ACCENTFOLD=1 2437 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 1508 cat >>confdefs.h <<\_ACEOF 1509 #define ENABLE_ACCENTFOLD 1510 _ACEOF 2438 1511 2439 1512 else … … 2442 1515 2443 1516 2444 # Check whether --enable-sqlite was given. 2445 if test "${enable_sqlite+set}" = set; then : 2446 enableval=$enable_sqlite; USE_SQLITE=$enableval 1517 # Check whether --enable-sqlite or --disable-sqlite was given. 1518 if test "${enable_sqlite+set}" = set; then 1519 enableval="$enable_sqlite" 1520 USE_SQLITE=$enableval 2447 1521 else 2448 1522 USE_SQLITE=yes 2449 fi 2450 1523 fi; 2451 1524 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 2452 1525 USE_SQLITE=1 2453 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 1526 cat >>confdefs.h <<\_ACEOF 1527 #define USE_SQLITE 1528 _ACEOF 2454 1529 2455 1530 else … … 2474 1549 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2475 1550 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52477 $as_echo_n "checking for $ac_word... " >&6; } 2478 if test "${ac_cv_prog_CC+set}" = set; then :2479 $as_echo_n "(cached)" >&61551 echo "$as_me:$LINENO: checking for $ac_word" >&5 1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1553 if test "${ac_cv_prog_CC+set}" = set; then 1554 echo $ECHO_N "(cached) $ECHO_C" >&6 2480 1555 else 2481 1556 if test -n "$CC"; then … … 2487 1562 IFS=$as_save_IFS 2488 1563 test -z "$as_dir" && as_dir=. 2489 2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1564 for ac_exec_ext in '' $ac_executable_extensions; do 1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2491 1566 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2493 1568 break 2 2494 1569 fi 2495 1570 done 2496 done 2497 IFS=$as_save_IFS 1571 done 2498 1572 2499 1573 fi … … 2501 1575 CC=$ac_cv_prog_CC 2502 1576 if test -n "$CC"; then 2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2504 $as_echo "$CC" >&6; } 2505 else 2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2507 $as_echo "no" >&6; } 2508 fi 2509 1577 echo "$as_me:$LINENO: result: $CC" >&5 1578 echo "${ECHO_T}$CC" >&6 1579 else 1580 echo "$as_me:$LINENO: result: no" >&5 1581 echo "${ECHO_T}no" >&6 1582 fi 2510 1583 2511 1584 fi … … 2514 1587 # Extract the first word of "gcc", so it can be a program name with args. 2515 1588 set dummy gcc; ac_word=$2 2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52517 $as_echo_n "checking for $ac_word... " >&6; } 2518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2519 $as_echo_n "(cached)" >&61589 echo "$as_me:$LINENO: checking for $ac_word" >&5 1590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1591 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1592 echo $ECHO_N "(cached) $ECHO_C" >&6 2520 1593 else 2521 1594 if test -n "$ac_ct_CC"; then … … 2527 1600 IFS=$as_save_IFS 2528 1601 test -z "$as_dir" && as_dir=. 2529 2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1602 for ac_exec_ext in '' $ac_executable_extensions; do 1603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2531 1604 ac_cv_prog_ac_ct_CC="gcc" 2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2533 1606 break 2 2534 1607 fi 2535 1608 done 2536 done 2537 IFS=$as_save_IFS 1609 done 2538 1610 2539 1611 fi … … 2541 1613 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2542 1614 if test -n "$ac_ct_CC"; then 2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2544 $as_echo "$ac_ct_CC" >&6; } 2545 else 2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2547 $as_echo "no" >&6; } 2548 fi 2549 2550 if test "x$ac_ct_CC" = x; then 2551 CC="" 2552 else 2553 case $cross_compiling:$ac_tool_warned in 2554 yes:) 2555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2557 ac_tool_warned=yes ;; 2558 esac 2559 CC=$ac_ct_CC 2560 fi 1615 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1616 echo "${ECHO_T}$ac_ct_CC" >&6 1617 else 1618 echo "$as_me:$LINENO: result: no" >&5 1619 echo "${ECHO_T}no" >&6 1620 fi 1621 1622 CC=$ac_ct_CC 2561 1623 else 2562 1624 CC="$ac_cv_prog_CC" … … 2564 1626 2565 1627 if test -z "$CC"; then 2566 2567 1628 if test -n "$ac_tool_prefix"; then 1629 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2568 1630 set dummy ${ac_tool_prefix}cc; ac_word=$2 2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52570 $as_echo_n "checking for $ac_word... " >&6; } 2571 if test "${ac_cv_prog_CC+set}" = set; then :2572 $as_echo_n "(cached)" >&61631 echo "$as_me:$LINENO: checking for $ac_word" >&5 1632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1633 if test "${ac_cv_prog_CC+set}" = set; then 1634 echo $ECHO_N "(cached) $ECHO_C" >&6 2573 1635 else 2574 1636 if test -n "$CC"; then … … 2580 1642 IFS=$as_save_IFS 2581 1643 test -z "$as_dir" && as_dir=. 2582 2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1644 for ac_exec_ext in '' $ac_executable_extensions; do 1645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2584 1646 ac_cv_prog_CC="${ac_tool_prefix}cc" 2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2586 1648 break 2 2587 1649 fi 2588 1650 done 2589 done 2590 IFS=$as_save_IFS 1651 done 2591 1652 2592 1653 fi … … 2594 1655 CC=$ac_cv_prog_CC 2595 1656 if test -n "$CC"; then 2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2597 $as_echo "$CC" >&6; } 2598 else 2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2600 $as_echo "no" >&6; } 2601 fi 2602 2603 1657 echo "$as_me:$LINENO: result: $CC" >&5 1658 echo "${ECHO_T}$CC" >&6 1659 else 1660 echo "$as_me:$LINENO: result: no" >&5 1661 echo "${ECHO_T}no" >&6 1662 fi 1663 1664 fi 1665 if test -z "$ac_cv_prog_CC"; then 1666 ac_ct_CC=$CC 1667 # Extract the first word of "cc", so it can be a program name with args. 1668 set dummy cc; ac_word=$2 1669 echo "$as_me:$LINENO: checking for $ac_word" >&5 1670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1672 echo $ECHO_N "(cached) $ECHO_C" >&6 1673 else 1674 if test -n "$ac_ct_CC"; then 1675 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1676 else 1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1678 for as_dir in $PATH 1679 do 1680 IFS=$as_save_IFS 1681 test -z "$as_dir" && as_dir=. 1682 for ac_exec_ext in '' $ac_executable_extensions; do 1683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1684 ac_cv_prog_ac_ct_CC="cc" 1685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1686 break 2 2604 1687 fi 1688 done 1689 done 1690 1691 fi 1692 fi 1693 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1694 if test -n "$ac_ct_CC"; then 1695 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1696 echo "${ECHO_T}$ac_ct_CC" >&6 1697 else 1698 echo "$as_me:$LINENO: result: no" >&5 1699 echo "${ECHO_T}no" >&6 1700 fi 1701 1702 CC=$ac_ct_CC 1703 else 1704 CC="$ac_cv_prog_CC" 1705 fi 1706 2605 1707 fi 2606 1708 if test -z "$CC"; then 2607 1709 # Extract the first word of "cc", so it can be a program name with args. 2608 1710 set dummy cc; ac_word=$2 2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52610 $as_echo_n "checking for $ac_word... " >&6; } 2611 if test "${ac_cv_prog_CC+set}" = set; then :2612 $as_echo_n "(cached)" >&61711 echo "$as_me:$LINENO: checking for $ac_word" >&5 1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1713 if test "${ac_cv_prog_CC+set}" = set; then 1714 echo $ECHO_N "(cached) $ECHO_C" >&6 2613 1715 else 2614 1716 if test -n "$CC"; then … … 2621 1723 IFS=$as_save_IFS 2622 1724 test -z "$as_dir" && as_dir=. 2623 2624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1725 for ac_exec_ext in '' $ac_executable_extensions; do 1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2625 1727 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2626 1728 ac_prog_rejected=yes … … 2628 1730 fi 2629 1731 ac_cv_prog_CC="cc" 2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2631 1733 break 2 2632 1734 fi 2633 1735 done 2634 done 2635 IFS=$as_save_IFS 1736 done 2636 1737 2637 1738 if test $ac_prog_rejected = yes; then … … 2651 1752 CC=$ac_cv_prog_CC 2652 1753 if test -n "$CC"; then 2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2654 $as_echo "$CC" >&6; } 2655 else 2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2657 $as_echo "no" >&6; } 2658 fi 2659 1754 echo "$as_me:$LINENO: result: $CC" >&5 1755 echo "${ECHO_T}$CC" >&6 1756 else 1757 echo "$as_me:$LINENO: result: no" >&5 1758 echo "${ECHO_T}no" >&6 1759 fi 2660 1760 2661 1761 fi 2662 1762 if test -z "$CC"; then 2663 1763 if test -n "$ac_tool_prefix"; then 2664 for ac_prog in cl .exe1764 for ac_prog in cl 2665 1765 do 2666 1766 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2667 1767 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52669 $as_echo_n "checking for $ac_word... " >&6; } 2670 if test "${ac_cv_prog_CC+set}" = set; then :2671 $as_echo_n "(cached)" >&61768 echo "$as_me:$LINENO: checking for $ac_word" >&5 1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1770 if test "${ac_cv_prog_CC+set}" = set; then 1771 echo $ECHO_N "(cached) $ECHO_C" >&6 2672 1772 else 2673 1773 if test -n "$CC"; then … … 2679 1779 IFS=$as_save_IFS 2680 1780 test -z "$as_dir" && as_dir=. 2681 2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1781 for ac_exec_ext in '' $ac_executable_extensions; do 1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2683 1783 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2685 1785 break 2 2686 1786 fi 2687 1787 done 2688 done 2689 IFS=$as_save_IFS 1788 done 2690 1789 2691 1790 fi … … 2693 1792 CC=$ac_cv_prog_CC 2694 1793 if test -n "$CC"; then 2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2696 $as_echo "$CC" >&6; } 2697 else 2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2699 $as_echo "no" >&6; } 2700 fi 2701 1794 echo "$as_me:$LINENO: result: $CC" >&5 1795 echo "${ECHO_T}$CC" >&6 1796 else 1797 echo "$as_me:$LINENO: result: no" >&5 1798 echo "${ECHO_T}no" >&6 1799 fi 2702 1800 2703 1801 test -n "$CC" && break … … 2706 1804 if test -z "$CC"; then 2707 1805 ac_ct_CC=$CC 2708 for ac_prog in cl .exe1806 for ac_prog in cl 2709 1807 do 2710 1808 # Extract the first word of "$ac_prog", so it can be a program name with args. 2711 1809 set dummy $ac_prog; ac_word=$2 2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52713 $as_echo_n "checking for $ac_word... " >&6; } 2714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2715 $as_echo_n "(cached)" >&61810 echo "$as_me:$LINENO: checking for $ac_word" >&5 1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1812 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1813 echo $ECHO_N "(cached) $ECHO_C" >&6 2716 1814 else 2717 1815 if test -n "$ac_ct_CC"; then … … 2723 1821 IFS=$as_save_IFS 2724 1822 test -z "$as_dir" && as_dir=. 2725 2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1823 for ac_exec_ext in '' $ac_executable_extensions; do 1824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2727 1825 ac_cv_prog_ac_ct_CC="$ac_prog" 2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2729 1827 break 2 2730 1828 fi 2731 1829 done 2732 done 2733 IFS=$as_save_IFS 1830 done 2734 1831 2735 1832 fi … … 2737 1834 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2738 1835 if test -n "$ac_ct_CC"; then 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2740 $as_echo "$ac_ct_CC" >&6; } 2741 else 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2743 $as_echo "no" >&6; } 2744 fi 2745 1836 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1837 echo "${ECHO_T}$ac_ct_CC" >&6 1838 else 1839 echo "$as_me:$LINENO: result: no" >&5 1840 echo "${ECHO_T}no" >&6 1841 fi 2746 1842 2747 1843 test -n "$ac_ct_CC" && break 2748 1844 done 2749 1845 2750 if test "x$ac_ct_CC" = x; then 2751 CC="" 2752 else 2753 case $cross_compiling:$ac_tool_warned in 2754 yes:) 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2757 ac_tool_warned=yes ;; 2758 esac 2759 CC=$ac_ct_CC 2760 fi 2761 fi 2762 2763 fi 2764 2765 2766 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2768 as_fn_error $? "no acceptable C compiler found in \$PATH 2769 See \`config.log' for more details" "$LINENO" 5 ; } 1846 CC=$ac_ct_CC 1847 fi 1848 1849 fi 1850 1851 1852 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1853 See \`config.log' for more details." >&5 1854 echo "$as_me: error: no acceptable C compiler found in \$PATH 1855 See \`config.log' for more details." >&2;} 1856 { (exit 1); exit 1; }; } 2770 1857 2771 1858 # Provide some information about the compiler. 2772 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2773 set X $ac_compile 2774 ac_compiler=$2 2775 for ac_option in --version -v -V -qversion; do 2776 { { ac_try="$ac_compiler $ac_option >&5" 2777 case "(($ac_try" in 2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2779 *) ac_try_echo=$ac_try;; 2780 esac 2781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2782 $as_echo "$ac_try_echo"; } >&5 2783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2784 ac_status=$? 2785 if test -s conftest.err; then 2786 sed '10a\ 2787 ... rest of stderr output deleted ... 2788 10q' conftest.err >conftest.er1 2789 cat conftest.er1 >&5 2790 fi 2791 rm -f conftest.er1 conftest.err 2792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2793 test $ac_status = 0; } 2794 done 2795 2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1859 echo "$as_me:$LINENO:" \ 1860 "checking for C compiler version" >&5 1861 ac_compiler=`set X $ac_compile; echo $2` 1862 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1863 (eval $ac_compiler --version </dev/null >&5) 2>&5 1864 ac_status=$? 1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1866 (exit $ac_status); } 1867 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1868 (eval $ac_compiler -v </dev/null >&5) 2>&5 1869 ac_status=$? 1870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1871 (exit $ac_status); } 1872 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1873 (eval $ac_compiler -V </dev/null >&5) 2>&5 1874 ac_status=$? 1875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1876 (exit $ac_status); } 1877 1878 cat >conftest.$ac_ext <<_ACEOF 1879 /* confdefs.h. */ 1880 _ACEOF 1881 cat confdefs.h >>conftest.$ac_ext 1882 cat >>conftest.$ac_ext <<_ACEOF 2797 1883 /* end confdefs.h. */ 2798 1884 … … 2806 1892 _ACEOF 2807 1893 ac_clean_files_save=$ac_clean_files 2808 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"1894 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2809 1895 # Try to create an executable without -o first, disregard a.out. 2810 1896 # It will help us diagnose broken compilers, and finding out an intuition 2811 1897 # of exeext. 2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2813 $as_echo_n "checking whether the C compiler works... " >&6; } 2814 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2815 2816 # The possible output files: 2817 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2818 2819 ac_rmfiles= 2820 for ac_file in $ac_files 2821 do 2822 case $ac_file in 2823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2824 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2825 esac 2826 done 2827 rm -f $ac_rmfiles 2828 2829 if { { ac_try="$ac_link_default" 2830 case "(($ac_try" in 2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2832 *) ac_try_echo=$ac_try;; 2833 esac 2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2835 $as_echo "$ac_try_echo"; } >&5 2836 (eval "$ac_link_default") 2>&5 2837 ac_status=$? 2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2839 test $ac_status = 0; }; then : 2840 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2841 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2842 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2843 # so that the user can short-circuit this test for compilers unknown to 2844 # Autoconf. 2845 for ac_file in $ac_files '' 1898 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1899 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1900 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1901 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1902 (eval $ac_link_default) 2>&5 1903 ac_status=$? 1904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1905 (exit $ac_status); }; then 1906 # Find the output, starting from the most likely. This scheme is 1907 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1908 # resort. 1909 1910 # Be careful to initialize this variable, since it used to be cached. 1911 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1912 ac_cv_exeext= 1913 # b.out is created by i960 compilers. 1914 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2846 1915 do 2847 1916 test -f "$ac_file" || continue 2848 1917 case $ac_file in 2849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1919 ;; 1920 conftest.$ac_ext ) 1921 # This is the source file. 2850 1922 ;; 2851 1923 [ab].out ) … … 2854 1926 break;; 2855 1927 *.* ) 2856 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2857 then :; else 2858 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2859 fi 2860 # We set ac_cv_exeext here because the later test for it is not 2861 # safe: cross compilers may not add the suffix if given an `-o' 2862 # argument, so we may need to know it at that point already. 2863 # Even if this section looks crufty: it has the advantage of 2864 # actually working. 1928 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1929 # FIXME: I believe we export ac_cv_exeext for Libtool, 1930 # but it would be cool to find out if it's true. Does anybody 1931 # maintain Libtool? --akim. 1932 export ac_cv_exeext 2865 1933 break;; 2866 1934 * ) … … 2868 1936 esac 2869 1937 done 2870 test "$ac_cv_exeext" = no && ac_cv_exeext= 2871 2872 else 2873 ac_file='' 2874 fi 2875 if test -z "$ac_file"; then : 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2877 $as_echo "no" >&6; } 2878 $as_echo "$as_me: failed program was:" >&5 1938 else 1939 echo "$as_me: failed program was:" >&5 2879 1940 sed 's/^/| /' conftest.$ac_ext >&5 2880 1941 2881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2883 as_fn_error 77 "C compiler cannot create executables 2884 See \`config.log' for more details" "$LINENO" 5 ; } 2885 else 2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2887 $as_echo "yes" >&6; } 2888 fi 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2890 $as_echo_n "checking for C compiler default output file name... " >&6; } 2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2892 $as_echo "$ac_file" >&6; } 1942 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1943 See \`config.log' for more details." >&5 1944 echo "$as_me: error: C compiler cannot create executables 1945 See \`config.log' for more details." >&2;} 1946 { (exit 77); exit 77; }; } 1947 fi 1948 2893 1949 ac_exeext=$ac_cv_exeext 2894 2895 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 1950 echo "$as_me:$LINENO: result: $ac_file" >&5 1951 echo "${ECHO_T}$ac_file" >&6 1952 1953 # Check the compiler produces executables we can run. If not, either 1954 # the compiler is broken, or we cross compile. 1955 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1956 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1957 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1958 # If not cross compiling, check that we can run a simple program. 1959 if test "$cross_compiling" != yes; then 1960 if { ac_try='./$ac_file' 1961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1962 (eval $ac_try) 2>&5 1963 ac_status=$? 1964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1965 (exit $ac_status); }; }; then 1966 cross_compiling=no 1967 else 1968 if test "$cross_compiling" = maybe; then 1969 cross_compiling=yes 1970 else 1971 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1972 If you meant to cross compile, use \`--host'. 1973 See \`config.log' for more details." >&5 1974 echo "$as_me: error: cannot run C compiled programs. 1975 If you meant to cross compile, use \`--host'. 1976 See \`config.log' for more details." >&2;} 1977 { (exit 1); exit 1; }; } 1978 fi 1979 fi 1980 fi 1981 echo "$as_me:$LINENO: result: yes" >&5 1982 echo "${ECHO_T}yes" >&6 1983 1984 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2896 1985 ac_clean_files=$ac_clean_files_save 2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2898 $as_echo_n "checking for suffix of executables... " >&6; } 2899 if { { ac_try="$ac_link" 2900 case "(($ac_try" in 2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2902 *) ac_try_echo=$ac_try;; 2903 esac 2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2905 $as_echo "$ac_try_echo"; } >&5 2906 (eval "$ac_link") 2>&5 2907 ac_status=$? 2908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2909 test $ac_status = 0; }; then : 1986 # Check the compiler produces executables we can run. If not, either 1987 # the compiler is broken, or we cross compile. 1988 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1989 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1990 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1991 echo "${ECHO_T}$cross_compiling" >&6 1992 1993 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1994 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1996 (eval $ac_link) 2>&5 1997 ac_status=$? 1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1999 (exit $ac_status); }; then 2910 2000 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2911 2001 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2915 2005 test -f "$ac_file" || continue 2916 2006 case $ac_file in 2917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. map | *.inf | *.dSYM | *.o | *.obj ) ;;2007 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2918 2008 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2009 export ac_cv_exeext 2919 2010 break;; 2920 2011 * ) break;; … … 2922 2013 done 2923 2014 else 2924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2926 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2927 See \`config.log' for more details" "$LINENO" 5 ; } 2928 fi 2929 rm -f conftest conftest$ac_cv_exeext 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2931 $as_echo "$ac_cv_exeext" >&6; } 2015 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2016 See \`config.log' for more details." >&5 2017 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2018 See \`config.log' for more details." >&2;} 2019 { (exit 1); exit 1; }; } 2020 fi 2021 2022 rm -f conftest$ac_cv_exeext 2023 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2024 echo "${ECHO_T}$ac_cv_exeext" >&6 2932 2025 2933 2026 rm -f conftest.$ac_ext 2934 2027 EXEEXT=$ac_cv_exeext 2935 2028 ac_exeext=$EXEEXT 2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2029 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2030 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2031 if test "${ac_cv_objext+set}" = set; then 2032 echo $ECHO_N "(cached) $ECHO_C" >&6 2033 else 2034 cat >conftest.$ac_ext <<_ACEOF 2035 /* confdefs.h. */ 2036 _ACEOF 2037 cat confdefs.h >>conftest.$ac_ext 2038 cat >>conftest.$ac_ext <<_ACEOF 2937 2039 /* end confdefs.h. */ 2938 #include <stdio.h> 2040 2939 2041 int 2940 2042 main () 2941 2043 { 2942 FILE *f = fopen ("conftest.out", "w");2943 return ferror (f) || fclose (f) != 0;2944 2044 2945 2045 ; … … 2947 2047 } 2948 2048 _ACEOF 2949 ac_clean_files="$ac_clean_files conftest.out"2950 # Check that the compiler produces executables we can run. If not, either2951 # the compiler is broken, or we cross compile.2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&52953 $as_echo_n "checking whether we are cross compiling... " >&6; }2954 if test "$cross_compiling" != yes; then2955 { { ac_try="$ac_link"2956 case "(($ac_try" in2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2958 *) ac_try_echo=$ac_try;;2959 esac2960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2961 $as_echo "$ac_try_echo"; } >&52962 (eval "$ac_link") 2>&52963 ac_status=$?2964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52965 test $ac_status = 0; }2966 if { ac_try='./conftest$ac_cv_exeext'2967 { { case "(($ac_try" in2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2969 *) ac_try_echo=$ac_try;;2970 esac2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2972 $as_echo "$ac_try_echo"; } >&52973 (eval "$ac_try") 2>&52974 ac_status=$?2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52976 test $ac_status = 0; }; }; then2977 cross_compiling=no2978 else2979 if test "$cross_compiling" = maybe; then2980 cross_compiling=yes2981 else2982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2984 as_fn_error $? "cannot run C compiled programs.2985 If you meant to cross compile, use \`--host'.2986 See \`config.log' for more details" "$LINENO" 5 ; }2987 fi2988 fi2989 fi2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&52991 $as_echo "$cross_compiling" >&6; }2992 2993 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out2994 ac_clean_files=$ac_clean_files_save2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&52996 $as_echo_n "checking for suffix of object files... " >&6; }2997 if test "${ac_cv_objext+set}" = set; then :2998 $as_echo_n "(cached) " >&62999 else3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3001 /* end confdefs.h. */3002 3003 int3004 main ()3005 {3006 3007 ;3008 return 0;3009 }3010 _ACEOF3011 2049 rm -f conftest.o conftest.obj 3012 if { { ac_try="$ac_compile" 3013 case "(($ac_try" in 3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3015 *) ac_try_echo=$ac_try;; 3016 esac 3017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3018 $as_echo "$ac_try_echo"; } >&5 3019 (eval "$ac_compile") 2>&5 3020 ac_status=$? 3021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3022 test $ac_status = 0; }; then : 3023 for ac_file in conftest.o conftest.obj conftest.*; do 3024 test -f "$ac_file" || continue; 2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2051 (eval $ac_compile) 2>&5 2052 ac_status=$? 2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2054 (exit $ac_status); }; then 2055 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3025 2056 case $ac_file in 3026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 3027 2058 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3028 2059 break;; … … 3030 2061 done 3031 2062 else 3032 $as_echo "$as_me: failed program was:" >&52063 echo "$as_me: failed program was:" >&5 3033 2064 sed 's/^/| /' conftest.$ac_ext >&5 3034 2065 3035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3037 as_fn_error $? "cannot compute suffix of object files: cannot compile 3038 See \`config.log' for more details" "$LINENO" 5 ; } 3039 fi 2066 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2067 See \`config.log' for more details." >&5 2068 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2069 See \`config.log' for more details." >&2;} 2070 { (exit 1); exit 1; }; } 2071 fi 2072 3040 2073 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3041 2074 fi 3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&53043 $as_echo "$ac_cv_objext" >&6; } 2075 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2076 echo "${ECHO_T}$ac_cv_objext" >&6 3044 2077 OBJEXT=$ac_cv_objext 3045 2078 ac_objext=$OBJEXT 3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3047 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3048 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3049 $as_echo_n "(cached) " >&6 3050 else 3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2079 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2080 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2081 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2082 echo $ECHO_N "(cached) $ECHO_C" >&6 2083 else 2084 cat >conftest.$ac_ext <<_ACEOF 2085 /* confdefs.h. */ 2086 _ACEOF 2087 cat confdefs.h >>conftest.$ac_ext 2088 cat >>conftest.$ac_ext <<_ACEOF 3052 2089 /* end confdefs.h. */ 3053 2090 … … 3063 2100 } 3064 2101 _ACEOF 3065 if ac_fn_c_try_compile "$LINENO"; then : 2102 rm -f conftest.$ac_objext 2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2104 (eval $ac_compile) 2>conftest.er1 2105 ac_status=$? 2106 grep -v '^ *+' conftest.er1 >conftest.err 2107 rm -f conftest.er1 2108 cat conftest.err >&5 2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2110 (exit $ac_status); } && 2111 { ac_try='test -z "$ac_c_werror_flag" 2112 || test ! -s conftest.err' 2113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2114 (eval $ac_try) 2>&5 2115 ac_status=$? 2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2117 (exit $ac_status); }; } && 2118 { ac_try='test -s conftest.$ac_objext' 2119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2120 (eval $ac_try) 2>&5 2121 ac_status=$? 2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2123 (exit $ac_status); }; }; then 3066 2124 ac_compiler_gnu=yes 3067 2125 else 3068 ac_compiler_gnu=no 3069 fi 3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2126 echo "$as_me: failed program was:" >&5 2127 sed 's/^/| /' conftest.$ac_ext >&5 2128 2129 ac_compiler_gnu=no 2130 fi 2131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3071 2132 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3072 2133 3073 2134 fi 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3075 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3076 if test $ac_compiler_gnu = yes; then 3077 GCC=yes 3078 else 3079 GCC= 3080 fi 2135 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2136 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2137 GCC=`test $ac_compiler_gnu = yes && echo yes` 3081 2138 ac_test_CFLAGS=${CFLAGS+set} 3082 2139 ac_save_CFLAGS=$CFLAGS 3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3084 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3085 if test "${ac_cv_prog_cc_g+set}" = set; then : 3086 $as_echo_n "(cached) " >&6 3087 else 3088 ac_save_c_werror_flag=$ac_c_werror_flag 3089 ac_c_werror_flag=yes 3090 ac_cv_prog_cc_g=no 3091 CFLAGS="-g" 3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2140 CFLAGS="-g" 2141 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2142 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2143 if test "${ac_cv_prog_cc_g+set}" = set; then 2144 echo $ECHO_N "(cached) $ECHO_C" >&6 2145 else 2146 cat >conftest.$ac_ext <<_ACEOF 2147 /* confdefs.h. */ 2148 _ACEOF 2149 cat confdefs.h >>conftest.$ac_ext 2150 cat >>conftest.$ac_ext <<_ACEOF 3093 2151 /* end confdefs.h. */ 3094 2152 … … 3101 2159 } 3102 2160 _ACEOF 3103 if ac_fn_c_try_compile "$LINENO"; then : 2161 rm -f conftest.$ac_objext 2162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2163 (eval $ac_compile) 2>conftest.er1 2164 ac_status=$? 2165 grep -v '^ *+' conftest.er1 >conftest.err 2166 rm -f conftest.er1 2167 cat conftest.err >&5 2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2169 (exit $ac_status); } && 2170 { ac_try='test -z "$ac_c_werror_flag" 2171 || test ! -s conftest.err' 2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2173 (eval $ac_try) 2>&5 2174 ac_status=$? 2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2176 (exit $ac_status); }; } && 2177 { ac_try='test -s conftest.$ac_objext' 2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2179 (eval $ac_try) 2>&5 2180 ac_status=$? 2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2182 (exit $ac_status); }; }; then 3104 2183 ac_cv_prog_cc_g=yes 3105 2184 else 3106 CFLAGS="" 3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3108 /* end confdefs.h. */ 3109 3110 int 3111 main () 3112 { 3113 3114 ; 3115 return 0; 3116 } 3117 _ACEOF 3118 if ac_fn_c_try_compile "$LINENO"; then : 3119 3120 else 3121 ac_c_werror_flag=$ac_save_c_werror_flag 3122 CFLAGS="-g" 3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3124 /* end confdefs.h. */ 3125 3126 int 3127 main () 3128 { 3129 3130 ; 3131 return 0; 3132 } 3133 _ACEOF 3134 if ac_fn_c_try_compile "$LINENO"; then : 3135 ac_cv_prog_cc_g=yes 3136 fi 3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3138 fi 3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3140 fi 3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3142 ac_c_werror_flag=$ac_save_c_werror_flag 3143 fi 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3145 $as_echo "$ac_cv_prog_cc_g" >&6; } 2185 echo "$as_me: failed program was:" >&5 2186 sed 's/^/| /' conftest.$ac_ext >&5 2187 2188 ac_cv_prog_cc_g=no 2189 fi 2190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2191 fi 2192 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2193 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3146 2194 if test "$ac_test_CFLAGS" = set; then 3147 2195 CFLAGS=$ac_save_CFLAGS … … 3159 2207 fi 3160 2208 fi 3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53162 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3163 if test "${ac_cv_prog_cc_ c89+set}" = set; then :3164 $as_echo_n "(cached)" >&63165 else 3166 ac_cv_prog_cc_ c89=no2209 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2210 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2211 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2212 echo $ECHO_N "(cached) $ECHO_C" >&6 2213 else 2214 ac_cv_prog_cc_stdc=no 3167 2215 ac_save_CC=$CC 3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2216 cat >conftest.$ac_ext <<_ACEOF 2217 /* confdefs.h. */ 2218 _ACEOF 2219 cat confdefs.h >>conftest.$ac_ext 2220 cat >>conftest.$ac_ext <<_ACEOF 3169 2221 /* end confdefs.h. */ 3170 2222 #include <stdarg.h> … … 3194 2246 function prototypes and stuff, but not '\xHH' hex character constants. 3195 2247 These don't provoke an error unfortunately, instead are silently treated 3196 as 'x'. The following induces an error, until -std is added to get2248 as 'x'. The following induces an error, until -std1 is added to get 3197 2249 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3198 2250 array size at least. It's necessary to write '\x00'==0 to get something 3199 that's true only with -std . */2251 that's true only with -std1. */ 3200 2252 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3201 3202 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters3203 inside strings and character constants. */3204 #define FOO(x) 'x'3205 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];3206 2253 3207 2254 int test (int i, double x); … … 3219 2266 } 3220 2267 _ACEOF 3221 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3222 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2268 # Don't try gcc -ansi; that turns off useful extensions and 2269 # breaks some systems' header files. 2270 # AIX -qlanglvl=ansi 2271 # Ultrix and OSF/1 -std1 2272 # HP-UX 10.20 and later -Ae 2273 # HP-UX older versions -Aa -D_HPUX_SOURCE 2274 # SVR4 -Xc -D__EXTENSIONS__ 2275 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3223 2276 do 3224 2277 CC="$ac_save_CC $ac_arg" 3225 if ac_fn_c_try_compile "$LINENO"; then : 3226 ac_cv_prog_cc_c89=$ac_arg 3227 fi 3228 rm -f core conftest.err conftest.$ac_objext 3229 test "x$ac_cv_prog_cc_c89" != "xno" && break 2278 rm -f conftest.$ac_objext 2279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2280 (eval $ac_compile) 2>conftest.er1 2281 ac_status=$? 2282 grep -v '^ *+' conftest.er1 >conftest.err 2283 rm -f conftest.er1 2284 cat conftest.err >&5 2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2286 (exit $ac_status); } && 2287 { ac_try='test -z "$ac_c_werror_flag" 2288 || test ! -s conftest.err' 2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2290 (eval $ac_try) 2>&5 2291 ac_status=$? 2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2293 (exit $ac_status); }; } && 2294 { ac_try='test -s conftest.$ac_objext' 2295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2296 (eval $ac_try) 2>&5 2297 ac_status=$? 2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2299 (exit $ac_status); }; }; then 2300 ac_cv_prog_cc_stdc=$ac_arg 2301 break 2302 else 2303 echo "$as_me: failed program was:" >&5 2304 sed 's/^/| /' conftest.$ac_ext >&5 2305 2306 fi 2307 rm -f conftest.err conftest.$ac_objext 3230 2308 done 3231 rm -f conftest.$ac_ext 2309 rm -f conftest.$ac_ext conftest.$ac_objext 3232 2310 CC=$ac_save_CC 3233 2311 3234 2312 fi 3235 # AC_CACHE_VAL 3236 case "x$ac_cv_prog_cc_c89" in 3237 x) 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3239 $as_echo "none needed" >&6; } ;; 3240 xno) 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3242 $as_echo "unsupported" >&6; } ;; 2313 2314 case "x$ac_cv_prog_cc_stdc" in 2315 x|xno) 2316 echo "$as_me:$LINENO: result: none needed" >&5 2317 echo "${ECHO_T}none needed" >&6 ;; 3243 2318 *) 3244 CC="$CC $ac_cv_prog_cc_c89"3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3246 $as_echo "$ac_cv_prog_cc_c89" >&6; };;2319 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2320 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2321 CC="$CC $ac_cv_prog_cc_stdc" ;; 3247 2322 esac 3248 if test "x$ac_cv_prog_cc_c89" != xno; then : 3249 3250 fi 3251 2323 2324 # Some people use a C++ compiler to compile C. Since we use `exit', 2325 # in C++ we need to declare it. In case someone uses the same compiler 2326 # for both compiling C and C++ we need to have the C++ compiler decide 2327 # the declaration of exit, since it's the most demanding environment. 2328 cat >conftest.$ac_ext <<_ACEOF 2329 #ifndef __cplusplus 2330 choke me 2331 #endif 2332 _ACEOF 2333 rm -f conftest.$ac_objext 2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2335 (eval $ac_compile) 2>conftest.er1 2336 ac_status=$? 2337 grep -v '^ *+' conftest.er1 >conftest.err 2338 rm -f conftest.er1 2339 cat conftest.err >&5 2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2341 (exit $ac_status); } && 2342 { ac_try='test -z "$ac_c_werror_flag" 2343 || test ! -s conftest.err' 2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2345 (eval $ac_try) 2>&5 2346 ac_status=$? 2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2348 (exit $ac_status); }; } && 2349 { ac_try='test -s conftest.$ac_objext' 2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2351 (eval $ac_try) 2>&5 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; }; then 2355 for ac_declaration in \ 2356 '' \ 2357 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2358 'extern "C" void std::exit (int); using std::exit;' \ 2359 'extern "C" void exit (int) throw ();' \ 2360 'extern "C" void exit (int);' \ 2361 'void exit (int);' 2362 do 2363 cat >conftest.$ac_ext <<_ACEOF 2364 /* confdefs.h. */ 2365 _ACEOF 2366 cat confdefs.h >>conftest.$ac_ext 2367 cat >>conftest.$ac_ext <<_ACEOF 2368 /* end confdefs.h. */ 2369 $ac_declaration 2370 #include <stdlib.h> 2371 int 2372 main () 2373 { 2374 exit (42); 2375 ; 2376 return 0; 2377 } 2378 _ACEOF 2379 rm -f conftest.$ac_objext 2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2381 (eval $ac_compile) 2>conftest.er1 2382 ac_status=$? 2383 grep -v '^ *+' conftest.er1 >conftest.err 2384 rm -f conftest.er1 2385 cat conftest.err >&5 2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2387 (exit $ac_status); } && 2388 { ac_try='test -z "$ac_c_werror_flag" 2389 || test ! -s conftest.err' 2390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2391 (eval $ac_try) 2>&5 2392 ac_status=$? 2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2394 (exit $ac_status); }; } && 2395 { ac_try='test -s conftest.$ac_objext' 2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2397 (eval $ac_try) 2>&5 2398 ac_status=$? 2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2400 (exit $ac_status); }; }; then 2401 : 2402 else 2403 echo "$as_me: failed program was:" >&5 2404 sed 's/^/| /' conftest.$ac_ext >&5 2405 2406 continue 2407 fi 2408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2409 cat >conftest.$ac_ext <<_ACEOF 2410 /* confdefs.h. */ 2411 _ACEOF 2412 cat confdefs.h >>conftest.$ac_ext 2413 cat >>conftest.$ac_ext <<_ACEOF 2414 /* end confdefs.h. */ 2415 $ac_declaration 2416 int 2417 main () 2418 { 2419 exit (42); 2420 ; 2421 return 0; 2422 } 2423 _ACEOF 2424 rm -f conftest.$ac_objext 2425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2426 (eval $ac_compile) 2>conftest.er1 2427 ac_status=$? 2428 grep -v '^ *+' conftest.er1 >conftest.err 2429 rm -f conftest.er1 2430 cat conftest.err >&5 2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2432 (exit $ac_status); } && 2433 { ac_try='test -z "$ac_c_werror_flag" 2434 || test ! -s conftest.err' 2435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2436 (eval $ac_try) 2>&5 2437 ac_status=$? 2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2439 (exit $ac_status); }; } && 2440 { ac_try='test -s conftest.$ac_objext' 2441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2442 (eval $ac_try) 2>&5 2443 ac_status=$? 2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2445 (exit $ac_status); }; }; then 2446 break 2447 else 2448 echo "$as_me: failed program was:" >&5 2449 sed 's/^/| /' conftest.$ac_ext >&5 2450 2451 fi 2452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2453 done 2454 rm -f conftest* 2455 if test -n "$ac_declaration"; then 2456 echo '#ifdef __cplusplus' >>confdefs.h 2457 echo $ac_declaration >>confdefs.h 2458 echo '#endif' >>confdefs.h 2459 fi 2460 2461 else 2462 echo "$as_me: failed program was:" >&5 2463 sed 's/^/| /' conftest.$ac_ext >&5 2464 2465 fi 2466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3252 2467 ac_ext=c 3253 2468 ac_cpp='$CPP $CPPFLAGS' … … 3256 2471 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3257 2472 3258 ac_ext=c pp2473 ac_ext=cc 3259 2474 ac_cpp='$CXXCPP $CPPFLAGS' 3260 2475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3261 2476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3262 2477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3263 if test -z "$CXX"; then 3264 if test -n "$CCC"; then 3265 CXX=$CCC 3266 else 3267 if test -n "$ac_tool_prefix"; then 3268 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2478 if test -n "$ac_tool_prefix"; then 2479 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3269 2480 do 3270 2481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3271 2482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53273 $as_echo_n "checking for $ac_word... " >&6; } 3274 if test "${ac_cv_prog_CXX+set}" = set; then :3275 $as_echo_n "(cached)" >&62483 echo "$as_me:$LINENO: checking for $ac_word" >&5 2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2485 if test "${ac_cv_prog_CXX+set}" = set; then 2486 echo $ECHO_N "(cached) $ECHO_C" >&6 3276 2487 else 3277 2488 if test -n "$CXX"; then … … 3283 2494 IFS=$as_save_IFS 3284 2495 test -z "$as_dir" && as_dir=. 3285 3286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2496 for ac_exec_ext in '' $ac_executable_extensions; do 2497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3287 2498 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3289 2500 break 2 3290 2501 fi 3291 2502 done 3292 done 3293 IFS=$as_save_IFS 2503 done 3294 2504 3295 2505 fi … … 3297 2507 CXX=$ac_cv_prog_CXX 3298 2508 if test -n "$CXX"; then 3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3300 $as_echo "$CXX" >&6; } 3301 else 3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3303 $as_echo "no" >&6; } 3304 fi 3305 2509 echo "$as_me:$LINENO: result: $CXX" >&5 2510 echo "${ECHO_T}$CXX" >&6 2511 else 2512 echo "$as_me:$LINENO: result: no" >&5 2513 echo "${ECHO_T}no" >&6 2514 fi 3306 2515 3307 2516 test -n "$CXX" && break … … 3310 2519 if test -z "$CXX"; then 3311 2520 ac_ct_CXX=$CXX 3312 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC2521 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3313 2522 do 3314 2523 # Extract the first word of "$ac_prog", so it can be a program name with args. 3315 2524 set dummy $ac_prog; ac_word=$2 3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53317 $as_echo_n "checking for $ac_word... " >&6; } 3318 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3319 $as_echo_n "(cached)" >&62525 echo "$as_me:$LINENO: checking for $ac_word" >&5 2526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2527 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2528 echo $ECHO_N "(cached) $ECHO_C" >&6 3320 2529 else 3321 2530 if test -n "$ac_ct_CXX"; then … … 3327 2536 IFS=$as_save_IFS 3328 2537 test -z "$as_dir" && as_dir=. 3329 3330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2538 for ac_exec_ext in '' $ac_executable_extensions; do 2539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3331 2540 ac_cv_prog_ac_ct_CXX="$ac_prog" 3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3333 2542 break 2 3334 2543 fi 3335 2544 done 3336 done 3337 IFS=$as_save_IFS 2545 done 3338 2546 3339 2547 fi … … 3341 2549 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3342 2550 if test -n "$ac_ct_CXX"; then 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3344 $as_echo "$ac_ct_CXX" >&6; } 3345 else 3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3347 $as_echo "no" >&6; } 3348 fi 3349 2551 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2552 echo "${ECHO_T}$ac_ct_CXX" >&6 2553 else 2554 echo "$as_me:$LINENO: result: no" >&5 2555 echo "${ECHO_T}no" >&6 2556 fi 3350 2557 3351 2558 test -n "$ac_ct_CXX" && break 3352 2559 done 3353 3354 if test "x$ac_ct_CXX" = x; then 3355 CXX="g++" 3356 else 3357 case $cross_compiling:$ac_tool_warned in 3358 yes:) 3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3361 ac_tool_warned=yes ;; 3362 esac 3363 CXX=$ac_ct_CXX 3364 fi 3365 fi 3366 3367 fi 3368 fi 2560 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2561 2562 CXX=$ac_ct_CXX 2563 fi 2564 2565 3369 2566 # Provide some information about the compiler. 3370 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3371 set X $ac_compile 3372 ac_compiler=$2 3373 for ac_option in --version -v -V -qversion; do 3374 { { ac_try="$ac_compiler $ac_option >&5" 3375 case "(($ac_try" in 3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3377 *) ac_try_echo=$ac_try;; 3378 esac 3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3380 $as_echo "$ac_try_echo"; } >&5 3381 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3382 ac_status=$? 3383 if test -s conftest.err; then 3384 sed '10a\ 3385 ... rest of stderr output deleted ... 3386 10q' conftest.err >conftest.er1 3387 cat conftest.er1 >&5 3388 fi 3389 rm -f conftest.er1 conftest.err 3390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3391 test $ac_status = 0; } 3392 done 3393 3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3395 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3396 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3397 $as_echo_n "(cached) " >&6 3398 else 3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2567 echo "$as_me:$LINENO:" \ 2568 "checking for C++ compiler version" >&5 2569 ac_compiler=`set X $ac_compile; echo $2` 2570 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2571 (eval $ac_compiler --version </dev/null >&5) 2>&5 2572 ac_status=$? 2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2574 (exit $ac_status); } 2575 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2576 (eval $ac_compiler -v </dev/null >&5) 2>&5 2577 ac_status=$? 2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2579 (exit $ac_status); } 2580 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2581 (eval $ac_compiler -V </dev/null >&5) 2>&5 2582 ac_status=$? 2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2584 (exit $ac_status); } 2585 2586 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2587 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2588 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2589 echo $ECHO_N "(cached) $ECHO_C" >&6 2590 else 2591 cat >conftest.$ac_ext <<_ACEOF 2592 /* confdefs.h. */ 2593 _ACEOF 2594 cat confdefs.h >>conftest.$ac_ext 2595 cat >>conftest.$ac_ext <<_ACEOF 3400 2596 /* end confdefs.h. */ 3401 2597 … … 3411 2607 } 3412 2608 _ACEOF 3413 if ac_fn_cxx_try_compile "$LINENO"; then : 2609 rm -f conftest.$ac_objext 2610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2611 (eval $ac_compile) 2>conftest.er1 2612 ac_status=$? 2613 grep -v '^ *+' conftest.er1 >conftest.err 2614 rm -f conftest.er1 2615 cat conftest.err >&5 2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2617 (exit $ac_status); } && 2618 { ac_try='test -z "$ac_cxx_werror_flag" 2619 || test ! -s conftest.err' 2620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2621 (eval $ac_try) 2>&5 2622 ac_status=$? 2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2624 (exit $ac_status); }; } && 2625 { ac_try='test -s conftest.$ac_objext' 2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2627 (eval $ac_try) 2>&5 2628 ac_status=$? 2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2630 (exit $ac_status); }; }; then 3414 2631 ac_compiler_gnu=yes 3415 2632 else 3416 ac_compiler_gnu=no 3417 fi 3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2633 echo "$as_me: failed program was:" >&5 2634 sed 's/^/| /' conftest.$ac_ext >&5 2635 2636 ac_compiler_gnu=no 2637 fi 2638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3419 2639 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3420 2640 3421 2641 fi 3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3423 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3424 if test $ac_compiler_gnu = yes; then 3425 GXX=yes 3426 else 3427 GXX= 3428 fi 2642 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2643 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2644 GXX=`test $ac_compiler_gnu = yes && echo yes` 3429 2645 ac_test_CXXFLAGS=${CXXFLAGS+set} 3430 2646 ac_save_CXXFLAGS=$CXXFLAGS 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3432 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3433 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3434 $as_echo_n "(cached) " >&6 3435 else 3436 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3437 ac_cxx_werror_flag=yes 3438 ac_cv_prog_cxx_g=no 3439 CXXFLAGS="-g" 3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2647 CXXFLAGS="-g" 2648 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2649 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2650 if test "${ac_cv_prog_cxx_g+set}" = set; then 2651 echo $ECHO_N "(cached) $ECHO_C" >&6 2652 else 2653 cat >conftest.$ac_ext <<_ACEOF 2654 /* confdefs.h. */ 2655 _ACEOF 2656 cat confdefs.h >>conftest.$ac_ext 2657 cat >>conftest.$ac_ext <<_ACEOF 3441 2658 /* end confdefs.h. */ 3442 2659 … … 3449 2666 } 3450 2667 _ACEOF 3451 if ac_fn_cxx_try_compile "$LINENO"; then : 2668 rm -f conftest.$ac_objext 2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2670 (eval $ac_compile) 2>conftest.er1 2671 ac_status=$? 2672 grep -v '^ *+' conftest.er1 >conftest.err 2673 rm -f conftest.er1 2674 cat conftest.err >&5 2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); } && 2677 { ac_try='test -z "$ac_cxx_werror_flag" 2678 || test ! -s conftest.err' 2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2680 (eval $ac_try) 2>&5 2681 ac_status=$? 2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2683 (exit $ac_status); }; } && 2684 { ac_try='test -s conftest.$ac_objext' 2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2686 (eval $ac_try) 2>&5 2687 ac_status=$? 2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2689 (exit $ac_status); }; }; then 3452 2690 ac_cv_prog_cxx_g=yes 3453 2691 else 3454 CXXFLAGS="" 3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3456 /* end confdefs.h. */ 3457 3458 int 3459 main () 3460 { 3461 3462 ; 3463 return 0; 3464 } 3465 _ACEOF 3466 if ac_fn_cxx_try_compile "$LINENO"; then : 3467 3468 else 3469 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3470 CXXFLAGS="-g" 3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3472 /* end confdefs.h. */ 3473 3474 int 3475 main () 3476 { 3477 3478 ; 3479 return 0; 3480 } 3481 _ACEOF 3482 if ac_fn_cxx_try_compile "$LINENO"; then : 3483 ac_cv_prog_cxx_g=yes 3484 fi 3485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3486 fi 3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3488 fi 3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3490 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3491 fi 3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3493 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2692 echo "$as_me: failed program was:" >&5 2693 sed 's/^/| /' conftest.$ac_ext >&5 2694 2695 ac_cv_prog_cxx_g=no 2696 fi 2697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2698 fi 2699 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2700 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3494 2701 if test "$ac_test_CXXFLAGS" = set; then 3495 2702 CXXFLAGS=$ac_save_CXXFLAGS … … 3507 2714 fi 3508 2715 fi 2716 for ac_declaration in \ 2717 '' \ 2718 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2719 'extern "C" void std::exit (int); using std::exit;' \ 2720 'extern "C" void exit (int) throw ();' \ 2721 'extern "C" void exit (int);' \ 2722 'void exit (int);' 2723 do 2724 cat >conftest.$ac_ext <<_ACEOF 2725 /* confdefs.h. */ 2726 _ACEOF 2727 cat confdefs.h >>conftest.$ac_ext 2728 cat >>conftest.$ac_ext <<_ACEOF 2729 /* end confdefs.h. */ 2730 $ac_declaration 2731 #include <stdlib.h> 2732 int 2733 main () 2734 { 2735 exit (42); 2736 ; 2737 return 0; 2738 } 2739 _ACEOF 2740 rm -f conftest.$ac_objext 2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2742 (eval $ac_compile) 2>conftest.er1 2743 ac_status=$? 2744 grep -v '^ *+' conftest.er1 >conftest.err 2745 rm -f conftest.er1 2746 cat conftest.err >&5 2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2748 (exit $ac_status); } && 2749 { ac_try='test -z "$ac_cxx_werror_flag" 2750 || test ! -s conftest.err' 2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2752 (eval $ac_try) 2>&5 2753 ac_status=$? 2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2755 (exit $ac_status); }; } && 2756 { ac_try='test -s conftest.$ac_objext' 2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2758 (eval $ac_try) 2>&5 2759 ac_status=$? 2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2761 (exit $ac_status); }; }; then 2762 : 2763 else 2764 echo "$as_me: failed program was:" >&5 2765 sed 's/^/| /' conftest.$ac_ext >&5 2766 2767 continue 2768 fi 2769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2770 cat >conftest.$ac_ext <<_ACEOF 2771 /* confdefs.h. */ 2772 _ACEOF 2773 cat confdefs.h >>conftest.$ac_ext 2774 cat >>conftest.$ac_ext <<_ACEOF 2775 /* end confdefs.h. */ 2776 $ac_declaration 2777 int 2778 main () 2779 { 2780 exit (42); 2781 ; 2782 return 0; 2783 } 2784 _ACEOF 2785 rm -f conftest.$ac_objext 2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2787 (eval $ac_compile) 2>conftest.er1 2788 ac_status=$? 2789 grep -v '^ *+' conftest.er1 >conftest.err 2790 rm -f conftest.er1 2791 cat conftest.err >&5 2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2793 (exit $ac_status); } && 2794 { ac_try='test -z "$ac_cxx_werror_flag" 2795 || test ! -s conftest.err' 2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2797 (eval $ac_try) 2>&5 2798 ac_status=$? 2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2800 (exit $ac_status); }; } && 2801 { ac_try='test -s conftest.$ac_objext' 2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2803 (eval $ac_try) 2>&5 2804 ac_status=$? 2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2806 (exit $ac_status); }; }; then 2807 break 2808 else 2809 echo "$as_me: failed program was:" >&5 2810 sed 's/^/| /' conftest.$ac_ext >&5 2811 2812 fi 2813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2814 done 2815 rm -f conftest* 2816 if test -n "$ac_declaration"; then 2817 echo '#ifdef __cplusplus' >>confdefs.h 2818 echo $ac_declaration >>confdefs.h 2819 echo '#endif' >>confdefs.h 2820 fi 2821 3509 2822 ac_ext=c 3510 2823 ac_cpp='$CPP $CPPFLAGS' … … 3522 2835 # Extract the first word of "$ac_prog", so it can be a program name with args. 3523 2836 set dummy $ac_prog; ac_word=$2 3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53525 $as_echo_n "checking for $ac_word... " >&6; } 3526 if test "${ac_cv_prog_JAVAC+set}" = set; then :3527 $as_echo_n "(cached)" >&62837 echo "$as_me:$LINENO: checking for $ac_word" >&5 2838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2839 if test "${ac_cv_prog_JAVAC+set}" = set; then 2840 echo $ECHO_N "(cached) $ECHO_C" >&6 3528 2841 else 3529 2842 if test -n "$JAVAC"; then … … 3535 2848 IFS=$as_save_IFS 3536 2849 test -z "$as_dir" && as_dir=. 3537 3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2850 for ac_exec_ext in '' $ac_executable_extensions; do 2851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3539 2852 ac_cv_prog_JAVAC="$ac_prog" 3540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3541 2854 break 2 3542 2855 fi 3543 2856 done 3544 done 3545 IFS=$as_save_IFS 2857 done 3546 2858 3547 2859 fi … … 3549 2861 JAVAC=$ac_cv_prog_JAVAC 3550 2862 if test -n "$JAVAC"; then 3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3552 $as_echo "$JAVAC" >&6; } 3553 else 3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3555 $as_echo "no" >&6; } 3556 fi 3557 2863 echo "$as_me:$LINENO: result: $JAVAC" >&5 2864 echo "${ECHO_T}$JAVAC" >&6 2865 else 2866 echo "$as_me:$LINENO: result: no" >&5 2867 echo "${ECHO_T}no" >&6 2868 fi 3558 2869 3559 2870 test -n "$JAVAC" && break … … 3565 2876 # Extract the first word of "$ac_prog", so it can be a program name with args. 3566 2877 set dummy $ac_prog; ac_word=$2 3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53568 $as_echo_n "checking for $ac_word... " >&6; } 3569 if test "${ac_cv_prog_JAVAC+set}" = set; then :3570 $as_echo_n "(cached)" >&62878 echo "$as_me:$LINENO: checking for $ac_word" >&5 2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2880 if test "${ac_cv_prog_JAVAC+set}" = set; then 2881 echo $ECHO_N "(cached) $ECHO_C" >&6 3571 2882 else 3572 2883 if test -n "$JAVAC"; then … … 3578 2889 IFS=$as_save_IFS 3579 2890 test -z "$as_dir" && as_dir=. 3580 3581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2891 for ac_exec_ext in '' $ac_executable_extensions; do 2892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3582 2893 ac_cv_prog_JAVAC="$ac_prog" 3583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3584 2895 break 2 3585 2896 fi 3586 2897 done 3587 done 3588 IFS=$as_save_IFS 2898 done 3589 2899 3590 2900 fi … … 3592 2902 JAVAC=$ac_cv_prog_JAVAC 3593 2903 if test -n "$JAVAC"; then 3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3595 $as_echo "$JAVAC" >&6; } 3596 else 3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3598 $as_echo "no" >&6; } 3599 fi 3600 2904 echo "$as_me:$LINENO: result: $JAVAC" >&5 2905 echo "${ECHO_T}$JAVAC" >&6 2906 else 2907 echo "$as_me:$LINENO: result: no" >&5 2908 echo "${ECHO_T}no" >&6 2909 fi 3601 2910 3602 2911 test -n "$JAVAC" && break … … 3605 2914 3606 2915 fi 3607 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 2916 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 2917 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 2918 { (exit 1); exit 1; }; } 3608 2919 else 3609 2920 echo "Checking for javac... $JAVAC" … … 3612 2923 3613 2924 3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&53615 $as_echo_n "checking if $JAVAC works... " >&6; } 3616 if test "${ac_cv_prog_javac_works+set}" = set; then :3617 $as_echo_n "(cached)" >&62925 echo "$as_me:$LINENO: checking if $JAVAC works" >&5 2926 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 2927 if test "${ac_cv_prog_javac_works+set}" = set; then 2928 echo $ECHO_N "(cached) $ECHO_C" >&6 3618 2929 else 3619 2930 … … 3621 2932 CLASS_TEST=Test.class 3622 2933 cat << \EOF > $JAVA_TEST 3623 /* #line 3623"configure" */2934 /* #line 2934 "configure" */ 3624 2935 public class Test { 3625 2936 } 3626 2937 EOF 3627 2938 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3628 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53629 (eval $ac_try) 2>&5 3630 ac_status=$? 3631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53632 test $ac_status = 0; }; } >/dev/null 2>&1; then2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2940 (eval $ac_try) 2>&5 2941 ac_status=$? 2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2943 (exit $ac_status); }; } >/dev/null 2>&1; then 3633 2944 ac_cv_prog_javac_works=yes 3634 2945 else 3635 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2946 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 2947 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 2948 { (exit 1); exit 1; }; } 3636 2949 echo "configure: failed program was:" >&5 3637 2950 cat $JAVA_TEST >&5 … … 3640 2953 3641 2954 fi 3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&53643 $as_echo "$ac_cv_prog_javac_works" >&6; } 2955 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 2956 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3644 2957 if test "x$JAVACFLAGS" = x ; then 3645 2958 JAVACFLAGS="-source 1.4 -target 1.4" … … 3655 2968 # Extract the first word of "$ac_prog", so it can be a program name with args. 3656 2969 set dummy $ac_prog; ac_word=$2 3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53658 $as_echo_n "checking for $ac_word... " >&6; } 3659 if test "${ac_cv_prog_JAVA+set}" = set; then :3660 $as_echo_n "(cached)" >&62970 echo "$as_me:$LINENO: checking for $ac_word" >&5 2971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2972 if test "${ac_cv_prog_JAVA+set}" = set; then 2973 echo $ECHO_N "(cached) $ECHO_C" >&6 3661 2974 else 3662 2975 if test -n "$JAVA"; then … … 3668 2981 IFS=$as_save_IFS 3669 2982 test -z "$as_dir" && as_dir=. 3670 3671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2983 for ac_exec_ext in '' $ac_executable_extensions; do 2984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3672 2985 ac_cv_prog_JAVA="$ac_prog" 3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3674 2987 break 2 3675 2988 fi 3676 2989 done 3677 done 3678 IFS=$as_save_IFS 2990 done 3679 2991 3680 2992 fi … … 3682 2994 JAVA=$ac_cv_prog_JAVA 3683 2995 if test -n "$JAVA"; then 3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3685 $as_echo "$JAVA" >&6; } 3686 else 3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3688 $as_echo "no" >&6; } 3689 fi 3690 2996 echo "$as_me:$LINENO: result: $JAVA" >&5 2997 echo "${ECHO_T}$JAVA" >&6 2998 else 2999 echo "$as_me:$LINENO: result: no" >&5 3000 echo "${ECHO_T}no" >&6 3001 fi 3691 3002 3692 3003 test -n "$JAVA" && break … … 3698 3009 # Extract the first word of "$ac_prog", so it can be a program name with args. 3699 3010 set dummy $ac_prog; ac_word=$2 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53701 $as_echo_n "checking for $ac_word... " >&6; } 3702 if test "${ac_cv_prog_JAVA+set}" = set; then :3703 $as_echo_n "(cached)" >&63011 echo "$as_me:$LINENO: checking for $ac_word" >&5 3012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3013 if test "${ac_cv_prog_JAVA+set}" = set; then 3014 echo $ECHO_N "(cached) $ECHO_C" >&6 3704 3015 else 3705 3016 if test -n "$JAVA"; then … … 3711 3022 IFS=$as_save_IFS 3712 3023 test -z "$as_dir" && as_dir=. 3713 3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3024 for ac_exec_ext in '' $ac_executable_extensions; do 3025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3715 3026 ac_cv_prog_JAVA="$ac_prog" 3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3717 3028 break 2 3718 3029 fi 3719 3030 done 3720 done 3721 IFS=$as_save_IFS 3031 done 3722 3032 3723 3033 fi … … 3725 3035 JAVA=$ac_cv_prog_JAVA 3726 3036 if test -n "$JAVA"; then 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3728 $as_echo "$JAVA" >&6; } 3729 else 3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3731 $as_echo "no" >&6; } 3732 fi 3733 3037 echo "$as_me:$LINENO: result: $JAVA" >&5 3038 echo "${ECHO_T}$JAVA" >&6 3039 else 3040 echo "$as_me:$LINENO: result: no" >&5 3041 echo "${ECHO_T}no" >&6 3042 fi 3734 3043 3735 3044 test -n "$JAVA" && break … … 3738 3047 3739 3048 fi 3740 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3049 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3050 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3051 { (exit 1); exit 1; }; } 3741 3052 fi 3742 3053 … … 3744 3055 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3745 3056 set dummy uudecode$EXEEXT; ac_word=$2 3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53747 $as_echo_n "checking for $ac_word... " >&6; } 3748 if test "${ac_cv_prog_uudecode+set}" = set; then :3749 $as_echo_n "(cached)" >&63057 echo "$as_me:$LINENO: checking for $ac_word" >&5 3058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3059 if test "${ac_cv_prog_uudecode+set}" = set; then 3060 echo $ECHO_N "(cached) $ECHO_C" >&6 3750 3061 else 3751 3062 if test -n "$uudecode"; then … … 3757 3068 IFS=$as_save_IFS 3758 3069 test -z "$as_dir" && as_dir=. 3759 3760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3070 for ac_exec_ext in '' $ac_executable_extensions; do 3071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3761 3072 ac_cv_prog_uudecode="yes" 3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3763 3074 break 2 3764 3075 fi 3765 3076 done 3766 done 3767 IFS=$as_save_IFS 3077 done 3768 3078 3769 3079 fi … … 3771 3081 uudecode=$ac_cv_prog_uudecode 3772 3082 if test -n "$uudecode"; then 3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 3774 $as_echo "$uudecode" >&6; } 3775 else 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3777 $as_echo "no" >&6; } 3778 fi 3779 3083 echo "$as_me:$LINENO: result: $uudecode" >&5 3084 echo "${ECHO_T}$uudecode" >&6 3085 else 3086 echo "$as_me:$LINENO: result: no" >&5 3087 echo "${ECHO_T}no" >&6 3088 fi 3780 3089 3781 3090 if test x$uudecode = xyes; then 3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&53783 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3784 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :3785 $as_echo_n "(cached)" >&63091 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3092 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6 3093 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3094 echo $ECHO_N "(cached) $ECHO_C" >&6 3786 3095 else 3787 3096 … … 3800 3109 ac_cv_prog_uudecode_base64=yes 3801 3110 else 3802 echo "configure: 3 802: uudecode had trouble decoding base 64 file 'Test.uue'" >&53111 echo "configure: 3111: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3803 3112 echo "configure: failed file was:" >&5 3804 3113 cat Test.uue >&5 … … 3807 3116 rm -f Test.uue 3808 3117 fi 3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&53810 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3118 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3119 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6 3811 3120 fi 3812 3121 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3813 3122 rm -f Test.class 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&53815 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3123 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3124 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3816 3125 if test x$ac_cv_prog_javac_works = xno; then 3817 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3126 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3127 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3128 { (exit 1); exit 1; }; } 3818 3129 fi 3819 3130 if test x$ac_cv_prog_javac_works = x; then … … 3825 3136 # Extract the first word of "$ac_prog", so it can be a program name with args. 3826 3137 set dummy $ac_prog; ac_word=$2 3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53828 $as_echo_n "checking for $ac_word... " >&6; } 3829 if test "${ac_cv_prog_JAVAC+set}" = set; then :3830 $as_echo_n "(cached)" >&63138 echo "$as_me:$LINENO: checking for $ac_word" >&5 3139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3140 if test "${ac_cv_prog_JAVAC+set}" = set; then 3141 echo $ECHO_N "(cached) $ECHO_C" >&6 3831 3142 else 3832 3143 if test -n "$JAVAC"; then … … 3838 3149 IFS=$as_save_IFS 3839 3150 test -z "$as_dir" && as_dir=. 3840 3841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3151 for ac_exec_ext in '' $ac_executable_extensions; do 3152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3842 3153 ac_cv_prog_JAVAC="$ac_prog" 3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3844 3155 break 2 3845 3156 fi 3846 3157 done 3847 done 3848 IFS=$as_save_IFS 3158 done 3849 3159 3850 3160 fi … … 3852 3162 JAVAC=$ac_cv_prog_JAVAC 3853 3163 if test -n "$JAVAC"; then 3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3855 $as_echo "$JAVAC" >&6; } 3856 else 3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3858 $as_echo "no" >&6; } 3859 fi 3860 3164 echo "$as_me:$LINENO: result: $JAVAC" >&5 3165 echo "${ECHO_T}$JAVAC" >&6 3166 else 3167 echo "$as_me:$LINENO: result: no" >&5 3168 echo "${ECHO_T}no" >&6 3169 fi 3861 3170 3862 3171 test -n "$JAVAC" && break … … 3868 3177 # Extract the first word of "$ac_prog", so it can be a program name with args. 3869 3178 set dummy $ac_prog; ac_word=$2 3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53871 $as_echo_n "checking for $ac_word... " >&6; } 3872 if test "${ac_cv_prog_JAVAC+set}" = set; then :3873 $as_echo_n "(cached)" >&63179 echo "$as_me:$LINENO: checking for $ac_word" >&5 3180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3181 if test "${ac_cv_prog_JAVAC+set}" = set; then 3182 echo $ECHO_N "(cached) $ECHO_C" >&6 3874 3183 else 3875 3184 if test -n "$JAVAC"; then … … 3881 3190 IFS=$as_save_IFS 3882 3191 test -z "$as_dir" && as_dir=. 3883 3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3192 for ac_exec_ext in '' $ac_executable_extensions; do 3193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3885 3194 ac_cv_prog_JAVAC="$ac_prog" 3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3887 3196 break 2 3888 3197 fi 3889 3198 done 3890 done 3891 IFS=$as_save_IFS 3199 done 3892 3200 3893 3201 fi … … 3895 3203 JAVAC=$ac_cv_prog_JAVAC 3896 3204 if test -n "$JAVAC"; then 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3898 $as_echo "$JAVAC" >&6; } 3899 else 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3901 $as_echo "no" >&6; } 3902 fi 3903 3205 echo "$as_me:$LINENO: result: $JAVAC" >&5 3206 echo "${ECHO_T}$JAVAC" >&6 3207 else 3208 echo "$as_me:$LINENO: result: no" >&5 3209 echo "${ECHO_T}no" >&6 3210 fi 3904 3211 3905 3212 test -n "$JAVAC" && break … … 3908 3215 3909 3216 fi 3910 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3217 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3218 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3219 { (exit 1); exit 1; }; } 3911 3220 else 3912 3221 echo "Checking for javac... $JAVAC" … … 3915 3224 3916 3225 3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&53918 $as_echo_n "checking if $JAVAC works... " >&6; } 3919 if test "${ac_cv_prog_javac_works+set}" = set; then :3920 $as_echo_n "(cached)" >&63226 echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3227 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3228 if test "${ac_cv_prog_javac_works+set}" = set; then 3229 echo $ECHO_N "(cached) $ECHO_C" >&6 3921 3230 else 3922 3231 … … 3924 3233 CLASS_TEST=Test.class 3925 3234 cat << \EOF > $JAVA_TEST 3926 /* #line 3 926"configure" */3235 /* #line 3235 "configure" */ 3927 3236 public class Test { 3928 3237 } 3929 3238 EOF 3930 3239 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3931 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53932 (eval $ac_try) 2>&5 3933 ac_status=$? 3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53935 test $ac_status = 0; }; } >/dev/null 2>&1; then3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3241 (eval $ac_try) 2>&5 3242 ac_status=$? 3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3244 (exit $ac_status); }; } >/dev/null 2>&1; then 3936 3245 ac_cv_prog_javac_works=yes 3937 3246 else 3938 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3247 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3248 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3249 { (exit 1); exit 1; }; } 3939 3250 echo "configure: failed program was:" >&5 3940 3251 cat $JAVA_TEST >&5 … … 3943 3254 3944 3255 fi 3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&53946 $as_echo "$ac_cv_prog_javac_works" >&6; } 3256 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3257 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3947 3258 if test "x$JAVACFLAGS" = x ; then 3948 3259 JAVACFLAGS="-source 1.4 -target 1.4" … … 3953 3264 fi 3954 3265 fi 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&53956 $as_echo_n "checking if $JAVA works... " >&6; } 3957 if test "${ac_cv_prog_java_works+set}" = set; then :3958 $as_echo_n "(cached)" >&63266 echo "$as_me:$LINENO: checking if $JAVA works" >&5 3267 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6 3268 if test "${ac_cv_prog_java_works+set}" = set; then 3269 echo $ECHO_N "(cached) $ECHO_C" >&6 3959 3270 else 3960 3271 … … 3963 3274 TEST=Test 3964 3275 cat << \EOF > $JAVA_TEST 3965 /* [#]line 3 965"configure" */3276 /* [#]line 3276 "configure" */ 3966 3277 public class Test { 3967 3278 public static void main (String args[]) { … … 3971 3282 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3972 3283 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3973 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53974 (eval $ac_try) 2>&5 3975 ac_status=$? 3976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53977 test $ac_status = 0; }; } && test -s $CLASS_TEST; then3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3285 (eval $ac_try) 2>&5 3286 ac_status=$? 3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3288 (exit $ac_status); }; } && test -s $CLASS_TEST; then 3978 3289 : 3979 3290 else 3980 3291 echo "configure: failed program was:" >&5 3981 3292 cat $JAVA_TEST >&5 3982 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3293 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3294 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3295 { (exit 1); exit 1; }; } 3983 3296 fi 3984 3297 fi 3985 3298 if { ac_try='$JAVA $JAVAFLAGS $TEST' 3986 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; }>&53987 (eval $ac_try) 2>&5 3988 ac_status=$? 3989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53990 test $ac_status = 0; }; } >/dev/null 2>&1; then3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3300 (eval $ac_try) 2>&5 3301 ac_status=$? 3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3303 (exit $ac_status); }; } >/dev/null 2>&1; then 3991 3304 ac_cv_prog_java_works=yes 3992 3305 else 3993 3306 echo "configure: failed program was:" >&5 3994 3307 cat $JAVA_TEST >&5 3995 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3308 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3309 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3310 { (exit 1); exit 1; }; } 3996 3311 fi 3997 3312 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 3998 3313 3999 3314 fi 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&54001 $as_echo "$ac_cv_prog_java_works" >&6; } 3315 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 3316 echo "${ECHO_T}$ac_cv_prog_java_works" >&6 4002 3317 4003 3318 … … 4008 3323 # Extract the first word of "$ac_prog", so it can be a program name with args. 4009 3324 set dummy $ac_prog; ac_word=$2 4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54011 $as_echo_n "checking for $ac_word... " >&6; } 4012 if test "${ac_cv_prog_AWK+set}" = set; then :4013 $as_echo_n "(cached)" >&63325 echo "$as_me:$LINENO: checking for $ac_word" >&5 3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3327 if test "${ac_cv_prog_AWK+set}" = set; then 3328 echo $ECHO_N "(cached) $ECHO_C" >&6 4014 3329 else 4015 3330 if test -n "$AWK"; then … … 4021 3336 IFS=$as_save_IFS 4022 3337 test -z "$as_dir" && as_dir=. 4023 4024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3338 for ac_exec_ext in '' $ac_executable_extensions; do 3339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4025 3340 ac_cv_prog_AWK="$ac_prog" 4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4027 3342 break 2 4028 3343 fi 4029 3344 done 4030 done 4031 IFS=$as_save_IFS 3345 done 4032 3346 4033 3347 fi … … 4035 3349 AWK=$ac_cv_prog_AWK 4036 3350 if test -n "$AWK"; then 4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4038 $as_echo "$AWK" >&6; } 4039 else 4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4041 $as_echo "no" >&6; } 4042 fi 4043 3351 echo "$as_me:$LINENO: result: $AWK" >&5 3352 echo "${ECHO_T}$AWK" >&6 3353 else 3354 echo "$as_me:$LINENO: result: no" >&5 3355 echo "${ECHO_T}no" >&6 3356 fi 4044 3357 4045 3358 test -n "$AWK" && break … … 4050 3363 # Extract the first word of "$ac_prog", so it can be a program name with args. 4051 3364 set dummy $ac_prog; ac_word=$2 4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54053 $as_echo_n "checking for $ac_word... " >&6; } 4054 if test "${ac_cv_prog_YACC+set}" = set; then :4055 $as_echo_n "(cached)" >&63365 echo "$as_me:$LINENO: checking for $ac_word" >&5 3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3367 if test "${ac_cv_prog_YACC+set}" = set; then 3368 echo $ECHO_N "(cached) $ECHO_C" >&6 4056 3369 else 4057 3370 if test -n "$YACC"; then … … 4063 3376 IFS=$as_save_IFS 4064 3377 test -z "$as_dir" && as_dir=. 4065 4066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3378 for ac_exec_ext in '' $ac_executable_extensions; do 3379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4067 3380 ac_cv_prog_YACC="$ac_prog" 4068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4069 3382 break 2 4070 3383 fi 4071 3384 done 4072 done 4073 IFS=$as_save_IFS 3385 done 4074 3386 4075 3387 fi … … 4077 3389 YACC=$ac_cv_prog_YACC 4078 3390 if test -n "$YACC"; then 4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 4080 $as_echo "$YACC" >&6; } 4081 else 4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4083 $as_echo "no" >&6; } 4084 fi 4085 3391 echo "$as_me:$LINENO: result: $YACC" >&5 3392 echo "${ECHO_T}$YACC" >&6 3393 else 3394 echo "$as_me:$LINENO: result: no" >&5 3395 echo "${ECHO_T}no" >&6 3396 fi 4086 3397 4087 3398 test -n "$YACC" && break … … 4090 3401 4091 3402 ac_aux_dir= 4092 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do4093 if test -f "$ac_dir/install-sh"; then3403 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 3404 if test -f $ac_dir/install-sh; then 4094 3405 ac_aux_dir=$ac_dir 4095 3406 ac_install_sh="$ac_aux_dir/install-sh -c" 4096 3407 break 4097 elif test -f "$ac_dir/install.sh"; then3408 elif test -f $ac_dir/install.sh; then 4098 3409 ac_aux_dir=$ac_dir 4099 3410 ac_install_sh="$ac_aux_dir/install.sh -c" 4100 3411 break 4101 elif test -f "$ac_dir/shtool"; then3412 elif test -f $ac_dir/shtool; then 4102 3413 ac_aux_dir=$ac_dir 4103 3414 ac_install_sh="$ac_aux_dir/shtool install -c" … … 4106 3417 done 4107 3418 if test -z "$ac_aux_dir"; then 4108 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 4109 fi 4110 4111 # These three variables are undocumented and unsupported, 4112 # and are intended to be withdrawn in a future Autoconf release. 4113 # They can cause serious problems if a builder's source tree is in a directory 4114 # whose full name contains unusual characters. 4115 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4116 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4117 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4118 3419 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 3420 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 3421 { (exit 1); exit 1; }; } 3422 fi 3423 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3424 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3425 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4119 3426 4120 3427 # Make sure we can run config.sub. 4121 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4122 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4123 4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4125 $as_echo_n "checking build system type... " >&6; } 4126 if test "${ac_cv_build+set}" = set; then : 4127 $as_echo_n "(cached) " >&6 4128 else 4129 ac_build_alias=$build_alias 4130 test "x$ac_build_alias" = x && 4131 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4132 test "x$ac_build_alias" = x && 4133 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4135 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4136 4137 fi 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4139 $as_echo "$ac_cv_build" >&6; } 4140 case $ac_cv_build in 4141 *-*-*) ;; 4142 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 4143 esac 3428 $ac_config_sub sun4 >/dev/null 2>&1 || 3429 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 3430 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 3431 { (exit 1); exit 1; }; } 3432 3433 echo "$as_me:$LINENO: checking build system type" >&5 3434 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3435 if test "${ac_cv_build+set}" = set; then 3436 echo $ECHO_N "(cached) $ECHO_C" >&6 3437 else 3438 ac_cv_build_alias=$build_alias 3439 test -z "$ac_cv_build_alias" && 3440 ac_cv_build_alias=`$ac_config_guess` 3441 test -z "$ac_cv_build_alias" && 3442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3444 { (exit 1); exit 1; }; } 3445 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 3446 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 3447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3448 { (exit 1); exit 1; }; } 3449 3450 fi 3451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3452 echo "${ECHO_T}$ac_cv_build" >&6 4144 3453 build=$ac_cv_build 4145 ac_save_IFS=$IFS; IFS='-' 4146 set x $ac_cv_build 4147 shift 4148 build_cpu=$1 4149 build_vendor=$2 4150 shift; shift 4151 # Remember, the first character of IFS is used to create $*, 4152 # except with old shells: 4153 build_os=$* 4154 IFS=$ac_save_IFS 4155 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4156 4157 4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4159 $as_echo_n "checking host system type... " >&6; } 4160 if test "${ac_cv_host+set}" = set; then : 4161 $as_echo_n "(cached) " >&6 4162 else 4163 if test "x$host_alias" = x; then 4164 ac_cv_host=$ac_cv_build 4165 else 4166 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4167 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4168 fi 4169 4170 fi 4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4172 $as_echo "$ac_cv_host" >&6; } 4173 case $ac_cv_host in 4174 *-*-*) ;; 4175 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 4176 esac 3454 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3455 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3456 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3457 3458 3459 echo "$as_me:$LINENO: checking host system type" >&5 3460 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3461 if test "${ac_cv_host+set}" = set; then 3462 echo $ECHO_N "(cached) $ECHO_C" >&6 3463 else 3464 ac_cv_host_alias=$host_alias 3465 test -z "$ac_cv_host_alias" && 3466 ac_cv_host_alias=$ac_cv_build_alias 3467 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 3468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 3469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 3470 { (exit 1); exit 1; }; } 3471 3472 fi 3473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3474 echo "${ECHO_T}$ac_cv_host" >&6 4177 3475 host=$ac_cv_host 4178 ac_save_IFS=$IFS; IFS='-' 4179 set x $ac_cv_host 4180 shift 4181 host_cpu=$1 4182 host_vendor=$2 4183 shift; shift 4184 # Remember, the first character of IFS is used to create $*, 4185 # except with old shells: 4186 host_os=$* 4187 IFS=$ac_save_IFS 4188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4189 4190 4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 4192 $as_echo_n "checking target system type... " >&6; } 4193 if test "${ac_cv_target+set}" = set; then : 4194 $as_echo_n "(cached) " >&6 4195 else 4196 if test "x$target_alias" = x; then 4197 ac_cv_target=$ac_cv_host 4198 else 4199 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4200 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 4201 fi 4202 4203 fi 4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 4205 $as_echo "$ac_cv_target" >&6; } 4206 case $ac_cv_target in 4207 *-*-*) ;; 4208 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 4209 esac 3476 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3477 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3478 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3479 3480 3481 echo "$as_me:$LINENO: checking target system type" >&5 3482 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3483 if test "${ac_cv_target+set}" = set; then 3484 echo $ECHO_N "(cached) $ECHO_C" >&6 3485 else 3486 ac_cv_target_alias=$target_alias 3487 test "x$ac_cv_target_alias" = "x" && 3488 ac_cv_target_alias=$ac_cv_host_alias 3489 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 3490 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 3491 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 3492 { (exit 1); exit 1; }; } 3493 3494 fi 3495 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3496 echo "${ECHO_T}$ac_cv_target" >&6 4210 3497 target=$ac_cv_target 4211 ac_save_IFS=$IFS; IFS='-' 4212 set x $ac_cv_target 4213 shift 4214 target_cpu=$1 4215 target_vendor=$2 4216 shift; shift 4217 # Remember, the first character of IFS is used to create $*, 4218 # except with old shells: 4219 target_os=$* 4220 IFS=$ac_save_IFS 4221 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3498 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3499 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3500 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4222 3501 4223 3502 … … 4228 3507 NONENONEs,x,x, && 4229 3508 program_prefix=${target_alias}- 4230 4231 3509 # Find a good install program. We prefer a C program (faster), 4232 3510 # so one script is as good as another. But avoid the broken or … … 4242 3520 # OS/2's system install, which has a completely different semantic 4243 3521 # ./install, which can be erroneously created by make from ./install.sh. 4244 # Reject install programs that cannot install multiple files. 4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4246 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3522 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3523 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4247 3524 if test -z "$INSTALL"; then 4248 if test "${ac_cv_path_install+set}" = set; then :4249 $as_echo_n "(cached)" >&63525 if test "${ac_cv_path_install+set}" = set; then 3526 echo $ECHO_N "(cached) $ECHO_C" >&6 4250 3527 else 4251 3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 4254 3531 IFS=$as_save_IFS 4255 3532 test -z "$as_dir" && as_dir=. 4256 4257 case $as_dir/ in #((4258 ./ | .// | / [cC]/* | \3533 # Account for people who put trailing slashes in PATH elements. 3534 case $as_dir/ in 3535 ./ | .// | /cC/* | \ 4259 3536 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4260 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \3537 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4261 3538 /usr/ucb/* ) ;; 4262 3539 *) … … 4266 3543 for ac_prog in ginstall scoinst install; do 4267 3544 for ac_exec_ext in '' $ac_executable_extensions; do 4268 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then3545 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 4269 3546 if test $ac_prog = install && 4270 3547 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 4276 3553 : 4277 3554 else 4278 rm -rf conftest.one conftest.two conftest.dir 4279 echo one > conftest.one 4280 echo two > conftest.two 4281 mkdir conftest.dir 4282 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4283 test -s conftest.one && test -s conftest.two && 4284 test -s conftest.dir/conftest.one && 4285 test -s conftest.dir/conftest.two 4286 then 4287 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4288 break 3 4289 fi 3555 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3556 break 3 4290 3557 fi 4291 3558 fi … … 4294 3561 ;; 4295 3562 esac 4296 4297 done 4298 IFS=$as_save_IFS 4299 4300 rm -rf conftest.one conftest.two conftest.dir 3563 done 3564 4301 3565 4302 3566 fi … … 4304 3568 INSTALL=$ac_cv_path_install 4305 3569 else 4306 # As a last resort, use the slow shell script. Don't cache a4307 # valuefor INSTALL within a source directory, because that will3570 # As a last resort, use the slow shell script. We don't cache a 3571 # path for INSTALL within a source directory, because that will 4308 3572 # break other packages using the cache if that directory is 4309 # removed, or if the value is a relative name.3573 # removed, or if the path is relative. 4310 3574 INSTALL=$ac_install_sh 4311 3575 fi 4312 3576 fi 4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&54314 $as_echo "$INSTALL" >&6; } 3577 echo "$as_me:$LINENO: result: $INSTALL" >&5 3578 echo "${ECHO_T}$INSTALL" >&6 4315 3579 4316 3580 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 4322 3586 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4323 3587 4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&54325 $as_echo_n "checking whether ln -s works... " >&6; } 3588 echo "$as_me:$LINENO: checking whether ln -s works" >&5 3589 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4326 3590 LN_S=$as_ln_s 4327 3591 if test "$LN_S" = "ln -s"; then 4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4329 $as_echo "yes" >&6; } 4330 else 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4332 $as_echo "no, using $LN_S" >&6; } 4333 fi 4334 4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4336 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4337 set x ${MAKE-make} 4338 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4339 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 4340 $as_echo_n "(cached) " >&6 3592 echo "$as_me:$LINENO: result: yes" >&5 3593 echo "${ECHO_T}yes" >&6 3594 else 3595 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3596 echo "${ECHO_T}no, using $LN_S" >&6 3597 fi 3598 3599 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3600 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3601 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3602 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3603 echo $ECHO_N "(cached) $ECHO_C" >&6 4341 3604 else 4342 3605 cat >conftest.make <<\_ACEOF 4343 SHELL = /bin/sh4344 3606 all: 4345 @echo ' @@@%%%=$(MAKE)=@@@%%%'4346 _ACEOF 4347 # GNU make sometimes prints "make[1]: Entering 4348 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4349 *@@@%%%=?*=@@@%%%*) 4350 eval ac_cv_prog_make_${ac_make}_set=yes;;4351 *) 4352 eval ac_cv_prog_make_${ac_make}_set=no;;4353 esac 3607 @echo 'ac_maketemp="$(MAKE)"' 3608 _ACEOF 3609 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3610 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3611 if test -n "$ac_maketemp"; then 3612 eval ac_cv_prog_make_${ac_make}_set=yes 3613 else 3614 eval ac_cv_prog_make_${ac_make}_set=no 3615 fi 4354 3616 rm -f conftest.make 4355 3617 fi 4356 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&54358 $as_echo "yes" >&6; } 3618 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3619 echo "$as_me:$LINENO: result: yes" >&5 3620 echo "${ECHO_T}yes" >&6 4359 3621 SET_MAKE= 4360 3622 else 4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54362 $as_echo "no" >&6; } 3623 echo "$as_me:$LINENO: result: no" >&5 3624 echo "${ECHO_T}no" >&6 4363 3625 SET_MAKE="MAKE=${MAKE-make}" 4364 3626 fi … … 4367 3629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4368 3630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54370 $as_echo_n "checking for $ac_word... " >&6; } 4371 if test "${ac_cv_prog_RANLIB+set}" = set; then :4372 $as_echo_n "(cached)" >&63631 echo "$as_me:$LINENO: checking for $ac_word" >&5 3632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3633 if test "${ac_cv_prog_RANLIB+set}" = set; then 3634 echo $ECHO_N "(cached) $ECHO_C" >&6 4373 3635 else 4374 3636 if test -n "$RANLIB"; then … … 4380 3642 IFS=$as_save_IFS 4381 3643 test -z "$as_dir" && as_dir=. 4382 4383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3644 for ac_exec_ext in '' $ac_executable_extensions; do 3645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4384 3646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4386 3648 break 2 4387 3649 fi 4388 3650 done 4389 done 4390 IFS=$as_save_IFS 3651 done 4391 3652 4392 3653 fi … … 4394 3655 RANLIB=$ac_cv_prog_RANLIB 4395 3656 if test -n "$RANLIB"; then 4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4397 $as_echo "$RANLIB" >&6; } 4398 else 4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4400 $as_echo "no" >&6; } 4401 fi 4402 3657 echo "$as_me:$LINENO: result: $RANLIB" >&5 3658 echo "${ECHO_T}$RANLIB" >&6 3659 else 3660 echo "$as_me:$LINENO: result: no" >&5 3661 echo "${ECHO_T}no" >&6 3662 fi 4403 3663 4404 3664 fi … … 4407 3667 # Extract the first word of "ranlib", so it can be a program name with args. 4408 3668 set dummy ranlib; ac_word=$2 4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54410 $as_echo_n "checking for $ac_word... " >&6; } 4411 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :4412 $as_echo_n "(cached)" >&63669 echo "$as_me:$LINENO: checking for $ac_word" >&5 3670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3671 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3672 echo $ECHO_N "(cached) $ECHO_C" >&6 4413 3673 else 4414 3674 if test -n "$ac_ct_RANLIB"; then … … 4420 3680 IFS=$as_save_IFS 4421 3681 test -z "$as_dir" && as_dir=. 4422 4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3682 for ac_exec_ext in '' $ac_executable_extensions; do 3683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4424 3684 ac_cv_prog_ac_ct_RANLIB="ranlib" 4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4426 3686 break 2 4427 3687 fi 4428 3688 done 4429 4430 IFS=$as_save_IFS 4431 3689 done 3690 3691 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4432 3692 fi 4433 3693 fi 4434 3694 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4435 3695 if test -n "$ac_ct_RANLIB"; then 4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4437 $as_echo "$ac_ct_RANLIB" >&6; } 4438 else 4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4440 $as_echo "no" >&6; } 4441 fi 4442 4443 if test "x$ac_ct_RANLIB" = x; then 4444 RANLIB=":" 4445 else 4446 case $cross_compiling:$ac_tool_warned in 4447 yes:) 4448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4450 ac_tool_warned=yes ;; 4451 esac 4452 RANLIB=$ac_ct_RANLIB 4453 fi 3696 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3697 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3698 else 3699 echo "$as_me:$LINENO: result: no" >&5 3700 echo "${ECHO_T}no" >&6 3701 fi 3702 3703 RANLIB=$ac_ct_RANLIB 4454 3704 else 4455 3705 RANLIB="$ac_cv_prog_RANLIB" … … 4457 3707 4458 3708 4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&54460 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3709 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3710 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4461 3711 arch_64bit=no 4462 3712 case "$host_cpu" in … … 4465 3715 4466 3716 if test "$arch_64bit" = yes; then 4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&54468 $as_echo "yes" >&6; } 3717 echo "$as_me:$LINENO: result: yes" >&5 3718 echo "${ECHO_T}yes" >&6 4469 3719 if test -z "$COMPAT32BITFLAGS" ; then 4470 3720 COMPAT32BITFLAGS="-m32" 4471 3721 fi 4472 3722 else 4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54474 $as_echo "no" >&6; } 3723 echo "$as_me:$LINENO: result: no" >&5 3724 echo "${ECHO_T}no" >&6 4475 3725 if test -z "$COMPAT32BITFLAGS" ; then 4476 3726 COMPAT32BITFLAGS= … … 4510 3760 #do test of MICO_VER 4511 3761 if test MICO_VER != 0; then 4512 $as_echo "#define MICO_VER 1" >>confdefs.h 3762 cat >>confdefs.h <<\_ACEOF 3763 #define MICO_VER 1 3764 _ACEOF 4513 3765 4514 3766 … … 4523 3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4524 3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&54526 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3777 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3778 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4527 3779 # On Suns, sometimes $CPP names a directory. 4528 3780 if test -n "$CPP" && test -d "$CPP"; then … … 4530 3782 fi 4531 3783 if test -z "$CPP"; then 4532 if test "${ac_cv_prog_CPP+set}" = set; then :4533 $as_echo_n "(cached)" >&63784 if test "${ac_cv_prog_CPP+set}" = set; then 3785 echo $ECHO_N "(cached) $ECHO_C" >&6 4534 3786 else 4535 3787 # Double quotes because CPP needs to be expanded … … 4545 3797 # On the NeXT, cc -E runs the code through the compiler's parser, 4546 3798 # not just through cpp. "Syntax error" is here to catch this case. 4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3799 cat >conftest.$ac_ext <<_ACEOF 3800 /* confdefs.h. */ 3801 _ACEOF 3802 cat confdefs.h >>conftest.$ac_ext 3803 cat >>conftest.$ac_ext <<_ACEOF 4548 3804 /* end confdefs.h. */ 4549 3805 #ifdef __STDC__ … … 4554 3810 Syntax error 4555 3811 _ACEOF 4556 if ac_fn_c_try_cpp "$LINENO"; then : 4557 4558 else 3812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3814 ac_status=$? 3815 grep -v '^ *+' conftest.er1 >conftest.err 3816 rm -f conftest.er1 3817 cat conftest.err >&5 3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3819 (exit $ac_status); } >/dev/null; then 3820 if test -s conftest.err; then 3821 ac_cpp_err=$ac_c_preproc_warn_flag 3822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3823 else 3824 ac_cpp_err= 3825 fi 3826 else 3827 ac_cpp_err=yes 3828 fi 3829 if test -z "$ac_cpp_err"; then 3830 : 3831 else 3832 echo "$as_me: failed program was:" >&5 3833 sed 's/^/| /' conftest.$ac_ext >&5 3834 4559 3835 # Broken: fails on valid input. 4560 3836 continue 4561 3837 fi 4562 rm -f conftest.err conftest. i conftest.$ac_ext4563 4564 # OK, works on sane cases. Now check whether non existent headers3838 rm -f conftest.err conftest.$ac_ext 3839 3840 # OK, works on sane cases. Now check whether non-existent headers 4565 3841 # can be detected and how. 4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3842 cat >conftest.$ac_ext <<_ACEOF 3843 /* confdefs.h. */ 3844 _ACEOF 3845 cat confdefs.h >>conftest.$ac_ext 3846 cat >>conftest.$ac_ext <<_ACEOF 4567 3847 /* end confdefs.h. */ 4568 3848 #include <ac_nonexistent.h> 4569 3849 _ACEOF 4570 if ac_fn_c_try_cpp "$LINENO"; then : 3850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3852 ac_status=$? 3853 grep -v '^ *+' conftest.er1 >conftest.err 3854 rm -f conftest.er1 3855 cat conftest.err >&5 3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3857 (exit $ac_status); } >/dev/null; then 3858 if test -s conftest.err; then 3859 ac_cpp_err=$ac_c_preproc_warn_flag 3860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3861 else 3862 ac_cpp_err= 3863 fi 3864 else 3865 ac_cpp_err=yes 3866 fi 3867 if test -z "$ac_cpp_err"; then 4571 3868 # Broken: success on invalid input. 4572 3869 continue 4573 3870 else 3871 echo "$as_me: failed program was:" >&5 3872 sed 's/^/| /' conftest.$ac_ext >&5 3873 4574 3874 # Passes both tests. 4575 3875 ac_preproc_ok=: 4576 3876 break 4577 3877 fi 4578 rm -f conftest.err conftest. i conftest.$ac_ext3878 rm -f conftest.err conftest.$ac_ext 4579 3879 4580 3880 done 4581 3881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4582 rm -f conftest. i conftest.err conftest.$ac_ext4583 if $ac_preproc_ok; then :3882 rm -f conftest.err conftest.$ac_ext 3883 if $ac_preproc_ok; then 4584 3884 break 4585 3885 fi … … 4593 3893 ac_cv_prog_CPP=$CPP 4594 3894 fi 4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54596 $as_echo "$CPP" >&6; } 3895 echo "$as_me:$LINENO: result: $CPP" >&5 3896 echo "${ECHO_T}$CPP" >&6 4597 3897 ac_preproc_ok=false 4598 3898 for ac_c_preproc_warn_flag in '' yes … … 4604 3904 # On the NeXT, cc -E runs the code through the compiler's parser, 4605 3905 # not just through cpp. "Syntax error" is here to catch this case. 4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3906 cat >conftest.$ac_ext <<_ACEOF 3907 /* confdefs.h. */ 3908 _ACEOF 3909 cat confdefs.h >>conftest.$ac_ext 3910 cat >>conftest.$ac_ext <<_ACEOF 4607 3911 /* end confdefs.h. */ 4608 3912 #ifdef __STDC__ … … 4613 3917 Syntax error 4614 3918 _ACEOF 4615 if ac_fn_c_try_cpp "$LINENO"; then : 4616 4617 else 3919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3921 ac_status=$? 3922 grep -v '^ *+' conftest.er1 >conftest.err 3923 rm -f conftest.er1 3924 cat conftest.err >&5 3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3926 (exit $ac_status); } >/dev/null; then 3927 if test -s conftest.err; then 3928 ac_cpp_err=$ac_c_preproc_warn_flag 3929 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3930 else 3931 ac_cpp_err= 3932 fi 3933 else 3934 ac_cpp_err=yes 3935 fi 3936 if test -z "$ac_cpp_err"; then 3937 : 3938 else 3939 echo "$as_me: failed program was:" >&5 3940 sed 's/^/| /' conftest.$ac_ext >&5 3941 4618 3942 # Broken: fails on valid input. 4619 3943 continue 4620 3944 fi 4621 rm -f conftest.err conftest. i conftest.$ac_ext4622 4623 # OK, works on sane cases. Now check whether non existent headers3945 rm -f conftest.err conftest.$ac_ext 3946 3947 # OK, works on sane cases. Now check whether non-existent headers 4624 3948 # can be detected and how. 4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3949 cat >conftest.$ac_ext <<_ACEOF 3950 /* confdefs.h. */ 3951 _ACEOF 3952 cat confdefs.h >>conftest.$ac_ext 3953 cat >>conftest.$ac_ext <<_ACEOF 4626 3954 /* end confdefs.h. */ 4627 3955 #include <ac_nonexistent.h> 4628 3956 _ACEOF 4629 if ac_fn_c_try_cpp "$LINENO"; then : 3957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3959 ac_status=$? 3960 grep -v '^ *+' conftest.er1 >conftest.err 3961 rm -f conftest.er1 3962 cat conftest.err >&5 3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3964 (exit $ac_status); } >/dev/null; then 3965 if test -s conftest.err; then 3966 ac_cpp_err=$ac_c_preproc_warn_flag 3967 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3968 else 3969 ac_cpp_err= 3970 fi 3971 else 3972 ac_cpp_err=yes 3973 fi 3974 if test -z "$ac_cpp_err"; then 4630 3975 # Broken: success on invalid input. 4631 3976 continue 4632 3977 else 3978 echo "$as_me: failed program was:" >&5 3979 sed 's/^/| /' conftest.$ac_ext >&5 3980 4633 3981 # Passes both tests. 4634 3982 ac_preproc_ok=: 4635 3983 break 4636 3984 fi 4637 rm -f conftest.err conftest. i conftest.$ac_ext3985 rm -f conftest.err conftest.$ac_ext 4638 3986 4639 3987 done 4640 3988 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4641 rm -f conftest.i conftest.err conftest.$ac_ext 4642 if $ac_preproc_ok; then : 4643 4644 else 4645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4647 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4648 See \`config.log' for more details" "$LINENO" 5 ; } 3989 rm -f conftest.err conftest.$ac_ext 3990 if $ac_preproc_ok; then 3991 : 3992 else 3993 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3994 See \`config.log' for more details." >&5 3995 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3996 See \`config.log' for more details." >&2;} 3997 { (exit 1); exit 1; }; } 4649 3998 fi 4650 3999 … … 4656 4005 4657 4006 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4659 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4660 if test "${ac_cv_path_GREP+set}" = set; then : 4661 $as_echo_n "(cached) " >&6 4662 else 4663 if test -z "$GREP"; then 4664 ac_path_GREP_found=false 4665 # Loop through the user's path and test for each of PROGNAME-LIST 4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4667 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4668 do 4669 IFS=$as_save_IFS 4670 test -z "$as_dir" && as_dir=. 4671 for ac_prog in grep ggrep; do 4672 for ac_exec_ext in '' $ac_executable_extensions; do 4673 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4674 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4675 # Check for GNU ac_path_GREP and select it if it is found. 4676 # Check for GNU $ac_path_GREP 4677 case `"$ac_path_GREP" --version 2>&1` in 4678 *GNU*) 4679 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4680 *) 4681 ac_count=0 4682 $as_echo_n 0123456789 >"conftest.in" 4683 while : 4684 do 4685 cat "conftest.in" "conftest.in" >"conftest.tmp" 4686 mv "conftest.tmp" "conftest.in" 4687 cp "conftest.in" "conftest.nl" 4688 $as_echo 'GREP' >> "conftest.nl" 4689 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4690 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4691 as_fn_arith $ac_count + 1 && ac_count=$as_val 4692 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4693 # Best one so far, save it but keep looking for a better one 4694 ac_cv_path_GREP="$ac_path_GREP" 4695 ac_path_GREP_max=$ac_count 4007 echo "$as_me:$LINENO: checking for egrep" >&5 4008 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4009 if test "${ac_cv_prog_egrep+set}" = set; then 4010 echo $ECHO_N "(cached) $ECHO_C" >&6 4011 else 4012 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4013 then ac_cv_prog_egrep='grep -E' 4014 else ac_cv_prog_egrep='egrep' 4696 4015 fi 4697 # 10*(2^10) chars as input seems more than enough 4698 test $ac_count -gt 10 && break 4016 fi 4017 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4018 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4019 EGREP=$ac_cv_prog_egrep 4020 4021 4022 4023 echo "$as_me:$LINENO: checking for AIX" >&5 4024 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4025 cat >conftest.$ac_ext <<_ACEOF 4026 /* confdefs.h. */ 4027 _ACEOF 4028 cat confdefs.h >>conftest.$ac_ext 4029 cat >>conftest.$ac_ext <<_ACEOF 4030 /* end confdefs.h. */ 4031 #ifdef _AIX 4032 yes 4033 #endif 4034 4035 _ACEOF 4036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4037 $EGREP "yes" >/dev/null 2>&1; then 4038 echo "$as_me:$LINENO: result: yes" >&5 4039 echo "${ECHO_T}yes" >&6 4040 cat >>confdefs.h <<\_ACEOF 4041 #define _ALL_SOURCE 1 4042 _ACEOF 4043 4044 else 4045 echo "$as_me:$LINENO: result: no" >&5 4046 echo "${ECHO_T}no" >&6 4047 fi 4048 rm -f conftest* 4049 4050 4051 echo "$as_me:$LINENO: checking for library containing strerror" >&5 4052 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4053 if test "${ac_cv_search_strerror+set}" = set; then 4054 echo $ECHO_N "(cached) $ECHO_C" >&6 4055 else 4056 ac_func_search_save_LIBS=$LIBS 4057 ac_cv_search_strerror=no 4058 cat >conftest.$ac_ext <<_ACEOF 4059 /* confdefs.h. */ 4060 _ACEOF 4061 cat confdefs.h >>conftest.$ac_ext 4062 cat >>conftest.$ac_ext <<_ACEOF 4063 /* end confdefs.h. */ 4064 4065 /* Override any gcc2 internal prototype to avoid an error. */ 4066 #ifdef __cplusplus 4067 extern "C" 4068 #endif 4069 /* We use char because int might match the return type of a gcc2 4070 builtin and then its argument prototype would still apply. */ 4071 char strerror (); 4072 int 4073 main () 4074 { 4075 strerror (); 4076 ; 4077 return 0; 4078 } 4079 _ACEOF 4080 rm -f conftest.$ac_objext conftest$ac_exeext 4081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4082 (eval $ac_link) 2>conftest.er1 4083 ac_status=$? 4084 grep -v '^ *+' conftest.er1 >conftest.err 4085 rm -f conftest.er1 4086 cat conftest.err >&5 4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4088 (exit $ac_status); } && 4089 { ac_try='test -z "$ac_c_werror_flag" 4090 || test ! -s conftest.err' 4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4092 (eval $ac_try) 2>&5 4093 ac_status=$? 4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4095 (exit $ac_status); }; } && 4096 { ac_try='test -s conftest$ac_exeext' 4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4098 (eval $ac_try) 2>&5 4099 ac_status=$? 4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4101 (exit $ac_status); }; }; then 4102 ac_cv_search_strerror="none required" 4103 else 4104 echo "$as_me: failed program was:" >&5 4105 sed 's/^/| /' conftest.$ac_ext >&5 4106 4107 fi 4108 rm -f conftest.err conftest.$ac_objext \ 4109 conftest$ac_exeext conftest.$ac_ext 4110 if test "$ac_cv_search_strerror" = no; then 4111 for ac_lib in cposix; do 4112 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4113 cat >conftest.$ac_ext <<_ACEOF 4114 /* confdefs.h. */ 4115 _ACEOF 4116 cat confdefs.h >>conftest.$ac_ext 4117 cat >>conftest.$ac_ext <<_ACEOF 4118 /* end confdefs.h. */ 4119 4120 /* Override any gcc2 internal prototype to avoid an error. */ 4121 #ifdef __cplusplus 4122 extern "C" 4123 #endif 4124 /* We use char because int might match the return type of a gcc2 4125 builtin and then its argument prototype would still apply. */ 4126 char strerror (); 4127 int 4128 main () 4129 { 4130 strerror (); 4131 ; 4132 return 0; 4133 } 4134 _ACEOF 4135 rm -f conftest.$ac_objext conftest$ac_exeext 4136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4137 (eval $ac_link) 2>conftest.er1 4138 ac_status=$? 4139 grep -v '^ *+' conftest.er1 >conftest.err 4140 rm -f conftest.er1 4141 cat conftest.err >&5 4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4143 (exit $ac_status); } && 4144 { ac_try='test -z "$ac_c_werror_flag" 4145 || test ! -s conftest.err' 4146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4147 (eval $ac_try) 2>&5 4148 ac_status=$? 4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4150 (exit $ac_status); }; } && 4151 { ac_try='test -s conftest$ac_exeext' 4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4153 (eval $ac_try) 2>&5 4154 ac_status=$? 4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4156 (exit $ac_status); }; }; then 4157 ac_cv_search_strerror="-l$ac_lib" 4158 break 4159 else 4160 echo "$as_me: failed program was:" >&5 4161 sed 's/^/| /' conftest.$ac_ext >&5 4162 4163 fi 4164 rm -f conftest.err conftest.$ac_objext \ 4165 conftest$ac_exeext conftest.$ac_ext 4699 4166 done 4700 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4701 esac 4702 4703 $ac_path_GREP_found && break 3 4704 done 4705 done 4706 done 4707 IFS=$as_save_IFS 4708 if test -z "$ac_cv_path_GREP"; then 4709 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4710 fi 4711 else 4712 ac_cv_path_GREP=$GREP 4713 fi 4714 4715 fi 4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4717 $as_echo "$ac_cv_path_GREP" >&6; } 4718 GREP="$ac_cv_path_GREP" 4719 4720 4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4722 $as_echo_n "checking for egrep... " >&6; } 4723 if test "${ac_cv_path_EGREP+set}" = set; then : 4724 $as_echo_n "(cached) " >&6 4725 else 4726 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4727 then ac_cv_path_EGREP="$GREP -E" 4728 else 4729 if test -z "$EGREP"; then 4730 ac_path_EGREP_found=false 4731 # Loop through the user's path and test for each of PROGNAME-LIST 4732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4733 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4734 do 4735 IFS=$as_save_IFS 4736 test -z "$as_dir" && as_dir=. 4737 for ac_prog in egrep; do 4738 for ac_exec_ext in '' $ac_executable_extensions; do 4739 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4740 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4741 # Check for GNU ac_path_EGREP and select it if it is found. 4742 # Check for GNU $ac_path_EGREP 4743 case `"$ac_path_EGREP" --version 2>&1` in 4744 *GNU*) 4745 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4746 *) 4747 ac_count=0 4748 $as_echo_n 0123456789 >"conftest.in" 4749 while : 4750 do 4751 cat "conftest.in" "conftest.in" >"conftest.tmp" 4752 mv "conftest.tmp" "conftest.in" 4753 cp "conftest.in" "conftest.nl" 4754 $as_echo 'EGREP' >> "conftest.nl" 4755 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4756 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4757 as_fn_arith $ac_count + 1 && ac_count=$as_val 4758 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4759 # Best one so far, save it but keep looking for a better one 4760 ac_cv_path_EGREP="$ac_path_EGREP" 4761 ac_path_EGREP_max=$ac_count 4762 fi 4763 # 10*(2^10) chars as input seems more than enough 4764 test $ac_count -gt 10 && break 4765 done 4766 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4767 esac 4768 4769 $ac_path_EGREP_found && break 3 4770 done 4771 done 4772 done 4773 IFS=$as_save_IFS 4774 if test -z "$ac_cv_path_EGREP"; then 4775 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4776 fi 4777 else 4778 ac_cv_path_EGREP=$EGREP 4779 fi 4780 4781 fi 4782 fi 4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4784 $as_echo "$ac_cv_path_EGREP" >&6; } 4785 EGREP="$ac_cv_path_EGREP" 4786 4787 4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4789 $as_echo_n "checking for ANSI C header files... " >&6; } 4790 if test "${ac_cv_header_stdc+set}" = set; then : 4791 $as_echo_n "(cached) " >&6 4792 else 4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4167 fi 4168 LIBS=$ac_func_search_save_LIBS 4169 fi 4170 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4171 echo "${ECHO_T}$ac_cv_search_strerror" >&6 4172 if test "$ac_cv_search_strerror" != no; then 4173 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 4174 4175 fi 4176 4177 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4178 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4179 if test "${ac_cv_header_stdc+set}" = set; then 4180 echo $ECHO_N "(cached) $ECHO_C" >&6 4181 else 4182 cat >conftest.$ac_ext <<_ACEOF 4183 /* confdefs.h. */ 4184 _ACEOF 4185 cat confdefs.h >>conftest.$ac_ext 4186 cat >>conftest.$ac_ext <<_ACEOF 4794 4187 /* end confdefs.h. */ 4795 4188 #include <stdlib.h> … … 4806 4199 } 4807 4200 _ACEOF 4808 if ac_fn_c_try_compile "$LINENO"; then : 4201 rm -f conftest.$ac_objext 4202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4203 (eval $ac_compile) 2>conftest.er1 4204 ac_status=$? 4205 grep -v '^ *+' conftest.er1 >conftest.err 4206 rm -f conftest.er1 4207 cat conftest.err >&5 4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4209 (exit $ac_status); } && 4210 { ac_try='test -z "$ac_c_werror_flag" 4211 || test ! -s conftest.err' 4212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4213 (eval $ac_try) 2>&5 4214 ac_status=$? 4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4216 (exit $ac_status); }; } && 4217 { ac_try='test -s conftest.$ac_objext' 4218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4219 (eval $ac_try) 2>&5 4220 ac_status=$? 4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4222 (exit $ac_status); }; }; then 4809 4223 ac_cv_header_stdc=yes 4810 4224 else 4811 ac_cv_header_stdc=no 4812 fi 4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4225 echo "$as_me: failed program was:" >&5 4226 sed 's/^/| /' conftest.$ac_ext >&5 4227 4228 ac_cv_header_stdc=no 4229 fi 4230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4814 4231 4815 4232 if test $ac_cv_header_stdc = yes; then 4816 4233 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4234 cat >conftest.$ac_ext <<_ACEOF 4235 /* confdefs.h. */ 4236 _ACEOF 4237 cat confdefs.h >>conftest.$ac_ext 4238 cat >>conftest.$ac_ext <<_ACEOF 4818 4239 /* end confdefs.h. */ 4819 4240 #include <string.h> … … 4821 4242 _ACEOF 4822 4243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4823 $EGREP "memchr" >/dev/null 2>&1; then :4824 4244 $EGREP "memchr" >/dev/null 2>&1; then 4245 : 4825 4246 else 4826 4247 ac_cv_header_stdc=no … … 4832 4253 if test $ac_cv_header_stdc = yes; then 4833 4254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4255 cat >conftest.$ac_ext <<_ACEOF 4256 /* confdefs.h. */ 4257 _ACEOF 4258 cat confdefs.h >>conftest.$ac_ext 4259 cat >>conftest.$ac_ext <<_ACEOF 4835 4260 /* end confdefs.h. */ 4836 4261 #include <stdlib.h> … … 4838 4263 _ACEOF 4839 4264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4840 $EGREP "free" >/dev/null 2>&1; then :4841 4265 $EGREP "free" >/dev/null 2>&1; then 4266 : 4842 4267 else 4843 4268 ac_cv_header_stdc=no … … 4849 4274 if test $ac_cv_header_stdc = yes; then 4850 4275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4851 if test "$cross_compiling" = yes; then :4276 if test "$cross_compiling" = yes; then 4852 4277 : 4853 4278 else 4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4279 cat >conftest.$ac_ext <<_ACEOF 4280 /* confdefs.h. */ 4281 _ACEOF 4282 cat confdefs.h >>conftest.$ac_ext 4283 cat >>conftest.$ac_ext <<_ACEOF 4855 4284 /* end confdefs.h. */ 4856 4285 #include <ctype.h> 4857 #include <stdlib.h>4858 4286 #if ((' ' & 0x0FF) == 0x020) 4859 4287 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4875 4303 if (XOR (islower (i), ISLOWER (i)) 4876 4304 || toupper (i) != TOUPPER (i)) 4877 return 2;4878 return 0;4305 exit(2); 4306 exit (0); 4879 4307 } 4880 4308 _ACEOF 4881 if ac_fn_c_try_run "$LINENO"; then : 4882 4883 else 4884 ac_cv_header_stdc=no 4885 fi 4886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4887 conftest.$ac_objext conftest.beam conftest.$ac_ext 4888 fi 4889 4890 fi 4891 fi 4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4893 $as_echo "$ac_cv_header_stdc" >&6; } 4309 rm -f conftest$ac_exeext 4310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4311 (eval $ac_link) 2>&5 4312 ac_status=$? 4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4316 (eval $ac_try) 2>&5 4317 ac_status=$? 4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4319 (exit $ac_status); }; }; then 4320 : 4321 else 4322 echo "$as_me: program exited with status $ac_status" >&5 4323 echo "$as_me: failed program was:" >&5 4324 sed 's/^/| /' conftest.$ac_ext >&5 4325 4326 ( exit $ac_status ) 4327 ac_cv_header_stdc=no 4328 fi 4329 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4330 fi 4331 fi 4332 fi 4333 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4334 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4894 4335 if test $ac_cv_header_stdc = yes; then 4895 4336 4896 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4337 cat >>confdefs.h <<\_ACEOF 4338 #define STDC_HEADERS 1 4339 _ACEOF 4897 4340 4898 4341 fi 4899 4342 4900 4343 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4344 4345 4346 4347 4348 4349 4350 4351 4352 4901 4353 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4902 4354 inttypes.h stdint.h unistd.h 4903 do : 4904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4905 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4906 " 4907 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4355 do 4356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4357 echo "$as_me:$LINENO: checking for $ac_header" >&5 4358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4359 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4360 echo $ECHO_N "(cached) $ECHO_C" >&6 4361 else 4362 cat >conftest.$ac_ext <<_ACEOF 4363 /* confdefs.h. */ 4364 _ACEOF 4365 cat confdefs.h >>conftest.$ac_ext 4366 cat >>conftest.$ac_ext <<_ACEOF 4367 /* end confdefs.h. */ 4368 $ac_includes_default 4369 4370 #include <$ac_header> 4371 _ACEOF 4372 rm -f conftest.$ac_objext 4373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4374 (eval $ac_compile) 2>conftest.er1 4375 ac_status=$? 4376 grep -v '^ *+' conftest.er1 >conftest.err 4377 rm -f conftest.er1 4378 cat conftest.err >&5 4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4380 (exit $ac_status); } && 4381 { ac_try='test -z "$ac_c_werror_flag" 4382 || test ! -s conftest.err' 4383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4384 (eval $ac_try) 2>&5 4385 ac_status=$? 4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4387 (exit $ac_status); }; } && 4388 { ac_try='test -s conftest.$ac_objext' 4389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4390 (eval $ac_try) 2>&5 4391 ac_status=$? 4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4393 (exit $ac_status); }; }; then 4394 eval "$as_ac_Header=yes" 4395 else 4396 echo "$as_me: failed program was:" >&5 4397 sed 's/^/| /' conftest.$ac_ext >&5 4398 4399 eval "$as_ac_Header=no" 4400 fi 4401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4402 fi 4403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4405 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4908 4406 cat >>confdefs.h <<_ACEOF 4909 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4910 4408 _ACEOF 4911 4409 … … 4915 4413 4916 4414 4917 4918 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4919 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4415 if test "${ac_cv_header_minix_config_h+set}" = set; then 4416 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4417 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4418 if test "${ac_cv_header_minix_config_h+set}" = set; then 4419 echo $ECHO_N "(cached) $ECHO_C" >&6 4420 fi 4421 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4422 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4423 else 4424 # Is the header compilable? 4425 echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4426 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 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 #include <minix/config.h> 4435 _ACEOF 4436 rm -f conftest.$ac_objext 4437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4438 (eval $ac_compile) 2>conftest.er1 4439 ac_status=$? 4440 grep -v '^ *+' conftest.er1 >conftest.err 4441 rm -f conftest.er1 4442 cat conftest.err >&5 4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4444 (exit $ac_status); } && 4445 { ac_try='test -z "$ac_c_werror_flag" 4446 || test ! -s conftest.err' 4447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4448 (eval $ac_try) 2>&5 4449 ac_status=$? 4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4451 (exit $ac_status); }; } && 4452 { ac_try='test -s conftest.$ac_objext' 4453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4454 (eval $ac_try) 2>&5 4455 ac_status=$? 4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4457 (exit $ac_status); }; }; then 4458 ac_header_compiler=yes 4459 else 4460 echo "$as_me: failed program was:" >&5 4461 sed 's/^/| /' conftest.$ac_ext >&5 4462 4463 ac_header_compiler=no 4464 fi 4465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4467 echo "${ECHO_T}$ac_header_compiler" >&6 4468 4469 # Is the header present? 4470 echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4471 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4472 cat >conftest.$ac_ext <<_ACEOF 4473 /* confdefs.h. */ 4474 _ACEOF 4475 cat confdefs.h >>conftest.$ac_ext 4476 cat >>conftest.$ac_ext <<_ACEOF 4477 /* end confdefs.h. */ 4478 #include <minix/config.h> 4479 _ACEOF 4480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4482 ac_status=$? 4483 grep -v '^ *+' conftest.er1 >conftest.err 4484 rm -f conftest.er1 4485 cat conftest.err >&5 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 (exit $ac_status); } >/dev/null; then 4488 if test -s conftest.err; then 4489 ac_cpp_err=$ac_c_preproc_warn_flag 4490 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4491 else 4492 ac_cpp_err= 4493 fi 4494 else 4495 ac_cpp_err=yes 4496 fi 4497 if test -z "$ac_cpp_err"; then 4498 ac_header_preproc=yes 4499 else 4500 echo "$as_me: failed program was:" >&5 4501 sed 's/^/| /' conftest.$ac_ext >&5 4502 4503 ac_header_preproc=no 4504 fi 4505 rm -f conftest.err conftest.$ac_ext 4506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4507 echo "${ECHO_T}$ac_header_preproc" >&6 4508 4509 # So? What about this header? 4510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4511 yes:no: ) 4512 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4513 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4514 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4515 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4516 ac_header_preproc=yes 4517 ;; 4518 no:yes:* ) 4519 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4520 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4521 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4522 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4523 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4524 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4525 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4526 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4527 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4528 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4529 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4530 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4531 ( 4532 cat <<\_ASBOX 4533 ## ------------------------------------------ ## 4534 ## Report this to the AC_PACKAGE_NAME lists. ## 4535 ## ------------------------------------------ ## 4536 _ASBOX 4537 ) | 4538 sed "s/^/$as_me: WARNING: /" >&2 4539 ;; 4540 esac 4541 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4542 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4543 if test "${ac_cv_header_minix_config_h+set}" = set; then 4544 echo $ECHO_N "(cached) $ECHO_C" >&6 4545 else 4546 ac_cv_header_minix_config_h=$ac_header_preproc 4547 fi 4548 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4549 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4550 4551 fi 4552 if test $ac_cv_header_minix_config_h = yes; then 4920 4553 MINIX=yes 4921 4554 else … … 4924 4557 4925 4558 4926 if test "$MINIX" = yes; then 4927 4928 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4929 4930 4931 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4932 4933 4934 $as_echo "#define _MINIX 1" >>confdefs.h 4935 4936 fi 4937 4938 4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4940 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4941 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4942 $as_echo_n "(cached) " >&6 4943 else 4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4945 /* end confdefs.h. */ 4946 4947 # define __EXTENSIONS__ 1 4948 $ac_includes_default 4949 int 4950 main () 4951 { 4952 4953 ; 4954 return 0; 4955 } 4956 _ACEOF 4957 if ac_fn_c_try_compile "$LINENO"; then : 4958 ac_cv_safe_to_define___extensions__=yes 4959 else 4960 ac_cv_safe_to_define___extensions__=no 4961 fi 4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4963 fi 4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4965 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4966 test $ac_cv_safe_to_define___extensions__ = yes && 4967 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4968 4969 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4970 4971 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4972 4973 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4974 4975 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4976 4977 4978 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4980 $as_echo_n "checking for library containing strerror... " >&6; } 4981 if test "${ac_cv_search_strerror+set}" = set; then : 4982 $as_echo_n "(cached) " >&6 4983 else 4984 ac_func_search_save_LIBS=$LIBS 4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4986 /* end confdefs.h. */ 4987 4988 /* Override any GCC internal prototype to avoid an error. 4989 Use char because int might match the return type of a GCC 4990 builtin and then its argument prototype would still apply. */ 4991 #ifdef __cplusplus 4992 extern "C" 4993 #endif 4994 char strerror (); 4995 int 4996 main () 4997 { 4998 return strerror (); 4999 ; 5000 return 0; 5001 } 5002 _ACEOF 5003 for ac_lib in '' cposix; do 5004 if test -z "$ac_lib"; then 5005 ac_res="none required" 5006 else 5007 ac_res=-l$ac_lib 5008 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5009 fi 5010 if ac_fn_c_try_link "$LINENO"; then : 5011 ac_cv_search_strerror=$ac_res 5012 fi 5013 rm -f core conftest.err conftest.$ac_objext \ 5014 conftest$ac_exeext 5015 if test "${ac_cv_search_strerror+set}" = set; then : 5016 break 5017 fi 5018 done 5019 if test "${ac_cv_search_strerror+set}" = set; then : 5020 5021 else 5022 ac_cv_search_strerror=no 5023 fi 5024 rm conftest.$ac_ext 5025 LIBS=$ac_func_search_save_LIBS 5026 fi 5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 5028 $as_echo "$ac_cv_search_strerror" >&6; } 5029 ac_res=$ac_cv_search_strerror 5030 if test "$ac_res" != no; then : 5031 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5032 5033 fi 5034 5035 5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5037 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 5038 if test "${ac_cv_prog_cc_stdc+set}" = set; then : 5039 $as_echo_n "(cached) " >&6 4559 if test "$MINIX" = yes; then 4560 4561 cat >>confdefs.h <<\_ACEOF 4562 #define _POSIX_SOURCE 1 4563 _ACEOF 4564 4565 4566 cat >>confdefs.h <<\_ACEOF 4567 #define _POSIX_1_SOURCE 2 4568 _ACEOF 4569 4570 4571 cat >>confdefs.h <<\_ACEOF 4572 #define _MINIX 1 4573 _ACEOF 4574 4575 fi 4576 4577 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4578 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4579 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4580 echo $ECHO_N "(cached) $ECHO_C" >&6 5040 4581 else 5041 4582 ac_cv_prog_cc_stdc=no … … 5050 4591 do 5051 4592 CFLAGS="$ac_save_CFLAGS $ac_arg" 5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4593 cat >conftest.$ac_ext <<_ACEOF 4594 /* confdefs.h. */ 4595 _ACEOF 4596 cat confdefs.h >>conftest.$ac_ext 4597 cat >>conftest.$ac_ext <<_ACEOF 5053 4598 /* end confdefs.h. */ 5054 4599 #if !defined(__STDC__) || __STDC__ != 1 … … 5066 4611 } 5067 4612 _ACEOF 5068 if ac_fn_c_try_compile "$LINENO"; then : 4613 rm -f conftest.$ac_objext 4614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4615 (eval $ac_compile) 2>conftest.er1 4616 ac_status=$? 4617 grep -v '^ *+' conftest.er1 >conftest.err 4618 rm -f conftest.er1 4619 cat conftest.err >&5 4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4621 (exit $ac_status); } && 4622 { ac_try='test -z "$ac_c_werror_flag" 4623 || test ! -s conftest.err' 4624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4625 (eval $ac_try) 2>&5 4626 ac_status=$? 4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4628 (exit $ac_status); }; } && 4629 { ac_try='test -s conftest.$ac_objext' 4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4631 (eval $ac_try) 2>&5 4632 ac_status=$? 4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4634 (exit $ac_status); }; }; then 5069 4635 ac_cv_prog_cc_stdc="$ac_arg"; break 5070 fi 5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4636 else 4637 echo "$as_me: failed program was:" >&5 4638 sed 's/^/| /' conftest.$ac_ext >&5 4639 4640 fi 4641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5072 4642 done 5073 4643 CFLAGS="$ac_save_CFLAGS" … … 5075 4645 fi 5076 4646 5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&55078 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4647 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4648 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5079 4649 case "x$ac_cv_prog_cc_stdc" in 5080 4650 x|xno) ;; … … 5083 4653 5084 4654 5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&55086 $as_echo_n "checking for function prototypes... " >&6; } 4655 echo "$as_me:$LINENO: checking for function prototypes" >&5 4656 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5087 4657 if test "$ac_cv_prog_cc_stdc" != no; then 5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5089 $as_echo "yes" >&6; } 5090 $as_echo "#define PROTOTYPES 1" >>confdefs.h 4658 echo "$as_me:$LINENO: result: yes" >&5 4659 echo "${ECHO_T}yes" >&6 4660 cat >>confdefs.h <<\_ACEOF 4661 #define PROTOTYPES 1 4662 _ACEOF 5091 4663 5092 4664 U= ANSI2KNR= 5093 4665 else 5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55095 $as_echo "no" >&6; } 4666 echo "$as_me:$LINENO: result: no" >&5 4667 echo "${ECHO_T}no" >&6 5096 4668 U=_ ANSI2KNR=ansi2knr 5097 4669 fi 5098 4670 5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5100 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5101 if test "${ac_cv_c_const+set}" = set; then : 5102 $as_echo_n "(cached) " >&6 5103 else 5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4671 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4672 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4673 if test "${ac_cv_c_const+set}" = set; then 4674 echo $ECHO_N "(cached) $ECHO_C" >&6 4675 else 4676 cat >conftest.$ac_ext <<_ACEOF 4677 /* confdefs.h. */ 4678 _ACEOF 4679 cat confdefs.h >>conftest.$ac_ext 4680 cat >>conftest.$ac_ext <<_ACEOF 5105 4681 /* end confdefs.h. */ 5106 4682 … … 5112 4688 /* Ultrix mips cc rejects this. */ 5113 4689 typedef int charset[2]; 5114 const charset cs;4690 const charset x; 5115 4691 /* SunOS 4.1.1 cc rejects this. */ 5116 char const *const * pcpcc;5117 char **p pc;4692 char const *const *ccp; 4693 char **p; 5118 4694 /* NEC SVR4.0.2 mips cc rejects this. */ 5119 4695 struct point {int x, y;}; … … 5124 4700 expression */ 5125 4701 const char *g = "string"; 5126 pcpcc= &g + (g ? g-g : 0);4702 ccp = &g + (g ? g-g : 0); 5127 4703 /* HPUX 7.0 cc rejects these. */ 5128 ++ pcpcc;5129 p pc = (char**) pcpcc;5130 pcpcc = (char const *const *) ppc;4704 ++ccp; 4705 p = (char**) ccp; 4706 ccp = (char const *const *) p; 5131 4707 { /* SCO 3.2v4 cc rejects this. */ 5132 4708 char *t; … … 5134 4710 5135 4711 *t++ = 0; 5136 if (s) return 0;5137 4712 } 5138 4713 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 5153 4728 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 5154 4729 const int foo = 10; 5155 if (!foo) return 0;5156 4730 } 5157 return !cs[0] && !zero.x;5158 4731 #endif 5159 4732 … … 5162 4735 } 5163 4736 _ACEOF 5164 if ac_fn_c_try_compile "$LINENO"; then : 4737 rm -f conftest.$ac_objext 4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4739 (eval $ac_compile) 2>conftest.er1 4740 ac_status=$? 4741 grep -v '^ *+' conftest.er1 >conftest.err 4742 rm -f conftest.er1 4743 cat conftest.err >&5 4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4745 (exit $ac_status); } && 4746 { ac_try='test -z "$ac_c_werror_flag" 4747 || test ! -s conftest.err' 4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4749 (eval $ac_try) 2>&5 4750 ac_status=$? 4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4752 (exit $ac_status); }; } && 4753 { ac_try='test -s conftest.$ac_objext' 4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4755 (eval $ac_try) 2>&5 4756 ac_status=$? 4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4758 (exit $ac_status); }; }; then 5165 4759 ac_cv_c_const=yes 5166 4760 else 5167 ac_cv_c_const=no 5168 fi 5169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5170 fi 5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5172 $as_echo "$ac_cv_c_const" >&6; } 4761 echo "$as_me: failed program was:" >&5 4762 sed 's/^/| /' conftest.$ac_ext >&5 4763 4764 ac_cv_c_const=no 4765 fi 4766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4767 fi 4768 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4769 echo "${ECHO_T}$ac_cv_c_const" >&6 5173 4770 if test $ac_cv_c_const = no; then 5174 4771 5175 $as_echo "#define const /**/" >>confdefs.h 5176 5177 fi 5178 5179 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 5180 if test "x$ac_cv_type_off_t" = x""yes; then : 5181 4772 cat >>confdefs.h <<\_ACEOF 4773 #define const 4774 _ACEOF 4775 4776 fi 4777 4778 echo "$as_me:$LINENO: checking for off_t" >&5 4779 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4780 if test "${ac_cv_type_off_t+set}" = set; then 4781 echo $ECHO_N "(cached) $ECHO_C" >&6 4782 else 4783 cat >conftest.$ac_ext <<_ACEOF 4784 /* confdefs.h. */ 4785 _ACEOF 4786 cat confdefs.h >>conftest.$ac_ext 4787 cat >>conftest.$ac_ext <<_ACEOF 4788 /* end confdefs.h. */ 4789 $ac_includes_default 4790 int 4791 main () 4792 { 4793 if ((off_t *) 0) 4794 return 0; 4795 if (sizeof (off_t)) 4796 return 0; 4797 ; 4798 return 0; 4799 } 4800 _ACEOF 4801 rm -f conftest.$ac_objext 4802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4803 (eval $ac_compile) 2>conftest.er1 4804 ac_status=$? 4805 grep -v '^ *+' conftest.er1 >conftest.err 4806 rm -f conftest.er1 4807 cat conftest.err >&5 4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4809 (exit $ac_status); } && 4810 { ac_try='test -z "$ac_c_werror_flag" 4811 || test ! -s conftest.err' 4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4813 (eval $ac_try) 2>&5 4814 ac_status=$? 4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4816 (exit $ac_status); }; } && 4817 { ac_try='test -s conftest.$ac_objext' 4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4819 (eval $ac_try) 2>&5 4820 ac_status=$? 4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 (exit $ac_status); }; }; then 4823 ac_cv_type_off_t=yes 4824 else 4825 echo "$as_me: failed program was:" >&5 4826 sed 's/^/| /' conftest.$ac_ext >&5 4827 4828 ac_cv_type_off_t=no 4829 fi 4830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4831 fi 4832 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4833 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4834 if test $ac_cv_type_off_t = yes; then 4835 : 5182 4836 else 5183 4837 5184 4838 cat >>confdefs.h <<_ACEOF 5185 #define off_t long int 5186 _ACEOF 5187 5188 fi 5189 5190 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5191 if test "x$ac_cv_type_size_t" = x""yes; then : 5192 4839 #define off_t long 4840 _ACEOF 4841 4842 fi 4843 4844 echo "$as_me:$LINENO: checking for size_t" >&5 4845 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4846 if test "${ac_cv_type_size_t+set}" = set; then 4847 echo $ECHO_N "(cached) $ECHO_C" >&6 4848 else 4849 cat >conftest.$ac_ext <<_ACEOF 4850 /* confdefs.h. */ 4851 _ACEOF 4852 cat confdefs.h >>conftest.$ac_ext 4853 cat >>conftest.$ac_ext <<_ACEOF 4854 /* end confdefs.h. */ 4855 $ac_includes_default 4856 int 4857 main () 4858 { 4859 if ((size_t *) 0) 4860 return 0; 4861 if (sizeof (size_t)) 4862 return 0; 4863 ; 4864 return 0; 4865 } 4866 _ACEOF 4867 rm -f conftest.$ac_objext 4868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4869 (eval $ac_compile) 2>conftest.er1 4870 ac_status=$? 4871 grep -v '^ *+' conftest.er1 >conftest.err 4872 rm -f conftest.er1 4873 cat conftest.err >&5 4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4875 (exit $ac_status); } && 4876 { ac_try='test -z "$ac_c_werror_flag" 4877 || test ! -s conftest.err' 4878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4879 (eval $ac_try) 2>&5 4880 ac_status=$? 4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4882 (exit $ac_status); }; } && 4883 { ac_try='test -s conftest.$ac_objext' 4884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4885 (eval $ac_try) 2>&5 4886 ac_status=$? 4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4888 (exit $ac_status); }; }; then 4889 ac_cv_type_size_t=yes 4890 else 4891 echo "$as_me: failed program was:" >&5 4892 sed 's/^/| /' conftest.$ac_ext >&5 4893 4894 ac_cv_type_size_t=no 4895 fi 4896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4897 fi 4898 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4899 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4900 if test $ac_cv_type_size_t = yes; then 4901 : 5193 4902 else 5194 4903 5195 4904 cat >>confdefs.h <<_ACEOF 5196 #define size_t unsigned int 5197 _ACEOF 5198 5199 fi 5200 5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 5202 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 5203 if test "${ac_cv_header_time+set}" = set; then : 5204 $as_echo_n "(cached) " >&6 5205 else 5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4905 #define size_t unsigned 4906 _ACEOF 4907 4908 fi 4909 4910 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4911 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4912 if test "${ac_cv_header_time+set}" = set; then 4913 echo $ECHO_N "(cached) $ECHO_C" >&6 4914 else 4915 cat >conftest.$ac_ext <<_ACEOF 4916 /* confdefs.h. */ 4917 _ACEOF 4918 cat confdefs.h >>conftest.$ac_ext 4919 cat >>conftest.$ac_ext <<_ACEOF 5207 4920 /* end confdefs.h. */ 5208 4921 #include <sys/types.h> … … 5219 4932 } 5220 4933 _ACEOF 5221 if ac_fn_c_try_compile "$LINENO"; then : 4934 rm -f conftest.$ac_objext 4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4936 (eval $ac_compile) 2>conftest.er1 4937 ac_status=$? 4938 grep -v '^ *+' conftest.er1 >conftest.err 4939 rm -f conftest.er1 4940 cat conftest.err >&5 4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4942 (exit $ac_status); } && 4943 { ac_try='test -z "$ac_c_werror_flag" 4944 || test ! -s conftest.err' 4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4946 (eval $ac_try) 2>&5 4947 ac_status=$? 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); }; } && 4950 { ac_try='test -s conftest.$ac_objext' 4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 (eval $ac_try) 2>&5 4953 ac_status=$? 4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 (exit $ac_status); }; }; then 5222 4956 ac_cv_header_time=yes 5223 4957 else 5224 ac_cv_header_time=no 5225 fi 5226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5227 fi 5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 5229 $as_echo "$ac_cv_header_time" >&6; } 4958 echo "$as_me: failed program was:" >&5 4959 sed 's/^/| /' conftest.$ac_ext >&5 4960 4961 ac_cv_header_time=no 4962 fi 4963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4964 fi 4965 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4966 echo "${ECHO_T}$ac_cv_header_time" >&6 5230 4967 if test $ac_cv_header_time = yes; then 5231 4968 5232 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 5233 5234 fi 5235 5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 5237 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5238 if test "${ac_cv_struct_tm+set}" = set; then : 5239 $as_echo_n "(cached) " >&6 5240 else 5241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4969 cat >>confdefs.h <<\_ACEOF 4970 #define TIME_WITH_SYS_TIME 1 4971 _ACEOF 4972 4973 fi 4974 4975 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4976 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4977 if test "${ac_cv_struct_tm+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 5242 4985 /* end confdefs.h. */ 5243 4986 #include <sys/types.h> … … 5247 4990 main () 5248 4991 { 5249 struct tm tm; 5250 int *p = &tm.tm_sec; 5251 return !p; 4992 struct tm *tp; tp->tm_sec; 5252 4993 ; 5253 4994 return 0; 5254 4995 } 5255 4996 _ACEOF 5256 if ac_fn_c_try_compile "$LINENO"; then : 4997 rm -f conftest.$ac_objext 4998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4999 (eval $ac_compile) 2>conftest.er1 5000 ac_status=$? 5001 grep -v '^ *+' conftest.er1 >conftest.err 5002 rm -f conftest.er1 5003 cat conftest.err >&5 5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5005 (exit $ac_status); } && 5006 { ac_try='test -z "$ac_c_werror_flag" 5007 || test ! -s conftest.err' 5008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5009 (eval $ac_try) 2>&5 5010 ac_status=$? 5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5012 (exit $ac_status); }; } && 5013 { ac_try='test -s conftest.$ac_objext' 5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5015 (eval $ac_try) 2>&5 5016 ac_status=$? 5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5018 (exit $ac_status); }; }; then 5257 5019 ac_cv_struct_tm=time.h 5258 5020 else 5259 ac_cv_struct_tm=sys/time.h 5260 fi 5261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5262 fi 5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 5264 $as_echo "$ac_cv_struct_tm" >&6; } 5021 echo "$as_me: failed program was:" >&5 5022 sed 's/^/| /' conftest.$ac_ext >&5 5023 5024 ac_cv_struct_tm=sys/time.h 5025 fi 5026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5027 fi 5028 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5029 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5265 5030 if test $ac_cv_struct_tm = sys/time.h; then 5266 5031 5267 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 5032 cat >>confdefs.h <<\_ACEOF 5033 #define TM_IN_SYS_TIME 1 5034 _ACEOF 5268 5035 5269 5036 fi … … 5271 5038 5272 5039 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5040 cat >conftest.$ac_ext <<_ACEOF 5041 /* confdefs.h. */ 5042 _ACEOF 5043 cat confdefs.h >>conftest.$ac_ext 5044 cat >>conftest.$ac_ext <<_ACEOF 5274 5045 /* end confdefs.h. */ 5275 5046 #include <stdio.h> … … 5283 5054 } 5284 5055 _ACEOF 5285 if ac_fn_c_try_compile "$LINENO"; then : 5286 5287 else 5288 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5289 fi 5290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5291 fi 5292 5293 5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5 5295 $as_echo_n "checking for main in -lg... " >&6; } 5296 if test "${ac_cv_lib_g_main+set}" = set; then : 5297 $as_echo_n "(cached) " >&6 5056 rm -f conftest.$ac_objext 5057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5058 (eval $ac_compile) 2>conftest.er1 5059 ac_status=$? 5060 grep -v '^ *+' conftest.er1 >conftest.err 5061 rm -f conftest.er1 5062 cat conftest.err >&5 5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5064 (exit $ac_status); } && 5065 { ac_try='test -z "$ac_c_werror_flag" 5066 || test ! -s conftest.err' 5067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5068 (eval $ac_try) 2>&5 5069 ac_status=$? 5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5071 (exit $ac_status); }; } && 5072 { ac_try='test -s conftest.$ac_objext' 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); }; }; then 5078 : 5079 else 5080 echo "$as_me: failed program was:" >&5 5081 sed 's/^/| /' conftest.$ac_ext >&5 5082 5083 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5084 fi 5085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5086 fi 5087 5088 5089 5090 echo "$as_me:$LINENO: checking for main in -lg" >&5 5091 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5092 if test "${ac_cv_lib_g_main+set}" = set; then 5093 echo $ECHO_N "(cached) $ECHO_C" >&6 5298 5094 else 5299 5095 ac_check_lib_save_LIBS=$LIBS 5300 5096 LIBS="-lg $LIBS" 5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5097 cat >conftest.$ac_ext <<_ACEOF 5098 /* confdefs.h. */ 5099 _ACEOF 5100 cat confdefs.h >>conftest.$ac_ext 5101 cat >>conftest.$ac_ext <<_ACEOF 5302 5102 /* end confdefs.h. */ 5303 5103 … … 5306 5106 main () 5307 5107 { 5308 returnmain ();5108 main (); 5309 5109 ; 5310 5110 return 0; 5311 5111 } 5312 5112 _ACEOF 5313 if ac_fn_c_try_link "$LINENO"; then : 5113 rm -f conftest.$ac_objext conftest$ac_exeext 5114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5115 (eval $ac_link) 2>conftest.er1 5116 ac_status=$? 5117 grep -v '^ *+' conftest.er1 >conftest.err 5118 rm -f conftest.er1 5119 cat conftest.err >&5 5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5121 (exit $ac_status); } && 5122 { ac_try='test -z "$ac_c_werror_flag" 5123 || test ! -s conftest.err' 5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5125 (eval $ac_try) 2>&5 5126 ac_status=$? 5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5128 (exit $ac_status); }; } && 5129 { ac_try='test -s conftest$ac_exeext' 5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5131 (eval $ac_try) 2>&5 5132 ac_status=$? 5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5134 (exit $ac_status); }; }; then 5314 5135 ac_cv_lib_g_main=yes 5315 5136 else 5316 ac_cv_lib_g_main=no 5317 fi 5318 rm -f core conftest.err conftest.$ac_objext \ 5319 conftest$ac_exeext conftest.$ac_ext 5137 echo "$as_me: failed program was:" >&5 5138 sed 's/^/| /' conftest.$ac_ext >&5 5139 5140 ac_cv_lib_g_main=no 5141 fi 5142 rm -f conftest.err conftest.$ac_objext \ 5143 conftest$ac_exeext conftest.$ac_ext 5320 5144 LIBS=$ac_check_lib_save_LIBS 5321 5145 fi 5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&55323 $as_echo "$ac_cv_lib_g_main" >&6; } 5324 if test "x$ac_cv_lib_g_main" = x""yes; then :5146 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5147 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5148 if test $ac_cv_lib_g_main = yes; then 5325 5149 cat >>confdefs.h <<_ACEOF 5326 5150 #define HAVE_LIBG 1 … … 5332 5156 ac_cv_lib_g=ac_cv_lib_g_main 5333 5157 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 5335 $as_echo_n "checking for main in -lm... " >&6; } 5336 if test "${ac_cv_lib_m_main+set}" = set; then : 5337 $as_echo_n "(cached) " >&6 5158 5159 echo "$as_me:$LINENO: checking for main in -lm" >&5 5160 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5161 if test "${ac_cv_lib_m_main+set}" = set; then 5162 echo $ECHO_N "(cached) $ECHO_C" >&6 5338 5163 else 5339 5164 ac_check_lib_save_LIBS=$LIBS 5340 5165 LIBS="-lm $LIBS" 5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5166 cat >conftest.$ac_ext <<_ACEOF 5167 /* confdefs.h. */ 5168 _ACEOF 5169 cat confdefs.h >>conftest.$ac_ext 5170 cat >>conftest.$ac_ext <<_ACEOF 5342 5171 /* end confdefs.h. */ 5343 5172 … … 5346 5175 main () 5347 5176 { 5348 returnmain ();5177 main (); 5349 5178 ; 5350 5179 return 0; 5351 5180 } 5352 5181 _ACEOF 5353 if ac_fn_c_try_link "$LINENO"; then : 5182 rm -f conftest.$ac_objext conftest$ac_exeext 5183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5184 (eval $ac_link) 2>conftest.er1 5185 ac_status=$? 5186 grep -v '^ *+' conftest.er1 >conftest.err 5187 rm -f conftest.er1 5188 cat conftest.err >&5 5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5190 (exit $ac_status); } && 5191 { ac_try='test -z "$ac_c_werror_flag" 5192 || test ! -s conftest.err' 5193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5194 (eval $ac_try) 2>&5 5195 ac_status=$? 5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5197 (exit $ac_status); }; } && 5198 { ac_try='test -s conftest$ac_exeext' 5199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5200 (eval $ac_try) 2>&5 5201 ac_status=$? 5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5203 (exit $ac_status); }; }; then 5354 5204 ac_cv_lib_m_main=yes 5355 5205 else 5356 ac_cv_lib_m_main=no 5357 fi 5358 rm -f core conftest.err conftest.$ac_objext \ 5359 conftest$ac_exeext conftest.$ac_ext 5206 echo "$as_me: failed program was:" >&5 5207 sed 's/^/| /' conftest.$ac_ext >&5 5208 5209 ac_cv_lib_m_main=no 5210 fi 5211 rm -f conftest.err conftest.$ac_objext \ 5212 conftest$ac_exeext conftest.$ac_ext 5360 5213 LIBS=$ac_check_lib_save_LIBS 5361 5214 fi 5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&55363 $as_echo "$ac_cv_lib_m_main" >&6; } 5364 if test "x$ac_cv_lib_m_main" = x""yes; then :5215 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5216 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5217 if test $ac_cv_lib_m_main = yes; then 5365 5218 cat >>confdefs.h <<_ACEOF 5366 5219 #define HAVE_LIBM 1 … … 5372 5225 ac_cv_lib_m=ac_cv_lib_m_main 5373 5226 5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 5375 $as_echo_n "checking for main in -lcrypt... " >&6; } 5376 if test "${ac_cv_lib_crypt_main+set}" = set; then : 5377 $as_echo_n "(cached) " >&6 5227 5228 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5229 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5230 if test "${ac_cv_lib_crypt_main+set}" = set; then 5231 echo $ECHO_N "(cached) $ECHO_C" >&6 5378 5232 else 5379 5233 ac_check_lib_save_LIBS=$LIBS 5380 5234 LIBS="-lcrypt $LIBS" 5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5235 cat >conftest.$ac_ext <<_ACEOF 5236 /* confdefs.h. */ 5237 _ACEOF 5238 cat confdefs.h >>conftest.$ac_ext 5239 cat >>conftest.$ac_ext <<_ACEOF 5382 5240 /* end confdefs.h. */ 5383 5241 … … 5386 5244 main () 5387 5245 { 5388 returnmain ();5246 main (); 5389 5247 ; 5390 5248 return 0; 5391 5249 } 5392 5250 _ACEOF 5393 if ac_fn_c_try_link "$LINENO"; then : 5251 rm -f conftest.$ac_objext conftest$ac_exeext 5252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5253 (eval $ac_link) 2>conftest.er1 5254 ac_status=$? 5255 grep -v '^ *+' conftest.er1 >conftest.err 5256 rm -f conftest.er1 5257 cat conftest.err >&5 5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 (exit $ac_status); } && 5260 { ac_try='test -z "$ac_c_werror_flag" 5261 || test ! -s conftest.err' 5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5263 (eval $ac_try) 2>&5 5264 ac_status=$? 5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 (exit $ac_status); }; } && 5267 { ac_try='test -s conftest$ac_exeext' 5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5269 (eval $ac_try) 2>&5 5270 ac_status=$? 5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5272 (exit $ac_status); }; }; then 5394 5273 ac_cv_lib_crypt_main=yes 5395 5274 else 5396 ac_cv_lib_crypt_main=no 5397 fi 5398 rm -f core conftest.err conftest.$ac_objext \ 5399 conftest$ac_exeext conftest.$ac_ext 5275 echo "$as_me: failed program was:" >&5 5276 sed 's/^/| /' conftest.$ac_ext >&5 5277 5278 ac_cv_lib_crypt_main=no 5279 fi 5280 rm -f conftest.err conftest.$ac_objext \ 5281 conftest$ac_exeext conftest.$ac_ext 5400 5282 LIBS=$ac_check_lib_save_LIBS 5401 5283 fi 5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&55403 $as_echo "$ac_cv_lib_crypt_main" >&6; } 5404 if test "x$ac_cv_lib_crypt_main" = x""yes; then :5284 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5285 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5286 if test $ac_cv_lib_crypt_main = yes; then 5405 5287 cat >>confdefs.h <<_ACEOF 5406 5288 #define HAVE_LIBCRYPT 1 … … 5413 5295 5414 5296 if test $ENABLE_ACCENTFOLD = 1; then 5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5 5416 $as_echo_n "checking for main in -liconv... " >&6; } 5417 if test "${ac_cv_lib_iconv_main+set}" = set; then : 5418 $as_echo_n "(cached) " >&6 5297 5298 echo "$as_me:$LINENO: checking for main in -liconv" >&5 5299 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 5300 if test "${ac_cv_lib_iconv_main+set}" = set; then 5301 echo $ECHO_N "(cached) $ECHO_C" >&6 5419 5302 else 5420 5303 ac_check_lib_save_LIBS=$LIBS 5421 5304 LIBS="-liconv $LIBS" 5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5305 cat >conftest.$ac_ext <<_ACEOF 5306 /* confdefs.h. */ 5307 _ACEOF 5308 cat confdefs.h >>conftest.$ac_ext 5309 cat >>conftest.$ac_ext <<_ACEOF 5423 5310 /* end confdefs.h. */ 5424 5311 … … 5427 5314 main () 5428 5315 { 5429 returnmain ();5316 main (); 5430 5317 ; 5431 5318 return 0; 5432 5319 } 5433 5320 _ACEOF 5434 if ac_fn_c_try_link "$LINENO"; then : 5321 rm -f conftest.$ac_objext conftest$ac_exeext 5322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5323 (eval $ac_link) 2>conftest.er1 5324 ac_status=$? 5325 grep -v '^ *+' conftest.er1 >conftest.err 5326 rm -f conftest.er1 5327 cat conftest.err >&5 5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5329 (exit $ac_status); } && 5330 { ac_try='test -z "$ac_c_werror_flag" 5331 || test ! -s conftest.err' 5332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5333 (eval $ac_try) 2>&5 5334 ac_status=$? 5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5336 (exit $ac_status); }; } && 5337 { ac_try='test -s conftest$ac_exeext' 5338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5339 (eval $ac_try) 2>&5 5340 ac_status=$? 5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5342 (exit $ac_status); }; }; then 5435 5343 ac_cv_lib_iconv_main=yes 5436 5344 else 5437 ac_cv_lib_iconv_main=no 5438 fi 5439 rm -f core conftest.err conftest.$ac_objext \ 5440 conftest$ac_exeext conftest.$ac_ext 5345 echo "$as_me: failed program was:" >&5 5346 sed 's/^/| /' conftest.$ac_ext >&5 5347 5348 ac_cv_lib_iconv_main=no 5349 fi 5350 rm -f conftest.err conftest.$ac_objext \ 5351 conftest$ac_exeext conftest.$ac_ext 5441 5352 LIBS=$ac_check_lib_save_LIBS 5442 5353 fi 5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&55444 $as_echo "$ac_cv_lib_iconv_main" >&6; } 5445 if test "x$ac_cv_lib_iconv_main" = x""yes; then :5354 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 5355 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6 5356 if test $ac_cv_lib_iconv_main = yes; then 5446 5357 cat >>confdefs.h <<_ACEOF 5447 5358 #define HAVE_LIBICONV 1 … … 5455 5366 fi 5456 5367 5368 5369 5370 5371 5372 5457 5373 ac_header_dirent=no 5458 5374 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5459 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 5461 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 5462 if eval "test \"\${$as_ac_Header+set}\"" = set; then : 5463 $as_echo_n "(cached) " >&6 5464 else 5465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5375 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5376 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5377 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 5378 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5379 echo $ECHO_N "(cached) $ECHO_C" >&6 5380 else 5381 cat >conftest.$ac_ext <<_ACEOF 5382 /* confdefs.h. */ 5383 _ACEOF 5384 cat confdefs.h >>conftest.$ac_ext 5385 cat >>conftest.$ac_ext <<_ACEOF 5466 5386 /* end confdefs.h. */ 5467 5387 #include <sys/types.h> … … 5477 5397 } 5478 5398 _ACEOF 5479 if ac_fn_c_try_compile "$LINENO"; then : 5399 rm -f conftest.$ac_objext 5400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5401 (eval $ac_compile) 2>conftest.er1 5402 ac_status=$? 5403 grep -v '^ *+' conftest.er1 >conftest.err 5404 rm -f conftest.er1 5405 cat conftest.err >&5 5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5407 (exit $ac_status); } && 5408 { ac_try='test -z "$ac_c_werror_flag" 5409 || test ! -s conftest.err' 5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5411 (eval $ac_try) 2>&5 5412 ac_status=$? 5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5414 (exit $ac_status); }; } && 5415 { ac_try='test -s conftest.$ac_objext' 5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5417 (eval $ac_try) 2>&5 5418 ac_status=$? 5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5420 (exit $ac_status); }; }; then 5480 5421 eval "$as_ac_Header=yes" 5481 5422 else 5482 eval "$as_ac_Header=no" 5483 fi 5484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5485 fi 5486 eval ac_res=\$$as_ac_Header 5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5488 $as_echo "$ac_res" >&6; } 5489 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5423 echo "$as_me: failed program was:" >&5 5424 sed 's/^/| /' conftest.$ac_ext >&5 5425 5426 eval "$as_ac_Header=no" 5427 fi 5428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5429 fi 5430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5432 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5490 5433 cat >>confdefs.h <<_ACEOF 5491 #define ` $as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 15434 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 5492 5435 _ACEOF 5493 5436 … … 5498 5441 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5499 5442 if test $ac_header_dirent = dirent.h; then 5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&55501 $as_echo_n "checking for library containing opendir... " >&6; } 5502 if test "${ac_cv_search_opendir+set}" = set; then :5503 $as_echo_n "(cached)" >&65443 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5444 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5445 if test "${ac_cv_search_opendir+set}" = set; then 5446 echo $ECHO_N "(cached) $ECHO_C" >&6 5504 5447 else 5505 5448 ac_func_search_save_LIBS=$LIBS 5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5449 ac_cv_search_opendir=no 5450 cat >conftest.$ac_ext <<_ACEOF 5451 /* confdefs.h. */ 5452 _ACEOF 5453 cat confdefs.h >>conftest.$ac_ext 5454 cat >>conftest.$ac_ext <<_ACEOF 5507 5455 /* end confdefs.h. */ 5508 5456 5509 /* Override any GCC internal prototype to avoid an error. 5510 Use char because int might match the return type of a GCC 5511 builtin and then its argument prototype would still apply. */ 5457 /* Override any gcc2 internal prototype to avoid an error. */ 5512 5458 #ifdef __cplusplus 5513 5459 extern "C" 5514 5460 #endif 5461 /* We use char because int might match the return type of a gcc2 5462 builtin and then its argument prototype would still apply. */ 5515 5463 char opendir (); 5516 5464 int 5517 5465 main () 5518 5466 { 5519 returnopendir ();5467 opendir (); 5520 5468 ; 5521 5469 return 0; 5522 5470 } 5523 5471 _ACEOF 5524 for ac_lib in '' dir; do 5525 if test -z "$ac_lib"; then 5526 ac_res="none required" 5527 else 5528 ac_res=-l$ac_lib 5472 rm -f conftest.$ac_objext conftest$ac_exeext 5473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5474 (eval $ac_link) 2>conftest.er1 5475 ac_status=$? 5476 grep -v '^ *+' conftest.er1 >conftest.err 5477 rm -f conftest.er1 5478 cat conftest.err >&5 5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5480 (exit $ac_status); } && 5481 { ac_try='test -z "$ac_c_werror_flag" 5482 || test ! -s conftest.err' 5483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5484 (eval $ac_try) 2>&5 5485 ac_status=$? 5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5487 (exit $ac_status); }; } && 5488 { ac_try='test -s conftest$ac_exeext' 5489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5490 (eval $ac_try) 2>&5 5491 ac_status=$? 5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5493 (exit $ac_status); }; }; then 5494 ac_cv_search_opendir="none required" 5495 else 5496 echo "$as_me: failed program was:" >&5 5497 sed 's/^/| /' conftest.$ac_ext >&5 5498 5499 fi 5500 rm -f conftest.err conftest.$ac_objext \ 5501 conftest$ac_exeext conftest.$ac_ext 5502 if test "$ac_cv_search_opendir" = no; then 5503 for ac_lib in dir; do 5529 5504 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5530 fi 5531 if ac_fn_c_try_link "$LINENO"; then : 5532 ac_cv_search_opendir=$ac_res 5533 fi 5534 rm -f core conftest.err conftest.$ac_objext \ 5535 conftest$ac_exeext 5536 if test "${ac_cv_search_opendir+set}" = set; then : 5537 break 5538 fi 5539 done 5540 if test "${ac_cv_search_opendir+set}" = set; then : 5541 5542 else 5543 ac_cv_search_opendir=no 5544 fi 5545 rm conftest.$ac_ext 5546 LIBS=$ac_func_search_save_LIBS 5547 fi 5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5549 $as_echo "$ac_cv_search_opendir" >&6; } 5550 ac_res=$ac_cv_search_opendir 5551 if test "$ac_res" != no; then : 5552 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5553 5554 fi 5555 5556 else 5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 5558 $as_echo_n "checking for library containing opendir... " >&6; } 5559 if test "${ac_cv_search_opendir+set}" = set; then : 5560 $as_echo_n "(cached) " >&6 5561 else 5562 ac_func_search_save_LIBS=$LIBS 5563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5505 cat >conftest.$ac_ext <<_ACEOF 5506 /* confdefs.h. */ 5507 _ACEOF 5508 cat confdefs.h >>conftest.$ac_ext 5509 cat >>conftest.$ac_ext <<_ACEOF 5564 5510 /* end confdefs.h. */ 5565 5511 5566 /* Override any GCC internal prototype to avoid an error. 5567 Use char because int might match the return type of a GCC 5568 builtin and then its argument prototype would still apply. */ 5512 /* Override any gcc2 internal prototype to avoid an error. */ 5569 5513 #ifdef __cplusplus 5570 5514 extern "C" 5571 5515 #endif 5516 /* We use char because int might match the return type of a gcc2 5517 builtin and then its argument prototype would still apply. */ 5572 5518 char opendir (); 5573 5519 int 5574 5520 main () 5575 5521 { 5576 returnopendir ();5522 opendir (); 5577 5523 ; 5578 5524 return 0; 5579 5525 } 5580 5526 _ACEOF 5581 for ac_lib in '' x; do 5582 if test -z "$ac_lib"; then 5583 ac_res="none required" 5584 else 5585 ac_res=-l$ac_lib 5527 rm -f conftest.$ac_objext conftest$ac_exeext 5528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5529 (eval $ac_link) 2>conftest.er1 5530 ac_status=$? 5531 grep -v '^ *+' conftest.er1 >conftest.err 5532 rm -f conftest.er1 5533 cat conftest.err >&5 5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5535 (exit $ac_status); } && 5536 { ac_try='test -z "$ac_c_werror_flag" 5537 || test ! -s conftest.err' 5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5539 (eval $ac_try) 2>&5 5540 ac_status=$? 5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5542 (exit $ac_status); }; } && 5543 { ac_try='test -s conftest$ac_exeext' 5544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5545 (eval $ac_try) 2>&5 5546 ac_status=$? 5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5548 (exit $ac_status); }; }; then 5549 ac_cv_search_opendir="-l$ac_lib" 5550 break 5551 else 5552 echo "$as_me: failed program was:" >&5 5553 sed 's/^/| /' conftest.$ac_ext >&5 5554 5555 fi 5556 rm -f conftest.err conftest.$ac_objext \ 5557 conftest$ac_exeext conftest.$ac_ext 5558 done 5559 fi 5560 LIBS=$ac_func_search_save_LIBS 5561 fi 5562 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5563 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5564 if test "$ac_cv_search_opendir" != no; then 5565 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5566 5567 fi 5568 5569 else 5570 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5571 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5572 if test "${ac_cv_search_opendir+set}" = set; then 5573 echo $ECHO_N "(cached) $ECHO_C" >&6 5574 else 5575 ac_func_search_save_LIBS=$LIBS 5576 ac_cv_search_opendir=no 5577 cat >conftest.$ac_ext <<_ACEOF 5578 /* confdefs.h. */ 5579 _ACEOF 5580 cat confdefs.h >>conftest.$ac_ext 5581 cat >>conftest.$ac_ext <<_ACEOF 5582 /* end confdefs.h. */ 5583 5584 /* Override any gcc2 internal prototype to avoid an error. */ 5585 #ifdef __cplusplus 5586 extern "C" 5587 #endif 5588 /* We use char because int might match the return type of a gcc2 5589 builtin and then its argument prototype would still apply. */ 5590 char opendir (); 5591 int 5592 main () 5593 { 5594 opendir (); 5595 ; 5596 return 0; 5597 } 5598 _ACEOF 5599 rm -f conftest.$ac_objext conftest$ac_exeext 5600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5601 (eval $ac_link) 2>conftest.er1 5602 ac_status=$? 5603 grep -v '^ *+' conftest.er1 >conftest.err 5604 rm -f conftest.er1 5605 cat conftest.err >&5 5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5607 (exit $ac_status); } && 5608 { ac_try='test -z "$ac_c_werror_flag" 5609 || test ! -s conftest.err' 5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5611 (eval $ac_try) 2>&5 5612 ac_status=$? 5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5614 (exit $ac_status); }; } && 5615 { ac_try='test -s conftest$ac_exeext' 5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5617 (eval $ac_try) 2>&5 5618 ac_status=$? 5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5620 (exit $ac_status); }; }; then 5621 ac_cv_search_opendir="none required" 5622 else 5623 echo "$as_me: failed program was:" >&5 5624 sed 's/^/| /' conftest.$ac_ext >&5 5625 5626 fi 5627 rm -f conftest.err conftest.$ac_objext \ 5628 conftest$ac_exeext conftest.$ac_ext 5629 if test "$ac_cv_search_opendir" = no; then 5630 for ac_lib in x; do 5586 5631 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5587 fi 5588 if ac_fn_c_try_link "$LINENO"; then : 5589 ac_cv_search_opendir=$ac_res 5590 fi 5591 rm -f core conftest.err conftest.$ac_objext \ 5592 conftest$ac_exeext 5593 if test "${ac_cv_search_opendir+set}" = set; then : 5594 break 5595 fi 5596 done 5597 if test "${ac_cv_search_opendir+set}" = set; then : 5598 5599 else 5600 ac_cv_search_opendir=no 5601 fi 5602 rm conftest.$ac_ext 5632 cat >conftest.$ac_ext <<_ACEOF 5633 /* confdefs.h. */ 5634 _ACEOF 5635 cat confdefs.h >>conftest.$ac_ext 5636 cat >>conftest.$ac_ext <<_ACEOF 5637 /* end confdefs.h. */ 5638 5639 /* Override any gcc2 internal prototype to avoid an error. */ 5640 #ifdef __cplusplus 5641 extern "C" 5642 #endif 5643 /* We use char because int might match the return type of a gcc2 5644 builtin and then its argument prototype would still apply. */ 5645 char opendir (); 5646 int 5647 main () 5648 { 5649 opendir (); 5650 ; 5651 return 0; 5652 } 5653 _ACEOF 5654 rm -f conftest.$ac_objext conftest$ac_exeext 5655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5656 (eval $ac_link) 2>conftest.er1 5657 ac_status=$? 5658 grep -v '^ *+' conftest.er1 >conftest.err 5659 rm -f conftest.er1 5660 cat conftest.err >&5 5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5662 (exit $ac_status); } && 5663 { ac_try='test -z "$ac_c_werror_flag" 5664 || test ! -s conftest.err' 5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5666 (eval $ac_try) 2>&5 5667 ac_status=$? 5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5669 (exit $ac_status); }; } && 5670 { ac_try='test -s conftest$ac_exeext' 5671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5672 (eval $ac_try) 2>&5 5673 ac_status=$? 5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5675 (exit $ac_status); }; }; then 5676 ac_cv_search_opendir="-l$ac_lib" 5677 break 5678 else 5679 echo "$as_me: failed program was:" >&5 5680 sed 's/^/| /' conftest.$ac_ext >&5 5681 5682 fi 5683 rm -f conftest.err conftest.$ac_objext \ 5684 conftest$ac_exeext conftest.$ac_ext 5685 done 5686 fi 5603 5687 LIBS=$ac_func_search_save_LIBS 5604 5688 fi 5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5606 $as_echo "$ac_cv_search_opendir" >&6; } 5607 ac_res=$ac_cv_search_opendir 5608 if test "$ac_res" != no; then : 5609 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5610 5611 fi 5612 5613 fi 5614 5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5616 $as_echo_n "checking for ANSI C header files... " >&6; } 5617 if test "${ac_cv_header_stdc+set}" = set; then : 5618 $as_echo_n "(cached) " >&6 5619 else 5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5689 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5690 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5691 if test "$ac_cv_search_opendir" != no; then 5692 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5693 5694 fi 5695 5696 fi 5697 5698 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5699 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5700 if test "${ac_cv_header_stdc+set}" = set; then 5701 echo $ECHO_N "(cached) $ECHO_C" >&6 5702 else 5703 cat >conftest.$ac_ext <<_ACEOF 5704 /* confdefs.h. */ 5705 _ACEOF 5706 cat confdefs.h >>conftest.$ac_ext 5707 cat >>conftest.$ac_ext <<_ACEOF 5621 5708 /* end confdefs.h. */ 5622 5709 #include <stdlib.h> … … 5633 5720 } 5634 5721 _ACEOF 5635 if ac_fn_c_try_compile "$LINENO"; then : 5722 rm -f conftest.$ac_objext 5723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5724 (eval $ac_compile) 2>conftest.er1 5725 ac_status=$? 5726 grep -v '^ *+' conftest.er1 >conftest.err 5727 rm -f conftest.er1 5728 cat conftest.err >&5 5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5730 (exit $ac_status); } && 5731 { ac_try='test -z "$ac_c_werror_flag" 5732 || test ! -s conftest.err' 5733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5734 (eval $ac_try) 2>&5 5735 ac_status=$? 5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5737 (exit $ac_status); }; } && 5738 { ac_try='test -s conftest.$ac_objext' 5739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5740 (eval $ac_try) 2>&5 5741 ac_status=$? 5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5743 (exit $ac_status); }; }; then 5636 5744 ac_cv_header_stdc=yes 5637 5745 else 5638 ac_cv_header_stdc=no 5639 fi 5640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5746 echo "$as_me: failed program was:" >&5 5747 sed 's/^/| /' conftest.$ac_ext >&5 5748 5749 ac_cv_header_stdc=no 5750 fi 5751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5641 5752 5642 5753 if test $ac_cv_header_stdc = yes; then 5643 5754 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5755 cat >conftest.$ac_ext <<_ACEOF 5756 /* confdefs.h. */ 5757 _ACEOF 5758 cat confdefs.h >>conftest.$ac_ext 5759 cat >>conftest.$ac_ext <<_ACEOF 5645 5760 /* end confdefs.h. */ 5646 5761 #include <string.h> … … 5648 5763 _ACEOF 5649 5764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5650 $EGREP "memchr" >/dev/null 2>&1; then :5651 5765 $EGREP "memchr" >/dev/null 2>&1; then 5766 : 5652 5767 else 5653 5768 ac_cv_header_stdc=no … … 5659 5774 if test $ac_cv_header_stdc = yes; then 5660 5775 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5776 cat >conftest.$ac_ext <<_ACEOF 5777 /* confdefs.h. */ 5778 _ACEOF 5779 cat confdefs.h >>conftest.$ac_ext 5780 cat >>conftest.$ac_ext <<_ACEOF 5662 5781 /* end confdefs.h. */ 5663 5782 #include <stdlib.h> … … 5665 5784 _ACEOF 5666 5785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5667 $EGREP "free" >/dev/null 2>&1; then :5668 5786 $EGREP "free" >/dev/null 2>&1; then 5787 : 5669 5788 else 5670 5789 ac_cv_header_stdc=no … … 5676 5795 if test $ac_cv_header_stdc = yes; then 5677 5796 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5678 if test "$cross_compiling" = yes; then :5797 if test "$cross_compiling" = yes; then 5679 5798 : 5680 5799 else 5681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5800 cat >conftest.$ac_ext <<_ACEOF 5801 /* confdefs.h. */ 5802 _ACEOF 5803 cat confdefs.h >>conftest.$ac_ext 5804 cat >>conftest.$ac_ext <<_ACEOF 5682 5805 /* end confdefs.h. */ 5683 5806 #include <ctype.h> 5684 #include <stdlib.h>5685 5807 #if ((' ' & 0x0FF) == 0x020) 5686 5808 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5702 5824 if (XOR (islower (i), ISLOWER (i)) 5703 5825 || toupper (i) != TOUPPER (i)) 5704 return 2;5705 return 0;5826 exit(2); 5827 exit (0); 5706 5828 } 5707 5829 _ACEOF 5708 if ac_fn_c_try_run "$LINENO"; then : 5709 5710 else 5711 ac_cv_header_stdc=no 5712 fi 5713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5714 conftest.$ac_objext conftest.beam conftest.$ac_ext 5715 fi 5716 5717 fi 5718 fi 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5720 $as_echo "$ac_cv_header_stdc" >&6; } 5830 rm -f conftest$ac_exeext 5831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5832 (eval $ac_link) 2>&5 5833 ac_status=$? 5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5837 (eval $ac_try) 2>&5 5838 ac_status=$? 5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5840 (exit $ac_status); }; }; then 5841 : 5842 else 5843 echo "$as_me: program exited with status $ac_status" >&5 5844 echo "$as_me: failed program was:" >&5 5845 sed 's/^/| /' conftest.$ac_ext >&5 5846 5847 ( exit $ac_status ) 5848 ac_cv_header_stdc=no 5849 fi 5850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5851 fi 5852 fi 5853 fi 5854 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5855 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5721 5856 if test $ac_cv_header_stdc = yes; then 5722 5857 5723 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5724 5725 fi 5858 cat >>confdefs.h <<\_ACEOF 5859 #define STDC_HEADERS 1 5860 _ACEOF 5861 5862 fi 5863 5864 5865 5866 5867 5868 5869 5870 5871 5726 5872 5727 5873 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 5728 do : 5729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5730 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5874 do 5875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5876 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5877 echo "$as_me:$LINENO: checking for $ac_header" >&5 5878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5879 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5880 echo $ECHO_N "(cached) $ECHO_C" >&6 5881 fi 5882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5884 else 5885 # Is the header compilable? 5886 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5888 cat >conftest.$ac_ext <<_ACEOF 5889 /* confdefs.h. */ 5890 _ACEOF 5891 cat confdefs.h >>conftest.$ac_ext 5892 cat >>conftest.$ac_ext <<_ACEOF 5893 /* end confdefs.h. */ 5894 $ac_includes_default 5895 #include <$ac_header> 5896 _ACEOF 5897 rm -f conftest.$ac_objext 5898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5899 (eval $ac_compile) 2>conftest.er1 5900 ac_status=$? 5901 grep -v '^ *+' conftest.er1 >conftest.err 5902 rm -f conftest.er1 5903 cat conftest.err >&5 5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5905 (exit $ac_status); } && 5906 { ac_try='test -z "$ac_c_werror_flag" 5907 || test ! -s conftest.err' 5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5909 (eval $ac_try) 2>&5 5910 ac_status=$? 5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5912 (exit $ac_status); }; } && 5913 { ac_try='test -s conftest.$ac_objext' 5914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5915 (eval $ac_try) 2>&5 5916 ac_status=$? 5917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5918 (exit $ac_status); }; }; then 5919 ac_header_compiler=yes 5920 else 5921 echo "$as_me: failed program was:" >&5 5922 sed 's/^/| /' conftest.$ac_ext >&5 5923 5924 ac_header_compiler=no 5925 fi 5926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5928 echo "${ECHO_T}$ac_header_compiler" >&6 5929 5930 # Is the header present? 5931 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5933 cat >conftest.$ac_ext <<_ACEOF 5934 /* confdefs.h. */ 5935 _ACEOF 5936 cat confdefs.h >>conftest.$ac_ext 5937 cat >>conftest.$ac_ext <<_ACEOF 5938 /* end confdefs.h. */ 5939 #include <$ac_header> 5940 _ACEOF 5941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5943 ac_status=$? 5944 grep -v '^ *+' conftest.er1 >conftest.err 5945 rm -f conftest.er1 5946 cat conftest.err >&5 5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5948 (exit $ac_status); } >/dev/null; then 5949 if test -s conftest.err; then 5950 ac_cpp_err=$ac_c_preproc_warn_flag 5951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5952 else 5953 ac_cpp_err= 5954 fi 5955 else 5956 ac_cpp_err=yes 5957 fi 5958 if test -z "$ac_cpp_err"; then 5959 ac_header_preproc=yes 5960 else 5961 echo "$as_me: failed program was:" >&5 5962 sed 's/^/| /' conftest.$ac_ext >&5 5963 5964 ac_header_preproc=no 5965 fi 5966 rm -f conftest.err conftest.$ac_ext 5967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5968 echo "${ECHO_T}$ac_header_preproc" >&6 5969 5970 # So? What about this header? 5971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5972 yes:no: ) 5973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5977 ac_header_preproc=yes 5978 ;; 5979 no:yes:* ) 5980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5992 ( 5993 cat <<\_ASBOX 5994 ## ------------------------------------------ ## 5995 ## Report this to the AC_PACKAGE_NAME lists. ## 5996 ## ------------------------------------------ ## 5997 _ASBOX 5998 ) | 5999 sed "s/^/$as_me: WARNING: /" >&2 6000 ;; 6001 esac 6002 echo "$as_me:$LINENO: checking for $ac_header" >&5 6003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6004 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6005 echo $ECHO_N "(cached) $ECHO_C" >&6 6006 else 6007 eval "$as_ac_Header=\$ac_header_preproc" 6008 fi 6009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6011 6012 fi 6013 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5732 6014 cat >>confdefs.h <<_ACEOF 5733 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 16015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5734 6016 _ACEOF 5735 6017 … … 5738 6020 done 5739 6021 5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6022 cat >conftest.$ac_ext <<_ACEOF 6023 /* confdefs.h. */ 6024 _ACEOF 6025 cat confdefs.h >>conftest.$ac_ext 6026 cat >>conftest.$ac_ext <<_ACEOF 5741 6027 /* end confdefs.h. */ 5742 6028 #include <stdio.h> … … 5744 6030 _ACEOF 5745 6031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5746 $EGREP "fread" >/dev/null 2>&1; then : 5747 $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h 6032 $EGREP "fread" >/dev/null 2>&1; then 6033 cat >>confdefs.h <<\_ACEOF 6034 #define HAVE_FREAD_DECL 1 6035 _ACEOF 5748 6036 5749 6037 fi 5750 6038 rm -f conftest* 5751 6039 5752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6040 cat >conftest.$ac_ext <<_ACEOF 6041 /* confdefs.h. */ 6042 _ACEOF 6043 cat confdefs.h >>conftest.$ac_ext 6044 cat >>conftest.$ac_ext <<_ACEOF 5753 6045 /* end confdefs.h. */ 5754 6046 #include <stdio.h> … … 5756 6048 _ACEOF 5757 6049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5758 $EGREP "fgetc" >/dev/null 2>&1; then : 5759 $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h 6050 $EGREP "fgetc" >/dev/null 2>&1; then 6051 cat >>confdefs.h <<\_ACEOF 6052 #define HAVE_FGETC_DECL 1 6053 _ACEOF 5760 6054 5761 6055 fi 5762 6056 rm -f conftest* 5763 6057 5764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6058 cat >conftest.$ac_ext <<_ACEOF 6059 /* confdefs.h. */ 6060 _ACEOF 6061 cat confdefs.h >>conftest.$ac_ext 6062 cat >>conftest.$ac_ext <<_ACEOF 5765 6063 /* end confdefs.h. */ 5766 6064 #include <sys/procfs.h> … … 5768 6066 _ACEOF 5769 6067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5770 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5771 $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h 6068 $EGREP "pr_brksize" >/dev/null 2>&1; then 6069 cat >>confdefs.h <<\_ACEOF 6070 #define HAVE_PR_BRKSIZE 1 6071 _ACEOF 5772 6072 5773 6073 fi … … 5777 6077 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5778 6078 # for constant arguments. Useless! 5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 5780 $as_echo_n "checking for working alloca.h... " >&6; } 5781 if test "${ac_cv_working_alloca_h+set}" = set; then : 5782 $as_echo_n "(cached) " >&6 5783 else 5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6079 echo "$as_me:$LINENO: checking for working alloca.h" >&5 6080 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 6081 if test "${ac_cv_working_alloca_h+set}" = set; then 6082 echo $ECHO_N "(cached) $ECHO_C" >&6 6083 else 6084 cat >conftest.$ac_ext <<_ACEOF 6085 /* confdefs.h. */ 6086 _ACEOF 6087 cat confdefs.h >>conftest.$ac_ext 6088 cat >>conftest.$ac_ext <<_ACEOF 5785 6089 /* end confdefs.h. */ 5786 6090 #include <alloca.h> … … 5789 6093 { 5790 6094 char *p = (char *) alloca (2 * sizeof (int)); 5791 if (p) return 0;5792 6095 ; 5793 6096 return 0; 5794 6097 } 5795 6098 _ACEOF 5796 if ac_fn_c_try_link "$LINENO"; then : 6099 rm -f conftest.$ac_objext conftest$ac_exeext 6100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6101 (eval $ac_link) 2>conftest.er1 6102 ac_status=$? 6103 grep -v '^ *+' conftest.er1 >conftest.err 6104 rm -f conftest.er1 6105 cat conftest.err >&5 6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6107 (exit $ac_status); } && 6108 { ac_try='test -z "$ac_c_werror_flag" 6109 || test ! -s conftest.err' 6110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6111 (eval $ac_try) 2>&5 6112 ac_status=$? 6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6114 (exit $ac_status); }; } && 6115 { ac_try='test -s conftest$ac_exeext' 6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6117 (eval $ac_try) 2>&5 6118 ac_status=$? 6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6120 (exit $ac_status); }; }; then 5797 6121 ac_cv_working_alloca_h=yes 5798 6122 else 5799 ac_cv_working_alloca_h=no 5800 fi 5801 rm -f core conftest.err conftest.$ac_objext \ 5802 conftest$ac_exeext conftest.$ac_ext 5803 fi 5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 5805 $as_echo "$ac_cv_working_alloca_h" >&6; } 6123 echo "$as_me: failed program was:" >&5 6124 sed 's/^/| /' conftest.$ac_ext >&5 6125 6126 ac_cv_working_alloca_h=no 6127 fi 6128 rm -f conftest.err conftest.$ac_objext \ 6129 conftest$ac_exeext conftest.$ac_ext 6130 fi 6131 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 6132 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5806 6133 if test $ac_cv_working_alloca_h = yes; then 5807 6134 5808 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5809 5810 fi 5811 5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 5813 $as_echo_n "checking for alloca... " >&6; } 5814 if test "${ac_cv_func_alloca_works+set}" = set; then : 5815 $as_echo_n "(cached) " >&6 5816 else 5817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6135 cat >>confdefs.h <<\_ACEOF 6136 #define HAVE_ALLOCA_H 1 6137 _ACEOF 6138 6139 fi 6140 6141 echo "$as_me:$LINENO: checking for alloca" >&5 6142 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 6143 if test "${ac_cv_func_alloca_works+set}" = set; then 6144 echo $ECHO_N "(cached) $ECHO_C" >&6 6145 else 6146 cat >conftest.$ac_ext <<_ACEOF 6147 /* confdefs.h. */ 6148 _ACEOF 6149 cat confdefs.h >>conftest.$ac_ext 6150 cat >>conftest.$ac_ext <<_ACEOF 5818 6151 /* end confdefs.h. */ 5819 6152 #ifdef __GNUC__ … … 5824 6157 # define alloca _alloca 5825 6158 # else 5826 # if defHAVE_ALLOCA_H6159 # if HAVE_ALLOCA_H 5827 6160 # include <alloca.h> 5828 6161 # else … … 5842 6175 { 5843 6176 char *p = (char *) alloca (1); 5844 if (p) return 0;5845 6177 ; 5846 6178 return 0; 5847 6179 } 5848 6180 _ACEOF 5849 if ac_fn_c_try_link "$LINENO"; then : 6181 rm -f conftest.$ac_objext conftest$ac_exeext 6182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6183 (eval $ac_link) 2>conftest.er1 6184 ac_status=$? 6185 grep -v '^ *+' conftest.er1 >conftest.err 6186 rm -f conftest.er1 6187 cat conftest.err >&5 6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6189 (exit $ac_status); } && 6190 { ac_try='test -z "$ac_c_werror_flag" 6191 || test ! -s conftest.err' 6192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6193 (eval $ac_try) 2>&5 6194 ac_status=$? 6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6196 (exit $ac_status); }; } && 6197 { ac_try='test -s conftest$ac_exeext' 6198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6199 (eval $ac_try) 2>&5 6200 ac_status=$? 6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6202 (exit $ac_status); }; }; then 5850 6203 ac_cv_func_alloca_works=yes 5851 6204 else 5852 ac_cv_func_alloca_works=no 5853 fi 5854 rm -f core conftest.err conftest.$ac_objext \ 5855 conftest$ac_exeext conftest.$ac_ext 5856 fi 5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 5858 $as_echo "$ac_cv_func_alloca_works" >&6; } 6205 echo "$as_me: failed program was:" >&5 6206 sed 's/^/| /' conftest.$ac_ext >&5 6207 6208 ac_cv_func_alloca_works=no 6209 fi 6210 rm -f conftest.err conftest.$ac_objext \ 6211 conftest$ac_exeext conftest.$ac_ext 6212 fi 6213 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6214 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 5859 6215 5860 6216 if test $ac_cv_func_alloca_works = yes; then 5861 6217 5862 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 6218 cat >>confdefs.h <<\_ACEOF 6219 #define HAVE_ALLOCA 1 6220 _ACEOF 5863 6221 5864 6222 else … … 5868 6226 # use ar to extract alloca.o from them instead of compiling alloca.c. 5869 6227 5870 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5871 5872 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5873 5874 5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 5876 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5877 if test "${ac_cv_os_cray+set}" = set; then : 5878 $as_echo_n "(cached) " >&6 5879 else 5880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6228 ALLOCA=alloca.$ac_objext 6229 6230 cat >>confdefs.h <<\_ACEOF 6231 #define C_ALLOCA 1 6232 _ACEOF 6233 6234 6235 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6236 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6237 if test "${ac_cv_os_cray+set}" = set; then 6238 echo $ECHO_N "(cached) $ECHO_C" >&6 6239 else 6240 cat >conftest.$ac_ext <<_ACEOF 6241 /* confdefs.h. */ 6242 _ACEOF 6243 cat confdefs.h >>conftest.$ac_ext 6244 cat >>conftest.$ac_ext <<_ACEOF 5881 6245 /* end confdefs.h. */ 5882 #if defined CRAY && ! defined CRAY26246 #if defined(CRAY) && ! defined(CRAY2) 5883 6247 webecray 5884 6248 #else … … 5888 6252 _ACEOF 5889 6253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5890 $EGREP "webecray" >/dev/null 2>&1; then :6254 $EGREP "webecray" >/dev/null 2>&1; then 5891 6255 ac_cv_os_cray=yes 5892 6256 else … … 5896 6260 5897 6261 fi 5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&55899 $as_echo "$ac_cv_os_cray" >&6; } 6262 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6263 echo "${ECHO_T}$ac_cv_os_cray" >&6 5900 6264 if test $ac_cv_os_cray = yes; then 5901 6265 for ac_func in _getb67 GETB67 getb67; do 5902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5904 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6267 echo "$as_me:$LINENO: checking for $ac_func" >&5 6268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6269 if eval "test \"\${$as_ac_var+set}\" = set"; then 6270 echo $ECHO_N "(cached) $ECHO_C" >&6 6271 else 6272 cat >conftest.$ac_ext <<_ACEOF 6273 /* confdefs.h. */ 6274 _ACEOF 6275 cat confdefs.h >>conftest.$ac_ext 6276 cat >>conftest.$ac_ext <<_ACEOF 6277 /* end confdefs.h. */ 6278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6279 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6280 #define $ac_func innocuous_$ac_func 6281 6282 /* System header to define __stub macros and hopefully few prototypes, 6283 which can conflict with char $ac_func (); below. 6284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6285 <limits.h> exists even on freestanding compilers. */ 6286 6287 #ifdef __STDC__ 6288 # include <limits.h> 6289 #else 6290 # include <assert.h> 6291 #endif 6292 6293 #undef $ac_func 6294 6295 /* Override any gcc2 internal prototype to avoid an error. */ 6296 #ifdef __cplusplus 6297 extern "C" 6298 { 6299 #endif 6300 /* We use char because int might match the return type of a gcc2 6301 builtin and then its argument prototype would still apply. */ 6302 char $ac_func (); 6303 /* The GNU C library defines this for functions which it implements 6304 to always fail with ENOSYS. Some functions are actually named 6305 something starting with __ and the normal name is an alias. */ 6306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6307 choke me 6308 #else 6309 char (*f) () = $ac_func; 6310 #endif 6311 #ifdef __cplusplus 6312 } 6313 #endif 6314 6315 int 6316 main () 6317 { 6318 return f != $ac_func; 6319 ; 6320 return 0; 6321 } 6322 _ACEOF 6323 rm -f conftest.$ac_objext conftest$ac_exeext 6324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6325 (eval $ac_link) 2>conftest.er1 6326 ac_status=$? 6327 grep -v '^ *+' conftest.er1 >conftest.err 6328 rm -f conftest.er1 6329 cat conftest.err >&5 6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6331 (exit $ac_status); } && 6332 { ac_try='test -z "$ac_c_werror_flag" 6333 || test ! -s conftest.err' 6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6335 (eval $ac_try) 2>&5 6336 ac_status=$? 6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6338 (exit $ac_status); }; } && 6339 { ac_try='test -s conftest$ac_exeext' 6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6341 (eval $ac_try) 2>&5 6342 ac_status=$? 6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6344 (exit $ac_status); }; }; then 6345 eval "$as_ac_var=yes" 6346 else 6347 echo "$as_me: failed program was:" >&5 6348 sed 's/^/| /' conftest.$ac_ext >&5 6349 6350 eval "$as_ac_var=no" 6351 fi 6352 rm -f conftest.err conftest.$ac_objext \ 6353 conftest$ac_exeext conftest.$ac_ext 6354 fi 6355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6357 if test `eval echo '${'$as_ac_var'}'` = yes; then 5905 6358 5906 6359 cat >>confdefs.h <<_ACEOF … … 5914 6367 fi 5915 6368 5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&55917 $as_echo_n "checking stack direction for C alloca... " >&6; } 5918 if test "${ac_cv_c_stack_direction+set}" = set; then :5919 $as_echo_n "(cached)" >&65920 else 5921 if test "$cross_compiling" = yes; then :6369 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 6370 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6371 if test "${ac_cv_c_stack_direction+set}" = set; then 6372 echo $ECHO_N "(cached) $ECHO_C" >&6 6373 else 6374 if test "$cross_compiling" = yes; then 5922 6375 ac_cv_c_stack_direction=0 5923 6376 else 5924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6377 cat >conftest.$ac_ext <<_ACEOF 6378 /* confdefs.h. */ 6379 _ACEOF 6380 cat confdefs.h >>conftest.$ac_ext 6381 cat >>conftest.$ac_ext <<_ACEOF 5925 6382 /* end confdefs.h. */ 5926 $ac_includes_default5927 6383 int 5928 6384 find_stack_direction () … … 5942 6398 main () 5943 6399 { 5944 return find_stack_direction () < 0;6400 exit (find_stack_direction () < 0); 5945 6401 } 5946 6402 _ACEOF 5947 if ac_fn_c_try_run "$LINENO"; then : 6403 rm -f conftest$ac_exeext 6404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6405 (eval $ac_link) 2>&5 6406 ac_status=$? 6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6410 (eval $ac_try) 2>&5 6411 ac_status=$? 6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6413 (exit $ac_status); }; }; then 5948 6414 ac_cv_c_stack_direction=1 5949 6415 else 5950 ac_cv_c_stack_direction=-1 5951 fi 5952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5953 conftest.$ac_objext conftest.beam conftest.$ac_ext 5954 fi 5955 5956 fi 5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 5958 $as_echo "$ac_cv_c_stack_direction" >&6; } 6416 echo "$as_me: program exited with status $ac_status" >&5 6417 echo "$as_me: failed program was:" >&5 6418 sed 's/^/| /' conftest.$ac_ext >&5 6419 6420 ( exit $ac_status ) 6421 ac_cv_c_stack_direction=-1 6422 fi 6423 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6424 fi 6425 fi 6426 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6427 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 6428 5959 6429 cat >>confdefs.h <<_ACEOF 5960 6430 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 5965 6435 5966 6436 if test $ac_cv_c_compiler_gnu = yes; then 5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&55968 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 5969 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :5970 $as_echo_n "(cached)" >&66437 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 6438 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 6439 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6440 echo $ECHO_N "(cached) $ECHO_C" >&6 5971 6441 else 5972 6442 ac_pattern="Autoconf.*'x'" 5973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6443 cat >conftest.$ac_ext <<_ACEOF 6444 /* confdefs.h. */ 6445 _ACEOF 6446 cat confdefs.h >>conftest.$ac_ext 6447 cat >>conftest.$ac_ext <<_ACEOF 5974 6448 /* end confdefs.h. */ 5975 6449 #include <sgtty.h> … … 5977 6451 _ACEOF 5978 6452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5979 $EGREP "$ac_pattern" >/dev/null 2>&1; then :6453 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5980 6454 ac_cv_prog_gcc_traditional=yes 5981 6455 else … … 5986 6460 5987 6461 if test $ac_cv_prog_gcc_traditional = no; then 5988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6462 cat >conftest.$ac_ext <<_ACEOF 6463 /* confdefs.h. */ 6464 _ACEOF 6465 cat confdefs.h >>conftest.$ac_ext 6466 cat >>conftest.$ac_ext <<_ACEOF 5989 6467 /* end confdefs.h. */ 5990 6468 #include <termio.h> … … 5992 6470 _ACEOF 5993 6471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5994 $EGREP "$ac_pattern" >/dev/null 2>&1; then :6472 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5995 6473 ac_cv_prog_gcc_traditional=yes 5996 6474 fi … … 5999 6477 fi 6000 6478 fi 6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&56002 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6479 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 6480 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 6003 6481 if test $ac_cv_prog_gcc_traditional = yes; then 6004 6482 CC="$CC -traditional" … … 6006 6484 fi 6007 6485 6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 6009 $as_echo_n "checking return type of signal handlers... " >&6; } 6010 if test "${ac_cv_type_signal+set}" = set; then : 6011 $as_echo_n "(cached) " >&6 6012 else 6013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6486 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6487 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 6488 if test "${ac_cv_type_signal+set}" = set; then 6489 echo $ECHO_N "(cached) $ECHO_C" >&6 6490 else 6491 cat >conftest.$ac_ext <<_ACEOF 6492 /* confdefs.h. */ 6493 _ACEOF 6494 cat confdefs.h >>conftest.$ac_ext 6495 cat >>conftest.$ac_ext <<_ACEOF 6014 6496 /* end confdefs.h. */ 6015 6497 #include <sys/types.h> 6016 6498 #include <signal.h> 6499 #ifdef signal 6500 # undef signal 6501 #endif 6502 #ifdef __cplusplus 6503 extern "C" void (*signal (int, void (*)(int)))(int); 6504 #else 6505 void (*signal ()) (); 6506 #endif 6017 6507 6018 6508 int 6019 6509 main () 6020 6510 { 6021 return *(signal (0, 0)) (0) == 1;6511 int i; 6022 6512 ; 6023 6513 return 0; 6024 6514 } 6025 6515 _ACEOF 6026 if ac_fn_c_try_compile "$LINENO"; then : 6027 ac_cv_type_signal=int 6028 else 6516 rm -f conftest.$ac_objext 6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6518 (eval $ac_compile) 2>conftest.er1 6519 ac_status=$? 6520 grep -v '^ *+' conftest.er1 >conftest.err 6521 rm -f conftest.er1 6522 cat conftest.err >&5 6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6524 (exit $ac_status); } && 6525 { ac_try='test -z "$ac_c_werror_flag" 6526 || test ! -s conftest.err' 6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6528 (eval $ac_try) 2>&5 6529 ac_status=$? 6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6531 (exit $ac_status); }; } && 6532 { ac_try='test -s conftest.$ac_objext' 6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6534 (eval $ac_try) 2>&5 6535 ac_status=$? 6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6537 (exit $ac_status); }; }; then 6029 6538 ac_cv_type_signal=void 6030 fi 6031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6032 fi 6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 6034 $as_echo "$ac_cv_type_signal" >&6; } 6539 else 6540 echo "$as_me: failed program was:" >&5 6541 sed 's/^/| /' conftest.$ac_ext >&5 6542 6543 ac_cv_type_signal=int 6544 fi 6545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6546 fi 6547 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6548 echo "${ECHO_T}$ac_cv_type_signal" >&6 6035 6549 6036 6550 cat >>confdefs.h <<_ACEOF … … 6039 6553 6040 6554 6555 6041 6556 for ac_func in vprintf 6042 do : 6043 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 6044 if test "x$ac_cv_func_vprintf" = x""yes; then : 6557 do 6558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6559 echo "$as_me:$LINENO: checking for $ac_func" >&5 6560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6561 if eval "test \"\${$as_ac_var+set}\" = set"; then 6562 echo $ECHO_N "(cached) $ECHO_C" >&6 6563 else 6564 cat >conftest.$ac_ext <<_ACEOF 6565 /* confdefs.h. */ 6566 _ACEOF 6567 cat confdefs.h >>conftest.$ac_ext 6568 cat >>conftest.$ac_ext <<_ACEOF 6569 /* end confdefs.h. */ 6570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6571 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6572 #define $ac_func innocuous_$ac_func 6573 6574 /* System header to define __stub macros and hopefully few prototypes, 6575 which can conflict with char $ac_func (); below. 6576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6577 <limits.h> exists even on freestanding compilers. */ 6578 6579 #ifdef __STDC__ 6580 # include <limits.h> 6581 #else 6582 # include <assert.h> 6583 #endif 6584 6585 #undef $ac_func 6586 6587 /* Override any gcc2 internal prototype to avoid an error. */ 6588 #ifdef __cplusplus 6589 extern "C" 6590 { 6591 #endif 6592 /* We use char because int might match the return type of a gcc2 6593 builtin and then its argument prototype would still apply. */ 6594 char $ac_func (); 6595 /* The GNU C library defines this for functions which it implements 6596 to always fail with ENOSYS. Some functions are actually named 6597 something starting with __ and the normal name is an alias. */ 6598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6599 choke me 6600 #else 6601 char (*f) () = $ac_func; 6602 #endif 6603 #ifdef __cplusplus 6604 } 6605 #endif 6606 6607 int 6608 main () 6609 { 6610 return f != $ac_func; 6611 ; 6612 return 0; 6613 } 6614 _ACEOF 6615 rm -f conftest.$ac_objext conftest$ac_exeext 6616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6617 (eval $ac_link) 2>conftest.er1 6618 ac_status=$? 6619 grep -v '^ *+' conftest.er1 >conftest.err 6620 rm -f conftest.er1 6621 cat conftest.err >&5 6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6623 (exit $ac_status); } && 6624 { ac_try='test -z "$ac_c_werror_flag" 6625 || test ! -s conftest.err' 6626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6627 (eval $ac_try) 2>&5 6628 ac_status=$? 6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6630 (exit $ac_status); }; } && 6631 { ac_try='test -s conftest$ac_exeext' 6632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6633 (eval $ac_try) 2>&5 6634 ac_status=$? 6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6636 (exit $ac_status); }; }; then 6637 eval "$as_ac_var=yes" 6638 else 6639 echo "$as_me: failed program was:" >&5 6640 sed 's/^/| /' conftest.$ac_ext >&5 6641 6642 eval "$as_ac_var=no" 6643 fi 6644 rm -f conftest.err conftest.$ac_objext \ 6645 conftest$ac_exeext conftest.$ac_ext 6646 fi 6647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6649 if test `eval echo '${'$as_ac_var'}'` = yes; then 6045 6650 cat >>confdefs.h <<_ACEOF 6046 #define HAVE_VPRINTF 1 6047 _ACEOF 6048 6049 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 6050 if test "x$ac_cv_func__doprnt" = x""yes; then : 6051 6052 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 6651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6652 _ACEOF 6653 6654 echo "$as_me:$LINENO: checking for _doprnt" >&5 6655 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 6656 if test "${ac_cv_func__doprnt+set}" = set; then 6657 echo $ECHO_N "(cached) $ECHO_C" >&6 6658 else 6659 cat >conftest.$ac_ext <<_ACEOF 6660 /* confdefs.h. */ 6661 _ACEOF 6662 cat confdefs.h >>conftest.$ac_ext 6663 cat >>conftest.$ac_ext <<_ACEOF 6664 /* end confdefs.h. */ 6665 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 6666 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6667 #define _doprnt innocuous__doprnt 6668 6669 /* System header to define __stub macros and hopefully few prototypes, 6670 which can conflict with char _doprnt (); below. 6671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6672 <limits.h> exists even on freestanding compilers. */ 6673 6674 #ifdef __STDC__ 6675 # include <limits.h> 6676 #else 6677 # include <assert.h> 6678 #endif 6679 6680 #undef _doprnt 6681 6682 /* Override any gcc2 internal prototype to avoid an error. */ 6683 #ifdef __cplusplus 6684 extern "C" 6685 { 6686 #endif 6687 /* We use char because int might match the return type of a gcc2 6688 builtin and then its argument prototype would still apply. */ 6689 char _doprnt (); 6690 /* The GNU C library defines this for functions which it implements 6691 to always fail with ENOSYS. Some functions are actually named 6692 something starting with __ and the normal name is an alias. */ 6693 #if defined (__stub__doprnt) || defined (__stub____doprnt) 6694 choke me 6695 #else 6696 char (*f) () = _doprnt; 6697 #endif 6698 #ifdef __cplusplus 6699 } 6700 #endif 6701 6702 int 6703 main () 6704 { 6705 return f != _doprnt; 6706 ; 6707 return 0; 6708 } 6709 _ACEOF 6710 rm -f conftest.$ac_objext conftest$ac_exeext 6711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6712 (eval $ac_link) 2>conftest.er1 6713 ac_status=$? 6714 grep -v '^ *+' conftest.er1 >conftest.err 6715 rm -f conftest.er1 6716 cat conftest.err >&5 6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6718 (exit $ac_status); } && 6719 { ac_try='test -z "$ac_c_werror_flag" 6720 || test ! -s conftest.err' 6721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6722 (eval $ac_try) 2>&5 6723 ac_status=$? 6724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6725 (exit $ac_status); }; } && 6726 { ac_try='test -s conftest$ac_exeext' 6727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6728 (eval $ac_try) 2>&5 6729 ac_status=$? 6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6731 (exit $ac_status); }; }; then 6732 ac_cv_func__doprnt=yes 6733 else 6734 echo "$as_me: failed program was:" >&5 6735 sed 's/^/| /' conftest.$ac_ext >&5 6736 6737 ac_cv_func__doprnt=no 6738 fi 6739 rm -f conftest.err conftest.$ac_objext \ 6740 conftest$ac_exeext conftest.$ac_ext 6741 fi 6742 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 6743 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6744 if test $ac_cv_func__doprnt = yes; then 6745 6746 cat >>confdefs.h <<\_ACEOF 6747 #define HAVE_DOPRNT 1 6748 _ACEOF 6053 6749 6054 6750 fi … … 6058 6754 6059 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6060 6766 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6061 do : 6062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6064 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6767 do 6768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6769 echo "$as_me:$LINENO: checking for $ac_func" >&5 6770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6771 if eval "test \"\${$as_ac_var+set}\" = set"; then 6772 echo $ECHO_N "(cached) $ECHO_C" >&6 6773 else 6774 cat >conftest.$ac_ext <<_ACEOF 6775 /* confdefs.h. */ 6776 _ACEOF 6777 cat confdefs.h >>conftest.$ac_ext 6778 cat >>conftest.$ac_ext <<_ACEOF 6779 /* end confdefs.h. */ 6780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6781 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6782 #define $ac_func innocuous_$ac_func 6783 6784 /* System header to define __stub macros and hopefully few prototypes, 6785 which can conflict with char $ac_func (); below. 6786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6787 <limits.h> exists even on freestanding compilers. */ 6788 6789 #ifdef __STDC__ 6790 # include <limits.h> 6791 #else 6792 # include <assert.h> 6793 #endif 6794 6795 #undef $ac_func 6796 6797 /* Override any gcc2 internal prototype to avoid an error. */ 6798 #ifdef __cplusplus 6799 extern "C" 6800 { 6801 #endif 6802 /* We use char because int might match the return type of a gcc2 6803 builtin and then its argument prototype would still apply. */ 6804 char $ac_func (); 6805 /* The GNU C library defines this for functions which it implements 6806 to always fail with ENOSYS. Some functions are actually named 6807 something starting with __ and the normal name is an alias. */ 6808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6809 choke me 6810 #else 6811 char (*f) () = $ac_func; 6812 #endif 6813 #ifdef __cplusplus 6814 } 6815 #endif 6816 6817 int 6818 main () 6819 { 6820 return f != $ac_func; 6821 ; 6822 return 0; 6823 } 6824 _ACEOF 6825 rm -f conftest.$ac_objext conftest$ac_exeext 6826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6827 (eval $ac_link) 2>conftest.er1 6828 ac_status=$? 6829 grep -v '^ *+' conftest.er1 >conftest.err 6830 rm -f conftest.er1 6831 cat conftest.err >&5 6832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6833 (exit $ac_status); } && 6834 { ac_try='test -z "$ac_c_werror_flag" 6835 || test ! -s conftest.err' 6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6837 (eval $ac_try) 2>&5 6838 ac_status=$? 6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6840 (exit $ac_status); }; } && 6841 { ac_try='test -s conftest$ac_exeext' 6842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6843 (eval $ac_try) 2>&5 6844 ac_status=$? 6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6846 (exit $ac_status); }; }; then 6847 eval "$as_ac_var=yes" 6848 else 6849 echo "$as_me: failed program was:" >&5 6850 sed 's/^/| /' conftest.$ac_ext >&5 6851 6852 eval "$as_ac_var=no" 6853 fi 6854 rm -f conftest.err conftest.$ac_objext \ 6855 conftest$ac_exeext conftest.$ac_ext 6856 fi 6857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6859 if test `eval echo '${'$as_ac_var'}'` = yes; then 6065 6860 cat >>confdefs.h <<_ACEOF 6066 #define ` $as_echo "HAVE_$ac_func" | $as_tr_cpp` 16861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6067 6862 _ACEOF 6068 6863 … … 6070 6865 done 6071 6866 6072 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" 6073 if test "x$ac_cv_func_ftruncate" = x""yes; then : 6074 $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h 6075 6076 else 6077 case " $LIBOBJS " in 6078 *" ftruncate.$ac_objext "* ) ;; 6079 *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext" 6080 ;; 6867 6868 6869 6870 for ac_func in ftruncate strstr strcasecmp 6871 do 6872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6873 echo "$as_me:$LINENO: checking for $ac_func" >&5 6874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6875 if eval "test \"\${$as_ac_var+set}\" = set"; then 6876 echo $ECHO_N "(cached) $ECHO_C" >&6 6877 else 6878 cat >conftest.$ac_ext <<_ACEOF 6879 /* confdefs.h. */ 6880 _ACEOF 6881 cat confdefs.h >>conftest.$ac_ext 6882 cat >>conftest.$ac_ext <<_ACEOF 6883 /* end confdefs.h. */ 6884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6885 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6886 #define $ac_func innocuous_$ac_func 6887 6888 /* System header to define __stub macros and hopefully few prototypes, 6889 which can conflict with char $ac_func (); below. 6890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6891 <limits.h> exists even on freestanding compilers. */ 6892 6893 #ifdef __STDC__ 6894 # include <limits.h> 6895 #else 6896 # include <assert.h> 6897 #endif 6898 6899 #undef $ac_func 6900 6901 /* Override any gcc2 internal prototype to avoid an error. */ 6902 #ifdef __cplusplus 6903 extern "C" 6904 { 6905 #endif 6906 /* We use char because int might match the return type of a gcc2 6907 builtin and then its argument prototype would still apply. */ 6908 char $ac_func (); 6909 /* The GNU C library defines this for functions which it implements 6910 to always fail with ENOSYS. Some functions are actually named 6911 something starting with __ and the normal name is an alias. */ 6912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6913 choke me 6914 #else 6915 char (*f) () = $ac_func; 6916 #endif 6917 #ifdef __cplusplus 6918 } 6919 #endif 6920 6921 int 6922 main () 6923 { 6924 return f != $ac_func; 6925 ; 6926 return 0; 6927 } 6928 _ACEOF 6929 rm -f conftest.$ac_objext conftest$ac_exeext 6930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6931 (eval $ac_link) 2>conftest.er1 6932 ac_status=$? 6933 grep -v '^ *+' conftest.er1 >conftest.err 6934 rm -f conftest.er1 6935 cat conftest.err >&5 6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6937 (exit $ac_status); } && 6938 { ac_try='test -z "$ac_c_werror_flag" 6939 || test ! -s conftest.err' 6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6941 (eval $ac_try) 2>&5 6942 ac_status=$? 6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6944 (exit $ac_status); }; } && 6945 { ac_try='test -s conftest$ac_exeext' 6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6947 (eval $ac_try) 2>&5 6948 ac_status=$? 6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6950 (exit $ac_status); }; }; then 6951 eval "$as_ac_var=yes" 6952 else 6953 echo "$as_me: failed program was:" >&5 6954 sed 's/^/| /' conftest.$ac_ext >&5 6955 6956 eval "$as_ac_var=no" 6957 fi 6958 rm -f conftest.err conftest.$ac_objext \ 6959 conftest$ac_exeext conftest.$ac_ext 6960 fi 6961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6963 if test `eval echo '${'$as_ac_var'}'` = yes; then 6964 cat >>confdefs.h <<_ACEOF 6965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6966 _ACEOF 6967 6968 else 6969 case $LIBOBJS in 6970 "$ac_func.$ac_objext" | \ 6971 *" $ac_func.$ac_objext" | \ 6972 "$ac_func.$ac_objext "* | \ 6973 *" $ac_func.$ac_objext "* ) ;; 6974 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 6081 6975 esac 6082 6976 6083 6977 fi 6084 6085 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 6086 if test "x$ac_cv_func_strstr" = x""yes; then : 6087 $as_echo "#define HAVE_STRSTR 1" >>confdefs.h 6088 6089 else 6090 case " $LIBOBJS " in 6091 *" strstr.$ac_objext "* ) ;; 6092 *) LIBOBJS="$LIBOBJS strstr.$ac_objext" 6093 ;; 6094 esac 6095 6096 fi 6097 6098 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 6099 if test "x$ac_cv_func_strcasecmp" = x""yes; then : 6100 $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h 6101 6102 else 6103 case " $LIBOBJS " in 6104 *" strcasecmp.$ac_objext "* ) ;; 6105 *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" 6106 ;; 6107 esac 6108 6109 fi 6110 6111 6112 6113 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain" 6114 if test "x$ac_cv_func_textdomain" = x""yes; then : 6115 $as_echo "#define ENABLE_NLS 1" >>confdefs.h 6978 done 6979 6980 6981 6982 echo "$as_me:$LINENO: checking for textdomain" >&5 6983 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 6984 if test "${ac_cv_func_textdomain+set}" = set; then 6985 echo $ECHO_N "(cached) $ECHO_C" >&6 6986 else 6987 cat >conftest.$ac_ext <<_ACEOF 6988 /* confdefs.h. */ 6989 _ACEOF 6990 cat confdefs.h >>conftest.$ac_ext 6991 cat >>conftest.$ac_ext <<_ACEOF 6992 /* end confdefs.h. */ 6993 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain. 6994 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6995 #define textdomain innocuous_textdomain 6996 6997 /* System header to define __stub macros and hopefully few prototypes, 6998 which can conflict with char textdomain (); below. 6999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7000 <limits.h> exists even on freestanding compilers. */ 7001 7002 #ifdef __STDC__ 7003 # include <limits.h> 7004 #else 7005 # include <assert.h> 7006 #endif 7007 7008 #undef textdomain 7009 7010 /* Override any gcc2 internal prototype to avoid an error. */ 7011 #ifdef __cplusplus 7012 extern "C" 7013 { 7014 #endif 7015 /* We use char because int might match the return type of a gcc2 7016 builtin and then its argument prototype would still apply. */ 7017 char textdomain (); 7018 /* The GNU C library defines this for functions which it implements 7019 to always fail with ENOSYS. Some functions are actually named 7020 something starting with __ and the normal name is an alias. */ 7021 #if defined (__stub_textdomain) || defined (__stub___textdomain) 7022 choke me 7023 #else 7024 char (*f) () = textdomain; 7025 #endif 7026 #ifdef __cplusplus 7027 } 7028 #endif 7029 7030 int 7031 main () 7032 { 7033 return f != textdomain; 7034 ; 7035 return 0; 7036 } 7037 _ACEOF 7038 rm -f conftest.$ac_objext conftest$ac_exeext 7039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7040 (eval $ac_link) 2>conftest.er1 7041 ac_status=$? 7042 grep -v '^ *+' conftest.er1 >conftest.err 7043 rm -f conftest.er1 7044 cat conftest.err >&5 7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7046 (exit $ac_status); } && 7047 { ac_try='test -z "$ac_c_werror_flag" 7048 || test ! -s conftest.err' 7049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7050 (eval $ac_try) 2>&5 7051 ac_status=$? 7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7053 (exit $ac_status); }; } && 7054 { ac_try='test -s conftest$ac_exeext' 7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7056 (eval $ac_try) 2>&5 7057 ac_status=$? 7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7059 (exit $ac_status); }; }; then 7060 ac_cv_func_textdomain=yes 7061 else 7062 echo "$as_me: failed program was:" >&5 7063 sed 's/^/| /' conftest.$ac_ext >&5 7064 7065 ac_cv_func_textdomain=no 7066 fi 7067 rm -f conftest.err conftest.$ac_objext \ 7068 conftest$ac_exeext conftest.$ac_ext 7069 fi 7070 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 7071 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 7072 if test $ac_cv_func_textdomain = yes; then 7073 cat >>confdefs.h <<\_ACEOF 7074 #define ENABLE_NLS 1 7075 _ACEOF 6116 7076 6117 7077 fi … … 6120 7080 # *** Custom checking (based on GNU tar configure.in) *** 6121 7081 # --------------------------------------------------------------------------- 6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&56123 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7082 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 7083 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 6124 7084 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6126 $as_echo "yes" >&6; } 6127 case " $LIBOBJS " in 7085 echo "$as_me:$LINENO: result: yes" >&5 7086 echo "${ECHO_T}yes" >&6 7087 case $LIBOBJS in 7088 "gmalloc.$ac_objext" | \ 7089 *" gmalloc.$ac_objext" | \ 7090 "gmalloc.$ac_objext "* | \ 6128 7091 *" gmalloc.$ac_objext "* ) ;; 6129 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 6130 ;; 7092 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 6131 7093 esac 6132 7094 6133 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 6134 6135 else 6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6137 $as_echo "no" >&6; } 6138 for ac_func in valloc 6139 do : 6140 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 6141 if test "x$ac_cv_func_valloc" = x""yes; then : 7095 cat >>confdefs.h <<\_ACEOF 7096 #define HAVE_VALLOC 1 7097 _ACEOF 7098 7099 else 7100 echo "$as_me:$LINENO: result: no" >&5 7101 echo "${ECHO_T}no" >&6 7102 7103 for ac_func in valloc 7104 do 7105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7106 echo "$as_me:$LINENO: checking for $ac_func" >&5 7107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7108 if eval "test \"\${$as_ac_var+set}\" = set"; then 7109 echo $ECHO_N "(cached) $ECHO_C" >&6 7110 else 7111 cat >conftest.$ac_ext <<_ACEOF 7112 /* confdefs.h. */ 7113 _ACEOF 7114 cat confdefs.h >>conftest.$ac_ext 7115 cat >>conftest.$ac_ext <<_ACEOF 7116 /* end confdefs.h. */ 7117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7118 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7119 #define $ac_func innocuous_$ac_func 7120 7121 /* System header to define __stub macros and hopefully few prototypes, 7122 which can conflict with char $ac_func (); below. 7123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7124 <limits.h> exists even on freestanding compilers. */ 7125 7126 #ifdef __STDC__ 7127 # include <limits.h> 7128 #else 7129 # include <assert.h> 7130 #endif 7131 7132 #undef $ac_func 7133 7134 /* Override any gcc2 internal prototype to avoid an error. */ 7135 #ifdef __cplusplus 7136 extern "C" 7137 { 7138 #endif 7139 /* We use char because int might match the return type of a gcc2 7140 builtin and then its argument prototype would still apply. */ 7141 char $ac_func (); 7142 /* The GNU C library defines this for functions which it implements 7143 to always fail with ENOSYS. Some functions are actually named 7144 something starting with __ and the normal name is an alias. */ 7145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 7146 choke me 7147 #else 7148 char (*f) () = $ac_func; 7149 #endif 7150 #ifdef __cplusplus 7151 } 7152 #endif 7153 7154 int 7155 main () 7156 { 7157 return f != $ac_func; 7158 ; 7159 return 0; 7160 } 7161 _ACEOF 7162 rm -f conftest.$ac_objext conftest$ac_exeext 7163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7164 (eval $ac_link) 2>conftest.er1 7165 ac_status=$? 7166 grep -v '^ *+' conftest.er1 >conftest.err 7167 rm -f conftest.er1 7168 cat conftest.err >&5 7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7170 (exit $ac_status); } && 7171 { ac_try='test -z "$ac_c_werror_flag" 7172 || test ! -s conftest.err' 7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7174 (eval $ac_try) 2>&5 7175 ac_status=$? 7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7177 (exit $ac_status); }; } && 7178 { ac_try='test -s conftest$ac_exeext' 7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7180 (eval $ac_try) 2>&5 7181 ac_status=$? 7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7183 (exit $ac_status); }; }; then 7184 eval "$as_ac_var=yes" 7185 else 7186 echo "$as_me: failed program was:" >&5 7187 sed 's/^/| /' conftest.$ac_ext >&5 7188 7189 eval "$as_ac_var=no" 7190 fi 7191 rm -f conftest.err conftest.$ac_objext \ 7192 conftest$ac_exeext conftest.$ac_ext 7193 fi 7194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7196 if test `eval echo '${'$as_ac_var'}'` = yes; then 6142 7197 cat >>confdefs.h <<_ACEOF 6143 #define HAVE_VALLOC17198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6144 7199 _ACEOF 6145 7200 … … 6150 7205 6151 7206 # we cannot generate static libraries under Darwin 6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&56153 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 7207 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 7208 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 6154 7209 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&56156 $as_echo "yes" >&6; } 7210 echo "$as_me:$LINENO: result: yes" >&5 7211 echo "${ECHO_T}yes" >&6 6157 7212 STATIC="" 6158 7213 else 6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56160 $as_echo "no" >&6; } 7214 echo "$as_me:$LINENO: result: no" >&5 7215 echo "${ECHO_T}no" >&6 6161 7216 STATIC="-static " 6162 7217 fi 6163 7218 6164 7219 6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 6166 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 6167 6168 # Check whether --with-dmalloc was given. 6169 if test "${with_dmalloc+set}" = set; then : 6170 withval=$with_dmalloc; if test "$withval" = yes; then 6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6172 $as_echo "yes" >&6; } 6173 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h 7220 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 7221 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 7222 7223 # Check whether --with-dmalloc or --without-dmalloc was given. 7224 if test "${with_dmalloc+set}" = set; then 7225 withval="$with_dmalloc" 7226 if test "$withval" = yes; then 7227 echo "$as_me:$LINENO: result: yes" >&5 7228 echo "${ECHO_T}yes" >&6 7229 cat >>confdefs.h <<\_ACEOF 7230 #define WITH_DMALLOC 1 7231 _ACEOF 6174 7232 6175 7233 LIBS="$LIBS -ldmalloc" 6176 7234 LDFLAGS="$LDFLAGS -g" 6177 7235 else 6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56179 $as_echo "no" >&6; } 6180 fi 6181 else 6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56183 $as_echo "no" >&6; } 6184 fi 6185 6186 6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5 6188 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 6189 6190 # Check whether --with-regex was given. 6191 if test "${with_regex+set}" = set; then : 6192 withval=$with_regex;if test "$withval" = yes; then7236 echo "$as_me:$LINENO: result: no" >&5 7237 echo "${ECHO_T}no" >&6 7238 fi 7239 else 7240 echo "$as_me:$LINENO: result: no" >&5 7241 echo "${ECHO_T}no" >&6 7242 fi; 7243 7244 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7245 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 7246 7247 # Check whether --with-regex or --without-regex was given. 7248 if test "${with_regex+set}" = set; then 7249 withval="$with_regex" 7250 if test "$withval" = yes; then 6193 7251 ac_with_regex=1 6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5 6195 $as_echo "regex" >&6; } 6196 $as_echo "#define WITH_REGEX 1" >>confdefs.h 6197 6198 case " $LIBOBJS " in 7252 echo "$as_me:$LINENO: result: regex" >&5 7253 echo "${ECHO_T}regex" >&6 7254 cat >>confdefs.h <<\_ACEOF 7255 #define WITH_REGEX 1 7256 _ACEOF 7257 7258 case $LIBOBJS in 7259 "regex.$ac_objext" | \ 7260 *" regex.$ac_objext" | \ 7261 "regex.$ac_objext "* | \ 6199 7262 *" regex.$ac_objext "* ) ;; 6200 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 6201 ;; 7263 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6202 7264 esac 6203 7265 6204 7266 fi 6205 fi 6206 7267 fi; 6207 7268 if test -z "$ac_with_regex"; then 6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5 6209 $as_echo "rx" >&6; } 6210 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 6211 if test "x$ac_cv_func_re_rx_search" = x""yes; then : 6212 6213 else 6214 case " $LIBOBJS " in 7269 echo "$as_me:$LINENO: result: rx" >&5 7270 echo "${ECHO_T}rx" >&6 7271 echo "$as_me:$LINENO: checking for re_rx_search" >&5 7272 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 7273 if test "${ac_cv_func_re_rx_search+set}" = set; then 7274 echo $ECHO_N "(cached) $ECHO_C" >&6 7275 else 7276 cat >conftest.$ac_ext <<_ACEOF 7277 /* confdefs.h. */ 7278 _ACEOF 7279 cat confdefs.h >>conftest.$ac_ext 7280 cat >>conftest.$ac_ext <<_ACEOF 7281 /* end confdefs.h. */ 7282 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 7283 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7284 #define re_rx_search innocuous_re_rx_search 7285 7286 /* System header to define __stub macros and hopefully few prototypes, 7287 which can conflict with char re_rx_search (); below. 7288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7289 <limits.h> exists even on freestanding compilers. */ 7290 7291 #ifdef __STDC__ 7292 # include <limits.h> 7293 #else 7294 # include <assert.h> 7295 #endif 7296 7297 #undef re_rx_search 7298 7299 /* Override any gcc2 internal prototype to avoid an error. */ 7300 #ifdef __cplusplus 7301 extern "C" 7302 { 7303 #endif 7304 /* We use char because int might match the return type of a gcc2 7305 builtin and then its argument prototype would still apply. */ 7306 char re_rx_search (); 7307 /* The GNU C library defines this for functions which it implements 7308 to always fail with ENOSYS. Some functions are actually named 7309 something starting with __ and the normal name is an alias. */ 7310 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search) 7311 choke me 7312 #else 7313 char (*f) () = re_rx_search; 7314 #endif 7315 #ifdef __cplusplus 7316 } 7317 #endif 7318 7319 int 7320 main () 7321 { 7322 return f != re_rx_search; 7323 ; 7324 return 0; 7325 } 7326 _ACEOF 7327 rm -f conftest.$ac_objext conftest$ac_exeext 7328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7329 (eval $ac_link) 2>conftest.er1 7330 ac_status=$? 7331 grep -v '^ *+' conftest.er1 >conftest.err 7332 rm -f conftest.er1 7333 cat conftest.err >&5 7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7335 (exit $ac_status); } && 7336 { ac_try='test -z "$ac_c_werror_flag" 7337 || test ! -s conftest.err' 7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7339 (eval $ac_try) 2>&5 7340 ac_status=$? 7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7342 (exit $ac_status); }; } && 7343 { ac_try='test -s conftest$ac_exeext' 7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7345 (eval $ac_try) 2>&5 7346 ac_status=$? 7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7348 (exit $ac_status); }; }; then 7349 ac_cv_func_re_rx_search=yes 7350 else 7351 echo "$as_me: failed program was:" >&5 7352 sed 's/^/| /' conftest.$ac_ext >&5 7353 7354 ac_cv_func_re_rx_search=no 7355 fi 7356 rm -f conftest.err conftest.$ac_objext \ 7357 conftest$ac_exeext conftest.$ac_ext 7358 fi 7359 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7360 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7361 if test $ac_cv_func_re_rx_search = yes; then 7362 : 7363 else 7364 case $LIBOBJS in 7365 "rx.$ac_objext" | \ 7366 *" rx.$ac_objext" | \ 7367 "rx.$ac_objext "* | \ 6215 7368 *" rx.$ac_objext "* ) ;; 6216 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 6217 ;; 7369 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 6218 7370 esac 6219 7371 … … 6225 7377 # --------------------------------------------------------------------------- 6226 7378 if test "$ac_cv_func_alloca" = 'no'; then 6227 case " $LIBOBJS " in 7379 case $LIBOBJS in 7380 "xmalloc.$ac_objext" | \ 7381 *" xmalloc.$ac_objext" | \ 7382 "xmalloc.$ac_objext "* | \ 6228 7383 *" xmalloc.$ac_objext "* ) ;; 6229 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 6230 ;; 7384 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 6231 7385 esac 6232 7386 6233 case " $LIBOBJS " in 7387 case $LIBOBJS in 7388 "error.$ac_objext" | \ 7389 *" error.$ac_objext" | \ 7390 "error.$ac_objext "* | \ 6234 7391 *" error.$ac_objext "* ) ;; 6235 *) LIBOBJS="$LIBOBJS error.$ac_objext" 6236 ;; 7392 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 6237 7393 esac 6238 7394 … … 6242 7398 # --------------------------------------------------------------------------- 6243 7399 6244 ac_ext=c pp7400 ac_ext=cc 6245 7401 ac_cpp='$CXXCPP $CPPFLAGS' 6246 7402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6249 7405 6250 7406 6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&56252 $as_echo_n "checking that Perl 5 is available... " >&6; } 7407 echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 7408 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 6253 7409 success="no" 6254 7410 pl_path="$PATH" … … 6267 7423 try=`expr $try \> 5.000` 6268 7424 if test $try = "1"; then 6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&56270 $as_echo "\"yes\"" >&6; } 7425 echo "$as_me:$LINENO: result: \"yes\"" >&5 7426 echo "${ECHO_T}\"yes\"" >&6 6271 7427 else 6272 7428 success="no" … … 6275 7431 6276 7432 if test $success = "no"; then 6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 6278 $as_echo "\"no\"" >&6; } 6279 as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5 7433 echo "$as_me:$LINENO: result: \"no\"" >&5 7434 echo "${ECHO_T}\"no\"" >&6 7435 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 7436 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} 7437 { (exit 1); exit 1; }; } 6280 7438 fi 6281 7439 6282 7440 success=no 6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5 6284 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 6285 6286 6287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7441 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 7442 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 7443 7444 7445 cat >conftest.$ac_ext <<_ACEOF 7446 /* confdefs.h. */ 7447 _ACEOF 7448 cat confdefs.h >>conftest.$ac_ext 7449 cat >>conftest.$ac_ext <<_ACEOF 6288 7450 /* end confdefs.h. */ 6289 7451 #include <vector> … … 6297 7459 } 6298 7460 _ACEOF 6299 if ac_fn_cxx_try_compile "$LINENO"; then : 7461 rm -f conftest.$ac_objext 7462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7463 (eval $ac_compile) 2>conftest.er1 7464 ac_status=$? 7465 grep -v '^ *+' conftest.er1 >conftest.err 7466 rm -f conftest.er1 7467 cat conftest.err >&5 7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7469 (exit $ac_status); } && 7470 { ac_try='test -z "$ac_cxx_werror_flag" 7471 || test ! -s conftest.err' 7472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7473 (eval $ac_try) 2>&5 7474 ac_status=$? 7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7476 (exit $ac_status); }; } && 7477 { ac_try='test -s conftest.$ac_objext' 7478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7479 (eval $ac_try) 2>&5 7480 ac_status=$? 7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7482 (exit $ac_status); }; }; then 6300 7483 success=yes 6301 fi 6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7484 else 7485 echo "$as_me: failed program was:" >&5 7486 sed 's/^/| /' conftest.$ac_ext >&5 7487 7488 fi 7489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6303 7490 6304 7491 if test $success = "no"; then 6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7492 cat >conftest.$ac_ext <<_ACEOF 7493 /* confdefs.h. */ 7494 _ACEOF 7495 cat confdefs.h >>conftest.$ac_ext 7496 cat >>conftest.$ac_ext <<_ACEOF 6306 7497 /* end confdefs.h. */ 6307 7498 #include <vector.h> … … 6315 7506 } 6316 7507 _ACEOF 6317 if ac_fn_cxx_try_compile "$LINENO"; then : 7508 rm -f conftest.$ac_objext 7509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7510 (eval $ac_compile) 2>conftest.er1 7511 ac_status=$? 7512 grep -v '^ *+' conftest.er1 >conftest.err 7513 rm -f conftest.er1 7514 cat conftest.err >&5 7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7516 (exit $ac_status); } && 7517 { ac_try='test -z "$ac_cxx_werror_flag" 7518 || test ! -s conftest.err' 7519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7520 (eval $ac_try) 2>&5 7521 ac_status=$? 7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7523 (exit $ac_status); }; } && 7524 { ac_try='test -s conftest.$ac_objext' 7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7526 (eval $ac_try) 2>&5 7527 ac_status=$? 7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7529 (exit $ac_status); }; }; then 6318 7530 success="yes" 6319 fi 6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7531 else 7532 echo "$as_me: failed program was:" >&5 7533 sed 's/^/| /' conftest.$ac_ext >&5 7534 7535 fi 7536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6321 7537 fi 6322 7538 6323 7539 if test $success = "no"; then 6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7540 cat >conftest.$ac_ext <<_ACEOF 7541 /* confdefs.h. */ 7542 _ACEOF 7543 cat confdefs.h >>conftest.$ac_ext 7544 cat >>conftest.$ac_ext <<_ACEOF 6325 7545 /* end confdefs.h. */ 6326 7546 #include <ospace\\std\\vector> … … 6334 7554 } 6335 7555 _ACEOF 6336 if ac_fn_cxx_try_compile "$LINENO"; then : 7556 rm -f conftest.$ac_objext 7557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7558 (eval $ac_compile) 2>conftest.er1 7559 ac_status=$? 7560 grep -v '^ *+' conftest.er1 >conftest.err 7561 rm -f conftest.er1 7562 cat conftest.err >&5 7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7564 (exit $ac_status); } && 7565 { ac_try='test -z "$ac_cxx_werror_flag" 7566 || test ! -s conftest.err' 7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7568 (eval $ac_try) 2>&5 7569 ac_status=$? 7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7571 (exit $ac_status); }; } && 7572 { ac_try='test -s conftest.$ac_objext' 7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7574 (eval $ac_try) 2>&5 7575 ac_status=$? 7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7577 (exit $ac_status); }; }; then 6337 7578 success="yes" 6338 fi 6339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7579 else 7580 echo "$as_me: failed program was:" >&5 7581 sed 's/^/| /' conftest.$ac_ext >&5 7582 7583 fi 7584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6340 7585 fi 6341 7586 6342 7587 if test $success = yes; then 6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 6344 $as_echo "\"no\"" >&6; } 6345 else 6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 6347 $as_echo "\"yes\"" >&6; } 6348 as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5 7588 echo "$as_me:$LINENO: result: \"no\"" >&5 7589 echo "${ECHO_T}\"no\"" >&6 7590 else 7591 echo "$as_me:$LINENO: result: \"yes\"" >&5 7592 echo "${ECHO_T}\"yes\"" >&6 7593 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 7594 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7595 { (exit 1); exit 1; }; } 6349 7596 fi 6350 7597 … … 6358 7605 6359 7606 # check for endianness 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 6361 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 6362 if test "${ac_cv_c_bigendian+set}" = set; then : 6363 $as_echo_n "(cached) " >&6 6364 else 6365 ac_cv_c_bigendian=unknown 6366 # See if we're dealing with a universal compiler. 6367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6368 /* end confdefs.h. */ 6369 #ifndef __APPLE_CC__ 6370 not a universal capable compiler 6371 #endif 6372 typedef int dummy; 6373 6374 _ACEOF 6375 if ac_fn_cxx_try_compile "$LINENO"; then : 6376 6377 # Check for potential -arch flags. It is not universal unless 6378 # there are at least two -arch flags with different values. 6379 ac_arch= 6380 ac_prev= 6381 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 6382 if test -n "$ac_prev"; then 6383 case $ac_word in 6384 i?86 | x86_64 | ppc | ppc64) 6385 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 6386 ac_arch=$ac_word 6387 else 6388 ac_cv_c_bigendian=universal 6389 break 6390 fi 6391 ;; 6392 esac 6393 ac_prev= 6394 elif test "x$ac_word" = "x-arch"; then 6395 ac_prev=arch 6396 fi 6397 done 6398 fi 6399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6400 if test $ac_cv_c_bigendian = unknown; then 6401 # See if sys/param.h defines the BYTE_ORDER macro. 6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7607 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7608 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7609 if test "${ac_cv_c_bigendian+set}" = set; then 7610 echo $ECHO_N "(cached) $ECHO_C" >&6 7611 else 7612 # See if sys/param.h defines the BYTE_ORDER macro. 7613 cat >conftest.$ac_ext <<_ACEOF 7614 /* confdefs.h. */ 7615 _ACEOF 7616 cat confdefs.h >>conftest.$ac_ext 7617 cat >>conftest.$ac_ext <<_ACEOF 6403 7618 /* end confdefs.h. */ 6404 7619 #include <sys/types.h> 6405 7620 #include <sys/param.h> 6406 7621 6407 7622 int 6408 7623 main () 6409 7624 { 6410 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 6411 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 6412 && LITTLE_ENDIAN) 6413 bogus endian macros 6414 #endif 7625 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7626 bogus endian macros 7627 #endif 6415 7628 6416 7629 ; … … 6418 7631 } 6419 7632 _ACEOF 6420 if ac_fn_cxx_try_compile "$LINENO"; then : 7633 rm -f conftest.$ac_objext 7634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7635 (eval $ac_compile) 2>conftest.er1 7636 ac_status=$? 7637 grep -v '^ *+' conftest.er1 >conftest.err 7638 rm -f conftest.er1 7639 cat conftest.err >&5 7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7641 (exit $ac_status); } && 7642 { ac_try='test -z "$ac_cxx_werror_flag" 7643 || test ! -s conftest.err' 7644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7645 (eval $ac_try) 2>&5 7646 ac_status=$? 7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7648 (exit $ac_status); }; } && 7649 { ac_try='test -s conftest.$ac_objext' 7650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7651 (eval $ac_try) 2>&5 7652 ac_status=$? 7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7654 (exit $ac_status); }; }; then 6421 7655 # It does; now see whether it defined to BIG_ENDIAN or not. 6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7656 cat >conftest.$ac_ext <<_ACEOF 7657 /* confdefs.h. */ 7658 _ACEOF 7659 cat confdefs.h >>conftest.$ac_ext 7660 cat >>conftest.$ac_ext <<_ACEOF 6423 7661 /* end confdefs.h. */ 6424 7662 #include <sys/types.h> 6425 7663 #include <sys/param.h> 6426 7664 6427 7665 int … … 6429 7667 { 6430 7668 #if BYTE_ORDER != BIG_ENDIAN 6431 6432 7669 not big endian 7670 #endif 6433 7671 6434 7672 ; … … 6436 7674 } 6437 7675 _ACEOF 6438 if ac_fn_cxx_try_compile "$LINENO"; then : 7676 rm -f conftest.$ac_objext 7677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7678 (eval $ac_compile) 2>conftest.er1 7679 ac_status=$? 7680 grep -v '^ *+' conftest.er1 >conftest.err 7681 rm -f conftest.er1 7682 cat conftest.err >&5 7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7684 (exit $ac_status); } && 7685 { ac_try='test -z "$ac_cxx_werror_flag" 7686 || test ! -s conftest.err' 7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7688 (eval $ac_try) 2>&5 7689 ac_status=$? 7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7691 (exit $ac_status); }; } && 7692 { ac_try='test -s conftest.$ac_objext' 7693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7694 (eval $ac_try) 2>&5 7695 ac_status=$? 7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7697 (exit $ac_status); }; }; then 6439 7698 ac_cv_c_bigendian=yes 6440 7699 else 6441 ac_cv_c_bigendian=no 6442 fi 6443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6444 fi 6445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6446 fi 6447 if test $ac_cv_c_bigendian = unknown; then 6448 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 6449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7700 echo "$as_me: failed program was:" >&5 7701 sed 's/^/| /' conftest.$ac_ext >&5 7702 7703 ac_cv_c_bigendian=no 7704 fi 7705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7706 else 7707 echo "$as_me: failed program was:" >&5 7708 sed 's/^/| /' conftest.$ac_ext >&5 7709 7710 # It does not; compile a test program. 7711 if test "$cross_compiling" = yes; then 7712 # try to guess the endianness by grepping values into an object file 7713 ac_cv_c_bigendian=unknown 7714 cat >conftest.$ac_ext <<_ACEOF 7715 /* confdefs.h. */ 7716 _ACEOF 7717 cat confdefs.h >>conftest.$ac_ext 7718 cat >>conftest.$ac_ext <<_ACEOF 6450 7719 /* end confdefs.h. */ 6451 #include <limits.h> 6452 7720 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7721 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7722 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7723 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7724 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7725 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 6453 7726 int 6454 7727 main () 6455 7728 { 6456 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 6457 bogus endian macros 6458 #endif 6459 7729 _ascii (); _ebcdic (); 6460 7730 ; 6461 7731 return 0; 6462 7732 } 6463 7733 _ACEOF 6464 if ac_fn_cxx_try_compile "$LINENO"; then : 6465 # It does; now see whether it defined to _BIG_ENDIAN or not. 6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7734 rm -f conftest.$ac_objext 7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7736 (eval $ac_compile) 2>conftest.er1 7737 ac_status=$? 7738 grep -v '^ *+' conftest.er1 >conftest.err 7739 rm -f conftest.er1 7740 cat conftest.err >&5 7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7742 (exit $ac_status); } && 7743 { ac_try='test -z "$ac_cxx_werror_flag" 7744 || test ! -s conftest.err' 7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7746 (eval $ac_try) 2>&5 7747 ac_status=$? 7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7749 (exit $ac_status); }; } && 7750 { ac_try='test -s conftest.$ac_objext' 7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7752 (eval $ac_try) 2>&5 7753 ac_status=$? 7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7755 (exit $ac_status); }; }; then 7756 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7757 ac_cv_c_bigendian=yes 7758 fi 7759 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7760 if test "$ac_cv_c_bigendian" = unknown; then 7761 ac_cv_c_bigendian=no 7762 else 7763 # finding both strings is unlikely to happen, but who knows? 7764 ac_cv_c_bigendian=unknown 7765 fi 7766 fi 7767 else 7768 echo "$as_me: failed program was:" >&5 7769 sed 's/^/| /' conftest.$ac_ext >&5 7770 7771 fi 7772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7773 else 7774 cat >conftest.$ac_ext <<_ACEOF 7775 /* confdefs.h. */ 7776 _ACEOF 7777 cat confdefs.h >>conftest.$ac_ext 7778 cat >>conftest.$ac_ext <<_ACEOF 6467 7779 /* end confdefs.h. */ 6468 #include <limits.h>6469 6470 7780 int 6471 7781 main () 6472 7782 { 6473 #ifndef _BIG_ENDIAN 6474 not big endian 6475 #endif 6476 6477 ; 6478 return 0; 7783 /* Are we little or big endian? From Harbison&Steele. */ 7784 union 7785 { 7786 long l; 7787 char c[sizeof (long)]; 7788 } u; 7789 u.l = 1; 7790 exit (u.c[sizeof (long) - 1] == 1); 6479 7791 } 6480 7792 _ACEOF 6481 if ac_fn_cxx_try_compile "$LINENO"; then : 6482 ac_cv_c_bigendian=yes 6483 else 7793 rm -f conftest$ac_exeext 7794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7795 (eval $ac_link) 2>&5 7796 ac_status=$? 7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7800 (eval $ac_try) 2>&5 7801 ac_status=$? 7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7803 (exit $ac_status); }; }; then 6484 7804 ac_cv_c_bigendian=no 6485 fi 6486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6487 fi 6488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6489 fi 6490 if test $ac_cv_c_bigendian = unknown; then 6491 # Compile a test program. 6492 if test "$cross_compiling" = yes; then : 6493 # Try to guess by grepping values from an object file. 6494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6495 /* end confdefs.h. */ 6496 short int ascii_mm[] = 6497 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 6498 short int ascii_ii[] = 6499 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 6500 int use_ascii (int i) { 6501 return ascii_mm[i] + ascii_ii[i]; 6502 } 6503 short int ebcdic_ii[] = 6504 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 6505 short int ebcdic_mm[] = 6506 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 6507 int use_ebcdic (int i) { 6508 return ebcdic_mm[i] + ebcdic_ii[i]; 6509 } 6510 extern int foo; 6511 6512 int 6513 main () 6514 { 6515 return use_ascii (foo) == use_ebcdic (foo); 6516 ; 6517 return 0; 6518 } 6519 _ACEOF 6520 if ac_fn_cxx_try_compile "$LINENO"; then : 6521 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 6522 ac_cv_c_bigendian=yes 6523 fi 6524 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 6525 if test "$ac_cv_c_bigendian" = unknown; then 6526 ac_cv_c_bigendian=no 6527 else 6528 # finding both strings is unlikely to happen, but who knows? 6529 ac_cv_c_bigendian=unknown 6530 fi 6531 fi 6532 fi 6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6534 else 6535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6536 /* end confdefs.h. */ 6537 $ac_includes_default 6538 int 6539 main () 6540 { 6541 6542 /* Are we little or big endian? From Harbison&Steele. */ 6543 union 6544 { 6545 long int l; 6546 char c[sizeof (long int)]; 6547 } u; 6548 u.l = 1; 6549 return u.c[sizeof (long int) - 1] == 1; 6550 6551 ; 6552 return 0; 6553 } 6554 _ACEOF 6555 if ac_fn_cxx_try_run "$LINENO"; then : 6556 ac_cv_c_bigendian=no 6557 else 6558 ac_cv_c_bigendian=yes 6559 fi 6560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6561 conftest.$ac_objext conftest.beam conftest.$ac_ext 6562 fi 6563 6564 fi 6565 fi 6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 6567 $as_echo "$ac_cv_c_bigendian" >&6; } 6568 case $ac_cv_c_bigendian in #( 6569 yes) 6570 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 6571 ;; #( 6572 no) 6573 ;; #( 6574 universal) 6575 6576 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 6577 6578 ;; #( 6579 *) 6580 as_fn_error $? "unknown endianness 6581 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 6582 esac 7805 else 7806 echo "$as_me: program exited with status $ac_status" >&5 7807 echo "$as_me: failed program was:" >&5 7808 sed 's/^/| /' conftest.$ac_ext >&5 7809 7810 ( exit $ac_status ) 7811 ac_cv_c_bigendian=yes 7812 fi 7813 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7814 fi 7815 fi 7816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7817 fi 7818 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7819 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7820 case $ac_cv_c_bigendian in 7821 yes) 7822 7823 cat >>confdefs.h <<\_ACEOF 7824 #define WORDS_BIGENDIAN 1 7825 _ACEOF 7826 ;; 7827 no) 7828 ;; 7829 *) 7830 { { echo "$as_me:$LINENO: error: unknown endianness 7831 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7832 echo "$as_me: error: unknown endianness 7833 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7834 { (exit 1); exit 1; }; } ;; 7835 esac 6583 7836 6584 7837 # --------------------------------------------------------------------------- 6585 7838 if test "$ac_cv_func_alloca" = 'no'; then 6586 case " $LIBOBJS " in 7839 case $LIBOBJS in 7840 "xmalloc.o.$ac_objext" | \ 7841 *" xmalloc.o.$ac_objext" | \ 7842 "xmalloc.o.$ac_objext "* | \ 6587 7843 *" xmalloc.o.$ac_objext "* ) ;; 6588 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 6589 ;; 7844 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 6590 7845 esac 6591 7846 6592 case " $LIBOBJS " in 7847 case $LIBOBJS in 7848 "error.$ac_objext" | \ 7849 *" error.$ac_objext" | \ 7850 "error.$ac_objext "* | \ 6593 7851 *" error.$ac_objext "* ) ;; 6594 *) LIBOBJS="$LIBOBJS error.$ac_objext" 6595 ;; 7852 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 6596 7853 esac 6597 7854 … … 6626 7883 srclist="src/hashfile/Makefile \ 6627 7884 src/phind/generate/Makefile \ 6628 src/java/org/nzdl/gsdl/Makefile" 6629 6630 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 6631 7885 src/java/org/nzdl/gsdl/Makefile" 7886 7887 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 6632 7888 cat >confcache <<\_ACEOF 6633 7889 # This file is a shell script that caches the results of configure … … 6648 7904 # The following way of writing the cache mishandles newlines in values, 6649 7905 # but we know of no workaround that is simple, portable, and efficient. 6650 # So, we kill variables containing newlines.7906 # So, don't put newlines in cache variables' values. 6651 7907 # Ultrix sh set writes to stderr and can't be redirected directly, 6652 7908 # and sets the high bit in the cache file unless we assign to the vars. 6653 ( 6654 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6655 eval ac_val=\$$ac_var 6656 case $ac_val in #( 6657 *${as_nl}*) 6658 case $ac_var in #( 6659 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6660 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6661 esac 6662 case $ac_var in #( 6663 _ | IFS | as_nl) ;; #( 6664 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6665 *) { eval $ac_var=; unset $ac_var;} ;; 6666 esac ;; 6667 esac 6668 done 6669 7909 { 6670 7910 (set) 2>&1 | 6671 case $as_nl`(ac_space=' '; set) 2>&1` in #(6672 * ${as_nl}ac_space=\ *)6673 # `set' does not quote correctly, so add quotes :double-quote6674 # substitution turns \\\\ into \\, and sed turns \\ into \ .7911 case `(ac_space=' '; set | grep ac_space) 2>&1` in 7912 *ac_space=\ *) 7913 # `set' does not quote correctly, so add quotes (double-quote 7914 # substitution turns \\\\ into \\, and sed turns \\ into \). 6675 7915 sed -n \ 6676 7916 "s/'/'\\\\''/g; 6677 7917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6678 ;; #(7918 ;; 6679 7919 *) 6680 7920 # `set' quotes correctly as required by POSIX, so do not add quotes. 6681 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7921 sed -n \ 7922 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6682 7923 ;; 6683 esac | 6684 sort 6685 ) | 7924 esac; 7925 } | 6686 7926 sed ' 6687 /^ac_cv_env_/b end6688 7927 t clear 6689 : clear7928 : clear 6690 7929 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6691 7930 t end 6692 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6693 :end' >>confcache 6694 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6695 if test -w "$cache_file"; then 6696 test "x$cache_file" != "x/dev/null" && 6697 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6698 $as_echo "$as_me: updating cache $cache_file" >&6;} 7931 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7932 : end' >>confcache 7933 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7934 if test -w $cache_file; then 7935 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6699 7936 cat confcache >$cache_file 6700 7937 else 6701 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6702 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7938 echo "not updating unwritable cache $cache_file" 6703 7939 fi 6704 7940 fi … … 6709 7945 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6710 7946 7947 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7948 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7949 # trailing colons and then remove the whole line if VPATH becomes empty 7950 # (actually we leave an empty line to preserve line numbers). 7951 if test "x$srcdir" = x.; then 7952 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7953 s/:*\$(srcdir):*/:/; 7954 s/:*\${srcdir}:*/:/; 7955 s/:*@srcdir@:*/:/; 7956 s/^\([^=]*=[ ]*\):*/\1/; 7957 s/:*$//; 7958 s/^[^=]*=[ ]*$//; 7959 }' 7960 fi 7961 6711 7962 DEFS=-DHAVE_CONFIG_H 6712 7963 6713 7964 ac_libobjs= 6714 7965 ac_ltlibobjs= 6715 U=6716 7966 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6717 7967 # 1. Remove the extension, and $U if already installed. 6718 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6719 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6720 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6721 # will be set to the directory where LIBOBJS objects are built. 6722 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6723 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7968 ac_i=`echo "$ac_i" | 7969 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7970 # 2. Add them. 7971 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7972 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6724 7973 done 6725 7974 LIBOBJS=$ac_libobjs … … 6729 7978 6730 7979 6731 6732 7980 : ${CONFIG_STATUS=./config.status} 6733 ac_write_fail=06734 7981 ac_clean_files_save=$ac_clean_files 6735 7982 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6736 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6737 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6738 as_write_fail=0 6739 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7983 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 7984 echo "$as_me: creating $CONFIG_STATUS" >&6;} 7985 cat >$CONFIG_STATUS <<_ACEOF 6740 7986 #! $SHELL 6741 7987 # Generated by $as_me. … … 6747 7993 ac_cs_recheck=false 6748 7994 ac_cs_silent=false 6749 6750 7995 SHELL=\${CONFIG_SHELL-$SHELL} 6751 export SHELL 6752 _ASEOF 6753 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6754 ## -------------------- ## 6755 ## M4sh Initialization. ## 6756 ## -------------------- ## 6757 6758 # Be more Bourne compatible 6759 DUALCASE=1; export DUALCASE # for MKS sh 6760 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7996 _ACEOF 7997 7998 cat >>$CONFIG_STATUS <<\_ACEOF 7999 ## --------------------- ## 8000 ## M4sh Initialization. ## 8001 ## --------------------- ## 8002 8003 # Be Bourne compatible 8004 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6761 8005 emulate sh 6762 8006 NULLCMD=: 6763 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which8007 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6764 8008 # is contrary to our usage. Disable this feature. 6765 8009 alias -g '${1+"$@"}'='"$@"' 6766 setopt NO_GLOB_SUBST 6767 else 6768 case `(set -o) 2>/dev/null` in #( 6769 *posix*) : 6770 set -o posix ;; #( 6771 *) : 6772 ;; 6773 esac 6774 fi 6775 6776 6777 as_nl=' 6778 ' 6779 export as_nl 6780 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6781 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6782 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6783 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6784 # Prefer a ksh shell builtin over an external printf program on Solaris, 6785 # but without wasting forks for bash or zsh. 6786 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6787 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6788 as_echo='print -r --' 6789 as_echo_n='print -rn --' 6790 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6791 as_echo='printf %s\n' 6792 as_echo_n='printf %s' 6793 else 6794 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6795 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6796 as_echo_n='/usr/ucb/echo -n' 6797 else 6798 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6799 as_echo_n_body='eval 6800 arg=$1; 6801 case $arg in #( 6802 *"$as_nl"*) 6803 expr "X$arg" : "X\\(.*\\)$as_nl"; 6804 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6805 esac; 6806 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6807 ' 6808 export as_echo_n_body 6809 as_echo_n='sh -c $as_echo_n_body as_echo' 6810 fi 6811 export as_echo_body 6812 as_echo='sh -c $as_echo_body as_echo' 6813 fi 6814 6815 # The user is always right. 6816 if test "${PATH_SEPARATOR+set}" != set; then 6817 PATH_SEPARATOR=: 6818 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6819 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6820 PATH_SEPARATOR=';' 6821 } 6822 fi 6823 6824 6825 # IFS 6826 # We need space, tab and new line, in precisely that order. Quoting is 6827 # there to prevent editors from complaining about space-tab. 6828 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6829 # splitting by setting IFS to empty value.) 6830 IFS=" "" $as_nl" 6831 6832 # Find who we are. Look in the path if we contain no directory separator. 6833 case $0 in #(( 6834 *[\\/]* ) as_myself=$0 ;; 6835 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6836 for as_dir in $PATH 6837 do 6838 IFS=$as_save_IFS 6839 test -z "$as_dir" && as_dir=. 6840 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6841 done 6842 IFS=$as_save_IFS 6843 6844 ;; 6845 esac 6846 # We did not find ourselves, most probably we were run as `sh COMMAND' 6847 # in which case we are not to be found in the path. 6848 if test "x$as_myself" = x; then 6849 as_myself=$0 6850 fi 6851 if test ! -f "$as_myself"; then 6852 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6853 exit 1 6854 fi 6855 6856 # Unset variables that we do not need and which cause bugs (e.g. in 6857 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6858 # suppresses any "Segmentation fault" message there. '((' could 6859 # trigger a bug in pdksh 5.2.14. 6860 for as_var in BASH_ENV ENV MAIL MAILPATH 6861 do eval test x\${$as_var+set} = xset \ 6862 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6863 done 8010 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8011 set -o posix 8012 fi 8013 DUALCASE=1; export DUALCASE # for MKS sh 8014 8015 # Support unset when possible. 8016 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8017 as_unset=unset 8018 else 8019 as_unset=false 8020 fi 8021 8022 8023 # Work around bugs in pre-3.0 UWIN ksh. 8024 $as_unset ENV MAIL MAILPATH 6864 8025 PS1='$ ' 6865 8026 PS2='> ' … … 6867 8028 6868 8029 # NLS nuisances. 6869 LC_ALL=C 6870 export LC_ALL 6871 LANGUAGE=C 6872 export LANGUAGE 6873 6874 # CDPATH. 6875 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6876 6877 6878 # as_fn_error STATUS ERROR [LINENO LOG_FD] 6879 # ---------------------------------------- 6880 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6881 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6882 # script with STATUS, using 1 if that was 0. 6883 as_fn_error () 6884 { 6885 as_status=$1; test $as_status -eq 0 && as_status=1 6886 if test "$4"; then 6887 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6888 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8030 for as_var in \ 8031 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8032 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8033 LC_TELEPHONE LC_TIME 8034 do 8035 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8036 eval $as_var=C; export $as_var 8037 else 8038 $as_unset $as_var 6889 8039 fi 6890 $as_echo "$as_me: error: $2" >&2 6891 as_fn_exit $as_status 6892 } # as_fn_error 6893 6894 6895 # as_fn_set_status STATUS 6896 # ----------------------- 6897 # Set $? to STATUS, without forking. 6898 as_fn_set_status () 6899 { 6900 return $1 6901 } # as_fn_set_status 6902 6903 # as_fn_exit STATUS 6904 # ----------------- 6905 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6906 as_fn_exit () 6907 { 6908 set +e 6909 as_fn_set_status $1 6910 exit $1 6911 } # as_fn_exit 6912 6913 # as_fn_unset VAR 6914 # --------------- 6915 # Portably unset VAR. 6916 as_fn_unset () 6917 { 6918 { eval $1=; unset $1;} 6919 } 6920 as_unset=as_fn_unset 6921 # as_fn_append VAR VALUE 6922 # ---------------------- 6923 # Append the text in VALUE to the end of the definition contained in VAR. Take 6924 # advantage of any shell optimizations that allow amortized linear growth over 6925 # repeated appends, instead of the typical quadratic growth present in naive 6926 # implementations. 6927 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6928 eval 'as_fn_append () 6929 { 6930 eval $1+=\$2 6931 }' 6932 else 6933 as_fn_append () 6934 { 6935 eval $1=\$$1\$2 6936 } 6937 fi # as_fn_append 6938 6939 # as_fn_arith ARG... 6940 # ------------------ 6941 # Perform arithmetic evaluation on the ARGs, and store the result in the 6942 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6943 # must be portable across $(()) and expr. 6944 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6945 eval 'as_fn_arith () 6946 { 6947 as_val=$(( $* )) 6948 }' 6949 else 6950 as_fn_arith () 6951 { 6952 as_val=`expr "$@" || test $? -eq 1` 6953 } 6954 fi # as_fn_arith 6955 6956 6957 if expr a : '\(a\)' >/dev/null 2>&1 && 6958 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8040 done 8041 8042 # Required to use basename. 8043 if expr a : '\(a\)' >/dev/null 2>&1; then 6959 8044 as_expr=expr 6960 8045 else … … 6962 8047 fi 6963 8048 6964 if (basename -- /) >/dev/null 2>&1 && test "X`basename --/ 2>&1`" = "X/"; then8049 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 6965 8050 as_basename=basename 6966 8051 else … … 6968 8053 fi 6969 8054 6970 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6971 as_dirname=dirname 6972 else 6973 as_dirname=false 6974 fi 6975 6976 as_me=`$as_basename -- "$0" || 8055 8056 # Name of the executable. 8057 as_me=`$as_basename "$0" || 6977 8058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6978 8059 X"$0" : 'X\(//\)$' \| \ 6979 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6980 $as_echo X/"$0" | 6981 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6982 s//\1/ 6983 q 6984 } 6985 /^X\/\(\/\/\)$/{ 6986 s//\1/ 6987 q 6988 } 6989 /^X\/\(\/\).*/{ 6990 s//\1/ 6991 q 6992 } 6993 s/.*/./; q'` 6994 8060 X"$0" : 'X\(/\)$' \| \ 8061 . : '\(.\)' 2>/dev/null || 8062 echo X/"$0" | 8063 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8064 /^X\/\(\/\/\)$/{ s//\1/; q; } 8065 /^X\/\(\/\).*/{ s//\1/; q; } 8066 s/.*/./; q'` 8067 8068 8069 # PATH needs CR, and LINENO needs CR and PATH. 6995 8070 # Avoid depending upon Character Ranges. 6996 8071 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7000 8075 as_cr_alnum=$as_cr_Letters$as_cr_digits 7001 8076 7002 ECHO_C= ECHO_N= ECHO_T= 7003 case `echo -n x` in #((((( 7004 -n*) 7005 case `echo 'xy\c'` in 7006 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7007 xy) ECHO_C='\c';; 7008 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7009 ECHO_T=' ';; 7010 esac;; 7011 *) 7012 ECHO_N='-n';; 8077 # The user is always right. 8078 if test "${PATH_SEPARATOR+set}" != set; then 8079 echo "#! /bin/sh" >conf$$.sh 8080 echo "exit 0" >>conf$$.sh 8081 chmod +x conf$$.sh 8082 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8083 PATH_SEPARATOR=';' 8084 else 8085 PATH_SEPARATOR=: 8086 fi 8087 rm -f conf$$.sh 8088 fi 8089 8090 8091 as_lineno_1=$LINENO 8092 as_lineno_2=$LINENO 8093 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8094 test "x$as_lineno_1" != "x$as_lineno_2" && 8095 test "x$as_lineno_3" = "x$as_lineno_2" || { 8096 # Find who we are. Look in the path if we contain no path at all 8097 # relative or not. 8098 case $0 in 8099 *[\\/]* ) as_myself=$0 ;; 8100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8101 for as_dir in $PATH 8102 do 8103 IFS=$as_save_IFS 8104 test -z "$as_dir" && as_dir=. 8105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8106 done 8107 8108 ;; 8109 esac 8110 # We did not find ourselves, most probably we were run as `sh COMMAND' 8111 # in which case we are not to be found in the path. 8112 if test "x$as_myself" = x; then 8113 as_myself=$0 8114 fi 8115 if test ! -f "$as_myself"; then 8116 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8117 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8118 { (exit 1); exit 1; }; } 8119 fi 8120 case $CONFIG_SHELL in 8121 '') 8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8123 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8124 do 8125 IFS=$as_save_IFS 8126 test -z "$as_dir" && as_dir=. 8127 for as_base in sh bash ksh sh5; do 8128 case $as_dir in 8129 /*) 8130 if ("$as_dir/$as_base" -c ' 8131 as_lineno_1=$LINENO 8132 as_lineno_2=$LINENO 8133 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8134 test "x$as_lineno_1" != "x$as_lineno_2" && 8135 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8136 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8137 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8138 CONFIG_SHELL=$as_dir/$as_base 8139 export CONFIG_SHELL 8140 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8141 fi;; 8142 esac 8143 done 8144 done 8145 ;; 8146 esac 8147 8148 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8149 # uniformly replaced by the line number. The first 'sed' inserts a 8150 # line-number line before each line; the second 'sed' does the real 8151 # work. The second script uses 'N' to pair each line-number line 8152 # with the numbered line, and appends trailing '-' during 8153 # substitution so that $LINENO is not a special case at line end. 8154 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8155 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8156 sed '=' <$as_myself | 8157 sed ' 8158 N 8159 s,$,-, 8160 : loop 8161 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8162 t loop 8163 s,-$,, 8164 s,^['$as_cr_digits']*\n,, 8165 ' >$as_me.lineno && 8166 chmod +x $as_me.lineno || 8167 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8168 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8169 { (exit 1); exit 1; }; } 8170 8171 # Don't try to exec as it changes $[0], causing all sort of problems 8172 # (the dirname of $[0] is not the place where we might find the 8173 # original and so on. Autoconf is especially sensible to this). 8174 . ./$as_me.lineno 8175 # Exit status is that of the last command. 8176 exit 8177 } 8178 8179 8180 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8181 *c*,-n*) ECHO_N= ECHO_C=' 8182 ' ECHO_T=' ' ;; 8183 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8184 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7013 8185 esac 7014 8186 8187 if expr a : '\(a\)' >/dev/null 2>&1; then 8188 as_expr=expr 8189 else 8190 as_expr=false 8191 fi 8192 7015 8193 rm -f conf$$ conf$$.exe conf$$.file 7016 if test -d conf$$.dir; then 7017 rm -f conf$$.dir/conf$$.file 7018 else 7019 rm -f conf$$.dir7020 mkdir conf$$.dir 2>/dev/null7021 fi 7022 if (echo >conf$$.file) 2>/dev/null; then 7023 if ln -s conf$$.file conf$$ 2>/dev/null; then8194 echo >conf$$.file 8195 if ln -s conf$$.file conf$$ 2>/dev/null; then 8196 # We could just check for DJGPP; but this test a) works b) is more generic 8197 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8198 if test -f conf$$.exe; then 8199 # Don't use ln at all; we don't have any links 8200 as_ln_s='cp -p' 8201 else 7024 8202 as_ln_s='ln -s' 7025 # ... but there are two gotchas:7026 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.7027 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.7028 # In both cases, we have to default to `cp -p'.7029 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||7030 as_ln_s='cp -p'7031 elif ln conf$$.file conf$$ 2>/dev/null; then7032 as_ln_s=ln7033 else7034 as_ln_s='cp -p'7035 8203 fi 8204 elif ln conf$$.file conf$$ 2>/dev/null; then 8205 as_ln_s=ln 7036 8206 else 7037 8207 as_ln_s='cp -p' 7038 8208 fi 7039 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7040 rmdir conf$$.dir 2>/dev/null 7041 7042 7043 # as_fn_mkdir_p 7044 # ------------- 7045 # Create "$as_dir" as a directory, including parents if necessary. 7046 as_fn_mkdir_p () 7047 { 7048 7049 case $as_dir in #( 7050 -*) as_dir=./$as_dir;; 7051 esac 7052 test -d "$as_dir" || eval $as_mkdir_p || { 7053 as_dirs= 7054 while :; do 7055 case $as_dir in #( 7056 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7057 *) as_qdir=$as_dir;; 7058 esac 7059 as_dirs="'$as_qdir' $as_dirs" 7060 as_dir=`$as_dirname -- "$as_dir" || 7061 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7062 X"$as_dir" : 'X\(//\)[^/]' \| \ 7063 X"$as_dir" : 'X\(//\)$' \| \ 7064 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7065 $as_echo X"$as_dir" | 7066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7067 s//\1/ 7068 q 7069 } 7070 /^X\(\/\/\)[^/].*/{ 7071 s//\1/ 7072 q 7073 } 7074 /^X\(\/\/\)$/{ 7075 s//\1/ 7076 q 7077 } 7078 /^X\(\/\).*/{ 7079 s//\1/ 7080 q 7081 } 7082 s/.*/./; q'` 7083 test -d "$as_dir" && break 7084 done 7085 test -z "$as_dirs" || eval "mkdir $as_dirs" 7086 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7087 7088 7089 } # as_fn_mkdir_p 8209 rm -f conf$$ conf$$.exe conf$$.file 8210 7090 8211 if mkdir -p . 2>/dev/null; then 7091 as_mkdir_p= 'mkdir -p "$as_dir"'8212 as_mkdir_p=: 7092 8213 else 7093 8214 test -d ./-p && rmdir ./-p … … 7095 8216 fi 7096 8217 7097 if test -x / >/dev/null 2>&1; then 7098 as_test_x='test -x' 7099 else 7100 if ls -dL / >/dev/null 2>&1; then 7101 as_ls_L_option=L 7102 else 7103 as_ls_L_option= 7104 fi 7105 as_test_x=' 7106 eval sh -c '\'' 7107 if test -d "$1"; then 7108 test -d "$1/."; 7109 else 7110 case $1 in #( 7111 -*)set "./$1";; 7112 esac; 7113 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7114 ???[sx]*):;;*)false;;esac;fi 7115 '\'' sh 7116 ' 7117 fi 7118 as_executable_p=$as_test_x 8218 as_executable_p="test -f" 7119 8219 7120 8220 # Sed expression to map a string onto a valid CPP name. … … 7125 8225 7126 8226 8227 # IFS 8228 # We need space, tab and new line, in precisely that order. 8229 as_nl=' 8230 ' 8231 IFS=" $as_nl" 8232 8233 # CDPATH. 8234 $as_unset CDPATH 8235 7127 8236 exec 6>&1 7128 ## ----------------------------------- ## 7129 ## Main body of $CONFIG_STATUS script. ## 7130 ## ----------------------------------- ## 7131 _ASEOF 7132 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7133 7134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7135 # Save the log message, to keep $0 and so on meaningful, and to 8237 8238 # Open the log real soon, to keep \$[0] and so on meaningful, and to 7136 8239 # report actual input values of CONFIG_FILES etc. instead of their 7137 # values after options handling. 7138 ac_log=" 7139 This file was extended by $as_me, which was 7140 generated by GNU Autoconf 2.67. Invocation command line was 7141 7142 CONFIG_FILES = $CONFIG_FILES 7143 CONFIG_HEADERS = $CONFIG_HEADERS 7144 CONFIG_LINKS = $CONFIG_LINKS 7145 CONFIG_COMMANDS = $CONFIG_COMMANDS 7146 $ $0 $@ 7147 7148 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7149 " 7150 7151 _ACEOF 7152 7153 case $ac_config_files in *" 7154 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7155 esac 7156 7157 case $ac_config_headers in *" 7158 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7159 esac 7160 7161 7162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7163 # Files that config.status was made for. 7164 config_files="$ac_config_files" 7165 config_headers="$ac_config_headers" 7166 7167 _ACEOF 7168 7169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7170 ac_cs_usage="\ 7171 \`$as_me' instantiates files and other configuration actions 7172 from templates according to the current configuration. Unless the files 7173 and actions are specified as TAGs, all are instantiated by default. 7174 7175 Usage: $0 [OPTION]... [TAG]... 7176 7177 -h, --help print this help, then exit 7178 -V, --version print version number and configuration settings, then exit 7179 --config print configuration, then exit 7180 -q, --quiet, --silent 7181 do not print progress messages 7182 -d, --debug don't remove temporary files 7183 --recheck update $as_me by reconfiguring in the same conditions 7184 --file=FILE[:TEMPLATE] 7185 instantiate the configuration file FILE 7186 --header=FILE[:TEMPLATE] 7187 instantiate the configuration header FILE 7188 7189 Configuration files: 7190 $config_files 7191 7192 Configuration headers: 7193 $config_headers 7194 7195 Report bugs to the package provider." 7196 7197 _ACEOF 7198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7199 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7200 ac_cs_version="\\ 7201 config.status 7202 configured by $0, generated by GNU Autoconf 2.67, 7203 with options \\"\$ac_cs_config\\" 7204 7205 Copyright (C) 2010 Free Software Foundation, Inc. 7206 This config.status script is free software; the Free Software Foundation 7207 gives unlimited permission to copy, distribute and modify it." 7208 7209 ac_pwd='$ac_pwd' 7210 srcdir='$srcdir' 7211 INSTALL='$INSTALL' 7212 AWK='$AWK' 7213 test -n "\$AWK" || AWK=awk 7214 _ACEOF 7215 7216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7217 # The default lists apply if the user does not specify any file. 7218 ac_need_defaults=: 7219 while test $# != 0 7220 do 7221 case $1 in 7222 --*=?*) 7223 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7224 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7225 ac_shift=: 7226 ;; 7227 --*=) 7228 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7229 ac_optarg= 7230 ac_shift=: 7231 ;; 7232 *) 7233 ac_option=$1 7234 ac_optarg=$2 7235 ac_shift=shift 7236 ;; 7237 esac 7238 7239 case $ac_option in 7240 # Handling of the options. 7241 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7242 ac_cs_recheck=: ;; 7243 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7244 $as_echo "$ac_cs_version"; exit ;; 7245 --config | --confi | --conf | --con | --co | --c ) 7246 $as_echo "$ac_cs_config"; exit ;; 7247 --debug | --debu | --deb | --de | --d | -d ) 7248 debug=: ;; 7249 --file | --fil | --fi | --f ) 7250 $ac_shift 7251 case $ac_optarg in 7252 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7253 '') as_fn_error $? "missing file argument" ;; 7254 esac 7255 as_fn_append CONFIG_FILES " '$ac_optarg'" 7256 ac_need_defaults=false;; 7257 --header | --heade | --head | --hea ) 7258 $ac_shift 7259 case $ac_optarg in 7260 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7261 esac 7262 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7263 ac_need_defaults=false;; 7264 --he | --h) 7265 # Conflict between --help and --header 7266 as_fn_error $? "ambiguous option: \`$1' 7267 Try \`$0 --help' for more information.";; 7268 --help | --hel | -h ) 7269 $as_echo "$ac_cs_usage"; exit ;; 7270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7271 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7272 ac_cs_silent=: ;; 7273 7274 # This is an error. 7275 -*) as_fn_error $? "unrecognized option: \`$1' 7276 Try \`$0 --help' for more information." ;; 7277 7278 *) as_fn_append ac_config_targets " $1" 7279 ac_need_defaults=false ;; 7280 7281 esac 7282 shift 7283 done 7284 7285 ac_configure_extra_args= 7286 7287 if $ac_cs_silent; then 7288 exec 6>/dev/null 7289 ac_configure_extra_args="$ac_configure_extra_args --silent" 7290 fi 7291 7292 _ACEOF 7293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7294 if \$ac_cs_recheck; then 7295 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7296 shift 7297 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7298 CONFIG_SHELL='$SHELL' 7299 export CONFIG_SHELL 7300 exec "\$@" 7301 fi 7302 7303 _ACEOF 7304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8240 # values after options handling. Logging --version etc. is OK. 7305 8241 exec 5>>config.log 7306 8242 { … … 7309 8245 ## Running $as_me. ## 7310 8246 _ASBOX 7311 $as_echo "$ac_log"7312 8247 } >&5 7313 7314 _ACEOF 7315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7316 _ACEOF 7317 7318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7319 7320 # Handling of arguments. 8248 cat >&5 <<_CSEOF 8249 8250 This file was extended by $as_me, which was 8251 generated by GNU Autoconf 2.59. Invocation command line was 8252 8253 CONFIG_FILES = $CONFIG_FILES 8254 CONFIG_HEADERS = $CONFIG_HEADERS 8255 CONFIG_LINKS = $CONFIG_LINKS 8256 CONFIG_COMMANDS = $CONFIG_COMMANDS 8257 $ $0 $@ 8258 8259 _CSEOF 8260 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8261 echo >&5 8262 _ACEOF 8263 8264 # Files that config.status was made for. 8265 if test -n "$ac_config_files"; then 8266 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8267 fi 8268 8269 if test -n "$ac_config_headers"; then 8270 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8271 fi 8272 8273 if test -n "$ac_config_links"; then 8274 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8275 fi 8276 8277 if test -n "$ac_config_commands"; then 8278 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8279 fi 8280 8281 cat >>$CONFIG_STATUS <<\_ACEOF 8282 8283 ac_cs_usage="\ 8284 \`$as_me' instantiates files from templates according to the 8285 current configuration. 8286 8287 Usage: $0 [OPTIONS] [FILE]... 8288 8289 -h, --help print this help, then exit 8290 -V, --version print version number, then exit 8291 -q, --quiet do not print progress messages 8292 -d, --debug don't remove temporary files 8293 --recheck update $as_me by reconfiguring in the same conditions 8294 --file=FILE[:TEMPLATE] 8295 instantiate the configuration file FILE 8296 --header=FILE[:TEMPLATE] 8297 instantiate the configuration header FILE 8298 8299 Configuration files: 8300 $config_files 8301 8302 Configuration headers: 8303 $config_headers 8304 8305 Report bugs to <[email protected]>." 8306 _ACEOF 8307 8308 cat >>$CONFIG_STATUS <<_ACEOF 8309 ac_cs_version="\\ 8310 config.status 8311 configured by $0, generated by GNU Autoconf 2.59, 8312 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8313 8314 Copyright (C) 2003 Free Software Foundation, Inc. 8315 This config.status script is free software; the Free Software Foundation 8316 gives unlimited permission to copy, distribute and modify it." 8317 srcdir=$srcdir 8318 INSTALL="$INSTALL" 8319 _ACEOF 8320 8321 cat >>$CONFIG_STATUS <<\_ACEOF 8322 # If no file are specified by the user, then we need to provide default 8323 # value. By we need to know if files were specified by the user. 8324 ac_need_defaults=: 8325 while test $# != 0 8326 do 8327 case $1 in 8328 --*=*) 8329 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8330 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8331 ac_shift=: 8332 ;; 8333 -*) 8334 ac_option=$1 8335 ac_optarg=$2 8336 ac_shift=shift 8337 ;; 8338 *) # This is not an option, so the user has probably given explicit 8339 # arguments. 8340 ac_option=$1 8341 ac_need_defaults=false;; 8342 esac 8343 8344 case $ac_option in 8345 # Handling of the options. 8346 _ACEOF 8347 cat >>$CONFIG_STATUS <<\_ACEOF 8348 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8349 ac_cs_recheck=: ;; 8350 --version | --vers* | -V ) 8351 echo "$ac_cs_version"; exit 0 ;; 8352 --he | --h) 8353 # Conflict between --help and --header 8354 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8355 Try \`$0 --help' for more information." >&5 8356 echo "$as_me: error: ambiguous option: $1 8357 Try \`$0 --help' for more information." >&2;} 8358 { (exit 1); exit 1; }; };; 8359 --help | --hel | -h ) 8360 echo "$ac_cs_usage"; exit 0 ;; 8361 --debug | --d* | -d ) 8362 debug=: ;; 8363 --file | --fil | --fi | --f ) 8364 $ac_shift 8365 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8366 ac_need_defaults=false;; 8367 --header | --heade | --head | --hea ) 8368 $ac_shift 8369 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8370 ac_need_defaults=false;; 8371 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8372 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8373 ac_cs_silent=: ;; 8374 8375 # This is an error. 8376 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8377 Try \`$0 --help' for more information." >&5 8378 echo "$as_me: error: unrecognized option: $1 8379 Try \`$0 --help' for more information." >&2;} 8380 { (exit 1); exit 1; }; } ;; 8381 8382 *) ac_config_targets="$ac_config_targets $1" ;; 8383 8384 esac 8385 shift 8386 done 8387 8388 ac_configure_extra_args= 8389 8390 if $ac_cs_silent; then 8391 exec 6>/dev/null 8392 ac_configure_extra_args="$ac_configure_extra_args --silent" 8393 fi 8394 8395 _ACEOF 8396 cat >>$CONFIG_STATUS <<_ACEOF 8397 if \$ac_cs_recheck; then 8398 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8399 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8400 fi 8401 8402 _ACEOF 8403 8404 8405 8406 8407 8408 cat >>$CONFIG_STATUS <<\_ACEOF 7321 8409 for ac_config_target in $ac_config_targets 7322 8410 do 7323 case $ac_config_target in 7324 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7325 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 7326 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7327 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 7328 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 7329 7330 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 8411 case "$ac_config_target" in 8412 # Handling of arguments. 8413 "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 8414 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8415 "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;; 8416 "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 8417 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8418 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8419 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8420 { (exit 1); exit 1; }; };; 7331 8421 esac 7332 8422 done 7333 7334 8423 7335 8424 # If the user did not use the arguments to specify the items to instantiate, … … 7343 8432 7344 8433 # Have a temporary directory for convenience. Make it in the build tree 7345 # simply because there is no reason against havingit here, and in addition,8434 # simply because there is no reason to put it here, and in addition, 7346 8435 # creating and moving files from /tmp can sometimes cause problems. 7347 # Hook for its removal unless debugging. 7348 # Note that there is a small window in which the directory will not be cleaned: 7349 # after its creation but before its name has been assigned to `$tmp'. 8436 # Create a temporary directory, and hook for its removal unless debugging. 7350 8437 $debug || 7351 8438 { 7352 tmp= 7353 trap 'exit_status=$? 7354 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7355 ' 0 7356 trap 'as_fn_exit 1' 1 2 13 15 8439 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 8440 trap '{ (exit 1); exit 1; }' 1 2 13 15 7357 8441 } 8442 7358 8443 # Create a (secure) tmp directory for tmp files. 7359 8444 7360 8445 { 7361 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&8446 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 7362 8447 test -n "$tmp" && test -d "$tmp" 7363 8448 } || 7364 8449 { 7365 tmp=./conf$$-$RANDOM 7366 (umask 077 && mkdir "$tmp") 7367 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7368 7369 # Set up the scripts for CONFIG_FILES section. 7370 # No need to generate them if there are no CONFIG_FILES. 7371 # This happens for instance with `./config.status config.h'. 7372 if test -n "$CONFIG_FILES"; then 7373 7374 7375 ac_cr=`echo X | tr X '\015'` 7376 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7377 # But we know of no other shell where ac_cr would be empty at this 7378 # point, so we can use a bashism as a fallback. 7379 if test "x$ac_cr" = x; then 7380 eval ac_cr=\$\'\\r\' 7381 fi 7382 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7383 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7384 ac_cs_awk_cr='\\r' 7385 else 7386 ac_cs_awk_cr=$ac_cr 7387 fi 7388 7389 echo 'BEGIN {' >"$tmp/subs1.awk" && 7390 _ACEOF 7391 7392 8450 tmp=./confstat$$-$RANDOM 8451 (umask 077 && mkdir $tmp) 8452 } || 7393 8453 { 7394 echo "cat >conf$$subs.awk <<_ACEOF" && 7395 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7396 echo "_ACEOF" 7397 } >conf$$subs.sh || 7398 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7399 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7400 ac_delim='%!_!# ' 7401 for ac_last_try in false false false false false :; do 7402 . ./conf$$subs.sh || 7403 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7404 7405 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7406 if test $ac_delim_n = $ac_delim_num; then 7407 break 7408 elif $ac_last_try; then 7409 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7410 else 7411 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8454 echo "$me: cannot create a temporary directory in ." >&2 8455 { (exit 1); exit 1; } 8456 } 8457 8458 _ACEOF 8459 8460 cat >>$CONFIG_STATUS <<_ACEOF 8461 8462 # 8463 # CONFIG_FILES section. 8464 # 8465 8466 # No need to generate the scripts if there are no CONFIG_FILES. 8467 # This happens for instance when ./config.status config.h 8468 if test -n "\$CONFIG_FILES"; then 8469 # Protect against being on the right side of a sed subst in config.status. 8470 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8471 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8472 s,@SHELL@,$SHELL,;t t 8473 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8474 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8475 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8476 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8477 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8478 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8479 s,@exec_prefix@,$exec_prefix,;t t 8480 s,@prefix@,$prefix,;t t 8481 s,@program_transform_name@,$program_transform_name,;t t 8482 s,@bindir@,$bindir,;t t 8483 s,@sbindir@,$sbindir,;t t 8484 s,@libexecdir@,$libexecdir,;t t 8485 s,@datadir@,$datadir,;t t 8486 s,@sysconfdir@,$sysconfdir,;t t 8487 s,@sharedstatedir@,$sharedstatedir,;t t 8488 s,@localstatedir@,$localstatedir,;t t 8489 s,@libdir@,$libdir,;t t 8490 s,@includedir@,$includedir,;t t 8491 s,@oldincludedir@,$oldincludedir,;t t 8492 s,@infodir@,$infodir,;t t 8493 s,@mandir@,$mandir,;t t 8494 s,@build_alias@,$build_alias,;t t 8495 s,@host_alias@,$host_alias,;t t 8496 s,@target_alias@,$target_alias,;t t 8497 s,@DEFS@,$DEFS,;t t 8498 s,@ECHO_C@,$ECHO_C,;t t 8499 s,@ECHO_N@,$ECHO_N,;t t 8500 s,@ECHO_T@,$ECHO_T,;t t 8501 s,@LIBS@,$LIBS,;t t 8502 s,@PACKAGE@,$PACKAGE,;t t 8503 s,@VERSION@,$VERSION,;t t 8504 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8505 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8506 s,@USE_CORBA@,$USE_CORBA,;t t 8507 s,@MICO_DIR@,$MICO_DIR,;t t 8508 s,@USE_Z3950@,$USE_Z3950,;t t 8509 s,@USE_YAZ@,$USE_YAZ,;t t 8510 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8511 s,@USE_WVWARE@,$USE_WVWARE,;t t 8512 s,@USE_JDBM@,$USE_JDBM,;t t 8513 s,@USE_GDBM@,$USE_GDBM,;t t 8514 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8515 s,@USE_SQLITE@,$USE_SQLITE,;t t 8516 s,@LDFLAGS@,$LDFLAGS,;t t 8517 s,@CFLAGS@,$CFLAGS,;t t 8518 s,@CC@,$CC,;t t 8519 s,@CPPFLAGS@,$CPPFLAGS,;t t 8520 s,@ac_ct_CC@,$ac_ct_CC,;t t 8521 s,@EXEEXT@,$EXEEXT,;t t 8522 s,@OBJEXT@,$OBJEXT,;t t 8523 s,@CXX@,$CXX,;t t 8524 s,@CXXFLAGS@,$CXXFLAGS,;t t 8525 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8526 s,@JAVAC@,$JAVAC,;t t 8527 s,@JAVACFLAGS@,$JAVACFLAGS,;t t 8528 s,@JAVA@,$JAVA,;t t 8529 s,@uudecode@,$uudecode,;t t 8530 s,@AWK@,$AWK,;t t 8531 s,@YACC@,$YACC,;t t 8532 s,@build@,$build,;t t 8533 s,@build_cpu@,$build_cpu,;t t 8534 s,@build_vendor@,$build_vendor,;t t 8535 s,@build_os@,$build_os,;t t 8536 s,@host@,$host,;t t 8537 s,@host_cpu@,$host_cpu,;t t 8538 s,@host_vendor@,$host_vendor,;t t 8539 s,@host_os@,$host_os,;t t 8540 s,@target@,$target,;t t 8541 s,@target_cpu@,$target_cpu,;t t 8542 s,@target_vendor@,$target_vendor,;t t 8543 s,@target_os@,$target_os,;t t 8544 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8545 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8546 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8547 s,@LN_S@,$LN_S,;t t 8548 s,@SET_MAKE@,$SET_MAKE,;t t 8549 s,@RANLIB@,$RANLIB,;t t 8550 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8551 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8552 s,@MICO_VER@,$MICO_VER,;t t 8553 s,@CPP@,$CPP,;t t 8554 s,@EGREP@,$EGREP,;t t 8555 s,@U@,$U,;t t 8556 s,@ANSI2KNR@,$ANSI2KNR,;t t 8557 s,@ALLOCA@,$ALLOCA,;t t 8558 s,@LIBOBJS@,$LIBOBJS,;t t 8559 s,@STATIC@,$STATIC,;t t 8560 s,@gsdlos@,$gsdlos,;t t 8561 s,@MODULEDIRS@,$MODULEDIRS,;t t 8562 s,@subdirs@,$subdirs,;t t 8563 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8564 CEOF 8565 8566 _ACEOF 8567 8568 cat >>$CONFIG_STATUS <<\_ACEOF 8569 # Split the substitutions into bite-sized pieces for seds with 8570 # small command number limits, like on Digital OSF/1 and HP-UX. 8571 ac_max_sed_lines=48 8572 ac_sed_frag=1 # Number of current file. 8573 ac_beg=1 # First line for current file. 8574 ac_end=$ac_max_sed_lines # Line after last line for current file. 8575 ac_more_lines=: 8576 ac_sed_cmds= 8577 while $ac_more_lines; do 8578 if test $ac_beg -gt 1; then 8579 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8580 else 8581 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8582 fi 8583 if test ! -s $tmp/subs.frag; then 8584 ac_more_lines=false 8585 else 8586 # The purpose of the label and of the branching condition is to 8587 # speed up the sed processing (if there are no `@' at all, there 8588 # is no need to browse any of the substitutions). 8589 # These are the two extra sed commands mentioned above. 8590 (echo ':t 8591 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8592 if test -z "$ac_sed_cmds"; then 8593 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8594 else 8595 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8596 fi 8597 ac_sed_frag=`expr $ac_sed_frag + 1` 8598 ac_beg=$ac_end 8599 ac_end=`expr $ac_end + $ac_max_sed_lines` 8600 fi 8601 done 8602 if test -z "$ac_sed_cmds"; then 8603 ac_sed_cmds=cat 7412 8604 fi 7413 done7414 rm -f conf$$subs.sh7415 7416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=17417 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&7418 _ACEOF7419 sed -n '7420 h7421 s/^/S["/; s/!.*/"]=/7422 p7423 g7424 s/^[^!]*!//7425 :repl7426 t repl7427 s/'"$ac_delim"'$//7428 t delim7429 :nl7430 h7431 s/\(.\{148\}\)..*/\1/7432 t more17433 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/7434 p7435 n7436 b repl7437 :more17438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/7439 p7440 g7441 s/.\{148\}//7442 t nl7443 :delim7444 h7445 s/\(.\{148\}\)..*/\1/7446 t more27447 s/["\\]/\\&/g; s/^/"/; s/$/"/7448 p7449 b7450 :more27451 s/["\\]/\\&/g; s/^/"/; s/$/"\\/7452 p7453 g7454 s/.\{148\}//7455 t delim7456 ' <conf$$subs.awk | sed '7457 /^[^""]/{7458 N7459 s/\n//7460 }7461 ' >>$CONFIG_STATUS || ac_write_fail=17462 rm -f conf$$subs.awk7463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=17464 _ACAWK7465 cat >>"\$tmp/subs1.awk" <<_ACAWK &&7466 for (key in S) S_is_set[key] = 17467 FS = ""7468 7469 }7470 {7471 line = $ 07472 nfields = split(line, field, "@")7473 substed = 07474 len = length(field[1])7475 for (i = 2; i < nfields; i++) {7476 key = field[i]7477 keylen = length(key)7478 if (S_is_set[key]) {7479 value = S[key]7480 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)7481 len += length(value) + length(field[++i])7482 substed = 17483 } else7484 len += 1 + keylen7485 }7486 7487 print line7488 }7489 7490 _ACAWK7491 _ACEOF7492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=17493 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then7494 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"7495 else7496 cat7497 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \7498 || as_fn_error $? "could not setup config files machinery" "$LINENO" 57499 _ACEOF7500 7501 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),7502 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and7503 # trailing colons and then remove the whole line if VPATH becomes empty7504 # (actually we leave an empty line to preserve line numbers).7505 if test "x$srcdir" = x.; then7506 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{7507 h7508 s///7509 s/^/:/7510 s/[ ]*$/:/7511 s/:\$(srcdir):/:/g7512 s/:\${srcdir}:/:/g7513 s/:@srcdir@:/:/g7514 s/^:*//7515 s/:*$//7516 x7517 s/\(=[ ]*\).*/\1/7518 G7519 s/\n//7520 s/^[^=]*=[ ]*$//7521 }'7522 fi7523 7524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=17525 8605 fi # test -n "$CONFIG_FILES" 7526 8606 7527 # Set up the scripts for CONFIG_HEADERS section. 7528 # No need to generate them if there are no CONFIG_HEADERS. 7529 # This happens for instance with `./config.status Makefile'. 7530 if test -n "$CONFIG_HEADERS"; then 7531 cat >"$tmp/defines.awk" <<\_ACAWK || 7532 BEGIN { 7533 _ACEOF 7534 7535 # Transform confdefs.h into an awk script `defines.awk', embedded as 7536 # here-document in config.status, that substitutes the proper values into 7537 # config.h.in to produce config.h. 7538 7539 # Create a delimiter string that does not exist in confdefs.h, to ease 7540 # handling of long lines. 7541 ac_delim='%!_!# ' 7542 for ac_last_try in false false :; do 7543 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7544 if test -z "$ac_t"; then 7545 break 7546 elif $ac_last_try; then 7547 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7548 else 7549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7550 fi 7551 done 7552 7553 # For the awk script, D is an array of macro values keyed by name, 7554 # likewise P contains macro parameters if any. Preserve backslash 7555 # newline sequences. 7556 7557 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7558 sed -n ' 7559 s/.\{148\}/&'"$ac_delim"'/g 7560 t rset 7561 :rset 7562 s/^[ ]*#[ ]*define[ ][ ]*/ / 7563 t def 7564 d 7565 :def 7566 s/\\$// 7567 t bsnl 7568 s/["\\]/\\&/g 7569 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7570 D["\1"]=" \3"/p 7571 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7572 d 7573 :bsnl 7574 s/["\\]/\\&/g 7575 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7576 D["\1"]=" \3\\\\\\n"\\/p 7577 t cont 7578 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7579 t cont 7580 d 7581 :cont 7582 n 7583 s/.\{148\}/&'"$ac_delim"'/g 7584 t clear 7585 :clear 7586 s/\\$// 7587 t bsnlc 7588 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7589 d 7590 :bsnlc 7591 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7592 b cont 7593 ' <confdefs.h | sed ' 7594 s/'"$ac_delim"'/"\\\ 7595 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7596 7597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7598 for (key in D) D_is_set[key] = 1 7599 FS = "" 7600 } 7601 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7602 line = \$ 0 7603 split(line, arg, " ") 7604 if (arg[1] == "#") { 7605 defundef = arg[2] 7606 mac1 = arg[3] 7607 } else { 7608 defundef = substr(arg[1], 2) 7609 mac1 = arg[2] 7610 } 7611 split(mac1, mac2, "(") #) 7612 macro = mac2[1] 7613 prefix = substr(line, 1, index(line, defundef) - 1) 7614 if (D_is_set[macro]) { 7615 # Preserve the white space surrounding the "#". 7616 print prefix "define", macro P[macro] D[macro] 7617 next 7618 } else { 7619 # Replace #undef with comments. This is necessary, for example, 7620 # in the case of _POSIX_SOURCE, which is predefined and required 7621 # on some systems where configure will not decide to define it. 7622 if (defundef == "undef") { 7623 print "/*", prefix defundef, macro, "*/" 7624 next 7625 } 7626 } 7627 } 7628 { print } 7629 _ACAWK 7630 _ACEOF 7631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7632 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7633 fi # test -n "$CONFIG_HEADERS" 7634 7635 7636 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7637 shift 7638 for ac_tag 7639 do 7640 case $ac_tag in 7641 :[FHLC]) ac_mode=$ac_tag; continue;; 8607 _ACEOF 8608 cat >>$CONFIG_STATUS <<\_ACEOF 8609 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8610 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8611 case $ac_file in 8612 - | *:- | *:-:* ) # input from stdin 8613 cat >$tmp/stdin 8614 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8615 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8616 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8617 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8618 * ) ac_file_in=$ac_file.in ;; 7642 8619 esac 7643 case $ac_mode$ac_tag in 7644 :[FHL]*:*);; 7645 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 7646 :[FH]-) ac_tag=-:-;; 7647 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7648 esac 7649 ac_save_IFS=$IFS 7650 IFS=: 7651 set x $ac_tag 7652 IFS=$ac_save_IFS 7653 shift 7654 ac_file=$1 7655 shift 7656 7657 case $ac_mode in 7658 :L) ac_source=$1;; 7659 :[FH]) 7660 ac_file_inputs= 7661 for ac_f 7662 do 7663 case $ac_f in 7664 -) ac_f="$tmp/stdin";; 7665 *) # Look for the file first in the build tree, then in the source tree 7666 # (if the path is not absolute). The absolute path cannot be DOS-style, 7667 # because $ac_f cannot contain `:'. 7668 test -f "$ac_f" || 7669 case $ac_f in 7670 [\\/$]*) false;; 7671 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7672 esac || 7673 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 7674 esac 7675 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7676 as_fn_append ac_file_inputs " '$ac_f'" 7677 done 7678 7679 # Let's still pretend it is `configure' which instantiates (i.e., don't 7680 # use $as_me), people would be surprised to read: 7681 # /* config.h. Generated by config.status. */ 7682 configure_input='Generated from '` 7683 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7684 `' by configure.' 7685 if test x"$ac_file" != x-; then 7686 configure_input="$ac_file. $configure_input" 7687 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7688 $as_echo "$as_me: creating $ac_file" >&6;} 7689 fi 7690 # Neutralize special characters interpreted by sed in replacement strings. 7691 case $configure_input in #( 7692 *\&* | *\|* | *\\* ) 7693 ac_sed_conf_input=`$as_echo "$configure_input" | 7694 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7695 *) ac_sed_conf_input=$configure_input;; 7696 esac 7697 7698 case $ac_tag in 7699 *:-:* | *:-) cat >"$tmp/stdin" \ 7700 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7701 esac 7702 ;; 7703 esac 7704 7705 ac_dir=`$as_dirname -- "$ac_file" || 8620 8621 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8622 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7706 8623 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7707 8624 X"$ac_file" : 'X\(//\)[^/]' \| \ 7708 8625 X"$ac_file" : 'X\(//\)$' \| \ 7709 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7710 $as_echo X"$ac_file" | 7711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7712 s//\1/ 7713 q 7714 } 7715 /^X\(\/\/\)[^/].*/{ 7716 s//\1/ 7717 q 7718 } 7719 /^X\(\/\/\)$/{ 7720 s//\1/ 7721 q 7722 } 7723 /^X\(\/\).*/{ 7724 s//\1/ 7725 q 7726 } 7727 s/.*/./; q'` 7728 as_dir="$ac_dir"; as_fn_mkdir_p 8626 X"$ac_file" : 'X\(/\)' \| \ 8627 . : '\(.\)' 2>/dev/null || 8628 echo X"$ac_file" | 8629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8630 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8631 /^X\(\/\/\)$/{ s//\1/; q; } 8632 /^X\(\/\).*/{ s//\1/; q; } 8633 s/.*/./; q'` 8634 { if $as_mkdir_p; then 8635 mkdir -p "$ac_dir" 8636 else 8637 as_dir="$ac_dir" 8638 as_dirs= 8639 while test ! -d "$as_dir"; do 8640 as_dirs="$as_dir $as_dirs" 8641 as_dir=`(dirname "$as_dir") 2>/dev/null || 8642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8643 X"$as_dir" : 'X\(//\)[^/]' \| \ 8644 X"$as_dir" : 'X\(//\)$' \| \ 8645 X"$as_dir" : 'X\(/\)' \| \ 8646 . : '\(.\)' 2>/dev/null || 8647 echo X"$as_dir" | 8648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8649 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8650 /^X\(\/\/\)$/{ s//\1/; q; } 8651 /^X\(\/\).*/{ s//\1/; q; } 8652 s/.*/./; q'` 8653 done 8654 test ! -n "$as_dirs" || mkdir $as_dirs 8655 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8656 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8657 { (exit 1); exit 1; }; }; } 8658 7729 8659 ac_builddir=. 7730 8660 7731 case "$ac_dir" in 7732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8661 if test "$ac_dir" != .; then 8662 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8663 # A "../" for each directory in $ac_dir_suffix. 8664 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8665 else 8666 ac_dir_suffix= ac_top_builddir= 8667 fi 8668 8669 case $srcdir in 8670 .) # No --srcdir option. We are building in place. 8671 ac_srcdir=. 8672 if test -z "$ac_top_builddir"; then 8673 ac_top_srcdir=. 8674 else 8675 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8676 fi ;; 8677 [\\/]* | ?:[\\/]* ) # Absolute path. 8678 ac_srcdir=$srcdir$ac_dir_suffix; 8679 ac_top_srcdir=$srcdir ;; 8680 *) # Relative path. 8681 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8682 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8683 esac 8684 8685 # Do not use `cd foo && pwd` to compute absolute paths, because 8686 # the directories may not exist. 8687 case `pwd` in 8688 .) ac_abs_builddir="$ac_dir";; 7733 8689 *) 7734 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7735 # A ".." for each directory in $ac_dir_suffix. 7736 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7737 case $ac_top_builddir_sub in 7738 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7739 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7740 esac ;; 8690 case "$ac_dir" in 8691 .) ac_abs_builddir=`pwd`;; 8692 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8693 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8694 esac;; 7741 8695 esac 7742 ac_abs_top_builddir=$ac_pwd 7743 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7744 # for backward compatibility: 7745 ac_top_builddir=$ac_top_build_prefix 7746 7747 case $srcdir in 7748 .) # We are building in place. 7749 ac_srcdir=. 7750 ac_top_srcdir=$ac_top_builddir_sub 7751 ac_abs_top_srcdir=$ac_pwd ;; 7752 [\\/]* | ?:[\\/]* ) # Absolute name. 7753 ac_srcdir=$srcdir$ac_dir_suffix; 7754 ac_top_srcdir=$srcdir 7755 ac_abs_top_srcdir=$srcdir ;; 7756 *) # Relative name. 7757 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7758 ac_top_srcdir=$ac_top_build_prefix$srcdir 7759 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8696 case $ac_abs_builddir in 8697 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8698 *) 8699 case ${ac_top_builddir}. in 8700 .) ac_abs_top_builddir=$ac_abs_builddir;; 8701 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8702 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8703 esac;; 7760 8704 esac 7761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7762 7763 7764 case $ac_mode in 7765 :F) 7766 # 7767 # CONFIG_FILE 7768 # 8705 case $ac_abs_builddir in 8706 .) ac_abs_srcdir=$ac_srcdir;; 8707 *) 8708 case $ac_srcdir in 8709 .) ac_abs_srcdir=$ac_abs_builddir;; 8710 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8711 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8712 esac;; 8713 esac 8714 case $ac_abs_builddir in 8715 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8716 *) 8717 case $ac_top_srcdir in 8718 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8719 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8720 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8721 esac;; 8722 esac 8723 7769 8724 7770 8725 case $INSTALL in 7771 8726 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7772 *) ac_INSTALL=$ac_top_build _prefix$INSTALL ;;8727 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 7773 8728 esac 7774 _ACEOF 7775 7776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7777 # If the template does not know about datarootdir, expand it. 7778 # FIXME: This hack should be removed a few years after 2.60. 7779 ac_datarootdir_hack=; ac_datarootdir_seen= 7780 ac_sed_dataroot=' 7781 /datarootdir/ { 7782 p 7783 q 7784 } 7785 /@datadir@/p 7786 /@docdir@/p 7787 /@infodir@/p 7788 /@localedir@/p 7789 /@mandir@/p' 7790 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7791 *datarootdir*) ac_datarootdir_seen=yes;; 7792 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7794 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7795 _ACEOF 7796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7797 ac_datarootdir_hack=' 7798 s&@datadir@&$datadir&g 7799 s&@docdir@&$docdir&g 7800 s&@infodir@&$infodir&g 7801 s&@localedir@&$localedir&g 7802 s&@mandir@&$mandir&g 7803 s&\\\${datarootdir}&$datarootdir&g' ;; 7804 esac 7805 _ACEOF 7806 7807 # Neutralize VPATH when `$srcdir' = `.'. 7808 # Shell code in configure.ac might set extrasub. 7809 # FIXME: do we really want to maintain this feature? 7810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7811 ac_sed_extra="$ac_vpsub 8729 8730 if test x"$ac_file" != x-; then 8731 { echo "$as_me:$LINENO: creating $ac_file" >&5 8732 echo "$as_me: creating $ac_file" >&6;} 8733 rm -f "$ac_file" 8734 fi 8735 # Let's still pretend it is `configure' which instantiates (i.e., don't 8736 # use $as_me), people would be surprised to read: 8737 # /* config.h. Generated by config.status. */ 8738 if test x"$ac_file" = x-; then 8739 configure_input= 8740 else 8741 configure_input="$ac_file. " 8742 fi 8743 configure_input=$configure_input"Generated from `echo $ac_file_in | 8744 sed 's,.*/,,'` by configure." 8745 8746 # First look for the input files in the build tree, otherwise in the 8747 # src tree. 8748 ac_file_inputs=`IFS=: 8749 for f in $ac_file_in; do 8750 case $f in 8751 -) echo $tmp/stdin ;; 8752 [\\/$]*) 8753 # Absolute (can't be DOS-style, as IFS=:) 8754 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8755 echo "$as_me: error: cannot find input file: $f" >&2;} 8756 { (exit 1); exit 1; }; } 8757 echo "$f";; 8758 *) # Relative 8759 if test -f "$f"; then 8760 # Build tree 8761 echo "$f" 8762 elif test -f "$srcdir/$f"; then 8763 # Source tree 8764 echo "$srcdir/$f" 8765 else 8766 # /dev/null tree 8767 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8768 echo "$as_me: error: cannot find input file: $f" >&2;} 8769 { (exit 1); exit 1; }; } 8770 fi;; 8771 esac 8772 done` || { (exit 1); exit 1; } 8773 _ACEOF 8774 cat >>$CONFIG_STATUS <<_ACEOF 8775 sed "$ac_vpsub 7812 8776 $extrasub 7813 8777 _ACEOF 7814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=18778 cat >>$CONFIG_STATUS <<\_ACEOF 7815 8779 :t 7816 8780 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7817 s|@configure_input@|$ac_sed_conf_input|;t t 7818 s&@top_builddir@&$ac_top_builddir_sub&;t t 7819 s&@top_build_prefix@&$ac_top_build_prefix&;t t 7820 s&@srcdir@&$ac_srcdir&;t t 7821 s&@abs_srcdir@&$ac_abs_srcdir&;t t 7822 s&@top_srcdir@&$ac_top_srcdir&;t t 7823 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7824 s&@builddir@&$ac_builddir&;t t 7825 s&@abs_builddir@&$ac_abs_builddir&;t t 7826 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7827 s&@INSTALL@&$ac_INSTALL&;t t 7828 $ac_datarootdir_hack 7829 " 7830 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7831 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7832 7833 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7834 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7835 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7837 which seems to be undefined. Please make sure it is defined" >&5 7838 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7839 which seems to be undefined. Please make sure it is defined" >&2;} 7840 7841 rm -f "$tmp/stdin" 8781 s,@configure_input@,$configure_input,;t t 8782 s,@srcdir@,$ac_srcdir,;t t 8783 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8784 s,@top_srcdir@,$ac_top_srcdir,;t t 8785 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8786 s,@builddir@,$ac_builddir,;t t 8787 s,@abs_builddir@,$ac_abs_builddir,;t t 8788 s,@top_builddir@,$ac_top_builddir,;t t 8789 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8790 s,@INSTALL@,$ac_INSTALL,;t t 8791 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8792 rm -f $tmp/stdin 8793 if test x"$ac_file" != x-; then 8794 mv $tmp/out $ac_file 8795 else 8796 cat $tmp/out 8797 rm -f $tmp/out 8798 fi 8799 8800 done 8801 _ACEOF 8802 cat >>$CONFIG_STATUS <<\_ACEOF 8803 8804 # 8805 # CONFIG_HEADER section. 8806 # 8807 8808 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8809 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8810 # 8811 # ac_d sets the value in "#define NAME VALUE" lines. 8812 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8813 ac_dB='[ ].*$,\1#\2' 8814 ac_dC=' ' 8815 ac_dD=',;t' 8816 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8817 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8818 ac_uB='$,\1#\2define\3' 8819 ac_uC=' ' 8820 ac_uD=',;t' 8821 8822 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8823 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7842 8824 case $ac_file in 7843 -) cat "$tmp/out" && rm -f "$tmp/out";; 7844 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7845 esac \ 7846 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7847 ;; 7848 :H) 7849 # 7850 # CONFIG_HEADER 7851 # 8825 - | *:- | *:-:* ) # input from stdin 8826 cat >$tmp/stdin 8827 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8828 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8829 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8830 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8831 * ) ac_file_in=$ac_file.in ;; 8832 esac 8833 8834 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8835 echo "$as_me: creating $ac_file" >&6;} 8836 8837 # First look for the input files in the build tree, otherwise in the 8838 # src tree. 8839 ac_file_inputs=`IFS=: 8840 for f in $ac_file_in; do 8841 case $f in 8842 -) echo $tmp/stdin ;; 8843 [\\/$]*) 8844 # Absolute (can't be DOS-style, as IFS=:) 8845 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8846 echo "$as_me: error: cannot find input file: $f" >&2;} 8847 { (exit 1); exit 1; }; } 8848 # Do quote $f, to prevent DOS paths from being IFS'd. 8849 echo "$f";; 8850 *) # Relative 8851 if test -f "$f"; then 8852 # Build tree 8853 echo "$f" 8854 elif test -f "$srcdir/$f"; then 8855 # Source tree 8856 echo "$srcdir/$f" 8857 else 8858 # /dev/null tree 8859 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8860 echo "$as_me: error: cannot find input file: $f" >&2;} 8861 { (exit 1); exit 1; }; } 8862 fi;; 8863 esac 8864 done` || { (exit 1); exit 1; } 8865 # Remove the trailing spaces. 8866 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8867 8868 _ACEOF 8869 8870 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8871 # `conftest.undefs', that substitutes the proper values into 8872 # config.h.in to produce config.h. The first handles `#define' 8873 # templates, and the second `#undef' templates. 8874 # And first: Protect against being on the right side of a sed subst in 8875 # config.status. Protect against being in an unquoted here document 8876 # in config.status. 8877 rm -f conftest.defines conftest.undefs 8878 # Using a here document instead of a string reduces the quoting nightmare. 8879 # Putting comments in sed scripts is not portable. 8880 # 8881 # `end' is used to avoid that the second main sed command (meant for 8882 # 0-ary CPP macros) applies to n-ary macro definitions. 8883 # See the Autoconf documentation for `clear'. 8884 cat >confdef2sed.sed <<\_ACEOF 8885 s/[\\&,]/\\&/g 8886 s,[\\$`],\\&,g 8887 t clear 8888 : clear 8889 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8890 t end 8891 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8892 : end 8893 _ACEOF 8894 # If some macros were called several times there might be several times 8895 # the same #defines, which is useless. Nevertheless, we may not want to 8896 # sort them, since we want the *last* AC-DEFINE to be honored. 8897 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8898 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8899 rm -f confdef2sed.sed 8900 8901 # This sed command replaces #undef with comments. This is necessary, for 8902 # example, in the case of _POSIX_SOURCE, which is predefined and required 8903 # on some systems where configure will not decide to define it. 8904 cat >>conftest.undefs <<\_ACEOF 8905 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8906 _ACEOF 8907 8908 # Break up conftest.defines because some shells have a limit on the size 8909 # of here documents, and old seds have small limits too (100 cmds). 8910 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8911 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8912 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8913 echo ' :' >>$CONFIG_STATUS 8914 rm -f conftest.tail 8915 while grep . conftest.defines >/dev/null 8916 do 8917 # Write a limited-size here document to $tmp/defines.sed. 8918 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8919 # Speed up: don't consider the non `#define' lines. 8920 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8921 # Work around the forget-to-reset-the-flag bug. 8922 echo 't clr' >>$CONFIG_STATUS 8923 echo ': clr' >>$CONFIG_STATUS 8924 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 8925 echo 'CEOF 8926 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8927 rm -f $tmp/in 8928 mv $tmp/out $tmp/in 8929 ' >>$CONFIG_STATUS 8930 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 8931 rm -f conftest.defines 8932 mv conftest.tail conftest.defines 8933 done 8934 rm -f conftest.defines 8935 echo ' fi # grep' >>$CONFIG_STATUS 8936 echo >>$CONFIG_STATUS 8937 8938 # Break up conftest.undefs because some shells have a limit on the size 8939 # of here documents, and old seds have small limits too (100 cmds). 8940 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8941 rm -f conftest.tail 8942 while grep . conftest.undefs >/dev/null 8943 do 8944 # Write a limited-size here document to $tmp/undefs.sed. 8945 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8946 # Speed up: don't consider the non `#undef' 8947 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8948 # Work around the forget-to-reset-the-flag bug. 8949 echo 't clr' >>$CONFIG_STATUS 8950 echo ': clr' >>$CONFIG_STATUS 8951 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8952 echo 'CEOF 8953 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8954 rm -f $tmp/in 8955 mv $tmp/out $tmp/in 8956 ' >>$CONFIG_STATUS 8957 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8958 rm -f conftest.undefs 8959 mv conftest.tail conftest.undefs 8960 done 8961 rm -f conftest.undefs 8962 8963 cat >>$CONFIG_STATUS <<\_ACEOF 8964 # Let's still pretend it is `configure' which instantiates (i.e., don't 8965 # use $as_me), people would be surprised to read: 8966 # /* config.h. Generated by config.status. */ 8967 if test x"$ac_file" = x-; then 8968 echo "/* Generated by configure. */" >$tmp/config.h 8969 else 8970 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 8971 fi 8972 cat $tmp/in >>$tmp/config.h 8973 rm -f $tmp/in 7852 8974 if test x"$ac_file" != x-; then 7853 { 7854 $as_echo "/* $configure_input */" \ 7855 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7856 } >"$tmp/config.h" \ 7857 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7858 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7859 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7860 $as_echo "$as_me: $ac_file is unchanged" >&6;} 8975 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8976 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8977 echo "$as_me: $ac_file is unchanged" >&6;} 7861 8978 else 7862 rm -f "$ac_file" 7863 mv "$tmp/config.h" "$ac_file" \ 7864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8979 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8980 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8981 X"$ac_file" : 'X\(//\)[^/]' \| \ 8982 X"$ac_file" : 'X\(//\)$' \| \ 8983 X"$ac_file" : 'X\(/\)' \| \ 8984 . : '\(.\)' 2>/dev/null || 8985 echo X"$ac_file" | 8986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8987 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8988 /^X\(\/\/\)$/{ s//\1/; q; } 8989 /^X\(\/\).*/{ s//\1/; q; } 8990 s/.*/./; q'` 8991 { if $as_mkdir_p; then 8992 mkdir -p "$ac_dir" 8993 else 8994 as_dir="$ac_dir" 8995 as_dirs= 8996 while test ! -d "$as_dir"; do 8997 as_dirs="$as_dir $as_dirs" 8998 as_dir=`(dirname "$as_dir") 2>/dev/null || 8999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9000 X"$as_dir" : 'X\(//\)[^/]' \| \ 9001 X"$as_dir" : 'X\(//\)$' \| \ 9002 X"$as_dir" : 'X\(/\)' \| \ 9003 . : '\(.\)' 2>/dev/null || 9004 echo X"$as_dir" | 9005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9006 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9007 /^X\(\/\/\)$/{ s//\1/; q; } 9008 /^X\(\/\).*/{ s//\1/; q; } 9009 s/.*/./; q'` 9010 done 9011 test ! -n "$as_dirs" || mkdir $as_dirs 9012 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9013 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9014 { (exit 1); exit 1; }; }; } 9015 9016 rm -f $ac_file 9017 mv $tmp/config.h $ac_file 7865 9018 fi 7866 9019 else 7867 $as_echo "/* $configure_input */" \ 7868 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7869 || as_fn_error $? "could not create -" "$LINENO" 5 9020 cat $tmp/config.h 9021 rm -f $tmp/config.h 7870 9022 fi 7871 ;; 7872 7873 7874 esac 7875 7876 done # for ac_tag 7877 7878 7879 as_fn_exit 0 7880 _ACEOF 9023 done 9024 _ACEOF 9025 9026 cat >>$CONFIG_STATUS <<\_ACEOF 9027 9028 { (exit 0); exit 0; } 9029 _ACEOF 9030 chmod +x $CONFIG_STATUS 7881 9031 ac_clean_files=$ac_clean_files_save 7882 7883 test $ac_write_fail = 0 ||7884 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 57885 9032 7886 9033 … … 7903 9050 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7904 9051 # would make configure fail if this is the last instruction. 7905 $ac_cs_success || as_fn_exit 19052 $ac_cs_success || { (exit 1); exit 1; } 7906 9053 fi 7907 9054 … … 7911 9058 if test "$no_recursion" != yes; then 7912 9059 7913 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 7914 # so they do not pile up. 9060 # Remove --cache-file and --srcdir arguments so they do not pile up. 7915 9061 ac_sub_configure_args= 7916 9062 ac_prev= 7917 eval "set x $ac_configure_args" 7918 shift 7919 for ac_arg 7920 do 9063 for ac_arg in $ac_configure_args; do 7921 9064 if test -n "$ac_prev"; then 7922 9065 ac_prev= … … 7941 9084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 7942 9085 ;; 7943 --disable-option-checking) 7944 ;; 7945 *) 7946 case $ac_arg in 7947 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 7948 esac 7949 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 9086 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 7950 9087 esac 7951 9088 done … … 7953 9090 # Always prepend --prefix to ensure using the same prefix 7954 9091 # in subdir configurations. 7955 ac_arg="--prefix=$prefix" 7956 case $ac_arg in 7957 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 7958 esac 7959 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 7960 7961 # Pass --silent 7962 if test "$silent" = yes; then 7963 ac_sub_configure_args="--silent $ac_sub_configure_args" 7964 fi 7965 7966 # Always prepend --disable-option-checking to silence warnings, since 7967 # different subdirs can have different --enable and --with options. 7968 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 9092 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 7969 9093 7970 9094 ac_popdir=`pwd` … … 7973 9097 # Do not complain, so a configure script can configure whichever 7974 9098 # parts of a large source tree are present. 7975 test -d "$srcdir/$ac_dir" || continue 7976 7977 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 7978 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 7979 $as_echo "$ac_msg" >&6 7980 as_dir="$ac_dir"; as_fn_mkdir_p 9099 test -d $srcdir/$ac_dir || continue 9100 9101 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 9102 echo "$as_me: configuring in $ac_dir" >&6;} 9103 { if $as_mkdir_p; then 9104 mkdir -p "$ac_dir" 9105 else 9106 as_dir="$ac_dir" 9107 as_dirs= 9108 while test ! -d "$as_dir"; do 9109 as_dirs="$as_dir $as_dirs" 9110 as_dir=`(dirname "$as_dir") 2>/dev/null || 9111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9112 X"$as_dir" : 'X\(//\)[^/]' \| \ 9113 X"$as_dir" : 'X\(//\)$' \| \ 9114 X"$as_dir" : 'X\(/\)' \| \ 9115 . : '\(.\)' 2>/dev/null || 9116 echo X"$as_dir" | 9117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9118 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9119 /^X\(\/\/\)$/{ s//\1/; q; } 9120 /^X\(\/\).*/{ s//\1/; q; } 9121 s/.*/./; q'` 9122 done 9123 test ! -n "$as_dirs" || mkdir $as_dirs 9124 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9125 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9126 { (exit 1); exit 1; }; }; } 9127 7981 9128 ac_builddir=. 7982 9129 7983 case "$ac_dir" in 7984 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9130 if test "$ac_dir" != .; then 9131 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9132 # A "../" for each directory in $ac_dir_suffix. 9133 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9134 else 9135 ac_dir_suffix= ac_top_builddir= 9136 fi 9137 9138 case $srcdir in 9139 .) # No --srcdir option. We are building in place. 9140 ac_srcdir=. 9141 if test -z "$ac_top_builddir"; then 9142 ac_top_srcdir=. 9143 else 9144 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9145 fi ;; 9146 [\\/]* | ?:[\\/]* ) # Absolute path. 9147 ac_srcdir=$srcdir$ac_dir_suffix; 9148 ac_top_srcdir=$srcdir ;; 9149 *) # Relative path. 9150 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9151 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9152 esac 9153 9154 # Do not use `cd foo && pwd` to compute absolute paths, because 9155 # the directories may not exist. 9156 case `pwd` in 9157 .) ac_abs_builddir="$ac_dir";; 7985 9158 *) 7986 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7987 # A ".." for each directory in $ac_dir_suffix. 7988 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7989 case $ac_top_builddir_sub in 7990 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7991 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7992 esac ;; 9159 case "$ac_dir" in 9160 .) ac_abs_builddir=`pwd`;; 9161 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9162 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9163 esac;; 7993 9164 esac 7994 ac_abs_top_builddir=$ac_pwd 7995 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7996 # for backward compatibility: 7997 ac_top_builddir=$ac_top_build_prefix 7998 7999 case $srcdir in 8000 .) # We are building in place. 8001 ac_srcdir=. 8002 ac_top_srcdir=$ac_top_builddir_sub 8003 ac_abs_top_srcdir=$ac_pwd ;; 8004 [\\/]* | ?:[\\/]* ) # Absolute name. 8005 ac_srcdir=$srcdir$ac_dir_suffix; 8006 ac_top_srcdir=$srcdir 8007 ac_abs_top_srcdir=$srcdir ;; 8008 *) # Relative name. 8009 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8010 ac_top_srcdir=$ac_top_build_prefix$srcdir 8011 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9165 case $ac_abs_builddir in 9166 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9167 *) 9168 case ${ac_top_builddir}. in 9169 .) ac_abs_top_builddir=$ac_abs_builddir;; 9170 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9171 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9172 esac;; 8012 9173 esac 8013 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8014 8015 8016 cd "$ac_dir" 9174 case $ac_abs_builddir in 9175 .) ac_abs_srcdir=$ac_srcdir;; 9176 *) 9177 case $ac_srcdir in 9178 .) ac_abs_srcdir=$ac_abs_builddir;; 9179 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9180 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9181 esac;; 9182 esac 9183 case $ac_abs_builddir in 9184 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9185 *) 9186 case $ac_top_srcdir in 9187 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9188 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9189 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9190 esac;; 9191 esac 9192 9193 9194 cd $ac_dir 8017 9195 8018 9196 # Check for guested configure; otherwise get Cygnus style configure. 8019 if test -f "$ac_srcdir/configure.gnu"; then 8020 ac_sub_configure=$ac_srcdir/configure.gnu 8021 elif test -f "$ac_srcdir/configure"; then 8022 ac_sub_configure=$ac_srcdir/configure 8023 elif test -f "$ac_srcdir/configure.in"; then 8024 # This should be Cygnus configure. 8025 ac_sub_configure=$ac_aux_dir/configure 9197 if test -f $ac_srcdir/configure.gnu; then 9198 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 9199 elif test -f $ac_srcdir/configure; then 9200 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 9201 elif test -f $ac_srcdir/configure.in; then 9202 ac_sub_configure=$ac_configure 8026 9203 else 8027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&58028 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}9204 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9205 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 8029 9206 ac_sub_configure= 8030 9207 fi … … 8035 9212 case $cache_file in 8036 9213 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8037 *) # Relative name.8038 ac_sub_cache_file=$ac_top_build _prefix$cache_file ;;9214 *) # Relative path. 9215 ac_sub_cache_file=$ac_top_builddir$cache_file ;; 8039 9216 esac 8040 9217 8041 { $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" >&58042 $as_echo "$as_me: running $SHELL$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}9218 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 9219 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8043 9220 # The eval makes quoting arguments work. 8044 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 8045 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 8046 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 9221 eval $ac_sub_configure $ac_sub_configure_args \ 9222 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || 9223 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 9224 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9225 { (exit 1); exit 1; }; } 8047 9226 fi 8048 9227 8049 cd "$ac_popdir"9228 cd $ac_popdir 8050 9229 done 8051 9230 fi 8052 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8054 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8055 fi 8056 8057 8058 9231 9232 9233 -
main/trunk/greenstone2/build-src/configure.in
r23356 r23800 87 87 fi 88 88 AC_SUBST(ENABLE_JAVA) 89 90 dnl 91 dnl Set use of wvware (enabled by default) 92 dnl 93 AC_ARG_ENABLE(wvware, [ --disable-wvware Disable wvWare compilation], USE_WVWARE=$enableval, USE_WVWARE=yes) 94 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 95 USE_WVWARE=1 96 AC_DEFINE(USE_WVWARE,[]) 97 else 98 USE_WVWARE=0 99 fi 100 AC_SUBST(USE_WVWARE) 89 101 90 102 dnl -
main/trunk/greenstone2/build-src/packages/Makefile
r22157 r23800 29 29 # is assumed that each package will have at least four rules: all, install, 30 30 # clean, and distclean. 31 PACKAGEDIRS = wv/wv-gs rtftohtml/rtftohtml_src pdftohtml/pdftohtml_gs \ 31 32 PACKAGEDIRS = 33 34 USE_WVWARE=0 35 ifeq ($(USE_WVWARE), 1) 36 PACKAGEDIRS += wv/wv-gs 37 endif 38 39 PACKAGEDIRS += rtftohtml/rtftohtml_src pdftohtml/pdftohtml_gs \ 32 40 wget/wget-1.11.4 cpan/XML-Parser-2.34 \ 33 41 xlhtml/xlhtml-0.4.9.0 isis-gdl html-tidy/tidy 34 35 42 36 43 all: -
main/trunk/greenstone2/build-src/packages/Makefile.in
r22157 r23800 29 29 # is assumed that each package will have at least four rules: all, install, 30 30 # clean, and distclean. 31 PACKAGEDIRS = wv/wv-gs rtftohtml/rtftohtml_src pdftohtml/pdftohtml_gs \ 31 32 PACKAGEDIRS = 33 34 USE_WVWARE=@USE_WVWARE@ 35 ifeq ($(USE_WVWARE), 1) 36 PACKAGEDIRS += wv/wv-gs 37 endif 38 39 PACKAGEDIRS += rtftohtml/rtftohtml_src pdftohtml/pdftohtml_gs \ 32 40 wget/wget-1.11.4 cpan/XML-Parser-2.34 \ 33 41 xlhtml/xlhtml-0.4.9.0 isis-gdl html-tidy/tidy 34 35 42 36 43 all: -
main/trunk/greenstone2/build-src/packages/configure
r23588 r23800 22 22 ENVIRONMENT="" 23 23 24 # WVWARE compilation enabled by default, can switch it off with --disable-wvware 25 USE_WVWARE=true 24 26 # GDBM compilation enabled by default, can switch it off with --disable-gdbm 25 27 USE_GDBM=true … … 52 54 CACHE_FILE="--cache-file=$cache_file" 53 55 fi 56 ;; 57 --disable-wvware) 58 USE_WVWARE=false 54 59 ;; 55 60 --disable-gdbm) … … 135 140 echo "" 136 141 137 cd "$PACKAGES/wv" 138 gzip -dc wv-1.2.4-gs.tar.gz | tar -xf - 139 # datadir is for default location of wvHtml.xml config file 140 cd wv-gs && \ 141 ./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" --libdir="$libdir" --datadir="$prefix/etc/packages" $HOSTTARGETFLAGS 142 # datadir flag is for default location of wvHtml.xml config file 143 if test x$USE_WVWARE = xtrue ; 144 then 145 cd "$PACKAGES/wv" 146 gzip -dc wv-1.2.4-gs.tar.gz | tar -xf - 147 cd wv-gs && \ 148 ./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" --libdir="$libdir" --datadir="$prefix/etc/packages" $HOSTTARGETFLAGS 149 else 150 echo "wvWare support disabled." 151 echo " add '--enable-wvware' to the configure command to include wvWare support." 152 echo "" 153 fi 142 154 143 155 # configure the pdftohtml converter
Note:
See TracChangeset
for help on using the changeset viewer.