Changeset 25173
- Timestamp:
- 2012-03-02T12:04:59+13:00 (12 years ago)
- Location:
- main/trunk/greenstone3/src/packages/javagdbm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/packages/javagdbm/configure
r21433 r25173 1 1 #! /bin/sh 2 # From configure.in Revision: 18343 .2 # From configure.in Revision: 21433 . 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated by GNU Autoconf 2. 59.4 # Generated by GNU Autoconf 2.68. 5 5 # 6 # Copyright (C) 2003 Free Software Foundation, Inc. 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 9 # Foundation, Inc. 10 # 11 # 7 12 # This configure script is free software; the Free Software Foundation 8 13 # gives unlimited permission to copy, distribute and modify it. 9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 12 13 # Be Bourne compatible 14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 ## -------------------- ## 15 ## M4sh Initialization. ## 16 ## -------------------- ## 17 18 # Be more Bourne compatible 19 DUALCASE=1; export DUALCASE # for MKS sh 20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15 21 emulate sh 16 22 NULLCMD=: 17 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18 24 # is contrary to our usage. Disable this feature. 19 25 alias -g '${1+"$@"}'='"$@"' 20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 set -o posix 22 fi 23 DUALCASE=1; export DUALCASE # for MKS sh 24 25 # Support unset when possible. 26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 27 as_unset=unset 28 else 29 as_unset=false 30 fi 31 32 33 # Work around bugs in pre-3.0 UWIN ksh. 34 $as_unset ENV MAIL MAILPATH 26 setopt NO_GLOB_SUBST 27 else 28 case `(set -o) 2>/dev/null` in #( 29 *posix*) : 30 set -o posix ;; #( 31 *) : 32 ;; 33 esac 34 fi 35 36 37 as_nl=' 38 ' 39 export as_nl 40 # Printing a long string crashes Solaris 7 /usr/bin/printf. 41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 44 # Prefer a ksh shell builtin over an external printf program on Solaris, 45 # but without wasting forks for bash or zsh. 46 if test -z "$BASH_VERSION$ZSH_VERSION" \ 47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='print -r --' 49 as_echo_n='print -rn --' 50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 51 as_echo='printf %s\n' 52 as_echo_n='printf %s' 53 else 54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 56 as_echo_n='/usr/ucb/echo -n' 57 else 58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 59 as_echo_n_body='eval 60 arg=$1; 61 case $arg in #( 62 *"$as_nl"*) 63 expr "X$arg" : "X\\(.*\\)$as_nl"; 64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 65 esac; 66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 67 ' 68 export as_echo_n_body 69 as_echo_n='sh -c $as_echo_n_body as_echo' 70 fi 71 export as_echo_body 72 as_echo='sh -c $as_echo_body as_echo' 73 fi 74 75 # The user is always right. 76 if test "${PATH_SEPARATOR+set}" != set; then 77 PATH_SEPARATOR=: 78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 80 PATH_SEPARATOR=';' 81 } 82 fi 83 84 85 # IFS 86 # We need space, tab and new line, in precisely that order. Quoting is 87 # there to prevent editors from complaining about space-tab. 88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 89 # splitting by setting IFS to empty value.) 90 IFS=" "" $as_nl" 91 92 # Find who we are. Look in the path if we contain no directory separator. 93 as_myself= 94 case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97 for as_dir in $PATH 98 do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103 IFS=$as_save_IFS 104 105 ;; 106 esac 107 # We did not find ourselves, most probably we were run as `sh COMMAND' 108 # in which case we are not to be found in the path. 109 if test "x$as_myself" = x; then 110 as_myself=$0 111 fi 112 if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115 fi 116 117 # Unset variables that we do not need and which cause bugs (e.g. in 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119 # suppresses any "Segmentation fault" message there. '((' could 120 # trigger a bug in pdksh 5.2.14. 121 for as_var in BASH_ENV ENV MAIL MAILPATH 122 do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124 done 35 125 PS1='$ ' 36 126 PS2='> ' … … 38 128 39 129 # NLS nuisances. 40 for as_var in \ 41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 43 LC_TELEPHONE LC_TIME 130 LC_ALL=C 131 export LC_ALL 132 LANGUAGE=C 133 export LANGUAGE 134 135 # CDPATH. 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138 if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146 else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152 esac 153 fi 154 " 155 as_required="as_fn_return () { (exit \$1); } 156 as_fn_success () { as_fn_return 0; } 157 as_fn_failure () { as_fn_return 1; } 158 as_fn_ret_success () { return 0; } 159 as_fn_ret_failure () { return 1; } 160 161 exitcode=0 162 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168 else 169 exitcode=1; echo positional parameters were not saved. 170 fi 171 test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179 else 180 as_have_required=no 181 fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184 else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186 as_found=false 187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 44 188 do 45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 46 eval $as_var=C; export $as_var 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202 fi 203 fi 204 done;; 205 esac 206 as_found=false 207 done 208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211 fi; } 212 IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 # Preserve -v and -x to the replacement shell. 220 BASH_ENV=/dev/null 221 ENV=/dev/null 222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 223 export CONFIG_SHELL 224 case $- in # (((( 225 *v*x* | *x*v* ) as_opts=-vx ;; 226 *v* ) as_opts=-v ;; 227 *x* ) as_opts=-x ;; 228 * ) as_opts= ;; 229 esac 230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 231 fi 232 233 if test x$as_have_required = xno; then : 234 $as_echo "$0: This script requires a shell more modern than all" 235 $as_echo "$0: the shells that I found on your system." 236 if test x${ZSH_VERSION+set} = xset ; then 237 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 238 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 47 239 else 48 $as_unset $as_var 240 $as_echo "$0: Please tell [email protected] about your system, 241 $0: including any error possibly output before this 242 $0: message. Then install a modern shell, or manually run 243 $0: the script under such a shell if you do have one." 49 244 fi 50 done 51 52 # Required to use basename. 53 if expr a : '\(a\)' >/dev/null 2>&1; then 245 exit 1 246 fi 247 fi 248 fi 249 SHELL=${CONFIG_SHELL-/bin/sh} 250 export SHELL 251 # Unset more variables known to interfere with behavior of common tools. 252 CLICOLOR_FORCE= GREP_OPTIONS= 253 unset CLICOLOR_FORCE GREP_OPTIONS 254 255 ## --------------------- ## 256 ## M4sh Shell Functions. ## 257 ## --------------------- ## 258 # as_fn_unset VAR 259 # --------------- 260 # Portably unset VAR. 261 as_fn_unset () 262 { 263 { eval $1=; unset $1;} 264 } 265 as_unset=as_fn_unset 266 267 # as_fn_set_status STATUS 268 # ----------------------- 269 # Set $? to STATUS, without forking. 270 as_fn_set_status () 271 { 272 return $1 273 } # as_fn_set_status 274 275 # as_fn_exit STATUS 276 # ----------------- 277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 278 as_fn_exit () 279 { 280 set +e 281 as_fn_set_status $1 282 exit $1 283 } # as_fn_exit 284 285 # as_fn_mkdir_p 286 # ------------- 287 # Create "$as_dir" as a directory, including parents if necessary. 288 as_fn_mkdir_p () 289 { 290 291 case $as_dir in #( 292 -*) as_dir=./$as_dir;; 293 esac 294 test -d "$as_dir" || eval $as_mkdir_p || { 295 as_dirs= 296 while :; do 297 case $as_dir in #( 298 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 299 *) as_qdir=$as_dir;; 300 esac 301 as_dirs="'$as_qdir' $as_dirs" 302 as_dir=`$as_dirname -- "$as_dir" || 303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 304 X"$as_dir" : 'X\(//\)[^/]' \| \ 305 X"$as_dir" : 'X\(//\)$' \| \ 306 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 307 $as_echo X"$as_dir" | 308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 309 s//\1/ 310 q 311 } 312 /^X\(\/\/\)[^/].*/{ 313 s//\1/ 314 q 315 } 316 /^X\(\/\/\)$/{ 317 s//\1/ 318 q 319 } 320 /^X\(\/\).*/{ 321 s//\1/ 322 q 323 } 324 s/.*/./; q'` 325 test -d "$as_dir" && break 326 done 327 test -z "$as_dirs" || eval "mkdir $as_dirs" 328 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 329 330 331 } # as_fn_mkdir_p 332 # as_fn_append VAR VALUE 333 # ---------------------- 334 # Append the text in VALUE to the end of the definition contained in VAR. Take 335 # advantage of any shell optimizations that allow amortized linear growth over 336 # repeated appends, instead of the typical quadratic growth present in naive 337 # implementations. 338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 339 eval 'as_fn_append () 340 { 341 eval $1+=\$2 342 }' 343 else 344 as_fn_append () 345 { 346 eval $1=\$$1\$2 347 } 348 fi # as_fn_append 349 350 # as_fn_arith ARG... 351 # ------------------ 352 # Perform arithmetic evaluation on the ARGs, and store the result in the 353 # global $as_val. Take advantage of shells that can avoid forks. The arguments 354 # must be portable across $(()) and expr. 355 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 356 eval 'as_fn_arith () 357 { 358 as_val=$(( $* )) 359 }' 360 else 361 as_fn_arith () 362 { 363 as_val=`expr "$@" || test $? -eq 1` 364 } 365 fi # as_fn_arith 366 367 368 # as_fn_error STATUS ERROR [LINENO LOG_FD] 369 # ---------------------------------------- 370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 372 # script with STATUS, using 1 if that was 0. 373 as_fn_error () 374 { 375 as_status=$1; test $as_status -eq 0 && as_status=1 376 if test "$4"; then 377 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 379 fi 380 $as_echo "$as_me: error: $2" >&2 381 as_fn_exit $as_status 382 } # as_fn_error 383 384 if expr a : '\(a\)' >/dev/null 2>&1 && 385 test "X`expr 00001 : '.*\(...\)'`" = X001; then 54 386 as_expr=expr 55 387 else … … 57 389 fi 58 390 59 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then391 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 60 392 as_basename=basename 61 393 else … … 63 395 fi 64 396 65 66 # Name of the executable. 67 as_me=`$as_basename "$0" || 397 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 398 as_dirname=dirname 399 else 400 as_dirname=false 401 fi 402 403 as_me=`$as_basename -- "$0" || 68 404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 69 405 X"$0" : 'X\(//\)$' \| \ 70 X"$0" : 'X\(/\)$' \| \ 71 . : '\(.\)' 2>/dev/null || 72 echo X/"$0" | 73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 74 /^X\/\(\/\/\)$/{ s//\1/; q; } 75 /^X\/\(\/\).*/{ s//\1/; q; } 76 s/.*/./; q'` 77 78 79 # PATH needs CR, and LINENO needs CR and PATH. 406 X"$0" : 'X\(/\)' \| . 2>/dev/null || 407 $as_echo X/"$0" | 408 sed '/^.*\/\([^/][^/]*\)\/*$/{ 409 s//\1/ 410 q 411 } 412 /^X\/\(\/\/\)$/{ 413 s//\1/ 414 q 415 } 416 /^X\/\(\/\).*/{ 417 s//\1/ 418 q 419 } 420 s/.*/./; q'` 421 80 422 # Avoid depending upon Character Ranges. 81 423 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 85 427 as_cr_alnum=$as_cr_Letters$as_cr_digits 86 428 87 # The user is always right. 88 if test "${PATH_SEPARATOR+set}" != set; then 89 echo "#! /bin/sh" >conf$$.sh 90 echo "exit 0" >>conf$$.sh 91 chmod +x conf$$.sh 92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 93 PATH_SEPARATOR=';' 94 else 95 PATH_SEPARATOR=: 96 fi 97 rm -f conf$$.sh 98 fi 99 100 101 as_lineno_1=$LINENO 102 as_lineno_2=$LINENO 103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 104 test "x$as_lineno_1" != "x$as_lineno_2" && 105 test "x$as_lineno_3" = "x$as_lineno_2" || { 106 # Find who we are. Look in the path if we contain no path at all 107 # relative or not. 108 case $0 in 109 *[\\/]* ) as_myself=$0 ;; 110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 111 for as_dir in $PATH 112 do 113 IFS=$as_save_IFS 114 test -z "$as_dir" && as_dir=. 115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 116 done 117 118 ;; 119 esac 120 # We did not find ourselves, most probably we were run as `sh COMMAND' 121 # in which case we are not to be found in the path. 122 if test "x$as_myself" = x; then 123 as_myself=$0 124 fi 125 if test ! -f "$as_myself"; then 126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 127 { (exit 1); exit 1; }; } 128 fi 129 case $CONFIG_SHELL in 130 '') 131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 133 do 134 IFS=$as_save_IFS 135 test -z "$as_dir" && as_dir=. 136 for as_base in sh bash ksh sh5; do 137 case $as_dir in 138 /*) 139 if ("$as_dir/$as_base" -c ' 140 as_lineno_1=$LINENO 141 as_lineno_2=$LINENO 142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 143 test "x$as_lineno_1" != "x$as_lineno_2" && 144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 147 CONFIG_SHELL=$as_dir/$as_base 148 export CONFIG_SHELL 149 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 150 fi;; 151 esac 152 done 153 done 154 ;; 155 esac 156 157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 158 # uniformly replaced by the line number. The first 'sed' inserts a 159 # line-number line before each line; the second 'sed' does the real 160 # work. The second script uses 'N' to pair each line-number line 161 # with the numbered line, and appends trailing '-' during 162 # substitution so that $LINENO is not a special case at line end. 163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 165 sed '=' <$as_myself | 429 430 as_lineno_1=$LINENO as_lineno_1a=$LINENO 431 as_lineno_2=$LINENO as_lineno_2a=$LINENO 432 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 433 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 434 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 435 sed -n ' 436 p 437 /[$]LINENO/= 438 ' <$as_myself | 166 439 sed ' 440 s/[$]LINENO.*/&-/ 441 t lineno 442 b 443 :lineno 167 444 N 168 s,$,-, 169 : loop 170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 445 :loop 446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 171 447 t loop 172 s,-$,, 173 s,^['$as_cr_digits']*\n,, 448 s/-\n.*// 174 449 ' >$as_me.lineno && 175 chmod +x $as_me.lineno || 176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 177 { (exit 1); exit 1; }; } 450 chmod +x "$as_me.lineno" || 451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 178 452 179 453 # Don't try to exec as it changes $[0], causing all sort of problems 180 454 # (the dirname of $[0] is not the place where we might find the 181 # original and so on. Autoconf is especially sensi ble to this).182 . ./$as_me.lineno455 # original and so on. Autoconf is especially sensitive to this). 456 . "./$as_me.lineno" 183 457 # Exit status is that of the last command. 184 458 exit 185 459 } 186 460 187 188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 189 *c*,-n*) ECHO_N= ECHO_C=' 190 ' ECHO_T=' ' ;; 191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 461 ECHO_C= ECHO_N= ECHO_T= 462 case `echo -n x` in #((((( 463 -n*) 464 case `echo 'xy\c'` in 465 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 466 xy) ECHO_C='\c';; 467 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 468 ECHO_T=' ';; 469 esac;; 470 *) 471 ECHO_N='-n';; 193 472 esac 194 473 195 if expr a : '\(a\)' >/dev/null 2>&1; then196 as_expr=expr197 else198 as_expr=false199 fi200 201 474 rm -f conf$$ conf$$.exe conf$$.file 202 echo >conf$$.file 203 if ln -s conf$$.file conf$$ 2>/dev/null; then 204 # We could just check for DJGPP; but this test a) works b) is more generic 205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 206 if test -f conf$$.exe; then 207 # Don't use ln at all; we don't have any links 475 if test -d conf$$.dir; then 476 rm -f conf$$.dir/conf$$.file 477 else 478 rm -f conf$$.dir 479 mkdir conf$$.dir 2>/dev/null 480 fi 481 if (echo >conf$$.file) 2>/dev/null; then 482 if ln -s conf$$.file conf$$ 2>/dev/null; then 483 as_ln_s='ln -s' 484 # ... but there are two gotchas: 485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 487 # In both cases, we have to default to `cp -p'. 488 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 489 as_ln_s='cp -p' 490 elif ln conf$$.file conf$$ 2>/dev/null; then 491 as_ln_s=ln 492 else 208 493 as_ln_s='cp -p' 209 else210 as_ln_s='ln -s'211 494 fi 212 elif ln conf$$.file conf$$ 2>/dev/null; then213 as_ln_s=ln214 495 else 215 496 as_ln_s='cp -p' 216 497 fi 217 rm -f conf$$ conf$$.exe conf$$.file 498 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 499 rmdir conf$$.dir 2>/dev/null 218 500 219 501 if mkdir -p . 2>/dev/null; then 220 as_mkdir_p= :502 as_mkdir_p='mkdir -p "$as_dir"' 221 503 else 222 504 test -d ./-p && rmdir ./-p … … 224 506 fi 225 507 226 as_executable_p="test -f" 508 if test -x / >/dev/null 2>&1; then 509 as_test_x='test -x' 510 else 511 if ls -dL / >/dev/null 2>&1; then 512 as_ls_L_option=L 513 else 514 as_ls_L_option= 515 fi 516 as_test_x=' 517 eval sh -c '\'' 518 if test -d "$1"; then 519 test -d "$1/."; 520 else 521 case $1 in #( 522 -*)set "./$1";; 523 esac; 524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 525 ???[sx]*):;;*)false;;esac;fi 526 '\'' sh 527 ' 528 fi 529 as_executable_p=$as_test_x 227 530 228 531 # Sed expression to map a string onto a valid CPP name. … … 233 536 234 537 235 # IFS 236 # We need space, tab and new line, in precisely that order. 237 as_nl=' 238 ' 239 IFS=" $as_nl" 240 241 # CDPATH. 242 $as_unset CDPATH 243 538 test -n "$DJDIR" || exec 7<&0 </dev/null 539 exec 6>&1 244 540 245 541 # Name of the host. 246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,542 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 247 543 # so uname gets run too. 248 544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 249 250 exec 6>&1251 545 252 546 # … … 254 548 # 255 549 ac_default_prefix=/usr/local 550 ac_clean_files= 256 551 ac_config_libobj_dir=. 552 LIBOBJS= 257 553 cross_compiling=no 258 554 subdirs= 259 555 MFLAGS= 260 556 MAKEFLAGS= 261 SHELL=${CONFIG_SHELL-/bin/sh}262 263 # Maximum number of lines to put in a shell here document.264 # This variable seems obsolete. It should probably be removed, and265 # only ac_max_sed_lines should be used.266 : ${ac_max_here_lines=38}267 557 268 558 # Identity of this package. … … 272 562 PACKAGE_STRING= 273 563 PACKAGE_BUGREPORT= 564 PACKAGE_URL= 274 565 275 566 ac_unique_file="jni/gdbmjava.c" … … 277 568 ac_includes_default="\ 278 569 #include <stdio.h> 279 #if HAVE_SYS_TYPES_H570 #ifdef HAVE_SYS_TYPES_H 280 571 # include <sys/types.h> 281 572 #endif 282 #if HAVE_SYS_STAT_H573 #ifdef HAVE_SYS_STAT_H 283 574 # include <sys/stat.h> 284 575 #endif 285 #if STDC_HEADERS576 #ifdef STDC_HEADERS 286 577 # include <stdlib.h> 287 578 # include <stddef.h> 288 579 #else 289 # if HAVE_STDLIB_H580 # ifdef HAVE_STDLIB_H 290 581 # include <stdlib.h> 291 582 # endif 292 583 #endif 293 #if HAVE_STRING_H294 # if ! STDC_HEADERS &&HAVE_MEMORY_H584 #ifdef HAVE_STRING_H 585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 295 586 # include <memory.h> 296 587 # endif 297 588 # include <string.h> 298 589 #endif 299 #if HAVE_STRINGS_H590 #ifdef HAVE_STRINGS_H 300 591 # include <strings.h> 301 592 #endif 302 #if HAVE_INTTYPES_H593 #ifdef HAVE_INTTYPES_H 303 594 # include <inttypes.h> 304 #else305 # if HAVE_STDINT_H306 # include <stdint.h>307 # endif308 595 #endif 309 #if HAVE_UNISTD_H 596 #ifdef HAVE_STDINT_H 597 # include <stdint.h> 598 #endif 599 #ifdef HAVE_UNISTD_H 310 600 # include <unistd.h> 311 601 #endif" 312 602 313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S COMPAT32BITFLAGS CPP EGREP JAVA_HOME javagdbm_cv_path_javah javagdbm_cv_path_java GDBM_LIBPATH GDBM_INCLUDE PKG JNIINC JNISUFFIX JNIFLAGS LIBOBJS LTLIBOBJS' 603 ac_subst_vars='LTLIBOBJS 604 LIBOBJS 605 JNIFLAGS 606 JNISUFFIX 607 JNIINC 608 PKG 609 GDBM_INCLUDE 610 GDBM_LIBPATH 611 javagdbm_cv_path_java 612 javagdbm_cv_path_javah 613 JAVA_HOME 614 EGREP 615 GREP 616 CPP 617 ARCH_DEP_FLAGS 618 LN_S 619 INSTALL_DATA 620 INSTALL_SCRIPT 621 INSTALL_PROGRAM 622 OBJEXT 623 EXEEXT 624 ac_ct_CC 625 CPPFLAGS 626 LDFLAGS 627 CFLAGS 628 CC 629 target_os 630 target_vendor 631 target_cpu 632 target 633 host_os 634 host_vendor 635 host_cpu 636 host 637 build_os 638 build_vendor 639 build_cpu 640 build 641 target_alias 642 host_alias 643 build_alias 644 LIBS 645 ECHO_T 646 ECHO_N 647 ECHO_C 648 DEFS 649 mandir 650 localedir 651 libdir 652 psdir 653 pdfdir 654 dvidir 655 htmldir 656 infodir 657 docdir 658 oldincludedir 659 includedir 660 localstatedir 661 sharedstatedir 662 sysconfdir 663 datadir 664 datarootdir 665 libexecdir 666 sbindir 667 bindir 668 program_transform_name 669 prefix 670 exec_prefix 671 PACKAGE_URL 672 PACKAGE_BUGREPORT 673 PACKAGE_STRING 674 PACKAGE_VERSION 675 PACKAGE_TARNAME 676 PACKAGE_NAME 677 PATH_SEPARATOR 678 SHELL' 314 679 ac_subst_files='' 680 ac_user_opts=' 681 enable_option_checking 682 with_gdbm 683 ' 684 ac_precious_vars='build_alias 685 host_alias 686 target_alias 687 CC 688 CFLAGS 689 LDFLAGS 690 LIBS 691 CPPFLAGS 692 CPP' 693 315 694 316 695 # Initialize some variables set by options. 317 696 ac_init_help= 318 697 ac_init_version=false 698 ac_unrecognized_opts= 699 ac_unrecognized_sep= 319 700 # The variables have the same names as the options, with 320 701 # dashes changed to underlines. … … 339 720 # by default will actually change. 340 721 # Use braces instead of parens because sh, perl, etc. also accept them. 722 # (The list follows the same order as the GNU Coding Standards.) 341 723 bindir='${exec_prefix}/bin' 342 724 sbindir='${exec_prefix}/sbin' 343 725 libexecdir='${exec_prefix}/libexec' 344 datadir='${prefix}/share' 726 datarootdir='${prefix}/share' 727 datadir='${datarootdir}' 345 728 sysconfdir='${prefix}/etc' 346 729 sharedstatedir='${prefix}/com' 347 730 localstatedir='${prefix}/var' 348 libdir='${exec_prefix}/lib'349 731 includedir='${prefix}/include' 350 732 oldincludedir='/usr/include' 351 infodir='${prefix}/info' 352 mandir='${prefix}/man' 733 docdir='${datarootdir}/doc/${PACKAGE}' 734 infodir='${datarootdir}/info' 735 htmldir='${docdir}' 736 dvidir='${docdir}' 737 pdfdir='${docdir}' 738 psdir='${docdir}' 739 libdir='${exec_prefix}/lib' 740 localedir='${datarootdir}/locale' 741 mandir='${datarootdir}/man' 353 742 354 743 ac_prev= 744 ac_dashdash= 355 745 for ac_option 356 746 do 357 747 # If the previous option needs an argument, assign it. 358 748 if test -n "$ac_prev"; then 359 eval "$ac_prev=\$ac_option"749 eval $ac_prev=\$ac_option 360 750 ac_prev= 361 751 continue 362 752 fi 363 753 364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 754 case $ac_option in 755 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 756 *=) ac_optarg= ;; 757 *) ac_optarg=yes ;; 758 esac 365 759 366 760 # Accept the important Cygnus configure options, so we can diagnose typos. 367 761 368 case $ac_option in 762 case $ac_dashdash$ac_option in 763 --) 764 ac_dashdash=yes ;; 369 765 370 766 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 388 784 cache_file=config.cache ;; 389 785 390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)786 -datadir | --datadir | --datadi | --datad) 391 787 ac_prev=datadir ;; 392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 393 | --da=*) 788 -datadir=* | --datadir=* | --datadi=* | --datad=*) 394 789 datadir=$ac_optarg ;; 395 790 791 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 792 | --dataroo | --dataro | --datar) 793 ac_prev=datarootdir ;; 794 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 795 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 796 datarootdir=$ac_optarg ;; 797 396 798 -disable-* | --disable-*) 397 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`799 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 398 800 # Reject names that are not valid shell variable names. 399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 401 { (exit 1); exit 1; }; } 402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 403 eval "enable_$ac_feature=no" ;; 801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 802 as_fn_error $? "invalid feature name: $ac_useropt" 803 ac_useropt_orig=$ac_useropt 804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 805 case $ac_user_opts in 806 *" 807 "enable_$ac_useropt" 808 "*) ;; 809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 810 ac_unrecognized_sep=', ';; 811 esac 812 eval enable_$ac_useropt=no ;; 813 814 -docdir | --docdir | --docdi | --doc | --do) 815 ac_prev=docdir ;; 816 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 817 docdir=$ac_optarg ;; 818 819 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 820 ac_prev=dvidir ;; 821 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 822 dvidir=$ac_optarg ;; 404 823 405 824 -enable-* | --enable-*) 406 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`825 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 407 826 # Reject names that are not valid shell variable names. 408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 410 { (exit 1); exit 1; }; } 411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 412 case $ac_option in 413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 414 *) ac_optarg=yes ;; 827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 828 as_fn_error $? "invalid feature name: $ac_useropt" 829 ac_useropt_orig=$ac_useropt 830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 831 case $ac_user_opts in 832 *" 833 "enable_$ac_useropt" 834 "*) ;; 835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 836 ac_unrecognized_sep=', ';; 415 837 esac 416 eval "enable_$ac_feature='$ac_optarg'";;838 eval enable_$ac_useropt=\$ac_optarg ;; 417 839 418 840 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 441 863 host_alias=$ac_optarg ;; 442 864 865 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 866 ac_prev=htmldir ;; 867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 868 | --ht=*) 869 htmldir=$ac_optarg ;; 870 443 871 -includedir | --includedir | --includedi | --included | --include \ 444 872 | --includ | --inclu | --incl | --inc) … … 465 893 libexecdir=$ac_optarg ;; 466 894 895 -localedir | --localedir | --localedi | --localed | --locale) 896 ac_prev=localedir ;; 897 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 898 localedir=$ac_optarg ;; 899 467 900 -localstatedir | --localstatedir | --localstatedi | --localstated \ 468 | --localstate | --localstat | --localsta | --localst \ 469 | --locals | --local | --loca | --loc | --lo) 901 | --localstate | --localstat | --localsta | --localst | --locals) 470 902 ac_prev=localstatedir ;; 471 903 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 904 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 474 905 localstatedir=$ac_optarg ;; 475 906 … … 536 967 program_transform_name=$ac_optarg ;; 537 968 969 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 970 ac_prev=pdfdir ;; 971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 972 pdfdir=$ac_optarg ;; 973 974 -psdir | --psdir | --psdi | --psd | --ps) 975 ac_prev=psdir ;; 976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 977 psdir=$ac_optarg ;; 978 538 979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 539 980 | -silent | --silent | --silen | --sile | --sil) … … 586 1027 587 1028 -with-* | --with-*) 588 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1029 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 589 1030 # Reject names that are not valid shell variable names. 590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 591 { echo "$as_me: error: invalid package name: $ac_package" >&2 592 { (exit 1); exit 1; }; } 593 ac_package=`echo $ac_package| sed 's/-/_/g'` 594 case $ac_option in 595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 596 *) ac_optarg=yes ;; 1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1032 as_fn_error $? "invalid package name: $ac_useropt" 1033 ac_useropt_orig=$ac_useropt 1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1035 case $ac_user_opts in 1036 *" 1037 "with_$ac_useropt" 1038 "*) ;; 1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1040 ac_unrecognized_sep=', ';; 597 1041 esac 598 eval "with_$ac_package='$ac_optarg'";;1042 eval with_$ac_useropt=\$ac_optarg ;; 599 1043 600 1044 -without-* | --without-*) 601 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1045 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 602 1046 # Reject names that are not valid shell variable names. 603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 604 { echo "$as_me: error: invalid package name: $ac_package" >&2 605 { (exit 1); exit 1; }; } 606 ac_package=`echo $ac_package | sed 's/-/_/g'` 607 eval "with_$ac_package=no" ;; 1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1048 as_fn_error $? "invalid package name: $ac_useropt" 1049 ac_useropt_orig=$ac_useropt 1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1051 case $ac_user_opts in 1052 *" 1053 "with_$ac_useropt" 1054 "*) ;; 1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1056 ac_unrecognized_sep=', ';; 1057 esac 1058 eval with_$ac_useropt=no ;; 608 1059 609 1060 --x) … … 625 1076 x_libraries=$ac_optarg ;; 626 1077 627 -*) { echo "$as_me: error: unrecognized option: $ac_option 628 Try \`$0 --help' for more information." >&2 629 { (exit 1); exit 1; }; } 1078 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1079 Try \`$0 --help' for more information" 630 1080 ;; 631 1081 … … 633 1083 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 634 1084 # Reject names that are not valid shell variable names. 635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2637 { (exit 1); exit 1; }; }638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`639 eval "$ac_envvar='$ac_optarg'"1085 case $ac_envvar in #( 1086 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1087 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1088 esac 1089 eval $ac_envvar=\$ac_optarg 640 1090 export $ac_envvar ;; 641 1091 642 1092 *) 643 1093 # FIXME: should be removed in autoconf 3.0. 644 echo "$as_me: WARNING: you should use --build, --host, --target" >&21094 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 645 1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1096 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1097 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 648 1098 ;; 649 1099 … … 653 1103 if test -n "$ac_prev"; then 654 1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 655 { echo "$as_me: error: missing argument to $ac_option" >&2 656 { (exit 1); exit 1; }; } 657 fi 658 659 # Be sure to have absolute paths. 660 for ac_var in exec_prefix prefix 1105 as_fn_error $? "missing argument to $ac_option" 1106 fi 1107 1108 if test -n "$ac_unrecognized_opts"; then 1109 case $enable_option_checking in 1110 no) ;; 1111 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1112 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1113 esac 1114 fi 1115 1116 # Check all directory arguments for consistency. 1117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1118 datadir sysconfdir sharedstatedir localstatedir includedir \ 1119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1120 libdir localedir mandir 661 1121 do 662 eval ac_val=$`echo $ac_var` 1122 eval ac_val=\$$ac_var 1123 # Remove trailing slashes. 663 1124 case $ac_val in 664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2666 { (exit 1); exit 1; }; };;1125 */ ) 1126 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1127 eval $ac_var=\$ac_val;; 667 1128 esac 668 done 669 670 # Be sure to have absolute paths. 671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 672 localstatedir libdir includedir oldincludedir infodir mandir 673 do 674 eval ac_val=$`echo $ac_var` 1129 # Be sure to have absolute directory names. 675 1130 case $ac_val in 676 [\\/$]* | ?:[\\/]* ) ;; 677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 678 { (exit 1); exit 1; }; };; 1131 [\\/$]* | ?:[\\/]* ) continue;; 1132 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 679 1133 esac 1134 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 680 1135 done 681 1136 … … 691 1146 if test "x$build_alias" = x; then 692 1147 cross_compiling=maybe 693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.694 If a cross compiler is detected then cross compile mode will be used ." >&21148 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1149 If a cross compiler is detected then cross compile mode will be used" >&2 695 1150 elif test "x$build_alias" != "x$host_alias"; then 696 1151 cross_compiling=yes … … 704 1159 705 1160 1161 ac_pwd=`pwd` && test -n "$ac_pwd" && 1162 ac_ls_di=`ls -di .` && 1163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1164 as_fn_error $? "working directory cannot be determined" 1165 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1166 as_fn_error $? "pwd does not report name of working directory" 1167 1168 706 1169 # Find the source files, if location was not specified. 707 1170 if test -z "$srcdir"; then 708 1171 ac_srcdir_defaulted=yes 709 # Try the directory containing this script, then its parent. 710 ac_confdir=`(dirname "$0") 2>/dev/null || 711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 712 X"$0" : 'X\(//\)[^/]' \| \ 713 X"$0" : 'X\(//\)$' \| \ 714 X"$0" : 'X\(/\)' \| \ 715 . : '\(.\)' 2>/dev/null || 716 echo X"$0" | 717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 719 /^X\(\/\/\)$/{ s//\1/; q; } 720 /^X\(\/\).*/{ s//\1/; q; } 721 s/.*/./; q'` 1172 # Try the directory containing this script, then the parent directory. 1173 ac_confdir=`$as_dirname -- "$as_myself" || 1174 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1175 X"$as_myself" : 'X\(//\)[^/]' \| \ 1176 X"$as_myself" : 'X\(//\)$' \| \ 1177 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1178 $as_echo X"$as_myself" | 1179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1180 s//\1/ 1181 q 1182 } 1183 /^X\(\/\/\)[^/].*/{ 1184 s//\1/ 1185 q 1186 } 1187 /^X\(\/\/\)$/{ 1188 s//\1/ 1189 q 1190 } 1191 /^X\(\/\).*/{ 1192 s//\1/ 1193 q 1194 } 1195 s/.*/./; q'` 722 1196 srcdir=$ac_confdir 723 if test ! -r $srcdir/$ac_unique_file; then1197 if test ! -r "$srcdir/$ac_unique_file"; then 724 1198 srcdir=.. 725 1199 fi … … 727 1201 ac_srcdir_defaulted=no 728 1202 fi 729 if test ! -r $srcdir/$ac_unique_file; then 730 if test "$ac_srcdir_defaulted" = yes; then 731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 732 { (exit 1); exit 1; }; } 733 else 734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 735 { (exit 1); exit 1; }; } 736 fi 737 fi 738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 740 { (exit 1); exit 1; }; } 741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 742 ac_env_build_alias_set=${build_alias+set} 743 ac_env_build_alias_value=$build_alias 744 ac_cv_env_build_alias_set=${build_alias+set} 745 ac_cv_env_build_alias_value=$build_alias 746 ac_env_host_alias_set=${host_alias+set} 747 ac_env_host_alias_value=$host_alias 748 ac_cv_env_host_alias_set=${host_alias+set} 749 ac_cv_env_host_alias_value=$host_alias 750 ac_env_target_alias_set=${target_alias+set} 751 ac_env_target_alias_value=$target_alias 752 ac_cv_env_target_alias_set=${target_alias+set} 753 ac_cv_env_target_alias_value=$target_alias 754 ac_env_CC_set=${CC+set} 755 ac_env_CC_value=$CC 756 ac_cv_env_CC_set=${CC+set} 757 ac_cv_env_CC_value=$CC 758 ac_env_CFLAGS_set=${CFLAGS+set} 759 ac_env_CFLAGS_value=$CFLAGS 760 ac_cv_env_CFLAGS_set=${CFLAGS+set} 761 ac_cv_env_CFLAGS_value=$CFLAGS 762 ac_env_LDFLAGS_set=${LDFLAGS+set} 763 ac_env_LDFLAGS_value=$LDFLAGS 764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 765 ac_cv_env_LDFLAGS_value=$LDFLAGS 766 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 767 ac_env_CPPFLAGS_value=$CPPFLAGS 768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 770 ac_env_CPP_set=${CPP+set} 771 ac_env_CPP_value=$CPP 772 ac_cv_env_CPP_set=${CPP+set} 773 ac_cv_env_CPP_value=$CPP 1203 if test ! -r "$srcdir/$ac_unique_file"; then 1204 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1205 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1206 fi 1207 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1208 ac_abs_confdir=`( 1209 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1210 pwd)` 1211 # When building in place, set srcdir=. 1212 if test "$ac_abs_confdir" = "$ac_pwd"; then 1213 srcdir=. 1214 fi 1215 # Remove unnecessary trailing slashes from srcdir. 1216 # Double slashes in file names in object file debugging info 1217 # mess up M-x gdb in Emacs. 1218 case $srcdir in 1219 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1220 esac 1221 for ac_var in $ac_precious_vars; do 1222 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1223 eval ac_env_${ac_var}_value=\$${ac_var} 1224 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1225 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1226 done 774 1227 775 1228 # … … 794 1247 --help=recursive display the short help of all the included packages 795 1248 -V, --version display version information and exit 796 -q, --quiet, --silent do not print \`checking ...' messages1249 -q, --quiet, --silent do not print \`checking ...' messages 797 1250 --cache-file=FILE cache test results in FILE [disabled] 798 1251 -C, --config-cache alias for \`--cache-file=config.cache' … … 800 1253 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 801 1254 802 _ACEOF803 804 cat <<_ACEOF805 1255 Installation directories: 806 1256 --prefix=PREFIX install architecture-independent files in PREFIX 807 1257 [$ac_default_prefix] 808 1258 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 809 1259 [PREFIX] 810 1260 811 1261 By default, \`make install' will install all the files in … … 817 1267 818 1268 Fine tuning of the installation directories: 819 --bindir=DIR user executables [EPREFIX/bin] 820 --sbindir=DIR system admin executables [EPREFIX/sbin] 821 --libexecdir=DIR program executables [EPREFIX/libexec] 822 --datadir=DIR read-only architecture-independent data [PREFIX/share] 823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 825 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 826 --libdir=DIR object code libraries [EPREFIX/lib] 827 --includedir=DIR C header files [PREFIX/include] 828 --oldincludedir=DIR C header files for non-gcc [/usr/include] 829 --infodir=DIR info documentation [PREFIX/info] 830 --mandir=DIR man documentation [PREFIX/man] 1269 --bindir=DIR user executables [EPREFIX/bin] 1270 --sbindir=DIR system admin executables [EPREFIX/sbin] 1271 --libexecdir=DIR program executables [EPREFIX/libexec] 1272 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1273 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1274 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1275 --libdir=DIR object code libraries [EPREFIX/lib] 1276 --includedir=DIR C header files [PREFIX/include] 1277 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1278 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1279 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1280 --infodir=DIR info documentation [DATAROOTDIR/info] 1281 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1282 --mandir=DIR man documentation [DATAROOTDIR/man] 1283 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1284 --htmldir=DIR html documentation [DOCDIR] 1285 --dvidir=DIR dvi documentation [DOCDIR] 1286 --pdfdir=DIR pdf documentation [DOCDIR] 1287 --psdir=DIR ps documentation [DOCDIR] 831 1288 _ACEOF 832 1289 … … 854 1311 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 855 1312 nonstandard directory <lib dir> 856 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 857 headers in a nonstandard directory <include dir> 1313 LIBS libraries to pass to the linker, e.g. -l<library> 1314 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1315 you have headers in a nonstandard directory <include dir> 858 1316 CPP C preprocessor 859 1317 … … 861 1319 it to find libraries and programs with nonstandard names/locations. 862 1320 863 _ACEOF 1321 Report bugs to the package provider. 1322 _ACEOF 1323 ac_status=$? 864 1324 fi 865 1325 866 1326 if test "$ac_init_help" = "recursive"; then 867 1327 # If there are subdirs, report their specific --help. 868 ac_popdir=`pwd`869 1328 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 870 test -d $ac_dir || continue 1329 test -d "$ac_dir" || 1330 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1331 continue 871 1332 ac_builddir=. 872 1333 873 if test "$ac_dir" != .; then 874 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 875 # A "../" for each directory in $ac_dir_suffix. 876 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 877 else 878 ac_dir_suffix= ac_top_builddir= 879 fi 1334 case "$ac_dir" in 1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1336 *) 1337 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1338 # A ".." for each directory in $ac_dir_suffix. 1339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1340 case $ac_top_builddir_sub in 1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1343 esac ;; 1344 esac 1345 ac_abs_top_builddir=$ac_pwd 1346 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1347 # for backward compatibility: 1348 ac_top_builddir=$ac_top_build_prefix 880 1349 881 1350 case $srcdir in 882 .) # No --srcdir option.We are building in place.1351 .) # We are building in place. 883 1352 ac_srcdir=. 884 if test -z "$ac_top_builddir"; then 885 ac_top_srcdir=. 1353 ac_top_srcdir=$ac_top_builddir_sub 1354 ac_abs_top_srcdir=$ac_pwd ;; 1355 [\\/]* | ?:[\\/]* ) # Absolute name. 1356 ac_srcdir=$srcdir$ac_dir_suffix; 1357 ac_top_srcdir=$srcdir 1358 ac_abs_top_srcdir=$srcdir ;; 1359 *) # Relative name. 1360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1361 ac_top_srcdir=$ac_top_build_prefix$srcdir 1362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1363 esac 1364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1365 1366 cd "$ac_dir" || { ac_status=$?; continue; } 1367 # Check for guested configure. 1368 if test -f "$ac_srcdir/configure.gnu"; then 1369 echo && 1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1371 elif test -f "$ac_srcdir/configure"; then 1372 echo && 1373 $SHELL "$ac_srcdir/configure" --help=recursive 886 1374 else 887 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 888 fi ;; 889 [\\/]* | ?:[\\/]* ) # Absolute path. 890 ac_srcdir=$srcdir$ac_dir_suffix; 891 ac_top_srcdir=$srcdir ;; 892 *) # Relative path. 893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 894 ac_top_srcdir=$ac_top_builddir$srcdir ;; 895 esac 896 897 # Do not use `cd foo && pwd` to compute absolute paths, because 898 # the directories may not exist. 899 case `pwd` in 900 .) ac_abs_builddir="$ac_dir";; 901 *) 902 case "$ac_dir" in 903 .) ac_abs_builddir=`pwd`;; 904 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 905 *) ac_abs_builddir=`pwd`/"$ac_dir";; 906 esac;; 907 esac 908 case $ac_abs_builddir in 909 .) ac_abs_top_builddir=${ac_top_builddir}.;; 910 *) 911 case ${ac_top_builddir}. in 912 .) ac_abs_top_builddir=$ac_abs_builddir;; 913 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 914 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 915 esac;; 916 esac 917 case $ac_abs_builddir in 918 .) ac_abs_srcdir=$ac_srcdir;; 919 *) 920 case $ac_srcdir in 921 .) ac_abs_srcdir=$ac_abs_builddir;; 922 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 923 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 924 esac;; 925 esac 926 case $ac_abs_builddir in 927 .) ac_abs_top_srcdir=$ac_top_srcdir;; 928 *) 929 case $ac_top_srcdir in 930 .) ac_abs_top_srcdir=$ac_abs_builddir;; 931 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 932 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 933 esac;; 934 esac 935 936 cd $ac_dir 937 # Check for guested configure; otherwise get Cygnus style configure. 938 if test -f $ac_srcdir/configure.gnu; then 939 echo 940 $SHELL $ac_srcdir/configure.gnu --help=recursive 941 elif test -f $ac_srcdir/configure; then 942 echo 943 $SHELL $ac_srcdir/configure --help=recursive 944 elif test -f $ac_srcdir/configure.ac || 945 test -f $ac_srcdir/configure.in; then 946 echo 947 $ac_configure --help 948 else 949 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 950 fi 951 cd $ac_popdir 1375 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1376 fi || ac_status=$? 1377 cd "$ac_pwd" || { ac_status=$?; break; } 952 1378 done 953 1379 fi 954 1380 955 test -n "$ac_init_help" && exit 01381 test -n "$ac_init_help" && exit $ac_status 956 1382 if $ac_init_version; then 957 1383 cat <<\_ACEOF 958 959 Copyright (C) 2003 Free Software Foundation, Inc. 1384 configure 1385 generated by GNU Autoconf 2.68 1386 1387 Copyright (C) 2010 Free Software Foundation, Inc. 960 1388 This configure script is free software; the Free Software Foundation 961 1389 gives unlimited permission to copy, distribute and modify it. 962 1390 _ACEOF 963 exit 0 964 fi 965 exec 5>config.log 966 cat >&5 <<_ACEOF 1391 exit 1392 fi 1393 1394 ## ------------------------ ## 1395 ## Autoconf initialization. ## 1396 ## ------------------------ ## 1397 1398 # ac_fn_c_try_compile LINENO 1399 # -------------------------- 1400 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1401 ac_fn_c_try_compile () 1402 { 1403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1404 rm -f conftest.$ac_objext 1405 if { { ac_try="$ac_compile" 1406 case "(($ac_try" in 1407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1408 *) ac_try_echo=$ac_try;; 1409 esac 1410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1411 $as_echo "$ac_try_echo"; } >&5 1412 (eval "$ac_compile") 2>conftest.err 1413 ac_status=$? 1414 if test -s conftest.err; then 1415 grep -v '^ *+' conftest.err >conftest.er1 1416 cat conftest.er1 >&5 1417 mv -f conftest.er1 conftest.err 1418 fi 1419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1420 test $ac_status = 0; } && { 1421 test -z "$ac_c_werror_flag" || 1422 test ! -s conftest.err 1423 } && test -s conftest.$ac_objext; then : 1424 ac_retval=0 1425 else 1426 $as_echo "$as_me: failed program was:" >&5 1427 sed 's/^/| /' conftest.$ac_ext >&5 1428 1429 ac_retval=1 1430 fi 1431 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1432 as_fn_set_status $ac_retval 1433 1434 } # ac_fn_c_try_compile 1435 1436 # ac_fn_c_try_run LINENO 1437 # ---------------------- 1438 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1439 # that executables *can* be run. 1440 ac_fn_c_try_run () 1441 { 1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1443 if { { ac_try="$ac_link" 1444 case "(($ac_try" in 1445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1446 *) ac_try_echo=$ac_try;; 1447 esac 1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1449 $as_echo "$ac_try_echo"; } >&5 1450 (eval "$ac_link") 2>&5 1451 ac_status=$? 1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1453 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1454 { { case "(($ac_try" in 1455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1456 *) ac_try_echo=$ac_try;; 1457 esac 1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1459 $as_echo "$ac_try_echo"; } >&5 1460 (eval "$ac_try") 2>&5 1461 ac_status=$? 1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1463 test $ac_status = 0; }; }; then : 1464 ac_retval=0 1465 else 1466 $as_echo "$as_me: program exited with status $ac_status" >&5 1467 $as_echo "$as_me: failed program was:" >&5 1468 sed 's/^/| /' conftest.$ac_ext >&5 1469 1470 ac_retval=$ac_status 1471 fi 1472 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1474 as_fn_set_status $ac_retval 1475 1476 } # ac_fn_c_try_run 1477 1478 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1479 # -------------------------------------------- 1480 # Tries to find the compile-time value of EXPR in a program that includes 1481 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1482 # computed 1483 ac_fn_c_compute_int () 1484 { 1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1486 if test "$cross_compiling" = yes; then 1487 # Depending upon the size, compute the lo and hi bounds. 1488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1489 /* end confdefs.h. */ 1490 $4 1491 int 1492 main () 1493 { 1494 static int test_array [1 - 2 * !(($2) >= 0)]; 1495 test_array [0] = 0 1496 1497 ; 1498 return 0; 1499 } 1500 _ACEOF 1501 if ac_fn_c_try_compile "$LINENO"; then : 1502 ac_lo=0 ac_mid=0 1503 while :; do 1504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1505 /* end confdefs.h. */ 1506 $4 1507 int 1508 main () 1509 { 1510 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1511 test_array [0] = 0 1512 1513 ; 1514 return 0; 1515 } 1516 _ACEOF 1517 if ac_fn_c_try_compile "$LINENO"; then : 1518 ac_hi=$ac_mid; break 1519 else 1520 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1521 if test $ac_lo -le $ac_mid; then 1522 ac_lo= ac_hi= 1523 break 1524 fi 1525 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1526 fi 1527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1528 done 1529 else 1530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1531 /* end confdefs.h. */ 1532 $4 1533 int 1534 main () 1535 { 1536 static int test_array [1 - 2 * !(($2) < 0)]; 1537 test_array [0] = 0 1538 1539 ; 1540 return 0; 1541 } 1542 _ACEOF 1543 if ac_fn_c_try_compile "$LINENO"; then : 1544 ac_hi=-1 ac_mid=-1 1545 while :; do 1546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1547 /* end confdefs.h. */ 1548 $4 1549 int 1550 main () 1551 { 1552 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1553 test_array [0] = 0 1554 1555 ; 1556 return 0; 1557 } 1558 _ACEOF 1559 if ac_fn_c_try_compile "$LINENO"; then : 1560 ac_lo=$ac_mid; break 1561 else 1562 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1563 if test $ac_mid -le $ac_hi; then 1564 ac_lo= ac_hi= 1565 break 1566 fi 1567 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1568 fi 1569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1570 done 1571 else 1572 ac_lo= ac_hi= 1573 fi 1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1575 fi 1576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1577 # Binary search between lo and hi bounds. 1578 while test "x$ac_lo" != "x$ac_hi"; do 1579 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1581 /* end confdefs.h. */ 1582 $4 1583 int 1584 main () 1585 { 1586 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1587 test_array [0] = 0 1588 1589 ; 1590 return 0; 1591 } 1592 _ACEOF 1593 if ac_fn_c_try_compile "$LINENO"; then : 1594 ac_hi=$ac_mid 1595 else 1596 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1597 fi 1598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1599 done 1600 case $ac_lo in #(( 1601 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1602 '') ac_retval=1 ;; 1603 esac 1604 else 1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1606 /* end confdefs.h. */ 1607 $4 1608 static long int longval () { return $2; } 1609 static unsigned long int ulongval () { return $2; } 1610 #include <stdio.h> 1611 #include <stdlib.h> 1612 int 1613 main () 1614 { 1615 1616 FILE *f = fopen ("conftest.val", "w"); 1617 if (! f) 1618 return 1; 1619 if (($2) < 0) 1620 { 1621 long int i = longval (); 1622 if (i != ($2)) 1623 return 1; 1624 fprintf (f, "%ld", i); 1625 } 1626 else 1627 { 1628 unsigned long int i = ulongval (); 1629 if (i != ($2)) 1630 return 1; 1631 fprintf (f, "%lu", i); 1632 } 1633 /* Do not output a trailing newline, as this causes \r\n confusion 1634 on some platforms. */ 1635 return ferror (f) || fclose (f) != 0; 1636 1637 ; 1638 return 0; 1639 } 1640 _ACEOF 1641 if ac_fn_c_try_run "$LINENO"; then : 1642 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 1643 else 1644 ac_retval=1 1645 fi 1646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1647 conftest.$ac_objext conftest.beam conftest.$ac_ext 1648 rm -f conftest.val 1649 1650 fi 1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1652 as_fn_set_status $ac_retval 1653 1654 } # ac_fn_c_compute_int 1655 1656 # ac_fn_c_try_cpp LINENO 1657 # ---------------------- 1658 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1659 ac_fn_c_try_cpp () 1660 { 1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1662 if { { ac_try="$ac_cpp conftest.$ac_ext" 1663 case "(($ac_try" in 1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1665 *) ac_try_echo=$ac_try;; 1666 esac 1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1668 $as_echo "$ac_try_echo"; } >&5 1669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1670 ac_status=$? 1671 if test -s conftest.err; then 1672 grep -v '^ *+' conftest.err >conftest.er1 1673 cat conftest.er1 >&5 1674 mv -f conftest.er1 conftest.err 1675 fi 1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1677 test $ac_status = 0; } > conftest.i && { 1678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1679 test ! -s conftest.err 1680 }; then : 1681 ac_retval=0 1682 else 1683 $as_echo "$as_me: failed program was:" >&5 1684 sed 's/^/| /' conftest.$ac_ext >&5 1685 1686 ac_retval=1 1687 fi 1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1689 as_fn_set_status $ac_retval 1690 1691 } # ac_fn_c_try_cpp 1692 1693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1694 # ------------------------------------------------------- 1695 # Tests whether HEADER exists and can be compiled using the include files in 1696 # INCLUDES, setting the cache variable VAR accordingly. 1697 ac_fn_c_check_header_compile () 1698 { 1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1701 $as_echo_n "checking for $2... " >&6; } 1702 if eval \${$3+:} false; then : 1703 $as_echo_n "(cached) " >&6 1704 else 1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1706 /* end confdefs.h. */ 1707 $4 1708 #include <$2> 1709 _ACEOF 1710 if ac_fn_c_try_compile "$LINENO"; then : 1711 eval "$3=yes" 1712 else 1713 eval "$3=no" 1714 fi 1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1716 fi 1717 eval ac_res=\$$3 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1719 $as_echo "$ac_res" >&6; } 1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1721 1722 } # ac_fn_c_check_header_compile 1723 1724 # ac_fn_c_try_link LINENO 1725 # ----------------------- 1726 # Try to link conftest.$ac_ext, and return whether this succeeded. 1727 ac_fn_c_try_link () 1728 { 1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1730 rm -f conftest.$ac_objext conftest$ac_exeext 1731 if { { ac_try="$ac_link" 1732 case "(($ac_try" in 1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1734 *) ac_try_echo=$ac_try;; 1735 esac 1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1737 $as_echo "$ac_try_echo"; } >&5 1738 (eval "$ac_link") 2>conftest.err 1739 ac_status=$? 1740 if test -s conftest.err; then 1741 grep -v '^ *+' conftest.err >conftest.er1 1742 cat conftest.er1 >&5 1743 mv -f conftest.er1 conftest.err 1744 fi 1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1746 test $ac_status = 0; } && { 1747 test -z "$ac_c_werror_flag" || 1748 test ! -s conftest.err 1749 } && test -s conftest$ac_exeext && { 1750 test "$cross_compiling" = yes || 1751 $as_test_x conftest$ac_exeext 1752 }; then : 1753 ac_retval=0 1754 else 1755 $as_echo "$as_me: failed program was:" >&5 1756 sed 's/^/| /' conftest.$ac_ext >&5 1757 1758 ac_retval=1 1759 fi 1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1762 # interfere with the next link command; also delete a directory that is 1763 # left behind by Apple's compiler. We do this before executing the actions. 1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1766 as_fn_set_status $ac_retval 1767 1768 } # ac_fn_c_try_link 1769 cat >config.log <<_ACEOF 967 1770 This file contains any messages produced by compilers while 968 1771 running configure, to aid debugging if configure makes a mistake. 969 1772 970 1773 It was created by $as_me, which was 971 generated by GNU Autoconf 2. 59. Invocation command line was1774 generated by GNU Autoconf 2.68. Invocation command line was 972 1775 973 1776 $ $0 $@ 974 1777 975 1778 _ACEOF 1779 exec 5>>config.log 976 1780 { 977 1781 cat <<_ASUNAME … … 992 1796 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 993 1797 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 994 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1798 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 995 1799 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 996 1800 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1004 1808 IFS=$as_save_IFS 1005 1809 test -z "$as_dir" && as_dir=. 1006 echo "PATH: $as_dir" 1007 done 1810 $as_echo "PATH: $as_dir" 1811 done 1812 IFS=$as_save_IFS 1008 1813 1009 1814 } >&5 … … 1027 1832 ac_configure_args0= 1028 1833 ac_configure_args1= 1029 ac_sep=1030 1834 ac_must_keep_next=false 1031 1835 for ac_pass in 1 2 … … 1038 1842 | -silent | --silent | --silen | --sile | --sil) 1039 1843 continue ;; 1040 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1041 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1844 *\'*) 1845 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1042 1846 esac 1043 1847 case $ac_pass in 1044 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1848 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1045 1849 2) 1046 a c_configure_args1="$ac_configure_args1'$ac_arg'"1850 as_fn_append ac_configure_args1 " '$ac_arg'" 1047 1851 if test $ac_must_keep_next = true; then 1048 1852 ac_must_keep_next=false # Got value, back to normal. … … 1060 1864 esac 1061 1865 fi 1062 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1063 # Get rid of the leading space. 1064 ac_sep=" " 1866 as_fn_append ac_configure_args " '$ac_arg'" 1065 1867 ;; 1066 1868 esac 1067 1869 done 1068 1870 done 1069 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1070 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1871 { ac_configure_args0=; unset ac_configure_args0;} 1872 { ac_configure_args1=; unset ac_configure_args1;} 1071 1873 1072 1874 # When interrupted or exit'd, cleanup temporary files, and complete 1073 1875 # config.log. We remove comments because anyway the quotes in there 1074 1876 # would cause problems or look ugly. 1075 # WARNING: Be sure not to use single quotes in there, as some shells,1076 # such as our DU 5.0 friend, will then `close' the trap.1877 # WARNING: Use '\'' to represent an apostrophe within the trap. 1878 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1077 1879 trap 'exit_status=$? 1078 1880 # Save into config.log some information that might help in debugging. … … 1080 1882 echo 1081 1883 1082 cat <<\_ASBOX 1083 ## ---------------- ## 1884 $as_echo "## ---------------- ## 1084 1885 ## Cache variables. ## 1085 ## ---------------- ## 1086 _ASBOX 1886 ## ---------------- ##" 1087 1887 echo 1088 1888 # The following way of writing the cache mishandles newlines in values, 1089 { 1889 ( 1890 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1891 eval ac_val=\$$ac_var 1892 case $ac_val in #( 1893 *${as_nl}*) 1894 case $ac_var in #( 1895 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1896 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1897 esac 1898 case $ac_var in #( 1899 _ | IFS | as_nl) ;; #( 1900 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1901 *) { eval $ac_var=; unset $ac_var;} ;; 1902 esac ;; 1903 esac 1904 done 1090 1905 (set) 2>&1 | 1091 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1092 * ac_space=\ *)1906 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1907 *${as_nl}ac_space=\ *) 1093 1908 sed -n \ 1094 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1909 "s/'\''/'\''\\\\'\'''\''/g; 1910 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1911 ;; #( 1912 *) 1913 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1096 1914 ;; 1097 *) 1098 sed -n \ 1099 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1100 ;; 1101 esac; 1102 } 1915 esac | 1916 sort 1917 ) 1103 1918 echo 1104 1919 1105 cat <<\_ASBOX 1106 ## ----------------- ## 1920 $as_echo "## ----------------- ## 1107 1921 ## Output variables. ## 1108 ## ----------------- ## 1109 _ASBOX 1922 ## ----------------- ##" 1110 1923 echo 1111 1924 for ac_var in $ac_subst_vars 1112 1925 do 1113 eval ac_val=$`echo $ac_var` 1114 echo "$ac_var='"'"'$ac_val'"'"'" 1926 eval ac_val=\$$ac_var 1927 case $ac_val in 1928 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1929 esac 1930 $as_echo "$ac_var='\''$ac_val'\''" 1115 1931 done | sort 1116 1932 echo 1117 1933 1118 1934 if test -n "$ac_subst_files"; then 1119 cat <<\_ASBOX 1120 ## ------------- ## 1121 ## Output files. ## 1122 ## ------------- ## 1123 _ASBOX 1935 $as_echo "## ------------------- ## 1936 ## File substitutions. ## 1937 ## ------------------- ##" 1124 1938 echo 1125 1939 for ac_var in $ac_subst_files 1126 1940 do 1127 eval ac_val=$`echo $ac_var` 1128 echo "$ac_var='"'"'$ac_val'"'"'" 1941 eval ac_val=\$$ac_var 1942 case $ac_val in 1943 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1944 esac 1945 $as_echo "$ac_var='\''$ac_val'\''" 1129 1946 done | sort 1130 1947 echo … … 1132 1949 1133 1950 if test -s confdefs.h; then 1134 cat <<\_ASBOX 1135 ## ----------- ## 1951 $as_echo "## ----------- ## 1136 1952 ## confdefs.h. ## 1137 ## ----------- ## 1138 _ASBOX 1953 ## ----------- ##" 1139 1954 echo 1140 sed "/^$/d" confdefs.h | sort1955 cat confdefs.h 1141 1956 echo 1142 1957 fi 1143 1958 test "$ac_signal" != 0 && 1144 echo "$as_me: caught signal $ac_signal"1145 echo "$as_me: exit $exit_status"1959 $as_echo "$as_me: caught signal $ac_signal" 1960 $as_echo "$as_me: exit $exit_status" 1146 1961 } >&5 1147 rm -f core *.core &&1148 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1962 rm -f core *.core core.conftest.* && 1963 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1149 1964 exit $exit_status 1150 1965 ' 0 1151 1966 for ac_signal in 1 2 13 15; do 1152 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1967 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1153 1968 done 1154 1969 ac_signal=0 1155 1970 1156 1971 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1157 rm - rfconftest* confdefs.h1158 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1159 echo >confdefs.h1972 rm -f -r conftest* confdefs.h 1973 1974 $as_echo "/* confdefs.h */" > confdefs.h 1160 1975 1161 1976 # Predefined preprocessor variables. … … 1165 1980 _ACEOF 1166 1981 1167 1168 1982 cat >>confdefs.h <<_ACEOF 1169 1983 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1170 1984 _ACEOF 1171 1985 1172 1173 1986 cat >>confdefs.h <<_ACEOF 1174 1987 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1175 1988 _ACEOF 1176 1989 1177 1178 1990 cat >>confdefs.h <<_ACEOF 1179 1991 #define PACKAGE_STRING "$PACKAGE_STRING" 1180 1992 _ACEOF 1181 1993 1182 1183 1994 cat >>confdefs.h <<_ACEOF 1184 1995 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1185 1996 _ACEOF 1186 1997 1998 cat >>confdefs.h <<_ACEOF 1999 #define PACKAGE_URL "$PACKAGE_URL" 2000 _ACEOF 2001 1187 2002 1188 2003 # Let the site file select an alternate cache file if it wants to. 1189 # Prefer explicitly selected file to automatically selected ones. 1190 if test -z "$CONFIG_SITE"; then 1191 if test "x$prefix" != xNONE; then 1192 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1193 else 1194 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1195 fi 1196 fi 1197 for ac_site_file in $CONFIG_SITE; do 1198 if test -r "$ac_site_file"; then 1199 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1200 echo "$as_me: loading site script $ac_site_file" >&6;} 2004 # Prefer an explicitly selected file to automatically selected ones. 2005 ac_site_file1=NONE 2006 ac_site_file2=NONE 2007 if test -n "$CONFIG_SITE"; then 2008 # We do not want a PATH search for config.site. 2009 case $CONFIG_SITE in #(( 2010 -*) ac_site_file1=./$CONFIG_SITE;; 2011 */*) ac_site_file1=$CONFIG_SITE;; 2012 *) ac_site_file1=./$CONFIG_SITE;; 2013 esac 2014 elif test "x$prefix" != xNONE; then 2015 ac_site_file1=$prefix/share/config.site 2016 ac_site_file2=$prefix/etc/config.site 2017 else 2018 ac_site_file1=$ac_default_prefix/share/config.site 2019 ac_site_file2=$ac_default_prefix/etc/config.site 2020 fi 2021 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2022 do 2023 test "x$ac_site_file" = xNONE && continue 2024 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2025 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2026 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1201 2027 sed 's/^/| /' "$ac_site_file" >&5 1202 . "$ac_site_file" 2028 . "$ac_site_file" \ 2029 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2031 as_fn_error $? "failed to load site script $ac_site_file 2032 See \`config.log' for more details" "$LINENO" 5; } 1203 2033 fi 1204 2034 done 1205 2035 1206 2036 if test -r "$cache_file"; then 1207 # Some versions of bash will fail to source /dev/null (special 1208 # files actually), so we avoid doing that.1209 if test -f "$cache_file"; then1210 { echo "$as_me:$LINENO: loading cache $cache_file" >&51211 echo "$as_me: loading cache $cache_file" >&6;}2037 # Some versions of bash will fail to source /dev/null (special files 2038 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2039 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2040 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2041 $as_echo "$as_me: loading cache $cache_file" >&6;} 1212 2042 case $cache_file in 1213 [\\/]* | ?:[\\/]* ) . $cache_file;;1214 *) . ./$cache_file;;2043 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2044 *) . "./$cache_file";; 1215 2045 esac 1216 2046 fi 1217 2047 else 1218 { echo "$as_me:$LINENO: creating cache $cache_file" >&51219 echo "$as_me: creating cache $cache_file" >&6;}2048 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2049 $as_echo "$as_me: creating cache $cache_file" >&6;} 1220 2050 >$cache_file 1221 2051 fi … … 1224 2054 # value. 1225 2055 ac_cache_corrupted=false 1226 for ac_var in `(set) 2>&1 | 1227 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2056 for ac_var in $ac_precious_vars; do 1228 2057 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1229 2058 eval ac_new_set=\$ac_env_${ac_var}_set 1230 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1231 eval ac_new_val= "\$ac_env_${ac_var}_value"2059 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2060 eval ac_new_val=\$ac_env_${ac_var}_value 1232 2061 case $ac_old_set,$ac_new_set in 1233 2062 set,) 1234 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51235 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2064 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1236 2065 ac_cache_corrupted=: ;; 1237 2066 ,set) 1238 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51239 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2067 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2068 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1240 2069 ac_cache_corrupted=: ;; 1241 2070 ,);; 1242 2071 *) 1243 2072 if test "x$ac_old_val" != "x$ac_new_val"; then 1244 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1245 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1246 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1247 echo "$as_me: former value: $ac_old_val" >&2;} 1248 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1249 echo "$as_me: current value: $ac_new_val" >&2;} 1250 ac_cache_corrupted=: 2073 # differences in whitespace do not lead to failure. 2074 ac_old_val_w=`echo x $ac_old_val` 2075 ac_new_val_w=`echo x $ac_new_val` 2076 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2077 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2078 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2079 ac_cache_corrupted=: 2080 else 2081 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2082 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2083 eval $ac_var=\$ac_old_val 2084 fi 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2086 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2087 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2088 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1251 2089 fi;; 1252 2090 esac … … 1254 2092 if test "$ac_new_set" = set; then 1255 2093 case $ac_new_val in 1256 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1257 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2094 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1258 2095 *) ac_arg=$ac_var=$ac_new_val ;; 1259 2096 esac 1260 2097 case " $ac_configure_args " in 1261 2098 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1262 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2099 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1263 2100 esac 1264 2101 fi 1265 2102 done 1266 2103 if $ac_cache_corrupted; then 1267 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1268 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1269 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1270 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1271 { (exit 1); exit 1; }; } 1272 fi 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2107 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2108 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2109 fi 2110 ## -------------------- ## 2111 ## Main body of script. ## 2112 ## -------------------- ## 1273 2113 1274 2114 ac_ext=c … … 1281 2121 1282 2122 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 # Check whether --with-gdbm or --without-gdbm was given. 1301 if test "${with_gdbm+set}" = set; then 1302 withval="$with_gdbm" 1303 gdbmdir=$withval 1304 fi; 2123 # Check whether --with-gdbm was given. 2124 if test "${with_gdbm+set}" = set; then : 2125 withval=$with_gdbm; gdbmdir=$withval 2126 fi 2127 1305 2128 1306 2129 ac_aux_dir= 1307 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1308 if test -f $ac_dir/install-sh; then2130 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2131 if test -f "$ac_dir/install-sh"; then 1309 2132 ac_aux_dir=$ac_dir 1310 2133 ac_install_sh="$ac_aux_dir/install-sh -c" 1311 2134 break 1312 elif test -f $ac_dir/install.sh; then2135 elif test -f "$ac_dir/install.sh"; then 1313 2136 ac_aux_dir=$ac_dir 1314 2137 ac_install_sh="$ac_aux_dir/install.sh -c" 1315 2138 break 1316 elif test -f $ac_dir/shtool; then2139 elif test -f "$ac_dir/shtool"; then 1317 2140 ac_aux_dir=$ac_dir 1318 2141 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1321 2144 done 1322 2145 if test -z "$ac_aux_dir"; then 1323 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1324 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1325 { (exit 1); exit 1; }; } 1326 fi 1327 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1328 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1329 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2146 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2147 fi 2148 2149 # These three variables are undocumented and unsupported, 2150 # and are intended to be withdrawn in a future Autoconf release. 2151 # They can cause serious problems if a builder's source tree is in a directory 2152 # whose full name contains unusual characters. 2153 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2154 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2155 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2156 1330 2157 1331 2158 # Make sure we can run config.sub. 1332 $ac_config_sub sun4 >/dev/null 2>&1 || 1333 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1334 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1335 { (exit 1); exit 1; }; } 1336 1337 echo "$as_me:$LINENO: checking build system type" >&5 1338 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1339 if test "${ac_cv_build+set}" = set; then 1340 echo $ECHO_N "(cached) $ECHO_C" >&6 1341 else 1342 ac_cv_build_alias=$build_alias 1343 test -z "$ac_cv_build_alias" && 1344 ac_cv_build_alias=`$ac_config_guess` 1345 test -z "$ac_cv_build_alias" && 1346 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1347 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1348 { (exit 1); exit 1; }; } 1349 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1350 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1351 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1352 { (exit 1); exit 1; }; } 1353 1354 fi 1355 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1356 echo "${ECHO_T}$ac_cv_build" >&6 2159 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2160 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2161 2162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2163 $as_echo_n "checking build system type... " >&6; } 2164 if ${ac_cv_build+:} false; then : 2165 $as_echo_n "(cached) " >&6 2166 else 2167 ac_build_alias=$build_alias 2168 test "x$ac_build_alias" = x && 2169 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2170 test "x$ac_build_alias" = x && 2171 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2172 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2173 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2174 2175 fi 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2177 $as_echo "$ac_cv_build" >&6; } 2178 case $ac_cv_build in 2179 *-*-*) ;; 2180 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2181 esac 1357 2182 build=$ac_cv_build 1358 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1359 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1360 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1361 1362 1363 echo "$as_me:$LINENO: checking host system type" >&5 1364 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1365 if test "${ac_cv_host+set}" = set; then 1366 echo $ECHO_N "(cached) $ECHO_C" >&6 1367 else 1368 ac_cv_host_alias=$host_alias 1369 test -z "$ac_cv_host_alias" && 1370 ac_cv_host_alias=$ac_cv_build_alias 1371 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1372 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1373 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1374 { (exit 1); exit 1; }; } 1375 1376 fi 1377 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1378 echo "${ECHO_T}$ac_cv_host" >&6 2183 ac_save_IFS=$IFS; IFS='-' 2184 set x $ac_cv_build 2185 shift 2186 build_cpu=$1 2187 build_vendor=$2 2188 shift; shift 2189 # Remember, the first character of IFS is used to create $*, 2190 # except with old shells: 2191 build_os=$* 2192 IFS=$ac_save_IFS 2193 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2194 2195 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2197 $as_echo_n "checking host system type... " >&6; } 2198 if ${ac_cv_host+:} false; then : 2199 $as_echo_n "(cached) " >&6 2200 else 2201 if test "x$host_alias" = x; then 2202 ac_cv_host=$ac_cv_build 2203 else 2204 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2205 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2206 fi 2207 2208 fi 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2210 $as_echo "$ac_cv_host" >&6; } 2211 case $ac_cv_host in 2212 *-*-*) ;; 2213 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2214 esac 1379 2215 host=$ac_cv_host 1380 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1381 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1382 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1383 1384 1385 echo "$as_me:$LINENO: checking target system type" >&5 1386 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1387 if test "${ac_cv_target+set}" = set; then 1388 echo $ECHO_N "(cached) $ECHO_C" >&6 1389 else 1390 ac_cv_target_alias=$target_alias 1391 test "x$ac_cv_target_alias" = "x" && 1392 ac_cv_target_alias=$ac_cv_host_alias 1393 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1394 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1395 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1396 { (exit 1); exit 1; }; } 1397 1398 fi 1399 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1400 echo "${ECHO_T}$ac_cv_target" >&6 2216 ac_save_IFS=$IFS; IFS='-' 2217 set x $ac_cv_host 2218 shift 2219 host_cpu=$1 2220 host_vendor=$2 2221 shift; shift 2222 # Remember, the first character of IFS is used to create $*, 2223 # except with old shells: 2224 host_os=$* 2225 IFS=$ac_save_IFS 2226 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2227 2228 2229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2230 $as_echo_n "checking target system type... " >&6; } 2231 if ${ac_cv_target+:} false; then : 2232 $as_echo_n "(cached) " >&6 2233 else 2234 if test "x$target_alias" = x; then 2235 ac_cv_target=$ac_cv_host 2236 else 2237 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2238 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2239 fi 2240 2241 fi 2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2243 $as_echo "$ac_cv_target" >&6; } 2244 case $ac_cv_target in 2245 *-*-*) ;; 2246 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2247 esac 1401 2248 target=$ac_cv_target 1402 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1403 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1404 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2249 ac_save_IFS=$IFS; IFS='-' 2250 set x $ac_cv_target 2251 shift 2252 target_cpu=$1 2253 target_vendor=$2 2254 shift; shift 2255 # Remember, the first character of IFS is used to create $*, 2256 # except with old shells: 2257 target_os=$* 2258 IFS=$ac_save_IFS 2259 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1405 2260 1406 2261 … … 1411 2266 NONENONEs,x,x, && 1412 2267 program_prefix=${target_alias}- 2268 1413 2269 1414 2270 # TODO: allow the user to specify whether they want a debugging … … 1424 2280 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1425 2281 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1426 echo "$as_me:$LINENO: checking for $ac_word" >&51427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1428 if test "${ac_cv_prog_CC+set}" = set; then1429 echo $ECHO_N "(cached) $ECHO_C" >&62282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2283 $as_echo_n "checking for $ac_word... " >&6; } 2284 if ${ac_cv_prog_CC+:} false; then : 2285 $as_echo_n "(cached) " >&6 1430 2286 else 1431 2287 if test -n "$CC"; then … … 1437 2293 IFS=$as_save_IFS 1438 2294 test -z "$as_dir" && as_dir=. 1439 for ac_exec_ext in '' $ac_executable_extensions; do1440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2295 for ac_exec_ext in '' $ac_executable_extensions; do 2296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1441 2297 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1443 2299 break 2 1444 2300 fi 1445 2301 done 1446 done 2302 done 2303 IFS=$as_save_IFS 1447 2304 1448 2305 fi … … 1450 2307 CC=$ac_cv_prog_CC 1451 2308 if test -n "$CC"; then 1452 echo "$as_me:$LINENO: result: $CC" >&5 1453 echo "${ECHO_T}$CC" >&6 1454 else 1455 echo "$as_me:$LINENO: result: no" >&5 1456 echo "${ECHO_T}no" >&6 1457 fi 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2310 $as_echo "$CC" >&6; } 2311 else 2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2313 $as_echo "no" >&6; } 2314 fi 2315 1458 2316 1459 2317 fi … … 1462 2320 # Extract the first word of "gcc", so it can be a program name with args. 1463 2321 set dummy gcc; ac_word=$2 1464 echo "$as_me:$LINENO: checking for $ac_word" >&51465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1467 echo $ECHO_N "(cached) $ECHO_C" >&62322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2323 $as_echo_n "checking for $ac_word... " >&6; } 2324 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2325 $as_echo_n "(cached) " >&6 1468 2326 else 1469 2327 if test -n "$ac_ct_CC"; then … … 1475 2333 IFS=$as_save_IFS 1476 2334 test -z "$as_dir" && as_dir=. 1477 for ac_exec_ext in '' $ac_executable_extensions; do1478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2335 for ac_exec_ext in '' $ac_executable_extensions; do 2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1479 2337 ac_cv_prog_ac_ct_CC="gcc" 1480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1481 2339 break 2 1482 2340 fi 1483 2341 done 1484 done 2342 done 2343 IFS=$as_save_IFS 1485 2344 1486 2345 fi … … 1488 2347 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1489 2348 if test -n "$ac_ct_CC"; then 1490 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1491 echo "${ECHO_T}$ac_ct_CC" >&6 1492 else 1493 echo "$as_me:$LINENO: result: no" >&5 1494 echo "${ECHO_T}no" >&6 1495 fi 1496 1497 CC=$ac_ct_CC 2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2350 $as_echo "$ac_ct_CC" >&6; } 2351 else 2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2353 $as_echo "no" >&6; } 2354 fi 2355 2356 if test "x$ac_ct_CC" = x; then 2357 CC="" 2358 else 2359 case $cross_compiling:$ac_tool_warned in 2360 yes:) 2361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2363 ac_tool_warned=yes ;; 2364 esac 2365 CC=$ac_ct_CC 2366 fi 1498 2367 else 1499 2368 CC="$ac_cv_prog_CC" … … 1501 2370 1502 2371 if test -z "$CC"; then 1503 if test -n "$ac_tool_prefix"; then1504 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2372 if test -n "$ac_tool_prefix"; then 2373 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1505 2374 set dummy ${ac_tool_prefix}cc; ac_word=$2 1506 echo "$as_me:$LINENO: checking for $ac_word" >&51507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1508 if test "${ac_cv_prog_CC+set}" = set; then1509 echo $ECHO_N "(cached) $ECHO_C" >&62375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2376 $as_echo_n "checking for $ac_word... " >&6; } 2377 if ${ac_cv_prog_CC+:} false; then : 2378 $as_echo_n "(cached) " >&6 1510 2379 else 1511 2380 if test -n "$CC"; then … … 1517 2386 IFS=$as_save_IFS 1518 2387 test -z "$as_dir" && as_dir=. 1519 for ac_exec_ext in '' $ac_executable_extensions; do1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2388 for ac_exec_ext in '' $ac_executable_extensions; do 2389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1521 2390 ac_cv_prog_CC="${ac_tool_prefix}cc" 1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1523 2392 break 2 1524 2393 fi 1525 2394 done 1526 done 2395 done 2396 IFS=$as_save_IFS 1527 2397 1528 2398 fi … … 1530 2400 CC=$ac_cv_prog_CC 1531 2401 if test -n "$CC"; then 1532 echo "$as_me:$LINENO: result: $CC" >&5 1533 echo "${ECHO_T}$CC" >&6 1534 else 1535 echo "$as_me:$LINENO: result: no" >&5 1536 echo "${ECHO_T}no" >&6 1537 fi 1538 1539 fi 1540 if test -z "$ac_cv_prog_CC"; then 1541 ac_ct_CC=$CC 1542 # Extract the first word of "cc", so it can be a program name with args. 1543 set dummy cc; ac_word=$2 1544 echo "$as_me:$LINENO: checking for $ac_word" >&5 1545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1547 echo $ECHO_N "(cached) $ECHO_C" >&6 1548 else 1549 if test -n "$ac_ct_CC"; then 1550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1551 else 1552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1553 for as_dir in $PATH 1554 do 1555 IFS=$as_save_IFS 1556 test -z "$as_dir" && as_dir=. 1557 for ac_exec_ext in '' $ac_executable_extensions; do 1558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1559 ac_cv_prog_ac_ct_CC="cc" 1560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1561 break 2 2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2403 $as_echo "$CC" >&6; } 2404 else 2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2406 $as_echo "no" >&6; } 2407 fi 2408 2409 1562 2410 fi 1563 done1564 done1565 1566 fi1567 fi1568 ac_ct_CC=$ac_cv_prog_ac_ct_CC1569 if test -n "$ac_ct_CC"; then1570 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51571 echo "${ECHO_T}$ac_ct_CC" >&61572 else1573 echo "$as_me:$LINENO: result: no" >&51574 echo "${ECHO_T}no" >&61575 fi1576 1577 CC=$ac_ct_CC1578 else1579 CC="$ac_cv_prog_CC"1580 fi1581 1582 2411 fi 1583 2412 if test -z "$CC"; then 1584 2413 # Extract the first word of "cc", so it can be a program name with args. 1585 2414 set dummy cc; ac_word=$2 1586 echo "$as_me:$LINENO: checking for $ac_word" >&51587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1588 if test "${ac_cv_prog_CC+set}" = set; then1589 echo $ECHO_N "(cached) $ECHO_C" >&62415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2416 $as_echo_n "checking for $ac_word... " >&6; } 2417 if ${ac_cv_prog_CC+:} false; then : 2418 $as_echo_n "(cached) " >&6 1590 2419 else 1591 2420 if test -n "$CC"; then … … 1598 2427 IFS=$as_save_IFS 1599 2428 test -z "$as_dir" && as_dir=. 1600 for ac_exec_ext in '' $ac_executable_extensions; do1601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2429 for ac_exec_ext in '' $ac_executable_extensions; do 2430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1602 2431 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1603 2432 ac_prog_rejected=yes … … 1605 2434 fi 1606 2435 ac_cv_prog_CC="cc" 1607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1608 2437 break 2 1609 2438 fi 1610 2439 done 1611 done 2440 done 2441 IFS=$as_save_IFS 1612 2442 1613 2443 if test $ac_prog_rejected = yes; then … … 1627 2457 CC=$ac_cv_prog_CC 1628 2458 if test -n "$CC"; then 1629 echo "$as_me:$LINENO: result: $CC" >&5 1630 echo "${ECHO_T}$CC" >&6 1631 else 1632 echo "$as_me:$LINENO: result: no" >&5 1633 echo "${ECHO_T}no" >&6 1634 fi 2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2460 $as_echo "$CC" >&6; } 2461 else 2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2463 $as_echo "no" >&6; } 2464 fi 2465 1635 2466 1636 2467 fi 1637 2468 if test -z "$CC"; then 1638 2469 if test -n "$ac_tool_prefix"; then 1639 for ac_prog in cl 2470 for ac_prog in cl.exe 1640 2471 do 1641 2472 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1642 2473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1643 echo "$as_me:$LINENO: checking for $ac_word" >&51644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1645 if test "${ac_cv_prog_CC+set}" = set; then1646 echo $ECHO_N "(cached) $ECHO_C" >&62474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2475 $as_echo_n "checking for $ac_word... " >&6; } 2476 if ${ac_cv_prog_CC+:} false; then : 2477 $as_echo_n "(cached) " >&6 1647 2478 else 1648 2479 if test -n "$CC"; then … … 1654 2485 IFS=$as_save_IFS 1655 2486 test -z "$as_dir" && as_dir=. 1656 for ac_exec_ext in '' $ac_executable_extensions; do1657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2487 for ac_exec_ext in '' $ac_executable_extensions; do 2488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1658 2489 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1660 2491 break 2 1661 2492 fi 1662 2493 done 1663 done 2494 done 2495 IFS=$as_save_IFS 1664 2496 1665 2497 fi … … 1667 2499 CC=$ac_cv_prog_CC 1668 2500 if test -n "$CC"; then 1669 echo "$as_me:$LINENO: result: $CC" >&5 1670 echo "${ECHO_T}$CC" >&6 1671 else 1672 echo "$as_me:$LINENO: result: no" >&5 1673 echo "${ECHO_T}no" >&6 1674 fi 2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2502 $as_echo "$CC" >&6; } 2503 else 2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2505 $as_echo "no" >&6; } 2506 fi 2507 1675 2508 1676 2509 test -n "$CC" && break … … 1679 2512 if test -z "$CC"; then 1680 2513 ac_ct_CC=$CC 1681 for ac_prog in cl 2514 for ac_prog in cl.exe 1682 2515 do 1683 2516 # Extract the first word of "$ac_prog", so it can be a program name with args. 1684 2517 set dummy $ac_prog; ac_word=$2 1685 echo "$as_me:$LINENO: checking for $ac_word" >&51686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1688 echo $ECHO_N "(cached) $ECHO_C" >&62518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2519 $as_echo_n "checking for $ac_word... " >&6; } 2520 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2521 $as_echo_n "(cached) " >&6 1689 2522 else 1690 2523 if test -n "$ac_ct_CC"; then … … 1696 2529 IFS=$as_save_IFS 1697 2530 test -z "$as_dir" && as_dir=. 1698 for ac_exec_ext in '' $ac_executable_extensions; do1699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2531 for ac_exec_ext in '' $ac_executable_extensions; do 2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1700 2533 ac_cv_prog_ac_ct_CC="$ac_prog" 1701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1702 2535 break 2 1703 2536 fi 1704 2537 done 1705 done 2538 done 2539 IFS=$as_save_IFS 1706 2540 1707 2541 fi … … 1709 2543 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1710 2544 if test -n "$ac_ct_CC"; then 1711 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1712 echo "${ECHO_T}$ac_ct_CC" >&6 1713 else 1714 echo "$as_me:$LINENO: result: no" >&5 1715 echo "${ECHO_T}no" >&6 1716 fi 2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2546 $as_echo "$ac_ct_CC" >&6; } 2547 else 2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2549 $as_echo "no" >&6; } 2550 fi 2551 1717 2552 1718 2553 test -n "$ac_ct_CC" && break 1719 2554 done 1720 2555 1721 CC=$ac_ct_CC 1722 fi 1723 1724 fi 1725 1726 1727 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1728 See \`config.log' for more details." >&5 1729 echo "$as_me: error: no acceptable C compiler found in \$PATH 1730 See \`config.log' for more details." >&2;} 1731 { (exit 1); exit 1; }; } 2556 if test "x$ac_ct_CC" = x; then 2557 CC="" 2558 else 2559 case $cross_compiling:$ac_tool_warned in 2560 yes:) 2561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2563 ac_tool_warned=yes ;; 2564 esac 2565 CC=$ac_ct_CC 2566 fi 2567 fi 2568 2569 fi 2570 2571 2572 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2574 as_fn_error $? "no acceptable C compiler found in \$PATH 2575 See \`config.log' for more details" "$LINENO" 5; } 1732 2576 1733 2577 # Provide some information about the compiler. 1734 echo "$as_me:$LINENO:" \ 1735 "checking for C compiler version" >&5 1736 ac_compiler=`set X $ac_compile; echo $2` 1737 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1738 (eval $ac_compiler --version </dev/null >&5) 2>&5 2578 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2579 set X $ac_compile 2580 ac_compiler=$2 2581 for ac_option in --version -v -V -qversion; do 2582 { { ac_try="$ac_compiler $ac_option >&5" 2583 case "(($ac_try" in 2584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2585 *) ac_try_echo=$ac_try;; 2586 esac 2587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2588 $as_echo "$ac_try_echo"; } >&5 2589 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1739 2590 ac_status=$? 1740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1741 (exit $ac_status); } 1742 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1743 (eval $ac_compiler -v </dev/null >&5) 2>&5 1744 ac_status=$? 1745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1746 (exit $ac_status); } 1747 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1748 (eval $ac_compiler -V </dev/null >&5) 2>&5 1749 ac_status=$? 1750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1751 (exit $ac_status); } 1752 1753 cat >conftest.$ac_ext <<_ACEOF 1754 /* confdefs.h. */ 1755 _ACEOF 1756 cat confdefs.h >>conftest.$ac_ext 1757 cat >>conftest.$ac_ext <<_ACEOF 2591 if test -s conftest.err; then 2592 sed '10a\ 2593 ... rest of stderr output deleted ... 2594 10q' conftest.err >conftest.er1 2595 cat conftest.er1 >&5 2596 fi 2597 rm -f conftest.er1 conftest.err 2598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2599 test $ac_status = 0; } 2600 done 2601 2602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1758 2603 /* end confdefs.h. */ 1759 2604 … … 1767 2612 _ACEOF 1768 2613 ac_clean_files_save=$ac_clean_files 1769 ac_clean_files="$ac_clean_files a.out a. exe b.out"2614 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1770 2615 # Try to create an executable without -o first, disregard a.out. 1771 2616 # It will help us diagnose broken compilers, and finding out an intuition 1772 2617 # of exeext. 1773 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1774 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1775 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1776 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1777 (eval $ac_link_default) 2>&5 2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2619 $as_echo_n "checking whether the C compiler works... " >&6; } 2620 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2621 2622 # The possible output files: 2623 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2624 2625 ac_rmfiles= 2626 for ac_file in $ac_files 2627 do 2628 case $ac_file in 2629 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2630 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2631 esac 2632 done 2633 rm -f $ac_rmfiles 2634 2635 if { { ac_try="$ac_link_default" 2636 case "(($ac_try" in 2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2638 *) ac_try_echo=$ac_try;; 2639 esac 2640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2641 $as_echo "$ac_try_echo"; } >&5 2642 (eval "$ac_link_default") 2>&5 1778 2643 ac_status=$? 1779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1780 (exit $ac_status); }; then 1781 # Find the output, starting from the most likely. This scheme is 1782 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1783 # resort. 1784 1785 # Be careful to initialize this variable, since it used to be cached. 1786 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1787 ac_cv_exeext= 1788 # b.out is created by i960 compilers. 1789 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2645 test $ac_status = 0; }; then : 2646 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2647 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2648 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2649 # so that the user can short-circuit this test for compilers unknown to 2650 # Autoconf. 2651 for ac_file in $ac_files '' 1790 2652 do 1791 2653 test -f "$ac_file" || continue 1792 2654 case $ac_file in 1793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1794 ;; 1795 conftest.$ac_ext ) 1796 # This is the source file. 2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1797 2656 ;; 1798 2657 [ab].out ) … … 1801 2660 break;; 1802 2661 *.* ) 1803 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1804 # FIXME: I believe we export ac_cv_exeext for Libtool, 1805 # but it would be cool to find out if it's true. Does anybody 1806 # maintain Libtool? --akim. 1807 export ac_cv_exeext 2662 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2663 then :; else 2664 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2665 fi 2666 # We set ac_cv_exeext here because the later test for it is not 2667 # safe: cross compilers may not add the suffix if given an `-o' 2668 # argument, so we may need to know it at that point already. 2669 # Even if this section looks crufty: it has the advantage of 2670 # actually working. 1808 2671 break;; 1809 2672 * ) … … 1811 2674 esac 1812 2675 done 1813 else 1814 echo "$as_me: failed program was:" >&5 2676 test "$ac_cv_exeext" = no && ac_cv_exeext= 2677 2678 else 2679 ac_file='' 2680 fi 2681 if test -z "$ac_file"; then : 2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2683 $as_echo "no" >&6; } 2684 $as_echo "$as_me: failed program was:" >&5 1815 2685 sed 's/^/| /' conftest.$ac_ext >&5 1816 2686 1817 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1818 See \`config.log' for more details." >&5 1819 echo "$as_me: error: C compiler cannot create executables 1820 See \`config.log' for more details." >&2;} 1821 { (exit 77); exit 77; }; } 1822 fi 1823 2687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2689 as_fn_error 77 "C compiler cannot create executables 2690 See \`config.log' for more details" "$LINENO" 5; } 2691 else 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2693 $as_echo "yes" >&6; } 2694 fi 2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2696 $as_echo_n "checking for C compiler default output file name... " >&6; } 2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2698 $as_echo "$ac_file" >&6; } 1824 2699 ac_exeext=$ac_cv_exeext 1825 echo "$as_me:$LINENO: result: $ac_file" >&5 1826 echo "${ECHO_T}$ac_file" >&6 1827 1828 # Check the compiler produces executables we can run. If not, either 1829 # the compiler is broken, or we cross compile. 1830 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1831 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1832 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1833 # If not cross compiling, check that we can run a simple program. 1834 if test "$cross_compiling" != yes; then 1835 if { ac_try='./$ac_file' 1836 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&51837 (eval $ac_try) 2>&52700 2701 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2702 ac_clean_files=$ac_clean_files_save 2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2704 $as_echo_n "checking for suffix of executables... " >&6; } 2705 if { { ac_try="$ac_link" 2706 case "(($ac_try" in 2707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2708 *) ac_try_echo=$ac_try;; 2709 esac 2710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2711 $as_echo "$ac_try_echo"; } >&5 2712 (eval "$ac_link") 2>&5 1838 2713 ac_status=$? 1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1840 (exit $ac_status); }; }; then 1841 cross_compiling=no 1842 else 1843 if test "$cross_compiling" = maybe; then 1844 cross_compiling=yes 1845 else 1846 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1847 If you meant to cross compile, use \`--host'. 1848 See \`config.log' for more details." >&5 1849 echo "$as_me: error: cannot run C compiled programs. 1850 If you meant to cross compile, use \`--host'. 1851 See \`config.log' for more details." >&2;} 1852 { (exit 1); exit 1; }; } 1853 fi 1854 fi 1855 fi 1856 echo "$as_me:$LINENO: result: yes" >&5 1857 echo "${ECHO_T}yes" >&6 1858 1859 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1860 ac_clean_files=$ac_clean_files_save 1861 # Check the compiler produces executables we can run. If not, either 1862 # the compiler is broken, or we cross compile. 1863 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1864 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1865 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1866 echo "${ECHO_T}$cross_compiling" >&6 1867 1868 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1869 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1871 (eval $ac_link) 2>&5 1872 ac_status=$? 1873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1874 (exit $ac_status); }; then 2714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2715 test $ac_status = 0; }; then : 1875 2716 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1876 2717 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 1880 2721 test -f "$ac_file" || continue 1881 2722 case $ac_file in 1882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1883 2724 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1884 export ac_cv_exeext1885 2725 break;; 1886 2726 * ) break;; … … 1888 2728 done 1889 2729 else 1890 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1891 See \`config.log' for more details." >&5 1892 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1893 See \`config.log' for more details." >&2;} 1894 { (exit 1); exit 1; }; } 1895 fi 1896 1897 rm -f conftest$ac_cv_exeext 1898 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1899 echo "${ECHO_T}$ac_cv_exeext" >&6 2730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2732 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2733 See \`config.log' for more details" "$LINENO" 5; } 2734 fi 2735 rm -f conftest conftest$ac_cv_exeext 2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2737 $as_echo "$ac_cv_exeext" >&6; } 1900 2738 1901 2739 rm -f conftest.$ac_ext 1902 2740 EXEEXT=$ac_cv_exeext 1903 2741 ac_exeext=$EXEEXT 1904 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1905 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1906 if test "${ac_cv_objext+set}" = set; then 1907 echo $ECHO_N "(cached) $ECHO_C" >&6 1908 else 1909 cat >conftest.$ac_ext <<_ACEOF 1910 /* confdefs.h. */ 1911 _ACEOF 1912 cat confdefs.h >>conftest.$ac_ext 1913 cat >>conftest.$ac_ext <<_ACEOF 2742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1914 2743 /* end confdefs.h. */ 1915 2744 #include <stdio.h> 1916 2745 int 1917 2746 main () 1918 2747 { 2748 FILE *f = fopen ("conftest.out", "w"); 2749 return ferror (f) || fclose (f) != 0; 1919 2750 1920 2751 ; … … 1922 2753 } 1923 2754 _ACEOF 2755 ac_clean_files="$ac_clean_files conftest.out" 2756 # Check that the compiler produces executables we can run. If not, either 2757 # the compiler is broken, or we cross compile. 2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2759 $as_echo_n "checking whether we are cross compiling... " >&6; } 2760 if test "$cross_compiling" != yes; then 2761 { { ac_try="$ac_link" 2762 case "(($ac_try" in 2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2764 *) ac_try_echo=$ac_try;; 2765 esac 2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2767 $as_echo "$ac_try_echo"; } >&5 2768 (eval "$ac_link") 2>&5 2769 ac_status=$? 2770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2771 test $ac_status = 0; } 2772 if { ac_try='./conftest$ac_cv_exeext' 2773 { { case "(($ac_try" in 2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2775 *) ac_try_echo=$ac_try;; 2776 esac 2777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2778 $as_echo "$ac_try_echo"; } >&5 2779 (eval "$ac_try") 2>&5 2780 ac_status=$? 2781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2782 test $ac_status = 0; }; }; then 2783 cross_compiling=no 2784 else 2785 if test "$cross_compiling" = maybe; then 2786 cross_compiling=yes 2787 else 2788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2790 as_fn_error $? "cannot run C compiled programs. 2791 If you meant to cross compile, use \`--host'. 2792 See \`config.log' for more details" "$LINENO" 5; } 2793 fi 2794 fi 2795 fi 2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2797 $as_echo "$cross_compiling" >&6; } 2798 2799 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2800 ac_clean_files=$ac_clean_files_save 2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2802 $as_echo_n "checking for suffix of object files... " >&6; } 2803 if ${ac_cv_objext+:} false; then : 2804 $as_echo_n "(cached) " >&6 2805 else 2806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2807 /* end confdefs.h. */ 2808 2809 int 2810 main () 2811 { 2812 2813 ; 2814 return 0; 2815 } 2816 _ACEOF 1924 2817 rm -f conftest.o conftest.obj 1925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1926 (eval $ac_compile) 2>&5 2818 if { { ac_try="$ac_compile" 2819 case "(($ac_try" in 2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2821 *) ac_try_echo=$ac_try;; 2822 esac 2823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2824 $as_echo "$ac_try_echo"; } >&5 2825 (eval "$ac_compile") 2>&5 1927 2826 ac_status=$? 1928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1929 (exit $ac_status); }; then 1930 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2828 test $ac_status = 0; }; then : 2829 for ac_file in conftest.o conftest.obj conftest.*; do 2830 test -f "$ac_file" || continue; 1931 2831 case $ac_file in 1932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 1933 2833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1934 2834 break;; … … 1936 2836 done 1937 2837 else 1938 echo "$as_me: failed program was:" >&52838 $as_echo "$as_me: failed program was:" >&5 1939 2839 sed 's/^/| /' conftest.$ac_ext >&5 1940 2840 1941 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1942 See \`config.log' for more details." >&5 1943 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1944 See \`config.log' for more details." >&2;} 1945 { (exit 1); exit 1; }; } 1946 fi 1947 2841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2843 as_fn_error $? "cannot compute suffix of object files: cannot compile 2844 See \`config.log' for more details" "$LINENO" 5; } 2845 fi 1948 2846 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1949 2847 fi 1950 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51951 echo "${ECHO_T}$ac_cv_objext" >&6 2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2849 $as_echo "$ac_cv_objext" >&6; } 1952 2850 OBJEXT=$ac_cv_objext 1953 2851 ac_objext=$OBJEXT 1954 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1955 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1956 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1957 echo $ECHO_N "(cached) $ECHO_C" >&6 1958 else 1959 cat >conftest.$ac_ext <<_ACEOF 1960 /* confdefs.h. */ 1961 _ACEOF 1962 cat confdefs.h >>conftest.$ac_ext 1963 cat >>conftest.$ac_ext <<_ACEOF 2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2853 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2854 if ${ac_cv_c_compiler_gnu+:} false; then : 2855 $as_echo_n "(cached) " >&6 2856 else 2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1964 2858 /* end confdefs.h. */ 1965 2859 … … 1975 2869 } 1976 2870 _ACEOF 1977 rm -f conftest.$ac_objext 1978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1979 (eval $ac_compile) 2>conftest.er1 1980 ac_status=$? 1981 grep -v '^ *+' conftest.er1 >conftest.err 1982 rm -f conftest.er1 1983 cat conftest.err >&5 1984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1985 (exit $ac_status); } && 1986 { ac_try='test -z "$ac_c_werror_flag" 1987 || test ! -s conftest.err' 1988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1989 (eval $ac_try) 2>&5 1990 ac_status=$? 1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1992 (exit $ac_status); }; } && 1993 { ac_try='test -s conftest.$ac_objext' 1994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1995 (eval $ac_try) 2>&5 1996 ac_status=$? 1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1998 (exit $ac_status); }; }; then 2871 if ac_fn_c_try_compile "$LINENO"; then : 1999 2872 ac_compiler_gnu=yes 2000 2873 else 2001 echo "$as_me: failed program was:" >&5 2002 sed 's/^/| /' conftest.$ac_ext >&5 2003 2004 ac_compiler_gnu=no 2005 fi 2006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2874 ac_compiler_gnu=no 2875 fi 2876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2007 2877 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2008 2878 2009 2879 fi 2010 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2011 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2012 GCC=`test $ac_compiler_gnu = yes && echo yes` 2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2881 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2882 if test $ac_compiler_gnu = yes; then 2883 GCC=yes 2884 else 2885 GCC= 2886 fi 2013 2887 ac_test_CFLAGS=${CFLAGS+set} 2014 2888 ac_save_CFLAGS=$CFLAGS 2015 CFLAGS="-g" 2016 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2017 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2018 if test "${ac_cv_prog_cc_g+set}" = set; then 2019 echo $ECHO_N "(cached) $ECHO_C" >&6 2020 else 2021 cat >conftest.$ac_ext <<_ACEOF 2022 /* confdefs.h. */ 2023 _ACEOF 2024 cat confdefs.h >>conftest.$ac_ext 2025 cat >>conftest.$ac_ext <<_ACEOF 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2890 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2891 if ${ac_cv_prog_cc_g+:} false; then : 2892 $as_echo_n "(cached) " >&6 2893 else 2894 ac_save_c_werror_flag=$ac_c_werror_flag 2895 ac_c_werror_flag=yes 2896 ac_cv_prog_cc_g=no 2897 CFLAGS="-g" 2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2026 2899 /* end confdefs.h. */ 2027 2900 … … 2034 2907 } 2035 2908 _ACEOF 2036 rm -f conftest.$ac_objext 2037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2038 (eval $ac_compile) 2>conftest.er1 2039 ac_status=$? 2040 grep -v '^ *+' conftest.er1 >conftest.err 2041 rm -f conftest.er1 2042 cat conftest.err >&5 2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2044 (exit $ac_status); } && 2045 { ac_try='test -z "$ac_c_werror_flag" 2046 || test ! -s conftest.err' 2047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2048 (eval $ac_try) 2>&5 2049 ac_status=$? 2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2051 (exit $ac_status); }; } && 2052 { ac_try='test -s conftest.$ac_objext' 2053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2054 (eval $ac_try) 2>&5 2055 ac_status=$? 2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2057 (exit $ac_status); }; }; then 2909 if ac_fn_c_try_compile "$LINENO"; then : 2058 2910 ac_cv_prog_cc_g=yes 2059 2911 else 2060 echo "$as_me: failed program was:" >&5 2061 sed 's/^/| /' conftest.$ac_ext >&5 2062 2063 ac_cv_prog_cc_g=no 2064 fi 2065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2066 fi 2067 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2912 CFLAGS="" 2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2914 /* end confdefs.h. */ 2915 2916 int 2917 main () 2918 { 2919 2920 ; 2921 return 0; 2922 } 2923 _ACEOF 2924 if ac_fn_c_try_compile "$LINENO"; then : 2925 2926 else 2927 ac_c_werror_flag=$ac_save_c_werror_flag 2928 CFLAGS="-g" 2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2930 /* end confdefs.h. */ 2931 2932 int 2933 main () 2934 { 2935 2936 ; 2937 return 0; 2938 } 2939 _ACEOF 2940 if ac_fn_c_try_compile "$LINENO"; then : 2941 ac_cv_prog_cc_g=yes 2942 fi 2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2944 fi 2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2946 fi 2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2948 ac_c_werror_flag=$ac_save_c_werror_flag 2949 fi 2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2951 $as_echo "$ac_cv_prog_cc_g" >&6; } 2069 2952 if test "$ac_test_CFLAGS" = set; then 2070 2953 CFLAGS=$ac_save_CFLAGS … … 2082 2965 fi 2083 2966 fi 2084 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52085 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2086 if test "${ac_cv_prog_cc_stdc+set}" = set; then2087 echo $ECHO_N "(cached) $ECHO_C" >&62088 else 2089 ac_cv_prog_cc_ stdc=no2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2968 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2969 if ${ac_cv_prog_cc_c89+:} false; then : 2970 $as_echo_n "(cached) " >&6 2971 else 2972 ac_cv_prog_cc_c89=no 2090 2973 ac_save_CC=$CC 2091 cat >conftest.$ac_ext <<_ACEOF 2092 /* confdefs.h. */ 2093 _ACEOF 2094 cat confdefs.h >>conftest.$ac_ext 2095 cat >>conftest.$ac_ext <<_ACEOF 2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2096 2975 /* end confdefs.h. */ 2097 2976 #include <stdarg.h> … … 2121 3000 function prototypes and stuff, but not '\xHH' hex character constants. 2122 3001 These don't provoke an error unfortunately, instead are silently treated 2123 as 'x'. The following induces an error, until -std 1is added to get3002 as 'x'. The following induces an error, until -std is added to get 2124 3003 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2125 3004 array size at least. It's necessary to write '\x00'==0 to get something 2126 that's true only with -std 1. */3005 that's true only with -std. */ 2127 3006 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3007 3008 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3009 inside strings and character constants. */ 3010 #define FOO(x) 'x' 3011 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2128 3012 2129 3013 int test (int i, double x); … … 2141 3025 } 2142 3026 _ACEOF 2143 # Don't try gcc -ansi; that turns off useful extensions and 2144 # breaks some systems' header files. 2145 # AIX -qlanglvl=ansi 2146 # Ultrix and OSF/1 -std1 2147 # HP-UX 10.20 and later -Ae 2148 # HP-UX older versions -Aa -D_HPUX_SOURCE 2149 # SVR4 -Xc -D__EXTENSIONS__ 2150 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3027 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3028 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2151 3029 do 2152 3030 CC="$ac_save_CC $ac_arg" 2153 rm -f conftest.$ac_objext 2154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2155 (eval $ac_compile) 2>conftest.er1 2156 ac_status=$? 2157 grep -v '^ *+' conftest.er1 >conftest.err 2158 rm -f conftest.er1 2159 cat conftest.err >&5 2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2161 (exit $ac_status); } && 2162 { ac_try='test -z "$ac_c_werror_flag" 2163 || test ! -s conftest.err' 2164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2165 (eval $ac_try) 2>&5 2166 ac_status=$? 2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2168 (exit $ac_status); }; } && 2169 { ac_try='test -s conftest.$ac_objext' 2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2171 (eval $ac_try) 2>&5 2172 ac_status=$? 2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2174 (exit $ac_status); }; }; then 2175 ac_cv_prog_cc_stdc=$ac_arg 2176 break 2177 else 2178 echo "$as_me: failed program was:" >&5 2179 sed 's/^/| /' conftest.$ac_ext >&5 2180 2181 fi 2182 rm -f conftest.err conftest.$ac_objext 3031 if ac_fn_c_try_compile "$LINENO"; then : 3032 ac_cv_prog_cc_c89=$ac_arg 3033 fi 3034 rm -f core conftest.err conftest.$ac_objext 3035 test "x$ac_cv_prog_cc_c89" != "xno" && break 2183 3036 done 2184 rm -f conftest.$ac_ext conftest.$ac_objext3037 rm -f conftest.$ac_ext 2185 3038 CC=$ac_save_CC 2186 3039 2187 3040 fi 2188 2189 case "x$ac_cv_prog_cc_stdc" in 2190 x|xno) 2191 echo "$as_me:$LINENO: result: none needed" >&5 2192 echo "${ECHO_T}none needed" >&6 ;; 3041 # AC_CACHE_VAL 3042 case "x$ac_cv_prog_cc_c89" in 3043 x) 3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3045 $as_echo "none needed" >&6; } ;; 3046 xno) 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3048 $as_echo "unsupported" >&6; } ;; 2193 3049 *) 2194 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52195 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2196 CC="$CC $ac_cv_prog_cc_stdc";;3050 CC="$CC $ac_cv_prog_cc_c89" 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3052 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2197 3053 esac 2198 2199 # Some people use a C++ compiler to compile C. Since we use `exit', 2200 # in C++ we need to declare it. In case someone uses the same compiler 2201 # for both compiling C and C++ we need to have the C++ compiler decide 2202 # the declaration of exit, since it's the most demanding environment. 2203 cat >conftest.$ac_ext <<_ACEOF 2204 #ifndef __cplusplus 2205 choke me 2206 #endif 2207 _ACEOF 2208 rm -f conftest.$ac_objext 2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2210 (eval $ac_compile) 2>conftest.er1 2211 ac_status=$? 2212 grep -v '^ *+' conftest.er1 >conftest.err 2213 rm -f conftest.er1 2214 cat conftest.err >&5 2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2216 (exit $ac_status); } && 2217 { ac_try='test -z "$ac_c_werror_flag" 2218 || test ! -s conftest.err' 2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2220 (eval $ac_try) 2>&5 2221 ac_status=$? 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2223 (exit $ac_status); }; } && 2224 { ac_try='test -s conftest.$ac_objext' 2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2226 (eval $ac_try) 2>&5 2227 ac_status=$? 2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2229 (exit $ac_status); }; }; then 2230 for ac_declaration in \ 2231 '' \ 2232 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2233 'extern "C" void std::exit (int); using std::exit;' \ 2234 'extern "C" void exit (int) throw ();' \ 2235 'extern "C" void exit (int);' \ 2236 'void exit (int);' 2237 do 2238 cat >conftest.$ac_ext <<_ACEOF 2239 /* confdefs.h. */ 2240 _ACEOF 2241 cat confdefs.h >>conftest.$ac_ext 2242 cat >>conftest.$ac_ext <<_ACEOF 2243 /* end confdefs.h. */ 2244 $ac_declaration 2245 #include <stdlib.h> 2246 int 2247 main () 2248 { 2249 exit (42); 2250 ; 2251 return 0; 2252 } 2253 _ACEOF 2254 rm -f conftest.$ac_objext 2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2256 (eval $ac_compile) 2>conftest.er1 2257 ac_status=$? 2258 grep -v '^ *+' conftest.er1 >conftest.err 2259 rm -f conftest.er1 2260 cat conftest.err >&5 2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2262 (exit $ac_status); } && 2263 { ac_try='test -z "$ac_c_werror_flag" 2264 || test ! -s conftest.err' 2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2266 (eval $ac_try) 2>&5 2267 ac_status=$? 2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 (exit $ac_status); }; } && 2270 { ac_try='test -s conftest.$ac_objext' 2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2272 (eval $ac_try) 2>&5 2273 ac_status=$? 2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2275 (exit $ac_status); }; }; then 2276 : 2277 else 2278 echo "$as_me: failed program was:" >&5 2279 sed 's/^/| /' conftest.$ac_ext >&5 2280 2281 continue 2282 fi 2283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2284 cat >conftest.$ac_ext <<_ACEOF 2285 /* confdefs.h. */ 2286 _ACEOF 2287 cat confdefs.h >>conftest.$ac_ext 2288 cat >>conftest.$ac_ext <<_ACEOF 2289 /* end confdefs.h. */ 2290 $ac_declaration 2291 int 2292 main () 2293 { 2294 exit (42); 2295 ; 2296 return 0; 2297 } 2298 _ACEOF 2299 rm -f conftest.$ac_objext 2300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2301 (eval $ac_compile) 2>conftest.er1 2302 ac_status=$? 2303 grep -v '^ *+' conftest.er1 >conftest.err 2304 rm -f conftest.er1 2305 cat conftest.err >&5 2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2307 (exit $ac_status); } && 2308 { ac_try='test -z "$ac_c_werror_flag" 2309 || test ! -s conftest.err' 2310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2311 (eval $ac_try) 2>&5 2312 ac_status=$? 2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2314 (exit $ac_status); }; } && 2315 { ac_try='test -s conftest.$ac_objext' 2316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2317 (eval $ac_try) 2>&5 2318 ac_status=$? 2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2320 (exit $ac_status); }; }; then 2321 break 2322 else 2323 echo "$as_me: failed program was:" >&5 2324 sed 's/^/| /' conftest.$ac_ext >&5 2325 2326 fi 2327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2328 done 2329 rm -f conftest* 2330 if test -n "$ac_declaration"; then 2331 echo '#ifdef __cplusplus' >>confdefs.h 2332 echo $ac_declaration >>confdefs.h 2333 echo '#endif' >>confdefs.h 2334 fi 2335 2336 else 2337 echo "$as_me: failed program was:" >&5 2338 sed 's/^/| /' conftest.$ac_ext >&5 2339 2340 fi 2341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3054 if test "x$ac_cv_prog_cc_c89" != xno; then : 3055 3056 fi 3057 2342 3058 ac_ext=c 2343 3059 ac_cpp='$CPP $CPPFLAGS' … … 2359 3075 # OS/2's system install, which has a completely different semantic 2360 3076 # ./install, which can be erroneously created by make from ./install.sh. 2361 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2362 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3077 # Reject install programs that cannot install multiple files. 3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3079 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2363 3080 if test -z "$INSTALL"; then 2364 if test "${ac_cv_path_install+set}" = set; then2365 echo $ECHO_N "(cached) $ECHO_C" >&63081 if ${ac_cv_path_install+:} false; then : 3082 $as_echo_n "(cached) " >&6 2366 3083 else 2367 3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2370 3087 IFS=$as_save_IFS 2371 3088 test -z "$as_dir" && as_dir=. 2372 # Account for people who put trailing slashes in PATH elements.2373 case $as_dir/ in 2374 ./ | .// | / cC/* | \3089 # Account for people who put trailing slashes in PATH elements. 3090 case $as_dir/ in #(( 3091 ./ | .// | /[cC]/* | \ 2375 3092 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2376 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3093 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2377 3094 /usr/ucb/* ) ;; 2378 3095 *) … … 2382 3099 for ac_prog in ginstall scoinst install; do 2383 3100 for ac_exec_ext in '' $ac_executable_extensions; do 2384 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3101 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2385 3102 if test $ac_prog = install && 2386 3103 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2392 3109 : 2393 3110 else 2394 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2395 break 3 3111 rm -rf conftest.one conftest.two conftest.dir 3112 echo one > conftest.one 3113 echo two > conftest.two 3114 mkdir conftest.dir 3115 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3116 test -s conftest.one && test -s conftest.two && 3117 test -s conftest.dir/conftest.one && 3118 test -s conftest.dir/conftest.two 3119 then 3120 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3121 break 3 3122 fi 2396 3123 fi 2397 3124 fi … … 2400 3127 ;; 2401 3128 esac 2402 done 2403 3129 3130 done 3131 IFS=$as_save_IFS 3132 3133 rm -rf conftest.one conftest.two conftest.dir 2404 3134 2405 3135 fi … … 2407 3137 INSTALL=$ac_cv_path_install 2408 3138 else 2409 # As a last resort, use the slow shell script. We don't cache a2410 # pathfor INSTALL within a source directory, because that will3139 # As a last resort, use the slow shell script. Don't cache a 3140 # value for INSTALL within a source directory, because that will 2411 3141 # break other packages using the cache if that directory is 2412 # removed, or if the path is relative.3142 # removed, or if the value is a relative name. 2413 3143 INSTALL=$ac_install_sh 2414 3144 fi 2415 3145 fi 2416 echo "$as_me:$LINENO: result: $INSTALL" >&52417 echo "${ECHO_T}$INSTALL" >&6 3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3147 $as_echo "$INSTALL" >&6; } 2418 3148 2419 3149 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2425 3155 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2426 3156 2427 echo "$as_me:$LINENO: checking whether ln -s works" >&52428 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3158 $as_echo_n "checking whether ln -s works... " >&6; } 2429 3159 LN_S=$as_ln_s 2430 3160 if test "$LN_S" = "ln -s"; then 2431 echo "$as_me:$LINENO: result: yes" >&52432 echo "${ECHO_T}yes" >&6 2433 else 2434 echo "$as_me:$LINENO: result: no, using $LN_S" >&52435 echo "${ECHO_T}no, using $LN_S" >&6 2436 fi 2437 2438 2439 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&52440 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3162 $as_echo "yes" >&6; } 3163 else 3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3165 $as_echo "no, using $LN_S" >&6; } 3166 fi 3167 3168 3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5 3170 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 2441 3171 arch_64bit=no 2442 3172 case "$host_cpu" in … … 2445 3175 2446 3176 if test "$arch_64bit" = yes; then 2447 echo "$as_me:$LINENO: result: yes" >&5 2448 echo "${ECHO_T}yes" >&6 2449 if test -z "$COMPAT32BITFLAGS" ; then 2450 COMPAT32BITFLAGS="-m32" 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3178 $as_echo "yes" >&6; } 3179 if test -z "$ARCH_DEP_FLAGS" ; then 3180 ARCH_DEP_FLAGS="-fPIC" 3181 gsdlarch='64' 2451 3182 fi 2452 3183 else 2453 echo "$as_me:$LINENO: result: no" >&5 2454 echo "${ECHO_T}no" >&6 2455 if test -z "$COMPAT32BITFLAGS" ; then 2456 COMPAT32BITFLAGS= 3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3185 $as_echo "no" >&6; } 3186 if test -z "$ARCH_DEP_FLAGS" ; then 3187 ARCH_DEP_FLAGS= 3188 gsdlarch='32' 2457 3189 fi 2458 3190 fi 2459 3191 2460 # Only need compat32bitflag if using MG or MGPP 2461 if test "$ENABLE_MG" = "0" ; then 2462 COMPAT32BITFLAGS= 2463 else 2464 if test "$ENABLE_MGPP" = "0" ; then 2465 COMPAT32BITFLAGS= 2466 fi 2467 fi 2468 2469 export COMPAT32BITFLAGS 2470 2471 3192 export ARCH_DEP_FLAGS 2472 3193 2473 3194 … … 2478 3199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2479 3200 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2480 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52481 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3202 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2482 3203 # On Suns, sometimes $CPP names a directory. 2483 3204 if test -n "$CPP" && test -d "$CPP"; then … … 2485 3206 fi 2486 3207 if test -z "$CPP"; then 2487 if test "${ac_cv_prog_CPP+set}" = set; then2488 echo $ECHO_N "(cached) $ECHO_C" >&63208 if ${ac_cv_prog_CPP+:} false; then : 3209 $as_echo_n "(cached) " >&6 2489 3210 else 2490 3211 # Double quotes because CPP needs to be expanded … … 2500 3221 # On the NeXT, cc -E runs the code through the compiler's parser, 2501 3222 # not just through cpp. "Syntax error" is here to catch this case. 2502 cat >conftest.$ac_ext <<_ACEOF 2503 /* confdefs.h. */ 2504 _ACEOF 2505 cat confdefs.h >>conftest.$ac_ext 2506 cat >>conftest.$ac_ext <<_ACEOF 3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2507 3224 /* end confdefs.h. */ 2508 3225 #ifdef __STDC__ … … 2513 3230 Syntax error 2514 3231 _ACEOF 2515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2517 ac_status=$? 2518 grep -v '^ *+' conftest.er1 >conftest.err 2519 rm -f conftest.er1 2520 cat conftest.err >&5 2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2522 (exit $ac_status); } >/dev/null; then 2523 if test -s conftest.err; then 2524 ac_cpp_err=$ac_c_preproc_warn_flag 2525 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2526 else 2527 ac_cpp_err= 2528 fi 2529 else 2530 ac_cpp_err=yes 2531 fi 2532 if test -z "$ac_cpp_err"; then 2533 : 2534 else 2535 echo "$as_me: failed program was:" >&5 2536 sed 's/^/| /' conftest.$ac_ext >&5 2537 3232 if ac_fn_c_try_cpp "$LINENO"; then : 3233 3234 else 2538 3235 # Broken: fails on valid input. 2539 3236 continue 2540 3237 fi 2541 rm -f conftest.err conftest. $ac_ext2542 2543 # OK, works on sane cases. Now check whether non -existent headers3238 rm -f conftest.err conftest.i conftest.$ac_ext 3239 3240 # OK, works on sane cases. Now check whether nonexistent headers 2544 3241 # can be detected and how. 2545 cat >conftest.$ac_ext <<_ACEOF 2546 /* confdefs.h. */ 2547 _ACEOF 2548 cat confdefs.h >>conftest.$ac_ext 2549 cat >>conftest.$ac_ext <<_ACEOF 3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2550 3243 /* end confdefs.h. */ 2551 3244 #include <ac_nonexistent.h> 2552 3245 _ACEOF 2553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2555 ac_status=$? 2556 grep -v '^ *+' conftest.er1 >conftest.err 2557 rm -f conftest.er1 2558 cat conftest.err >&5 2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2560 (exit $ac_status); } >/dev/null; then 2561 if test -s conftest.err; then 2562 ac_cpp_err=$ac_c_preproc_warn_flag 2563 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2564 else 2565 ac_cpp_err= 2566 fi 2567 else 2568 ac_cpp_err=yes 2569 fi 2570 if test -z "$ac_cpp_err"; then 3246 if ac_fn_c_try_cpp "$LINENO"; then : 2571 3247 # Broken: success on invalid input. 2572 3248 continue 2573 3249 else 2574 echo "$as_me: failed program was:" >&52575 sed 's/^/| /' conftest.$ac_ext >&52576 2577 3250 # Passes both tests. 2578 3251 ac_preproc_ok=: 2579 3252 break 2580 3253 fi 2581 rm -f conftest.err conftest. $ac_ext3254 rm -f conftest.err conftest.i conftest.$ac_ext 2582 3255 2583 3256 done 2584 3257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2585 rm -f conftest. err conftest.$ac_ext2586 if $ac_preproc_ok; then 3258 rm -f conftest.i conftest.err conftest.$ac_ext 3259 if $ac_preproc_ok; then : 2587 3260 break 2588 3261 fi … … 2596 3269 ac_cv_prog_CPP=$CPP 2597 3270 fi 2598 echo "$as_me:$LINENO: result: $CPP" >&52599 echo "${ECHO_T}$CPP" >&6 3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3272 $as_echo "$CPP" >&6; } 2600 3273 ac_preproc_ok=false 2601 3274 for ac_c_preproc_warn_flag in '' yes … … 2607 3280 # On the NeXT, cc -E runs the code through the compiler's parser, 2608 3281 # not just through cpp. "Syntax error" is here to catch this case. 2609 cat >conftest.$ac_ext <<_ACEOF 2610 /* confdefs.h. */ 2611 _ACEOF 2612 cat confdefs.h >>conftest.$ac_ext 2613 cat >>conftest.$ac_ext <<_ACEOF 3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2614 3283 /* end confdefs.h. */ 2615 3284 #ifdef __STDC__ … … 2620 3289 Syntax error 2621 3290 _ACEOF 2622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2624 ac_status=$? 2625 grep -v '^ *+' conftest.er1 >conftest.err 2626 rm -f conftest.er1 2627 cat conftest.err >&5 2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2629 (exit $ac_status); } >/dev/null; then 2630 if test -s conftest.err; then 2631 ac_cpp_err=$ac_c_preproc_warn_flag 2632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2633 else 2634 ac_cpp_err= 2635 fi 2636 else 2637 ac_cpp_err=yes 2638 fi 2639 if test -z "$ac_cpp_err"; then 2640 : 2641 else 2642 echo "$as_me: failed program was:" >&5 2643 sed 's/^/| /' conftest.$ac_ext >&5 2644 3291 if ac_fn_c_try_cpp "$LINENO"; then : 3292 3293 else 2645 3294 # Broken: fails on valid input. 2646 3295 continue 2647 3296 fi 2648 rm -f conftest.err conftest. $ac_ext2649 2650 # OK, works on sane cases. Now check whether non -existent headers3297 rm -f conftest.err conftest.i conftest.$ac_ext 3298 3299 # OK, works on sane cases. Now check whether nonexistent headers 2651 3300 # can be detected and how. 2652 cat >conftest.$ac_ext <<_ACEOF 2653 /* confdefs.h. */ 2654 _ACEOF 2655 cat confdefs.h >>conftest.$ac_ext 2656 cat >>conftest.$ac_ext <<_ACEOF 3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2657 3302 /* end confdefs.h. */ 2658 3303 #include <ac_nonexistent.h> 2659 3304 _ACEOF 2660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2662 ac_status=$? 2663 grep -v '^ *+' conftest.er1 >conftest.err 2664 rm -f conftest.er1 2665 cat conftest.err >&5 2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2667 (exit $ac_status); } >/dev/null; then 2668 if test -s conftest.err; then 2669 ac_cpp_err=$ac_c_preproc_warn_flag 2670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2671 else 2672 ac_cpp_err= 2673 fi 2674 else 2675 ac_cpp_err=yes 2676 fi 2677 if test -z "$ac_cpp_err"; then 3305 if ac_fn_c_try_cpp "$LINENO"; then : 2678 3306 # Broken: success on invalid input. 2679 3307 continue 2680 3308 else 2681 echo "$as_me: failed program was:" >&52682 sed 's/^/| /' conftest.$ac_ext >&52683 2684 3309 # Passes both tests. 2685 3310 ac_preproc_ok=: 2686 3311 break 2687 3312 fi 2688 rm -f conftest.err conftest. $ac_ext3313 rm -f conftest.err conftest.i conftest.$ac_ext 2689 3314 2690 3315 done 2691 3316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2692 rm -f conftest.err conftest.$ac_ext 2693 if $ac_preproc_ok; then 2694 : 2695 else 2696 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2697 See \`config.log' for more details." >&5 2698 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2699 See \`config.log' for more details." >&2;} 2700 { (exit 1); exit 1; }; } 3317 rm -f conftest.i conftest.err conftest.$ac_ext 3318 if $ac_preproc_ok; then : 3319 3320 else 3321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3323 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3324 See \`config.log' for more details" "$LINENO" 5; } 2701 3325 fi 2702 3326 … … 2708 3332 2709 3333 2710 echo "$as_me:$LINENO: checking for egrep" >&5 2711 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2712 if test "${ac_cv_prog_egrep+set}" = set; then 2713 echo $ECHO_N "(cached) $ECHO_C" >&6 2714 else 2715 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2716 then ac_cv_prog_egrep='grep -E' 2717 else ac_cv_prog_egrep='egrep' 3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3335 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3336 if ${ac_cv_path_GREP+:} false; then : 3337 $as_echo_n "(cached) " >&6 3338 else 3339 if test -z "$GREP"; then 3340 ac_path_GREP_found=false 3341 # Loop through the user's path and test for each of PROGNAME-LIST 3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3343 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3344 do 3345 IFS=$as_save_IFS 3346 test -z "$as_dir" && as_dir=. 3347 for ac_prog in grep ggrep; do 3348 for ac_exec_ext in '' $ac_executable_extensions; do 3349 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3350 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3351 # Check for GNU ac_path_GREP and select it if it is found. 3352 # Check for GNU $ac_path_GREP 3353 case `"$ac_path_GREP" --version 2>&1` in 3354 *GNU*) 3355 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3356 *) 3357 ac_count=0 3358 $as_echo_n 0123456789 >"conftest.in" 3359 while : 3360 do 3361 cat "conftest.in" "conftest.in" >"conftest.tmp" 3362 mv "conftest.tmp" "conftest.in" 3363 cp "conftest.in" "conftest.nl" 3364 $as_echo 'GREP' >> "conftest.nl" 3365 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3366 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3367 as_fn_arith $ac_count + 1 && ac_count=$as_val 3368 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3369 # Best one so far, save it but keep looking for a better one 3370 ac_cv_path_GREP="$ac_path_GREP" 3371 ac_path_GREP_max=$ac_count 2718 3372 fi 2719 fi 2720 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2721 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2722 EGREP=$ac_cv_prog_egrep 2723 2724 2725 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2726 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2727 if test "${ac_cv_header_stdc+set}" = set; then 2728 echo $ECHO_N "(cached) $ECHO_C" >&6 2729 else 2730 cat >conftest.$ac_ext <<_ACEOF 2731 /* confdefs.h. */ 2732 _ACEOF 2733 cat confdefs.h >>conftest.$ac_ext 2734 cat >>conftest.$ac_ext <<_ACEOF 3373 # 10*(2^10) chars as input seems more than enough 3374 test $ac_count -gt 10 && break 3375 done 3376 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3377 esac 3378 3379 $ac_path_GREP_found && break 3 3380 done 3381 done 3382 done 3383 IFS=$as_save_IFS 3384 if test -z "$ac_cv_path_GREP"; then 3385 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3386 fi 3387 else 3388 ac_cv_path_GREP=$GREP 3389 fi 3390 3391 fi 3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3393 $as_echo "$ac_cv_path_GREP" >&6; } 3394 GREP="$ac_cv_path_GREP" 3395 3396 3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3398 $as_echo_n "checking for egrep... " >&6; } 3399 if ${ac_cv_path_EGREP+:} false; then : 3400 $as_echo_n "(cached) " >&6 3401 else 3402 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3403 then ac_cv_path_EGREP="$GREP -E" 3404 else 3405 if test -z "$EGREP"; then 3406 ac_path_EGREP_found=false 3407 # Loop through the user's path and test for each of PROGNAME-LIST 3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3409 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3410 do 3411 IFS=$as_save_IFS 3412 test -z "$as_dir" && as_dir=. 3413 for ac_prog in egrep; do 3414 for ac_exec_ext in '' $ac_executable_extensions; do 3415 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3416 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3417 # Check for GNU ac_path_EGREP and select it if it is found. 3418 # Check for GNU $ac_path_EGREP 3419 case `"$ac_path_EGREP" --version 2>&1` in 3420 *GNU*) 3421 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3422 *) 3423 ac_count=0 3424 $as_echo_n 0123456789 >"conftest.in" 3425 while : 3426 do 3427 cat "conftest.in" "conftest.in" >"conftest.tmp" 3428 mv "conftest.tmp" "conftest.in" 3429 cp "conftest.in" "conftest.nl" 3430 $as_echo 'EGREP' >> "conftest.nl" 3431 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3432 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3433 as_fn_arith $ac_count + 1 && ac_count=$as_val 3434 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3435 # Best one so far, save it but keep looking for a better one 3436 ac_cv_path_EGREP="$ac_path_EGREP" 3437 ac_path_EGREP_max=$ac_count 3438 fi 3439 # 10*(2^10) chars as input seems more than enough 3440 test $ac_count -gt 10 && break 3441 done 3442 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3443 esac 3444 3445 $ac_path_EGREP_found && break 3 3446 done 3447 done 3448 done 3449 IFS=$as_save_IFS 3450 if test -z "$ac_cv_path_EGREP"; then 3451 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3452 fi 3453 else 3454 ac_cv_path_EGREP=$EGREP 3455 fi 3456 3457 fi 3458 fi 3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3460 $as_echo "$ac_cv_path_EGREP" >&6; } 3461 EGREP="$ac_cv_path_EGREP" 3462 3463 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3465 $as_echo_n "checking for ANSI C header files... " >&6; } 3466 if ${ac_cv_header_stdc+:} false; then : 3467 $as_echo_n "(cached) " >&6 3468 else 3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2735 3470 /* end confdefs.h. */ 2736 3471 #include <stdlib.h> … … 2747 3482 } 2748 3483 _ACEOF 2749 rm -f conftest.$ac_objext 2750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2751 (eval $ac_compile) 2>conftest.er1 2752 ac_status=$? 2753 grep -v '^ *+' conftest.er1 >conftest.err 2754 rm -f conftest.er1 2755 cat conftest.err >&5 2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2757 (exit $ac_status); } && 2758 { ac_try='test -z "$ac_c_werror_flag" 2759 || test ! -s conftest.err' 2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2761 (eval $ac_try) 2>&5 2762 ac_status=$? 2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764 (exit $ac_status); }; } && 2765 { ac_try='test -s conftest.$ac_objext' 2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2767 (eval $ac_try) 2>&5 2768 ac_status=$? 2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2770 (exit $ac_status); }; }; then 3484 if ac_fn_c_try_compile "$LINENO"; then : 2771 3485 ac_cv_header_stdc=yes 2772 3486 else 2773 echo "$as_me: failed program was:" >&5 2774 sed 's/^/| /' conftest.$ac_ext >&5 2775 2776 ac_cv_header_stdc=no 2777 fi 2778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3487 ac_cv_header_stdc=no 3488 fi 3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2779 3490 2780 3491 if test $ac_cv_header_stdc = yes; then 2781 3492 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2782 cat >conftest.$ac_ext <<_ACEOF 2783 /* confdefs.h. */ 2784 _ACEOF 2785 cat confdefs.h >>conftest.$ac_ext 2786 cat >>conftest.$ac_ext <<_ACEOF 3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2787 3494 /* end confdefs.h. */ 2788 3495 #include <string.h> … … 2790 3497 _ACEOF 2791 3498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2792 $EGREP "memchr" >/dev/null 2>&1; then 2793 : 3499 $EGREP "memchr" >/dev/null 2>&1; then : 3500 2794 3501 else 2795 3502 ac_cv_header_stdc=no … … 2801 3508 if test $ac_cv_header_stdc = yes; then 2802 3509 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2803 cat >conftest.$ac_ext <<_ACEOF 2804 /* confdefs.h. */ 2805 _ACEOF 2806 cat confdefs.h >>conftest.$ac_ext 2807 cat >>conftest.$ac_ext <<_ACEOF 3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2808 3511 /* end confdefs.h. */ 2809 3512 #include <stdlib.h> … … 2811 3514 _ACEOF 2812 3515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2813 $EGREP "free" >/dev/null 2>&1; then 2814 : 3516 $EGREP "free" >/dev/null 2>&1; then : 3517 2815 3518 else 2816 3519 ac_cv_header_stdc=no … … 2822 3525 if test $ac_cv_header_stdc = yes; then 2823 3526 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2824 if test "$cross_compiling" = yes; then 3527 if test "$cross_compiling" = yes; then : 2825 3528 : 2826 3529 else 2827 cat >conftest.$ac_ext <<_ACEOF 2828 /* confdefs.h. */ 2829 _ACEOF 2830 cat confdefs.h >>conftest.$ac_ext 2831 cat >>conftest.$ac_ext <<_ACEOF 3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2832 3531 /* end confdefs.h. */ 2833 3532 #include <ctype.h> 3533 #include <stdlib.h> 2834 3534 #if ((' ' & 0x0FF) == 0x020) 2835 3535 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 2851 3551 if (XOR (islower (i), ISLOWER (i)) 2852 3552 || toupper (i) != TOUPPER (i)) 2853 exit(2);2854 exit (0);3553 return 2; 3554 return 0; 2855 3555 } 2856 3556 _ACEOF 2857 rm -f conftest$ac_exeext 2858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2859 (eval $ac_link) 2>&5 2860 ac_status=$? 2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2864 (eval $ac_try) 2>&5 2865 ac_status=$? 2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2867 (exit $ac_status); }; }; then 2868 : 2869 else 2870 echo "$as_me: program exited with status $ac_status" >&5 2871 echo "$as_me: failed program was:" >&5 2872 sed 's/^/| /' conftest.$ac_ext >&5 2873 2874 ( exit $ac_status ) 2875 ac_cv_header_stdc=no 2876 fi 2877 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2878 fi 2879 fi 2880 fi 2881 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 2882 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3557 if ac_fn_c_try_run "$LINENO"; then : 3558 3559 else 3560 ac_cv_header_stdc=no 3561 fi 3562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3563 conftest.$ac_objext conftest.beam conftest.$ac_ext 3564 fi 3565 3566 fi 3567 fi 3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3569 $as_echo "$ac_cv_header_stdc" >&6; } 2883 3570 if test $ac_cv_header_stdc = yes; then 2884 3571 2885 cat >>confdefs.h <<\_ACEOF 2886 #define STDC_HEADERS 1 2887 _ACEOF 3572 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 2888 3573 2889 3574 fi 2890 3575 2891 3576 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 3577 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 2902 3578 inttypes.h stdint.h unistd.h 2903 do 2904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2905 echo "$as_me:$LINENO: checking for $ac_header" >&5 2906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2907 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2908 echo $ECHO_N "(cached) $ECHO_C" >&6 2909 else 2910 cat >conftest.$ac_ext <<_ACEOF 2911 /* confdefs.h. */ 2912 _ACEOF 2913 cat confdefs.h >>conftest.$ac_ext 2914 cat >>conftest.$ac_ext <<_ACEOF 2915 /* end confdefs.h. */ 2916 $ac_includes_default 2917 2918 #include <$ac_header> 2919 _ACEOF 2920 rm -f conftest.$ac_objext 2921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2922 (eval $ac_compile) 2>conftest.er1 2923 ac_status=$? 2924 grep -v '^ *+' conftest.er1 >conftest.err 2925 rm -f conftest.er1 2926 cat conftest.err >&5 2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2928 (exit $ac_status); } && 2929 { ac_try='test -z "$ac_c_werror_flag" 2930 || test ! -s conftest.err' 2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2932 (eval $ac_try) 2>&5 2933 ac_status=$? 2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2935 (exit $ac_status); }; } && 2936 { ac_try='test -s conftest.$ac_objext' 2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2938 (eval $ac_try) 2>&5 2939 ac_status=$? 2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2941 (exit $ac_status); }; }; then 2942 eval "$as_ac_Header=yes" 2943 else 2944 echo "$as_me: failed program was:" >&5 2945 sed 's/^/| /' conftest.$ac_ext >&5 2946 2947 eval "$as_ac_Header=no" 2948 fi 2949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2950 fi 2951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2953 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3579 do : 3580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3581 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3582 " 3583 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 2954 3584 cat >>confdefs.h <<_ACEOF 2955 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 13585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 2956 3586 _ACEOF 2957 3587 … … 2961 3591 2962 3592 2963 echo "$as_me:$LINENO: checking for void *" >&5 2964 echo $ECHO_N "checking for void *... $ECHO_C" >&6 2965 if test "${ac_cv_type_void_p+set}" = set; then 2966 echo $ECHO_N "(cached) $ECHO_C" >&6 2967 else 2968 cat >conftest.$ac_ext <<_ACEOF 2969 /* confdefs.h. */ 2970 _ACEOF 2971 cat confdefs.h >>conftest.$ac_ext 2972 cat >>conftest.$ac_ext <<_ACEOF 2973 /* end confdefs.h. */ 2974 $ac_includes_default 2975 int 2976 main () 2977 { 2978 if ((void * *) 0) 2979 return 0; 2980 if (sizeof (void *)) 2981 return 0; 2982 ; 2983 return 0; 2984 } 2985 _ACEOF 2986 rm -f conftest.$ac_objext 2987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2988 (eval $ac_compile) 2>conftest.er1 2989 ac_status=$? 2990 grep -v '^ *+' conftest.er1 >conftest.err 2991 rm -f conftest.er1 2992 cat conftest.err >&5 2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2994 (exit $ac_status); } && 2995 { ac_try='test -z "$ac_c_werror_flag" 2996 || test ! -s conftest.err' 2997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2998 (eval $ac_try) 2>&5 2999 ac_status=$? 3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3001 (exit $ac_status); }; } && 3002 { ac_try='test -s conftest.$ac_objext' 3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3004 (eval $ac_try) 2>&5 3005 ac_status=$? 3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3007 (exit $ac_status); }; }; then 3008 ac_cv_type_void_p=yes 3009 else 3010 echo "$as_me: failed program was:" >&5 3011 sed 's/^/| /' conftest.$ac_ext >&5 3012 3013 ac_cv_type_void_p=no 3014 fi 3015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3016 fi 3017 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5 3018 echo "${ECHO_T}$ac_cv_type_void_p" >&6 3019 3020 echo "$as_me:$LINENO: checking size of void *" >&5 3021 echo $ECHO_N "checking size of void *... $ECHO_C" >&6 3022 if test "${ac_cv_sizeof_void_p+set}" = set; then 3023 echo $ECHO_N "(cached) $ECHO_C" >&6 3593 # The cast to long int works around a bug in the HP C Compiler 3594 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 3595 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3596 # This bug is HP SR number 8606223364. 3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 3598 $as_echo_n "checking size of void *... " >&6; } 3599 if ${ac_cv_sizeof_void_p+:} false; then : 3600 $as_echo_n "(cached) " >&6 3601 else 3602 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 3603 3024 3604 else 3025 3605 if test "$ac_cv_type_void_p" = yes; then 3026 # The cast to unsigned long works around a bug in the HP C Compiler 3027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 3028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3029 # This bug is HP SR number 8606223364. 3030 if test "$cross_compiling" = yes; then 3031 # Depending upon the size, compute the lo and hi bounds. 3032 cat >conftest.$ac_ext <<_ACEOF 3033 /* confdefs.h. */ 3034 _ACEOF 3035 cat confdefs.h >>conftest.$ac_ext 3036 cat >>conftest.$ac_ext <<_ACEOF 3037 /* end confdefs.h. */ 3038 $ac_includes_default 3039 int 3040 main () 3041 { 3042 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)]; 3043 test_array [0] = 0 3044 3045 ; 3046 return 0; 3047 } 3048 _ACEOF 3049 rm -f conftest.$ac_objext 3050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3051 (eval $ac_compile) 2>conftest.er1 3052 ac_status=$? 3053 grep -v '^ *+' conftest.er1 >conftest.err 3054 rm -f conftest.er1 3055 cat conftest.err >&5 3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3057 (exit $ac_status); } && 3058 { ac_try='test -z "$ac_c_werror_flag" 3059 || test ! -s conftest.err' 3060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3061 (eval $ac_try) 2>&5 3062 ac_status=$? 3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3064 (exit $ac_status); }; } && 3065 { ac_try='test -s conftest.$ac_objext' 3066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3067 (eval $ac_try) 2>&5 3068 ac_status=$? 3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3070 (exit $ac_status); }; }; then 3071 ac_lo=0 ac_mid=0 3072 while :; do 3073 cat >conftest.$ac_ext <<_ACEOF 3074 /* confdefs.h. */ 3075 _ACEOF 3076 cat confdefs.h >>conftest.$ac_ext 3077 cat >>conftest.$ac_ext <<_ACEOF 3078 /* end confdefs.h. */ 3079 $ac_includes_default 3080 int 3081 main () 3082 { 3083 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; 3084 test_array [0] = 0 3085 3086 ; 3087 return 0; 3088 } 3089 _ACEOF 3090 rm -f conftest.$ac_objext 3091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3092 (eval $ac_compile) 2>conftest.er1 3093 ac_status=$? 3094 grep -v '^ *+' conftest.er1 >conftest.err 3095 rm -f conftest.er1 3096 cat conftest.err >&5 3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3098 (exit $ac_status); } && 3099 { ac_try='test -z "$ac_c_werror_flag" 3100 || test ! -s conftest.err' 3101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3102 (eval $ac_try) 2>&5 3103 ac_status=$? 3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3105 (exit $ac_status); }; } && 3106 { ac_try='test -s conftest.$ac_objext' 3107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3108 (eval $ac_try) 2>&5 3109 ac_status=$? 3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3111 (exit $ac_status); }; }; then 3112 ac_hi=$ac_mid; break 3113 else 3114 echo "$as_me: failed program was:" >&5 3115 sed 's/^/| /' conftest.$ac_ext >&5 3116 3117 ac_lo=`expr $ac_mid + 1` 3118 if test $ac_lo -le $ac_mid; then 3119 ac_lo= ac_hi= 3120 break 3121 fi 3122 ac_mid=`expr 2 '*' $ac_mid + 1` 3123 fi 3124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3125 done 3126 else 3127 echo "$as_me: failed program was:" >&5 3128 sed 's/^/| /' conftest.$ac_ext >&5 3129 3130 cat >conftest.$ac_ext <<_ACEOF 3131 /* confdefs.h. */ 3132 _ACEOF 3133 cat confdefs.h >>conftest.$ac_ext 3134 cat >>conftest.$ac_ext <<_ACEOF 3135 /* end confdefs.h. */ 3136 $ac_includes_default 3137 int 3138 main () 3139 { 3140 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)]; 3141 test_array [0] = 0 3142 3143 ; 3144 return 0; 3145 } 3146 _ACEOF 3147 rm -f conftest.$ac_objext 3148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3149 (eval $ac_compile) 2>conftest.er1 3150 ac_status=$? 3151 grep -v '^ *+' conftest.er1 >conftest.err 3152 rm -f conftest.er1 3153 cat conftest.err >&5 3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3155 (exit $ac_status); } && 3156 { ac_try='test -z "$ac_c_werror_flag" 3157 || test ! -s conftest.err' 3158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3159 (eval $ac_try) 2>&5 3160 ac_status=$? 3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3162 (exit $ac_status); }; } && 3163 { ac_try='test -s conftest.$ac_objext' 3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3165 (eval $ac_try) 2>&5 3166 ac_status=$? 3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3168 (exit $ac_status); }; }; then 3169 ac_hi=-1 ac_mid=-1 3170 while :; do 3171 cat >conftest.$ac_ext <<_ACEOF 3172 /* confdefs.h. */ 3173 _ACEOF 3174 cat confdefs.h >>conftest.$ac_ext 3175 cat >>conftest.$ac_ext <<_ACEOF 3176 /* end confdefs.h. */ 3177 $ac_includes_default 3178 int 3179 main () 3180 { 3181 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)]; 3182 test_array [0] = 0 3183 3184 ; 3185 return 0; 3186 } 3187 _ACEOF 3188 rm -f conftest.$ac_objext 3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3190 (eval $ac_compile) 2>conftest.er1 3191 ac_status=$? 3192 grep -v '^ *+' conftest.er1 >conftest.err 3193 rm -f conftest.er1 3194 cat conftest.err >&5 3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); } && 3197 { ac_try='test -z "$ac_c_werror_flag" 3198 || test ! -s conftest.err' 3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3200 (eval $ac_try) 2>&5 3201 ac_status=$? 3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3203 (exit $ac_status); }; } && 3204 { ac_try='test -s conftest.$ac_objext' 3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3206 (eval $ac_try) 2>&5 3207 ac_status=$? 3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3209 (exit $ac_status); }; }; then 3210 ac_lo=$ac_mid; break 3211 else 3212 echo "$as_me: failed program was:" >&5 3213 sed 's/^/| /' conftest.$ac_ext >&5 3214 3215 ac_hi=`expr '(' $ac_mid ')' - 1` 3216 if test $ac_mid -le $ac_hi; then 3217 ac_lo= ac_hi= 3218 break 3219 fi 3220 ac_mid=`expr 2 '*' $ac_mid` 3221 fi 3222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3223 done 3224 else 3225 echo "$as_me: failed program was:" >&5 3226 sed 's/^/| /' conftest.$ac_ext >&5 3227 3228 ac_lo= ac_hi= 3229 fi 3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3231 fi 3232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3233 # Binary search between lo and hi bounds. 3234 while test "x$ac_lo" != "x$ac_hi"; do 3235 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 3236 cat >conftest.$ac_ext <<_ACEOF 3237 /* confdefs.h. */ 3238 _ACEOF 3239 cat confdefs.h >>conftest.$ac_ext 3240 cat >>conftest.$ac_ext <<_ACEOF 3241 /* end confdefs.h. */ 3242 $ac_includes_default 3243 int 3244 main () 3245 { 3246 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; 3247 test_array [0] = 0 3248 3249 ; 3250 return 0; 3251 } 3252 _ACEOF 3253 rm -f conftest.$ac_objext 3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3255 (eval $ac_compile) 2>conftest.er1 3256 ac_status=$? 3257 grep -v '^ *+' conftest.er1 >conftest.err 3258 rm -f conftest.er1 3259 cat conftest.err >&5 3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3261 (exit $ac_status); } && 3262 { ac_try='test -z "$ac_c_werror_flag" 3263 || test ! -s conftest.err' 3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3265 (eval $ac_try) 2>&5 3266 ac_status=$? 3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3268 (exit $ac_status); }; } && 3269 { ac_try='test -s conftest.$ac_objext' 3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3271 (eval $ac_try) 2>&5 3272 ac_status=$? 3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3274 (exit $ac_status); }; }; then 3275 ac_hi=$ac_mid 3276 else 3277 echo "$as_me: failed program was:" >&5 3278 sed 's/^/| /' conftest.$ac_ext >&5 3279 3280 ac_lo=`expr '(' $ac_mid ')' + 1` 3281 fi 3282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3283 done 3284 case $ac_lo in 3285 ?*) ac_cv_sizeof_void_p=$ac_lo;; 3286 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 3287 See \`config.log' for more details." >&5 3288 echo "$as_me: error: cannot compute sizeof (void *), 77 3289 See \`config.log' for more details." >&2;} 3290 { (exit 1); exit 1; }; } ;; 3291 esac 3292 else 3293 if test "$cross_compiling" = yes; then 3294 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 3295 See \`config.log' for more details." >&5 3296 echo "$as_me: error: cannot run test program while cross compiling 3297 See \`config.log' for more details." >&2;} 3298 { (exit 1); exit 1; }; } 3299 else 3300 cat >conftest.$ac_ext <<_ACEOF 3301 /* confdefs.h. */ 3302 _ACEOF 3303 cat confdefs.h >>conftest.$ac_ext 3304 cat >>conftest.$ac_ext <<_ACEOF 3305 /* end confdefs.h. */ 3306 $ac_includes_default 3307 long longval () { return (long) (sizeof (void *)); } 3308 unsigned long ulongval () { return (long) (sizeof (void *)); } 3309 #include <stdio.h> 3310 #include <stdlib.h> 3311 int 3312 main () 3313 { 3314 3315 FILE *f = fopen ("conftest.val", "w"); 3316 if (! f) 3317 exit (1); 3318 if (((long) (sizeof (void *))) < 0) 3319 { 3320 long i = longval (); 3321 if (i != ((long) (sizeof (void *)))) 3322 exit (1); 3323 fprintf (f, "%ld\n", i); 3324 } 3325 else 3326 { 3327 unsigned long i = ulongval (); 3328 if (i != ((long) (sizeof (void *)))) 3329 exit (1); 3330 fprintf (f, "%lu\n", i); 3331 } 3332 exit (ferror (f) || fclose (f) != 0); 3333 3334 ; 3335 return 0; 3336 } 3337 _ACEOF 3338 rm -f conftest$ac_exeext 3339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3340 (eval $ac_link) 2>&5 3341 ac_status=$? 3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3343 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3345 (eval $ac_try) 2>&5 3346 ac_status=$? 3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3348 (exit $ac_status); }; }; then 3349 ac_cv_sizeof_void_p=`cat conftest.val` 3350 else 3351 echo "$as_me: program exited with status $ac_status" >&5 3352 echo "$as_me: failed program was:" >&5 3353 sed 's/^/| /' conftest.$ac_ext >&5 3354 3355 ( exit $ac_status ) 3356 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 3357 See \`config.log' for more details." >&5 3358 echo "$as_me: error: cannot compute sizeof (void *), 77 3359 See \`config.log' for more details." >&2;} 3360 { (exit 1); exit 1; }; } 3361 fi 3362 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3363 fi 3364 fi 3365 rm -f conftest.val 3366 else 3367 ac_cv_sizeof_void_p=0 3368 fi 3369 fi 3370 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 3371 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6 3606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3608 as_fn_error 77 "cannot compute sizeof (void *) 3609 See \`config.log' for more details" "$LINENO" 5; } 3610 else 3611 ac_cv_sizeof_void_p=0 3612 fi 3613 fi 3614 3615 fi 3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 3617 $as_echo "$ac_cv_sizeof_void_p" >&6; } 3618 3619 3620 3372 3621 cat >>confdefs.h <<_ACEOF 3373 3622 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p … … 3375 3624 3376 3625 3377 echo "$as_me:$LINENO: checking for int" >&5 3378 echo $ECHO_N "checking for int... $ECHO_C" >&6 3379 if test "${ac_cv_type_int+set}" = set; then 3380 echo $ECHO_N "(cached) $ECHO_C" >&6 3381 else 3382 cat >conftest.$ac_ext <<_ACEOF 3383 /* confdefs.h. */ 3384 _ACEOF 3385 cat confdefs.h >>conftest.$ac_ext 3386 cat >>conftest.$ac_ext <<_ACEOF 3387 /* end confdefs.h. */ 3388 $ac_includes_default 3389 int 3390 main () 3391 { 3392 if ((int *) 0) 3393 return 0; 3394 if (sizeof (int)) 3395 return 0; 3396 ; 3397 return 0; 3398 } 3399 _ACEOF 3400 rm -f conftest.$ac_objext 3401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3402 (eval $ac_compile) 2>conftest.er1 3403 ac_status=$? 3404 grep -v '^ *+' conftest.er1 >conftest.err 3405 rm -f conftest.er1 3406 cat conftest.err >&5 3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3408 (exit $ac_status); } && 3409 { ac_try='test -z "$ac_c_werror_flag" 3410 || test ! -s conftest.err' 3411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3412 (eval $ac_try) 2>&5 3413 ac_status=$? 3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3415 (exit $ac_status); }; } && 3416 { ac_try='test -s conftest.$ac_objext' 3417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3418 (eval $ac_try) 2>&5 3419 ac_status=$? 3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3421 (exit $ac_status); }; }; then 3422 ac_cv_type_int=yes 3423 else 3424 echo "$as_me: failed program was:" >&5 3425 sed 's/^/| /' conftest.$ac_ext >&5 3426 3427 ac_cv_type_int=no 3428 fi 3429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3430 fi 3431 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 3432 echo "${ECHO_T}$ac_cv_type_int" >&6 3433 3434 echo "$as_me:$LINENO: checking size of int" >&5 3435 echo $ECHO_N "checking size of int... $ECHO_C" >&6 3436 if test "${ac_cv_sizeof_int+set}" = set; then 3437 echo $ECHO_N "(cached) $ECHO_C" >&6 3626 # The cast to long int works around a bug in the HP C Compiler 3627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 3628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3629 # This bug is HP SR number 8606223364. 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 3631 $as_echo_n "checking size of int... " >&6; } 3632 if ${ac_cv_sizeof_int+:} false; then : 3633 $as_echo_n "(cached) " >&6 3634 else 3635 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 3636 3438 3637 else 3439 3638 if test "$ac_cv_type_int" = yes; then 3440 # The cast to unsigned long works around a bug in the HP C Compiler 3441 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 3442 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3443 # This bug is HP SR number 8606223364. 3444 if test "$cross_compiling" = yes; then 3445 # Depending upon the size, compute the lo and hi bounds. 3446 cat >conftest.$ac_ext <<_ACEOF 3447 /* confdefs.h. */ 3448 _ACEOF 3449 cat confdefs.h >>conftest.$ac_ext 3450 cat >>conftest.$ac_ext <<_ACEOF 3451 /* end confdefs.h. */ 3452 $ac_includes_default 3453 int 3454 main () 3455 { 3456 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; 3457 test_array [0] = 0 3458 3459 ; 3460 return 0; 3461 } 3462 _ACEOF 3463 rm -f conftest.$ac_objext 3464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3465 (eval $ac_compile) 2>conftest.er1 3466 ac_status=$? 3467 grep -v '^ *+' conftest.er1 >conftest.err 3468 rm -f conftest.er1 3469 cat conftest.err >&5 3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3471 (exit $ac_status); } && 3472 { ac_try='test -z "$ac_c_werror_flag" 3473 || test ! -s conftest.err' 3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3475 (eval $ac_try) 2>&5 3476 ac_status=$? 3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3478 (exit $ac_status); }; } && 3479 { ac_try='test -s conftest.$ac_objext' 3480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3481 (eval $ac_try) 2>&5 3482 ac_status=$? 3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3484 (exit $ac_status); }; }; then 3485 ac_lo=0 ac_mid=0 3486 while :; do 3487 cat >conftest.$ac_ext <<_ACEOF 3488 /* confdefs.h. */ 3489 _ACEOF 3490 cat confdefs.h >>conftest.$ac_ext 3491 cat >>conftest.$ac_ext <<_ACEOF 3492 /* end confdefs.h. */ 3493 $ac_includes_default 3494 int 3495 main () 3496 { 3497 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; 3498 test_array [0] = 0 3499 3500 ; 3501 return 0; 3502 } 3503 _ACEOF 3504 rm -f conftest.$ac_objext 3505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3506 (eval $ac_compile) 2>conftest.er1 3507 ac_status=$? 3508 grep -v '^ *+' conftest.er1 >conftest.err 3509 rm -f conftest.er1 3510 cat conftest.err >&5 3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3512 (exit $ac_status); } && 3513 { ac_try='test -z "$ac_c_werror_flag" 3514 || test ! -s conftest.err' 3515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3516 (eval $ac_try) 2>&5 3517 ac_status=$? 3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3519 (exit $ac_status); }; } && 3520 { ac_try='test -s conftest.$ac_objext' 3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3522 (eval $ac_try) 2>&5 3523 ac_status=$? 3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3525 (exit $ac_status); }; }; then 3526 ac_hi=$ac_mid; break 3527 else 3528 echo "$as_me: failed program was:" >&5 3529 sed 's/^/| /' conftest.$ac_ext >&5 3530 3531 ac_lo=`expr $ac_mid + 1` 3532 if test $ac_lo -le $ac_mid; then 3533 ac_lo= ac_hi= 3534 break 3535 fi 3536 ac_mid=`expr 2 '*' $ac_mid + 1` 3537 fi 3538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3539 done 3540 else 3541 echo "$as_me: failed program was:" >&5 3542 sed 's/^/| /' conftest.$ac_ext >&5 3543 3544 cat >conftest.$ac_ext <<_ACEOF 3545 /* confdefs.h. */ 3546 _ACEOF 3547 cat confdefs.h >>conftest.$ac_ext 3548 cat >>conftest.$ac_ext <<_ACEOF 3549 /* end confdefs.h. */ 3550 $ac_includes_default 3551 int 3552 main () 3553 { 3554 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; 3555 test_array [0] = 0 3556 3557 ; 3558 return 0; 3559 } 3560 _ACEOF 3561 rm -f conftest.$ac_objext 3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3563 (eval $ac_compile) 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); } && 3570 { ac_try='test -z "$ac_c_werror_flag" 3571 || test ! -s conftest.err' 3572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3573 (eval $ac_try) 2>&5 3574 ac_status=$? 3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3576 (exit $ac_status); }; } && 3577 { ac_try='test -s conftest.$ac_objext' 3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3579 (eval $ac_try) 2>&5 3580 ac_status=$? 3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3582 (exit $ac_status); }; }; then 3583 ac_hi=-1 ac_mid=-1 3584 while :; do 3585 cat >conftest.$ac_ext <<_ACEOF 3586 /* confdefs.h. */ 3587 _ACEOF 3588 cat confdefs.h >>conftest.$ac_ext 3589 cat >>conftest.$ac_ext <<_ACEOF 3590 /* end confdefs.h. */ 3591 $ac_includes_default 3592 int 3593 main () 3594 { 3595 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; 3596 test_array [0] = 0 3597 3598 ; 3599 return 0; 3600 } 3601 _ACEOF 3602 rm -f conftest.$ac_objext 3603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3604 (eval $ac_compile) 2>conftest.er1 3605 ac_status=$? 3606 grep -v '^ *+' conftest.er1 >conftest.err 3607 rm -f conftest.er1 3608 cat conftest.err >&5 3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3610 (exit $ac_status); } && 3611 { ac_try='test -z "$ac_c_werror_flag" 3612 || test ! -s conftest.err' 3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3614 (eval $ac_try) 2>&5 3615 ac_status=$? 3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3617 (exit $ac_status); }; } && 3618 { ac_try='test -s conftest.$ac_objext' 3619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3620 (eval $ac_try) 2>&5 3621 ac_status=$? 3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3623 (exit $ac_status); }; }; then 3624 ac_lo=$ac_mid; break 3625 else 3626 echo "$as_me: failed program was:" >&5 3627 sed 's/^/| /' conftest.$ac_ext >&5 3628 3629 ac_hi=`expr '(' $ac_mid ')' - 1` 3630 if test $ac_mid -le $ac_hi; then 3631 ac_lo= ac_hi= 3632 break 3633 fi 3634 ac_mid=`expr 2 '*' $ac_mid` 3635 fi 3636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3637 done 3638 else 3639 echo "$as_me: failed program was:" >&5 3640 sed 's/^/| /' conftest.$ac_ext >&5 3641 3642 ac_lo= ac_hi= 3643 fi 3644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3645 fi 3646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3647 # Binary search between lo and hi bounds. 3648 while test "x$ac_lo" != "x$ac_hi"; do 3649 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 3650 cat >conftest.$ac_ext <<_ACEOF 3651 /* confdefs.h. */ 3652 _ACEOF 3653 cat confdefs.h >>conftest.$ac_ext 3654 cat >>conftest.$ac_ext <<_ACEOF 3655 /* end confdefs.h. */ 3656 $ac_includes_default 3657 int 3658 main () 3659 { 3660 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; 3661 test_array [0] = 0 3662 3663 ; 3664 return 0; 3665 } 3666 _ACEOF 3667 rm -f conftest.$ac_objext 3668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3669 (eval $ac_compile) 2>conftest.er1 3670 ac_status=$? 3671 grep -v '^ *+' conftest.er1 >conftest.err 3672 rm -f conftest.er1 3673 cat conftest.err >&5 3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3675 (exit $ac_status); } && 3676 { ac_try='test -z "$ac_c_werror_flag" 3677 || test ! -s conftest.err' 3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3679 (eval $ac_try) 2>&5 3680 ac_status=$? 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3682 (exit $ac_status); }; } && 3683 { ac_try='test -s conftest.$ac_objext' 3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3685 (eval $ac_try) 2>&5 3686 ac_status=$? 3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3688 (exit $ac_status); }; }; then 3689 ac_hi=$ac_mid 3690 else 3691 echo "$as_me: failed program was:" >&5 3692 sed 's/^/| /' conftest.$ac_ext >&5 3693 3694 ac_lo=`expr '(' $ac_mid ')' + 1` 3695 fi 3696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3697 done 3698 case $ac_lo in 3699 ?*) ac_cv_sizeof_int=$ac_lo;; 3700 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 3701 See \`config.log' for more details." >&5 3702 echo "$as_me: error: cannot compute sizeof (int), 77 3703 See \`config.log' for more details." >&2;} 3704 { (exit 1); exit 1; }; } ;; 3705 esac 3706 else 3707 if test "$cross_compiling" = yes; then 3708 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 3709 See \`config.log' for more details." >&5 3710 echo "$as_me: error: cannot run test program while cross compiling 3711 See \`config.log' for more details." >&2;} 3712 { (exit 1); exit 1; }; } 3713 else 3714 cat >conftest.$ac_ext <<_ACEOF 3715 /* confdefs.h. */ 3716 _ACEOF 3717 cat confdefs.h >>conftest.$ac_ext 3718 cat >>conftest.$ac_ext <<_ACEOF 3719 /* end confdefs.h. */ 3720 $ac_includes_default 3721 long longval () { return (long) (sizeof (int)); } 3722 unsigned long ulongval () { return (long) (sizeof (int)); } 3723 #include <stdio.h> 3724 #include <stdlib.h> 3725 int 3726 main () 3727 { 3728 3729 FILE *f = fopen ("conftest.val", "w"); 3730 if (! f) 3731 exit (1); 3732 if (((long) (sizeof (int))) < 0) 3733 { 3734 long i = longval (); 3735 if (i != ((long) (sizeof (int)))) 3736 exit (1); 3737 fprintf (f, "%ld\n", i); 3738 } 3739 else 3740 { 3741 unsigned long i = ulongval (); 3742 if (i != ((long) (sizeof (int)))) 3743 exit (1); 3744 fprintf (f, "%lu\n", i); 3745 } 3746 exit (ferror (f) || fclose (f) != 0); 3747 3748 ; 3749 return 0; 3750 } 3751 _ACEOF 3752 rm -f conftest$ac_exeext 3753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3754 (eval $ac_link) 2>&5 3755 ac_status=$? 3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3757 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3759 (eval $ac_try) 2>&5 3760 ac_status=$? 3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3762 (exit $ac_status); }; }; then 3763 ac_cv_sizeof_int=`cat conftest.val` 3764 else 3765 echo "$as_me: program exited with status $ac_status" >&5 3766 echo "$as_me: failed program was:" >&5 3767 sed 's/^/| /' conftest.$ac_ext >&5 3768 3769 ( exit $ac_status ) 3770 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 3771 See \`config.log' for more details." >&5 3772 echo "$as_me: error: cannot compute sizeof (int), 77 3773 See \`config.log' for more details." >&2;} 3774 { (exit 1); exit 1; }; } 3775 fi 3776 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3777 fi 3778 fi 3779 rm -f conftest.val 3780 else 3781 ac_cv_sizeof_int=0 3782 fi 3783 fi 3784 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 3785 echo "${ECHO_T}$ac_cv_sizeof_int" >&6 3639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3641 as_fn_error 77 "cannot compute sizeof (int) 3642 See \`config.log' for more details" "$LINENO" 5; } 3643 else 3644 ac_cv_sizeof_int=0 3645 fi 3646 fi 3647 3648 fi 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 3650 $as_echo "$ac_cv_sizeof_int" >&6; } 3651 3652 3653 3786 3654 cat >>confdefs.h <<_ACEOF 3787 3655 #define SIZEOF_INT $ac_cv_sizeof_int … … 3789 3657 3790 3658 3791 echo "$as_me:$LINENO: checking for long" >&5 3792 echo $ECHO_N "checking for long... $ECHO_C" >&6 3793 if test "${ac_cv_type_long+set}" = set; then 3794 echo $ECHO_N "(cached) $ECHO_C" >&6 3795 else 3796 cat >conftest.$ac_ext <<_ACEOF 3797 /* confdefs.h. */ 3798 _ACEOF 3799 cat confdefs.h >>conftest.$ac_ext 3800 cat >>conftest.$ac_ext <<_ACEOF 3801 /* end confdefs.h. */ 3802 $ac_includes_default 3803 int 3804 main () 3805 { 3806 if ((long *) 0) 3807 return 0; 3808 if (sizeof (long)) 3809 return 0; 3810 ; 3811 return 0; 3812 } 3813 _ACEOF 3814 rm -f conftest.$ac_objext 3815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3816 (eval $ac_compile) 2>conftest.er1 3817 ac_status=$? 3818 grep -v '^ *+' conftest.er1 >conftest.err 3819 rm -f conftest.er1 3820 cat conftest.err >&5 3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3822 (exit $ac_status); } && 3823 { ac_try='test -z "$ac_c_werror_flag" 3824 || test ! -s conftest.err' 3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3826 (eval $ac_try) 2>&5 3827 ac_status=$? 3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3829 (exit $ac_status); }; } && 3830 { ac_try='test -s conftest.$ac_objext' 3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3832 (eval $ac_try) 2>&5 3833 ac_status=$? 3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3835 (exit $ac_status); }; }; then 3836 ac_cv_type_long=yes 3837 else 3838 echo "$as_me: failed program was:" >&5 3839 sed 's/^/| /' conftest.$ac_ext >&5 3840 3841 ac_cv_type_long=no 3842 fi 3843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3844 fi 3845 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 3846 echo "${ECHO_T}$ac_cv_type_long" >&6 3847 3848 echo "$as_me:$LINENO: checking size of long" >&5 3849 echo $ECHO_N "checking size of long... $ECHO_C" >&6 3850 if test "${ac_cv_sizeof_long+set}" = set; then 3851 echo $ECHO_N "(cached) $ECHO_C" >&6 3659 # The cast to long int works around a bug in the HP C Compiler 3660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 3661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3662 # This bug is HP SR number 8606223364. 3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 3664 $as_echo_n "checking size of long... " >&6; } 3665 if ${ac_cv_sizeof_long+:} false; then : 3666 $as_echo_n "(cached) " >&6 3667 else 3668 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 3669 3852 3670 else 3853 3671 if test "$ac_cv_type_long" = yes; then 3854 # The cast to unsigned long works around a bug in the HP C Compiler 3855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 3856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3857 # This bug is HP SR number 8606223364. 3858 if test "$cross_compiling" = yes; then 3859 # Depending upon the size, compute the lo and hi bounds. 3860 cat >conftest.$ac_ext <<_ACEOF 3861 /* confdefs.h. */ 3862 _ACEOF 3863 cat confdefs.h >>conftest.$ac_ext 3864 cat >>conftest.$ac_ext <<_ACEOF 3865 /* end confdefs.h. */ 3866 $ac_includes_default 3867 int 3868 main () 3869 { 3870 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; 3871 test_array [0] = 0 3872 3873 ; 3874 return 0; 3875 } 3876 _ACEOF 3877 rm -f conftest.$ac_objext 3878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3879 (eval $ac_compile) 2>conftest.er1 3880 ac_status=$? 3881 grep -v '^ *+' conftest.er1 >conftest.err 3882 rm -f conftest.er1 3883 cat conftest.err >&5 3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3885 (exit $ac_status); } && 3886 { ac_try='test -z "$ac_c_werror_flag" 3887 || test ! -s conftest.err' 3888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3889 (eval $ac_try) 2>&5 3890 ac_status=$? 3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3892 (exit $ac_status); }; } && 3893 { ac_try='test -s conftest.$ac_objext' 3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3895 (eval $ac_try) 2>&5 3896 ac_status=$? 3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3898 (exit $ac_status); }; }; then 3899 ac_lo=0 ac_mid=0 3900 while :; do 3901 cat >conftest.$ac_ext <<_ACEOF 3902 /* confdefs.h. */ 3903 _ACEOF 3904 cat confdefs.h >>conftest.$ac_ext 3905 cat >>conftest.$ac_ext <<_ACEOF 3906 /* end confdefs.h. */ 3907 $ac_includes_default 3908 int 3909 main () 3910 { 3911 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; 3912 test_array [0] = 0 3913 3914 ; 3915 return 0; 3916 } 3917 _ACEOF 3918 rm -f conftest.$ac_objext 3919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3920 (eval $ac_compile) 2>conftest.er1 3921 ac_status=$? 3922 grep -v '^ *+' conftest.er1 >conftest.err 3923 rm -f conftest.er1 3924 cat conftest.err >&5 3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3926 (exit $ac_status); } && 3927 { ac_try='test -z "$ac_c_werror_flag" 3928 || test ! -s conftest.err' 3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3930 (eval $ac_try) 2>&5 3931 ac_status=$? 3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3933 (exit $ac_status); }; } && 3934 { ac_try='test -s conftest.$ac_objext' 3935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3936 (eval $ac_try) 2>&5 3937 ac_status=$? 3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3939 (exit $ac_status); }; }; then 3940 ac_hi=$ac_mid; break 3941 else 3942 echo "$as_me: failed program was:" >&5 3943 sed 's/^/| /' conftest.$ac_ext >&5 3944 3945 ac_lo=`expr $ac_mid + 1` 3946 if test $ac_lo -le $ac_mid; then 3947 ac_lo= ac_hi= 3948 break 3949 fi 3950 ac_mid=`expr 2 '*' $ac_mid + 1` 3951 fi 3952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3953 done 3954 else 3955 echo "$as_me: failed program was:" >&5 3956 sed 's/^/| /' conftest.$ac_ext >&5 3957 3958 cat >conftest.$ac_ext <<_ACEOF 3959 /* confdefs.h. */ 3960 _ACEOF 3961 cat confdefs.h >>conftest.$ac_ext 3962 cat >>conftest.$ac_ext <<_ACEOF 3963 /* end confdefs.h. */ 3964 $ac_includes_default 3965 int 3966 main () 3967 { 3968 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; 3969 test_array [0] = 0 3970 3971 ; 3972 return 0; 3973 } 3974 _ACEOF 3975 rm -f conftest.$ac_objext 3976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3977 (eval $ac_compile) 2>conftest.er1 3978 ac_status=$? 3979 grep -v '^ *+' conftest.er1 >conftest.err 3980 rm -f conftest.er1 3981 cat conftest.err >&5 3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3983 (exit $ac_status); } && 3984 { ac_try='test -z "$ac_c_werror_flag" 3985 || test ! -s conftest.err' 3986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3987 (eval $ac_try) 2>&5 3988 ac_status=$? 3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3990 (exit $ac_status); }; } && 3991 { ac_try='test -s conftest.$ac_objext' 3992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3993 (eval $ac_try) 2>&5 3994 ac_status=$? 3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3996 (exit $ac_status); }; }; then 3997 ac_hi=-1 ac_mid=-1 3998 while :; do 3999 cat >conftest.$ac_ext <<_ACEOF 4000 /* confdefs.h. */ 4001 _ACEOF 4002 cat confdefs.h >>conftest.$ac_ext 4003 cat >>conftest.$ac_ext <<_ACEOF 4004 /* end confdefs.h. */ 4005 $ac_includes_default 4006 int 4007 main () 4008 { 4009 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; 4010 test_array [0] = 0 4011 4012 ; 4013 return 0; 4014 } 4015 _ACEOF 4016 rm -f conftest.$ac_objext 4017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4018 (eval $ac_compile) 2>conftest.er1 4019 ac_status=$? 4020 grep -v '^ *+' conftest.er1 >conftest.err 4021 rm -f conftest.er1 4022 cat conftest.err >&5 4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4024 (exit $ac_status); } && 4025 { ac_try='test -z "$ac_c_werror_flag" 4026 || test ! -s conftest.err' 4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4028 (eval $ac_try) 2>&5 4029 ac_status=$? 4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4031 (exit $ac_status); }; } && 4032 { ac_try='test -s conftest.$ac_objext' 4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4034 (eval $ac_try) 2>&5 4035 ac_status=$? 4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4037 (exit $ac_status); }; }; then 4038 ac_lo=$ac_mid; break 4039 else 4040 echo "$as_me: failed program was:" >&5 4041 sed 's/^/| /' conftest.$ac_ext >&5 4042 4043 ac_hi=`expr '(' $ac_mid ')' - 1` 4044 if test $ac_mid -le $ac_hi; then 4045 ac_lo= ac_hi= 4046 break 4047 fi 4048 ac_mid=`expr 2 '*' $ac_mid` 4049 fi 4050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4051 done 4052 else 4053 echo "$as_me: failed program was:" >&5 4054 sed 's/^/| /' conftest.$ac_ext >&5 4055 4056 ac_lo= ac_hi= 4057 fi 4058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4059 fi 4060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4061 # Binary search between lo and hi bounds. 4062 while test "x$ac_lo" != "x$ac_hi"; do 4063 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 4064 cat >conftest.$ac_ext <<_ACEOF 4065 /* confdefs.h. */ 4066 _ACEOF 4067 cat confdefs.h >>conftest.$ac_ext 4068 cat >>conftest.$ac_ext <<_ACEOF 4069 /* end confdefs.h. */ 4070 $ac_includes_default 4071 int 4072 main () 4073 { 4074 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; 4075 test_array [0] = 0 4076 4077 ; 4078 return 0; 4079 } 4080 _ACEOF 4081 rm -f conftest.$ac_objext 4082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4083 (eval $ac_compile) 2>conftest.er1 4084 ac_status=$? 4085 grep -v '^ *+' conftest.er1 >conftest.err 4086 rm -f conftest.er1 4087 cat conftest.err >&5 4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4089 (exit $ac_status); } && 4090 { ac_try='test -z "$ac_c_werror_flag" 4091 || test ! -s conftest.err' 4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4093 (eval $ac_try) 2>&5 4094 ac_status=$? 4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4096 (exit $ac_status); }; } && 4097 { ac_try='test -s conftest.$ac_objext' 4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4099 (eval $ac_try) 2>&5 4100 ac_status=$? 4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4102 (exit $ac_status); }; }; then 4103 ac_hi=$ac_mid 4104 else 4105 echo "$as_me: failed program was:" >&5 4106 sed 's/^/| /' conftest.$ac_ext >&5 4107 4108 ac_lo=`expr '(' $ac_mid ')' + 1` 4109 fi 4110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4111 done 4112 case $ac_lo in 4113 ?*) ac_cv_sizeof_long=$ac_lo;; 4114 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 4115 See \`config.log' for more details." >&5 4116 echo "$as_me: error: cannot compute sizeof (long), 77 4117 See \`config.log' for more details." >&2;} 4118 { (exit 1); exit 1; }; } ;; 4119 esac 4120 else 4121 if test "$cross_compiling" = yes; then 4122 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 4123 See \`config.log' for more details." >&5 4124 echo "$as_me: error: cannot run test program while cross compiling 4125 See \`config.log' for more details." >&2;} 4126 { (exit 1); exit 1; }; } 4127 else 4128 cat >conftest.$ac_ext <<_ACEOF 4129 /* confdefs.h. */ 4130 _ACEOF 4131 cat confdefs.h >>conftest.$ac_ext 4132 cat >>conftest.$ac_ext <<_ACEOF 4133 /* end confdefs.h. */ 4134 $ac_includes_default 4135 long longval () { return (long) (sizeof (long)); } 4136 unsigned long ulongval () { return (long) (sizeof (long)); } 4137 #include <stdio.h> 4138 #include <stdlib.h> 4139 int 4140 main () 4141 { 4142 4143 FILE *f = fopen ("conftest.val", "w"); 4144 if (! f) 4145 exit (1); 4146 if (((long) (sizeof (long))) < 0) 4147 { 4148 long i = longval (); 4149 if (i != ((long) (sizeof (long)))) 4150 exit (1); 4151 fprintf (f, "%ld\n", i); 4152 } 4153 else 4154 { 4155 unsigned long i = ulongval (); 4156 if (i != ((long) (sizeof (long)))) 4157 exit (1); 4158 fprintf (f, "%lu\n", i); 4159 } 4160 exit (ferror (f) || fclose (f) != 0); 4161 4162 ; 4163 return 0; 4164 } 4165 _ACEOF 4166 rm -f conftest$ac_exeext 4167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4168 (eval $ac_link) 2>&5 4169 ac_status=$? 4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4173 (eval $ac_try) 2>&5 4174 ac_status=$? 4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4176 (exit $ac_status); }; }; then 4177 ac_cv_sizeof_long=`cat conftest.val` 4178 else 4179 echo "$as_me: program exited with status $ac_status" >&5 4180 echo "$as_me: failed program was:" >&5 4181 sed 's/^/| /' conftest.$ac_ext >&5 4182 4183 ( exit $ac_status ) 4184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 4185 See \`config.log' for more details." >&5 4186 echo "$as_me: error: cannot compute sizeof (long), 77 4187 See \`config.log' for more details." >&2;} 4188 { (exit 1); exit 1; }; } 4189 fi 4190 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4191 fi 4192 fi 4193 rm -f conftest.val 4194 else 4195 ac_cv_sizeof_long=0 4196 fi 4197 fi 4198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 4199 echo "${ECHO_T}$ac_cv_sizeof_long" >&6 3672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3674 as_fn_error 77 "cannot compute sizeof (long) 3675 See \`config.log' for more details" "$LINENO" 5; } 3676 else 3677 ac_cv_sizeof_long=0 3678 fi 3679 fi 3680 3681 fi 3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 3683 $as_echo "$ac_cv_sizeof_long" >&6; } 3684 3685 3686 4200 3687 cat >>confdefs.h <<_ACEOF 4201 3688 #define SIZEOF_LONG $ac_cv_sizeof_long … … 4206 3693 ######## check for the JDK and tools within the JDK 4207 3694 ######## look in the JAVA_HOME environment variable at configure-time 4208 echo "$as_me:$LINENO: checking for the JDK" >&54209 echo $ECHO_N "checking for the JDK... $ECHO_C" >&6 3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the JDK" >&5 3696 $as_echo_n "checking for the JDK... " >&6; } 4210 3697 if test "z$JAVA_HOME" != z && 4211 3698 test -d $JAVA_HOME && … … 4213 3700 then 4214 3701 4215 echo "$as_me:$LINENO: result: found in $JAVA_HOME" >&5 4216 echo "${ECHO_T}found in $JAVA_HOME" >&6 4217 else 4218 { { echo "$as_me:$LINENO: error: not found in \$JAVA_HOME" >&5 4219 echo "$as_me: error: not found in \$JAVA_HOME" >&2;} 4220 { (exit 1); exit 1; }; } 3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $JAVA_HOME" >&5 3703 $as_echo "found in $JAVA_HOME" >&6; } 3704 else 3705 as_fn_error $? "not found in \$JAVA_HOME" "$LINENO" 5 4221 3706 fi 4222 3707 … … 4228 3713 # Extract the first word of "javah", so it can be a program name with args. 4229 3714 set dummy javah; ac_word=$2 4230 echo "$as_me:$LINENO: checking for $ac_word" >&54231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4232 if test "${ac_cv_path_javagdbm_cv_path_javah+set}" = set; then4233 echo $ECHO_N "(cached) $ECHO_C" >&63715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3716 $as_echo_n "checking for $ac_word... " >&6; } 3717 if ${ac_cv_path_javagdbm_cv_path_javah+:} false; then : 3718 $as_echo_n "(cached) " >&6 4234 3719 else 4235 3720 case $javagdbm_cv_path_javah in … … 4243 3728 IFS=$as_save_IFS 4244 3729 test -z "$as_dir" && as_dir=. 4245 for ac_exec_ext in '' $ac_executable_extensions; do4246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3730 for ac_exec_ext in '' $ac_executable_extensions; do 3731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4247 3732 ac_cv_path_javagdbm_cv_path_javah="$as_dir/$ac_word$ac_exec_ext" 4248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4249 3734 break 2 4250 3735 fi 4251 3736 done 4252 done 3737 done 3738 IFS=$as_save_IFS 4253 3739 4254 3740 test -z "$ac_cv_path_javagdbm_cv_path_javah" && ac_cv_path_javagdbm_cv_path_javah="missing_javah" … … 4257 3743 fi 4258 3744 javagdbm_cv_path_javah=$ac_cv_path_javagdbm_cv_path_javah 4259 4260 3745 if test -n "$javagdbm_cv_path_javah"; then 4261 echo "$as_me:$LINENO: result: $javagdbm_cv_path_javah" >&5 4262 echo "${ECHO_T}$javagdbm_cv_path_javah" >&6 4263 else 4264 echo "$as_me:$LINENO: result: no" >&5 4265 echo "${ECHO_T}no" >&6 4266 fi 3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $javagdbm_cv_path_javah" >&5 3747 $as_echo "$javagdbm_cv_path_javah" >&6; } 3748 else 3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3750 $as_echo "no" >&6; } 3751 fi 3752 4267 3753 4268 3754 if test "$javagdbm_cv_path_javah" = missing_javah; then 4269 { { echo "$as_me:$LINENO: error: javah not found." >&5 4270 echo "$as_me: error: javah not found." >&2;} 4271 { (exit 1); exit 1; }; } 3755 as_fn_error $? "javah not found." "$LINENO" 5 4272 3756 fi 4273 3757 4274 3758 # Extract the first word of "java", so it can be a program name with args. 4275 3759 set dummy java; ac_word=$2 4276 echo "$as_me:$LINENO: checking for $ac_word" >&54277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4278 if test "${ac_cv_path_javagdbm_cv_path_java+set}" = set; then4279 echo $ECHO_N "(cached) $ECHO_C" >&63760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3761 $as_echo_n "checking for $ac_word... " >&6; } 3762 if ${ac_cv_path_javagdbm_cv_path_java+:} false; then : 3763 $as_echo_n "(cached) " >&6 4280 3764 else 4281 3765 case $javagdbm_cv_path_java in … … 4289 3773 IFS=$as_save_IFS 4290 3774 test -z "$as_dir" && as_dir=. 4291 for ac_exec_ext in '' $ac_executable_extensions; do4292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3775 for ac_exec_ext in '' $ac_executable_extensions; do 3776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4293 3777 ac_cv_path_javagdbm_cv_path_java="$as_dir/$ac_word$ac_exec_ext" 4294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4295 3779 break 2 4296 3780 fi 4297 3781 done 4298 done 3782 done 3783 IFS=$as_save_IFS 4299 3784 4300 3785 test -z "$ac_cv_path_javagdbm_cv_path_java" && ac_cv_path_javagdbm_cv_path_java="missing" … … 4303 3788 fi 4304 3789 javagdbm_cv_path_java=$ac_cv_path_javagdbm_cv_path_java 4305 4306 3790 if test -n "$javagdbm_cv_path_java"; then 4307 echo "$as_me:$LINENO: result: $javagdbm_cv_path_java" >&5 4308 echo "${ECHO_T}$javagdbm_cv_path_java" >&6 4309 else 4310 echo "$as_me:$LINENO: result: no" >&5 4311 echo "${ECHO_T}no" >&6 4312 fi 3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $javagdbm_cv_path_java" >&5 3792 $as_echo "$javagdbm_cv_path_java" >&6; } 3793 else 3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3795 $as_echo "no" >&6; } 3796 fi 3797 4313 3798 4314 3799 if test "$javagdbm_cv_path_java" = missing; then 4315 { { echo "$as_me:$LINENO: error: java not found." >&5 4316 echo "$as_me: error: java not found." >&2;} 4317 { (exit 1); exit 1; }; } 3800 as_fn_error $? "java not found." "$LINENO" 5 4318 3801 fi 4319 3802 … … 4329 3812 4330 3813 4331 echo "$as_me:$LINENO: checking that the GDBM library is available" >&54332 echo $ECHO_N "checking that the GDBM library is available... $ECHO_C" >&6 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that the GDBM library is available" >&5 3815 $as_echo_n "checking that the GDBM library is available... " >&6; } 4333 3816 if test ! -z "$gdbmdir" ; then 4334 3817 # look in given directory for header file … … 4349 3832 4350 3833 if test ! -z "$GDBM_LIBPATH" -a ! -z "$GDBM_INCLUDE" ; then 4351 echo "$as_me:$LINENO: result: $gdbmdir" >&54352 echo "${ECHO_T}$gdbmdir" >&6;3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbmdir" >&5 3835 $as_echo "$gdbmdir" >&6; } ; 4353 3836 else 4354 echo "$as_me:$LINENO: result: can't find gdbm.h and libgdbm.a in $gdbmdir" >&54355 echo "${ECHO_T}can't find gdbm.h and libgdbm.a in $gdbmdir" >&6;4356 echo "$as_me:$LINENO: checking looking for GDBM library in default locations" >&54357 echo $ECHO_N "checking looking for GDBM library in default locations... $ECHO_C" >&6 3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find gdbm.h and libgdbm.a in $gdbmdir" >&5 3838 $as_echo "can't find gdbm.h and libgdbm.a in $gdbmdir" >&6; }; 3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking looking for GDBM library in default locations" >&5 3840 $as_echo_n "checking looking for GDBM library in default locations... " >&6; } 4358 3841 fi 4359 3842 fi … … 4362 3845 if test -z "$GDBM_INCLUDE" ; then 4363 3846 # try in system directory 4364 cat >conftest.$ac_ext <<_ACEOF 4365 /* confdefs.h. */ 4366 _ACEOF 4367 cat confdefs.h >>conftest.$ac_ext 4368 cat >>conftest.$ac_ext <<_ACEOF 3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4369 3848 /* end confdefs.h. */ 4370 3849 #include <gdbm.h> … … 4378 3857 } 4379 3858 _ACEOF 4380 rm -f conftest.$ac_objext 4381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4382 (eval $ac_compile) 2>conftest.er1 4383 ac_status=$? 4384 grep -v '^ *+' conftest.er1 >conftest.err 4385 rm -f conftest.er1 4386 cat conftest.err >&5 4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4388 (exit $ac_status); } && 4389 { ac_try='test -z "$ac_c_werror_flag" 4390 || test ! -s conftest.err' 4391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4392 (eval $ac_try) 2>&5 4393 ac_status=$? 4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4395 (exit $ac_status); }; } && 4396 { ac_try='test -s conftest.$ac_objext' 4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4398 (eval $ac_try) 2>&5 4399 ac_status=$? 4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4401 (exit $ac_status); }; }; then 3859 if ac_fn_c_try_compile "$LINENO"; then : 4402 3860 success=yes 4403 3861 else 4404 echo "$as_me: failed program was:" >&5 4405 sed 's/^/| /' conftest.$ac_ext >&5 4406 4407 success=no 4408 4409 fi 4410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3862 success=no 3863 3864 fi 3865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4411 3866 4412 3867 if test $success = "no"; then … … 4418 3873 CXXFLAGS="$CXXFLAGS -I/usr/local/include" 4419 3874 LIBS="$LIBS -L/usr/local/lib -lgdbm" 4420 cat >conftest.$ac_ext <<_ACEOF 4421 /* confdefs.h. */ 4422 _ACEOF 4423 cat confdefs.h >>conftest.$ac_ext 4424 cat >>conftest.$ac_ext <<_ACEOF 3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4425 3876 /* end confdefs.h. */ 4426 3877 #include <gdbm.h> … … 4435 3886 } 4436 3887 _ACEOF 4437 rm -f conftest.$ac_objext conftest$ac_exeext 4438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4439 (eval $ac_link) 2>conftest.er1 4440 ac_status=$? 4441 grep -v '^ *+' conftest.er1 >conftest.err 4442 rm -f conftest.er1 4443 cat conftest.err >&5 4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4445 (exit $ac_status); } && 4446 { ac_try='test -z "$ac_c_werror_flag" 4447 || test ! -s conftest.err' 4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4449 (eval $ac_try) 2>&5 4450 ac_status=$? 4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4452 (exit $ac_status); }; } && 4453 { ac_try='test -s conftest$ac_exeext' 4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4455 (eval $ac_try) 2>&5 4456 ac_status=$? 4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4458 (exit $ac_status); }; }; then 3888 if ac_fn_c_try_link "$LINENO"; then : 4459 3889 success=/usr/local 4460 3890 else 4461 echo "$as_me: failed program was:" >&5 4462 sed 's/^/| /' conftest.$ac_ext >&5 4463 4464 success=no 4465 4466 fi 4467 rm -f conftest.err conftest.$ac_objext \ 4468 conftest$ac_exeext conftest.$ac_ext 3891 success=no 3892 3893 fi 3894 rm -f core conftest.err conftest.$ac_objext \ 3895 conftest$ac_exeext conftest.$ac_ext 4469 3896 CXXFLAGS=$ac_save_CXXFLAGS 4470 3897 LIBS=$ac_save_LIBS 4471 3898 fi 4472 3899 4473 echo "$as_me:$LINENO: result: $success" >&54474 echo "${ECHO_T}$success" >&6 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $success" >&5 3901 $as_echo "$success" >&6; } 4475 3902 if test $success = "no"; then 4476 { { echo "$as_me:$LINENO: error: GDBM Library not available - cannot install" >&5 4477 echo "$as_me: error: GDBM Library not available - cannot install" >&2;} 4478 { (exit 1); exit 1; }; } 3903 as_fn_error $? "GDBM Library not available - cannot install" "$LINENO" 5 4479 3904 fi 4480 3905 fi 4481 cat >>confdefs.h <<\_ACEOF 4482 #define HAVE_LIBGDBM 1 4483 _ACEOF 3906 $as_echo "#define HAVE_LIBGDBM 1" >>confdefs.h 4484 3907 4485 3908 … … 4499 3922 # a non-standard Path 4500 3923 # is there a better way to do this?? 4501 echo "$as_me:$LINENO: checking for OS to set JNI options" >&54502 echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6 3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS to set JNI options" >&5 3925 $as_echo_n "checking for OS to set JNI options... " >&6; } 4503 3926 # set defaults 4504 3927 JNIINC="" … … 4507 3930 4508 3931 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 4509 echo "$as_me:$LINENO: result: Darwin" >&54510 echo "${ECHO_T}Darwin" >&6 3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5 3933 $as_echo "Darwin" >&6; } 4511 3934 JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ " 4512 3935 JNISUFFIX="jnilib" … … 4514 3937 fi 4515 3938 if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then 4516 echo "$as_me:$LINENO: result: Solaris" >&54517 echo "${ECHO_T}Solaris" >&6 3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&5 3940 $as_echo "Solaris" >&6; } 4518 3941 JNIINC="-I\$(JAVA_HOME)/include/solaris " 4519 3942 fi 4520 3943 if test "`(uname -s) 2> /dev/null`" = 'Linux'; then 4521 echo "$as_me:$LINENO: result: Linux" >&54522 echo "${ECHO_T}Linux" >&6 3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5 3945 $as_echo "Linux" >&6; } 4523 3946 JNIINC="-I\$(JAVA_HOME)/include/linux " 4524 3947 fi … … 4529 3952 4530 3953 # write the output 4531 ac_config_files="$ac_config_files Makefile jni/Makefile java/Makefile" 3954 ac_config_files="$ac_config_files Makefile jni/Makefile java/Makefile" 3955 4532 3956 cat >confcache <<\_ACEOF 4533 3957 # This file is a shell script that caches the results of configure … … 4548 3972 # The following way of writing the cache mishandles newlines in values, 4549 3973 # but we know of no workaround that is simple, portable, and efficient. 4550 # So, don't put newlines in cache variables' values.3974 # So, we kill variables containing newlines. 4551 3975 # Ultrix sh set writes to stderr and can't be redirected directly, 4552 3976 # and sets the high bit in the cache file unless we assign to the vars. 4553 { 3977 ( 3978 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3979 eval ac_val=\$$ac_var 3980 case $ac_val in #( 3981 *${as_nl}*) 3982 case $ac_var in #( 3983 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3985 esac 3986 case $ac_var in #( 3987 _ | IFS | as_nl) ;; #( 3988 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3989 *) { eval $ac_var=; unset $ac_var;} ;; 3990 esac ;; 3991 esac 3992 done 3993 4554 3994 (set) 2>&1 | 4555 case `(ac_space=' '; set | grep ac_space) 2>&1` in4556 * ac_space=\ *)4557 # `set' does not quote correctly, so add quotes (double-quote4558 # substitution turns \\\\ into \\, and sed turns \\ into \ ).3995 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3996 *${as_nl}ac_space=\ *) 3997 # `set' does not quote correctly, so add quotes: double-quote 3998 # substitution turns \\\\ into \\, and sed turns \\ into \. 4559 3999 sed -n \ 4560 4000 "s/'/'\\\\''/g; 4561 4001 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4562 ;; 4002 ;; #( 4563 4003 *) 4564 4004 # `set' quotes correctly as required by POSIX, so do not add quotes. 4565 sed -n \ 4566 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 4005 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4567 4006 ;; 4568 esac; 4569 } | 4007 esac | 4008 sort 4009 ) | 4570 4010 sed ' 4011 /^ac_cv_env_/b end 4571 4012 t clear 4572 : 4013 :clear 4573 4014 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4574 4015 t end 4575 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4576 : end' >>confcache 4577 if diff $cache_file confcache >/dev/null 2>&1; then :; else 4578 if test -w $cache_file; then 4579 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 4580 cat confcache >$cache_file 4016 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4017 :end' >>confcache 4018 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4019 if test -w "$cache_file"; then 4020 if test "x$cache_file" != "x/dev/null"; then 4021 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4022 $as_echo "$as_me: updating cache $cache_file" >&6;} 4023 if test ! -f "$cache_file" || test -h "$cache_file"; then 4024 cat confcache >"$cache_file" 4025 else 4026 case $cache_file in #( 4027 */* | ?:*) 4028 mv -f confcache "$cache_file"$$ && 4029 mv -f "$cache_file"$$ "$cache_file" ;; #( 4030 *) 4031 mv -f confcache "$cache_file" ;; 4032 esac 4033 fi 4034 fi 4581 4035 else 4582 echo "not updating unwritable cache $cache_file" 4036 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4037 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4583 4038 fi 4584 4039 fi … … 4588 4043 # Let make expand exec_prefix. 4589 4044 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4590 4591 # VPATH may cause trouble with some makes, so we remove $(srcdir),4592 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and4593 # trailing colons and then remove the whole line if VPATH becomes empty4594 # (actually we leave an empty line to preserve line numbers).4595 if test "x$srcdir" = x.; then4596 ac_vpsub='/^[ ]*VPATH[ ]*=/{4597 s/:*\$(srcdir):*/:/;4598 s/:*\${srcdir}:*/:/;4599 s/:*@srcdir@:*/:/;4600 s/^\([^=]*=[ ]*\):*/\1/;4601 s/:*$//;4602 s/^[^=]*=[ ]*$//;4603 }'4604 fi4605 4045 4606 4046 # Transform confdefs.h into DEFS. … … 4609 4049 # 4610 4050 # If the first sed substitution is executed (which looks for macros that 4611 # take arguments), then webranch to the quote section. Otherwise,4051 # take arguments), then branch to the quote section. Otherwise, 4612 4052 # look for a macro that doesn't take arguments. 4613 cat >confdef2opt.sed <<\_ACEOF 4053 ac_script=' 4054 :mline 4055 /\\$/{ 4056 N 4057 s,\\\n,, 4058 b mline 4059 } 4614 4060 t clear 4615 : 4616 s ,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g4061 :clear 4062 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4617 4063 t quote 4618 s ,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g4064 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4619 4065 t quote 4620 d 4621 : quote 4622 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 4623 s,\[,\\&,g 4624 s,\],\\&,g 4625 s,\$,$$,g 4626 p 4627 _ACEOF 4628 # We use echo to avoid assuming a particular line-breaking character. 4629 # The extra dot is to prevent the shell from consuming trailing 4630 # line-breaks from the sub-command output. A line-break within 4631 # single-quotes doesn't work because, if this script is created in a 4632 # platform that uses two characters for line-breaks (e.g., DOS), tr 4633 # would break. 4634 ac_LF_and_DOT=`echo; echo .` 4635 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 4636 rm -f confdef2opt.sed 4066 b any 4067 :quote 4068 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4069 s/\[/\\&/g 4070 s/\]/\\&/g 4071 s/\$/$$/g 4072 H 4073 :any 4074 ${ 4075 g 4076 s/^\n// 4077 s/\n/ /g 4078 p 4079 } 4080 ' 4081 DEFS=`sed -n "$ac_script" confdefs.h` 4637 4082 4638 4083 4639 4084 ac_libobjs= 4640 4085 ac_ltlibobjs= 4086 U= 4641 4087 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4642 4088 # 1. Remove the extension, and $U if already installed. 4643 ac_i=`echo "$ac_i" | 4644 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 4645 # 2. Add them. 4646 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 4647 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 4089 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4090 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4091 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4092 # will be set to the directory where LIBOBJS objects are built. 4093 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4094 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4648 4095 done 4649 4096 LIBOBJS=$ac_libobjs … … 4653 4100 4654 4101 4655 : ${CONFIG_STATUS=./config.status} 4102 : "${CONFIG_STATUS=./config.status}" 4103 ac_write_fail=0 4656 4104 ac_clean_files_save=$ac_clean_files 4657 4105 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4658 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4659 echo "$as_me: creating $CONFIG_STATUS" >&6;} 4660 cat >$CONFIG_STATUS <<_ACEOF 4106 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4107 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4108 as_write_fail=0 4109 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4661 4110 #! $SHELL 4662 4111 # Generated by $as_me. … … 4668 4117 ac_cs_recheck=false 4669 4118 ac_cs_silent=false 4119 4670 4120 SHELL=\${CONFIG_SHELL-$SHELL} 4671 _ACEOF 4672 4673 cat >>$CONFIG_STATUS <<\_ACEOF 4674 ## --------------------- ## 4675 ## M4sh Initialization. ## 4676 ## --------------------- ## 4677 4678 # Be Bourne compatible 4679 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4121 export SHELL 4122 _ASEOF 4123 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4124 ## -------------------- ## 4125 ## M4sh Initialization. ## 4126 ## -------------------- ## 4127 4128 # Be more Bourne compatible 4129 DUALCASE=1; export DUALCASE # for MKS sh 4130 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4680 4131 emulate sh 4681 4132 NULLCMD=: 4682 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which4133 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4683 4134 # is contrary to our usage. Disable this feature. 4684 4135 alias -g '${1+"$@"}'='"$@"' 4685 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 4686 set -o posix 4687 fi 4688 DUALCASE=1; export DUALCASE # for MKS sh 4689 4690 # Support unset when possible. 4691 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4692 as_unset=unset 4693 else 4694 as_unset=false 4695 fi 4696 4697 4698 # Work around bugs in pre-3.0 UWIN ksh. 4699 $as_unset ENV MAIL MAILPATH 4136 setopt NO_GLOB_SUBST 4137 else 4138 case `(set -o) 2>/dev/null` in #( 4139 *posix*) : 4140 set -o posix ;; #( 4141 *) : 4142 ;; 4143 esac 4144 fi 4145 4146 4147 as_nl=' 4148 ' 4149 export as_nl 4150 # Printing a long string crashes Solaris 7 /usr/bin/printf. 4151 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4152 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4153 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4154 # Prefer a ksh shell builtin over an external printf program on Solaris, 4155 # but without wasting forks for bash or zsh. 4156 if test -z "$BASH_VERSION$ZSH_VERSION" \ 4157 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4158 as_echo='print -r --' 4159 as_echo_n='print -rn --' 4160 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4161 as_echo='printf %s\n' 4162 as_echo_n='printf %s' 4163 else 4164 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4165 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4166 as_echo_n='/usr/ucb/echo -n' 4167 else 4168 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4169 as_echo_n_body='eval 4170 arg=$1; 4171 case $arg in #( 4172 *"$as_nl"*) 4173 expr "X$arg" : "X\\(.*\\)$as_nl"; 4174 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4175 esac; 4176 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4177 ' 4178 export as_echo_n_body 4179 as_echo_n='sh -c $as_echo_n_body as_echo' 4180 fi 4181 export as_echo_body 4182 as_echo='sh -c $as_echo_body as_echo' 4183 fi 4184 4185 # The user is always right. 4186 if test "${PATH_SEPARATOR+set}" != set; then 4187 PATH_SEPARATOR=: 4188 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4189 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4190 PATH_SEPARATOR=';' 4191 } 4192 fi 4193 4194 4195 # IFS 4196 # We need space, tab and new line, in precisely that order. Quoting is 4197 # there to prevent editors from complaining about space-tab. 4198 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 4199 # splitting by setting IFS to empty value.) 4200 IFS=" "" $as_nl" 4201 4202 # Find who we are. Look in the path if we contain no directory separator. 4203 as_myself= 4204 case $0 in #(( 4205 *[\\/]* ) as_myself=$0 ;; 4206 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4207 for as_dir in $PATH 4208 do 4209 IFS=$as_save_IFS 4210 test -z "$as_dir" && as_dir=. 4211 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4212 done 4213 IFS=$as_save_IFS 4214 4215 ;; 4216 esac 4217 # We did not find ourselves, most probably we were run as `sh COMMAND' 4218 # in which case we are not to be found in the path. 4219 if test "x$as_myself" = x; then 4220 as_myself=$0 4221 fi 4222 if test ! -f "$as_myself"; then 4223 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4224 exit 1 4225 fi 4226 4227 # Unset variables that we do not need and which cause bugs (e.g. in 4228 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4229 # suppresses any "Segmentation fault" message there. '((' could 4230 # trigger a bug in pdksh 5.2.14. 4231 for as_var in BASH_ENV ENV MAIL MAILPATH 4232 do eval test x\${$as_var+set} = xset \ 4233 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4234 done 4700 4235 PS1='$ ' 4701 4236 PS2='> ' … … 4703 4238 4704 4239 # NLS nuisances. 4705 for as_var in \ 4706 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4707 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4708 LC_TELEPHONE LC_TIME 4709 do 4710 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4711 eval $as_var=C; export $as_var 4712 else 4713 $as_unset $as_var 4240 LC_ALL=C 4241 export LC_ALL 4242 LANGUAGE=C 4243 export LANGUAGE 4244 4245 # CDPATH. 4246 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4247 4248 4249 # as_fn_error STATUS ERROR [LINENO LOG_FD] 4250 # ---------------------------------------- 4251 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4252 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4253 # script with STATUS, using 1 if that was 0. 4254 as_fn_error () 4255 { 4256 as_status=$1; test $as_status -eq 0 && as_status=1 4257 if test "$4"; then 4258 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4259 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4714 4260 fi 4715 done 4716 4717 # Required to use basename. 4718 if expr a : '\(a\)' >/dev/null 2>&1; then 4261 $as_echo "$as_me: error: $2" >&2 4262 as_fn_exit $as_status 4263 } # as_fn_error 4264 4265 4266 # as_fn_set_status STATUS 4267 # ----------------------- 4268 # Set $? to STATUS, without forking. 4269 as_fn_set_status () 4270 { 4271 return $1 4272 } # as_fn_set_status 4273 4274 # as_fn_exit STATUS 4275 # ----------------- 4276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4277 as_fn_exit () 4278 { 4279 set +e 4280 as_fn_set_status $1 4281 exit $1 4282 } # as_fn_exit 4283 4284 # as_fn_unset VAR 4285 # --------------- 4286 # Portably unset VAR. 4287 as_fn_unset () 4288 { 4289 { eval $1=; unset $1;} 4290 } 4291 as_unset=as_fn_unset 4292 # as_fn_append VAR VALUE 4293 # ---------------------- 4294 # Append the text in VALUE to the end of the definition contained in VAR. Take 4295 # advantage of any shell optimizations that allow amortized linear growth over 4296 # repeated appends, instead of the typical quadratic growth present in naive 4297 # implementations. 4298 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4299 eval 'as_fn_append () 4300 { 4301 eval $1+=\$2 4302 }' 4303 else 4304 as_fn_append () 4305 { 4306 eval $1=\$$1\$2 4307 } 4308 fi # as_fn_append 4309 4310 # as_fn_arith ARG... 4311 # ------------------ 4312 # Perform arithmetic evaluation on the ARGs, and store the result in the 4313 # global $as_val. Take advantage of shells that can avoid forks. The arguments 4314 # must be portable across $(()) and expr. 4315 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4316 eval 'as_fn_arith () 4317 { 4318 as_val=$(( $* )) 4319 }' 4320 else 4321 as_fn_arith () 4322 { 4323 as_val=`expr "$@" || test $? -eq 1` 4324 } 4325 fi # as_fn_arith 4326 4327 4328 if expr a : '\(a\)' >/dev/null 2>&1 && 4329 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4719 4330 as_expr=expr 4720 4331 else … … 4722 4333 fi 4723 4334 4724 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then4335 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4725 4336 as_basename=basename 4726 4337 else … … 4728 4339 fi 4729 4340 4730 4731 # Name of the executable. 4732 as_me=`$as_basename "$0" || 4341 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4342 as_dirname=dirname 4343 else 4344 as_dirname=false 4345 fi 4346 4347 as_me=`$as_basename -- "$0" || 4733 4348 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4734 4349 X"$0" : 'X\(//\)$' \| \ 4735 X"$0" : 'X\(/\)$' \| \ 4736 . : '\(.\)' 2>/dev/null || 4737 echo X/"$0" | 4738 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 4739 /^X\/\(\/\/\)$/{ s//\1/; q; } 4740 /^X\/\(\/\).*/{ s//\1/; q; } 4741 s/.*/./; q'` 4742 4743 4744 # PATH needs CR, and LINENO needs CR and PATH. 4350 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4351 $as_echo X/"$0" | 4352 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4353 s//\1/ 4354 q 4355 } 4356 /^X\/\(\/\/\)$/{ 4357 s//\1/ 4358 q 4359 } 4360 /^X\/\(\/\).*/{ 4361 s//\1/ 4362 q 4363 } 4364 s/.*/./; q'` 4365 4745 4366 # Avoid depending upon Character Ranges. 4746 4367 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 4750 4371 as_cr_alnum=$as_cr_Letters$as_cr_digits 4751 4372 4752 # The user is always right. 4753 if test "${PATH_SEPARATOR+set}" != set; then 4754 echo "#! /bin/sh" >conf$$.sh 4755 echo "exit 0" >>conf$$.sh 4756 chmod +x conf$$.sh 4757 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4758 PATH_SEPARATOR=';' 4373 ECHO_C= ECHO_N= ECHO_T= 4374 case `echo -n x` in #((((( 4375 -n*) 4376 case `echo 'xy\c'` in 4377 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4378 xy) ECHO_C='\c';; 4379 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4380 ECHO_T=' ';; 4381 esac;; 4382 *) 4383 ECHO_N='-n';; 4384 esac 4385 4386 rm -f conf$$ conf$$.exe conf$$.file 4387 if test -d conf$$.dir; then 4388 rm -f conf$$.dir/conf$$.file 4389 else 4390 rm -f conf$$.dir 4391 mkdir conf$$.dir 2>/dev/null 4392 fi 4393 if (echo >conf$$.file) 2>/dev/null; then 4394 if ln -s conf$$.file conf$$ 2>/dev/null; then 4395 as_ln_s='ln -s' 4396 # ... but there are two gotchas: 4397 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4398 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4399 # In both cases, we have to default to `cp -p'. 4400 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4401 as_ln_s='cp -p' 4402 elif ln conf$$.file conf$$ 2>/dev/null; then 4403 as_ln_s=ln 4759 4404 else 4760 PATH_SEPARATOR=:4405 as_ln_s='cp -p' 4761 4406 fi 4762 rm -f conf$$.sh 4763 fi 4764 4765 4766 as_lineno_1=$LINENO 4767 as_lineno_2=$LINENO 4768 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4769 test "x$as_lineno_1" != "x$as_lineno_2" && 4770 test "x$as_lineno_3" = "x$as_lineno_2" || { 4771 # Find who we are. Look in the path if we contain no path at all 4772 # relative or not. 4773 case $0 in 4774 *[\\/]* ) as_myself=$0 ;; 4775 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4776 for as_dir in $PATH 4777 do 4778 IFS=$as_save_IFS 4779 test -z "$as_dir" && as_dir=. 4780 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4781 done 4782 4783 ;; 4407 else 4408 as_ln_s='cp -p' 4409 fi 4410 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4411 rmdir conf$$.dir 2>/dev/null 4412 4413 4414 # as_fn_mkdir_p 4415 # ------------- 4416 # Create "$as_dir" as a directory, including parents if necessary. 4417 as_fn_mkdir_p () 4418 { 4419 4420 case $as_dir in #( 4421 -*) as_dir=./$as_dir;; 4784 4422 esac 4785 # We did not find ourselves, most probably we were run as `sh COMMAND' 4786 # in which case we are not to be found in the path. 4787 if test "x$as_myself" = x; then 4788 as_myself=$0 4789 fi 4790 if test ! -f "$as_myself"; then 4791 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 4792 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 4793 { (exit 1); exit 1; }; } 4794 fi 4795 case $CONFIG_SHELL in 4796 '') 4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4798 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 4799 do 4800 IFS=$as_save_IFS 4801 test -z "$as_dir" && as_dir=. 4802 for as_base in sh bash ksh sh5; do 4803 case $as_dir in 4804 /*) 4805 if ("$as_dir/$as_base" -c ' 4806 as_lineno_1=$LINENO 4807 as_lineno_2=$LINENO 4808 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4809 test "x$as_lineno_1" != "x$as_lineno_2" && 4810 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 4811 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 4812 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 4813 CONFIG_SHELL=$as_dir/$as_base 4814 export CONFIG_SHELL 4815 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 4816 fi;; 4817 esac 4818 done 4819 done 4820 ;; 4821 esac 4822 4823 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4824 # uniformly replaced by the line number. The first 'sed' inserts a 4825 # line-number line before each line; the second 'sed' does the real 4826 # work. The second script uses 'N' to pair each line-number line 4827 # with the numbered line, and appends trailing '-' during 4828 # substitution so that $LINENO is not a special case at line end. 4829 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4830 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 4831 sed '=' <$as_myself | 4832 sed ' 4833 N 4834 s,$,-, 4835 : loop 4836 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 4837 t loop 4838 s,-$,, 4839 s,^['$as_cr_digits']*\n,, 4840 ' >$as_me.lineno && 4841 chmod +x $as_me.lineno || 4842 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 4843 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 4844 { (exit 1); exit 1; }; } 4845 4846 # Don't try to exec as it changes $[0], causing all sort of problems 4847 # (the dirname of $[0] is not the place where we might find the 4848 # original and so on. Autoconf is especially sensible to this). 4849 . ./$as_me.lineno 4850 # Exit status is that of the last command. 4851 exit 4852 } 4853 4854 4855 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 4856 *c*,-n*) ECHO_N= ECHO_C=' 4857 ' ECHO_T=' ' ;; 4858 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 4859 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 4860 esac 4861 4862 if expr a : '\(a\)' >/dev/null 2>&1; then 4863 as_expr=expr 4864 else 4865 as_expr=false 4866 fi 4867 4868 rm -f conf$$ conf$$.exe conf$$.file 4869 echo >conf$$.file 4870 if ln -s conf$$.file conf$$ 2>/dev/null; then 4871 # We could just check for DJGPP; but this test a) works b) is more generic 4872 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 4873 if test -f conf$$.exe; then 4874 # Don't use ln at all; we don't have any links 4875 as_ln_s='cp -p' 4876 else 4877 as_ln_s='ln -s' 4878 fi 4879 elif ln conf$$.file conf$$ 2>/dev/null; then 4880 as_ln_s=ln 4881 else 4882 as_ln_s='cp -p' 4883 fi 4884 rm -f conf$$ conf$$.exe conf$$.file 4885 4423 test -d "$as_dir" || eval $as_mkdir_p || { 4424 as_dirs= 4425 while :; do 4426 case $as_dir in #( 4427 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4428 *) as_qdir=$as_dir;; 4429 esac 4430 as_dirs="'$as_qdir' $as_dirs" 4431 as_dir=`$as_dirname -- "$as_dir" || 4432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4433 X"$as_dir" : 'X\(//\)[^/]' \| \ 4434 X"$as_dir" : 'X\(//\)$' \| \ 4435 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4436 $as_echo X"$as_dir" | 4437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4438 s//\1/ 4439 q 4440 } 4441 /^X\(\/\/\)[^/].*/{ 4442 s//\1/ 4443 q 4444 } 4445 /^X\(\/\/\)$/{ 4446 s//\1/ 4447 q 4448 } 4449 /^X\(\/\).*/{ 4450 s//\1/ 4451 q 4452 } 4453 s/.*/./; q'` 4454 test -d "$as_dir" && break 4455 done 4456 test -z "$as_dirs" || eval "mkdir $as_dirs" 4457 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4458 4459 4460 } # as_fn_mkdir_p 4886 4461 if mkdir -p . 2>/dev/null; then 4887 as_mkdir_p= :4462 as_mkdir_p='mkdir -p "$as_dir"' 4888 4463 else 4889 4464 test -d ./-p && rmdir ./-p … … 4891 4466 fi 4892 4467 4893 as_executable_p="test -f" 4468 if test -x / >/dev/null 2>&1; then 4469 as_test_x='test -x' 4470 else 4471 if ls -dL / >/dev/null 2>&1; then 4472 as_ls_L_option=L 4473 else 4474 as_ls_L_option= 4475 fi 4476 as_test_x=' 4477 eval sh -c '\'' 4478 if test -d "$1"; then 4479 test -d "$1/."; 4480 else 4481 case $1 in #( 4482 -*)set "./$1";; 4483 esac; 4484 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 4485 ???[sx]*):;;*)false;;esac;fi 4486 '\'' sh 4487 ' 4488 fi 4489 as_executable_p=$as_test_x 4894 4490 4895 4491 # Sed expression to map a string onto a valid CPP name. … … 4900 4496 4901 4497 4902 # IFS4903 # We need space, tab and new line, in precisely that order.4904 as_nl='4905 '4906 IFS=" $as_nl"4907 4908 # CDPATH.4909 $as_unset CDPATH4910 4911 4498 exec 6>&1 4912 4913 # Open the log real soon, to keep \$[0] and so on meaningful, and to 4499 ## ----------------------------------- ## 4500 ## Main body of $CONFIG_STATUS script. ## 4501 ## ----------------------------------- ## 4502 _ASEOF 4503 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4504 4505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4506 # Save the log message, to keep $0 and so on meaningful, and to 4914 4507 # report actual input values of CONFIG_FILES etc. instead of their 4915 # values after options handling. Logging --version etc. is OK. 4508 # values after options handling. 4509 ac_log=" 4510 This file was extended by $as_me, which was 4511 generated by GNU Autoconf 2.68. Invocation command line was 4512 4513 CONFIG_FILES = $CONFIG_FILES 4514 CONFIG_HEADERS = $CONFIG_HEADERS 4515 CONFIG_LINKS = $CONFIG_LINKS 4516 CONFIG_COMMANDS = $CONFIG_COMMANDS 4517 $ $0 $@ 4518 4519 on `(hostname || uname -n) 2>/dev/null | sed 1q` 4520 " 4521 4522 _ACEOF 4523 4524 case $ac_config_files in *" 4525 "*) set x $ac_config_files; shift; ac_config_files=$*;; 4526 esac 4527 4528 4529 4530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4531 # Files that config.status was made for. 4532 config_files="$ac_config_files" 4533 4534 _ACEOF 4535 4536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4537 ac_cs_usage="\ 4538 \`$as_me' instantiates files and other configuration actions 4539 from templates according to the current configuration. Unless the files 4540 and actions are specified as TAGs, all are instantiated by default. 4541 4542 Usage: $0 [OPTION]... [TAG]... 4543 4544 -h, --help print this help, then exit 4545 -V, --version print version number and configuration settings, then exit 4546 --config print configuration, then exit 4547 -q, --quiet, --silent 4548 do not print progress messages 4549 -d, --debug don't remove temporary files 4550 --recheck update $as_me by reconfiguring in the same conditions 4551 --file=FILE[:TEMPLATE] 4552 instantiate the configuration file FILE 4553 4554 Configuration files: 4555 $config_files 4556 4557 Report bugs to the package provider." 4558 4559 _ACEOF 4560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4561 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4562 ac_cs_version="\\ 4563 config.status 4564 configured by $0, generated by GNU Autoconf 2.68, 4565 with options \\"\$ac_cs_config\\" 4566 4567 Copyright (C) 2010 Free Software Foundation, Inc. 4568 This config.status script is free software; the Free Software Foundation 4569 gives unlimited permission to copy, distribute and modify it." 4570 4571 ac_pwd='$ac_pwd' 4572 srcdir='$srcdir' 4573 INSTALL='$INSTALL' 4574 test -n "\$AWK" || AWK=awk 4575 _ACEOF 4576 4577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4578 # The default lists apply if the user does not specify any file. 4579 ac_need_defaults=: 4580 while test $# != 0 4581 do 4582 case $1 in 4583 --*=?*) 4584 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4585 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4586 ac_shift=: 4587 ;; 4588 --*=) 4589 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4590 ac_optarg= 4591 ac_shift=: 4592 ;; 4593 *) 4594 ac_option=$1 4595 ac_optarg=$2 4596 ac_shift=shift 4597 ;; 4598 esac 4599 4600 case $ac_option in 4601 # Handling of the options. 4602 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4603 ac_cs_recheck=: ;; 4604 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4605 $as_echo "$ac_cs_version"; exit ;; 4606 --config | --confi | --conf | --con | --co | --c ) 4607 $as_echo "$ac_cs_config"; exit ;; 4608 --debug | --debu | --deb | --de | --d | -d ) 4609 debug=: ;; 4610 --file | --fil | --fi | --f ) 4611 $ac_shift 4612 case $ac_optarg in 4613 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4614 '') as_fn_error $? "missing file argument" ;; 4615 esac 4616 as_fn_append CONFIG_FILES " '$ac_optarg'" 4617 ac_need_defaults=false;; 4618 --he | --h | --help | --hel | -h ) 4619 $as_echo "$ac_cs_usage"; exit ;; 4620 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4621 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4622 ac_cs_silent=: ;; 4623 4624 # This is an error. 4625 -*) as_fn_error $? "unrecognized option: \`$1' 4626 Try \`$0 --help' for more information." ;; 4627 4628 *) as_fn_append ac_config_targets " $1" 4629 ac_need_defaults=false ;; 4630 4631 esac 4632 shift 4633 done 4634 4635 ac_configure_extra_args= 4636 4637 if $ac_cs_silent; then 4638 exec 6>/dev/null 4639 ac_configure_extra_args="$ac_configure_extra_args --silent" 4640 fi 4641 4642 _ACEOF 4643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4644 if \$ac_cs_recheck; then 4645 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4646 shift 4647 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4648 CONFIG_SHELL='$SHELL' 4649 export CONFIG_SHELL 4650 exec "\$@" 4651 fi 4652 4653 _ACEOF 4654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4916 4655 exec 5>>config.log 4917 4656 { … … 4920 4659 ## Running $as_me. ## 4921 4660 _ASBOX 4661 $as_echo "$ac_log" 4922 4662 } >&5 4923 cat >&5 <<_CSEOF 4924 4925 This file was extended by $as_me, which was 4926 generated by GNU Autoconf 2.59. Invocation command line was 4927 4928 CONFIG_FILES = $CONFIG_FILES 4929 CONFIG_HEADERS = $CONFIG_HEADERS 4930 CONFIG_LINKS = $CONFIG_LINKS 4931 CONFIG_COMMANDS = $CONFIG_COMMANDS 4932 $ $0 $@ 4933 4934 _CSEOF 4935 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 4936 echo >&5 4937 _ACEOF 4938 4939 # Files that config.status was made for. 4940 if test -n "$ac_config_files"; then 4941 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 4942 fi 4943 4944 if test -n "$ac_config_headers"; then 4945 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 4946 fi 4947 4948 if test -n "$ac_config_links"; then 4949 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 4950 fi 4951 4952 if test -n "$ac_config_commands"; then 4953 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 4954 fi 4955 4956 cat >>$CONFIG_STATUS <<\_ACEOF 4957 4958 ac_cs_usage="\ 4959 \`$as_me' instantiates files from templates according to the 4960 current configuration. 4961 4962 Usage: $0 [OPTIONS] [FILE]... 4963 4964 -h, --help print this help, then exit 4965 -V, --version print version number, then exit 4966 -q, --quiet do not print progress messages 4967 -d, --debug don't remove temporary files 4968 --recheck update $as_me by reconfiguring in the same conditions 4969 --file=FILE[:TEMPLATE] 4970 instantiate the configuration file FILE 4971 4972 Configuration files: 4973 $config_files 4974 4975 Report bugs to <[email protected]>." 4976 _ACEOF 4977 4978 cat >>$CONFIG_STATUS <<_ACEOF 4979 ac_cs_version="\\ 4980 config.status 4981 configured by $0, generated by GNU Autoconf 2.59, 4982 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4983 4984 Copyright (C) 2003 Free Software Foundation, Inc. 4985 This config.status script is free software; the Free Software Foundation 4986 gives unlimited permission to copy, distribute and modify it." 4987 srcdir=$srcdir 4988 INSTALL="$INSTALL" 4989 _ACEOF 4990 4991 cat >>$CONFIG_STATUS <<\_ACEOF 4992 # If no file are specified by the user, then we need to provide default 4993 # value. By we need to know if files were specified by the user. 4994 ac_need_defaults=: 4995 while test $# != 0 4996 do 4997 case $1 in 4998 --*=*) 4999 ac_option=`expr "x$1" : 'x\([^=]*\)='` 5000 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 5001 ac_shift=: 5002 ;; 5003 -*) 5004 ac_option=$1 5005 ac_optarg=$2 5006 ac_shift=shift 5007 ;; 5008 *) # This is not an option, so the user has probably given explicit 5009 # arguments. 5010 ac_option=$1 5011 ac_need_defaults=false;; 5012 esac 5013 5014 case $ac_option in 5015 # Handling of the options. 5016 _ACEOF 5017 cat >>$CONFIG_STATUS <<\_ACEOF 5018 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5019 ac_cs_recheck=: ;; 5020 --version | --vers* | -V ) 5021 echo "$ac_cs_version"; exit 0 ;; 5022 --he | --h) 5023 # Conflict between --help and --header 5024 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5025 Try \`$0 --help' for more information." >&5 5026 echo "$as_me: error: ambiguous option: $1 5027 Try \`$0 --help' for more information." >&2;} 5028 { (exit 1); exit 1; }; };; 5029 --help | --hel | -h ) 5030 echo "$ac_cs_usage"; exit 0 ;; 5031 --debug | --d* | -d ) 5032 debug=: ;; 5033 --file | --fil | --fi | --f ) 5034 $ac_shift 5035 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5036 ac_need_defaults=false;; 5037 --header | --heade | --head | --hea ) 5038 $ac_shift 5039 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5040 ac_need_defaults=false;; 5041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5042 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5043 ac_cs_silent=: ;; 5044 5045 # This is an error. 5046 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5047 Try \`$0 --help' for more information." >&5 5048 echo "$as_me: error: unrecognized option: $1 5049 Try \`$0 --help' for more information." >&2;} 5050 { (exit 1); exit 1; }; } ;; 5051 5052 *) ac_config_targets="$ac_config_targets $1" ;; 5053 5054 esac 5055 shift 5056 done 5057 5058 ac_configure_extra_args= 5059 5060 if $ac_cs_silent; then 5061 exec 6>/dev/null 5062 ac_configure_extra_args="$ac_configure_extra_args --silent" 5063 fi 5064 5065 _ACEOF 5066 cat >>$CONFIG_STATUS <<_ACEOF 5067 if \$ac_cs_recheck; then 5068 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5069 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5070 fi 5071 5072 _ACEOF 5073 5074 5075 5076 5077 5078 cat >>$CONFIG_STATUS <<\_ACEOF 4663 4664 _ACEOF 4665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4666 _ACEOF 4667 4668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4669 4670 # Handling of arguments. 5079 4671 for ac_config_target in $ac_config_targets 5080 4672 do 5081 case "$ac_config_target" in 5082 # Handling of arguments. 5083 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5084 "jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;; 5085 "java/Makefile" ) CONFIG_FILES="$CONFIG_FILES java/Makefile" ;; 5086 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5087 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5088 { (exit 1); exit 1; }; };; 4673 case $ac_config_target in 4674 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4675 "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;; 4676 "java/Makefile") CONFIG_FILES="$CONFIG_FILES java/Makefile" ;; 4677 4678 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5089 4679 esac 5090 4680 done 4681 5091 4682 5092 4683 # If the user did not use the arguments to specify the items to instantiate, … … 5099 4690 5100 4691 # Have a temporary directory for convenience. Make it in the build tree 5101 # simply because there is no reason to putit here, and in addition,4692 # simply because there is no reason against having it here, and in addition, 5102 4693 # creating and moving files from /tmp can sometimes cause problems. 5103 # Create a temporary directory, and hook for its removal unless debugging. 4694 # Hook for its removal unless debugging. 4695 # Note that there is a small window in which the directory will not be cleaned: 4696 # after its creation but before its name has been assigned to `$tmp'. 5104 4697 $debug || 5105 4698 { 5106 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 5107 trap '{ (exit 1); exit 1; }' 1 2 13 15 4699 tmp= ac_tmp= 4700 trap 'exit_status=$? 4701 : "${ac_tmp:=$tmp}" 4702 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4703 ' 0 4704 trap 'as_fn_exit 1' 1 2 13 15 5108 4705 } 5109 5110 4706 # Create a (secure) tmp directory for tmp files. 5111 4707 5112 4708 { 5113 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&5114 test - n "$tmp" && test -d "$tmp"4709 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4710 test -d "$tmp" 5115 4711 } || 5116 4712 { 5117 tmp=./confstat$$-$RANDOM 5118 (umask 077 && mkdir $tmp) 5119 } || 4713 tmp=./conf$$-$RANDOM 4714 (umask 077 && mkdir "$tmp") 4715 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4716 ac_tmp=$tmp 4717 4718 # Set up the scripts for CONFIG_FILES section. 4719 # No need to generate them if there are no CONFIG_FILES. 4720 # This happens for instance with `./config.status config.h'. 4721 if test -n "$CONFIG_FILES"; then 4722 4723 4724 ac_cr=`echo X | tr X '\015'` 4725 # On cygwin, bash can eat \r inside `` if the user requested igncr. 4726 # But we know of no other shell where ac_cr would be empty at this 4727 # point, so we can use a bashism as a fallback. 4728 if test "x$ac_cr" = x; then 4729 eval ac_cr=\$\'\\r\' 4730 fi 4731 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4732 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4733 ac_cs_awk_cr='\\r' 4734 else 4735 ac_cs_awk_cr=$ac_cr 4736 fi 4737 4738 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4739 _ACEOF 4740 4741 5120 4742 { 5121 echo "$me: cannot create a temporary directory in ." >&2 5122 { (exit 1); exit 1; } 4743 echo "cat >conf$$subs.awk <<_ACEOF" && 4744 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4745 echo "_ACEOF" 4746 } >conf$$subs.sh || 4747 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4748 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4749 ac_delim='%!_!# ' 4750 for ac_last_try in false false false false false :; do 4751 . ./conf$$subs.sh || 4752 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4753 4754 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4755 if test $ac_delim_n = $ac_delim_num; then 4756 break 4757 elif $ac_last_try; then 4758 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4759 else 4760 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4761 fi 4762 done 4763 rm -f conf$$subs.sh 4764 4765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4766 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4767 _ACEOF 4768 sed -n ' 4769 h 4770 s/^/S["/; s/!.*/"]=/ 4771 p 4772 g 4773 s/^[^!]*!// 4774 :repl 4775 t repl 4776 s/'"$ac_delim"'$// 4777 t delim 4778 :nl 4779 h 4780 s/\(.\{148\}\)..*/\1/ 4781 t more1 4782 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4783 p 4784 n 4785 b repl 4786 :more1 4787 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4788 p 4789 g 4790 s/.\{148\}// 4791 t nl 4792 :delim 4793 h 4794 s/\(.\{148\}\)..*/\1/ 4795 t more2 4796 s/["\\]/\\&/g; s/^/"/; s/$/"/ 4797 p 4798 b 4799 :more2 4800 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4801 p 4802 g 4803 s/.\{148\}// 4804 t delim 4805 ' <conf$$subs.awk | sed ' 4806 /^[^""]/{ 4807 N 4808 s/\n// 5123 4809 } 5124 5125 _ACEOF 5126 5127 cat >>$CONFIG_STATUS <<_ACEOF 5128 5129 # 5130 # CONFIG_FILES section. 5131 # 5132 5133 # No need to generate the scripts if there are no CONFIG_FILES. 5134 # This happens for instance when ./config.status config.h 5135 if test -n "\$CONFIG_FILES"; then 5136 # Protect against being on the right side of a sed subst in config.status. 5137 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 5138 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5139 s,@SHELL@,$SHELL,;t t 5140 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 5141 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 5142 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 5143 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 5144 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 5145 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5146 s,@exec_prefix@,$exec_prefix,;t t 5147 s,@prefix@,$prefix,;t t 5148 s,@program_transform_name@,$program_transform_name,;t t 5149 s,@bindir@,$bindir,;t t 5150 s,@sbindir@,$sbindir,;t t 5151 s,@libexecdir@,$libexecdir,;t t 5152 s,@datadir@,$datadir,;t t 5153 s,@sysconfdir@,$sysconfdir,;t t 5154 s,@sharedstatedir@,$sharedstatedir,;t t 5155 s,@localstatedir@,$localstatedir,;t t 5156 s,@libdir@,$libdir,;t t 5157 s,@includedir@,$includedir,;t t 5158 s,@oldincludedir@,$oldincludedir,;t t 5159 s,@infodir@,$infodir,;t t 5160 s,@mandir@,$mandir,;t t 5161 s,@build_alias@,$build_alias,;t t 5162 s,@host_alias@,$host_alias,;t t 5163 s,@target_alias@,$target_alias,;t t 5164 s,@DEFS@,$DEFS,;t t 5165 s,@ECHO_C@,$ECHO_C,;t t 5166 s,@ECHO_N@,$ECHO_N,;t t 5167 s,@ECHO_T@,$ECHO_T,;t t 5168 s,@LIBS@,$LIBS,;t t 5169 s,@build@,$build,;t t 5170 s,@build_cpu@,$build_cpu,;t t 5171 s,@build_vendor@,$build_vendor,;t t 5172 s,@build_os@,$build_os,;t t 5173 s,@host@,$host,;t t 5174 s,@host_cpu@,$host_cpu,;t t 5175 s,@host_vendor@,$host_vendor,;t t 5176 s,@host_os@,$host_os,;t t 5177 s,@target@,$target,;t t 5178 s,@target_cpu@,$target_cpu,;t t 5179 s,@target_vendor@,$target_vendor,;t t 5180 s,@target_os@,$target_os,;t t 5181 s,@CC@,$CC,;t t 5182 s,@CFLAGS@,$CFLAGS,;t t 5183 s,@LDFLAGS@,$LDFLAGS,;t t 5184 s,@CPPFLAGS@,$CPPFLAGS,;t t 5185 s,@ac_ct_CC@,$ac_ct_CC,;t t 5186 s,@EXEEXT@,$EXEEXT,;t t 5187 s,@OBJEXT@,$OBJEXT,;t t 5188 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 5189 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 5190 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 5191 s,@LN_S@,$LN_S,;t t 5192 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 5193 s,@CPP@,$CPP,;t t 5194 s,@EGREP@,$EGREP,;t t 5195 s,@JAVA_HOME@,$JAVA_HOME,;t t 5196 s,@javagdbm_cv_path_javah@,$javagdbm_cv_path_javah,;t t 5197 s,@javagdbm_cv_path_java@,$javagdbm_cv_path_java,;t t 5198 s,@GDBM_LIBPATH@,$GDBM_LIBPATH,;t t 5199 s,@GDBM_INCLUDE@,$GDBM_INCLUDE,;t t 5200 s,@PKG@,$PKG,;t t 5201 s,@JNIINC@,$JNIINC,;t t 5202 s,@JNISUFFIX@,$JNISUFFIX,;t t 5203 s,@JNIFLAGS@,$JNIFLAGS,;t t 5204 s,@LIBOBJS@,$LIBOBJS,;t t 5205 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5206 CEOF 5207 5208 _ACEOF 5209 5210 cat >>$CONFIG_STATUS <<\_ACEOF 5211 # Split the substitutions into bite-sized pieces for seds with 5212 # small command number limits, like on Digital OSF/1 and HP-UX. 5213 ac_max_sed_lines=48 5214 ac_sed_frag=1 # Number of current file. 5215 ac_beg=1 # First line for current file. 5216 ac_end=$ac_max_sed_lines # Line after last line for current file. 5217 ac_more_lines=: 5218 ac_sed_cmds= 5219 while $ac_more_lines; do 5220 if test $ac_beg -gt 1; then 5221 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5222 else 5223 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4810 ' >>$CONFIG_STATUS || ac_write_fail=1 4811 rm -f conf$$subs.awk 4812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4813 _ACAWK 4814 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4815 for (key in S) S_is_set[key] = 1 4816 FS = "" 4817 4818 } 4819 { 4820 line = $ 0 4821 nfields = split(line, field, "@") 4822 substed = 0 4823 len = length(field[1]) 4824 for (i = 2; i < nfields; i++) { 4825 key = field[i] 4826 keylen = length(key) 4827 if (S_is_set[key]) { 4828 value = S[key] 4829 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4830 len += length(value) + length(field[++i]) 4831 substed = 1 4832 } else 4833 len += 1 + keylen 4834 } 4835 4836 print line 4837 } 4838 4839 _ACAWK 4840 _ACEOF 4841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4842 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4843 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4844 else 4845 cat 4846 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4847 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4848 _ACEOF 4849 4850 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4851 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4852 # trailing colons and then remove the whole line if VPATH becomes empty 4853 # (actually we leave an empty line to preserve line numbers). 4854 if test "x$srcdir" = x.; then 4855 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4856 h 4857 s/// 4858 s/^/:/ 4859 s/[ ]*$/:/ 4860 s/:\$(srcdir):/:/g 4861 s/:\${srcdir}:/:/g 4862 s/:@srcdir@:/:/g 4863 s/^:*// 4864 s/:*$// 4865 x 4866 s/\(=[ ]*\).*/\1/ 4867 G 4868 s/\n// 4869 s/^[^=]*=[ ]*$// 4870 }' 4871 fi 4872 4873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4874 fi # test -n "$CONFIG_FILES" 4875 4876 4877 eval set X " :F $CONFIG_FILES " 4878 shift 4879 for ac_tag 4880 do 4881 case $ac_tag in 4882 :[FHLC]) ac_mode=$ac_tag; continue;; 4883 esac 4884 case $ac_mode$ac_tag in 4885 :[FHL]*:*);; 4886 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4887 :[FH]-) ac_tag=-:-;; 4888 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4889 esac 4890 ac_save_IFS=$IFS 4891 IFS=: 4892 set x $ac_tag 4893 IFS=$ac_save_IFS 4894 shift 4895 ac_file=$1 4896 shift 4897 4898 case $ac_mode in 4899 :L) ac_source=$1;; 4900 :[FH]) 4901 ac_file_inputs= 4902 for ac_f 4903 do 4904 case $ac_f in 4905 -) ac_f="$ac_tmp/stdin";; 4906 *) # Look for the file first in the build tree, then in the source tree 4907 # (if the path is not absolute). The absolute path cannot be DOS-style, 4908 # because $ac_f cannot contain `:'. 4909 test -f "$ac_f" || 4910 case $ac_f in 4911 [\\/$]*) false;; 4912 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4913 esac || 4914 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4915 esac 4916 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4917 as_fn_append ac_file_inputs " '$ac_f'" 4918 done 4919 4920 # Let's still pretend it is `configure' which instantiates (i.e., don't 4921 # use $as_me), people would be surprised to read: 4922 # /* config.h. Generated by config.status. */ 4923 configure_input='Generated from '` 4924 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4925 `' by configure.' 4926 if test x"$ac_file" != x-; then 4927 configure_input="$ac_file. $configure_input" 4928 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4929 $as_echo "$as_me: creating $ac_file" >&6;} 5224 4930 fi 5225 if test ! -s $tmp/subs.frag; then 5226 ac_more_lines=false 5227 else 5228 # The purpose of the label and of the branching condition is to 5229 # speed up the sed processing (if there are no `@' at all, there 5230 # is no need to browse any of the substitutions). 5231 # These are the two extra sed commands mentioned above. 5232 (echo ':t 5233 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5234 if test -z "$ac_sed_cmds"; then 5235 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5236 else 5237 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5238 fi 5239 ac_sed_frag=`expr $ac_sed_frag + 1` 5240 ac_beg=$ac_end 5241 ac_end=`expr $ac_end + $ac_max_sed_lines` 5242 fi 5243 done 5244 if test -z "$ac_sed_cmds"; then 5245 ac_sed_cmds=cat 5246 fi 5247 fi # test -n "$CONFIG_FILES" 5248 5249 _ACEOF 5250 cat >>$CONFIG_STATUS <<\_ACEOF 5251 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5252 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5253 case $ac_file in 5254 - | *:- | *:-:* ) # input from stdin 5255 cat >$tmp/stdin 5256 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5257 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5258 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5259 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5260 * ) ac_file_in=$ac_file.in ;; 4931 # Neutralize special characters interpreted by sed in replacement strings. 4932 case $configure_input in #( 4933 *\&* | *\|* | *\\* ) 4934 ac_sed_conf_input=`$as_echo "$configure_input" | 4935 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4936 *) ac_sed_conf_input=$configure_input;; 4937 esac 4938 4939 case $ac_tag in 4940 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4942 esac 4943 ;; 5261 4944 esac 5262 4945 5263 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5264 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4946 ac_dir=`$as_dirname -- "$ac_file" || 5265 4947 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5266 4948 X"$ac_file" : 'X\(//\)[^/]' \| \ 5267 4949 X"$ac_file" : 'X\(//\)$' \| \ 5268 X"$ac_file" : 'X\(/\)' \| \ 5269 . : '\(.\)' 2>/dev/null || 5270 echo X"$ac_file" | 5271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5272 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5273 /^X\(\/\/\)$/{ s//\1/; q; } 5274 /^X\(\/\).*/{ s//\1/; q; } 5275 s/.*/./; q'` 5276 { if $as_mkdir_p; then 5277 mkdir -p "$ac_dir" 5278 else 5279 as_dir="$ac_dir" 5280 as_dirs= 5281 while test ! -d "$as_dir"; do 5282 as_dirs="$as_dir $as_dirs" 5283 as_dir=`(dirname "$as_dir") 2>/dev/null || 5284 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5285 X"$as_dir" : 'X\(//\)[^/]' \| \ 5286 X"$as_dir" : 'X\(//\)$' \| \ 5287 X"$as_dir" : 'X\(/\)' \| \ 5288 . : '\(.\)' 2>/dev/null || 5289 echo X"$as_dir" | 5290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5291 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5292 /^X\(\/\/\)$/{ s//\1/; q; } 5293 /^X\(\/\).*/{ s//\1/; q; } 5294 s/.*/./; q'` 5295 done 5296 test ! -n "$as_dirs" || mkdir $as_dirs 5297 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 5298 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 5299 { (exit 1); exit 1; }; }; } 5300 4950 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4951 $as_echo X"$ac_file" | 4952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4953 s//\1/ 4954 q 4955 } 4956 /^X\(\/\/\)[^/].*/{ 4957 s//\1/ 4958 q 4959 } 4960 /^X\(\/\/\)$/{ 4961 s//\1/ 4962 q 4963 } 4964 /^X\(\/\).*/{ 4965 s//\1/ 4966 q 4967 } 4968 s/.*/./; q'` 4969 as_dir="$ac_dir"; as_fn_mkdir_p 5301 4970 ac_builddir=. 5302 4971 5303 if test "$ac_dir" != .; then 5304 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5305 # A "../" for each directory in $ac_dir_suffix. 5306 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5307 else 5308 ac_dir_suffix= ac_top_builddir= 5309 fi 4972 case "$ac_dir" in 4973 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4974 *) 4975 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4976 # A ".." for each directory in $ac_dir_suffix. 4977 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4978 case $ac_top_builddir_sub in 4979 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4980 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4981 esac ;; 4982 esac 4983 ac_abs_top_builddir=$ac_pwd 4984 ac_abs_builddir=$ac_pwd$ac_dir_suffix 4985 # for backward compatibility: 4986 ac_top_builddir=$ac_top_build_prefix 5310 4987 5311 4988 case $srcdir in 5312 .) # No --srcdir option.We are building in place.4989 .) # We are building in place. 5313 4990 ac_srcdir=. 5314 if test -z "$ac_top_builddir"; then 5315 ac_top_srcdir=. 5316 else 5317 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5318 fi ;; 5319 [\\/]* | ?:[\\/]* ) # Absolute path. 4991 ac_top_srcdir=$ac_top_builddir_sub 4992 ac_abs_top_srcdir=$ac_pwd ;; 4993 [\\/]* | ?:[\\/]* ) # Absolute name. 5320 4994 ac_srcdir=$srcdir$ac_dir_suffix; 5321 ac_top_srcdir=$srcdir ;; 5322 *) # Relative path. 5323 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5324 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4995 ac_top_srcdir=$srcdir 4996 ac_abs_top_srcdir=$srcdir ;; 4997 *) # Relative name. 4998 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4999 ac_top_srcdir=$ac_top_build_prefix$srcdir 5000 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5325 5001 esac 5326 5327 # Do not use `cd foo && pwd` to compute absolute paths, because 5328 # the directories may not exist. 5329 case `pwd` in 5330 .) ac_abs_builddir="$ac_dir";; 5331 *) 5332 case "$ac_dir" in 5333 .) ac_abs_builddir=`pwd`;; 5334 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 5335 *) ac_abs_builddir=`pwd`/"$ac_dir";; 5336 esac;; 5337 esac 5338 case $ac_abs_builddir in 5339 .) ac_abs_top_builddir=${ac_top_builddir}.;; 5340 *) 5341 case ${ac_top_builddir}. in 5342 .) ac_abs_top_builddir=$ac_abs_builddir;; 5343 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 5344 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 5345 esac;; 5346 esac 5347 case $ac_abs_builddir in 5348 .) ac_abs_srcdir=$ac_srcdir;; 5349 *) 5350 case $ac_srcdir in 5351 .) ac_abs_srcdir=$ac_abs_builddir;; 5352 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 5353 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 5354 esac;; 5355 esac 5356 case $ac_abs_builddir in 5357 .) ac_abs_top_srcdir=$ac_top_srcdir;; 5358 *) 5359 case $ac_top_srcdir in 5360 .) ac_abs_top_srcdir=$ac_abs_builddir;; 5361 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 5362 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 5363 esac;; 5364 esac 5365 5002 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5003 5004 5005 case $ac_mode in 5006 :F) 5007 # 5008 # CONFIG_FILE 5009 # 5366 5010 5367 5011 case $INSTALL in 5368 5012 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5369 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;5013 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5370 5014 esac 5371 5372 if test x"$ac_file" != x-; then 5373 { echo "$as_me:$LINENO: creating $ac_file" >&5 5374 echo "$as_me: creating $ac_file" >&6;} 5375 rm -f "$ac_file" 5376 fi 5377 # Let's still pretend it is `configure' which instantiates (i.e., don't 5378 # use $as_me), people would be surprised to read: 5379 # /* config.h. Generated by config.status. */ 5380 if test x"$ac_file" = x-; then 5381 configure_input= 5382 else 5383 configure_input="$ac_file. " 5384 fi 5385 configure_input=$configure_input"Generated from `echo $ac_file_in | 5386 sed 's,.*/,,'` by configure." 5387 5388 # First look for the input files in the build tree, otherwise in the 5389 # src tree. 5390 ac_file_inputs=`IFS=: 5391 for f in $ac_file_in; do 5392 case $f in 5393 -) echo $tmp/stdin ;; 5394 [\\/$]*) 5395 # Absolute (can't be DOS-style, as IFS=:) 5396 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5397 echo "$as_me: error: cannot find input file: $f" >&2;} 5398 { (exit 1); exit 1; }; } 5399 echo "$f";; 5400 *) # Relative 5401 if test -f "$f"; then 5402 # Build tree 5403 echo "$f" 5404 elif test -f "$srcdir/$f"; then 5405 # Source tree 5406 echo "$srcdir/$f" 5407 else 5408 # /dev/null tree 5409 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5410 echo "$as_me: error: cannot find input file: $f" >&2;} 5411 { (exit 1); exit 1; }; } 5412 fi;; 5413 esac 5414 done` || { (exit 1); exit 1; } 5415 _ACEOF 5416 cat >>$CONFIG_STATUS <<_ACEOF 5417 sed "$ac_vpsub 5015 _ACEOF 5016 5017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5018 # If the template does not know about datarootdir, expand it. 5019 # FIXME: This hack should be removed a few years after 2.60. 5020 ac_datarootdir_hack=; ac_datarootdir_seen= 5021 ac_sed_dataroot=' 5022 /datarootdir/ { 5023 p 5024 q 5025 } 5026 /@datadir@/p 5027 /@docdir@/p 5028 /@infodir@/p 5029 /@localedir@/p 5030 /@mandir@/p' 5031 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5032 *datarootdir*) ac_datarootdir_seen=yes;; 5033 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5035 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5036 _ACEOF 5037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5038 ac_datarootdir_hack=' 5039 s&@datadir@&$datadir&g 5040 s&@docdir@&$docdir&g 5041 s&@infodir@&$infodir&g 5042 s&@localedir@&$localedir&g 5043 s&@mandir@&$mandir&g 5044 s&\\\${datarootdir}&$datarootdir&g' ;; 5045 esac 5046 _ACEOF 5047 5048 # Neutralize VPATH when `$srcdir' = `.'. 5049 # Shell code in configure.ac might set extrasub. 5050 # FIXME: do we really want to maintain this feature? 5051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5052 ac_sed_extra="$ac_vpsub 5418 5053 $extrasub 5419 5054 _ACEOF 5420 cat >>$CONFIG_STATUS <<\_ACEOF 5055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5421 5056 :t 5422 5057 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5423 s,@configure_input@,$configure_input,;t t 5424 s,@srcdir@,$ac_srcdir,;t t 5425 s,@abs_srcdir@,$ac_abs_srcdir,;t t 5426 s,@top_srcdir@,$ac_top_srcdir,;t t 5427 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 5428 s,@builddir@,$ac_builddir,;t t 5429 s,@abs_builddir@,$ac_abs_builddir,;t t 5430 s,@top_builddir@,$ac_top_builddir,;t t 5431 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 5432 s,@INSTALL@,$ac_INSTALL,;t t 5433 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 5434 rm -f $tmp/stdin 5435 if test x"$ac_file" != x-; then 5436 mv $tmp/out $ac_file 5437 else 5438 cat $tmp/out 5439 rm -f $tmp/out 5440 fi 5441 5442 done 5443 _ACEOF 5444 5445 cat >>$CONFIG_STATUS <<\_ACEOF 5446 5447 { (exit 0); exit 0; } 5448 _ACEOF 5449 chmod +x $CONFIG_STATUS 5058 s|@configure_input@|$ac_sed_conf_input|;t t 5059 s&@top_builddir@&$ac_top_builddir_sub&;t t 5060 s&@top_build_prefix@&$ac_top_build_prefix&;t t 5061 s&@srcdir@&$ac_srcdir&;t t 5062 s&@abs_srcdir@&$ac_abs_srcdir&;t t 5063 s&@top_srcdir@&$ac_top_srcdir&;t t 5064 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5065 s&@builddir@&$ac_builddir&;t t 5066 s&@abs_builddir@&$ac_abs_builddir&;t t 5067 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5068 s&@INSTALL@&$ac_INSTALL&;t t 5069 $ac_datarootdir_hack 5070 " 5071 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5072 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5073 5074 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5075 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5076 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5077 "$ac_tmp/out"`; test -z "$ac_out"; } && 5078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5079 which seems to be undefined. Please make sure it is defined" >&5 5080 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5081 which seems to be undefined. Please make sure it is defined" >&2;} 5082 5083 rm -f "$ac_tmp/stdin" 5084 case $ac_file in 5085 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5086 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5087 esac \ 5088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5089 ;; 5090 5091 5092 5093 esac 5094 5095 done # for ac_tag 5096 5097 5098 as_fn_exit 0 5099 _ACEOF 5450 5100 ac_clean_files=$ac_clean_files_save 5101 5102 test $ac_write_fail = 0 || 5103 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5451 5104 5452 5105 … … 5469 5122 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5470 5123 # would make configure fail if this is the last instruction. 5471 $ac_cs_success || { (exit 1); exit 1; } 5472 fi 5473 5124 $ac_cs_success || as_fn_exit 1 5125 fi 5126 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5128 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5129 fi 5130 -
main/trunk/greenstone3/src/packages/javagdbm/configure.in
r21433 r25173 50 50 if test "$arch_64bit" = yes; then 51 51 AC_MSG_RESULT(yes) 52 if test -z "$COMPAT32BITFLAGS" ; then 53 COMPAT32BITFLAGS="-m32" 52 if test -z "$ARCH_DEP_FLAGS" ; then 53 ARCH_DEP_FLAGS="-fPIC" 54 gsdlarch='64' 54 55 fi 55 56 else 56 57 AC_MSG_RESULT(no) 57 if test -z "$COMPAT32BITFLAGS" ; then 58 COMPAT32BITFLAGS= 59 fi 60 fi 61 62 # Only need compat32bitflag if using MG or MGPP 63 if test "$ENABLE_MG" = "0" ; then 64 COMPAT32BITFLAGS= 65 else 66 if test "$ENABLE_MGPP" = "0" ; then 67 COMPAT32BITFLAGS= 68 fi 69 fi 70 71 export COMPAT32BITFLAGS 72 AC_SUBST(COMPAT32BITFLAGS) 73 74 58 if test -z "$ARCH_DEP_FLAGS" ; then 59 ARCH_DEP_FLAGS= 60 gsdlarch='32' 61 fi 62 fi 63 64 export ARCH_DEP_FLAGS 65 AC_SUBST(ARCH_DEP_FLAGS) 75 66 76 67 AC_CHECK_SIZEOF(void *)
Note:
See TracChangeset
for help on using the changeset viewer.