Changeset 23802
- Timestamp:
- 2011-03-23T14:10:02+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/configure
r23356 r23802 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 ac_ct_CXX 630 CXXFLAGS 631 CXX 632 OBJEXT 633 EXEEXT 634 ac_ct_CC 635 CPPFLAGS 636 CC 637 CFLAGS 638 LDFLAGS 639 ENABLE_LUCENE 640 ENABLE_MGPP 641 ENABLE_MG 642 ENABLE_JNI 643 USE_APACHE_HTTPD 644 USE_SQLITE 645 ENABLE_ACCENTFOLD 646 USE_GDBM 647 USE_JDBM 648 USE_YAZ 649 USE_Z3950 650 ENABLE_JAVA 651 MICO_DIR 652 USE_CORBA 653 USE_LANGACTION 654 USE_FASTCGI 655 VERSION 656 PACKAGE 657 target_alias 658 host_alias 659 build_alias 660 LIBS 661 ECHO_T 662 ECHO_N 663 ECHO_C 664 DEFS 665 mandir 666 localedir 667 libdir 668 psdir 669 pdfdir 670 dvidir 671 htmldir 672 infodir 673 docdir 674 oldincludedir 675 includedir 676 localstatedir 677 sharedstatedir 678 sysconfdir 679 datadir 680 datarootdir 681 libexecdir 682 sbindir 683 bindir 684 program_transform_name 685 prefix 686 exec_prefix 687 PACKAGE_URL 688 PACKAGE_BUGREPORT 689 PACKAGE_STRING 690 PACKAGE_VERSION 691 PACKAGE_TARNAME 692 PACKAGE_NAME 693 PATH_SEPARATOR 694 SHELL' 311 ac_subdirs_all="$ac_subdirs_all common-src" 312 ac_subdirs_all="$ac_subdirs_all build-src" 313 ac_subdirs_all="$ac_subdirs_all runtime-src" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR ENABLE_JAVA USE_Z3950 USE_YAZ USE_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 695 315 ac_subst_files='' 696 ac_user_opts='697 enable_option_checking698 enable_corba699 with_micodir700 enable_java701 enable_z3950702 enable_yaz703 enable_jdbm704 enable_gdbm705 enable_accentfold706 enable_sqlite707 enable_apache_httpd708 enable_jni709 enable_mg710 enable_mgpp711 enable_lucene712 with_dmalloc713 with_regex714 '715 ac_precious_vars='build_alias716 host_alias717 target_alias718 CC719 CFLAGS720 LDFLAGS721 LIBS722 CPPFLAGS723 CXX724 CXXFLAGS725 CCC726 YACC727 YFLAGS728 CPP'729 ac_subdirs_all='common-src730 build-src731 runtime-src'732 316 733 317 # Initialize some variables set by options. 734 318 ac_init_help= 735 319 ac_init_version=false 736 ac_unrecognized_opts=737 ac_unrecognized_sep=738 320 # The variables have the same names as the options, with 739 321 # dashes changed to underlines. … … 758 340 # by default will actually change. 759 341 # Use braces instead of parens because sh, perl, etc. also accept them. 760 # (The list follows the same order as the GNU Coding Standards.)761 342 bindir='${exec_prefix}/bin' 762 343 sbindir='${exec_prefix}/sbin' 763 344 libexecdir='${exec_prefix}/libexec' 764 datarootdir='${prefix}/share' 765 datadir='${datarootdir}' 345 datadir='${prefix}/share' 766 346 sysconfdir='${prefix}/etc' 767 347 sharedstatedir='${prefix}/com' 768 348 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib' 769 350 includedir='${prefix}/include' 770 351 oldincludedir='/usr/include' 771 docdir='${datarootdir}/doc/${PACKAGE}' 772 infodir='${datarootdir}/info' 773 htmldir='${docdir}' 774 dvidir='${docdir}' 775 pdfdir='${docdir}' 776 psdir='${docdir}' 777 libdir='${exec_prefix}/lib' 778 localedir='${datarootdir}/locale' 779 mandir='${datarootdir}/man' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 780 354 781 355 ac_prev= 782 ac_dashdash=783 356 for ac_option 784 357 do 785 358 # If the previous option needs an argument, assign it. 786 359 if test -n "$ac_prev"; then 787 eval $ac_prev=\$ac_option360 eval "$ac_prev=\$ac_option" 788 361 ac_prev= 789 362 continue 790 363 fi 791 364 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 366 367 # Accept the important Cygnus configure options, so we can diagnose typos. 368 792 369 case $ac_option in 793 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;794 *=) ac_optarg= ;;795 *) ac_optarg=yes ;;796 esac797 798 # Accept the important Cygnus configure options, so we can diagnose typos.799 800 case $ac_dashdash$ac_option in801 --)802 ac_dashdash=yes ;;803 370 804 371 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 822 389 cache_file=config.cache ;; 823 390 824 -datadir | --datadir | --datadi | --datad )391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 825 392 ac_prev=datadir ;; 826 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 827 395 datadir=$ac_optarg ;; 828 396 829 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \830 | --dataroo | --dataro | --datar)831 ac_prev=datarootdir ;;832 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \833 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)834 datarootdir=$ac_optarg ;;835 836 397 -disable-* | --disable-*) 837 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 838 399 # Reject names that are not valid shell variable names. 839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 840 as_fn_error $? "invalid feature name: $ac_useropt" 841 ac_useropt_orig=$ac_useropt 842 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 843 case $ac_user_opts in 844 *" 845 "enable_$ac_useropt" 846 "*) ;; 847 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 848 ac_unrecognized_sep=', ';; 400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 402 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 405 406 -enable-* | --enable-*) 407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 # Reject names that are not valid shell variable names. 409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 411 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 849 416 esac 850 eval enable_$ac_useropt=no ;; 851 852 -docdir | --docdir | --docdi | --doc | --do) 853 ac_prev=docdir ;; 854 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 855 docdir=$ac_optarg ;; 856 857 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 858 ac_prev=dvidir ;; 859 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 860 dvidir=$ac_optarg ;; 861 862 -enable-* | --enable-*) 863 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 864 # Reject names that are not valid shell variable names. 865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 866 as_fn_error $? "invalid feature name: $ac_useropt" 867 ac_useropt_orig=$ac_useropt 868 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 869 case $ac_user_opts in 870 *" 871 "enable_$ac_useropt" 872 "*) ;; 873 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 874 ac_unrecognized_sep=', ';; 875 esac 876 eval enable_$ac_useropt=\$ac_optarg ;; 417 eval "enable_$ac_feature='$ac_optarg'" ;; 877 418 878 419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 901 442 host_alias=$ac_optarg ;; 902 443 903 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)904 ac_prev=htmldir ;;905 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \906 | --ht=*)907 htmldir=$ac_optarg ;;908 909 444 -includedir | --includedir | --includedi | --included | --include \ 910 445 | --includ | --inclu | --incl | --inc) … … 931 466 libexecdir=$ac_optarg ;; 932 467 933 -localedir | --localedir | --localedi | --localed | --locale)934 ac_prev=localedir ;;935 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)936 localedir=$ac_optarg ;;937 938 468 -localstatedir | --localstatedir | --localstatedi | --localstated \ 939 | --localstate | --localstat | --localsta | --localst | --locals) 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 940 471 ac_prev=localstatedir ;; 941 472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 942 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 943 475 localstatedir=$ac_optarg ;; 944 476 … … 1005 537 program_transform_name=$ac_optarg ;; 1006 538 1007 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)1008 ac_prev=pdfdir ;;1009 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)1010 pdfdir=$ac_optarg ;;1011 1012 -psdir | --psdir | --psdi | --psd | --ps)1013 ac_prev=psdir ;;1014 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)1015 psdir=$ac_optarg ;;1016 1017 539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1018 540 | -silent | --silent | --silen | --sile | --sil) … … 1065 587 1066 588 -with-* | --with-*) 1067 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1068 590 # Reject names that are not valid shell variable names. 1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1070 as_fn_error $? "invalid package name: $ac_useropt" 1071 ac_useropt_orig=$ac_useropt 1072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1073 case $ac_user_opts in 1074 *" 1075 "with_$ac_useropt" 1076 "*) ;; 1077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1078 ac_unrecognized_sep=', ';; 591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 592 { echo "$as_me: error: invalid package name: $ac_package" >&2 593 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 1079 598 esac 1080 eval with_$ac_useropt=\$ac_optarg;;599 eval "with_$ac_package='$ac_optarg'" ;; 1081 600 1082 601 -without-* | --without-*) 1083 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1084 603 # Reject names that are not valid shell variable names. 1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1086 as_fn_error $? "invalid package name: $ac_useropt" 1087 ac_useropt_orig=$ac_useropt 1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1089 case $ac_user_opts in 1090 *" 1091 "with_$ac_useropt" 1092 "*) ;; 1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1094 ac_unrecognized_sep=', ';; 1095 esac 1096 eval with_$ac_useropt=no ;; 604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 605 { echo "$as_me: error: invalid package name: $ac_package" >&2 606 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 1097 609 1098 610 --x) … … 1114 626 x_libraries=$ac_optarg ;; 1115 627 1116 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1117 Try \`$0 --help' for more information" 628 -*) { echo "$as_me: error: unrecognized option: $ac_option 629 Try \`$0 --help' for more information." >&2 630 { (exit 1); exit 1; }; } 1118 631 ;; 1119 632 … … 1121 634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1122 635 # Reject names that are not valid shell variable names. 1123 case $ac_envvar in #(1124 '' | [0-9]* | *[!_$as_cr_alnum]* )1125 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;1126 esac1127 eval $ac_envvar=\$ac_optarg636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1128 641 export $ac_envvar ;; 1129 642 1130 643 *) 1131 644 # FIXME: should be removed in autoconf 3.0. 1132 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1133 646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1134 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1135 648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1136 649 ;; … … 1141 654 if test -n "$ac_prev"; then 1142 655 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1143 as_fn_error $? "missing argument to $ac_option" 1144 fi 1145 1146 if test -n "$ac_unrecognized_opts"; then 1147 case $enable_option_checking in 1148 no) ;; 1149 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1150 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 656 { echo "$as_me: error: missing argument to $ac_option" >&2 657 { (exit 1); exit 1; }; } 658 fi 659 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 662 do 663 eval ac_val=$`echo $ac_var` 664 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 667 { (exit 1); exit 1; }; };; 1151 668 esac 1152 fi 1153 1154 # Check all directory arguments for consistency. 1155 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1156 datadir sysconfdir sharedstatedir localstatedir includedir \ 1157 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1158 libdir localedir mandir 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 1159 674 do 1160 eval ac_val=\$$ac_var 1161 # Remove trailing slashes. 675 eval ac_val=$`echo $ac_var` 1162 676 case $ac_val in 1163 */ )1164 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1165 eval $ac_var=\$ac_val;;677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 1166 680 esac 1167 # Be sure to have absolute directory names.1168 case $ac_val in1169 [\\/$]* | ?:[\\/]* ) continue;;1170 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;1171 esac1172 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"1173 681 done 1174 682 … … 1184 692 if test "x$build_alias" = x; then 1185 693 cross_compiling=maybe 1186 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1187 If a cross compiler is detected then cross compile mode will be used " >&2694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 695 If a cross compiler is detected then cross compile mode will be used." >&2 1188 696 elif test "x$build_alias" != "x$host_alias"; then 1189 697 cross_compiling=yes … … 1197 705 1198 706 1199 ac_pwd=`pwd` && test -n "$ac_pwd" &&1200 ac_ls_di=`ls -di .` &&1201 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1202 as_fn_error $? "working directory cannot be determined"1203 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1204 as_fn_error $? "pwd does not report name of working directory"1205 1206 1207 707 # Find the source files, if location was not specified. 1208 708 if test -z "$srcdir"; then 1209 709 ac_srcdir_defaulted=yes 1210 # Try the directory containing this script, then the parent directory. 1211 ac_confdir=`$as_dirname -- "$as_myself" || 1212 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1213 X"$as_myself" : 'X\(//\)[^/]' \| \ 1214 X"$as_myself" : 'X\(//\)$' \| \ 1215 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1216 $as_echo X"$as_myself" | 1217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1218 s//\1/ 1219 q 1220 } 1221 /^X\(\/\/\)[^/].*/{ 1222 s//\1/ 1223 q 1224 } 1225 /^X\(\/\/\)$/{ 1226 s//\1/ 1227 q 1228 } 1229 /^X\(\/\).*/{ 1230 s//\1/ 1231 q 1232 } 1233 s/.*/./; q'` 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1234 723 srcdir=$ac_confdir 1235 if test ! -r "$srcdir/$ac_unique_file"; then724 if test ! -r $srcdir/$ac_unique_file; then 1236 725 srcdir=.. 1237 726 fi … … 1239 728 ac_srcdir_defaulted=no 1240 729 fi 1241 if test ! -r "$srcdir/$ac_unique_file"; then 1242 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1243 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1244 fi 1245 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1246 ac_abs_confdir=`( 1247 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1248 pwd)` 1249 # When building in place, set srcdir=. 1250 if test "$ac_abs_confdir" = "$ac_pwd"; then 1251 srcdir=. 1252 fi 1253 # Remove unnecessary trailing slashes from srcdir. 1254 # Double slashes in file names in object file debugging info 1255 # mess up M-x gdb in Emacs. 1256 case $srcdir in 1257 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1258 esac 1259 for ac_var in $ac_precious_vars; do 1260 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1261 eval ac_env_${ac_var}_value=\$${ac_var} 1262 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1263 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1264 done 730 if test ! -r $srcdir/$ac_unique_file; then 731 if test "$ac_srcdir_defaulted" = yes; then 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 733 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 736 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 1265 783 1266 784 # … … 1285 803 --help=recursive display the short help of all the included packages 1286 804 -V, --version display version information and exit 1287 -q, --quiet, --silent do not print \`checking 805 -q, --quiet, --silent do not print \`checking...' messages 1288 806 --cache-file=FILE cache test results in FILE [disabled] 1289 807 -C, --config-cache alias for \`--cache-file=config.cache' … … 1291 809 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1292 810 811 _ACEOF 812 813 cat <<_ACEOF 1293 814 Installation directories: 1294 815 --prefix=PREFIX install architecture-independent files in PREFIX 1295 816 [$ac_default_prefix] 1296 817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1297 818 [PREFIX] 1298 819 1299 820 By default, \`make install' will install all the files in … … 1305 826 1306 827 Fine tuning of the installation directories: 1307 --bindir=DIR user executables [EPREFIX/bin] 1308 --sbindir=DIR system admin executables [EPREFIX/sbin] 1309 --libexecdir=DIR program executables [EPREFIX/libexec] 1310 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1311 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1312 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1313 --libdir=DIR object code libraries [EPREFIX/lib] 1314 --includedir=DIR C header files [PREFIX/include] 1315 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1316 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1317 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1318 --infodir=DIR info documentation [DATAROOTDIR/info] 1319 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1320 --mandir=DIR man documentation [DATAROOTDIR/man] 1321 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1322 --htmldir=DIR html documentation [DOCDIR] 1323 --dvidir=DIR dvi documentation [DOCDIR] 1324 --pdfdir=DIR pdf documentation [DOCDIR] 1325 --psdir=DIR ps documentation [DOCDIR] 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 1326 840 _ACEOF 1327 841 … … 1340 854 1341 855 Optional Features: 1342 --disable-option-checking ignore unrecognized --enable/--with options1343 856 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1344 857 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1347 860 --enable-z3950 Enable Z39.50 client support 1348 861 --disable-yaz Disable YAZ compilation 862 --disable-wvware Disable wvWare compilation 1349 863 --disable-jdbm Disable JDBM compilation 1350 864 --disable-gdbm Disable GDBM compilation … … 1370 884 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1371 885 nonstandard directory <lib dir> 1372 LIBS libraries to pass to the linker, e.g. -l<library> 1373 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1374 you have headers in a nonstandard directory <include dir> 886 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 887 headers in a nonstandard directory <include dir> 1375 888 CXX C++ compiler command 1376 889 CXXFLAGS C++ compiler flags 1377 YACC The `Yet Another C Compiler' implementation to use. Defaults to1378 the first program found out of: `bison -y', `byacc', `yacc'.1379 YFLAGS The list of arguments that will be passed by default to $YACC.1380 This script will default YFLAGS to the empty string to avoid a1381 default value of `-d' given by some make applications.1382 890 CPP C preprocessor 1383 891 … … 1385 893 it to find libraries and programs with nonstandard names/locations. 1386 894 1387 Report bugs to the package provider. 1388 _ACEOF 1389 ac_status=$? 895 _ACEOF 1390 896 fi 1391 897 1392 898 if test "$ac_init_help" = "recursive"; then 1393 899 # If there are subdirs, report their specific --help. 900 ac_popdir=`pwd` 1394 901 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1395 test -d "$ac_dir" || 1396 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1397 continue 902 test -d $ac_dir || continue 1398 903 ac_builddir=. 1399 904 1400 case "$ac_dir" in 1401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 905 if test "$ac_dir" != .; then 906 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 907 # A "../" for each directory in $ac_dir_suffix. 908 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 909 else 910 ac_dir_suffix= ac_top_builddir= 911 fi 912 913 case $srcdir in 914 .) # No --srcdir option. We are building in place. 915 ac_srcdir=. 916 if test -z "$ac_top_builddir"; then 917 ac_top_srcdir=. 918 else 919 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 920 fi ;; 921 [\\/]* | ?:[\\/]* ) # Absolute path. 922 ac_srcdir=$srcdir$ac_dir_suffix; 923 ac_top_srcdir=$srcdir ;; 924 *) # Relative path. 925 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 926 ac_top_srcdir=$ac_top_builddir$srcdir ;; 927 esac 928 929 # Do not use `cd foo && pwd` to compute absolute paths, because 930 # the directories may not exist. 931 case `pwd` in 932 .) ac_abs_builddir="$ac_dir";; 1402 933 *) 1403 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1404 # A ".." for each directory in $ac_dir_suffix. 1405 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1406 case $ac_top_builddir_sub in 1407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1409 esac ;; 934 case "$ac_dir" in 935 .) ac_abs_builddir=`pwd`;; 936 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 937 *) ac_abs_builddir=`pwd`/"$ac_dir";; 938 esac;; 1410 939 esac 1411 ac_abs_top_builddir=$ac_pwd 1412 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1413 # for backward compatibility: 1414 ac_top_builddir=$ac_top_build_prefix 1415 1416 case $srcdir in 1417 .) # We are building in place. 1418 ac_srcdir=. 1419 ac_top_srcdir=$ac_top_builddir_sub 1420 ac_abs_top_srcdir=$ac_pwd ;; 1421 [\\/]* | ?:[\\/]* ) # Absolute name. 1422 ac_srcdir=$srcdir$ac_dir_suffix; 1423 ac_top_srcdir=$srcdir 1424 ac_abs_top_srcdir=$srcdir ;; 1425 *) # Relative name. 1426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1427 ac_top_srcdir=$ac_top_build_prefix$srcdir 1428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 940 case $ac_abs_builddir in 941 .) ac_abs_top_builddir=${ac_top_builddir}.;; 942 *) 943 case ${ac_top_builddir}. in 944 .) ac_abs_top_builddir=$ac_abs_builddir;; 945 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 946 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 947 esac;; 1429 948 esac 1430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1431 1432 cd "$ac_dir" || { ac_status=$?; continue; } 1433 # Check for guested configure. 1434 if test -f "$ac_srcdir/configure.gnu"; then 1435 echo && 1436 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1437 elif test -f "$ac_srcdir/configure"; then 1438 echo && 1439 $SHELL "$ac_srcdir/configure" --help=recursive 949 case $ac_abs_builddir in 950 .) ac_abs_srcdir=$ac_srcdir;; 951 *) 952 case $ac_srcdir in 953 .) ac_abs_srcdir=$ac_abs_builddir;; 954 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 955 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 956 esac;; 957 esac 958 case $ac_abs_builddir in 959 .) ac_abs_top_srcdir=$ac_top_srcdir;; 960 *) 961 case $ac_top_srcdir in 962 .) ac_abs_top_srcdir=$ac_abs_builddir;; 963 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 964 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 965 esac;; 966 esac 967 968 cd $ac_dir 969 # Check for guested configure; otherwise get Cygnus style configure. 970 if test -f $ac_srcdir/configure.gnu; then 971 echo 972 $SHELL $ac_srcdir/configure.gnu --help=recursive 973 elif test -f $ac_srcdir/configure; then 974 echo 975 $SHELL $ac_srcdir/configure --help=recursive 976 elif test -f $ac_srcdir/configure.ac || 977 test -f $ac_srcdir/configure.in; then 978 echo 979 $ac_configure --help 1440 980 else 1441 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21442 fi || ac_status=$?1443 cd "$ac_pwd" || { ac_status=$?; break; }981 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 982 fi 983 cd $ac_popdir 1444 984 done 1445 985 fi 1446 986 1447 test -n "$ac_init_help" && exit $ac_status987 test -n "$ac_init_help" && exit 0 1448 988 if $ac_init_version; then 1449 989 cat <<\_ACEOF 1450 configure 1451 generated by GNU Autoconf 2.67 1452 1453 Copyright (C) 2010 Free Software Foundation, Inc. 990 991 Copyright (C) 2003 Free Software Foundation, Inc. 1454 992 This configure script is free software; the Free Software Foundation 1455 993 gives unlimited permission to copy, distribute and modify it. 1456 994 _ACEOF 1457 exit 1458 fi 1459 1460 ## ------------------------ ## 1461 ## Autoconf initialization. ## 1462 ## ------------------------ ## 1463 1464 # ac_fn_c_try_compile LINENO 1465 # -------------------------- 1466 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1467 ac_fn_c_try_compile () 1468 { 1469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1470 rm -f conftest.$ac_objext 1471 if { { ac_try="$ac_compile" 1472 case "(($ac_try" in 1473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1474 *) ac_try_echo=$ac_try;; 1475 esac 1476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1477 $as_echo "$ac_try_echo"; } >&5 1478 (eval "$ac_compile") 2>conftest.err 1479 ac_status=$? 1480 if test -s conftest.err; then 1481 grep -v '^ *+' conftest.err >conftest.er1 1482 cat conftest.er1 >&5 1483 mv -f conftest.er1 conftest.err 1484 fi 1485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1486 test $ac_status = 0; } && { 1487 test -z "$ac_c_werror_flag" || 1488 test ! -s conftest.err 1489 } && test -s conftest.$ac_objext; then : 1490 ac_retval=0 1491 else 1492 $as_echo "$as_me: failed program was:" >&5 1493 sed 's/^/| /' conftest.$ac_ext >&5 1494 1495 ac_retval=1 1496 fi 1497 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1498 as_fn_set_status $ac_retval 1499 1500 } # ac_fn_c_try_compile 1501 1502 # ac_fn_cxx_try_compile LINENO 1503 # ---------------------------- 1504 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1505 ac_fn_cxx_try_compile () 1506 { 1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1508 rm -f conftest.$ac_objext 1509 if { { ac_try="$ac_compile" 1510 case "(($ac_try" in 1511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1512 *) ac_try_echo=$ac_try;; 1513 esac 1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1515 $as_echo "$ac_try_echo"; } >&5 1516 (eval "$ac_compile") 2>conftest.err 1517 ac_status=$? 1518 if test -s conftest.err; then 1519 grep -v '^ *+' conftest.err >conftest.er1 1520 cat conftest.er1 >&5 1521 mv -f conftest.er1 conftest.err 1522 fi 1523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1524 test $ac_status = 0; } && { 1525 test -z "$ac_cxx_werror_flag" || 1526 test ! -s conftest.err 1527 } && test -s conftest.$ac_objext; then : 1528 ac_retval=0 1529 else 1530 $as_echo "$as_me: failed program was:" >&5 1531 sed 's/^/| /' conftest.$ac_ext >&5 1532 1533 ac_retval=1 1534 fi 1535 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1536 as_fn_set_status $ac_retval 1537 1538 } # ac_fn_cxx_try_compile 1539 1540 # ac_fn_c_try_cpp LINENO 1541 # ---------------------- 1542 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1543 ac_fn_c_try_cpp () 1544 { 1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1546 if { { ac_try="$ac_cpp conftest.$ac_ext" 1547 case "(($ac_try" in 1548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1549 *) ac_try_echo=$ac_try;; 1550 esac 1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1552 $as_echo "$ac_try_echo"; } >&5 1553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1554 ac_status=$? 1555 if test -s conftest.err; then 1556 grep -v '^ *+' conftest.err >conftest.er1 1557 cat conftest.er1 >&5 1558 mv -f conftest.er1 conftest.err 1559 fi 1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1561 test $ac_status = 0; } > conftest.i && { 1562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1563 test ! -s conftest.err 1564 }; then : 1565 ac_retval=0 1566 else 1567 $as_echo "$as_me: failed program was:" >&5 1568 sed 's/^/| /' conftest.$ac_ext >&5 1569 1570 ac_retval=1 1571 fi 1572 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1573 as_fn_set_status $ac_retval 1574 1575 } # ac_fn_c_try_cpp 1576 1577 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1578 # ------------------------------------------------------- 1579 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1580 # the include files in INCLUDES and setting the cache variable VAR 1581 # accordingly. 1582 ac_fn_c_check_header_mongrel () 1583 { 1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1585 if eval "test \"\${$3+set}\"" = set; then : 1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1587 $as_echo_n "checking for $2... " >&6; } 1588 if eval "test \"\${$3+set}\"" = set; then : 1589 $as_echo_n "(cached) " >&6 1590 fi 1591 eval ac_res=\$$3 1592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1593 $as_echo "$ac_res" >&6; } 1594 else 1595 # Is the header compilable? 1596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1597 $as_echo_n "checking $2 usability... " >&6; } 1598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1599 /* end confdefs.h. */ 1600 $4 1601 #include <$2> 1602 _ACEOF 1603 if ac_fn_c_try_compile "$LINENO"; then : 1604 ac_header_compiler=yes 1605 else 1606 ac_header_compiler=no 1607 fi 1608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1610 $as_echo "$ac_header_compiler" >&6; } 1611 1612 # Is the header present? 1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1614 $as_echo_n "checking $2 presence... " >&6; } 1615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1616 /* end confdefs.h. */ 1617 #include <$2> 1618 _ACEOF 1619 if ac_fn_c_try_cpp "$LINENO"; then : 1620 ac_header_preproc=yes 1621 else 1622 ac_header_preproc=no 1623 fi 1624 rm -f conftest.err conftest.i conftest.$ac_ext 1625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1626 $as_echo "$ac_header_preproc" >&6; } 1627 1628 # So? What about this header? 1629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1630 yes:no: ) 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1632 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1634 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1635 ;; 1636 no:yes:* ) 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1638 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1640 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1642 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1644 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1646 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1647 ;; 1648 esac 1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1650 $as_echo_n "checking for $2... " >&6; } 1651 if eval "test \"\${$3+set}\"" = set; then : 1652 $as_echo_n "(cached) " >&6 1653 else 1654 eval "$3=\$ac_header_compiler" 1655 fi 1656 eval ac_res=\$$3 1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1658 $as_echo "$ac_res" >&6; } 1659 fi 1660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1661 1662 } # ac_fn_c_check_header_mongrel 1663 1664 # ac_fn_c_try_run LINENO 1665 # ---------------------- 1666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1667 # that executables *can* be run. 1668 ac_fn_c_try_run () 1669 { 1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1671 if { { ac_try="$ac_link" 1672 case "(($ac_try" in 1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1674 *) ac_try_echo=$ac_try;; 1675 esac 1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1677 $as_echo "$ac_try_echo"; } >&5 1678 (eval "$ac_link") 2>&5 1679 ac_status=$? 1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1681 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1682 { { case "(($ac_try" in 1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1684 *) ac_try_echo=$ac_try;; 1685 esac 1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1687 $as_echo "$ac_try_echo"; } >&5 1688 (eval "$ac_try") 2>&5 1689 ac_status=$? 1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1691 test $ac_status = 0; }; }; then : 1692 ac_retval=0 1693 else 1694 $as_echo "$as_me: program exited with status $ac_status" >&5 1695 $as_echo "$as_me: failed program was:" >&5 1696 sed 's/^/| /' conftest.$ac_ext >&5 1697 1698 ac_retval=$ac_status 1699 fi 1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1702 as_fn_set_status $ac_retval 1703 1704 } # ac_fn_c_try_run 1705 1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1707 # ------------------------------------------------------- 1708 # Tests whether HEADER exists and can be compiled using the include files in 1709 # INCLUDES, setting the cache variable VAR accordingly. 1710 ac_fn_c_check_header_compile () 1711 { 1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1714 $as_echo_n "checking for $2... " >&6; } 1715 if eval "test \"\${$3+set}\"" = set; then : 1716 $as_echo_n "(cached) " >&6 1717 else 1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1719 /* end confdefs.h. */ 1720 $4 1721 #include <$2> 1722 _ACEOF 1723 if ac_fn_c_try_compile "$LINENO"; then : 1724 eval "$3=yes" 1725 else 1726 eval "$3=no" 1727 fi 1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1729 fi 1730 eval ac_res=\$$3 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1732 $as_echo "$ac_res" >&6; } 1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1734 1735 } # ac_fn_c_check_header_compile 1736 1737 # ac_fn_c_try_link LINENO 1738 # ----------------------- 1739 # Try to link conftest.$ac_ext, and return whether this succeeded. 1740 ac_fn_c_try_link () 1741 { 1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1743 rm -f conftest.$ac_objext conftest$ac_exeext 1744 if { { ac_try="$ac_link" 1745 case "(($ac_try" in 1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1747 *) ac_try_echo=$ac_try;; 1748 esac 1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1750 $as_echo "$ac_try_echo"; } >&5 1751 (eval "$ac_link") 2>conftest.err 1752 ac_status=$? 1753 if test -s conftest.err; then 1754 grep -v '^ *+' conftest.err >conftest.er1 1755 cat conftest.er1 >&5 1756 mv -f conftest.er1 conftest.err 1757 fi 1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1759 test $ac_status = 0; } && { 1760 test -z "$ac_c_werror_flag" || 1761 test ! -s conftest.err 1762 } && test -s conftest$ac_exeext && { 1763 test "$cross_compiling" = yes || 1764 $as_test_x conftest$ac_exeext 1765 }; then : 1766 ac_retval=0 1767 else 1768 $as_echo "$as_me: failed program was:" >&5 1769 sed 's/^/| /' conftest.$ac_ext >&5 1770 1771 ac_retval=1 1772 fi 1773 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1774 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1775 # interfere with the next link command; also delete a directory that is 1776 # left behind by Apple's compiler. We do this before executing the actions. 1777 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1779 as_fn_set_status $ac_retval 1780 1781 } # ac_fn_c_try_link 1782 1783 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1784 # ------------------------------------------- 1785 # Tests whether TYPE exists after having included INCLUDES, setting cache 1786 # variable VAR accordingly. 1787 ac_fn_c_check_type () 1788 { 1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1791 $as_echo_n "checking for $2... " >&6; } 1792 if eval "test \"\${$3+set}\"" = set; then : 1793 $as_echo_n "(cached) " >&6 1794 else 1795 eval "$3=no" 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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1810 /* end confdefs.h. */ 1811 $4 1812 int 1813 main () 1814 { 1815 if (sizeof (($2))) 1816 return 0; 1817 ; 1818 return 0; 1819 } 1820 _ACEOF 1821 if ac_fn_c_try_compile "$LINENO"; then : 1822 1823 else 1824 eval "$3=yes" 1825 fi 1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1827 fi 1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1829 fi 1830 eval ac_res=\$$3 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1832 $as_echo "$ac_res" >&6; } 1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1834 1835 } # ac_fn_c_check_type 1836 1837 # ac_fn_c_check_func LINENO FUNC VAR 1838 # ---------------------------------- 1839 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1840 ac_fn_c_check_func () 1841 { 1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1844 $as_echo_n "checking for $2... " >&6; } 1845 if eval "test \"\${$3+set}\"" = set; then : 1846 $as_echo_n "(cached) " >&6 1847 else 1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1849 /* end confdefs.h. */ 1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1851 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1852 #define $2 innocuous_$2 1853 1854 /* System header to define __stub macros and hopefully few prototypes, 1855 which can conflict with char $2 (); below. 1856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1857 <limits.h> exists even on freestanding compilers. */ 1858 1859 #ifdef __STDC__ 1860 # include <limits.h> 1861 #else 1862 # include <assert.h> 1863 #endif 1864 1865 #undef $2 1866 1867 /* Override any GCC internal prototype to avoid an error. 1868 Use char because int might match the return type of a GCC 1869 builtin and then its argument prototype would still apply. */ 1870 #ifdef __cplusplus 1871 extern "C" 1872 #endif 1873 char $2 (); 1874 /* The GNU C library defines this for functions which it implements 1875 to always fail with ENOSYS. Some functions are actually named 1876 something starting with __ and the normal name is an alias. */ 1877 #if defined __stub_$2 || defined __stub___$2 1878 choke me 1879 #endif 1880 1881 int 1882 main () 1883 { 1884 return $2 (); 1885 ; 1886 return 0; 1887 } 1888 _ACEOF 1889 if ac_fn_c_try_link "$LINENO"; then : 1890 eval "$3=yes" 1891 else 1892 eval "$3=no" 1893 fi 1894 rm -f core conftest.err conftest.$ac_objext \ 1895 conftest$ac_exeext conftest.$ac_ext 1896 fi 1897 eval ac_res=\$$3 1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1899 $as_echo "$ac_res" >&6; } 1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1901 1902 } # ac_fn_c_check_func 1903 1904 # ac_fn_cxx_try_run LINENO 1905 # ------------------------ 1906 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1907 # that executables *can* be run. 1908 ac_fn_cxx_try_run () 1909 { 1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1911 if { { ac_try="$ac_link" 1912 case "(($ac_try" in 1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1914 *) ac_try_echo=$ac_try;; 1915 esac 1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1917 $as_echo "$ac_try_echo"; } >&5 1918 (eval "$ac_link") 2>&5 1919 ac_status=$? 1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1921 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1922 { { case "(($ac_try" in 1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1924 *) ac_try_echo=$ac_try;; 1925 esac 1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1927 $as_echo "$ac_try_echo"; } >&5 1928 (eval "$ac_try") 2>&5 1929 ac_status=$? 1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1931 test $ac_status = 0; }; }; then : 1932 ac_retval=0 1933 else 1934 $as_echo "$as_me: program exited with status $ac_status" >&5 1935 $as_echo "$as_me: failed program was:" >&5 1936 sed 's/^/| /' conftest.$ac_ext >&5 1937 1938 ac_retval=$ac_status 1939 fi 1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1942 as_fn_set_status $ac_retval 1943 1944 } # ac_fn_cxx_try_run 1945 cat >config.log <<_ACEOF 995 exit 0 996 fi 997 exec 5>config.log 998 cat >&5 <<_ACEOF 1946 999 This file contains any messages produced by compilers while 1947 1000 running configure, to aid debugging if configure makes a mistake. 1948 1001 1949 1002 It was created by $as_me, which was 1950 generated by GNU Autoconf 2. 67. Invocation command line was1003 generated by GNU Autoconf 2.59. Invocation command line was 1951 1004 1952 1005 $ $0 $@ 1953 1006 1954 1007 _ACEOF 1955 exec 5>>config.log1956 1008 { 1957 1009 cat <<_ASUNAME … … 1972 1024 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1973 1025 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1974 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1026 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1975 1027 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1976 1028 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1984 1036 IFS=$as_save_IFS 1985 1037 test -z "$as_dir" && as_dir=. 1986 $as_echo "PATH: $as_dir" 1987 done 1988 IFS=$as_save_IFS 1038 echo "PATH: $as_dir" 1039 done 1989 1040 1990 1041 } >&5 … … 2008 1059 ac_configure_args0= 2009 1060 ac_configure_args1= 1061 ac_sep= 2010 1062 ac_must_keep_next=false 2011 1063 for ac_pass in 1 2 … … 2018 1070 | -silent | --silent | --silen | --sile | --sil) 2019 1071 continue ;; 2020 * \'*)2021 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1072 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1073 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2022 1074 esac 2023 1075 case $ac_pass in 2024 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1076 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2025 1077 2) 2026 a s_fn_append ac_configure_args1 "'$ac_arg'"1078 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2027 1079 if test $ac_must_keep_next = true; then 2028 1080 ac_must_keep_next=false # Got value, back to normal. … … 2040 1092 esac 2041 1093 fi 2042 as_fn_append ac_configure_args " '$ac_arg'" 1094 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1095 # Get rid of the leading space. 1096 ac_sep=" " 2043 1097 ;; 2044 1098 esac 2045 1099 done 2046 1100 done 2047 { ac_configure_args0=; unset ac_configure_args0;}2048 { ac_configure_args1=; unset ac_configure_args1;}1101 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1102 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2049 1103 2050 1104 # When interrupted or exit'd, cleanup temporary files, and complete 2051 1105 # config.log. We remove comments because anyway the quotes in there 2052 1106 # would cause problems or look ugly. 2053 # WARNING: Use '\'' to represent an apostrophe within the trap.2054 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.1107 # WARNING: Be sure not to use single quotes in there, as some shells, 1108 # such as our DU 5.0 friend, will then `close' the trap. 2055 1109 trap 'exit_status=$? 2056 1110 # Save into config.log some information that might help in debugging. … … 2058 1112 echo 2059 1113 2060 $as_echo "## ---------------- ## 1114 cat <<\_ASBOX 1115 ## ---------------- ## 2061 1116 ## Cache variables. ## 2062 ## ---------------- ##" 1117 ## ---------------- ## 1118 _ASBOX 2063 1119 echo 2064 1120 # The following way of writing the cache mishandles newlines in values, 2065 ( 2066 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2067 eval ac_val=\$$ac_var 2068 case $ac_val in #( 2069 *${as_nl}*) 2070 case $ac_var in #( 2071 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2072 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2073 esac 2074 case $ac_var in #( 2075 _ | IFS | as_nl) ;; #( 2076 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2077 *) { eval $ac_var=; unset $ac_var;} ;; 2078 esac ;; 2079 esac 2080 done 1121 { 2081 1122 (set) 2>&1 | 2082 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(2083 * ${as_nl}ac_space=\ *)1123 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1124 *ac_space=\ *) 2084 1125 sed -n \ 2085 "s/' \''/'\''\\\\'\'''\''/g;2086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' \''\\2'\''/p"2087 ;; #(1126 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1128 ;; 2088 1129 *) 2089 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1130 sed -n \ 1131 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 2090 1132 ;; 2091 esac | 2092 sort 2093 ) 1133 esac; 1134 } 2094 1135 echo 2095 1136 2096 $as_echo "## ----------------- ## 1137 cat <<\_ASBOX 1138 ## ----------------- ## 2097 1139 ## Output variables. ## 2098 ## ----------------- ##" 1140 ## ----------------- ## 1141 _ASBOX 2099 1142 echo 2100 1143 for ac_var in $ac_subst_vars 2101 1144 do 2102 eval ac_val=\$$ac_var 2103 case $ac_val in 2104 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2105 esac 2106 $as_echo "$ac_var='\''$ac_val'\''" 1145 eval ac_val=$`echo $ac_var` 1146 echo "$ac_var='"'"'$ac_val'"'"'" 2107 1147 done | sort 2108 1148 echo 2109 1149 2110 1150 if test -n "$ac_subst_files"; then 2111 $as_echo "## ------------------- ## 2112 ## File substitutions. ## 2113 ## ------------------- ##" 1151 cat <<\_ASBOX 1152 ## ------------- ## 1153 ## Output files. ## 1154 ## ------------- ## 1155 _ASBOX 2114 1156 echo 2115 1157 for ac_var in $ac_subst_files 2116 1158 do 2117 eval ac_val=\$$ac_var 2118 case $ac_val in 2119 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2120 esac 2121 $as_echo "$ac_var='\''$ac_val'\''" 1159 eval ac_val=$`echo $ac_var` 1160 echo "$ac_var='"'"'$ac_val'"'"'" 2122 1161 done | sort 2123 1162 echo … … 2125 1164 2126 1165 if test -s confdefs.h; then 2127 $as_echo "## ----------- ## 1166 cat <<\_ASBOX 1167 ## ----------- ## 2128 1168 ## confdefs.h. ## 2129 ## ----------- ##" 1169 ## ----------- ## 1170 _ASBOX 2130 1171 echo 2131 cat confdefs.h1172 sed "/^$/d" confdefs.h | sort 2132 1173 echo 2133 1174 fi 2134 1175 test "$ac_signal" != 0 && 2135 $as_echo "$as_me: caught signal $ac_signal"2136 $as_echo "$as_me: exit $exit_status"1176 echo "$as_me: caught signal $ac_signal" 1177 echo "$as_me: exit $exit_status" 2137 1178 } >&5 2138 rm -f core *.core core.conftest.*&&2139 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1179 rm -f core *.core && 1180 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 2140 1181 exit $exit_status 2141 ' 01182 ' 0 2142 1183 for ac_signal in 1 2 13 15; do 2143 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1184 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2144 1185 done 2145 1186 ac_signal=0 2146 1187 2147 1188 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2148 rm - f -rconftest* confdefs.h2149 2150 $as_echo "/* confdefs.h */" >confdefs.h1189 rm -rf conftest* confdefs.h 1190 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1191 echo >confdefs.h 2151 1192 2152 1193 # Predefined preprocessor variables. … … 2156 1197 _ACEOF 2157 1198 1199 2158 1200 cat >>confdefs.h <<_ACEOF 2159 1201 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2160 1202 _ACEOF 2161 1203 1204 2162 1205 cat >>confdefs.h <<_ACEOF 2163 1206 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2164 1207 _ACEOF 2165 1208 1209 2166 1210 cat >>confdefs.h <<_ACEOF 2167 1211 #define PACKAGE_STRING "$PACKAGE_STRING" 2168 1212 _ACEOF 2169 1213 1214 2170 1215 cat >>confdefs.h <<_ACEOF 2171 1216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2172 1217 _ACEOF 2173 1218 2174 cat >>confdefs.h <<_ACEOF2175 #define PACKAGE_URL "$PACKAGE_URL"2176 _ACEOF2177 2178 1219 2179 1220 # Let the site file select an alternate cache file if it wants to. 2180 # Prefer an explicitly selected file to automatically selected ones. 2181 ac_site_file1=NONE 2182 ac_site_file2=NONE 2183 if test -n "$CONFIG_SITE"; then 2184 # We do not want a PATH search for config.site. 2185 case $CONFIG_SITE in #(( 2186 -*) ac_site_file1=./$CONFIG_SITE;; 2187 */*) ac_site_file1=$CONFIG_SITE;; 2188 *) ac_site_file1=./$CONFIG_SITE;; 2189 esac 2190 elif test "x$prefix" != xNONE; then 2191 ac_site_file1=$prefix/share/config.site 2192 ac_site_file2=$prefix/etc/config.site 2193 else 2194 ac_site_file1=$ac_default_prefix/share/config.site 2195 ac_site_file2=$ac_default_prefix/etc/config.site 2196 fi 2197 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2198 do 2199 test "x$ac_site_file" = xNONE && continue 2200 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2202 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1221 # Prefer explicitly selected file to automatically selected ones. 1222 if test -z "$CONFIG_SITE"; then 1223 if test "x$prefix" != xNONE; then 1224 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1225 else 1226 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1227 fi 1228 fi 1229 for ac_site_file in $CONFIG_SITE; do 1230 if test -r "$ac_site_file"; then 1231 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1232 echo "$as_me: loading site script $ac_site_file" >&6;} 2203 1233 sed 's/^/| /' "$ac_site_file" >&5 2204 . "$ac_site_file" \ 2205 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2207 as_fn_error $? "failed to load site script $ac_site_file 2208 See \`config.log' for more details" "$LINENO" 5 ; } 1234 . "$ac_site_file" 2209 1235 fi 2210 1236 done 2211 1237 2212 1238 if test -r "$cache_file"; then 2213 # Some versions of bash will fail to source /dev/null (special files2214 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2215 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52217 $as_echo "$as_me: loading cache $cache_file" >&6;}1239 # Some versions of bash will fail to source /dev/null (special 1240 # files actually), so we avoid doing that. 1241 if test -f "$cache_file"; then 1242 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1243 echo "$as_me: loading cache $cache_file" >&6;} 2218 1244 case $cache_file in 2219 [\\/]* | ?:[\\/]* ) . "$cache_file";;2220 *) . "./$cache_file";;1245 [\\/]* | ?:[\\/]* ) . $cache_file;; 1246 *) . ./$cache_file;; 2221 1247 esac 2222 1248 fi 2223 1249 else 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52225 $as_echo "$as_me: creating cache $cache_file" >&6;}1250 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1251 echo "$as_me: creating cache $cache_file" >&6;} 2226 1252 >$cache_file 2227 1253 fi … … 2230 1256 # value. 2231 1257 ac_cache_corrupted=false 2232 for ac_var in $ac_precious_vars; do 1258 for ac_var in `(set) 2>&1 | 1259 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2233 1260 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2234 1261 eval ac_new_set=\$ac_env_${ac_var}_set 2235 eval ac_old_val= \$ac_cv_env_${ac_var}_value2236 eval ac_new_val= \$ac_env_${ac_var}_value1262 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1263 eval ac_new_val="\$ac_env_${ac_var}_value" 2237 1264 case $ac_old_set,$ac_new_set in 2238 1265 set,) 2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52240 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1266 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1267 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2241 1268 ac_cache_corrupted=: ;; 2242 1269 ,set) 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52244 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1270 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1271 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2245 1272 ac_cache_corrupted=: ;; 2246 1273 ,);; 2247 1274 *) 2248 1275 if test "x$ac_old_val" != "x$ac_new_val"; then 2249 # differences in whitespace do not lead to failure. 2250 ac_old_val_w=`echo x $ac_old_val` 2251 ac_new_val_w=`echo x $ac_new_val` 2252 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2254 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2255 ac_cache_corrupted=: 2256 else 2257 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2258 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2259 eval $ac_var=\$ac_old_val 2260 fi 2261 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2262 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2263 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2264 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1276 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1277 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1278 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1279 echo "$as_me: former value: $ac_old_val" >&2;} 1280 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1281 echo "$as_me: current value: $ac_new_val" >&2;} 1282 ac_cache_corrupted=: 2265 1283 fi;; 2266 1284 esac … … 2268 1286 if test "$ac_new_set" = set; then 2269 1287 case $ac_new_val in 2270 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1288 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1289 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2271 1290 *) ac_arg=$ac_var=$ac_new_val ;; 2272 1291 esac 2273 1292 case " $ac_configure_args " in 2274 1293 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2275 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1294 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2276 1295 esac 2277 1296 fi 2278 1297 done 2279 1298 if $ac_cache_corrupted; then 2280 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2283 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2284 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2285 fi 2286 ## -------------------- ## 2287 ## Main body of script. ## 2288 ## -------------------- ## 1299 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1300 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1301 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1302 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1303 { (exit 1); exit 1; }; } 1304 fi 2289 1305 2290 1306 ac_ext=c … … 2295 1311 2296 1312 2297 ac_config_headers="$ac_config_headers config.h" 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 ac_config_headers="$ac_config_headers config.h" 2298 1331 2299 1332 … … 2314 1347 USE_FASTCGI=0 2315 1348 if test USE_FASTCGI = 1; then 2316 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1349 cat >>confdefs.h <<\_ACEOF 1350 #define USE_FASTCGI 1 1351 _ACEOF 2317 1352 2318 1353 … … 2320 1355 2321 1356 if test USE_LANGACTION = 1; then 2322 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 2323 2324 2325 fi 2326 2327 # Check whether --enable-corba was given. 2328 if test "${enable_corba+set}" = set; then : 2329 enableval=$enable_corba; USE_CORBA=$enableval 1357 cat >>confdefs.h <<\_ACEOF 1358 #define USE_LANGACTION 1 1359 _ACEOF 1360 1361 1362 fi 1363 1364 # Check whether --enable-corba or --disable-corba was given. 1365 if test "${enable_corba+set}" = set; then 1366 enableval="$enable_corba" 1367 USE_CORBA=$enableval 2330 1368 else 2331 1369 USE_CORBA=no 2332 fi 2333 1370 fi; 2334 1371 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 2335 1372 USE_CORBA=1 2336 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1373 cat >>confdefs.h <<\_ACEOF 1374 #define USE_CORBA 1375 _ACEOF 2337 1376 2338 1377 else … … 2342 1381 2343 1382 2344 # Check whether --with-micodir was given. 2345 if test "${with_micodir+set}" = set; then : 2346 withval=$with_micodir; MICO_DIR=$withval 1383 # Check whether --with-micodir or --without-micodir was given. 1384 if test "${with_micodir+set}" = set; then 1385 withval="$with_micodir" 1386 MICO_DIR=$withval 2347 1387 else 2348 1388 MICO_DIR="default" 2349 fi 2350 1389 fi; 2351 1390 cat >>confdefs.h <<_ACEOF 2352 1391 #define MICO_DIR "$MICO_DIR" … … 2355 1394 2356 1395 2357 # Check whether --enable-java was given. 2358 if test "${enable_java+set}" = set; then : 2359 enableval=$enable_java; ENABLE_JAVA=$enableval 1396 # Check whether --enable-java or --disable-java was given. 1397 if test "${enable_java+set}" = set; then 1398 enableval="$enable_java" 1399 ENABLE_JAVA=$enableval 2360 1400 else 2361 1401 ENABLE_JAVA=yes 2362 fi 2363 1402 fi; 2364 1403 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 2365 1404 ENABLE_JAVA=1 … … 2375 1414 2376 1415 2377 # Check whether --enable-z3950 was given. 2378 if test "${enable_z3950+set}" = set; then : 2379 enableval=$enable_z3950; USE_Z3950=$enableval 1416 # Check whether --enable-z3950 or --disable-z3950 was given. 1417 if test "${enable_z3950+set}" = set; then 1418 enableval="$enable_z3950" 1419 USE_Z3950=$enableval 2380 1420 else 2381 1421 USE_Z3950=no 2382 fi 2383 1422 fi; 2384 1423 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 2385 1424 USE_Z3950=1 2386 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1425 cat >>confdefs.h <<\_ACEOF 1426 #define USE_Z3950 1427 _ACEOF 2387 1428 2388 1429 else … … 2391 1432 2392 1433 2393 # Check whether --enable-yaz was given. 2394 if test "${enable_yaz+set}" = set; then : 2395 enableval=$enable_yaz; USE_YAZ=$enableval 1434 # Check whether --enable-yaz or --disable-yaz was given. 1435 if test "${enable_yaz+set}" = set; then 1436 enableval="$enable_yaz" 1437 USE_YAZ=$enableval 2396 1438 else 2397 1439 USE_YAZ=yes 2398 fi 2399 1440 fi; 2400 1441 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 2401 1442 USE_YAZ=1 2402 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1443 cat >>confdefs.h <<\_ACEOF 1444 #define USE_YAZ 1445 _ACEOF 2403 1446 2404 1447 else … … 2407 1450 2408 1451 2409 # Check whether --enable-jdbm was given. 2410 if test "${enable_jdbm+set}" = set; then : 2411 enableval=$enable_jdbm; USE_JDBM=$enableval 1452 # Check whether --enable-wvware or --disable-wvware was given. 1453 if test "${enable_wvware+set}" = set; then 1454 enableval="$enable_wvware" 1455 USE_WVWARE=$enableval 1456 else 1457 USE_WVWARE=yes 1458 fi; 1459 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 1460 USE_WVWARE=1 1461 cat >>confdefs.h <<\_ACEOF 1462 #define USE_WVWARE 1463 _ACEOF 1464 1465 else 1466 USE_WVWARE=0 1467 fi 1468 1469 1470 # Check whether --enable-jdbm or --disable-jdbm was given. 1471 if test "${enable_jdbm+set}" = set; then 1472 enableval="$enable_jdbm" 1473 USE_JDBM=$enableval 2412 1474 else 2413 1475 USE_JDBM=yes 2414 fi 2415 1476 fi; 2416 1477 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 2417 1478 USE_JDBM=1 2418 $as_echo "#define USE_JDBM /**/" >>confdefs.h 1479 cat >>confdefs.h <<\_ACEOF 1480 #define USE_JDBM 1481 _ACEOF 2419 1482 2420 1483 else … … 2423 1486 2424 1487 2425 # Check whether --enable-gdbm was given. 2426 if test "${enable_gdbm+set}" = set; then : 2427 enableval=$enable_gdbm; USE_GDBM=$enableval 1488 # Check whether --enable-gdbm or --disable-gdbm was given. 1489 if test "${enable_gdbm+set}" = set; then 1490 enableval="$enable_gdbm" 1491 USE_GDBM=$enableval 2428 1492 else 2429 1493 USE_GDBM=yes 2430 fi 2431 1494 fi; 2432 1495 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 2433 1496 USE_GDBM=1 2434 $as_echo "#define USE_GDBM /**/" >>confdefs.h 1497 cat >>confdefs.h <<\_ACEOF 1498 #define USE_GDBM 1499 _ACEOF 2435 1500 2436 1501 else … … 2439 1504 2440 1505 2441 # Check whether --enable-accentfold was given. 2442 if test "${enable_accentfold+set}" = set; then : 2443 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1506 # Check whether --enable-accentfold or --disable-accentfold was given. 1507 if test "${enable_accentfold+set}" = set; then 1508 enableval="$enable_accentfold" 1509 ENABLE_ACCENTFOLD=$enableval 2444 1510 else 2445 1511 ENABLE_ACCENTFOLD=yes 2446 fi 2447 1512 fi; 2448 1513 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 2449 1514 ENABLE_ACCENTFOLD=1 2450 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 1515 cat >>confdefs.h <<\_ACEOF 1516 #define ENABLE_ACCENTFOLD 1517 _ACEOF 2451 1518 2452 1519 else … … 2455 1522 2456 1523 2457 # Check whether --enable-sqlite was given. 2458 if test "${enable_sqlite+set}" = set; then : 2459 enableval=$enable_sqlite; USE_SQLITE=$enableval 1524 # Check whether --enable-sqlite or --disable-sqlite was given. 1525 if test "${enable_sqlite+set}" = set; then 1526 enableval="$enable_sqlite" 1527 USE_SQLITE=$enableval 2460 1528 else 2461 1529 USE_SQLITE=yes 2462 fi 2463 1530 fi; 2464 1531 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 2465 1532 USE_SQLITE=1 2466 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 1533 cat >>confdefs.h <<\_ACEOF 1534 #define USE_SQLITE 1535 _ACEOF 2467 1536 2468 1537 else … … 2472 1541 2473 1542 if test -d runtime-src; then 2474 # Check whether --enable-apache-httpd was given. 2475 if test "${enable_apache_httpd+set}" = set; then : 2476 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval 1543 # Check whether --enable-apache-httpd or --disable-apache-httpd was given. 1544 if test "${enable_apache_httpd+set}" = set; then 1545 enableval="$enable_apache_httpd" 1546 USE_APACHE_HTTPD=$enableval 2477 1547 else 2478 1548 USE_APACHE_HTTPD=no 2479 fi 2480 1549 fi; 2481 1550 if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then 2482 1551 USE_APACHE_HTTPD=1 2483 $as_echo "#define USE_APACHE_HTTPD /**/" >>confdefs.h 1552 cat >>confdefs.h <<\_ACEOF 1553 #define USE_APACHE_HTTPD 1554 _ACEOF 2484 1555 2485 1556 else … … 2489 1560 fi 2490 1561 2491 # Check whether --enable-jni was given. 2492 if test "${enable_jni+set}" = set; then : 2493 enableval=$enable_jni; ENABLE_JNI=$enableval 1562 # Check whether --enable-jni or --disable-jni was given. 1563 if test "${enable_jni+set}" = set; then 1564 enableval="$enable_jni" 1565 ENABLE_JNI=$enableval 2494 1566 else 2495 1567 ENABLE_JNI=no 2496 fi 2497 1568 fi; 2498 1569 if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 2499 1570 ENABLE_JNI=1 2500 $as_echo "#define ENABLE_JNI /**/" >>confdefs.h 1571 cat >>confdefs.h <<\_ACEOF 1572 #define ENABLE_JNI 1573 _ACEOF 2501 1574 2502 1575 else … … 2505 1578 2506 1579 2507 # Check whether --enable-mg was given. 2508 if test "${enable_mg+set}" = set; then : 2509 enableval=$enable_mg; ENABLE_MG=$enableval 1580 # Check whether --enable-mg or --disable-mg was given. 1581 if test "${enable_mg+set}" = set; then 1582 enableval="$enable_mg" 1583 ENABLE_MG=$enableval 2510 1584 else 2511 1585 ENABLE_MG=yes 2512 fi 2513 1586 fi; 2514 1587 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 2515 1588 ENABLE_MG=1 2516 $as_echo "#define ENABLE_MG /**/" >>confdefs.h 1589 cat >>confdefs.h <<\_ACEOF 1590 #define ENABLE_MG 1591 _ACEOF 2517 1592 2518 1593 else … … 2522 1597 2523 1598 2524 # Check whether --enable-mgpp was given. 2525 if test "${enable_mgpp+set}" = set; then : 2526 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1599 # Check whether --enable-mgpp or --disable-mgpp was given. 1600 if test "${enable_mgpp+set}" = set; then 1601 enableval="$enable_mgpp" 1602 ENABLE_MGPP=$enableval 2527 1603 else 2528 1604 ENABLE_MGPP=yes 2529 fi 2530 1605 fi; 2531 1606 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 2532 1607 ENABLE_MGPP=1 2533 $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h 1608 cat >>confdefs.h <<\_ACEOF 1609 #define ENABLE_MGPP 1610 _ACEOF 2534 1611 2535 1612 else … … 2538 1615 2539 1616 2540 # Check whether --enable-lucene was given. 2541 if test "${enable_lucene+set}" = set; then : 2542 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1617 # Check whether --enable-lucene or --disable-lucene was given. 1618 if test "${enable_lucene+set}" = set; then 1619 enableval="$enable_lucene" 1620 ENABLE_LUCENE=$enableval 2543 1621 else 2544 1622 ENABLE_LUCENE=yes 2545 fi 2546 1623 fi; 2547 1624 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 2548 1625 ENABLE_LUCENE=1 2549 $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h 1626 cat >>confdefs.h <<\_ACEOF 1627 #define ENABLE_LUCENE 1628 _ACEOF 2550 1629 2551 1630 else … … 2571 1650 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2572 1651 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52574 $as_echo_n "checking for $ac_word... " >&6; } 2575 if test "${ac_cv_prog_CC+set}" = set; then :2576 $as_echo_n "(cached)" >&61652 echo "$as_me:$LINENO: checking for $ac_word" >&5 1653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1654 if test "${ac_cv_prog_CC+set}" = set; then 1655 echo $ECHO_N "(cached) $ECHO_C" >&6 2577 1656 else 2578 1657 if test -n "$CC"; then … … 2584 1663 IFS=$as_save_IFS 2585 1664 test -z "$as_dir" && as_dir=. 2586 2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1665 for ac_exec_ext in '' $ac_executable_extensions; do 1666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2588 1667 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2590 1669 break 2 2591 1670 fi 2592 1671 done 2593 done 2594 IFS=$as_save_IFS 1672 done 2595 1673 2596 1674 fi … … 2598 1676 CC=$ac_cv_prog_CC 2599 1677 if test -n "$CC"; then 2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2601 $as_echo "$CC" >&6; } 2602 else 2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2604 $as_echo "no" >&6; } 2605 fi 2606 1678 echo "$as_me:$LINENO: result: $CC" >&5 1679 echo "${ECHO_T}$CC" >&6 1680 else 1681 echo "$as_me:$LINENO: result: no" >&5 1682 echo "${ECHO_T}no" >&6 1683 fi 2607 1684 2608 1685 fi … … 2611 1688 # Extract the first word of "gcc", so it can be a program name with args. 2612 1689 set dummy gcc; ac_word=$2 2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52614 $as_echo_n "checking for $ac_word... " >&6; } 2615 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2616 $as_echo_n "(cached)" >&61690 echo "$as_me:$LINENO: checking for $ac_word" >&5 1691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1692 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1693 echo $ECHO_N "(cached) $ECHO_C" >&6 2617 1694 else 2618 1695 if test -n "$ac_ct_CC"; then … … 2624 1701 IFS=$as_save_IFS 2625 1702 test -z "$as_dir" && as_dir=. 2626 2627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1703 for ac_exec_ext in '' $ac_executable_extensions; do 1704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2628 1705 ac_cv_prog_ac_ct_CC="gcc" 2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2630 1707 break 2 2631 1708 fi 2632 1709 done 2633 done 2634 IFS=$as_save_IFS 1710 done 2635 1711 2636 1712 fi … … 2638 1714 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2639 1715 if test -n "$ac_ct_CC"; then 2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2641 $as_echo "$ac_ct_CC" >&6; } 2642 else 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2644 $as_echo "no" >&6; } 2645 fi 2646 2647 if test "x$ac_ct_CC" = x; then 2648 CC="" 2649 else 2650 case $cross_compiling:$ac_tool_warned in 2651 yes:) 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2654 ac_tool_warned=yes ;; 2655 esac 2656 CC=$ac_ct_CC 2657 fi 1716 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1717 echo "${ECHO_T}$ac_ct_CC" >&6 1718 else 1719 echo "$as_me:$LINENO: result: no" >&5 1720 echo "${ECHO_T}no" >&6 1721 fi 1722 1723 CC=$ac_ct_CC 2658 1724 else 2659 1725 CC="$ac_cv_prog_CC" … … 2661 1727 2662 1728 if test -z "$CC"; then 2663 2664 1729 if test -n "$ac_tool_prefix"; then 1730 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2665 1731 set dummy ${ac_tool_prefix}cc; ac_word=$2 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52667 $as_echo_n "checking for $ac_word... " >&6; } 2668 if test "${ac_cv_prog_CC+set}" = set; then :2669 $as_echo_n "(cached)" >&61732 echo "$as_me:$LINENO: checking for $ac_word" >&5 1733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1734 if test "${ac_cv_prog_CC+set}" = set; then 1735 echo $ECHO_N "(cached) $ECHO_C" >&6 2670 1736 else 2671 1737 if test -n "$CC"; then … … 2677 1743 IFS=$as_save_IFS 2678 1744 test -z "$as_dir" && as_dir=. 2679 2680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1745 for ac_exec_ext in '' $ac_executable_extensions; do 1746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2681 1747 ac_cv_prog_CC="${ac_tool_prefix}cc" 2682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2683 1749 break 2 2684 1750 fi 2685 1751 done 2686 done 2687 IFS=$as_save_IFS 1752 done 2688 1753 2689 1754 fi … … 2691 1756 CC=$ac_cv_prog_CC 2692 1757 if test -n "$CC"; then 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2694 $as_echo "$CC" >&6; } 2695 else 2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2697 $as_echo "no" >&6; } 2698 fi 2699 2700 1758 echo "$as_me:$LINENO: result: $CC" >&5 1759 echo "${ECHO_T}$CC" >&6 1760 else 1761 echo "$as_me:$LINENO: result: no" >&5 1762 echo "${ECHO_T}no" >&6 1763 fi 1764 1765 fi 1766 if test -z "$ac_cv_prog_CC"; then 1767 ac_ct_CC=$CC 1768 # Extract the first word of "cc", so it can be a program name with args. 1769 set dummy cc; ac_word=$2 1770 echo "$as_me:$LINENO: checking for $ac_word" >&5 1771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1773 echo $ECHO_N "(cached) $ECHO_C" >&6 1774 else 1775 if test -n "$ac_ct_CC"; then 1776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1777 else 1778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1779 for as_dir in $PATH 1780 do 1781 IFS=$as_save_IFS 1782 test -z "$as_dir" && as_dir=. 1783 for ac_exec_ext in '' $ac_executable_extensions; do 1784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1785 ac_cv_prog_ac_ct_CC="cc" 1786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1787 break 2 2701 1788 fi 1789 done 1790 done 1791 1792 fi 1793 fi 1794 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1795 if test -n "$ac_ct_CC"; then 1796 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1797 echo "${ECHO_T}$ac_ct_CC" >&6 1798 else 1799 echo "$as_me:$LINENO: result: no" >&5 1800 echo "${ECHO_T}no" >&6 1801 fi 1802 1803 CC=$ac_ct_CC 1804 else 1805 CC="$ac_cv_prog_CC" 1806 fi 1807 2702 1808 fi 2703 1809 if test -z "$CC"; then 2704 1810 # Extract the first word of "cc", so it can be a program name with args. 2705 1811 set dummy cc; ac_word=$2 2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52707 $as_echo_n "checking for $ac_word... " >&6; } 2708 if test "${ac_cv_prog_CC+set}" = set; then :2709 $as_echo_n "(cached)" >&61812 echo "$as_me:$LINENO: checking for $ac_word" >&5 1813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1814 if test "${ac_cv_prog_CC+set}" = set; then 1815 echo $ECHO_N "(cached) $ECHO_C" >&6 2710 1816 else 2711 1817 if test -n "$CC"; then … … 2718 1824 IFS=$as_save_IFS 2719 1825 test -z "$as_dir" && as_dir=. 2720 2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1826 for ac_exec_ext in '' $ac_executable_extensions; do 1827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2722 1828 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2723 1829 ac_prog_rejected=yes … … 2725 1831 fi 2726 1832 ac_cv_prog_CC="cc" 2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2728 1834 break 2 2729 1835 fi 2730 1836 done 2731 done 2732 IFS=$as_save_IFS 1837 done 2733 1838 2734 1839 if test $ac_prog_rejected = yes; then … … 2748 1853 CC=$ac_cv_prog_CC 2749 1854 if test -n "$CC"; then 2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2751 $as_echo "$CC" >&6; } 2752 else 2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2754 $as_echo "no" >&6; } 2755 fi 2756 1855 echo "$as_me:$LINENO: result: $CC" >&5 1856 echo "${ECHO_T}$CC" >&6 1857 else 1858 echo "$as_me:$LINENO: result: no" >&5 1859 echo "${ECHO_T}no" >&6 1860 fi 2757 1861 2758 1862 fi 2759 1863 if test -z "$CC"; then 2760 1864 if test -n "$ac_tool_prefix"; then 2761 for ac_prog in cl .exe1865 for ac_prog in cl 2762 1866 do 2763 1867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2764 1868 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52766 $as_echo_n "checking for $ac_word... " >&6; } 2767 if test "${ac_cv_prog_CC+set}" = set; then :2768 $as_echo_n "(cached)" >&61869 echo "$as_me:$LINENO: checking for $ac_word" >&5 1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1871 if test "${ac_cv_prog_CC+set}" = set; then 1872 echo $ECHO_N "(cached) $ECHO_C" >&6 2769 1873 else 2770 1874 if test -n "$CC"; then … … 2776 1880 IFS=$as_save_IFS 2777 1881 test -z "$as_dir" && as_dir=. 2778 2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1882 for ac_exec_ext in '' $ac_executable_extensions; do 1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2780 1884 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2782 1886 break 2 2783 1887 fi 2784 1888 done 2785 done 2786 IFS=$as_save_IFS 1889 done 2787 1890 2788 1891 fi … … 2790 1893 CC=$ac_cv_prog_CC 2791 1894 if test -n "$CC"; then 2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2793 $as_echo "$CC" >&6; } 2794 else 2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2796 $as_echo "no" >&6; } 2797 fi 2798 1895 echo "$as_me:$LINENO: result: $CC" >&5 1896 echo "${ECHO_T}$CC" >&6 1897 else 1898 echo "$as_me:$LINENO: result: no" >&5 1899 echo "${ECHO_T}no" >&6 1900 fi 2799 1901 2800 1902 test -n "$CC" && break … … 2803 1905 if test -z "$CC"; then 2804 1906 ac_ct_CC=$CC 2805 for ac_prog in cl .exe1907 for ac_prog in cl 2806 1908 do 2807 1909 # Extract the first word of "$ac_prog", so it can be a program name with args. 2808 1910 set dummy $ac_prog; ac_word=$2 2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52810 $as_echo_n "checking for $ac_word... " >&6; } 2811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2812 $as_echo_n "(cached)" >&61911 echo "$as_me:$LINENO: checking for $ac_word" >&5 1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1914 echo $ECHO_N "(cached) $ECHO_C" >&6 2813 1915 else 2814 1916 if test -n "$ac_ct_CC"; then … … 2820 1922 IFS=$as_save_IFS 2821 1923 test -z "$as_dir" && as_dir=. 2822 2823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1924 for ac_exec_ext in '' $ac_executable_extensions; do 1925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2824 1926 ac_cv_prog_ac_ct_CC="$ac_prog" 2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2826 1928 break 2 2827 1929 fi 2828 1930 done 2829 done 2830 IFS=$as_save_IFS 1931 done 2831 1932 2832 1933 fi … … 2834 1935 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2835 1936 if test -n "$ac_ct_CC"; then 2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2837 $as_echo "$ac_ct_CC" >&6; } 2838 else 2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2840 $as_echo "no" >&6; } 2841 fi 2842 1937 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1938 echo "${ECHO_T}$ac_ct_CC" >&6 1939 else 1940 echo "$as_me:$LINENO: result: no" >&5 1941 echo "${ECHO_T}no" >&6 1942 fi 2843 1943 2844 1944 test -n "$ac_ct_CC" && break 2845 1945 done 2846 1946 2847 if test "x$ac_ct_CC" = x; then 2848 CC="" 2849 else 2850 case $cross_compiling:$ac_tool_warned in 2851 yes:) 2852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2854 ac_tool_warned=yes ;; 2855 esac 2856 CC=$ac_ct_CC 2857 fi 2858 fi 2859 2860 fi 2861 2862 2863 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2865 as_fn_error $? "no acceptable C compiler found in \$PATH 2866 See \`config.log' for more details" "$LINENO" 5 ; } 1947 CC=$ac_ct_CC 1948 fi 1949 1950 fi 1951 1952 1953 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1954 See \`config.log' for more details." >&5 1955 echo "$as_me: error: no acceptable C compiler found in \$PATH 1956 See \`config.log' for more details." >&2;} 1957 { (exit 1); exit 1; }; } 2867 1958 2868 1959 # Provide some information about the compiler. 2869 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2870 set X $ac_compile 2871 ac_compiler=$2 2872 for ac_option in --version -v -V -qversion; do 2873 { { ac_try="$ac_compiler $ac_option >&5" 2874 case "(($ac_try" in 2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2876 *) ac_try_echo=$ac_try;; 2877 esac 2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2879 $as_echo "$ac_try_echo"; } >&5 2880 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2881 ac_status=$? 2882 if test -s conftest.err; then 2883 sed '10a\ 2884 ... rest of stderr output deleted ... 2885 10q' conftest.err >conftest.er1 2886 cat conftest.er1 >&5 2887 fi 2888 rm -f conftest.er1 conftest.err 2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2890 test $ac_status = 0; } 2891 done 2892 2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1960 echo "$as_me:$LINENO:" \ 1961 "checking for C compiler version" >&5 1962 ac_compiler=`set X $ac_compile; echo $2` 1963 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1964 (eval $ac_compiler --version </dev/null >&5) 2>&5 1965 ac_status=$? 1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1967 (exit $ac_status); } 1968 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1969 (eval $ac_compiler -v </dev/null >&5) 2>&5 1970 ac_status=$? 1971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1972 (exit $ac_status); } 1973 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1974 (eval $ac_compiler -V </dev/null >&5) 2>&5 1975 ac_status=$? 1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1977 (exit $ac_status); } 1978 1979 cat >conftest.$ac_ext <<_ACEOF 1980 /* confdefs.h. */ 1981 _ACEOF 1982 cat confdefs.h >>conftest.$ac_ext 1983 cat >>conftest.$ac_ext <<_ACEOF 2894 1984 /* end confdefs.h. */ 2895 1985 … … 2903 1993 _ACEOF 2904 1994 ac_clean_files_save=$ac_clean_files 2905 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"1995 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2906 1996 # Try to create an executable without -o first, disregard a.out. 2907 1997 # It will help us diagnose broken compilers, and finding out an intuition 2908 1998 # of exeext. 2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2910 $as_echo_n "checking whether the C compiler works... " >&6; } 2911 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2912 2913 # The possible output files: 2914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2915 2916 ac_rmfiles= 2917 for ac_file in $ac_files 2918 do 2919 case $ac_file in 2920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2921 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2922 esac 2923 done 2924 rm -f $ac_rmfiles 2925 2926 if { { ac_try="$ac_link_default" 2927 case "(($ac_try" in 2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2929 *) ac_try_echo=$ac_try;; 2930 esac 2931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2932 $as_echo "$ac_try_echo"; } >&5 2933 (eval "$ac_link_default") 2>&5 2934 ac_status=$? 2935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2936 test $ac_status = 0; }; then : 2937 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2939 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2940 # so that the user can short-circuit this test for compilers unknown to 2941 # Autoconf. 2942 for ac_file in $ac_files '' 1999 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2000 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2001 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2002 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2003 (eval $ac_link_default) 2>&5 2004 ac_status=$? 2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2006 (exit $ac_status); }; then 2007 # Find the output, starting from the most likely. This scheme is 2008 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2009 # resort. 2010 2011 # Be careful to initialize this variable, since it used to be cached. 2012 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2013 ac_cv_exeext= 2014 # b.out is created by i960 compilers. 2015 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2943 2016 do 2944 2017 test -f "$ac_file" || continue 2945 2018 case $ac_file in 2946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2020 ;; 2021 conftest.$ac_ext ) 2022 # This is the source file. 2947 2023 ;; 2948 2024 [ab].out ) … … 2951 2027 break;; 2952 2028 *.* ) 2953 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2954 then :; else 2955 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2956 fi 2957 # We set ac_cv_exeext here because the later test for it is not 2958 # safe: cross compilers may not add the suffix if given an `-o' 2959 # argument, so we may need to know it at that point already. 2960 # Even if this section looks crufty: it has the advantage of 2961 # actually working. 2029 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2030 # FIXME: I believe we export ac_cv_exeext for Libtool, 2031 # but it would be cool to find out if it's true. Does anybody 2032 # maintain Libtool? --akim. 2033 export ac_cv_exeext 2962 2034 break;; 2963 2035 * ) … … 2965 2037 esac 2966 2038 done 2967 test "$ac_cv_exeext" = no && ac_cv_exeext= 2968 2969 else 2970 ac_file='' 2971 fi 2972 if test -z "$ac_file"; then : 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2974 $as_echo "no" >&6; } 2975 $as_echo "$as_me: failed program was:" >&5 2039 else 2040 echo "$as_me: failed program was:" >&5 2976 2041 sed 's/^/| /' conftest.$ac_ext >&5 2977 2042 2978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2980 as_fn_error 77 "C compiler cannot create executables 2981 See \`config.log' for more details" "$LINENO" 5 ; } 2982 else 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2984 $as_echo "yes" >&6; } 2985 fi 2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2987 $as_echo_n "checking for C compiler default output file name... " >&6; } 2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2989 $as_echo "$ac_file" >&6; } 2043 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2044 See \`config.log' for more details." >&5 2045 echo "$as_me: error: C compiler cannot create executables 2046 See \`config.log' for more details." >&2;} 2047 { (exit 77); exit 77; }; } 2048 fi 2049 2990 2050 ac_exeext=$ac_cv_exeext 2991 2992 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2051 echo "$as_me:$LINENO: result: $ac_file" >&5 2052 echo "${ECHO_T}$ac_file" >&6 2053 2054 # Check the compiler produces executables we can run. If not, either 2055 # the compiler is broken, or we cross compile. 2056 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2057 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2058 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2059 # If not cross compiling, check that we can run a simple program. 2060 if test "$cross_compiling" != yes; then 2061 if { ac_try='./$ac_file' 2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2063 (eval $ac_try) 2>&5 2064 ac_status=$? 2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2066 (exit $ac_status); }; }; then 2067 cross_compiling=no 2068 else 2069 if test "$cross_compiling" = maybe; then 2070 cross_compiling=yes 2071 else 2072 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2073 If you meant to cross compile, use \`--host'. 2074 See \`config.log' for more details." >&5 2075 echo "$as_me: error: cannot run C compiled programs. 2076 If you meant to cross compile, use \`--host'. 2077 See \`config.log' for more details." >&2;} 2078 { (exit 1); exit 1; }; } 2079 fi 2080 fi 2081 fi 2082 echo "$as_me:$LINENO: result: yes" >&5 2083 echo "${ECHO_T}yes" >&6 2084 2085 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2993 2086 ac_clean_files=$ac_clean_files_save 2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2995 $as_echo_n "checking for suffix of executables... " >&6; } 2996 if { { ac_try="$ac_link" 2997 case "(($ac_try" in 2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2999 *) ac_try_echo=$ac_try;; 3000 esac 3001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3002 $as_echo "$ac_try_echo"; } >&5 3003 (eval "$ac_link") 2>&5 3004 ac_status=$? 3005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3006 test $ac_status = 0; }; then : 2087 # Check the compiler produces executables we can run. If not, either 2088 # the compiler is broken, or we cross compile. 2089 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2090 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2091 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2092 echo "${ECHO_T}$cross_compiling" >&6 2093 2094 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2095 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2097 (eval $ac_link) 2>&5 2098 ac_status=$? 2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2100 (exit $ac_status); }; then 3007 2101 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3008 2102 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3012 2106 test -f "$ac_file" || continue 3013 2107 case $ac_file in 3014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. map | *.inf | *.dSYM | *.o | *.obj ) ;;2108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 3015 2109 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2110 export ac_cv_exeext 3016 2111 break;; 3017 2112 * ) break;; … … 3019 2114 done 3020 2115 else 3021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3023 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3024 See \`config.log' for more details" "$LINENO" 5 ; } 3025 fi 3026 rm -f conftest conftest$ac_cv_exeext 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3028 $as_echo "$ac_cv_exeext" >&6; } 2116 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2117 See \`config.log' for more details." >&5 2118 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2119 See \`config.log' for more details." >&2;} 2120 { (exit 1); exit 1; }; } 2121 fi 2122 2123 rm -f conftest$ac_cv_exeext 2124 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2125 echo "${ECHO_T}$ac_cv_exeext" >&6 3029 2126 3030 2127 rm -f conftest.$ac_ext 3031 2128 EXEEXT=$ac_cv_exeext 3032 2129 ac_exeext=$EXEEXT 3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2130 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2131 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2132 if test "${ac_cv_objext+set}" = set; then 2133 echo $ECHO_N "(cached) $ECHO_C" >&6 2134 else 2135 cat >conftest.$ac_ext <<_ACEOF 2136 /* confdefs.h. */ 2137 _ACEOF 2138 cat confdefs.h >>conftest.$ac_ext 2139 cat >>conftest.$ac_ext <<_ACEOF 3034 2140 /* end confdefs.h. */ 3035 #include <stdio.h> 2141 3036 2142 int 3037 2143 main () 3038 2144 { 3039 FILE *f = fopen ("conftest.out", "w");3040 return ferror (f) || fclose (f) != 0;3041 2145 3042 2146 ; … … 3044 2148 } 3045 2149 _ACEOF 3046 ac_clean_files="$ac_clean_files conftest.out"3047 # Check that the compiler produces executables we can run. If not, either3048 # the compiler is broken, or we cross compile.3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&53050 $as_echo_n "checking whether we are cross compiling... " >&6; }3051 if test "$cross_compiling" != yes; then3052 { { ac_try="$ac_link"3053 case "(($ac_try" in3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3055 *) ac_try_echo=$ac_try;;3056 esac3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3058 $as_echo "$ac_try_echo"; } >&53059 (eval "$ac_link") 2>&53060 ac_status=$?3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53062 test $ac_status = 0; }3063 if { ac_try='./conftest$ac_cv_exeext'3064 { { case "(($ac_try" in3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3066 *) ac_try_echo=$ac_try;;3067 esac3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3069 $as_echo "$ac_try_echo"; } >&53070 (eval "$ac_try") 2>&53071 ac_status=$?3072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53073 test $ac_status = 0; }; }; then3074 cross_compiling=no3075 else3076 if test "$cross_compiling" = maybe; then3077 cross_compiling=yes3078 else3079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3081 as_fn_error $? "cannot run C compiled programs.3082 If you meant to cross compile, use \`--host'.3083 See \`config.log' for more details" "$LINENO" 5 ; }3084 fi3085 fi3086 fi3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&53088 $as_echo "$cross_compiling" >&6; }3089 3090 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out3091 ac_clean_files=$ac_clean_files_save3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&53093 $as_echo_n "checking for suffix of object files... " >&6; }3094 if test "${ac_cv_objext+set}" = set; then :3095 $as_echo_n "(cached) " >&63096 else3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3098 /* end confdefs.h. */3099 3100 int3101 main ()3102 {3103 3104 ;3105 return 0;3106 }3107 _ACEOF3108 2150 rm -f conftest.o conftest.obj 3109 if { { ac_try="$ac_compile" 3110 case "(($ac_try" in 3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3112 *) ac_try_echo=$ac_try;; 3113 esac 3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3115 $as_echo "$ac_try_echo"; } >&5 3116 (eval "$ac_compile") 2>&5 3117 ac_status=$? 3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3119 test $ac_status = 0; }; then : 3120 for ac_file in conftest.o conftest.obj conftest.*; do 3121 test -f "$ac_file" || continue; 2151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2152 (eval $ac_compile) 2>&5 2153 ac_status=$? 2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2155 (exit $ac_status); }; then 2156 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3122 2157 case $ac_file in 3123 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 3124 2159 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3125 2160 break;; … … 3127 2162 done 3128 2163 else 3129 $as_echo "$as_me: failed program was:" >&52164 echo "$as_me: failed program was:" >&5 3130 2165 sed 's/^/| /' conftest.$ac_ext >&5 3131 2166 3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3134 as_fn_error $? "cannot compute suffix of object files: cannot compile 3135 See \`config.log' for more details" "$LINENO" 5 ; } 3136 fi 2167 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2168 See \`config.log' for more details." >&5 2169 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2170 See \`config.log' for more details." >&2;} 2171 { (exit 1); exit 1; }; } 2172 fi 2173 3137 2174 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3138 2175 fi 3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&53140 $as_echo "$ac_cv_objext" >&6; } 2176 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2177 echo "${ECHO_T}$ac_cv_objext" >&6 3141 2178 OBJEXT=$ac_cv_objext 3142 2179 ac_objext=$OBJEXT 3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3144 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3145 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3146 $as_echo_n "(cached) " >&6 3147 else 3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2180 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2181 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2182 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2183 echo $ECHO_N "(cached) $ECHO_C" >&6 2184 else 2185 cat >conftest.$ac_ext <<_ACEOF 2186 /* confdefs.h. */ 2187 _ACEOF 2188 cat confdefs.h >>conftest.$ac_ext 2189 cat >>conftest.$ac_ext <<_ACEOF 3149 2190 /* end confdefs.h. */ 3150 2191 … … 3160 2201 } 3161 2202 _ACEOF 3162 if ac_fn_c_try_compile "$LINENO"; then : 2203 rm -f conftest.$ac_objext 2204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2205 (eval $ac_compile) 2>conftest.er1 2206 ac_status=$? 2207 grep -v '^ *+' conftest.er1 >conftest.err 2208 rm -f conftest.er1 2209 cat conftest.err >&5 2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2211 (exit $ac_status); } && 2212 { ac_try='test -z "$ac_c_werror_flag" 2213 || test ! -s conftest.err' 2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2215 (eval $ac_try) 2>&5 2216 ac_status=$? 2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2218 (exit $ac_status); }; } && 2219 { ac_try='test -s conftest.$ac_objext' 2220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2221 (eval $ac_try) 2>&5 2222 ac_status=$? 2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2224 (exit $ac_status); }; }; then 3163 2225 ac_compiler_gnu=yes 3164 2226 else 3165 ac_compiler_gnu=no 3166 fi 3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2227 echo "$as_me: failed program was:" >&5 2228 sed 's/^/| /' conftest.$ac_ext >&5 2229 2230 ac_compiler_gnu=no 2231 fi 2232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3168 2233 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3169 2234 3170 2235 fi 3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3172 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3173 if test $ac_compiler_gnu = yes; then 3174 GCC=yes 3175 else 3176 GCC= 3177 fi 2236 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2237 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2238 GCC=`test $ac_compiler_gnu = yes && echo yes` 3178 2239 ac_test_CFLAGS=${CFLAGS+set} 3179 2240 ac_save_CFLAGS=$CFLAGS 3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3181 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3182 if test "${ac_cv_prog_cc_g+set}" = set; then : 3183 $as_echo_n "(cached) " >&6 3184 else 3185 ac_save_c_werror_flag=$ac_c_werror_flag 3186 ac_c_werror_flag=yes 3187 ac_cv_prog_cc_g=no 3188 CFLAGS="-g" 3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2241 CFLAGS="-g" 2242 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2243 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2244 if test "${ac_cv_prog_cc_g+set}" = set; then 2245 echo $ECHO_N "(cached) $ECHO_C" >&6 2246 else 2247 cat >conftest.$ac_ext <<_ACEOF 2248 /* confdefs.h. */ 2249 _ACEOF 2250 cat confdefs.h >>conftest.$ac_ext 2251 cat >>conftest.$ac_ext <<_ACEOF 3190 2252 /* end confdefs.h. */ 3191 2253 … … 3198 2260 } 3199 2261 _ACEOF 3200 if ac_fn_c_try_compile "$LINENO"; then : 2262 rm -f conftest.$ac_objext 2263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2264 (eval $ac_compile) 2>conftest.er1 2265 ac_status=$? 2266 grep -v '^ *+' conftest.er1 >conftest.err 2267 rm -f conftest.er1 2268 cat conftest.err >&5 2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2270 (exit $ac_status); } && 2271 { ac_try='test -z "$ac_c_werror_flag" 2272 || test ! -s conftest.err' 2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2274 (eval $ac_try) 2>&5 2275 ac_status=$? 2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2277 (exit $ac_status); }; } && 2278 { ac_try='test -s conftest.$ac_objext' 2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2280 (eval $ac_try) 2>&5 2281 ac_status=$? 2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2283 (exit $ac_status); }; }; then 3201 2284 ac_cv_prog_cc_g=yes 3202 2285 else 3203 CFLAGS="" 3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3205 /* end confdefs.h. */ 3206 3207 int 3208 main () 3209 { 3210 3211 ; 3212 return 0; 3213 } 3214 _ACEOF 3215 if ac_fn_c_try_compile "$LINENO"; then : 3216 3217 else 3218 ac_c_werror_flag=$ac_save_c_werror_flag 3219 CFLAGS="-g" 3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3221 /* end confdefs.h. */ 3222 3223 int 3224 main () 3225 { 3226 3227 ; 3228 return 0; 3229 } 3230 _ACEOF 3231 if ac_fn_c_try_compile "$LINENO"; then : 3232 ac_cv_prog_cc_g=yes 3233 fi 3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3235 fi 3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3237 fi 3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3239 ac_c_werror_flag=$ac_save_c_werror_flag 3240 fi 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3242 $as_echo "$ac_cv_prog_cc_g" >&6; } 2286 echo "$as_me: failed program was:" >&5 2287 sed 's/^/| /' conftest.$ac_ext >&5 2288 2289 ac_cv_prog_cc_g=no 2290 fi 2291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2292 fi 2293 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2294 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3243 2295 if test "$ac_test_CFLAGS" = set; then 3244 2296 CFLAGS=$ac_save_CFLAGS … … 3256 2308 fi 3257 2309 fi 3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53259 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3260 if test "${ac_cv_prog_cc_ c89+set}" = set; then :3261 $as_echo_n "(cached)" >&63262 else 3263 ac_cv_prog_cc_ c89=no2310 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2311 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2312 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2313 echo $ECHO_N "(cached) $ECHO_C" >&6 2314 else 2315 ac_cv_prog_cc_stdc=no 3264 2316 ac_save_CC=$CC 3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2317 cat >conftest.$ac_ext <<_ACEOF 2318 /* confdefs.h. */ 2319 _ACEOF 2320 cat confdefs.h >>conftest.$ac_ext 2321 cat >>conftest.$ac_ext <<_ACEOF 3266 2322 /* end confdefs.h. */ 3267 2323 #include <stdarg.h> … … 3291 2347 function prototypes and stuff, but not '\xHH' hex character constants. 3292 2348 These don't provoke an error unfortunately, instead are silently treated 3293 as 'x'. The following induces an error, until -std is added to get2349 as 'x'. The following induces an error, until -std1 is added to get 3294 2350 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3295 2351 array size at least. It's necessary to write '\x00'==0 to get something 3296 that's true only with -std . */2352 that's true only with -std1. */ 3297 2353 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3298 3299 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters3300 inside strings and character constants. */3301 #define FOO(x) 'x'3302 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];3303 2354 3304 2355 int test (int i, double x); … … 3316 2367 } 3317 2368 _ACEOF 3318 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3319 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2369 # Don't try gcc -ansi; that turns off useful extensions and 2370 # breaks some systems' header files. 2371 # AIX -qlanglvl=ansi 2372 # Ultrix and OSF/1 -std1 2373 # HP-UX 10.20 and later -Ae 2374 # HP-UX older versions -Aa -D_HPUX_SOURCE 2375 # SVR4 -Xc -D__EXTENSIONS__ 2376 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3320 2377 do 3321 2378 CC="$ac_save_CC $ac_arg" 3322 if ac_fn_c_try_compile "$LINENO"; then : 3323 ac_cv_prog_cc_c89=$ac_arg 3324 fi 3325 rm -f core conftest.err conftest.$ac_objext 3326 test "x$ac_cv_prog_cc_c89" != "xno" && break 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 ac_cv_prog_cc_stdc=$ac_arg 2402 break 2403 else 2404 echo "$as_me: failed program was:" >&5 2405 sed 's/^/| /' conftest.$ac_ext >&5 2406 2407 fi 2408 rm -f conftest.err conftest.$ac_objext 3327 2409 done 3328 rm -f conftest.$ac_ext 2410 rm -f conftest.$ac_ext conftest.$ac_objext 3329 2411 CC=$ac_save_CC 3330 2412 3331 2413 fi 3332 # AC_CACHE_VAL 3333 case "x$ac_cv_prog_cc_c89" in 3334 x) 3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3336 $as_echo "none needed" >&6; } ;; 3337 xno) 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3339 $as_echo "unsupported" >&6; } ;; 2414 2415 case "x$ac_cv_prog_cc_stdc" in 2416 x|xno) 2417 echo "$as_me:$LINENO: result: none needed" >&5 2418 echo "${ECHO_T}none needed" >&6 ;; 3340 2419 *) 3341 CC="$CC $ac_cv_prog_cc_c89"3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3343 $as_echo "$ac_cv_prog_cc_c89" >&6; };;2420 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2421 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2422 CC="$CC $ac_cv_prog_cc_stdc" ;; 3344 2423 esac 3345 if test "x$ac_cv_prog_cc_c89" != xno; then : 3346 3347 fi 3348 2424 2425 # Some people use a C++ compiler to compile C. Since we use `exit', 2426 # in C++ we need to declare it. In case someone uses the same compiler 2427 # for both compiling C and C++ we need to have the C++ compiler decide 2428 # the declaration of exit, since it's the most demanding environment. 2429 cat >conftest.$ac_ext <<_ACEOF 2430 #ifndef __cplusplus 2431 choke me 2432 #endif 2433 _ACEOF 2434 rm -f conftest.$ac_objext 2435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2436 (eval $ac_compile) 2>conftest.er1 2437 ac_status=$? 2438 grep -v '^ *+' conftest.er1 >conftest.err 2439 rm -f conftest.er1 2440 cat conftest.err >&5 2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2442 (exit $ac_status); } && 2443 { ac_try='test -z "$ac_c_werror_flag" 2444 || test ! -s conftest.err' 2445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2446 (eval $ac_try) 2>&5 2447 ac_status=$? 2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2449 (exit $ac_status); }; } && 2450 { ac_try='test -s conftest.$ac_objext' 2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2452 (eval $ac_try) 2>&5 2453 ac_status=$? 2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2455 (exit $ac_status); }; }; then 2456 for ac_declaration in \ 2457 '' \ 2458 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2459 'extern "C" void std::exit (int); using std::exit;' \ 2460 'extern "C" void exit (int) throw ();' \ 2461 'extern "C" void exit (int);' \ 2462 'void exit (int);' 2463 do 2464 cat >conftest.$ac_ext <<_ACEOF 2465 /* confdefs.h. */ 2466 _ACEOF 2467 cat confdefs.h >>conftest.$ac_ext 2468 cat >>conftest.$ac_ext <<_ACEOF 2469 /* end confdefs.h. */ 2470 $ac_declaration 2471 #include <stdlib.h> 2472 int 2473 main () 2474 { 2475 exit (42); 2476 ; 2477 return 0; 2478 } 2479 _ACEOF 2480 rm -f conftest.$ac_objext 2481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2482 (eval $ac_compile) 2>conftest.er1 2483 ac_status=$? 2484 grep -v '^ *+' conftest.er1 >conftest.err 2485 rm -f conftest.er1 2486 cat conftest.err >&5 2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2488 (exit $ac_status); } && 2489 { ac_try='test -z "$ac_c_werror_flag" 2490 || test ! -s conftest.err' 2491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2492 (eval $ac_try) 2>&5 2493 ac_status=$? 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); }; } && 2496 { ac_try='test -s conftest.$ac_objext' 2497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2498 (eval $ac_try) 2>&5 2499 ac_status=$? 2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2501 (exit $ac_status); }; }; then 2502 : 2503 else 2504 echo "$as_me: failed program was:" >&5 2505 sed 's/^/| /' conftest.$ac_ext >&5 2506 2507 continue 2508 fi 2509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2510 cat >conftest.$ac_ext <<_ACEOF 2511 /* confdefs.h. */ 2512 _ACEOF 2513 cat confdefs.h >>conftest.$ac_ext 2514 cat >>conftest.$ac_ext <<_ACEOF 2515 /* end confdefs.h. */ 2516 $ac_declaration 2517 int 2518 main () 2519 { 2520 exit (42); 2521 ; 2522 return 0; 2523 } 2524 _ACEOF 2525 rm -f conftest.$ac_objext 2526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2527 (eval $ac_compile) 2>conftest.er1 2528 ac_status=$? 2529 grep -v '^ *+' conftest.er1 >conftest.err 2530 rm -f conftest.er1 2531 cat conftest.err >&5 2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2533 (exit $ac_status); } && 2534 { ac_try='test -z "$ac_c_werror_flag" 2535 || test ! -s conftest.err' 2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2537 (eval $ac_try) 2>&5 2538 ac_status=$? 2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2540 (exit $ac_status); }; } && 2541 { ac_try='test -s conftest.$ac_objext' 2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2543 (eval $ac_try) 2>&5 2544 ac_status=$? 2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2546 (exit $ac_status); }; }; then 2547 break 2548 else 2549 echo "$as_me: failed program was:" >&5 2550 sed 's/^/| /' conftest.$ac_ext >&5 2551 2552 fi 2553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2554 done 2555 rm -f conftest* 2556 if test -n "$ac_declaration"; then 2557 echo '#ifdef __cplusplus' >>confdefs.h 2558 echo $ac_declaration >>confdefs.h 2559 echo '#endif' >>confdefs.h 2560 fi 2561 2562 else 2563 echo "$as_me: failed program was:" >&5 2564 sed 's/^/| /' conftest.$ac_ext >&5 2565 2566 fi 2567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3349 2568 ac_ext=c 3350 2569 ac_cpp='$CPP $CPPFLAGS' … … 3353 2572 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3354 2573 3355 ac_ext=c pp2574 ac_ext=cc 3356 2575 ac_cpp='$CXXCPP $CPPFLAGS' 3357 2576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3358 2577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3359 2578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3360 if test -z "$CXX"; then 3361 if test -n "$CCC"; then 3362 CXX=$CCC 3363 else 3364 if test -n "$ac_tool_prefix"; then 3365 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2579 if test -n "$ac_tool_prefix"; then 2580 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3366 2581 do 3367 2582 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3368 2583 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53370 $as_echo_n "checking for $ac_word... " >&6; } 3371 if test "${ac_cv_prog_CXX+set}" = set; then :3372 $as_echo_n "(cached)" >&62584 echo "$as_me:$LINENO: checking for $ac_word" >&5 2585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2586 if test "${ac_cv_prog_CXX+set}" = set; then 2587 echo $ECHO_N "(cached) $ECHO_C" >&6 3373 2588 else 3374 2589 if test -n "$CXX"; then … … 3380 2595 IFS=$as_save_IFS 3381 2596 test -z "$as_dir" && as_dir=. 3382 3383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2597 for ac_exec_ext in '' $ac_executable_extensions; do 2598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3384 2599 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3386 2601 break 2 3387 2602 fi 3388 2603 done 3389 done 3390 IFS=$as_save_IFS 2604 done 3391 2605 3392 2606 fi … … 3394 2608 CXX=$ac_cv_prog_CXX 3395 2609 if test -n "$CXX"; then 3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3397 $as_echo "$CXX" >&6; } 3398 else 3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3400 $as_echo "no" >&6; } 3401 fi 3402 2610 echo "$as_me:$LINENO: result: $CXX" >&5 2611 echo "${ECHO_T}$CXX" >&6 2612 else 2613 echo "$as_me:$LINENO: result: no" >&5 2614 echo "${ECHO_T}no" >&6 2615 fi 3403 2616 3404 2617 test -n "$CXX" && break … … 3407 2620 if test -z "$CXX"; then 3408 2621 ac_ct_CXX=$CXX 3409 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC2622 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3410 2623 do 3411 2624 # Extract the first word of "$ac_prog", so it can be a program name with args. 3412 2625 set dummy $ac_prog; ac_word=$2 3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53414 $as_echo_n "checking for $ac_word... " >&6; } 3415 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3416 $as_echo_n "(cached)" >&62626 echo "$as_me:$LINENO: checking for $ac_word" >&5 2627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2628 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2629 echo $ECHO_N "(cached) $ECHO_C" >&6 3417 2630 else 3418 2631 if test -n "$ac_ct_CXX"; then … … 3424 2637 IFS=$as_save_IFS 3425 2638 test -z "$as_dir" && as_dir=. 3426 3427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2639 for ac_exec_ext in '' $ac_executable_extensions; do 2640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3428 2641 ac_cv_prog_ac_ct_CXX="$ac_prog" 3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3430 2643 break 2 3431 2644 fi 3432 2645 done 3433 done 3434 IFS=$as_save_IFS 2646 done 3435 2647 3436 2648 fi … … 3438 2650 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3439 2651 if test -n "$ac_ct_CXX"; then 3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3441 $as_echo "$ac_ct_CXX" >&6; } 3442 else 3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3444 $as_echo "no" >&6; } 3445 fi 3446 2652 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2653 echo "${ECHO_T}$ac_ct_CXX" >&6 2654 else 2655 echo "$as_me:$LINENO: result: no" >&5 2656 echo "${ECHO_T}no" >&6 2657 fi 3447 2658 3448 2659 test -n "$ac_ct_CXX" && break 3449 2660 done 3450 3451 if test "x$ac_ct_CXX" = x; then 3452 CXX="g++" 3453 else 3454 case $cross_compiling:$ac_tool_warned in 3455 yes:) 3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3458 ac_tool_warned=yes ;; 3459 esac 3460 CXX=$ac_ct_CXX 3461 fi 3462 fi 3463 3464 fi 3465 fi 2661 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2662 2663 CXX=$ac_ct_CXX 2664 fi 2665 2666 3466 2667 # Provide some information about the compiler. 3467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3468 set X $ac_compile 3469 ac_compiler=$2 3470 for ac_option in --version -v -V -qversion; do 3471 { { ac_try="$ac_compiler $ac_option >&5" 3472 case "(($ac_try" in 3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3474 *) ac_try_echo=$ac_try;; 3475 esac 3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3477 $as_echo "$ac_try_echo"; } >&5 3478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3479 ac_status=$? 3480 if test -s conftest.err; then 3481 sed '10a\ 3482 ... rest of stderr output deleted ... 3483 10q' conftest.err >conftest.er1 3484 cat conftest.er1 >&5 3485 fi 3486 rm -f conftest.er1 conftest.err 3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3488 test $ac_status = 0; } 3489 done 3490 3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3492 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3493 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3494 $as_echo_n "(cached) " >&6 3495 else 3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2668 echo "$as_me:$LINENO:" \ 2669 "checking for C++ compiler version" >&5 2670 ac_compiler=`set X $ac_compile; echo $2` 2671 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2672 (eval $ac_compiler --version </dev/null >&5) 2>&5 2673 ac_status=$? 2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2675 (exit $ac_status); } 2676 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2677 (eval $ac_compiler -v </dev/null >&5) 2>&5 2678 ac_status=$? 2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2680 (exit $ac_status); } 2681 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2682 (eval $ac_compiler -V </dev/null >&5) 2>&5 2683 ac_status=$? 2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2685 (exit $ac_status); } 2686 2687 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2688 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2689 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2690 echo $ECHO_N "(cached) $ECHO_C" >&6 2691 else 2692 cat >conftest.$ac_ext <<_ACEOF 2693 /* confdefs.h. */ 2694 _ACEOF 2695 cat confdefs.h >>conftest.$ac_ext 2696 cat >>conftest.$ac_ext <<_ACEOF 3497 2697 /* end confdefs.h. */ 3498 2698 … … 3508 2708 } 3509 2709 _ACEOF 3510 if ac_fn_cxx_try_compile "$LINENO"; then : 2710 rm -f conftest.$ac_objext 2711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2712 (eval $ac_compile) 2>conftest.er1 2713 ac_status=$? 2714 grep -v '^ *+' conftest.er1 >conftest.err 2715 rm -f conftest.er1 2716 cat conftest.err >&5 2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2718 (exit $ac_status); } && 2719 { ac_try='test -z "$ac_cxx_werror_flag" 2720 || test ! -s conftest.err' 2721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2722 (eval $ac_try) 2>&5 2723 ac_status=$? 2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2725 (exit $ac_status); }; } && 2726 { ac_try='test -s conftest.$ac_objext' 2727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2728 (eval $ac_try) 2>&5 2729 ac_status=$? 2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2731 (exit $ac_status); }; }; then 3511 2732 ac_compiler_gnu=yes 3512 2733 else 3513 ac_compiler_gnu=no 3514 fi 3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2734 echo "$as_me: failed program was:" >&5 2735 sed 's/^/| /' conftest.$ac_ext >&5 2736 2737 ac_compiler_gnu=no 2738 fi 2739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3516 2740 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3517 2741 3518 2742 fi 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3520 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3521 if test $ac_compiler_gnu = yes; then 3522 GXX=yes 3523 else 3524 GXX= 3525 fi 2743 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2744 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2745 GXX=`test $ac_compiler_gnu = yes && echo yes` 3526 2746 ac_test_CXXFLAGS=${CXXFLAGS+set} 3527 2747 ac_save_CXXFLAGS=$CXXFLAGS 3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3529 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3530 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3531 $as_echo_n "(cached) " >&6 3532 else 3533 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3534 ac_cxx_werror_flag=yes 3535 ac_cv_prog_cxx_g=no 3536 CXXFLAGS="-g" 3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2748 CXXFLAGS="-g" 2749 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2750 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2751 if test "${ac_cv_prog_cxx_g+set}" = set; then 2752 echo $ECHO_N "(cached) $ECHO_C" >&6 2753 else 2754 cat >conftest.$ac_ext <<_ACEOF 2755 /* confdefs.h. */ 2756 _ACEOF 2757 cat confdefs.h >>conftest.$ac_ext 2758 cat >>conftest.$ac_ext <<_ACEOF 3538 2759 /* end confdefs.h. */ 3539 2760 … … 3546 2767 } 3547 2768 _ACEOF 3548 if ac_fn_cxx_try_compile "$LINENO"; then : 2769 rm -f conftest.$ac_objext 2770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2771 (eval $ac_compile) 2>conftest.er1 2772 ac_status=$? 2773 grep -v '^ *+' conftest.er1 >conftest.err 2774 rm -f conftest.er1 2775 cat conftest.err >&5 2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2777 (exit $ac_status); } && 2778 { ac_try='test -z "$ac_cxx_werror_flag" 2779 || test ! -s conftest.err' 2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2781 (eval $ac_try) 2>&5 2782 ac_status=$? 2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2784 (exit $ac_status); }; } && 2785 { ac_try='test -s conftest.$ac_objext' 2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2787 (eval $ac_try) 2>&5 2788 ac_status=$? 2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 (exit $ac_status); }; }; then 3549 2791 ac_cv_prog_cxx_g=yes 3550 2792 else 3551 CXXFLAGS="" 3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3553 /* end confdefs.h. */ 3554 3555 int 3556 main () 3557 { 3558 3559 ; 3560 return 0; 3561 } 3562 _ACEOF 3563 if ac_fn_cxx_try_compile "$LINENO"; then : 3564 3565 else 3566 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3567 CXXFLAGS="-g" 3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3569 /* end confdefs.h. */ 3570 3571 int 3572 main () 3573 { 3574 3575 ; 3576 return 0; 3577 } 3578 _ACEOF 3579 if ac_fn_cxx_try_compile "$LINENO"; then : 3580 ac_cv_prog_cxx_g=yes 3581 fi 3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3583 fi 3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3585 fi 3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3587 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3588 fi 3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3590 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2793 echo "$as_me: failed program was:" >&5 2794 sed 's/^/| /' conftest.$ac_ext >&5 2795 2796 ac_cv_prog_cxx_g=no 2797 fi 2798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2799 fi 2800 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2801 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3591 2802 if test "$ac_test_CXXFLAGS" = set; then 3592 2803 CXXFLAGS=$ac_save_CXXFLAGS … … 3604 2815 fi 3605 2816 fi 2817 for ac_declaration in \ 2818 '' \ 2819 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2820 'extern "C" void std::exit (int); using std::exit;' \ 2821 'extern "C" void exit (int) throw ();' \ 2822 'extern "C" void exit (int);' \ 2823 'void exit (int);' 2824 do 2825 cat >conftest.$ac_ext <<_ACEOF 2826 /* confdefs.h. */ 2827 _ACEOF 2828 cat confdefs.h >>conftest.$ac_ext 2829 cat >>conftest.$ac_ext <<_ACEOF 2830 /* end confdefs.h. */ 2831 $ac_declaration 2832 #include <stdlib.h> 2833 int 2834 main () 2835 { 2836 exit (42); 2837 ; 2838 return 0; 2839 } 2840 _ACEOF 2841 rm -f conftest.$ac_objext 2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2843 (eval $ac_compile) 2>conftest.er1 2844 ac_status=$? 2845 grep -v '^ *+' conftest.er1 >conftest.err 2846 rm -f conftest.er1 2847 cat conftest.err >&5 2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2849 (exit $ac_status); } && 2850 { ac_try='test -z "$ac_cxx_werror_flag" 2851 || test ! -s conftest.err' 2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2853 (eval $ac_try) 2>&5 2854 ac_status=$? 2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2856 (exit $ac_status); }; } && 2857 { ac_try='test -s conftest.$ac_objext' 2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2859 (eval $ac_try) 2>&5 2860 ac_status=$? 2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2862 (exit $ac_status); }; }; then 2863 : 2864 else 2865 echo "$as_me: failed program was:" >&5 2866 sed 's/^/| /' conftest.$ac_ext >&5 2867 2868 continue 2869 fi 2870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2871 cat >conftest.$ac_ext <<_ACEOF 2872 /* confdefs.h. */ 2873 _ACEOF 2874 cat confdefs.h >>conftest.$ac_ext 2875 cat >>conftest.$ac_ext <<_ACEOF 2876 /* end confdefs.h. */ 2877 $ac_declaration 2878 int 2879 main () 2880 { 2881 exit (42); 2882 ; 2883 return 0; 2884 } 2885 _ACEOF 2886 rm -f conftest.$ac_objext 2887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2888 (eval $ac_compile) 2>conftest.er1 2889 ac_status=$? 2890 grep -v '^ *+' conftest.er1 >conftest.err 2891 rm -f conftest.er1 2892 cat conftest.err >&5 2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2894 (exit $ac_status); } && 2895 { ac_try='test -z "$ac_cxx_werror_flag" 2896 || test ! -s conftest.err' 2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2898 (eval $ac_try) 2>&5 2899 ac_status=$? 2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2901 (exit $ac_status); }; } && 2902 { ac_try='test -s conftest.$ac_objext' 2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2904 (eval $ac_try) 2>&5 2905 ac_status=$? 2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2907 (exit $ac_status); }; }; then 2908 break 2909 else 2910 echo "$as_me: failed program was:" >&5 2911 sed 's/^/| /' conftest.$ac_ext >&5 2912 2913 fi 2914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2915 done 2916 rm -f conftest* 2917 if test -n "$ac_declaration"; then 2918 echo '#ifdef __cplusplus' >>confdefs.h 2919 echo $ac_declaration >>confdefs.h 2920 echo '#endif' >>confdefs.h 2921 fi 2922 3606 2923 ac_ext=c 3607 2924 ac_cpp='$CPP $CPPFLAGS' … … 3614 2931 # Extract the first word of "$ac_prog", so it can be a program name with args. 3615 2932 set dummy $ac_prog; ac_word=$2 3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53617 $as_echo_n "checking for $ac_word... " >&6; } 3618 if test "${ac_cv_prog_AWK+set}" = set; then :3619 $as_echo_n "(cached)" >&62933 echo "$as_me:$LINENO: checking for $ac_word" >&5 2934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2935 if test "${ac_cv_prog_AWK+set}" = set; then 2936 echo $ECHO_N "(cached) $ECHO_C" >&6 3620 2937 else 3621 2938 if test -n "$AWK"; then … … 3627 2944 IFS=$as_save_IFS 3628 2945 test -z "$as_dir" && as_dir=. 3629 3630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2946 for ac_exec_ext in '' $ac_executable_extensions; do 2947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3631 2948 ac_cv_prog_AWK="$ac_prog" 3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3633 2950 break 2 3634 2951 fi 3635 2952 done 3636 done 3637 IFS=$as_save_IFS 2953 done 3638 2954 3639 2955 fi … … 3641 2957 AWK=$ac_cv_prog_AWK 3642 2958 if test -n "$AWK"; then 3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3644 $as_echo "$AWK" >&6; } 3645 else 3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3647 $as_echo "no" >&6; } 3648 fi 3649 2959 echo "$as_me:$LINENO: result: $AWK" >&5 2960 echo "${ECHO_T}$AWK" >&6 2961 else 2962 echo "$as_me:$LINENO: result: no" >&5 2963 echo "${ECHO_T}no" >&6 2964 fi 3650 2965 3651 2966 test -n "$AWK" && break … … 3656 2971 # Extract the first word of "$ac_prog", so it can be a program name with args. 3657 2972 set dummy $ac_prog; ac_word=$2 3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53659 $as_echo_n "checking for $ac_word... " >&6; } 3660 if test "${ac_cv_prog_YACC+set}" = set; then :3661 $as_echo_n "(cached)" >&62973 echo "$as_me:$LINENO: checking for $ac_word" >&5 2974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2975 if test "${ac_cv_prog_YACC+set}" = set; then 2976 echo $ECHO_N "(cached) $ECHO_C" >&6 3662 2977 else 3663 2978 if test -n "$YACC"; then … … 3669 2984 IFS=$as_save_IFS 3670 2985 test -z "$as_dir" && as_dir=. 3671 3672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2986 for ac_exec_ext in '' $ac_executable_extensions; do 2987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3673 2988 ac_cv_prog_YACC="$ac_prog" 3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3675 2990 break 2 3676 2991 fi 3677 2992 done 3678 done 3679 IFS=$as_save_IFS 2993 done 3680 2994 3681 2995 fi … … 3683 2997 YACC=$ac_cv_prog_YACC 3684 2998 if test -n "$YACC"; then 3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 3686 $as_echo "$YACC" >&6; } 3687 else 3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3689 $as_echo "no" >&6; } 3690 fi 3691 2999 echo "$as_me:$LINENO: result: $YACC" >&5 3000 echo "${ECHO_T}$YACC" >&6 3001 else 3002 echo "$as_me:$LINENO: result: no" >&5 3003 echo "${ECHO_T}no" >&6 3004 fi 3692 3005 3693 3006 test -n "$YACC" && break … … 3696 3009 3697 3010 ac_aux_dir= 3698 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do3699 if test -f "$ac_dir/install-sh"; then3011 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 3012 if test -f $ac_dir/install-sh; then 3700 3013 ac_aux_dir=$ac_dir 3701 3014 ac_install_sh="$ac_aux_dir/install-sh -c" 3702 3015 break 3703 elif test -f "$ac_dir/install.sh"; then3016 elif test -f $ac_dir/install.sh; then 3704 3017 ac_aux_dir=$ac_dir 3705 3018 ac_install_sh="$ac_aux_dir/install.sh -c" 3706 3019 break 3707 elif test -f "$ac_dir/shtool"; then3020 elif test -f $ac_dir/shtool; then 3708 3021 ac_aux_dir=$ac_dir 3709 3022 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3712 3025 done 3713 3026 if test -z "$ac_aux_dir"; then 3714 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3715 fi 3716 3717 # These three variables are undocumented and unsupported, 3718 # and are intended to be withdrawn in a future Autoconf release. 3719 # They can cause serious problems if a builder's source tree is in a directory 3720 # whose full name contains unusual characters. 3721 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3722 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3723 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3724 3027 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 3028 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 3029 { (exit 1); exit 1; }; } 3030 fi 3031 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3032 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3033 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3725 3034 3726 3035 # Make sure we can run config.sub. 3727 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3728 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3729 3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3731 $as_echo_n "checking build system type... " >&6; } 3732 if test "${ac_cv_build+set}" = set; then : 3733 $as_echo_n "(cached) " >&6 3734 else 3735 ac_build_alias=$build_alias 3736 test "x$ac_build_alias" = x && 3737 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3738 test "x$ac_build_alias" = x && 3739 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3740 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3741 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3742 3743 fi 3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3745 $as_echo "$ac_cv_build" >&6; } 3746 case $ac_cv_build in 3747 *-*-*) ;; 3748 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 3749 esac 3036 $ac_config_sub sun4 >/dev/null 2>&1 || 3037 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 3038 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 3039 { (exit 1); exit 1; }; } 3040 3041 echo "$as_me:$LINENO: checking build system type" >&5 3042 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3043 if test "${ac_cv_build+set}" = set; then 3044 echo $ECHO_N "(cached) $ECHO_C" >&6 3045 else 3046 ac_cv_build_alias=$build_alias 3047 test -z "$ac_cv_build_alias" && 3048 ac_cv_build_alias=`$ac_config_guess` 3049 test -z "$ac_cv_build_alias" && 3050 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3051 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3052 { (exit 1); exit 1; }; } 3053 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 3054 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 3055 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3056 { (exit 1); exit 1; }; } 3057 3058 fi 3059 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3060 echo "${ECHO_T}$ac_cv_build" >&6 3750 3061 build=$ac_cv_build 3751 ac_save_IFS=$IFS; IFS='-' 3752 set x $ac_cv_build 3753 shift 3754 build_cpu=$1 3755 build_vendor=$2 3756 shift; shift 3757 # Remember, the first character of IFS is used to create $*, 3758 # except with old shells: 3759 build_os=$* 3760 IFS=$ac_save_IFS 3761 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3762 3763 3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3765 $as_echo_n "checking host system type... " >&6; } 3766 if test "${ac_cv_host+set}" = set; then : 3767 $as_echo_n "(cached) " >&6 3768 else 3769 if test "x$host_alias" = x; then 3770 ac_cv_host=$ac_cv_build 3771 else 3772 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3773 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3774 fi 3775 3776 fi 3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3778 $as_echo "$ac_cv_host" >&6; } 3779 case $ac_cv_host in 3780 *-*-*) ;; 3781 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 3782 esac 3062 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3063 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3064 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3065 3066 3067 echo "$as_me:$LINENO: checking host system type" >&5 3068 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3069 if test "${ac_cv_host+set}" = set; then 3070 echo $ECHO_N "(cached) $ECHO_C" >&6 3071 else 3072 ac_cv_host_alias=$host_alias 3073 test -z "$ac_cv_host_alias" && 3074 ac_cv_host_alias=$ac_cv_build_alias 3075 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 3076 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 3077 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 3078 { (exit 1); exit 1; }; } 3079 3080 fi 3081 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3082 echo "${ECHO_T}$ac_cv_host" >&6 3783 3083 host=$ac_cv_host 3784 ac_save_IFS=$IFS; IFS='-' 3785 set x $ac_cv_host 3786 shift 3787 host_cpu=$1 3788 host_vendor=$2 3789 shift; shift 3790 # Remember, the first character of IFS is used to create $*, 3791 # except with old shells: 3792 host_os=$* 3793 IFS=$ac_save_IFS 3794 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3795 3796 3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 3798 $as_echo_n "checking target system type... " >&6; } 3799 if test "${ac_cv_target+set}" = set; then : 3800 $as_echo_n "(cached) " >&6 3801 else 3802 if test "x$target_alias" = x; then 3803 ac_cv_target=$ac_cv_host 3804 else 3805 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3806 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 3807 fi 3808 3809 fi 3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 3811 $as_echo "$ac_cv_target" >&6; } 3812 case $ac_cv_target in 3813 *-*-*) ;; 3814 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 3815 esac 3084 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3085 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3086 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3087 3088 3089 echo "$as_me:$LINENO: checking target system type" >&5 3090 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3091 if test "${ac_cv_target+set}" = set; then 3092 echo $ECHO_N "(cached) $ECHO_C" >&6 3093 else 3094 ac_cv_target_alias=$target_alias 3095 test "x$ac_cv_target_alias" = "x" && 3096 ac_cv_target_alias=$ac_cv_host_alias 3097 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 3098 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 3099 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 3100 { (exit 1); exit 1; }; } 3101 3102 fi 3103 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3104 echo "${ECHO_T}$ac_cv_target" >&6 3816 3105 target=$ac_cv_target 3817 ac_save_IFS=$IFS; IFS='-' 3818 set x $ac_cv_target 3819 shift 3820 target_cpu=$1 3821 target_vendor=$2 3822 shift; shift 3823 # Remember, the first character of IFS is used to create $*, 3824 # except with old shells: 3825 target_os=$* 3826 IFS=$ac_save_IFS 3827 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3106 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3107 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3108 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3828 3109 3829 3110 … … 3834 3115 NONENONEs,x,x, && 3835 3116 program_prefix=${target_alias}- 3836 3837 3117 # Find a good install program. We prefer a C program (faster), 3838 3118 # so one script is as good as another. But avoid the broken or … … 3848 3128 # OS/2's system install, which has a completely different semantic 3849 3129 # ./install, which can be erroneously created by make from ./install.sh. 3850 # Reject install programs that cannot install multiple files. 3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3852 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3130 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3131 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3853 3132 if test -z "$INSTALL"; then 3854 if test "${ac_cv_path_install+set}" = set; then :3855 $as_echo_n "(cached)" >&63133 if test "${ac_cv_path_install+set}" = set; then 3134 echo $ECHO_N "(cached) $ECHO_C" >&6 3856 3135 else 3857 3136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3860 3139 IFS=$as_save_IFS 3861 3140 test -z "$as_dir" && as_dir=. 3862 3863 case $as_dir/ in #((3864 ./ | .// | / [cC]/* | \3141 # Account for people who put trailing slashes in PATH elements. 3142 case $as_dir/ in 3143 ./ | .// | /cC/* | \ 3865 3144 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3866 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \3145 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3867 3146 /usr/ucb/* ) ;; 3868 3147 *) … … 3872 3151 for ac_prog in ginstall scoinst install; do 3873 3152 for ac_exec_ext in '' $ac_executable_extensions; do 3874 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then3153 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3875 3154 if test $ac_prog = install && 3876 3155 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3882 3161 : 3883 3162 else 3884 rm -rf conftest.one conftest.two conftest.dir 3885 echo one > conftest.one 3886 echo two > conftest.two 3887 mkdir conftest.dir 3888 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3889 test -s conftest.one && test -s conftest.two && 3890 test -s conftest.dir/conftest.one && 3891 test -s conftest.dir/conftest.two 3892 then 3893 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3894 break 3 3895 fi 3163 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3164 break 3 3896 3165 fi 3897 3166 fi … … 3900 3169 ;; 3901 3170 esac 3902 3903 done 3904 IFS=$as_save_IFS 3905 3906 rm -rf conftest.one conftest.two conftest.dir 3171 done 3172 3907 3173 3908 3174 fi … … 3910 3176 INSTALL=$ac_cv_path_install 3911 3177 else 3912 # As a last resort, use the slow shell script. Don't cache a3913 # valuefor INSTALL within a source directory, because that will3178 # As a last resort, use the slow shell script. We don't cache a 3179 # path for INSTALL within a source directory, because that will 3914 3180 # break other packages using the cache if that directory is 3915 # removed, or if the value is a relative name.3181 # removed, or if the path is relative. 3916 3182 INSTALL=$ac_install_sh 3917 3183 fi 3918 3184 fi 3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&53920 $as_echo "$INSTALL" >&6; } 3185 echo "$as_me:$LINENO: result: $INSTALL" >&5 3186 echo "${ECHO_T}$INSTALL" >&6 3921 3187 3922 3188 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3928 3194 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3929 3195 3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&53931 $as_echo_n "checking whether ln -s works... " >&6; } 3196 echo "$as_me:$LINENO: checking whether ln -s works" >&5 3197 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3932 3198 LN_S=$as_ln_s 3933 3199 if test "$LN_S" = "ln -s"; then 3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3935 $as_echo "yes" >&6; } 3936 else 3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3938 $as_echo "no, using $LN_S" >&6; } 3939 fi 3940 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3942 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3943 set x ${MAKE-make} 3944 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3945 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3946 $as_echo_n "(cached) " >&6 3200 echo "$as_me:$LINENO: result: yes" >&5 3201 echo "${ECHO_T}yes" >&6 3202 else 3203 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3204 echo "${ECHO_T}no, using $LN_S" >&6 3205 fi 3206 3207 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3208 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3209 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3210 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3211 echo $ECHO_N "(cached) $ECHO_C" >&6 3947 3212 else 3948 3213 cat >conftest.make <<\_ACEOF 3949 SHELL = /bin/sh3950 3214 all: 3951 @echo ' @@@%%%=$(MAKE)=@@@%%%'3952 _ACEOF 3953 # GNU make sometimes prints "make[1]: Entering 3954 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3955 *@@@%%%=?*=@@@%%%*) 3956 eval ac_cv_prog_make_${ac_make}_set=yes;;3957 *) 3958 eval ac_cv_prog_make_${ac_make}_set=no;;3959 esac 3215 @echo 'ac_maketemp="$(MAKE)"' 3216 _ACEOF 3217 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3218 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3219 if test -n "$ac_maketemp"; then 3220 eval ac_cv_prog_make_${ac_make}_set=yes 3221 else 3222 eval ac_cv_prog_make_${ac_make}_set=no 3223 fi 3960 3224 rm -f conftest.make 3961 3225 fi 3962 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&53964 $as_echo "yes" >&6; } 3226 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3227 echo "$as_me:$LINENO: result: yes" >&5 3228 echo "${ECHO_T}yes" >&6 3965 3229 SET_MAKE= 3966 3230 else 3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53968 $as_echo "no" >&6; } 3231 echo "$as_me:$LINENO: result: no" >&5 3232 echo "${ECHO_T}no" >&6 3969 3233 SET_MAKE="MAKE=${MAKE-make}" 3970 3234 fi … … 3973 3237 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3974 3238 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53976 $as_echo_n "checking for $ac_word... " >&6; } 3977 if test "${ac_cv_prog_RANLIB+set}" = set; then :3978 $as_echo_n "(cached)" >&63239 echo "$as_me:$LINENO: checking for $ac_word" >&5 3240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3241 if test "${ac_cv_prog_RANLIB+set}" = set; then 3242 echo $ECHO_N "(cached) $ECHO_C" >&6 3979 3243 else 3980 3244 if test -n "$RANLIB"; then … … 3986 3250 IFS=$as_save_IFS 3987 3251 test -z "$as_dir" && as_dir=. 3988 3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3252 for ac_exec_ext in '' $ac_executable_extensions; do 3253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3990 3254 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3992 3256 break 2 3993 3257 fi 3994 3258 done 3995 done 3996 IFS=$as_save_IFS 3259 done 3997 3260 3998 3261 fi … … 4000 3263 RANLIB=$ac_cv_prog_RANLIB 4001 3264 if test -n "$RANLIB"; then 4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4003 $as_echo "$RANLIB" >&6; } 4004 else 4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4006 $as_echo "no" >&6; } 4007 fi 4008 3265 echo "$as_me:$LINENO: result: $RANLIB" >&5 3266 echo "${ECHO_T}$RANLIB" >&6 3267 else 3268 echo "$as_me:$LINENO: result: no" >&5 3269 echo "${ECHO_T}no" >&6 3270 fi 4009 3271 4010 3272 fi … … 4013 3275 # Extract the first word of "ranlib", so it can be a program name with args. 4014 3276 set dummy ranlib; ac_word=$2 4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54016 $as_echo_n "checking for $ac_word... " >&6; } 4017 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :4018 $as_echo_n "(cached)" >&63277 echo "$as_me:$LINENO: checking for $ac_word" >&5 3278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3279 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3280 echo $ECHO_N "(cached) $ECHO_C" >&6 4019 3281 else 4020 3282 if test -n "$ac_ct_RANLIB"; then … … 4026 3288 IFS=$as_save_IFS 4027 3289 test -z "$as_dir" && as_dir=. 4028 4029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3290 for ac_exec_ext in '' $ac_executable_extensions; do 3291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4030 3292 ac_cv_prog_ac_ct_RANLIB="ranlib" 4031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4032 3294 break 2 4033 3295 fi 4034 3296 done 4035 4036 IFS=$as_save_IFS 4037 3297 done 3298 3299 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4038 3300 fi 4039 3301 fi 4040 3302 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4041 3303 if test -n "$ac_ct_RANLIB"; then 4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4043 $as_echo "$ac_ct_RANLIB" >&6; } 4044 else 4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4046 $as_echo "no" >&6; } 4047 fi 4048 4049 if test "x$ac_ct_RANLIB" = x; then 4050 RANLIB=":" 4051 else 4052 case $cross_compiling:$ac_tool_warned in 4053 yes:) 4054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4056 ac_tool_warned=yes ;; 4057 esac 4058 RANLIB=$ac_ct_RANLIB 4059 fi 3304 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3305 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3306 else 3307 echo "$as_me:$LINENO: result: no" >&5 3308 echo "${ECHO_T}no" >&6 3309 fi 3310 3311 RANLIB=$ac_ct_RANLIB 4060 3312 else 4061 3313 RANLIB="$ac_cv_prog_RANLIB" … … 4063 3315 4064 3316 4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&54066 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3317 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3318 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4067 3319 arch_64bit=no 4068 3320 case "$host_cpu" in … … 4071 3323 4072 3324 if test "$arch_64bit" = yes; then 4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&54074 $as_echo "yes" >&6; } 3325 echo "$as_me:$LINENO: result: yes" >&5 3326 echo "${ECHO_T}yes" >&6 4075 3327 if test -z "$COMPAT32BITFLAGS" ; then 4076 3328 if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then … … 4079 3331 fi 4080 3332 else 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54082 $as_echo "no" >&6; } 3333 echo "$as_me:$LINENO: result: no" >&5 3334 echo "${ECHO_T}no" >&6 4083 3335 if test -z "$COMPAT32BITFLAGS" ; then 4084 3336 COMPAT32BITFLAGS= … … 4113 3365 #do test of MICO_VER 4114 3366 if test MICO_VER != 0; then 4115 $as_echo "#define MICO_VER 1" >>confdefs.h 3367 cat >>confdefs.h <<\_ACEOF 3368 #define MICO_VER 1 3369 _ACEOF 4116 3370 4117 3371 … … 4126 3380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4127 3381 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&54129 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3382 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3383 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4130 3384 # On Suns, sometimes $CPP names a directory. 4131 3385 if test -n "$CPP" && test -d "$CPP"; then … … 4133 3387 fi 4134 3388 if test -z "$CPP"; then 4135 if test "${ac_cv_prog_CPP+set}" = set; then :4136 $as_echo_n "(cached)" >&63389 if test "${ac_cv_prog_CPP+set}" = set; then 3390 echo $ECHO_N "(cached) $ECHO_C" >&6 4137 3391 else 4138 3392 # Double quotes because CPP needs to be expanded … … 4148 3402 # On the NeXT, cc -E runs the code through the compiler's parser, 4149 3403 # not just through cpp. "Syntax error" is here to catch this case. 4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3404 cat >conftest.$ac_ext <<_ACEOF 3405 /* confdefs.h. */ 3406 _ACEOF 3407 cat confdefs.h >>conftest.$ac_ext 3408 cat >>conftest.$ac_ext <<_ACEOF 4151 3409 /* end confdefs.h. */ 4152 3410 #ifdef __STDC__ … … 4157 3415 Syntax error 4158 3416 _ACEOF 4159 if ac_fn_c_try_cpp "$LINENO"; then : 4160 4161 else 3417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3418 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3419 ac_status=$? 3420 grep -v '^ *+' conftest.er1 >conftest.err 3421 rm -f conftest.er1 3422 cat conftest.err >&5 3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3424 (exit $ac_status); } >/dev/null; then 3425 if test -s conftest.err; then 3426 ac_cpp_err=$ac_c_preproc_warn_flag 3427 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3428 else 3429 ac_cpp_err= 3430 fi 3431 else 3432 ac_cpp_err=yes 3433 fi 3434 if test -z "$ac_cpp_err"; then 3435 : 3436 else 3437 echo "$as_me: failed program was:" >&5 3438 sed 's/^/| /' conftest.$ac_ext >&5 3439 4162 3440 # Broken: fails on valid input. 4163 3441 continue 4164 3442 fi 4165 rm -f conftest.err conftest. i conftest.$ac_ext4166 4167 # OK, works on sane cases. Now check whether non existent headers3443 rm -f conftest.err conftest.$ac_ext 3444 3445 # OK, works on sane cases. Now check whether non-existent headers 4168 3446 # can be detected and how. 4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3447 cat >conftest.$ac_ext <<_ACEOF 3448 /* confdefs.h. */ 3449 _ACEOF 3450 cat confdefs.h >>conftest.$ac_ext 3451 cat >>conftest.$ac_ext <<_ACEOF 4170 3452 /* end confdefs.h. */ 4171 3453 #include <ac_nonexistent.h> 4172 3454 _ACEOF 4173 if ac_fn_c_try_cpp "$LINENO"; then : 3455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3457 ac_status=$? 3458 grep -v '^ *+' conftest.er1 >conftest.err 3459 rm -f conftest.er1 3460 cat conftest.err >&5 3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3462 (exit $ac_status); } >/dev/null; then 3463 if test -s conftest.err; then 3464 ac_cpp_err=$ac_c_preproc_warn_flag 3465 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3466 else 3467 ac_cpp_err= 3468 fi 3469 else 3470 ac_cpp_err=yes 3471 fi 3472 if test -z "$ac_cpp_err"; then 4174 3473 # Broken: success on invalid input. 4175 3474 continue 4176 3475 else 3476 echo "$as_me: failed program was:" >&5 3477 sed 's/^/| /' conftest.$ac_ext >&5 3478 4177 3479 # Passes both tests. 4178 3480 ac_preproc_ok=: 4179 3481 break 4180 3482 fi 4181 rm -f conftest.err conftest. i conftest.$ac_ext3483 rm -f conftest.err conftest.$ac_ext 4182 3484 4183 3485 done 4184 3486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4185 rm -f conftest. i conftest.err conftest.$ac_ext4186 if $ac_preproc_ok; then :3487 rm -f conftest.err conftest.$ac_ext 3488 if $ac_preproc_ok; then 4187 3489 break 4188 3490 fi … … 4196 3498 ac_cv_prog_CPP=$CPP 4197 3499 fi 4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54199 $as_echo "$CPP" >&6; } 3500 echo "$as_me:$LINENO: result: $CPP" >&5 3501 echo "${ECHO_T}$CPP" >&6 4200 3502 ac_preproc_ok=false 4201 3503 for ac_c_preproc_warn_flag in '' yes … … 4207 3509 # On the NeXT, cc -E runs the code through the compiler's parser, 4208 3510 # not just through cpp. "Syntax error" is here to catch this case. 4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3511 cat >conftest.$ac_ext <<_ACEOF 3512 /* confdefs.h. */ 3513 _ACEOF 3514 cat confdefs.h >>conftest.$ac_ext 3515 cat >>conftest.$ac_ext <<_ACEOF 4210 3516 /* end confdefs.h. */ 4211 3517 #ifdef __STDC__ … … 4216 3522 Syntax error 4217 3523 _ACEOF 4218 if ac_fn_c_try_cpp "$LINENO"; then : 4219 4220 else 3524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3525 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3526 ac_status=$? 3527 grep -v '^ *+' conftest.er1 >conftest.err 3528 rm -f conftest.er1 3529 cat conftest.err >&5 3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3531 (exit $ac_status); } >/dev/null; then 3532 if test -s conftest.err; then 3533 ac_cpp_err=$ac_c_preproc_warn_flag 3534 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3535 else 3536 ac_cpp_err= 3537 fi 3538 else 3539 ac_cpp_err=yes 3540 fi 3541 if test -z "$ac_cpp_err"; then 3542 : 3543 else 3544 echo "$as_me: failed program was:" >&5 3545 sed 's/^/| /' conftest.$ac_ext >&5 3546 4221 3547 # Broken: fails on valid input. 4222 3548 continue 4223 3549 fi 4224 rm -f conftest.err conftest. i conftest.$ac_ext4225 4226 # OK, works on sane cases. Now check whether non existent headers3550 rm -f conftest.err conftest.$ac_ext 3551 3552 # OK, works on sane cases. Now check whether non-existent headers 4227 3553 # can be detected and how. 4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3554 cat >conftest.$ac_ext <<_ACEOF 3555 /* confdefs.h. */ 3556 _ACEOF 3557 cat confdefs.h >>conftest.$ac_ext 3558 cat >>conftest.$ac_ext <<_ACEOF 4229 3559 /* end confdefs.h. */ 4230 3560 #include <ac_nonexistent.h> 4231 3561 _ACEOF 4232 if ac_fn_c_try_cpp "$LINENO"; then : 3562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3564 ac_status=$? 3565 grep -v '^ *+' conftest.er1 >conftest.err 3566 rm -f conftest.er1 3567 cat conftest.err >&5 3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3569 (exit $ac_status); } >/dev/null; then 3570 if test -s conftest.err; then 3571 ac_cpp_err=$ac_c_preproc_warn_flag 3572 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3573 else 3574 ac_cpp_err= 3575 fi 3576 else 3577 ac_cpp_err=yes 3578 fi 3579 if test -z "$ac_cpp_err"; then 4233 3580 # Broken: success on invalid input. 4234 3581 continue 4235 3582 else 3583 echo "$as_me: failed program was:" >&5 3584 sed 's/^/| /' conftest.$ac_ext >&5 3585 4236 3586 # Passes both tests. 4237 3587 ac_preproc_ok=: 4238 3588 break 4239 3589 fi 4240 rm -f conftest.err conftest. i conftest.$ac_ext3590 rm -f conftest.err conftest.$ac_ext 4241 3591 4242 3592 done 4243 3593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4244 rm -f conftest.i conftest.err conftest.$ac_ext 4245 if $ac_preproc_ok; then : 4246 4247 else 4248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4250 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4251 See \`config.log' for more details" "$LINENO" 5 ; } 3594 rm -f conftest.err conftest.$ac_ext 3595 if $ac_preproc_ok; then 3596 : 3597 else 3598 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3599 See \`config.log' for more details." >&5 3600 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3601 See \`config.log' for more details." >&2;} 3602 { (exit 1); exit 1; }; } 4252 3603 fi 4253 3604 … … 4259 3610 4260 3611 4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4262 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4263 if test "${ac_cv_path_GREP+set}" = set; then : 4264 $as_echo_n "(cached) " >&6 4265 else 4266 if test -z "$GREP"; then 4267 ac_path_GREP_found=false 4268 # Loop through the user's path and test for each of PROGNAME-LIST 4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4271 do 4272 IFS=$as_save_IFS 4273 test -z "$as_dir" && as_dir=. 4274 for ac_prog in grep ggrep; do 4275 for ac_exec_ext in '' $ac_executable_extensions; do 4276 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4277 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4278 # Check for GNU ac_path_GREP and select it if it is found. 4279 # Check for GNU $ac_path_GREP 4280 case `"$ac_path_GREP" --version 2>&1` in 4281 *GNU*) 4282 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4283 *) 4284 ac_count=0 4285 $as_echo_n 0123456789 >"conftest.in" 4286 while : 4287 do 4288 cat "conftest.in" "conftest.in" >"conftest.tmp" 4289 mv "conftest.tmp" "conftest.in" 4290 cp "conftest.in" "conftest.nl" 4291 $as_echo 'GREP' >> "conftest.nl" 4292 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4293 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4294 as_fn_arith $ac_count + 1 && ac_count=$as_val 4295 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4296 # Best one so far, save it but keep looking for a better one 4297 ac_cv_path_GREP="$ac_path_GREP" 4298 ac_path_GREP_max=$ac_count 3612 echo "$as_me:$LINENO: checking for egrep" >&5 3613 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3614 if test "${ac_cv_prog_egrep+set}" = set; then 3615 echo $ECHO_N "(cached) $ECHO_C" >&6 3616 else 3617 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3618 then ac_cv_prog_egrep='grep -E' 3619 else ac_cv_prog_egrep='egrep' 4299 3620 fi 4300 # 10*(2^10) chars as input seems more than enough 4301 test $ac_count -gt 10 && break 3621 fi 3622 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3623 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3624 EGREP=$ac_cv_prog_egrep 3625 3626 3627 3628 echo "$as_me:$LINENO: checking for AIX" >&5 3629 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3630 cat >conftest.$ac_ext <<_ACEOF 3631 /* confdefs.h. */ 3632 _ACEOF 3633 cat confdefs.h >>conftest.$ac_ext 3634 cat >>conftest.$ac_ext <<_ACEOF 3635 /* end confdefs.h. */ 3636 #ifdef _AIX 3637 yes 3638 #endif 3639 3640 _ACEOF 3641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3642 $EGREP "yes" >/dev/null 2>&1; then 3643 echo "$as_me:$LINENO: result: yes" >&5 3644 echo "${ECHO_T}yes" >&6 3645 cat >>confdefs.h <<\_ACEOF 3646 #define _ALL_SOURCE 1 3647 _ACEOF 3648 3649 else 3650 echo "$as_me:$LINENO: result: no" >&5 3651 echo "${ECHO_T}no" >&6 3652 fi 3653 rm -f conftest* 3654 3655 3656 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3657 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3658 if test "${ac_cv_search_strerror+set}" = set; then 3659 echo $ECHO_N "(cached) $ECHO_C" >&6 3660 else 3661 ac_func_search_save_LIBS=$LIBS 3662 ac_cv_search_strerror=no 3663 cat >conftest.$ac_ext <<_ACEOF 3664 /* confdefs.h. */ 3665 _ACEOF 3666 cat confdefs.h >>conftest.$ac_ext 3667 cat >>conftest.$ac_ext <<_ACEOF 3668 /* end confdefs.h. */ 3669 3670 /* Override any gcc2 internal prototype to avoid an error. */ 3671 #ifdef __cplusplus 3672 extern "C" 3673 #endif 3674 /* We use char because int might match the return type of a gcc2 3675 builtin and then its argument prototype would still apply. */ 3676 char strerror (); 3677 int 3678 main () 3679 { 3680 strerror (); 3681 ; 3682 return 0; 3683 } 3684 _ACEOF 3685 rm -f conftest.$ac_objext conftest$ac_exeext 3686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3687 (eval $ac_link) 2>conftest.er1 3688 ac_status=$? 3689 grep -v '^ *+' conftest.er1 >conftest.err 3690 rm -f conftest.er1 3691 cat conftest.err >&5 3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3693 (exit $ac_status); } && 3694 { ac_try='test -z "$ac_c_werror_flag" 3695 || test ! -s conftest.err' 3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3697 (eval $ac_try) 2>&5 3698 ac_status=$? 3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3700 (exit $ac_status); }; } && 3701 { ac_try='test -s conftest$ac_exeext' 3702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3703 (eval $ac_try) 2>&5 3704 ac_status=$? 3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3706 (exit $ac_status); }; }; then 3707 ac_cv_search_strerror="none required" 3708 else 3709 echo "$as_me: failed program was:" >&5 3710 sed 's/^/| /' conftest.$ac_ext >&5 3711 3712 fi 3713 rm -f conftest.err conftest.$ac_objext \ 3714 conftest$ac_exeext conftest.$ac_ext 3715 if test "$ac_cv_search_strerror" = no; then 3716 for ac_lib in cposix; do 3717 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3718 cat >conftest.$ac_ext <<_ACEOF 3719 /* confdefs.h. */ 3720 _ACEOF 3721 cat confdefs.h >>conftest.$ac_ext 3722 cat >>conftest.$ac_ext <<_ACEOF 3723 /* end confdefs.h. */ 3724 3725 /* Override any gcc2 internal prototype to avoid an error. */ 3726 #ifdef __cplusplus 3727 extern "C" 3728 #endif 3729 /* We use char because int might match the return type of a gcc2 3730 builtin and then its argument prototype would still apply. */ 3731 char strerror (); 3732 int 3733 main () 3734 { 3735 strerror (); 3736 ; 3737 return 0; 3738 } 3739 _ACEOF 3740 rm -f conftest.$ac_objext conftest$ac_exeext 3741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3742 (eval $ac_link) 2>conftest.er1 3743 ac_status=$? 3744 grep -v '^ *+' conftest.er1 >conftest.err 3745 rm -f conftest.er1 3746 cat conftest.err >&5 3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3748 (exit $ac_status); } && 3749 { ac_try='test -z "$ac_c_werror_flag" 3750 || test ! -s conftest.err' 3751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3752 (eval $ac_try) 2>&5 3753 ac_status=$? 3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3755 (exit $ac_status); }; } && 3756 { ac_try='test -s conftest$ac_exeext' 3757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3758 (eval $ac_try) 2>&5 3759 ac_status=$? 3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3761 (exit $ac_status); }; }; then 3762 ac_cv_search_strerror="-l$ac_lib" 3763 break 3764 else 3765 echo "$as_me: failed program was:" >&5 3766 sed 's/^/| /' conftest.$ac_ext >&5 3767 3768 fi 3769 rm -f conftest.err conftest.$ac_objext \ 3770 conftest$ac_exeext conftest.$ac_ext 4302 3771 done 4303 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4304 esac 4305 4306 $ac_path_GREP_found && break 3 4307 done 4308 done 4309 done 4310 IFS=$as_save_IFS 4311 if test -z "$ac_cv_path_GREP"; then 4312 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4313 fi 4314 else 4315 ac_cv_path_GREP=$GREP 4316 fi 4317 4318 fi 4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4320 $as_echo "$ac_cv_path_GREP" >&6; } 4321 GREP="$ac_cv_path_GREP" 4322 4323 4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4325 $as_echo_n "checking for egrep... " >&6; } 4326 if test "${ac_cv_path_EGREP+set}" = set; then : 4327 $as_echo_n "(cached) " >&6 4328 else 4329 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4330 then ac_cv_path_EGREP="$GREP -E" 4331 else 4332 if test -z "$EGREP"; then 4333 ac_path_EGREP_found=false 4334 # Loop through the user's path and test for each of PROGNAME-LIST 4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4337 do 4338 IFS=$as_save_IFS 4339 test -z "$as_dir" && as_dir=. 4340 for ac_prog in egrep; do 4341 for ac_exec_ext in '' $ac_executable_extensions; do 4342 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4343 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4344 # Check for GNU ac_path_EGREP and select it if it is found. 4345 # Check for GNU $ac_path_EGREP 4346 case `"$ac_path_EGREP" --version 2>&1` in 4347 *GNU*) 4348 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4349 *) 4350 ac_count=0 4351 $as_echo_n 0123456789 >"conftest.in" 4352 while : 4353 do 4354 cat "conftest.in" "conftest.in" >"conftest.tmp" 4355 mv "conftest.tmp" "conftest.in" 4356 cp "conftest.in" "conftest.nl" 4357 $as_echo 'EGREP' >> "conftest.nl" 4358 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4360 as_fn_arith $ac_count + 1 && ac_count=$as_val 4361 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4362 # Best one so far, save it but keep looking for a better one 4363 ac_cv_path_EGREP="$ac_path_EGREP" 4364 ac_path_EGREP_max=$ac_count 4365 fi 4366 # 10*(2^10) chars as input seems more than enough 4367 test $ac_count -gt 10 && break 4368 done 4369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4370 esac 4371 4372 $ac_path_EGREP_found && break 3 4373 done 4374 done 4375 done 4376 IFS=$as_save_IFS 4377 if test -z "$ac_cv_path_EGREP"; then 4378 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4379 fi 4380 else 4381 ac_cv_path_EGREP=$EGREP 4382 fi 4383 4384 fi 4385 fi 4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4387 $as_echo "$ac_cv_path_EGREP" >&6; } 4388 EGREP="$ac_cv_path_EGREP" 4389 4390 4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4392 $as_echo_n "checking for ANSI C header files... " >&6; } 4393 if test "${ac_cv_header_stdc+set}" = set; then : 4394 $as_echo_n "(cached) " >&6 4395 else 4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3772 fi 3773 LIBS=$ac_func_search_save_LIBS 3774 fi 3775 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3776 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3777 if test "$ac_cv_search_strerror" != no; then 3778 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3779 3780 fi 3781 3782 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3783 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3784 if test "${ac_cv_header_stdc+set}" = set; then 3785 echo $ECHO_N "(cached) $ECHO_C" >&6 3786 else 3787 cat >conftest.$ac_ext <<_ACEOF 3788 /* confdefs.h. */ 3789 _ACEOF 3790 cat confdefs.h >>conftest.$ac_ext 3791 cat >>conftest.$ac_ext <<_ACEOF 4397 3792 /* end confdefs.h. */ 4398 3793 #include <stdlib.h> … … 4409 3804 } 4410 3805 _ACEOF 4411 if ac_fn_c_try_compile "$LINENO"; then : 3806 rm -f conftest.$ac_objext 3807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3808 (eval $ac_compile) 2>conftest.er1 3809 ac_status=$? 3810 grep -v '^ *+' conftest.er1 >conftest.err 3811 rm -f conftest.er1 3812 cat conftest.err >&5 3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3814 (exit $ac_status); } && 3815 { ac_try='test -z "$ac_c_werror_flag" 3816 || test ! -s conftest.err' 3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3818 (eval $ac_try) 2>&5 3819 ac_status=$? 3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3821 (exit $ac_status); }; } && 3822 { ac_try='test -s conftest.$ac_objext' 3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3824 (eval $ac_try) 2>&5 3825 ac_status=$? 3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3827 (exit $ac_status); }; }; then 4412 3828 ac_cv_header_stdc=yes 4413 3829 else 4414 ac_cv_header_stdc=no 4415 fi 4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3830 echo "$as_me: failed program was:" >&5 3831 sed 's/^/| /' conftest.$ac_ext >&5 3832 3833 ac_cv_header_stdc=no 3834 fi 3835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4417 3836 4418 3837 if test $ac_cv_header_stdc = yes; then 4419 3838 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3839 cat >conftest.$ac_ext <<_ACEOF 3840 /* confdefs.h. */ 3841 _ACEOF 3842 cat confdefs.h >>conftest.$ac_ext 3843 cat >>conftest.$ac_ext <<_ACEOF 4421 3844 /* end confdefs.h. */ 4422 3845 #include <string.h> … … 4424 3847 _ACEOF 4425 3848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4426 $EGREP "memchr" >/dev/null 2>&1; then :4427 3849 $EGREP "memchr" >/dev/null 2>&1; then 3850 : 4428 3851 else 4429 3852 ac_cv_header_stdc=no … … 4435 3858 if test $ac_cv_header_stdc = yes; then 4436 3859 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3860 cat >conftest.$ac_ext <<_ACEOF 3861 /* confdefs.h. */ 3862 _ACEOF 3863 cat confdefs.h >>conftest.$ac_ext 3864 cat >>conftest.$ac_ext <<_ACEOF 4438 3865 /* end confdefs.h. */ 4439 3866 #include <stdlib.h> … … 4441 3868 _ACEOF 4442 3869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4443 $EGREP "free" >/dev/null 2>&1; then :4444 3870 $EGREP "free" >/dev/null 2>&1; then 3871 : 4445 3872 else 4446 3873 ac_cv_header_stdc=no … … 4452 3879 if test $ac_cv_header_stdc = yes; then 4453 3880 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4454 if test "$cross_compiling" = yes; then :3881 if test "$cross_compiling" = yes; then 4455 3882 : 4456 3883 else 4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3884 cat >conftest.$ac_ext <<_ACEOF 3885 /* confdefs.h. */ 3886 _ACEOF 3887 cat confdefs.h >>conftest.$ac_ext 3888 cat >>conftest.$ac_ext <<_ACEOF 4458 3889 /* end confdefs.h. */ 4459 3890 #include <ctype.h> 4460 #include <stdlib.h>4461 3891 #if ((' ' & 0x0FF) == 0x020) 4462 3892 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4478 3908 if (XOR (islower (i), ISLOWER (i)) 4479 3909 || toupper (i) != TOUPPER (i)) 4480 return 2;4481 return 0;3910 exit(2); 3911 exit (0); 4482 3912 } 4483 3913 _ACEOF 4484 if ac_fn_c_try_run "$LINENO"; then : 4485 4486 else 4487 ac_cv_header_stdc=no 4488 fi 4489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4490 conftest.$ac_objext conftest.beam conftest.$ac_ext 4491 fi 4492 4493 fi 4494 fi 4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4496 $as_echo "$ac_cv_header_stdc" >&6; } 3914 rm -f conftest$ac_exeext 3915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3916 (eval $ac_link) 2>&5 3917 ac_status=$? 3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3921 (eval $ac_try) 2>&5 3922 ac_status=$? 3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3924 (exit $ac_status); }; }; then 3925 : 3926 else 3927 echo "$as_me: program exited with status $ac_status" >&5 3928 echo "$as_me: failed program was:" >&5 3929 sed 's/^/| /' conftest.$ac_ext >&5 3930 3931 ( exit $ac_status ) 3932 ac_cv_header_stdc=no 3933 fi 3934 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3935 fi 3936 fi 3937 fi 3938 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3939 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4497 3940 if test $ac_cv_header_stdc = yes; then 4498 3941 4499 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3942 cat >>confdefs.h <<\_ACEOF 3943 #define STDC_HEADERS 1 3944 _ACEOF 4500 3945 4501 3946 fi 4502 3947 4503 3948 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3949 3950 3951 3952 3953 3954 3955 3956 3957 4504 3958 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4505 3959 inttypes.h stdint.h unistd.h 4506 do : 4507 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4508 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4509 " 4510 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3960 do 3961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3962 echo "$as_me:$LINENO: checking for $ac_header" >&5 3963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3964 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3965 echo $ECHO_N "(cached) $ECHO_C" >&6 3966 else 3967 cat >conftest.$ac_ext <<_ACEOF 3968 /* confdefs.h. */ 3969 _ACEOF 3970 cat confdefs.h >>conftest.$ac_ext 3971 cat >>conftest.$ac_ext <<_ACEOF 3972 /* end confdefs.h. */ 3973 $ac_includes_default 3974 3975 #include <$ac_header> 3976 _ACEOF 3977 rm -f conftest.$ac_objext 3978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3979 (eval $ac_compile) 2>conftest.er1 3980 ac_status=$? 3981 grep -v '^ *+' conftest.er1 >conftest.err 3982 rm -f conftest.er1 3983 cat conftest.err >&5 3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3985 (exit $ac_status); } && 3986 { ac_try='test -z "$ac_c_werror_flag" 3987 || test ! -s conftest.err' 3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3989 (eval $ac_try) 2>&5 3990 ac_status=$? 3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3992 (exit $ac_status); }; } && 3993 { ac_try='test -s conftest.$ac_objext' 3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3995 (eval $ac_try) 2>&5 3996 ac_status=$? 3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3998 (exit $ac_status); }; }; then 3999 eval "$as_ac_Header=yes" 4000 else 4001 echo "$as_me: failed program was:" >&5 4002 sed 's/^/| /' conftest.$ac_ext >&5 4003 4004 eval "$as_ac_Header=no" 4005 fi 4006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4007 fi 4008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4010 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4511 4011 cat >>confdefs.h <<_ACEOF 4512 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4513 4013 _ACEOF 4514 4014 … … 4518 4018 4519 4019 4520 4521 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4522 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4020 if test "${ac_cv_header_minix_config_h+set}" = set; then 4021 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4022 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4023 if test "${ac_cv_header_minix_config_h+set}" = set; then 4024 echo $ECHO_N "(cached) $ECHO_C" >&6 4025 fi 4026 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4027 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4028 else 4029 # Is the header compilable? 4030 echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4031 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4032 cat >conftest.$ac_ext <<_ACEOF 4033 /* confdefs.h. */ 4034 _ACEOF 4035 cat confdefs.h >>conftest.$ac_ext 4036 cat >>conftest.$ac_ext <<_ACEOF 4037 /* end confdefs.h. */ 4038 $ac_includes_default 4039 #include <minix/config.h> 4040 _ACEOF 4041 rm -f conftest.$ac_objext 4042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4043 (eval $ac_compile) 2>conftest.er1 4044 ac_status=$? 4045 grep -v '^ *+' conftest.er1 >conftest.err 4046 rm -f conftest.er1 4047 cat conftest.err >&5 4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4049 (exit $ac_status); } && 4050 { ac_try='test -z "$ac_c_werror_flag" 4051 || test ! -s conftest.err' 4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4053 (eval $ac_try) 2>&5 4054 ac_status=$? 4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4056 (exit $ac_status); }; } && 4057 { ac_try='test -s conftest.$ac_objext' 4058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4059 (eval $ac_try) 2>&5 4060 ac_status=$? 4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4062 (exit $ac_status); }; }; then 4063 ac_header_compiler=yes 4064 else 4065 echo "$as_me: failed program was:" >&5 4066 sed 's/^/| /' conftest.$ac_ext >&5 4067 4068 ac_header_compiler=no 4069 fi 4070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4072 echo "${ECHO_T}$ac_header_compiler" >&6 4073 4074 # Is the header present? 4075 echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4076 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4077 cat >conftest.$ac_ext <<_ACEOF 4078 /* confdefs.h. */ 4079 _ACEOF 4080 cat confdefs.h >>conftest.$ac_ext 4081 cat >>conftest.$ac_ext <<_ACEOF 4082 /* end confdefs.h. */ 4083 #include <minix/config.h> 4084 _ACEOF 4085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4087 ac_status=$? 4088 grep -v '^ *+' conftest.er1 >conftest.err 4089 rm -f conftest.er1 4090 cat conftest.err >&5 4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4092 (exit $ac_status); } >/dev/null; then 4093 if test -s conftest.err; then 4094 ac_cpp_err=$ac_c_preproc_warn_flag 4095 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4096 else 4097 ac_cpp_err= 4098 fi 4099 else 4100 ac_cpp_err=yes 4101 fi 4102 if test -z "$ac_cpp_err"; then 4103 ac_header_preproc=yes 4104 else 4105 echo "$as_me: failed program was:" >&5 4106 sed 's/^/| /' conftest.$ac_ext >&5 4107 4108 ac_header_preproc=no 4109 fi 4110 rm -f conftest.err conftest.$ac_ext 4111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4112 echo "${ECHO_T}$ac_header_preproc" >&6 4113 4114 # So? What about this header? 4115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4116 yes:no: ) 4117 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4118 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4119 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4120 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4121 ac_header_preproc=yes 4122 ;; 4123 no:yes:* ) 4124 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4125 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4126 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4127 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4128 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4129 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4130 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4131 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4132 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4133 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4134 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4135 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4136 ( 4137 cat <<\_ASBOX 4138 ## ------------------------------------------ ## 4139 ## Report this to the AC_PACKAGE_NAME lists. ## 4140 ## ------------------------------------------ ## 4141 _ASBOX 4142 ) | 4143 sed "s/^/$as_me: WARNING: /" >&2 4144 ;; 4145 esac 4146 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4147 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4148 if test "${ac_cv_header_minix_config_h+set}" = set; then 4149 echo $ECHO_N "(cached) $ECHO_C" >&6 4150 else 4151 ac_cv_header_minix_config_h=$ac_header_preproc 4152 fi 4153 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4154 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4155 4156 fi 4157 if test $ac_cv_header_minix_config_h = yes; then 4523 4158 MINIX=yes 4524 4159 else … … 4527 4162 4528 4163 4529 if test "$MINIX" = yes; then 4530 4531 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4532 4533 4534 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4535 4536 4537 $as_echo "#define _MINIX 1" >>confdefs.h 4538 4539 fi 4540 4541 4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4543 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4544 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4545 $as_echo_n "(cached) " >&6 4546 else 4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4548 /* end confdefs.h. */ 4549 4550 # define __EXTENSIONS__ 1 4551 $ac_includes_default 4552 int 4553 main () 4554 { 4555 4556 ; 4557 return 0; 4558 } 4559 _ACEOF 4560 if ac_fn_c_try_compile "$LINENO"; then : 4561 ac_cv_safe_to_define___extensions__=yes 4562 else 4563 ac_cv_safe_to_define___extensions__=no 4564 fi 4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4566 fi 4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4568 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4569 test $ac_cv_safe_to_define___extensions__ = yes && 4570 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4571 4572 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4573 4574 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4575 4576 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4577 4578 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4579 4580 4581 4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4583 $as_echo_n "checking for library containing strerror... " >&6; } 4584 if test "${ac_cv_search_strerror+set}" = set; then : 4585 $as_echo_n "(cached) " >&6 4586 else 4587 ac_func_search_save_LIBS=$LIBS 4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4589 /* end confdefs.h. */ 4590 4591 /* Override any GCC internal prototype to avoid an error. 4592 Use char because int might match the return type of a GCC 4593 builtin and then its argument prototype would still apply. */ 4594 #ifdef __cplusplus 4595 extern "C" 4596 #endif 4597 char strerror (); 4598 int 4599 main () 4600 { 4601 return strerror (); 4602 ; 4603 return 0; 4604 } 4605 _ACEOF 4606 for ac_lib in '' cposix; do 4607 if test -z "$ac_lib"; then 4608 ac_res="none required" 4609 else 4610 ac_res=-l$ac_lib 4611 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4612 fi 4613 if ac_fn_c_try_link "$LINENO"; then : 4614 ac_cv_search_strerror=$ac_res 4615 fi 4616 rm -f core conftest.err conftest.$ac_objext \ 4617 conftest$ac_exeext 4618 if test "${ac_cv_search_strerror+set}" = set; then : 4619 break 4620 fi 4621 done 4622 if test "${ac_cv_search_strerror+set}" = set; then : 4623 4624 else 4625 ac_cv_search_strerror=no 4626 fi 4627 rm conftest.$ac_ext 4628 LIBS=$ac_func_search_save_LIBS 4629 fi 4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 4631 $as_echo "$ac_cv_search_strerror" >&6; } 4632 ac_res=$ac_cv_search_strerror 4633 if test "$ac_res" != no; then : 4634 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4635 4636 fi 4637 4638 4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 4640 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4641 if test "${ac_cv_prog_cc_stdc+set}" = set; then : 4642 $as_echo_n "(cached) " >&6 4164 if test "$MINIX" = yes; then 4165 4166 cat >>confdefs.h <<\_ACEOF 4167 #define _POSIX_SOURCE 1 4168 _ACEOF 4169 4170 4171 cat >>confdefs.h <<\_ACEOF 4172 #define _POSIX_1_SOURCE 2 4173 _ACEOF 4174 4175 4176 cat >>confdefs.h <<\_ACEOF 4177 #define _MINIX 1 4178 _ACEOF 4179 4180 fi 4181 4182 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4183 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4184 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4185 echo $ECHO_N "(cached) $ECHO_C" >&6 4643 4186 else 4644 4187 ac_cv_prog_cc_stdc=no … … 4653 4196 do 4654 4197 CFLAGS="$ac_save_CFLAGS $ac_arg" 4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4198 cat >conftest.$ac_ext <<_ACEOF 4199 /* confdefs.h. */ 4200 _ACEOF 4201 cat confdefs.h >>conftest.$ac_ext 4202 cat >>conftest.$ac_ext <<_ACEOF 4656 4203 /* end confdefs.h. */ 4657 4204 #if !defined(__STDC__) || __STDC__ != 1 … … 4669 4216 } 4670 4217 _ACEOF 4671 if ac_fn_c_try_compile "$LINENO"; then : 4218 rm -f conftest.$ac_objext 4219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4220 (eval $ac_compile) 2>conftest.er1 4221 ac_status=$? 4222 grep -v '^ *+' conftest.er1 >conftest.err 4223 rm -f conftest.er1 4224 cat conftest.err >&5 4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4226 (exit $ac_status); } && 4227 { ac_try='test -z "$ac_c_werror_flag" 4228 || test ! -s conftest.err' 4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4230 (eval $ac_try) 2>&5 4231 ac_status=$? 4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4233 (exit $ac_status); }; } && 4234 { ac_try='test -s conftest.$ac_objext' 4235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4236 (eval $ac_try) 2>&5 4237 ac_status=$? 4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4239 (exit $ac_status); }; }; then 4672 4240 ac_cv_prog_cc_stdc="$ac_arg"; break 4673 fi 4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4241 else 4242 echo "$as_me: failed program was:" >&5 4243 sed 's/^/| /' conftest.$ac_ext >&5 4244 4245 fi 4246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4675 4247 done 4676 4248 CFLAGS="$ac_save_CFLAGS" … … 4678 4250 fi 4679 4251 4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&54681 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4252 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4253 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4682 4254 case "x$ac_cv_prog_cc_stdc" in 4683 4255 x|xno) ;; … … 4686 4258 4687 4259 4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&54689 $as_echo_n "checking for function prototypes... " >&6; } 4260 echo "$as_me:$LINENO: checking for function prototypes" >&5 4261 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4690 4262 if test "$ac_cv_prog_cc_stdc" != no; then 4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4692 $as_echo "yes" >&6; } 4693 $as_echo "#define PROTOTYPES 1" >>confdefs.h 4263 echo "$as_me:$LINENO: result: yes" >&5 4264 echo "${ECHO_T}yes" >&6 4265 cat >>confdefs.h <<\_ACEOF 4266 #define PROTOTYPES 1 4267 _ACEOF 4694 4268 4695 4269 U= ANSI2KNR= 4696 4270 else 4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54698 $as_echo "no" >&6; } 4271 echo "$as_me:$LINENO: result: no" >&5 4272 echo "${ECHO_T}no" >&6 4699 4273 U=_ ANSI2KNR=ansi2knr 4700 4274 fi 4701 4275 4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4703 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4704 if test "${ac_cv_c_const+set}" = set; then : 4705 $as_echo_n "(cached) " >&6 4706 else 4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4276 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4277 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4278 if test "${ac_cv_c_const+set}" = set; then 4279 echo $ECHO_N "(cached) $ECHO_C" >&6 4280 else 4281 cat >conftest.$ac_ext <<_ACEOF 4282 /* confdefs.h. */ 4283 _ACEOF 4284 cat confdefs.h >>conftest.$ac_ext 4285 cat >>conftest.$ac_ext <<_ACEOF 4708 4286 /* end confdefs.h. */ 4709 4287 … … 4715 4293 /* Ultrix mips cc rejects this. */ 4716 4294 typedef int charset[2]; 4717 const charset cs;4295 const charset x; 4718 4296 /* SunOS 4.1.1 cc rejects this. */ 4719 char const *const * pcpcc;4720 char **p pc;4297 char const *const *ccp; 4298 char **p; 4721 4299 /* NEC SVR4.0.2 mips cc rejects this. */ 4722 4300 struct point {int x, y;}; … … 4727 4305 expression */ 4728 4306 const char *g = "string"; 4729 pcpcc= &g + (g ? g-g : 0);4307 ccp = &g + (g ? g-g : 0); 4730 4308 /* HPUX 7.0 cc rejects these. */ 4731 ++ pcpcc;4732 p pc = (char**) pcpcc;4733 pcpcc = (char const *const *) ppc;4309 ++ccp; 4310 p = (char**) ccp; 4311 ccp = (char const *const *) p; 4734 4312 { /* SCO 3.2v4 cc rejects this. */ 4735 4313 char *t; … … 4737 4315 4738 4316 *t++ = 0; 4739 if (s) return 0;4740 4317 } 4741 4318 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4756 4333 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4757 4334 const int foo = 10; 4758 if (!foo) return 0;4759 4335 } 4760 return !cs[0] && !zero.x;4761 4336 #endif 4762 4337 … … 4765 4340 } 4766 4341 _ACEOF 4767 if ac_fn_c_try_compile "$LINENO"; then : 4342 rm -f conftest.$ac_objext 4343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4344 (eval $ac_compile) 2>conftest.er1 4345 ac_status=$? 4346 grep -v '^ *+' conftest.er1 >conftest.err 4347 rm -f conftest.er1 4348 cat conftest.err >&5 4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4350 (exit $ac_status); } && 4351 { ac_try='test -z "$ac_c_werror_flag" 4352 || test ! -s conftest.err' 4353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4354 (eval $ac_try) 2>&5 4355 ac_status=$? 4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4357 (exit $ac_status); }; } && 4358 { ac_try='test -s conftest.$ac_objext' 4359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4360 (eval $ac_try) 2>&5 4361 ac_status=$? 4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4363 (exit $ac_status); }; }; then 4768 4364 ac_cv_c_const=yes 4769 4365 else 4770 ac_cv_c_const=no 4771 fi 4772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4773 fi 4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4775 $as_echo "$ac_cv_c_const" >&6; } 4366 echo "$as_me: failed program was:" >&5 4367 sed 's/^/| /' conftest.$ac_ext >&5 4368 4369 ac_cv_c_const=no 4370 fi 4371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4372 fi 4373 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4374 echo "${ECHO_T}$ac_cv_c_const" >&6 4776 4375 if test $ac_cv_c_const = no; then 4777 4376 4778 $as_echo "#define const /**/" >>confdefs.h 4779 4780 fi 4781 4782 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 4783 if test "x$ac_cv_type_off_t" = x""yes; then : 4784 4377 cat >>confdefs.h <<\_ACEOF 4378 #define const 4379 _ACEOF 4380 4381 fi 4382 4383 echo "$as_me:$LINENO: checking for off_t" >&5 4384 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4385 if test "${ac_cv_type_off_t+set}" = set; then 4386 echo $ECHO_N "(cached) $ECHO_C" >&6 4387 else 4388 cat >conftest.$ac_ext <<_ACEOF 4389 /* confdefs.h. */ 4390 _ACEOF 4391 cat confdefs.h >>conftest.$ac_ext 4392 cat >>conftest.$ac_ext <<_ACEOF 4393 /* end confdefs.h. */ 4394 $ac_includes_default 4395 int 4396 main () 4397 { 4398 if ((off_t *) 0) 4399 return 0; 4400 if (sizeof (off_t)) 4401 return 0; 4402 ; 4403 return 0; 4404 } 4405 _ACEOF 4406 rm -f conftest.$ac_objext 4407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4408 (eval $ac_compile) 2>conftest.er1 4409 ac_status=$? 4410 grep -v '^ *+' conftest.er1 >conftest.err 4411 rm -f conftest.er1 4412 cat conftest.err >&5 4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4414 (exit $ac_status); } && 4415 { ac_try='test -z "$ac_c_werror_flag" 4416 || test ! -s conftest.err' 4417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4418 (eval $ac_try) 2>&5 4419 ac_status=$? 4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4421 (exit $ac_status); }; } && 4422 { ac_try='test -s conftest.$ac_objext' 4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4424 (eval $ac_try) 2>&5 4425 ac_status=$? 4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4427 (exit $ac_status); }; }; then 4428 ac_cv_type_off_t=yes 4429 else 4430 echo "$as_me: failed program was:" >&5 4431 sed 's/^/| /' conftest.$ac_ext >&5 4432 4433 ac_cv_type_off_t=no 4434 fi 4435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4436 fi 4437 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4438 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4439 if test $ac_cv_type_off_t = yes; then 4440 : 4785 4441 else 4786 4442 4787 4443 cat >>confdefs.h <<_ACEOF 4788 #define off_t long int 4789 _ACEOF 4790 4791 fi 4792 4793 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4794 if test "x$ac_cv_type_size_t" = x""yes; then : 4795 4444 #define off_t long 4445 _ACEOF 4446 4447 fi 4448 4449 echo "$as_me:$LINENO: checking for size_t" >&5 4450 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4451 if test "${ac_cv_type_size_t+set}" = set; then 4452 echo $ECHO_N "(cached) $ECHO_C" >&6 4453 else 4454 cat >conftest.$ac_ext <<_ACEOF 4455 /* confdefs.h. */ 4456 _ACEOF 4457 cat confdefs.h >>conftest.$ac_ext 4458 cat >>conftest.$ac_ext <<_ACEOF 4459 /* end confdefs.h. */ 4460 $ac_includes_default 4461 int 4462 main () 4463 { 4464 if ((size_t *) 0) 4465 return 0; 4466 if (sizeof (size_t)) 4467 return 0; 4468 ; 4469 return 0; 4470 } 4471 _ACEOF 4472 rm -f conftest.$ac_objext 4473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4474 (eval $ac_compile) 2>conftest.er1 4475 ac_status=$? 4476 grep -v '^ *+' conftest.er1 >conftest.err 4477 rm -f conftest.er1 4478 cat conftest.err >&5 4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4480 (exit $ac_status); } && 4481 { ac_try='test -z "$ac_c_werror_flag" 4482 || test ! -s conftest.err' 4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4484 (eval $ac_try) 2>&5 4485 ac_status=$? 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 (exit $ac_status); }; } && 4488 { ac_try='test -s conftest.$ac_objext' 4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4490 (eval $ac_try) 2>&5 4491 ac_status=$? 4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4493 (exit $ac_status); }; }; then 4494 ac_cv_type_size_t=yes 4495 else 4496 echo "$as_me: failed program was:" >&5 4497 sed 's/^/| /' conftest.$ac_ext >&5 4498 4499 ac_cv_type_size_t=no 4500 fi 4501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4502 fi 4503 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4504 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4505 if test $ac_cv_type_size_t = yes; then 4506 : 4796 4507 else 4797 4508 4798 4509 cat >>confdefs.h <<_ACEOF 4799 #define size_t unsigned int 4800 _ACEOF 4801 4802 fi 4803 4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 4805 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4806 if test "${ac_cv_header_time+set}" = set; then : 4807 $as_echo_n "(cached) " >&6 4808 else 4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4510 #define size_t unsigned 4511 _ACEOF 4512 4513 fi 4514 4515 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4516 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4517 if test "${ac_cv_header_time+set}" = set; then 4518 echo $ECHO_N "(cached) $ECHO_C" >&6 4519 else 4520 cat >conftest.$ac_ext <<_ACEOF 4521 /* confdefs.h. */ 4522 _ACEOF 4523 cat confdefs.h >>conftest.$ac_ext 4524 cat >>conftest.$ac_ext <<_ACEOF 4810 4525 /* end confdefs.h. */ 4811 4526 #include <sys/types.h> … … 4822 4537 } 4823 4538 _ACEOF 4824 if ac_fn_c_try_compile "$LINENO"; then : 4539 rm -f conftest.$ac_objext 4540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4541 (eval $ac_compile) 2>conftest.er1 4542 ac_status=$? 4543 grep -v '^ *+' conftest.er1 >conftest.err 4544 rm -f conftest.er1 4545 cat conftest.err >&5 4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4547 (exit $ac_status); } && 4548 { ac_try='test -z "$ac_c_werror_flag" 4549 || test ! -s conftest.err' 4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4551 (eval $ac_try) 2>&5 4552 ac_status=$? 4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4554 (exit $ac_status); }; } && 4555 { ac_try='test -s conftest.$ac_objext' 4556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4557 (eval $ac_try) 2>&5 4558 ac_status=$? 4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4560 (exit $ac_status); }; }; then 4825 4561 ac_cv_header_time=yes 4826 4562 else 4827 ac_cv_header_time=no 4828 fi 4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4830 fi 4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 4832 $as_echo "$ac_cv_header_time" >&6; } 4563 echo "$as_me: failed program was:" >&5 4564 sed 's/^/| /' conftest.$ac_ext >&5 4565 4566 ac_cv_header_time=no 4567 fi 4568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4569 fi 4570 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4571 echo "${ECHO_T}$ac_cv_header_time" >&6 4833 4572 if test $ac_cv_header_time = yes; then 4834 4573 4835 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 4836 4837 fi 4838 4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 4840 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4841 if test "${ac_cv_struct_tm+set}" = set; then : 4842 $as_echo_n "(cached) " >&6 4843 else 4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4574 cat >>confdefs.h <<\_ACEOF 4575 #define TIME_WITH_SYS_TIME 1 4576 _ACEOF 4577 4578 fi 4579 4580 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4581 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4582 if test "${ac_cv_struct_tm+set}" = set; then 4583 echo $ECHO_N "(cached) $ECHO_C" >&6 4584 else 4585 cat >conftest.$ac_ext <<_ACEOF 4586 /* confdefs.h. */ 4587 _ACEOF 4588 cat confdefs.h >>conftest.$ac_ext 4589 cat >>conftest.$ac_ext <<_ACEOF 4845 4590 /* end confdefs.h. */ 4846 4591 #include <sys/types.h> … … 4850 4595 main () 4851 4596 { 4852 struct tm tm; 4853 int *p = &tm.tm_sec; 4854 return !p; 4597 struct tm *tp; tp->tm_sec; 4855 4598 ; 4856 4599 return 0; 4857 4600 } 4858 4601 _ACEOF 4859 if ac_fn_c_try_compile "$LINENO"; then : 4602 rm -f conftest.$ac_objext 4603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4604 (eval $ac_compile) 2>conftest.er1 4605 ac_status=$? 4606 grep -v '^ *+' conftest.er1 >conftest.err 4607 rm -f conftest.er1 4608 cat conftest.err >&5 4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4610 (exit $ac_status); } && 4611 { ac_try='test -z "$ac_c_werror_flag" 4612 || test ! -s conftest.err' 4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4614 (eval $ac_try) 2>&5 4615 ac_status=$? 4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4617 (exit $ac_status); }; } && 4618 { ac_try='test -s conftest.$ac_objext' 4619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4620 (eval $ac_try) 2>&5 4621 ac_status=$? 4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4623 (exit $ac_status); }; }; then 4860 4624 ac_cv_struct_tm=time.h 4861 4625 else 4862 ac_cv_struct_tm=sys/time.h 4863 fi 4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4865 fi 4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 4867 $as_echo "$ac_cv_struct_tm" >&6; } 4626 echo "$as_me: failed program was:" >&5 4627 sed 's/^/| /' conftest.$ac_ext >&5 4628 4629 ac_cv_struct_tm=sys/time.h 4630 fi 4631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4632 fi 4633 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4634 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4868 4635 if test $ac_cv_struct_tm = sys/time.h; then 4869 4636 4870 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 4637 cat >>confdefs.h <<\_ACEOF 4638 #define TM_IN_SYS_TIME 1