- Timestamp:
- 2021-08-18T11:07:13+12:00 (3 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/aclocal.m4
r23356 r35306 227 227 AC_PROVIDE([$0])dnl 228 228 if test "x$JAVACFLAGS" = x ; then 229 JAVACFLAGS="-source 1. 4 -target 1.4"229 JAVACFLAGS="-source 1.6 -target 1.6" 230 230 fi 231 231 AC_SUBST(JAVACFLAGS) -
main/trunk/greenstone2/build-src/configure
r28509 r35306 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1.3 # Generated by GNU Autoconf 2.69. 4 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 7 9 # This configure script is free software; the Free Software Foundation 8 10 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 12 14 13 15 # Be more Bourne compatible 14 16 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 18 emulate sh 17 19 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 21 # is contrary to our usage. Disable this feature. 20 22 alias -g '${1+"$@"}'='"$@"' 21 23 setopt NO_GLOB_SUBST 22 24 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 25 30 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 39 71 40 72 # The user is always right. 41 73 if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 58 79 fi 59 80 … … 64 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 86 # splitting by setting IFS to empty value.) 66 as_nl='67 '68 87 IFS=" "" $as_nl" 69 88 70 89 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 90 as_myself= 91 case $0 in #(( 72 92 *[\\/]* ) as_myself=$0 ;; 73 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 76 96 IFS=$as_save_IFS 77 97 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break79 done98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 80 100 IFS=$as_save_IFS 81 101 … … 88 108 fi 89 109 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 97 121 done 98 122 PS1='$ ' … … 101 125 102 126 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 127 LC_ALL=C 128 export LC_ALL 129 LANGUAGE=C 130 export LANGUAGE 131 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202 else 203 as_have_required=no 204 fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207 else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209 as_found=false 210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 107 211 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225 fi 226 fi 227 done;; 228 esac 229 as_found=false 230 done 231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234 fi; } 235 IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241 # neutralization value for shells without unset; and this also 242 # works around shells that cannot unset nonexistent variables. 243 # Preserve -v and -x to the replacement shell. 244 BASH_ENV=/dev/null 245 ENV=/dev/null 246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247 case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252 esac 253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254 # Admittedly, this is quite paranoid, since all the known shells bail 255 # out after a failed `exec'. 256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257 exit 255 258 fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 110 266 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 267 $as_echo "$0: Please tell [email protected] about your system, 268 $0: including any error possibly output before this 269 $0: message. Then install a modern shell, or manually run 270 $0: the script under such a shell if you do have one." 112 271 fi 113 done 114 115 # Required to use basename. 272 exit 1 273 fi 274 fi 275 fi 276 SHELL=${CONFIG_SHELL-/bin/sh} 277 export SHELL 278 # Unset more variables known to interfere with behavior of common tools. 279 CLICOLOR_FORCE= GREP_OPTIONS= 280 unset CLICOLOR_FORCE GREP_OPTIONS 281 282 ## --------------------- ## 283 ## M4sh Shell Functions. ## 284 ## --------------------- ## 285 # as_fn_unset VAR 286 # --------------- 287 # Portably unset VAR. 288 as_fn_unset () 289 { 290 { eval $1=; unset $1;} 291 } 292 as_unset=as_fn_unset 293 294 # as_fn_set_status STATUS 295 # ----------------------- 296 # Set $? to STATUS, without forking. 297 as_fn_set_status () 298 { 299 return $1 300 } # as_fn_set_status 301 302 # as_fn_exit STATUS 303 # ----------------- 304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305 as_fn_exit () 306 { 307 set +e 308 as_fn_set_status $1 309 exit $1 310 } # as_fn_exit 311 312 # as_fn_mkdir_p 313 # ------------- 314 # Create "$as_dir" as a directory, including parents if necessary. 315 as_fn_mkdir_p () 316 { 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334 $as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358 } # as_fn_mkdir_p 359 360 # as_fn_executable_p FILE 361 # ----------------------- 362 # Test if FILE is an executable regular file. 363 as_fn_executable_p () 364 { 365 test -f "$1" && test -x "$1" 366 } # as_fn_executable_p 367 # as_fn_append VAR VALUE 368 # ---------------------- 369 # Append the text in VALUE to the end of the definition contained in VAR. Take 370 # advantage of any shell optimizations that allow amortized linear growth over 371 # repeated appends, instead of the typical quadratic growth present in naive 372 # implementations. 373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378 else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383 fi # as_fn_append 384 385 # as_fn_arith ARG... 386 # ------------------ 387 # Perform arithmetic evaluation on the ARGs, and store the result in the 388 # global $as_val. Take advantage of shells that can avoid forks. The arguments 389 # must be portable across $(()) and expr. 390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395 else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400 fi # as_fn_arith 401 402 403 # as_fn_error STATUS ERROR [LINENO LOG_FD] 404 # ---------------------------------------- 405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407 # script with STATUS, using 1 if that was 0. 408 as_fn_error () 409 { 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417 } # as_fn_error 418 116 419 if expr a : '\(a\)' >/dev/null 2>&1 && 117 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 127 430 fi 128 431 129 130 # Name of the executable. 432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434 else 435 as_dirname=false 436 fi 437 131 438 as_me=`$as_basename -- "$0" || 132 439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 440 X"$0" : 'X\(//\)$' \| \ 134 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" |442 $as_echo X/"$0" | 136 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 444 s//\1/ … … 148 455 s/.*/./; q'` 149 456 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell [email protected] about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 457 # Avoid depending upon Character Ranges. 458 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461 as_cr_digits='0123456789' 462 as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 470 sed -n ' 439 471 p … … 452 484 ' >$as_me.lineno && 453 485 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 456 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 457 492 # Don't try to exec as it changes $[0], causing all sort of problems 458 493 # (the dirname of $[0] is not the place where we might find the … … 463 498 } 464 499 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then467 as_dirname=dirname468 else469 as_dirname=false470 fi471 472 500 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 501 case `echo -n x` in #((((( 474 502 -n*) 475 case `echo 'x \c'` in503 case `echo 'xy\c'` in 476 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 478 508 esac;; 479 509 *) … … 481 511 esac 482 512 483 if expr a : '\(a\)' >/dev/null 2>&1 &&484 test "X`expr 00001 : '.*\(...\)'`" = X001; then485 as_expr=expr486 else487 as_expr=false488 fi489 490 513 rm -f conf$$ conf$$.exe conf$$.file 491 514 if test -d conf$$.dir; then … … 493 516 else 494 517 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508 else 509 as_ln_s='cp -p' 518 mkdir conf$$.dir 2>/dev/null 519 fi 520 if (echo >conf$$.file) 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then 522 as_ln_s='ln -s' 523 # ... but there are two gotchas: 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -pR'. 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -pR' 529 elif ln conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s=ln 531 else 532 as_ln_s='cp -pR' 533 fi 534 else 535 as_ln_s='cp -pR' 510 536 fi 511 537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 513 539 514 540 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p= :541 as_mkdir_p='mkdir -p "$as_dir"' 516 542 else 517 543 test -d ./-p && rmdir ./-p … … 519 545 fi 520 546 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 547 as_test_x='test -x' 548 as_executable_p=as_fn_executable_p 543 549 544 550 # Sed expression to map a string onto a valid CPP name. … … 549 555 550 556 551 552 exec 7<&0 </dev/null6>&1557 test -n "$DJDIR" || exec 7<&0 </dev/null 558 exec 6>&1 553 559 554 560 # Name of the host. 555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 556 562 # so uname gets run too. 557 563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 568 574 MFLAGS= 569 575 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh}571 576 572 577 # Identity of this package. … … 576 581 PACKAGE_STRING= 577 582 PACKAGE_BUGREPORT= 583 PACKAGE_URL= 578 584 579 585 # Factoring default headers for most tests. … … 613 619 #endif" 614 620 615 ac_subst_vars='SHELL 621 enable_option_checking=no 622 ac_subst_vars='LTLIBOBJS 623 subdirs 624 MODULEDIRS 625 gsdlos 626 STATIC 627 LIBOBJS 628 ALLOCA 629 ANSI2KNR 630 U 631 EGREP 632 GREP 633 CPP 634 MICO_VER 635 ARCH_DEP_FLAGS 636 STRIP 637 RANLIB 638 SET_MAKE 639 LN_S 640 INSTALL_DATA 641 INSTALL_SCRIPT 642 INSTALL_PROGRAM 643 target_os 644 target_vendor 645 target_cpu 646 target 647 host_os 648 host_vendor 649 host_cpu 650 host 651 build_os 652 build_vendor 653 build_cpu 654 build 655 YFLAGS 656 YACC 657 AWK 658 uudecode 659 JAVA 660 JAVACFLAGS 661 JAVAC 662 ac_ct_CXX 663 CXXFLAGS 664 CXX 665 OBJEXT 666 EXEEXT 667 ac_ct_CC 668 CPPFLAGS 669 CC 670 CFLAGS 671 LDFLAGS 672 ENABLE_GNOMELIB_EXT 673 USE_SQLITE 674 ENABLE_ACCENTFOLD 675 USE_GDBM 676 USE_JDBM 677 USE_WVWARE 678 ENABLE_JAVA 679 USE_YAZ 680 USE_Z3950 681 MICO_DIR 682 USE_CORBA 683 USE_LANGACTION 684 USE_FASTCGI 685 VERSION 686 PACKAGE 687 target_alias 688 host_alias 689 build_alias 690 LIBS 691 ECHO_T 692 ECHO_N 693 ECHO_C 694 DEFS 695 mandir 696 localedir 697 libdir 698 psdir 699 pdfdir 700 dvidir 701 htmldir 702 infodir 703 docdir 704 oldincludedir 705 includedir 706 runstatedir 707 localstatedir 708 sharedstatedir 709 sysconfdir 710 datadir 711 datarootdir 712 libexecdir 713 sbindir 714 bindir 715 program_transform_name 716 prefix 717 exec_prefix 718 PACKAGE_URL 719 PACKAGE_BUGREPORT 720 PACKAGE_STRING 721 PACKAGE_VERSION 722 PACKAGE_TARNAME 723 PACKAGE_NAME 616 724 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 PACKAGE 653 VERSION 654 USE_FASTCGI 655 USE_LANGACTION 656 USE_CORBA 657 MICO_DIR 658 USE_Z3950 659 USE_YAZ 660 ENABLE_JAVA 661 USE_WVWARE 662 USE_JDBM 663 USE_GDBM 664 ENABLE_ACCENTFOLD 665 USE_SQLITE 666 ENABLE_GNOMELIB_EXT 667 LDFLAGS 668 CFLAGS 669 CC 670 CPPFLAGS 671 ac_ct_CC 672 EXEEXT 673 OBJEXT 674 CXX 675 CXXFLAGS 676 ac_ct_CXX 677 JAVAC 678 JAVACFLAGS 679 JAVA 680 uudecode 681 AWK 682 YACC 683 YFLAGS 684 build 685 build_cpu 686 build_vendor 687 build_os 688 host 689 host_cpu 690 host_vendor 691 host_os 692 target 693 target_cpu 694 target_vendor 695 target_os 696 INSTALL_PROGRAM 697 INSTALL_SCRIPT 698 INSTALL_DATA 699 LN_S 700 SET_MAKE 701 RANLIB 702 STRIP 703 ARCH_DEP_FLAGS 704 MICO_VER 705 CPP 706 GREP 707 EGREP 708 U 709 ANSI2KNR 710 ALLOCA 711 LIBOBJS 712 STATIC 713 gsdlos 714 MODULEDIRS 715 subdirs 716 LTLIBOBJS' 725 SHELL' 717 726 ac_subst_files='' 727 ac_user_opts=' 728 enable_option_checking 729 enable_corba 730 with_micodir 731 enable_z3950 732 enable_yaz 733 enable_java 734 enable_wvware 735 enable_jdbm 736 enable_gdbm 737 enable_accentfold 738 enable_sqlite 739 enable_gnome_lib_ext 740 with_dmalloc 741 with_regex 742 ' 718 743 ac_precious_vars='build_alias 719 744 host_alias … … 735 760 ac_init_help= 736 761 ac_init_version=false 762 ac_unrecognized_opts= 763 ac_unrecognized_sep= 737 764 # The variables have the same names as the options, with 738 765 # dashes changed to underlines. … … 766 793 sharedstatedir='${prefix}/com' 767 794 localstatedir='${prefix}/var' 795 runstatedir='${localstatedir}/run' 768 796 includedir='${prefix}/include' 769 797 oldincludedir='/usr/include' … … 790 818 791 819 case $ac_option in 792 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 793 *) ac_optarg=yes ;; 820 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 821 *=) ac_optarg= ;; 822 *) ac_optarg=yes ;; 794 823 esac 795 824 … … 833 862 834 863 -disable-* | --disable-*) 835 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`864 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 836 865 # Reject names that are not valid shell variable names. 837 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 838 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 839 { (exit 1); exit 1; }; } 840 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 841 eval enable_$ac_feature=no ;; 866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 867 as_fn_error $? "invalid feature name: $ac_useropt" 868 ac_useropt_orig=$ac_useropt 869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 870 case $ac_user_opts in 871 *" 872 "enable_$ac_useropt" 873 "*) ;; 874 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 875 ac_unrecognized_sep=', ';; 876 esac 877 eval enable_$ac_useropt=no ;; 842 878 843 879 -docdir | --docdir | --docdi | --doc | --do) … … 852 888 853 889 -enable-* | --enable-*) 854 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`890 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 855 891 # Reject names that are not valid shell variable names. 856 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 857 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 858 { (exit 1); exit 1; }; } 859 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 860 eval enable_$ac_feature=\$ac_optarg ;; 892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 893 as_fn_error $? "invalid feature name: $ac_useropt" 894 ac_useropt_orig=$ac_useropt 895 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 896 case $ac_user_opts in 897 *" 898 "enable_$ac_useropt" 899 "*) ;; 900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 901 ac_unrecognized_sep=', ';; 902 esac 903 eval enable_$ac_useropt=\$ac_optarg ;; 861 904 862 905 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1003 1046 silent=yes ;; 1004 1047 1048 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1049 | --runstate | --runstat | --runsta | --runst | --runs \ 1050 | --run | --ru | --r) 1051 ac_prev=runstatedir ;; 1052 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1053 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1054 | --run=* | --ru=* | --r=*) 1055 runstatedir=$ac_optarg ;; 1056 1005 1057 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1006 1058 ac_prev=sbindir ;; … … 1049 1101 1050 1102 -with-* | --with-*) 1051 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1103 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1052 1104 # Reject names that are not valid shell variable names. 1053 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1054 { echo "$as_me: error: invalid package name: $ac_package" >&2 1055 { (exit 1); exit 1; }; } 1056 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1057 eval with_$ac_package=\$ac_optarg ;; 1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1106 as_fn_error $? "invalid package name: $ac_useropt" 1107 ac_useropt_orig=$ac_useropt 1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1109 case $ac_user_opts in 1110 *" 1111 "with_$ac_useropt" 1112 "*) ;; 1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1114 ac_unrecognized_sep=', ';; 1115 esac 1116 eval with_$ac_useropt=\$ac_optarg ;; 1058 1117 1059 1118 -without-* | --without-*) 1060 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1119 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1061 1120 # Reject names that are not valid shell variable names. 1062 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1063 { echo "$as_me: error: invalid package name: $ac_package" >&2 1064 { (exit 1); exit 1; }; } 1065 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1066 eval with_$ac_package=no ;; 1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1122 as_fn_error $? "invalid package name: $ac_useropt" 1123 ac_useropt_orig=$ac_useropt 1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1125 case $ac_user_opts in 1126 *" 1127 "with_$ac_useropt" 1128 "*) ;; 1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1130 ac_unrecognized_sep=', ';; 1131 esac 1132 eval with_$ac_useropt=no ;; 1067 1133 1068 1134 --x) … … 1084 1150 x_libraries=$ac_optarg ;; 1085 1151 1086 -*) { echo "$as_me: error: unrecognized option: $ac_option 1087 Try \`$0 --help' for more information." >&2 1088 { (exit 1); exit 1; }; } 1152 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1153 Try \`$0 --help' for more information" 1089 1154 ;; 1090 1155 … … 1092 1157 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1093 1158 # Reject names that are not valid shell variable names. 1094 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1095 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1096 { (exit 1); exit 1; }; } 1159 case $ac_envvar in #( 1160 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1161 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1162 esac 1097 1163 eval $ac_envvar=\$ac_optarg 1098 1164 export $ac_envvar ;; … … 1100 1166 *) 1101 1167 # FIXME: should be removed in autoconf 3.0. 1102 echo "$as_me: WARNING: you should use --build, --host, --target" >&21168 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1103 1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1104 echo "$as_me: WARNING: invalid host type: $ac_option" >&21105 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1171 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1106 1172 ;; 1107 1173 … … 1111 1177 if test -n "$ac_prev"; then 1112 1178 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1113 { echo "$as_me: error: missing argument to $ac_option" >&2 1114 { (exit 1); exit 1; }; } 1115 fi 1116 1117 # Be sure to have absolute directory names. 1179 as_fn_error $? "missing argument to $ac_option" 1180 fi 1181 1182 if test -n "$ac_unrecognized_opts"; then 1183 case $enable_option_checking in 1184 no) ;; 1185 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1186 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1187 esac 1188 fi 1189 1190 # Check all directory arguments for consistency. 1118 1191 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1119 1192 datadir sysconfdir sharedstatedir localstatedir includedir \ 1120 1193 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1121 libdir localedir mandir 1194 libdir localedir mandir runstatedir 1122 1195 do 1123 1196 eval ac_val=\$$ac_var 1197 # Remove trailing slashes. 1198 case $ac_val in 1199 */ ) 1200 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1201 eval $ac_var=\$ac_val;; 1202 esac 1203 # Be sure to have absolute directory names. 1124 1204 case $ac_val in 1125 1205 [\\/$]* | ?:[\\/]* ) continue;; 1126 1206 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1127 1207 esac 1128 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1129 { (exit 1); exit 1; }; } 1208 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1130 1209 done 1131 1210 … … 1141 1220 if test "x$build_alias" = x; then 1142 1221 cross_compiling=maybe 1143 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1144 If a cross compiler is detected then cross compile mode will be used." >&21145 1222 elif test "x$build_alias" != "x$host_alias"; then 1146 1223 cross_compiling=yes … … 1157 1234 ac_ls_di=`ls -di .` && 1158 1235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1159 { echo "$as_me: error: Working directory cannot be determined" >&2 1160 { (exit 1); exit 1; }; } 1236 as_fn_error $? "working directory cannot be determined" 1161 1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1162 { echo "$as_me: error: pwd does not report name of working directory" >&2 1163 { (exit 1); exit 1; }; } 1238 as_fn_error $? "pwd does not report name of working directory" 1164 1239 1165 1240 … … 1168 1243 ac_srcdir_defaulted=yes 1169 1244 # Try the directory containing this script, then the parent directory. 1170 ac_confdir=`$as_dirname -- "$ 0" ||1171 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1172 X"$ 0" : 'X\(//\)[^/]' \| \1173 X"$ 0" : 'X\(//\)$' \| \1174 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1175 echo X"$0" |1245 ac_confdir=`$as_dirname -- "$as_myself" || 1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1247 X"$as_myself" : 'X\(//\)[^/]' \| \ 1248 X"$as_myself" : 'X\(//\)$' \| \ 1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1250 $as_echo X"$as_myself" | 1176 1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1177 1252 s//\1/ … … 1200 1275 if test ! -r "$srcdir/$ac_unique_file"; then 1201 1276 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1202 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1203 { (exit 1); exit 1; }; } 1277 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1204 1278 fi 1205 1279 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1206 1280 ac_abs_confdir=`( 1207 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1208 { (exit 1); exit 1; }; } 1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1209 1282 pwd)` 1210 1283 # When building in place, set srcdir=. … … 1246 1319 --help=recursive display the short help of all the included packages 1247 1320 -V, --version display version information and exit 1248 -q, --quiet, --silent do not print \`checking ...' messages1321 -q, --quiet, --silent do not print \`checking ...' messages 1249 1322 --cache-file=FILE cache test results in FILE [disabled] 1250 1323 -C, --config-cache alias for \`--cache-file=config.cache' … … 1254 1327 Installation directories: 1255 1328 --prefix=PREFIX install architecture-independent files in PREFIX 1256 1329 [$ac_default_prefix] 1257 1330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1258 1331 [PREFIX] 1259 1332 1260 1333 By default, \`make install' will install all the files in … … 1266 1339 1267 1340 Fine tuning of the installation directories: 1268 --bindir=DIR user executables [EPREFIX/bin] 1269 --sbindir=DIR system admin executables [EPREFIX/sbin] 1270 --libexecdir=DIR program executables [EPREFIX/libexec] 1271 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1272 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1273 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1274 --libdir=DIR object code libraries [EPREFIX/lib] 1275 --includedir=DIR C header files [PREFIX/include] 1276 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1277 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1278 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1279 --infodir=DIR info documentation [DATAROOTDIR/info] 1280 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1281 --mandir=DIR man documentation [DATAROOTDIR/man] 1282 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1283 --htmldir=DIR html documentation [DOCDIR] 1284 --dvidir=DIR dvi documentation [DOCDIR] 1285 --pdfdir=DIR pdf documentation [DOCDIR] 1286 --psdir=DIR ps documentation [DOCDIR] 1341 --bindir=DIR user executables [EPREFIX/bin] 1342 --sbindir=DIR system admin executables [EPREFIX/sbin] 1343 --libexecdir=DIR program executables [EPREFIX/libexec] 1344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1346 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1347 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1348 --libdir=DIR object code libraries [EPREFIX/lib] 1349 --includedir=DIR C header files [PREFIX/include] 1350 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1351 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1352 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1353 --infodir=DIR info documentation [DATAROOTDIR/info] 1354 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1355 --mandir=DIR man documentation [DATAROOTDIR/man] 1356 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1357 --htmldir=DIR html documentation [DOCDIR] 1358 --dvidir=DIR dvi documentation [DOCDIR] 1359 --pdfdir=DIR pdf documentation [DOCDIR] 1360 --psdir=DIR ps documentation [DOCDIR] 1287 1361 _ACEOF 1288 1362 … … 1301 1375 1302 1376 Optional Features: 1377 --disable-option-checking ignore unrecognized --enable/--with options 1303 1378 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1304 1379 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1328 1403 nonstandard directory <lib dir> 1329 1404 LIBS libraries to pass to the linker, e.g. -l<library> 1330 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1405 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1331 1406 you have headers in a nonstandard directory <include dir> 1332 1407 CXX C++ compiler command 1333 1408 CXXFLAGS C++ compiler flags 1334 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1335 the first program found out of: `bison -y', `byacc', `yacc'. 1409 YACC The `Yet Another Compiler Compiler' implementation to use. 1410 Defaults to the first program found out of: `bison -y', `byacc', 1411 `yacc'. 1336 1412 YFLAGS The list of arguments that will be passed by default to $YACC. 1337 1413 This script will default YFLAGS to the empty string to avoid a … … 1342 1418 it to find libraries and programs with nonstandard names/locations. 1343 1419 1420 Report bugs to the package provider. 1344 1421 _ACEOF 1345 1422 ac_status=$? … … 1349 1426 # If there are subdirs, report their specific --help. 1350 1427 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1351 test -d "$ac_dir" || continue 1428 test -d "$ac_dir" || 1429 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1430 continue 1352 1431 ac_builddir=. 1353 1432 … … 1355 1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1356 1435 *) 1357 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1436 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1358 1437 # A ".." for each directory in $ac_dir_suffix. 1359 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1438 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1360 1439 case $ac_top_builddir_sub in 1361 1440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1393 1472 $SHELL "$ac_srcdir/configure" --help=recursive 1394 1473 else 1395 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21474 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1396 1475 fi || ac_status=$? 1397 1476 cd "$ac_pwd" || { ac_status=$?; break; } … … 1403 1482 cat <<\_ACEOF 1404 1483 configure 1405 generated by GNU Autoconf 2.61 1406 1407 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1408 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1484 generated by GNU Autoconf 2.69 1485 1486 Copyright (C) 2012 Free Software Foundation, Inc. 1409 1487 This configure script is free software; the Free Software Foundation 1410 1488 gives unlimited permission to copy, distribute and modify it. … … 1412 1490 exit 1413 1491 fi 1492 1493 ## ------------------------ ## 1494 ## Autoconf initialization. ## 1495 ## ------------------------ ## 1496 1497 # ac_fn_c_try_compile LINENO 1498 # -------------------------- 1499 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1500 ac_fn_c_try_compile () 1501 { 1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1503 rm -f conftest.$ac_objext 1504 if { { ac_try="$ac_compile" 1505 case "(($ac_try" in 1506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1507 *) ac_try_echo=$ac_try;; 1508 esac 1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1510 $as_echo "$ac_try_echo"; } >&5 1511 (eval "$ac_compile") 2>conftest.err 1512 ac_status=$? 1513 if test -s conftest.err; then 1514 grep -v '^ *+' conftest.err >conftest.er1 1515 cat conftest.er1 >&5 1516 mv -f conftest.er1 conftest.err 1517 fi 1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1519 test $ac_status = 0; } && { 1520 test -z "$ac_c_werror_flag" || 1521 test ! -s conftest.err 1522 } && test -s conftest.$ac_objext; then : 1523 ac_retval=0 1524 else 1525 $as_echo "$as_me: failed program was:" >&5 1526 sed 's/^/| /' conftest.$ac_ext >&5 1527 1528 ac_retval=1 1529 fi 1530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1531 as_fn_set_status $ac_retval 1532 1533 } # ac_fn_c_try_compile 1534 1535 # ac_fn_cxx_try_compile LINENO 1536 # ---------------------------- 1537 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1538 ac_fn_cxx_try_compile () 1539 { 1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1541 rm -f conftest.$ac_objext 1542 if { { ac_try="$ac_compile" 1543 case "(($ac_try" in 1544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1545 *) ac_try_echo=$ac_try;; 1546 esac 1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1548 $as_echo "$ac_try_echo"; } >&5 1549 (eval "$ac_compile") 2>conftest.err 1550 ac_status=$? 1551 if test -s conftest.err; then 1552 grep -v '^ *+' conftest.err >conftest.er1 1553 cat conftest.er1 >&5 1554 mv -f conftest.er1 conftest.err 1555 fi 1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1557 test $ac_status = 0; } && { 1558 test -z "$ac_cxx_werror_flag" || 1559 test ! -s conftest.err 1560 } && test -s conftest.$ac_objext; then : 1561 ac_retval=0 1562 else 1563 $as_echo "$as_me: failed program was:" >&5 1564 sed 's/^/| /' conftest.$ac_ext >&5 1565 1566 ac_retval=1 1567 fi 1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1569 as_fn_set_status $ac_retval 1570 1571 } # ac_fn_cxx_try_compile 1572 1573 # ac_fn_c_try_cpp LINENO 1574 # ---------------------- 1575 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1576 ac_fn_c_try_cpp () 1577 { 1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1579 if { { ac_try="$ac_cpp conftest.$ac_ext" 1580 case "(($ac_try" in 1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1582 *) ac_try_echo=$ac_try;; 1583 esac 1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1585 $as_echo "$ac_try_echo"; } >&5 1586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1587 ac_status=$? 1588 if test -s conftest.err; then 1589 grep -v '^ *+' conftest.err >conftest.er1 1590 cat conftest.er1 >&5 1591 mv -f conftest.er1 conftest.err 1592 fi 1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1594 test $ac_status = 0; } > conftest.i && { 1595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1596 test ! -s conftest.err 1597 }; then : 1598 ac_retval=0 1599 else 1600 $as_echo "$as_me: failed program was:" >&5 1601 sed 's/^/| /' conftest.$ac_ext >&5 1602 1603 ac_retval=1 1604 fi 1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1606 as_fn_set_status $ac_retval 1607 1608 } # ac_fn_c_try_cpp 1609 1610 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1611 # ------------------------------------------------------- 1612 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1613 # the include files in INCLUDES and setting the cache variable VAR 1614 # accordingly. 1615 ac_fn_c_check_header_mongrel () 1616 { 1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1618 if eval \${$3+:} false; then : 1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1620 $as_echo_n "checking for $2... " >&6; } 1621 if eval \${$3+:} false; then : 1622 $as_echo_n "(cached) " >&6 1623 fi 1624 eval ac_res=\$$3 1625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1626 $as_echo "$ac_res" >&6; } 1627 else 1628 # Is the header compilable? 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1630 $as_echo_n "checking $2 usability... " >&6; } 1631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1632 /* end confdefs.h. */ 1633 $4 1634 #include <$2> 1635 _ACEOF 1636 if ac_fn_c_try_compile "$LINENO"; then : 1637 ac_header_compiler=yes 1638 else 1639 ac_header_compiler=no 1640 fi 1641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1643 $as_echo "$ac_header_compiler" >&6; } 1644 1645 # Is the header present? 1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1647 $as_echo_n "checking $2 presence... " >&6; } 1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1649 /* end confdefs.h. */ 1650 #include <$2> 1651 _ACEOF 1652 if ac_fn_c_try_cpp "$LINENO"; then : 1653 ac_header_preproc=yes 1654 else 1655 ac_header_preproc=no 1656 fi 1657 rm -f conftest.err conftest.i conftest.$ac_ext 1658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1659 $as_echo "$ac_header_preproc" >&6; } 1660 1661 # So? What about this header? 1662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1663 yes:no: ) 1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1665 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1667 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1668 ;; 1669 no:yes:* ) 1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1671 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1673 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1675 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1677 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1679 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1680 ;; 1681 esac 1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1683 $as_echo_n "checking for $2... " >&6; } 1684 if eval \${$3+:} false; then : 1685 $as_echo_n "(cached) " >&6 1686 else 1687 eval "$3=\$ac_header_compiler" 1688 fi 1689 eval ac_res=\$$3 1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1691 $as_echo "$ac_res" >&6; } 1692 fi 1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1694 1695 } # ac_fn_c_check_header_mongrel 1696 1697 # ac_fn_c_try_run LINENO 1698 # ---------------------- 1699 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1700 # that executables *can* be run. 1701 ac_fn_c_try_run () 1702 { 1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1704 if { { ac_try="$ac_link" 1705 case "(($ac_try" in 1706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1707 *) ac_try_echo=$ac_try;; 1708 esac 1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1710 $as_echo "$ac_try_echo"; } >&5 1711 (eval "$ac_link") 2>&5 1712 ac_status=$? 1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1714 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1715 { { case "(($ac_try" in 1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1717 *) ac_try_echo=$ac_try;; 1718 esac 1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1720 $as_echo "$ac_try_echo"; } >&5 1721 (eval "$ac_try") 2>&5 1722 ac_status=$? 1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1724 test $ac_status = 0; }; }; then : 1725 ac_retval=0 1726 else 1727 $as_echo "$as_me: program exited with status $ac_status" >&5 1728 $as_echo "$as_me: failed program was:" >&5 1729 sed 's/^/| /' conftest.$ac_ext >&5 1730 1731 ac_retval=$ac_status 1732 fi 1733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1735 as_fn_set_status $ac_retval 1736 1737 } # ac_fn_c_try_run 1738 1739 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1740 # ------------------------------------------------------- 1741 # Tests whether HEADER exists and can be compiled using the include files in 1742 # INCLUDES, setting the cache variable VAR accordingly. 1743 ac_fn_c_check_header_compile () 1744 { 1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1747 $as_echo_n "checking for $2... " >&6; } 1748 if eval \${$3+:} false; then : 1749 $as_echo_n "(cached) " >&6 1750 else 1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1752 /* end confdefs.h. */ 1753 $4 1754 #include <$2> 1755 _ACEOF 1756 if ac_fn_c_try_compile "$LINENO"; then : 1757 eval "$3=yes" 1758 else 1759 eval "$3=no" 1760 fi 1761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1762 fi 1763 eval ac_res=\$$3 1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1765 $as_echo "$ac_res" >&6; } 1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1767 1768 } # ac_fn_c_check_header_compile 1769 1770 # ac_fn_c_try_link LINENO 1771 # ----------------------- 1772 # Try to link conftest.$ac_ext, and return whether this succeeded. 1773 ac_fn_c_try_link () 1774 { 1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1776 rm -f conftest.$ac_objext conftest$ac_exeext 1777 if { { ac_try="$ac_link" 1778 case "(($ac_try" in 1779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1780 *) ac_try_echo=$ac_try;; 1781 esac 1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1783 $as_echo "$ac_try_echo"; } >&5 1784 (eval "$ac_link") 2>conftest.err 1785 ac_status=$? 1786 if test -s conftest.err; then 1787 grep -v '^ *+' conftest.err >conftest.er1 1788 cat conftest.er1 >&5 1789 mv -f conftest.er1 conftest.err 1790 fi 1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1792 test $ac_status = 0; } && { 1793 test -z "$ac_c_werror_flag" || 1794 test ! -s conftest.err 1795 } && test -s conftest$ac_exeext && { 1796 test "$cross_compiling" = yes || 1797 test -x conftest$ac_exeext 1798 }; then : 1799 ac_retval=0 1800 else 1801 $as_echo "$as_me: failed program was:" >&5 1802 sed 's/^/| /' conftest.$ac_ext >&5 1803 1804 ac_retval=1 1805 fi 1806 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1807 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1808 # interfere with the next link command; also delete a directory that is 1809 # left behind by Apple's compiler. We do this before executing the actions. 1810 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1812 as_fn_set_status $ac_retval 1813 1814 } # ac_fn_c_try_link 1815 1816 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1817 # ------------------------------------------- 1818 # Tests whether TYPE exists after having included INCLUDES, setting cache 1819 # variable VAR accordingly. 1820 ac_fn_c_check_type () 1821 { 1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1824 $as_echo_n "checking for $2... " >&6; } 1825 if eval \${$3+:} false; then : 1826 $as_echo_n "(cached) " >&6 1827 else 1828 eval "$3=no" 1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1830 /* end confdefs.h. */ 1831 $4 1832 int 1833 main () 1834 { 1835 if (sizeof ($2)) 1836 return 0; 1837 ; 1838 return 0; 1839 } 1840 _ACEOF 1841 if ac_fn_c_try_compile "$LINENO"; then : 1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1843 /* end confdefs.h. */ 1844 $4 1845 int 1846 main () 1847 { 1848 if (sizeof (($2))) 1849 return 0; 1850 ; 1851 return 0; 1852 } 1853 _ACEOF 1854 if ac_fn_c_try_compile "$LINENO"; then : 1855 1856 else 1857 eval "$3=yes" 1858 fi 1859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1860 fi 1861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1862 fi 1863 eval ac_res=\$$3 1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1865 $as_echo "$ac_res" >&6; } 1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1867 1868 } # ac_fn_c_check_type 1869 1870 # ac_fn_c_check_func LINENO FUNC VAR 1871 # ---------------------------------- 1872 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1873 ac_fn_c_check_func () 1874 { 1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1877 $as_echo_n "checking for $2... " >&6; } 1878 if eval \${$3+:} false; then : 1879 $as_echo_n "(cached) " >&6 1880 else 1881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1882 /* end confdefs.h. */ 1883 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1884 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1885 #define $2 innocuous_$2 1886 1887 /* System header to define __stub macros and hopefully few prototypes, 1888 which can conflict with char $2 (); below. 1889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1890 <limits.h> exists even on freestanding compilers. */ 1891 1892 #ifdef __STDC__ 1893 # include <limits.h> 1894 #else 1895 # include <assert.h> 1896 #endif 1897 1898 #undef $2 1899 1900 /* Override any GCC internal prototype to avoid an error. 1901 Use char because int might match the return type of a GCC 1902 builtin and then its argument prototype would still apply. */ 1903 #ifdef __cplusplus 1904 extern "C" 1905 #endif 1906 char $2 (); 1907 /* The GNU C library defines this for functions which it implements 1908 to always fail with ENOSYS. Some functions are actually named 1909 something starting with __ and the normal name is an alias. */ 1910 #if defined __stub_$2 || defined __stub___$2 1911 choke me 1912 #endif 1913 1914 int 1915 main () 1916 { 1917 return $2 (); 1918 ; 1919 return 0; 1920 } 1921 _ACEOF 1922 if ac_fn_c_try_link "$LINENO"; then : 1923 eval "$3=yes" 1924 else 1925 eval "$3=no" 1926 fi 1927 rm -f core conftest.err conftest.$ac_objext \ 1928 conftest$ac_exeext conftest.$ac_ext 1929 fi 1930 eval ac_res=\$$3 1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1932 $as_echo "$ac_res" >&6; } 1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1934 1935 } # ac_fn_c_check_func 1936 1937 # ac_fn_cxx_try_run LINENO 1938 # ------------------------ 1939 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1940 # that executables *can* be run. 1941 ac_fn_cxx_try_run () 1942 { 1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1944 if { { ac_try="$ac_link" 1945 case "(($ac_try" in 1946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1947 *) ac_try_echo=$ac_try;; 1948 esac 1949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1950 $as_echo "$ac_try_echo"; } >&5 1951 (eval "$ac_link") 2>&5 1952 ac_status=$? 1953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1954 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1955 { { case "(($ac_try" in 1956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1957 *) ac_try_echo=$ac_try;; 1958 esac 1959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1960 $as_echo "$ac_try_echo"; } >&5 1961 (eval "$ac_try") 2>&5 1962 ac_status=$? 1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1964 test $ac_status = 0; }; }; then : 1965 ac_retval=0 1966 else 1967 $as_echo "$as_me: program exited with status $ac_status" >&5 1968 $as_echo "$as_me: failed program was:" >&5 1969 sed 's/^/| /' conftest.$ac_ext >&5 1970 1971 ac_retval=$ac_status 1972 fi 1973 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1975 as_fn_set_status $ac_retval 1976 1977 } # ac_fn_cxx_try_run 1414 1978 cat >config.log <<_ACEOF 1415 1979 This file contains any messages produced by compilers while … … 1417 1981 1418 1982 It was created by $as_me, which was 1419 generated by GNU Autoconf 2.6 1. Invocation command line was1983 generated by GNU Autoconf 2.69. Invocation command line was 1420 1984 1421 1985 $ $0 $@ … … 1453 2017 IFS=$as_save_IFS 1454 2018 test -z "$as_dir" && as_dir=. 1455 echo "PATH: $as_dir"1456 done2019 $as_echo "PATH: $as_dir" 2020 done 1457 2021 IFS=$as_save_IFS 1458 2022 … … 1488 2052 continue ;; 1489 2053 *\'*) 1490 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2054 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1491 2055 esac 1492 2056 case $ac_pass in 1493 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2057 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1494 2058 2) 1495 a c_configure_args1="$ac_configure_args1'$ac_arg'"2059 as_fn_append ac_configure_args1 " '$ac_arg'" 1496 2060 if test $ac_must_keep_next = true; then 1497 2061 ac_must_keep_next=false # Got value, back to normal. … … 1509 2073 esac 1510 2074 fi 1511 a c_configure_args="$ac_configure_args'$ac_arg'"2075 as_fn_append ac_configure_args " '$ac_arg'" 1512 2076 ;; 1513 2077 esac 1514 2078 done 1515 2079 done 1516 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1517 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2080 { ac_configure_args0=; unset ac_configure_args0;} 2081 { ac_configure_args1=; unset ac_configure_args1;} 1518 2082 1519 2083 # When interrupted or exit'd, cleanup temporary files, and complete … … 1527 2091 echo 1528 2092 1529 cat <<\_ASBOX 1530 ## ---------------- ## 2093 $as_echo "## ---------------- ## 1531 2094 ## Cache variables. ## 1532 ## ---------------- ## 1533 _ASBOX 2095 ## ---------------- ##" 1534 2096 echo 1535 2097 # The following way of writing the cache mishandles newlines in values, … … 1540 2102 *${as_nl}*) 1541 2103 case $ac_var in #( 1542 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51543 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2104 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2105 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1544 2106 esac 1545 2107 case $ac_var in #( 1546 2108 _ | IFS | as_nl) ;; #( 1547 *) $as_unset $ac_var ;; 2109 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2110 *) { eval $ac_var=; unset $ac_var;} ;; 1548 2111 esac ;; 1549 2112 esac … … 1564 2127 echo 1565 2128 1566 cat <<\_ASBOX 1567 ## ----------------- ## 2129 $as_echo "## ----------------- ## 1568 2130 ## Output variables. ## 1569 ## ----------------- ## 1570 _ASBOX 2131 ## ----------------- ##" 1571 2132 echo 1572 2133 for ac_var in $ac_subst_vars … … 1574 2135 eval ac_val=\$$ac_var 1575 2136 case $ac_val in 1576 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2137 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1577 2138 esac 1578 echo "$ac_var='\''$ac_val'\''"2139 $as_echo "$ac_var='\''$ac_val'\''" 1579 2140 done | sort 1580 2141 echo 1581 2142 1582 2143 if test -n "$ac_subst_files"; then 1583 cat <<\_ASBOX 1584 ## ------------------- ## 2144 $as_echo "## ------------------- ## 1585 2145 ## File substitutions. ## 1586 ## ------------------- ## 1587 _ASBOX 2146 ## ------------------- ##" 1588 2147 echo 1589 2148 for ac_var in $ac_subst_files … … 1591 2150 eval ac_val=\$$ac_var 1592 2151 case $ac_val in 1593 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2152 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1594 2153 esac 1595 echo "$ac_var='\''$ac_val'\''"2154 $as_echo "$ac_var='\''$ac_val'\''" 1596 2155 done | sort 1597 2156 echo … … 1599 2158 1600 2159 if test -s confdefs.h; then 1601 cat <<\_ASBOX 1602 ## ----------- ## 2160 $as_echo "## ----------- ## 1603 2161 ## confdefs.h. ## 1604 ## ----------- ## 1605 _ASBOX 2162 ## ----------- ##" 1606 2163 echo 1607 2164 cat confdefs.h … … 1609 2166 fi 1610 2167 test "$ac_signal" != 0 && 1611 echo "$as_me: caught signal $ac_signal"1612 echo "$as_me: exit $exit_status"2168 $as_echo "$as_me: caught signal $ac_signal" 2169 $as_echo "$as_me: exit $exit_status" 1613 2170 } >&5 1614 2171 rm -f core *.core core.conftest.* && … … 1617 2174 ' 0 1618 2175 for ac_signal in 1 2 13 15; do 1619 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2176 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1620 2177 done 1621 2178 ac_signal=0 … … 1624 2181 rm -f -r conftest* confdefs.h 1625 2182 2183 $as_echo "/* confdefs.h */" > confdefs.h 2184 1626 2185 # Predefined preprocessor variables. 1627 2186 … … 1630 2189 _ACEOF 1631 2190 1632 1633 2191 cat >>confdefs.h <<_ACEOF 1634 2192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1635 2193 _ACEOF 1636 2194 1637 1638 2195 cat >>confdefs.h <<_ACEOF 1639 2196 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1640 2197 _ACEOF 1641 2198 1642 1643 2199 cat >>confdefs.h <<_ACEOF 1644 2200 #define PACKAGE_STRING "$PACKAGE_STRING" 1645 2201 _ACEOF 1646 2202 1647 1648 2203 cat >>confdefs.h <<_ACEOF 1649 2204 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1650 2205 _ACEOF 1651 2206 2207 cat >>confdefs.h <<_ACEOF 2208 #define PACKAGE_URL "$PACKAGE_URL" 2209 _ACEOF 2210 1652 2211 1653 2212 # Let the site file select an alternate cache file if it wants to. 1654 # Prefer explicitly selected file to automatically selected ones. 2213 # Prefer an explicitly selected file to automatically selected ones. 2214 ac_site_file1=NONE 2215 ac_site_file2=NONE 1655 2216 if test -n "$CONFIG_SITE"; then 1656 set x "$CONFIG_SITE" 2217 # We do not want a PATH search for config.site. 2218 case $CONFIG_SITE in #(( 2219 -*) ac_site_file1=./$CONFIG_SITE;; 2220 */*) ac_site_file1=$CONFIG_SITE;; 2221 *) ac_site_file1=./$CONFIG_SITE;; 2222 esac 1657 2223 elif test "x$prefix" != xNONE; then 1658 set x "$prefix/share/config.site" "$prefix/etc/config.site"1659 else1660 set x "$ac_default_prefix/share/config.site" \ 1661 "$ac_default_prefix/etc/config.site" 1662 fi 1663 shift 1664 for ac_site_file 2224 ac_site_file1=$prefix/share/config.site 2225 ac_site_file2=$prefix/etc/config.site 2226 else 2227 ac_site_file1=$ac_default_prefix/share/config.site 2228 ac_site_file2=$ac_default_prefix/etc/config.site 2229 fi 2230 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1665 2231 do 1666 if test -r "$ac_site_file"; then 1667 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1668 echo "$as_me: loading site script $ac_site_file" >&6;} 2232 test "x$ac_site_file" = xNONE && continue 2233 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2234 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2235 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1669 2236 sed 's/^/| /' "$ac_site_file" >&5 1670 . "$ac_site_file" 2237 . "$ac_site_file" \ 2238 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2240 as_fn_error $? "failed to load site script $ac_site_file 2241 See \`config.log' for more details" "$LINENO" 5; } 1671 2242 fi 1672 2243 done 1673 2244 1674 2245 if test -r "$cache_file"; then 1675 # Some versions of bash will fail to source /dev/null (special 1676 # files actually), so we avoid doing that.1677 if test -f "$cache_file"; then1678 { echo "$as_me:$LINENO: loading cache $cache_file" >&51679 echo "$as_me: loading cache $cache_file" >&6;}2246 # Some versions of bash will fail to source /dev/null (special files 2247 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2248 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2249 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2250 $as_echo "$as_me: loading cache $cache_file" >&6;} 1680 2251 case $cache_file in 1681 2252 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1684 2255 fi 1685 2256 else 1686 { echo "$as_me:$LINENO: creating cache $cache_file" >&51687 echo "$as_me: creating cache $cache_file" >&6;}2257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2258 $as_echo "$as_me: creating cache $cache_file" >&6;} 1688 2259 >$cache_file 1689 2260 fi … … 1699 2270 case $ac_old_set,$ac_new_set in 1700 2271 set,) 1701 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51702 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2273 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1703 2274 ac_cache_corrupted=: ;; 1704 2275 ,set) 1705 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51706 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2277 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1707 2278 ac_cache_corrupted=: ;; 1708 2279 ,);; 1709 2280 *) 1710 2281 if test "x$ac_old_val" != "x$ac_new_val"; then 1711 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1712 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1713 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1714 echo "$as_me: former value: $ac_old_val" >&2;} 1715 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1716 echo "$as_me: current value: $ac_new_val" >&2;} 1717 ac_cache_corrupted=: 2282 # differences in whitespace do not lead to failure. 2283 ac_old_val_w=`echo x $ac_old_val` 2284 ac_new_val_w=`echo x $ac_new_val` 2285 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2286 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2287 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2288 ac_cache_corrupted=: 2289 else 2290 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2291 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2292 eval $ac_var=\$ac_old_val 2293 fi 2294 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2295 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2296 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2297 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1718 2298 fi;; 1719 2299 esac … … 1721 2301 if test "$ac_new_set" = set; then 1722 2302 case $ac_new_val in 1723 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2303 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1724 2304 *) ac_arg=$ac_var=$ac_new_val ;; 1725 2305 esac 1726 2306 case " $ac_configure_args " in 1727 2307 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1728 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2308 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1729 2309 esac 1730 2310 fi 1731 2311 done 1732 2312 if $ac_cache_corrupted; then 1733 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1734 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1735 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1736 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1737 { (exit 1); exit 1; }; } 1738 fi 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2316 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2317 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2318 fi 2319 ## -------------------- ## 2320 ## Main body of script. ## 2321 ## -------------------- ## 1755 2322 1756 2323 ac_ext=c … … 1780 2347 USE_FASTCGI=0 1781 2348 if test USE_FASTCGI = 1; then 1782 cat >>confdefs.h <<\_ACEOF 1783 #define USE_FASTCGI 1 1784 _ACEOF 2349 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1785 2350 1786 2351 … … 1788 2353 1789 2354 if test USE_LANGACTION = 1; then 1790 cat >>confdefs.h <<\_ACEOF 1791 #define USE_LANGACTION 1 1792 _ACEOF 2355 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 1793 2356 1794 2357 … … 1796 2359 1797 2360 # Check whether --enable-corba was given. 1798 if test "${enable_corba+set}" = set; then 2361 if test "${enable_corba+set}" = set; then : 1799 2362 enableval=$enable_corba; USE_CORBA=$enableval 1800 2363 else … … 1804 2367 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1805 2368 USE_CORBA=1 1806 cat >>confdefs.h <<\_ACEOF 1807 #define USE_CORBA 1808 _ACEOF 2369 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1809 2370 1810 2371 else … … 1815 2376 1816 2377 # Check whether --with-micodir was given. 1817 if test "${with_micodir+set}" = set; then 2378 if test "${with_micodir+set}" = set; then : 1818 2379 withval=$with_micodir; MICO_DIR=$withval 1819 2380 else … … 1828 2389 1829 2390 # Check whether --enable-z3950 was given. 1830 if test "${enable_z3950+set}" = set; then 2391 if test "${enable_z3950+set}" = set; then : 1831 2392 enableval=$enable_z3950; USE_Z3950=$enableval 1832 2393 else … … 1836 2397 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1837 2398 USE_Z3950=1 1838 cat >>confdefs.h <<\_ACEOF 1839 #define USE_Z3950 1840 _ACEOF 2399 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1841 2400 1842 2401 else … … 1846 2405 1847 2406 # Check whether --enable-yaz was given. 1848 if test "${enable_yaz+set}" = set; then 2407 if test "${enable_yaz+set}" = set; then : 1849 2408 enableval=$enable_yaz; USE_YAZ=$enableval 1850 2409 else … … 1854 2413 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1855 2414 USE_YAZ=1 1856 cat >>confdefs.h <<\_ACEOF 1857 #define USE_YAZ 1858 _ACEOF 2415 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1859 2416 1860 2417 else … … 1864 2421 1865 2422 # Check whether --enable-java was given. 1866 if test "${enable_java+set}" = set; then 2423 if test "${enable_java+set}" = set; then : 1867 2424 enableval=$enable_java; ENABLE_JAVA=$enableval 1868 2425 else … … 1884 2441 1885 2442 # Check whether --enable-wvware was given. 1886 if test "${enable_wvware+set}" = set; then 2443 if test "${enable_wvware+set}" = set; then : 1887 2444 enableval=$enable_wvware; USE_WVWARE=$enableval 1888 2445 else … … 1892 2449 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 1893 2450 USE_WVWARE=1 1894 cat >>confdefs.h <<\_ACEOF 1895 #define USE_WVWARE 1896 _ACEOF 2451 $as_echo "#define USE_WVWARE /**/" >>confdefs.h 1897 2452 1898 2453 else … … 1902 2457 1903 2458 # Check whether --enable-jdbm was given. 1904 if test "${enable_jdbm+set}" = set; then 2459 if test "${enable_jdbm+set}" = set; then : 1905 2460 enableval=$enable_jdbm; USE_JDBM=$enableval 1906 2461 else … … 1910 2465 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1911 2466 USE_JDBM=1 1912 cat >>confdefs.h <<\_ACEOF 1913 #define USE_JDBM 1914 _ACEOF 2467 $as_echo "#define USE_JDBM /**/" >>confdefs.h 1915 2468 1916 2469 else … … 1920 2473 1921 2474 # Check whether --enable-gdbm was given. 1922 if test "${enable_gdbm+set}" = set; then 2475 if test "${enable_gdbm+set}" = set; then : 1923 2476 enableval=$enable_gdbm; USE_GDBM=$enableval 1924 2477 else … … 1928 2481 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1929 2482 USE_GDBM=1 1930 cat >>confdefs.h <<\_ACEOF 1931 #define USE_GDBM 1932 _ACEOF 2483 $as_echo "#define USE_GDBM /**/" >>confdefs.h 1933 2484 1934 2485 else … … 1938 2489 1939 2490 # Check whether --enable-accentfold was given. 1940 if test "${enable_accentfold+set}" = set; then 2491 if test "${enable_accentfold+set}" = set; then : 1941 2492 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1942 2493 else … … 1946 2497 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1947 2498 ENABLE_ACCENTFOLD=1 1948 cat >>confdefs.h <<\_ACEOF 1949 #define ENABLE_ACCENTFOLD 1950 _ACEOF 2499 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 1951 2500 1952 2501 else … … 1956 2505 1957 2506 # Check whether --enable-sqlite was given. 1958 if test "${enable_sqlite+set}" = set; then 2507 if test "${enable_sqlite+set}" = set; then : 1959 2508 enableval=$enable_sqlite; USE_SQLITE=$enableval 1960 2509 else … … 1964 2513 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1965 2514 USE_SQLITE=1 1966 cat >>confdefs.h <<\_ACEOF 1967 #define USE_SQLITE 1968 _ACEOF 2515 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 1969 2516 1970 2517 else … … 1974 2521 1975 2522 # Check whether --enable-gnome-lib-ext was given. 1976 if test "${enable_gnome_lib_ext+set}" = set; then 2523 if test "${enable_gnome_lib_ext+set}" = set; then : 1977 2524 enableval=$enable_gnome_lib_ext; ENABLE_GNOMELIB_EXT=1 1978 2525 else … … 1987 2534 fi 1988 2535 if test -d $gshome/ext/gnome-lib ; then 1989 cat >>confdefs.h <<\_ACEOF 1990 #define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT 1991 _ACEOF 2536 $as_echo "#define ENABLE_GNOMELIB_EXT \$ENABLE_GNOMELIB_EXT" >>confdefs.h 1992 2537 1993 2538 elif test -f $gshome/ext/gnome-lib-minimal/devel.bash ; then 1994 cat >>confdefs.h <<\_ACEOF 1995 #define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT 1996 _ACEOF 2539 $as_echo "#define ENABLE_GNOMELIB_EXT \$ENABLE_GNOMELIB_EXT" >>confdefs.h 1997 2540 1998 2541 else 1999 2542 echo "**** WARNING: No gnome-lib or gnome-lib-minimal(/devel.bash) in gs2build/ext folder. Disabling gnome-lib-ext" 2000 cat >>confdefs.h <<\_ACEOF 2001 #define ENABLE_GNOMELIB_EXT 0 2002 _ACEOF 2543 $as_echo "#define ENABLE_GNOMELIB_EXT 0" >>confdefs.h 2003 2544 2004 2545 fi … … 2021 2562 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2022 2563 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2023 { echo "$as_me:$LINENO: checking for $ac_word" >&52024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2025 if test "${ac_cv_prog_CC+set}" = set; then2026 echo $ECHO_N "(cached) $ECHO_C" >&62564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2565 $as_echo_n "checking for $ac_word... " >&6; } 2566 if ${ac_cv_prog_CC+:} false; then : 2567 $as_echo_n "(cached) " >&6 2027 2568 else 2028 2569 if test -n "$CC"; then … … 2034 2575 IFS=$as_save_IFS 2035 2576 test -z "$as_dir" && as_dir=. 2036 for ac_exec_ext in '' $ac_executable_extensions; do2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2577 for ac_exec_ext in '' $ac_executable_extensions; do 2578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2038 2579 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2040 2581 break 2 2041 2582 fi 2042 2583 done 2043 done2584 done 2044 2585 IFS=$as_save_IFS 2045 2586 … … 2048 2589 CC=$ac_cv_prog_CC 2049 2590 if test -n "$CC"; then 2050 { echo "$as_me:$LINENO: result: $CC" >&52051 echo "${ECHO_T}$CC" >&6; }2052 else 2053 { echo "$as_me:$LINENO: result: no" >&52054 echo "${ECHO_T}no" >&6; }2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2592 $as_echo "$CC" >&6; } 2593 else 2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2595 $as_echo "no" >&6; } 2055 2596 fi 2056 2597 … … 2061 2602 # Extract the first word of "gcc", so it can be a program name with args. 2062 2603 set dummy gcc; ac_word=$2 2063 { echo "$as_me:$LINENO: checking for $ac_word" >&52064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2066 echo $ECHO_N "(cached) $ECHO_C" >&62604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2605 $as_echo_n "checking for $ac_word... " >&6; } 2606 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2607 $as_echo_n "(cached) " >&6 2067 2608 else 2068 2609 if test -n "$ac_ct_CC"; then … … 2074 2615 IFS=$as_save_IFS 2075 2616 test -z "$as_dir" && as_dir=. 2076 for ac_exec_ext in '' $ac_executable_extensions; do2077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2617 for ac_exec_ext in '' $ac_executable_extensions; do 2618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2078 2619 ac_cv_prog_ac_ct_CC="gcc" 2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2080 2621 break 2 2081 2622 fi 2082 2623 done 2083 done2624 done 2084 2625 IFS=$as_save_IFS 2085 2626 … … 2088 2629 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2089 2630 if test -n "$ac_ct_CC"; then 2090 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52091 echo "${ECHO_T}$ac_ct_CC" >&6; }2092 else 2093 { echo "$as_me:$LINENO: result: no" >&52094 echo "${ECHO_T}no" >&6; }2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2632 $as_echo "$ac_ct_CC" >&6; } 2633 else 2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2635 $as_echo "no" >&6; } 2095 2636 fi 2096 2637 … … 2100 2641 case $cross_compiling:$ac_tool_warned in 2101 2642 yes:) 2102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2103 whose name does not start with the host triplet. If you think this 2104 configuration is useful to you, please write to [email protected]." >&5 2105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2106 whose name does not start with the host triplet. If you think this 2107 configuration is useful to you, please write to [email protected]." >&2;} 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2108 2645 ac_tool_warned=yes ;; 2109 2646 esac … … 2118 2655 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2119 2656 set dummy ${ac_tool_prefix}cc; ac_word=$2 2120 { echo "$as_me:$LINENO: checking for $ac_word" >&52121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2122 if test "${ac_cv_prog_CC+set}" = set; then2123 echo $ECHO_N "(cached) $ECHO_C" >&62657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2658 $as_echo_n "checking for $ac_word... " >&6; } 2659 if ${ac_cv_prog_CC+:} false; then : 2660 $as_echo_n "(cached) " >&6 2124 2661 else 2125 2662 if test -n "$CC"; then … … 2131 2668 IFS=$as_save_IFS 2132 2669 test -z "$as_dir" && as_dir=. 2133 for ac_exec_ext in '' $ac_executable_extensions; do2134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2670 for ac_exec_ext in '' $ac_executable_extensions; do 2671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2135 2672 ac_cv_prog_CC="${ac_tool_prefix}cc" 2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2137 2674 break 2 2138 2675 fi 2139 2676 done 2140 done2677 done 2141 2678 IFS=$as_save_IFS 2142 2679 … … 2145 2682 CC=$ac_cv_prog_CC 2146 2683 if test -n "$CC"; then 2147 { echo "$as_me:$LINENO: result: $CC" >&52148 echo "${ECHO_T}$CC" >&6; }2149 else 2150 { echo "$as_me:$LINENO: result: no" >&52151 echo "${ECHO_T}no" >&6; }2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2685 $as_echo "$CC" >&6; } 2686 else 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2688 $as_echo "no" >&6; } 2152 2689 fi 2153 2690 … … 2158 2695 # Extract the first word of "cc", so it can be a program name with args. 2159 2696 set dummy cc; ac_word=$2 2160 { echo "$as_me:$LINENO: checking for $ac_word" >&52161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2162 if test "${ac_cv_prog_CC+set}" = set; then2163 echo $ECHO_N "(cached) $ECHO_C" >&62697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2698 $as_echo_n "checking for $ac_word... " >&6; } 2699 if ${ac_cv_prog_CC+:} false; then : 2700 $as_echo_n "(cached) " >&6 2164 2701 else 2165 2702 if test -n "$CC"; then … … 2172 2709 IFS=$as_save_IFS 2173 2710 test -z "$as_dir" && as_dir=. 2174 for ac_exec_ext in '' $ac_executable_extensions; do2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2711 for ac_exec_ext in '' $ac_executable_extensions; do 2712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2176 2713 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2177 2714 ac_prog_rejected=yes … … 2179 2716 fi 2180 2717 ac_cv_prog_CC="cc" 2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2182 2719 break 2 2183 2720 fi 2184 2721 done 2185 done2722 done 2186 2723 IFS=$as_save_IFS 2187 2724 … … 2202 2739 CC=$ac_cv_prog_CC 2203 2740 if test -n "$CC"; then 2204 { echo "$as_me:$LINENO: result: $CC" >&52205 echo "${ECHO_T}$CC" >&6; }2206 else 2207 { echo "$as_me:$LINENO: result: no" >&52208 echo "${ECHO_T}no" >&6; }2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2742 $as_echo "$CC" >&6; } 2743 else 2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2745 $as_echo "no" >&6; } 2209 2746 fi 2210 2747 … … 2217 2754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2218 2755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2219 { echo "$as_me:$LINENO: checking for $ac_word" >&52220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2221 if test "${ac_cv_prog_CC+set}" = set; then2222 echo $ECHO_N "(cached) $ECHO_C" >&62756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2757 $as_echo_n "checking for $ac_word... " >&6; } 2758 if ${ac_cv_prog_CC+:} false; then : 2759 $as_echo_n "(cached) " >&6 2223 2760 else 2224 2761 if test -n "$CC"; then … … 2230 2767 IFS=$as_save_IFS 2231 2768 test -z "$as_dir" && as_dir=. 2232 for ac_exec_ext in '' $ac_executable_extensions; do2233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2769 for ac_exec_ext in '' $ac_executable_extensions; do 2770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2234 2771 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2236 2773 break 2 2237 2774 fi 2238 2775 done 2239 done2776 done 2240 2777 IFS=$as_save_IFS 2241 2778 … … 2244 2781 CC=$ac_cv_prog_CC 2245 2782 if test -n "$CC"; then 2246 { echo "$as_me:$LINENO: result: $CC" >&52247 echo "${ECHO_T}$CC" >&6; }2248 else 2249 { echo "$as_me:$LINENO: result: no" >&52250 echo "${ECHO_T}no" >&6; }2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2784 $as_echo "$CC" >&6; } 2785 else 2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2787 $as_echo "no" >&6; } 2251 2788 fi 2252 2789 … … 2261 2798 # Extract the first word of "$ac_prog", so it can be a program name with args. 2262 2799 set dummy $ac_prog; ac_word=$2 2263 { echo "$as_me:$LINENO: checking for $ac_word" >&52264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2265 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2266 echo $ECHO_N "(cached) $ECHO_C" >&62800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2801 $as_echo_n "checking for $ac_word... " >&6; } 2802 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2803 $as_echo_n "(cached) " >&6 2267 2804 else 2268 2805 if test -n "$ac_ct_CC"; then … … 2274 2811 IFS=$as_save_IFS 2275 2812 test -z "$as_dir" && as_dir=. 2276 for ac_exec_ext in '' $ac_executable_extensions; do2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2813 for ac_exec_ext in '' $ac_executable_extensions; do 2814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2278 2815 ac_cv_prog_ac_ct_CC="$ac_prog" 2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2280 2817 break 2 2281 2818 fi 2282 2819 done 2283 done2820 done 2284 2821 IFS=$as_save_IFS 2285 2822 … … 2288 2825 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2289 2826 if test -n "$ac_ct_CC"; then 2290 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52291 echo "${ECHO_T}$ac_ct_CC" >&6; }2292 else 2293 { echo "$as_me:$LINENO: result: no" >&52294 echo "${ECHO_T}no" >&6; }2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2828 $as_echo "$ac_ct_CC" >&6; } 2829 else 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2831 $as_echo "no" >&6; } 2295 2832 fi 2296 2833 … … 2304 2841 case $cross_compiling:$ac_tool_warned in 2305 2842 yes:) 2306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2307 whose name does not start with the host triplet. If you think this 2308 configuration is useful to you, please write to [email protected]." >&5 2309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2310 whose name does not start with the host triplet. If you think this 2311 configuration is useful to you, please write to [email protected]." >&2;} 2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2312 2845 ac_tool_warned=yes ;; 2313 2846 esac … … 2319 2852 2320 2853 2321 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2322 See \`config.log' for more details." >&5 2323 echo "$as_me: error: no acceptable C compiler found in \$PATH 2324 See \`config.log' for more details." >&2;} 2325 { (exit 1); exit 1; }; } 2854 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2856 as_fn_error $? "no acceptable C compiler found in \$PATH 2857 See \`config.log' for more details" "$LINENO" 5; } 2326 2858 2327 2859 # Provide some information about the compiler. 2328 echo "$as_me:$LINENO: checking for C compiler version" >&5 2329 ac_compiler=`set X $ac_compile; echo $2` 2330 { (ac_try="$ac_compiler --version >&5" 2860 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2861 set X $ac_compile 2862 ac_compiler=$2 2863 for ac_option in --version -v -V -qversion; do 2864 { { ac_try="$ac_compiler $ac_option >&5" 2331 2865 case "(($ac_try" in 2332 2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2333 2867 *) ac_try_echo=$ac_try;; 2334 2868 esac 2335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2336 (eval "$ac_compiler --version >&5") 2>&5 2869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2870 $as_echo "$ac_try_echo"; } >&5 2871 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2337 2872 ac_status=$? 2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2339 (exit $ac_status); } 2340 { (ac_try="$ac_compiler -v >&5" 2873 if test -s conftest.err; then 2874 sed '10a\ 2875 ... rest of stderr output deleted ... 2876 10q' conftest.err >conftest.er1 2877 cat conftest.er1 >&5 2878 fi 2879 rm -f conftest.er1 conftest.err 2880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2881 test $ac_status = 0; } 2882 done 2883 2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2885 /* end confdefs.h. */ 2886 2887 int 2888 main () 2889 { 2890 2891 ; 2892 return 0; 2893 } 2894 _ACEOF 2895 ac_clean_files_save=$ac_clean_files 2896 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2897 # Try to create an executable without -o first, disregard a.out. 2898 # It will help us diagnose broken compilers, and finding out an intuition 2899 # of exeext. 2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2901 $as_echo_n "checking whether the C compiler works... " >&6; } 2902 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2903 2904 # The possible output files: 2905 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2906 2907 ac_rmfiles= 2908 for ac_file in $ac_files 2909 do 2910 case $ac_file in 2911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2912 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2913 esac 2914 done 2915 rm -f $ac_rmfiles 2916 2917 if { { ac_try="$ac_link_default" 2341 2918 case "(($ac_try" in 2342 2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2343 2920 *) ac_try_echo=$ac_try;; 2344 2921 esac 2345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2346 (eval "$ac_compiler -v >&5") 2>&5 2347 ac_status=$? 2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2349 (exit $ac_status); } 2350 { (ac_try="$ac_compiler -V >&5" 2351 case "(($ac_try" in 2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2353 *) ac_try_echo=$ac_try;; 2354 esac 2355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2356 (eval "$ac_compiler -V >&5") 2>&5 2357 ac_status=$? 2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2359 (exit $ac_status); } 2360 2361 cat >conftest.$ac_ext <<_ACEOF 2362 /* confdefs.h. */ 2363 _ACEOF 2364 cat confdefs.h >>conftest.$ac_ext 2365 cat >>conftest.$ac_ext <<_ACEOF 2366 /* end confdefs.h. */ 2367 2368 int 2369 main () 2370 { 2371 2372 ; 2373 return 0; 2374 } 2375 _ACEOF 2376 ac_clean_files_save=$ac_clean_files 2377 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2378 # Try to create an executable without -o first, disregard a.out. 2379 # It will help us diagnose broken compilers, and finding out an intuition 2380 # of exeext. 2381 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2382 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2383 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2384 # 2385 # List of possible output files, starting from the most likely. 2386 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2387 # only as a last resort. b.out is created by i960 compilers. 2388 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2389 # 2390 # The IRIX 6 linker writes into existing files which may not be 2391 # executable, retaining their permissions. Remove them first so a 2392 # subsequent execution test works. 2393 ac_rmfiles= 2394 for ac_file in $ac_files 2395 do 2396 case $ac_file in 2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2398 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2399 esac 2400 done 2401 rm -f $ac_rmfiles 2402 2403 if { (ac_try="$ac_link_default" 2404 case "(($ac_try" in 2405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2406 *) ac_try_echo=$ac_try;; 2407 esac 2408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2923 $as_echo "$ac_try_echo"; } >&5 2409 2924 (eval "$ac_link_default") 2>&5 2410 2925 ac_status=$? 2411 echo "$as_me:$LINENO: \$? = $ac_status" >&52412 (exit $ac_status); }; then2926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2927 test $ac_status = 0; }; then : 2413 2928 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2414 2929 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2420 2935 test -f "$ac_file" || continue 2421 2936 case $ac_file in 2422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2423 2938 ;; 2424 2939 [ab].out ) … … 2427 2942 break;; 2428 2943 *.* ) 2429 2944 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2430 2945 then :; else 2431 2946 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2446 2961 ac_file='' 2447 2962 fi 2448 2449 { echo "$as_me:$LINENO: result: $ac_file" >&5 2450 echo "${ECHO_T}$ac_file" >&6; } 2451 if test -z "$ac_file"; then 2452 echo "$as_me: failed program was:" >&5 2963 if test -z "$ac_file"; then : 2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2965 $as_echo "no" >&6; } 2966 $as_echo "$as_me: failed program was:" >&5 2453 2967 sed 's/^/| /' conftest.$ac_ext >&5 2454 2968 2455 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2456 See \`config.log' for more details." >&5 2457 echo "$as_me: error: C compiler cannot create executables 2458 See \`config.log' for more details." >&2;} 2459 { (exit 77); exit 77; }; } 2460 fi 2461 2969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2971 as_fn_error 77 "C compiler cannot create executables 2972 See \`config.log' for more details" "$LINENO" 5; } 2973 else 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2975 $as_echo "yes" >&6; } 2976 fi 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2978 $as_echo_n "checking for C compiler default output file name... " >&6; } 2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2980 $as_echo "$ac_file" >&6; } 2462 2981 ac_exeext=$ac_cv_exeext 2463 2982 2464 # Check that the compiler produces executables we can run. If not, either 2465 # the compiler is broken, or we cross compile. 2466 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2467 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2468 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2469 # If not cross compiling, check that we can run a simple program. 2470 if test "$cross_compiling" != yes; then 2471 if { ac_try='./$ac_file' 2472 { (case "(($ac_try" in 2473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2474 *) ac_try_echo=$ac_try;; 2475 esac 2476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2477 (eval "$ac_try") 2>&5 2478 ac_status=$? 2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2480 (exit $ac_status); }; }; then 2481 cross_compiling=no 2482 else 2483 if test "$cross_compiling" = maybe; then 2484 cross_compiling=yes 2485 else 2486 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2487 If you meant to cross compile, use \`--host'. 2488 See \`config.log' for more details." >&5 2489 echo "$as_me: error: cannot run C compiled programs. 2490 If you meant to cross compile, use \`--host'. 2491 See \`config.log' for more details." >&2;} 2492 { (exit 1); exit 1; }; } 2493 fi 2494 fi 2495 fi 2496 { echo "$as_me:$LINENO: result: yes" >&5 2497 echo "${ECHO_T}yes" >&6; } 2498 2499 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2983 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2500 2984 ac_clean_files=$ac_clean_files_save 2501 # Check that the compiler produces executables we can run. If not, either 2502 # the compiler is broken, or we cross compile. 2503 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2504 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2505 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2506 echo "${ECHO_T}$cross_compiling" >&6; } 2507 2508 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2509 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2510 if { (ac_try="$ac_link" 2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2986 $as_echo_n "checking for suffix of executables... " >&6; } 2987 if { { ac_try="$ac_link" 2511 2988 case "(($ac_try" in 2512 2989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2513 2990 *) ac_try_echo=$ac_try;; 2514 2991 esac 2515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2993 $as_echo "$ac_try_echo"; } >&5 2516 2994 (eval "$ac_link") 2>&5 2517 2995 ac_status=$? 2518 echo "$as_me:$LINENO: \$? = $ac_status" >&52519 (exit $ac_status); }; then2996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2997 test $ac_status = 0; }; then : 2520 2998 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2521 2999 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2525 3003 test -f "$ac_file" || continue 2526 3004 case $ac_file in 2527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3005 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2528 3006 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2529 3007 break;; … … 2532 3010 done 2533 3011 else 2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2535 See \`config.log' for more details." >&5 2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2537 See \`config.log' for more details." >&2;} 2538 { (exit 1); exit 1; }; } 2539 fi 2540 2541 rm -f conftest$ac_cv_exeext 2542 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2543 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3014 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3015 See \`config.log' for more details" "$LINENO" 5; } 3016 fi 3017 rm -f conftest conftest$ac_cv_exeext 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3019 $as_echo "$ac_cv_exeext" >&6; } 2544 3020 2545 3021 rm -f conftest.$ac_ext 2546 3022 EXEEXT=$ac_cv_exeext 2547 3023 ac_exeext=$EXEEXT 2548 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2549 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2550 if test "${ac_cv_objext+set}" = set; then 2551 echo $ECHO_N "(cached) $ECHO_C" >&6 2552 else 2553 cat >conftest.$ac_ext <<_ACEOF 2554 /* confdefs.h. */ 2555 _ACEOF 2556 cat confdefs.h >>conftest.$ac_ext 2557 cat >>conftest.$ac_ext <<_ACEOF 3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2558 3025 /* end confdefs.h. */ 2559 3026 #include <stdio.h> 2560 3027 int 2561 3028 main () 2562 3029 { 3030 FILE *f = fopen ("conftest.out", "w"); 3031 return ferror (f) || fclose (f) != 0; 2563 3032 2564 3033 ; … … 2566 3035 } 2567 3036 _ACEOF 2568 rm -f conftest.o conftest.obj 2569 if { (ac_try="$ac_compile" 3037 ac_clean_files="$ac_clean_files conftest.out" 3038 # Check that the compiler produces executables we can run. If not, either 3039 # the compiler is broken, or we cross compile. 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3041 $as_echo_n "checking whether we are cross compiling... " >&6; } 3042 if test "$cross_compiling" != yes; then 3043 { { ac_try="$ac_link" 2570 3044 case "(($ac_try" in 2571 3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2572 3046 *) ac_try_echo=$ac_try;; 2573 3047 esac 2574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3049 $as_echo "$ac_try_echo"; } >&5 3050 (eval "$ac_link") 2>&5 3051 ac_status=$? 3052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3053 test $ac_status = 0; } 3054 if { ac_try='./conftest$ac_cv_exeext' 3055 { { case "(($ac_try" in 3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3057 *) ac_try_echo=$ac_try;; 3058 esac 3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3060 $as_echo "$ac_try_echo"; } >&5 3061 (eval "$ac_try") 2>&5 3062 ac_status=$? 3063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3064 test $ac_status = 0; }; }; then 3065 cross_compiling=no 3066 else 3067 if test "$cross_compiling" = maybe; then 3068 cross_compiling=yes 3069 else 3070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3072 as_fn_error $? "cannot run C compiled programs. 3073 If you meant to cross compile, use \`--host'. 3074 See \`config.log' for more details" "$LINENO" 5; } 3075 fi 3076 fi 3077 fi 3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3079 $as_echo "$cross_compiling" >&6; } 3080 3081 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3082 ac_clean_files=$ac_clean_files_save 3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3084 $as_echo_n "checking for suffix of object files... " >&6; } 3085 if ${ac_cv_objext+:} false; then : 3086 $as_echo_n "(cached) " >&6 3087 else 3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3089 /* end confdefs.h. */ 3090 3091 int 3092 main () 3093 { 3094 3095 ; 3096 return 0; 3097 } 3098 _ACEOF 3099 rm -f conftest.o conftest.obj 3100 if { { ac_try="$ac_compile" 3101 case "(($ac_try" in 3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3103 *) ac_try_echo=$ac_try;; 3104 esac 3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3106 $as_echo "$ac_try_echo"; } >&5 2575 3107 (eval "$ac_compile") 2>&5 2576 3108 ac_status=$? 2577 echo "$as_me:$LINENO: \$? = $ac_status" >&52578 (exit $ac_status); }; then3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3110 test $ac_status = 0; }; then : 2579 3111 for ac_file in conftest.o conftest.obj conftest.*; do 2580 3112 test -f "$ac_file" || continue; 2581 3113 case $ac_file in 2582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2583 3115 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2584 3116 break;; … … 2586 3118 done 2587 3119 else 2588 echo "$as_me: failed program was:" >&53120 $as_echo "$as_me: failed program was:" >&5 2589 3121 sed 's/^/| /' conftest.$ac_ext >&5 2590 3122 2591 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2592 See \`config.log' for more details." >&5 2593 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2594 See \`config.log' for more details." >&2;} 2595 { (exit 1); exit 1; }; } 2596 fi 2597 3123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3125 as_fn_error $? "cannot compute suffix of object files: cannot compile 3126 See \`config.log' for more details" "$LINENO" 5; } 3127 fi 2598 3128 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2599 3129 fi 2600 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52601 echo "${ECHO_T}$ac_cv_objext" >&6; }3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3131 $as_echo "$ac_cv_objext" >&6; } 2602 3132 OBJEXT=$ac_cv_objext 2603 3133 ac_objext=$OBJEXT 2604 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2605 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2606 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2607 echo $ECHO_N "(cached) $ECHO_C" >&6 2608 else 2609 cat >conftest.$ac_ext <<_ACEOF 2610 /* confdefs.h. */ 2611 _ACEOF 2612 cat confdefs.h >>conftest.$ac_ext 2613 cat >>conftest.$ac_ext <<_ACEOF 3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3136 if ${ac_cv_c_compiler_gnu+:} false; then : 3137 $as_echo_n "(cached) " >&6 3138 else 3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2614 3140 /* end confdefs.h. */ 2615 3141 … … 2625 3151 } 2626 3152 _ACEOF 2627 rm -f conftest.$ac_objext 2628 if { (ac_try="$ac_compile" 2629 case "(($ac_try" in 2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2631 *) ac_try_echo=$ac_try;; 2632 esac 2633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2634 (eval "$ac_compile") 2>conftest.er1 2635 ac_status=$? 2636 grep -v '^ *+' conftest.er1 >conftest.err 2637 rm -f conftest.er1 2638 cat conftest.err >&5 2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2640 (exit $ac_status); } && { 2641 test -z "$ac_c_werror_flag" || 2642 test ! -s conftest.err 2643 } && test -s conftest.$ac_objext; then 3153 if ac_fn_c_try_compile "$LINENO"; then : 2644 3154 ac_compiler_gnu=yes 2645 3155 else 2646 echo "$as_me: failed program was:" >&5 2647 sed 's/^/| /' conftest.$ac_ext >&5 2648 2649 ac_compiler_gnu=no 2650 fi 2651 3156 ac_compiler_gnu=no 3157 fi 2652 3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2653 3159 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2654 3160 2655 3161 fi 2656 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2657 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2658 GCC=`test $ac_compiler_gnu = yes && echo yes` 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3163 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3164 if test $ac_compiler_gnu = yes; then 3165 GCC=yes 3166 else 3167 GCC= 3168 fi 2659 3169 ac_test_CFLAGS=${CFLAGS+set} 2660 3170 ac_save_CFLAGS=$CFLAGS 2661 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2663 if test "${ac_cv_prog_cc_g+set}" = set; then2664 echo $ECHO_N "(cached) $ECHO_C" >&63171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3172 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3173 if ${ac_cv_prog_cc_g+:} false; then : 3174 $as_echo_n "(cached) " >&6 2665 3175 else 2666 3176 ac_save_c_werror_flag=$ac_c_werror_flag … … 2668 3178 ac_cv_prog_cc_g=no 2669 3179 CFLAGS="-g" 2670 cat >conftest.$ac_ext <<_ACEOF 2671 /* confdefs.h. */ 2672 _ACEOF 2673 cat confdefs.h >>conftest.$ac_ext 2674 cat >>conftest.$ac_ext <<_ACEOF 3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2675 3181 /* end confdefs.h. */ 2676 3182 … … 2683 3189 } 2684 3190 _ACEOF 2685 rm -f conftest.$ac_objext 2686 if { (ac_try="$ac_compile" 2687 case "(($ac_try" in 2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2689 *) ac_try_echo=$ac_try;; 2690 esac 2691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2692 (eval "$ac_compile") 2>conftest.er1 2693 ac_status=$? 2694 grep -v '^ *+' conftest.er1 >conftest.err 2695 rm -f conftest.er1 2696 cat conftest.err >&5 2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2698 (exit $ac_status); } && { 2699 test -z "$ac_c_werror_flag" || 2700 test ! -s conftest.err 2701 } && test -s conftest.$ac_objext; then 3191 if ac_fn_c_try_compile "$LINENO"; then : 2702 3192 ac_cv_prog_cc_g=yes 2703 3193 else 2704 echo "$as_me: failed program was:" >&5 2705 sed 's/^/| /' conftest.$ac_ext >&5 2706 2707 CFLAGS="" 2708 cat >conftest.$ac_ext <<_ACEOF 2709 /* confdefs.h. */ 2710 _ACEOF 2711 cat confdefs.h >>conftest.$ac_ext 2712 cat >>conftest.$ac_ext <<_ACEOF 3194 CFLAGS="" 3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2713 3196 /* end confdefs.h. */ 2714 3197 … … 2721 3204 } 2722 3205 _ACEOF 2723 rm -f conftest.$ac_objext 2724 if { (ac_try="$ac_compile" 2725 case "(($ac_try" in 2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2727 *) ac_try_echo=$ac_try;; 2728 esac 2729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2730 (eval "$ac_compile") 2>conftest.er1 2731 ac_status=$? 2732 grep -v '^ *+' conftest.er1 >conftest.err 2733 rm -f conftest.er1 2734 cat conftest.err >&5 2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2736 (exit $ac_status); } && { 2737 test -z "$ac_c_werror_flag" || 2738 test ! -s conftest.err 2739 } && test -s conftest.$ac_objext; then 2740 : 2741 else 2742 echo "$as_me: failed program was:" >&5 2743 sed 's/^/| /' conftest.$ac_ext >&5 2744 2745 ac_c_werror_flag=$ac_save_c_werror_flag 3206 if ac_fn_c_try_compile "$LINENO"; then : 3207 3208 else 3209 ac_c_werror_flag=$ac_save_c_werror_flag 2746 3210 CFLAGS="-g" 2747 cat >conftest.$ac_ext <<_ACEOF 2748 /* confdefs.h. */ 2749 _ACEOF 2750 cat confdefs.h >>conftest.$ac_ext 2751 cat >>conftest.$ac_ext <<_ACEOF 3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2752 3212 /* end confdefs.h. */ 2753 3213 … … 2760 3220 } 2761 3221 _ACEOF 2762 rm -f conftest.$ac_objext 2763 if { (ac_try="$ac_compile" 2764 case "(($ac_try" in 2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2766 *) ac_try_echo=$ac_try;; 2767 esac 2768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2769 (eval "$ac_compile") 2>conftest.er1 2770 ac_status=$? 2771 grep -v '^ *+' conftest.er1 >conftest.err 2772 rm -f conftest.er1 2773 cat conftest.err >&5 2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2775 (exit $ac_status); } && { 2776 test -z "$ac_c_werror_flag" || 2777 test ! -s conftest.err 2778 } && test -s conftest.$ac_objext; then 3222 if ac_fn_c_try_compile "$LINENO"; then : 2779 3223 ac_cv_prog_cc_g=yes 2780 else 2781 echo "$as_me: failed program was:" >&5 2782 sed 's/^/| /' conftest.$ac_ext >&5 2783 2784 2785 fi 2786 3224 fi 2787 3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2788 3226 fi 2789 2790 3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2791 3228 fi 2792 2793 3229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2794 3230 ac_c_werror_flag=$ac_save_c_werror_flag 2795 3231 fi 2796 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52797 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3233 $as_echo "$ac_cv_prog_cc_g" >&6; } 2798 3234 if test "$ac_test_CFLAGS" = set; then 2799 3235 CFLAGS=$ac_save_CFLAGS … … 2811 3247 fi 2812 3248 fi 2813 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52814 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2815 if test "${ac_cv_prog_cc_c89+set}" = set; then2816 echo $ECHO_N "(cached) $ECHO_C" >&63249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3250 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3251 if ${ac_cv_prog_cc_c89+:} false; then : 3252 $as_echo_n "(cached) " >&6 2817 3253 else 2818 3254 ac_cv_prog_cc_c89=no 2819 3255 ac_save_CC=$CC 2820 cat >conftest.$ac_ext <<_ACEOF 2821 /* confdefs.h. */ 2822 _ACEOF 2823 cat confdefs.h >>conftest.$ac_ext 2824 cat >>conftest.$ac_ext <<_ACEOF 3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2825 3257 /* end confdefs.h. */ 2826 3258 #include <stdarg.h> 2827 3259 #include <stdio.h> 2828 #include <sys/types.h> 2829 #include <sys/stat.h> 3260 struct stat; 2830 3261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2831 3262 struct buf { int x; }; … … 2879 3310 do 2880 3311 CC="$ac_save_CC $ac_arg" 2881 rm -f conftest.$ac_objext 2882 if { (ac_try="$ac_compile" 2883 case "(($ac_try" in 2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2885 *) ac_try_echo=$ac_try;; 2886 esac 2887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2888 (eval "$ac_compile") 2>conftest.er1 2889 ac_status=$? 2890 grep -v '^ *+' conftest.er1 >conftest.err 2891 rm -f conftest.er1 2892 cat conftest.err >&5 2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2894 (exit $ac_status); } && { 2895 test -z "$ac_c_werror_flag" || 2896 test ! -s conftest.err 2897 } && test -s conftest.$ac_objext; then 3312 if ac_fn_c_try_compile "$LINENO"; then : 2898 3313 ac_cv_prog_cc_c89=$ac_arg 2899 else 2900 echo "$as_me: failed program was:" >&5 2901 sed 's/^/| /' conftest.$ac_ext >&5 2902 2903 2904 fi 2905 3314 fi 2906 3315 rm -f core conftest.err conftest.$ac_objext 2907 3316 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2914 3323 case "x$ac_cv_prog_cc_c89" in 2915 3324 x) 2916 { echo "$as_me:$LINENO: result: none needed" >&52917 echo "${ECHO_T}none needed" >&6; } ;;3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3326 $as_echo "none needed" >&6; } ;; 2918 3327 xno) 2919 { echo "$as_me:$LINENO: result: unsupported" >&52920 echo "${ECHO_T}unsupported" >&6; } ;;3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3329 $as_echo "unsupported" >&6; } ;; 2921 3330 *) 2922 3331 CC="$CC $ac_cv_prog_cc_c89" 2923 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52924 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2925 3334 esac 2926 3335 if test "x$ac_cv_prog_cc_c89" != xno; then : 3336 3337 fi 2927 3338 2928 3339 ac_ext=c … … 2946 3357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2947 3358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2948 { echo "$as_me:$LINENO: checking for $ac_word" >&52949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2950 if test "${ac_cv_prog_CXX+set}" = set; then2951 echo $ECHO_N "(cached) $ECHO_C" >&63359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3360 $as_echo_n "checking for $ac_word... " >&6; } 3361 if ${ac_cv_prog_CXX+:} false; then : 3362 $as_echo_n "(cached) " >&6 2952 3363 else 2953 3364 if test -n "$CXX"; then … … 2959 3370 IFS=$as_save_IFS 2960 3371 test -z "$as_dir" && as_dir=. 2961 for ac_exec_ext in '' $ac_executable_extensions; do2962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3372 for ac_exec_ext in '' $ac_executable_extensions; do 3373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2963 3374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2965 3376 break 2 2966 3377 fi 2967 3378 done 2968 done3379 done 2969 3380 IFS=$as_save_IFS 2970 3381 … … 2973 3384 CXX=$ac_cv_prog_CXX 2974 3385 if test -n "$CXX"; then 2975 { echo "$as_me:$LINENO: result: $CXX" >&52976 echo "${ECHO_T}$CXX" >&6; }2977 else 2978 { echo "$as_me:$LINENO: result: no" >&52979 echo "${ECHO_T}no" >&6; }3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3387 $as_echo "$CXX" >&6; } 3388 else 3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3390 $as_echo "no" >&6; } 2980 3391 fi 2981 3392 … … 2990 3401 # Extract the first word of "$ac_prog", so it can be a program name with args. 2991 3402 set dummy $ac_prog; ac_word=$2 2992 { echo "$as_me:$LINENO: checking for $ac_word" >&52993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2994 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then2995 echo $ECHO_N "(cached) $ECHO_C" >&63403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3404 $as_echo_n "checking for $ac_word... " >&6; } 3405 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3406 $as_echo_n "(cached) " >&6 2996 3407 else 2997 3408 if test -n "$ac_ct_CXX"; then … … 3003 3414 IFS=$as_save_IFS 3004 3415 test -z "$as_dir" && as_dir=. 3005 for ac_exec_ext in '' $ac_executable_extensions; do3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3416 for ac_exec_ext in '' $ac_executable_extensions; do 3417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3007 3418 ac_cv_prog_ac_ct_CXX="$ac_prog" 3008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3009 3420 break 2 3010 3421 fi 3011 3422 done 3012 done3423 done 3013 3424 IFS=$as_save_IFS 3014 3425 … … 3017 3428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3018 3429 if test -n "$ac_ct_CXX"; then 3019 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&53020 echo "${ECHO_T}$ac_ct_CXX" >&6; }3021 else 3022 { echo "$as_me:$LINENO: result: no" >&53023 echo "${ECHO_T}no" >&6; }3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3431 $as_echo "$ac_ct_CXX" >&6; } 3432 else 3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3434 $as_echo "no" >&6; } 3024 3435 fi 3025 3436 … … 3033 3444 case $cross_compiling:$ac_tool_warned in 3034 3445 yes:) 3035 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3036 whose name does not start with the host triplet. If you think this 3037 configuration is useful to you, please write to [email protected]." >&5 3038 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3039 whose name does not start with the host triplet. If you think this 3040 configuration is useful to you, please write to [email protected]." >&2;} 3446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3041 3448 ac_tool_warned=yes ;; 3042 3449 esac … … 3048 3455 fi 3049 3456 # Provide some information about the compiler. 3050 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3051 ac_compiler=`set X $ac_compile; echo $2` 3052 { (ac_try="$ac_compiler --version >&5" 3457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3458 set X $ac_compile 3459 ac_compiler=$2 3460 for ac_option in --version -v -V -qversion; do 3461 { { ac_try="$ac_compiler $ac_option >&5" 3053 3462 case "(($ac_try" in 3054 3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3055 3464 *) ac_try_echo=$ac_try;; 3056 3465 esac 3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3058 (eval "$ac_compiler --version >&5") 2>&5 3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3467 $as_echo "$ac_try_echo"; } >&5 3468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3059 3469 ac_status=$? 3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3061 (exit $ac_status); } 3062 { (ac_try="$ac_compiler -v >&5" 3063 case "(($ac_try" in 3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3065 *) ac_try_echo=$ac_try;; 3066 esac 3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3068 (eval "$ac_compiler -v >&5") 2>&5 3069 ac_status=$? 3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3071 (exit $ac_status); } 3072 { (ac_try="$ac_compiler -V >&5" 3073 case "(($ac_try" in 3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3075 *) ac_try_echo=$ac_try;; 3076 esac 3077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3078 (eval "$ac_compiler -V >&5") 2>&5 3079 ac_status=$? 3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3081 (exit $ac_status); } 3082 3083 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3084 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3085 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3086 echo $ECHO_N "(cached) $ECHO_C" >&6 3087 else 3088 cat >conftest.$ac_ext <<_ACEOF 3089 /* confdefs.h. */ 3090 _ACEOF 3091 cat confdefs.h >>conftest.$ac_ext 3092 cat >>conftest.$ac_ext <<_ACEOF 3470 if test -s conftest.err; then 3471 sed '10a\ 3472 ... rest of stderr output deleted ... 3473 10q' conftest.err >conftest.er1 3474 cat conftest.er1 >&5 3475 fi 3476 rm -f conftest.er1 conftest.err 3477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3478 test $ac_status = 0; } 3479 done 3480 3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3483 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3484 $as_echo_n "(cached) " >&6 3485 else 3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3093 3487 /* end confdefs.h. */ 3094 3488 … … 3104 3498 } 3105 3499 _ACEOF 3106 rm -f conftest.$ac_objext 3107 if { (ac_try="$ac_compile" 3108 case "(($ac_try" in 3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3110 *) ac_try_echo=$ac_try;; 3111 esac 3112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3113 (eval "$ac_compile") 2>conftest.er1 3114 ac_status=$? 3115 grep -v '^ *+' conftest.er1 >conftest.err 3116 rm -f conftest.er1 3117 cat conftest.err >&5 3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3119 (exit $ac_status); } && { 3120 test -z "$ac_cxx_werror_flag" || 3121 test ! -s conftest.err 3122 } && test -s conftest.$ac_objext; then 3500 if ac_fn_cxx_try_compile "$LINENO"; then : 3123 3501 ac_compiler_gnu=yes 3124 3502 else 3125 echo "$as_me: failed program was:" >&5 3126 sed 's/^/| /' conftest.$ac_ext >&5 3127 3128 ac_compiler_gnu=no 3129 fi 3130 3503 ac_compiler_gnu=no 3504 fi 3131 3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3132 3506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3133 3507 3134 3508 fi 3135 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3136 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3137 GXX=`test $ac_compiler_gnu = yes && echo yes` 3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3511 if test $ac_compiler_gnu = yes; then 3512 GXX=yes 3513 else 3514 GXX= 3515 fi 3138 3516 ac_test_CXXFLAGS=${CXXFLAGS+set} 3139 3517 ac_save_CXXFLAGS=$CXXFLAGS 3140 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53141 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3142 if test "${ac_cv_prog_cxx_g+set}" = set; then3143 echo $ECHO_N "(cached) $ECHO_C" >&63518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3519 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3520 if ${ac_cv_prog_cxx_g+:} false; then : 3521 $as_echo_n "(cached) " >&6 3144 3522 else 3145 3523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3147 3525 ac_cv_prog_cxx_g=no 3148 3526 CXXFLAGS="-g" 3149 cat >conftest.$ac_ext <<_ACEOF 3150 /* confdefs.h. */ 3151 _ACEOF 3152 cat confdefs.h >>conftest.$ac_ext 3153 cat >>conftest.$ac_ext <<_ACEOF 3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3154 3528 /* end confdefs.h. */ 3155 3529 … … 3162 3536 } 3163 3537 _ACEOF 3164 rm -f conftest.$ac_objext 3165 if { (ac_try="$ac_compile" 3166 case "(($ac_try" in 3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3168 *) ac_try_echo=$ac_try;; 3169 esac 3170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3171 (eval "$ac_compile") 2>conftest.er1 3172 ac_status=$? 3173 grep -v '^ *+' conftest.er1 >conftest.err 3174 rm -f conftest.er1 3175 cat conftest.err >&5 3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3177 (exit $ac_status); } && { 3178 test -z "$ac_cxx_werror_flag" || 3179 test ! -s conftest.err 3180 } && test -s conftest.$ac_objext; then 3538 if ac_fn_cxx_try_compile "$LINENO"; then : 3181 3539 ac_cv_prog_cxx_g=yes 3182 3540 else 3183 echo "$as_me: failed program was:" >&5 3184 sed 's/^/| /' conftest.$ac_ext >&5 3185 3186 CXXFLAGS="" 3187 cat >conftest.$ac_ext <<_ACEOF 3188 /* confdefs.h. */ 3189 _ACEOF 3190 cat confdefs.h >>conftest.$ac_ext 3191 cat >>conftest.$ac_ext <<_ACEOF 3541 CXXFLAGS="" 3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3192 3543 /* end confdefs.h. */ 3193 3544 … … 3200 3551 } 3201 3552 _ACEOF 3202 rm -f conftest.$ac_objext 3203 if { (ac_try="$ac_compile" 3204 case "(($ac_try" in 3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3206 *) ac_try_echo=$ac_try;; 3207 esac 3208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3209 (eval "$ac_compile") 2>conftest.er1 3210 ac_status=$? 3211 grep -v '^ *+' conftest.er1 >conftest.err 3212 rm -f conftest.er1 3213 cat conftest.err >&5 3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3215 (exit $ac_status); } && { 3216 test -z "$ac_cxx_werror_flag" || 3217 test ! -s conftest.err 3218 } && test -s conftest.$ac_objext; then 3219 : 3220 else 3221 echo "$as_me: failed program was:" >&5 3222 sed 's/^/| /' conftest.$ac_ext >&5 3223 3224 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3553 if ac_fn_cxx_try_compile "$LINENO"; then : 3554 3555 else 3556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3225 3557 CXXFLAGS="-g" 3226 cat >conftest.$ac_ext <<_ACEOF 3227 /* confdefs.h. */ 3228 _ACEOF 3229 cat confdefs.h >>conftest.$ac_ext 3230 cat >>conftest.$ac_ext <<_ACEOF 3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3231 3559 /* end confdefs.h. */ 3232 3560 … … 3239 3567 } 3240 3568 _ACEOF 3241 rm -f conftest.$ac_objext 3242 if { (ac_try="$ac_compile" 3243 case "(($ac_try" in 3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3245 *) ac_try_echo=$ac_try;; 3246 esac 3247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3248 (eval "$ac_compile") 2>conftest.er1 3249 ac_status=$? 3250 grep -v '^ *+' conftest.er1 >conftest.err 3251 rm -f conftest.er1 3252 cat conftest.err >&5 3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3254 (exit $ac_status); } && { 3255 test -z "$ac_cxx_werror_flag" || 3256 test ! -s conftest.err 3257 } && test -s conftest.$ac_objext; then 3569 if ac_fn_cxx_try_compile "$LINENO"; then : 3258 3570 ac_cv_prog_cxx_g=yes 3259 else 3260 echo "$as_me: failed program was:" >&5 3261 sed 's/^/| /' conftest.$ac_ext >&5 3262 3263 3264 fi 3265 3571 fi 3266 3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3267 3573 fi 3268 3269 3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3270 3575 fi 3271 3272 3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3273 3577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3274 3578 fi 3275 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53276 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3580 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3277 3581 if test "$ac_test_CXXFLAGS" = set; then 3278 3582 CXXFLAGS=$ac_save_CXXFLAGS … … 3305 3609 # Extract the first word of "$ac_prog", so it can be a program name with args. 3306 3610 set dummy $ac_prog; ac_word=$2 3307 { echo "$as_me:$LINENO: checking for $ac_word" >&53308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3309 if test "${ac_cv_prog_JAVAC+set}" = set; then3310 echo $ECHO_N "(cached) $ECHO_C" >&63611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3612 $as_echo_n "checking for $ac_word... " >&6; } 3613 if ${ac_cv_prog_JAVAC+:} false; then : 3614 $as_echo_n "(cached) " >&6 3311 3615 else 3312 3616 if test -n "$JAVAC"; then … … 3318 3622 IFS=$as_save_IFS 3319 3623 test -z "$as_dir" && as_dir=. 3320 for ac_exec_ext in '' $ac_executable_extensions; do3321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3624 for ac_exec_ext in '' $ac_executable_extensions; do 3625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3322 3626 ac_cv_prog_JAVAC="$ac_prog" 3323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3324 3628 break 2 3325 3629 fi 3326 3630 done 3327 done3631 done 3328 3632 IFS=$as_save_IFS 3329 3633 … … 3332 3636 JAVAC=$ac_cv_prog_JAVAC 3333 3637 if test -n "$JAVAC"; then 3334 { echo "$as_me:$LINENO: result: $JAVAC" >&53335 echo "${ECHO_T}$JAVAC" >&6; }3336 else 3337 { echo "$as_me:$LINENO: result: no" >&53338 echo "${ECHO_T}no" >&6; }3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3639 $as_echo "$JAVAC" >&6; } 3640 else 3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3642 $as_echo "no" >&6; } 3339 3643 fi 3340 3644 … … 3348 3652 # Extract the first word of "$ac_prog", so it can be a program name with args. 3349 3653 set dummy $ac_prog; ac_word=$2 3350 { echo "$as_me:$LINENO: checking for $ac_word" >&53351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3352 if test "${ac_cv_prog_JAVAC+set}" = set; then3353 echo $ECHO_N "(cached) $ECHO_C" >&63654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3655 $as_echo_n "checking for $ac_word... " >&6; } 3656 if ${ac_cv_prog_JAVAC+:} false; then : 3657 $as_echo_n "(cached) " >&6 3354 3658 else 3355 3659 if test -n "$JAVAC"; then … … 3361 3665 IFS=$as_save_IFS 3362 3666 test -z "$as_dir" && as_dir=. 3363 for ac_exec_ext in '' $ac_executable_extensions; do3364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3667 for ac_exec_ext in '' $ac_executable_extensions; do 3668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3365 3669 ac_cv_prog_JAVAC="$ac_prog" 3366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3367 3671 break 2 3368 3672 fi 3369 3673 done 3370 done3674 done 3371 3675 IFS=$as_save_IFS 3372 3676 … … 3375 3679 JAVAC=$ac_cv_prog_JAVAC 3376 3680 if test -n "$JAVAC"; then 3377 { echo "$as_me:$LINENO: result: $JAVAC" >&53378 echo "${ECHO_T}$JAVAC" >&6; }3379 else 3380 { echo "$as_me:$LINENO: result: no" >&53381 echo "${ECHO_T}no" >&6; }3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3682 $as_echo "$JAVAC" >&6; } 3683 else 3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3685 $as_echo "no" >&6; } 3382 3686 fi 3383 3687 … … 3388 3692 3389 3693 fi 3390 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3391 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3392 { (exit 1); exit 1; }; } 3694 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3393 3695 else 3394 3696 echo "Checking for javac... $JAVAC" … … 3397 3699 3398 3700 3399 { echo "$as_me:$LINENO: checking if $JAVAC works" >&53400 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6; }3401 if test "${ac_cv_prog_javac_works+set}" = set; then3402 echo $ECHO_N "(cached) $ECHO_C" >&63701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 3702 $as_echo_n "checking if $JAVAC works... " >&6; } 3703 if ${ac_cv_prog_javac_works+:} false; then : 3704 $as_echo_n "(cached) " >&6 3403 3705 else 3404 3706 … … 3406 3708 CLASS_TEST=Test.class 3407 3709 cat << \EOF > $JAVA_TEST 3408 /* #line 3 408"configure" */3710 /* #line 3710 "configure" */ 3409 3711 public class Test { 3410 3712 } 3411 3713 EOF 3412 3714 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&53715 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3414 3716 (eval $ac_try) 2>&5 3415 3717 ac_status=$? 3416 echo "$as_me:$LINENO: \$? = $ac_status" >&53417 (exit $ac_status); }; } >/dev/null 2>&1; then3718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3719 test $ac_status = 0; }; } >/dev/null 2>&1; then 3418 3720 ac_cv_prog_javac_works=yes 3419 3721 else 3420 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3421 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3422 { (exit 1); exit 1; }; } 3722 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3423 3723 echo "configure: failed program was:" >&5 3424 3724 cat $JAVA_TEST >&5 … … 3427 3727 3428 3728 fi 3429 { echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53430 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6; }3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 3730 $as_echo "$ac_cv_prog_javac_works" >&6; } 3431 3731 if test "x$JAVACFLAGS" = x ; then 3432 JAVACFLAGS="-source 1. 4 -target 1.4"3732 JAVACFLAGS="-source 1.6 -target 1.6" 3433 3733 fi 3434 3734 … … 3442 3742 # Extract the first word of "$ac_prog", so it can be a program name with args. 3443 3743 set dummy $ac_prog; ac_word=$2 3444 { echo "$as_me:$LINENO: checking for $ac_word" >&53445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3446 if test "${ac_cv_prog_JAVA+set}" = set; then3447 echo $ECHO_N "(cached) $ECHO_C" >&63744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3745 $as_echo_n "checking for $ac_word... " >&6; } 3746 if ${ac_cv_prog_JAVA+:} false; then : 3747 $as_echo_n "(cached) " >&6 3448 3748 else 3449 3749 if test -n "$JAVA"; then … … 3455 3755 IFS=$as_save_IFS 3456 3756 test -z "$as_dir" && as_dir=. 3457 for ac_exec_ext in '' $ac_executable_extensions; do3458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3757 for ac_exec_ext in '' $ac_executable_extensions; do 3758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3459 3759 ac_cv_prog_JAVA="$ac_prog" 3460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3461 3761 break 2 3462 3762 fi 3463 3763 done 3464 done3764 done 3465 3765 IFS=$as_save_IFS 3466 3766 … … 3469 3769 JAVA=$ac_cv_prog_JAVA 3470 3770 if test -n "$JAVA"; then 3471 { echo "$as_me:$LINENO: result: $JAVA" >&53472 echo "${ECHO_T}$JAVA" >&6; }3473 else 3474 { echo "$as_me:$LINENO: result: no" >&53475 echo "${ECHO_T}no" >&6; }3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3772 $as_echo "$JAVA" >&6; } 3773 else 3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3775 $as_echo "no" >&6; } 3476 3776 fi 3477 3777 … … 3485 3785 # Extract the first word of "$ac_prog", so it can be a program name with args. 3486 3786 set dummy $ac_prog; ac_word=$2 3487 { echo "$as_me:$LINENO: checking for $ac_word" >&53488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3489 if test "${ac_cv_prog_JAVA+set}" = set; then3490 echo $ECHO_N "(cached) $ECHO_C" >&63787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3788 $as_echo_n "checking for $ac_word... " >&6; } 3789 if ${ac_cv_prog_JAVA+:} false; then : 3790 $as_echo_n "(cached) " >&6 3491 3791 else 3492 3792 if test -n "$JAVA"; then … … 3498 3798 IFS=$as_save_IFS 3499 3799 test -z "$as_dir" && as_dir=. 3500 for ac_exec_ext in '' $ac_executable_extensions; do3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3800 for ac_exec_ext in '' $ac_executable_extensions; do 3801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3502 3802 ac_cv_prog_JAVA="$ac_prog" 3503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3504 3804 break 2 3505 3805 fi 3506 3806 done 3507 done3807 done 3508 3808 IFS=$as_save_IFS 3509 3809 … … 3512 3812 JAVA=$ac_cv_prog_JAVA 3513 3813 if test -n "$JAVA"; then 3514 { echo "$as_me:$LINENO: result: $JAVA" >&53515 echo "${ECHO_T}$JAVA" >&6; }3516 else 3517 { echo "$as_me:$LINENO: result: no" >&53518 echo "${ECHO_T}no" >&6; }3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3815 $as_echo "$JAVA" >&6; } 3816 else 3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3818 $as_echo "no" >&6; } 3519 3819 fi 3520 3820 … … 3525 3825 3526 3826 fi 3527 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3528 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3529 { (exit 1); exit 1; }; } 3827 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3530 3828 fi 3531 3829 … … 3533 3831 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3534 3832 set dummy uudecode$EXEEXT; ac_word=$2 3535 { echo "$as_me:$LINENO: checking for $ac_word" >&53536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3537 if test "${ac_cv_prog_uudecode+set}" = set; then3538 echo $ECHO_N "(cached) $ECHO_C" >&63833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3834 $as_echo_n "checking for $ac_word... " >&6; } 3835 if ${ac_cv_prog_uudecode+:} false; then : 3836 $as_echo_n "(cached) " >&6 3539 3837 else 3540 3838 if test -n "$uudecode"; then … … 3546 3844 IFS=$as_save_IFS 3547 3845 test -z "$as_dir" && as_dir=. 3548 for ac_exec_ext in '' $ac_executable_extensions; do3549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3846 for ac_exec_ext in '' $ac_executable_extensions; do 3847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3550 3848 ac_cv_prog_uudecode="yes" 3551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3552 3850 break 2 3553 3851 fi 3554 3852 done 3555 done3853 done 3556 3854 IFS=$as_save_IFS 3557 3855 … … 3560 3858 uudecode=$ac_cv_prog_uudecode 3561 3859 if test -n "$uudecode"; then 3562 { echo "$as_me:$LINENO: result: $uudecode" >&53563 echo "${ECHO_T}$uudecode" >&6; }3564 else 3565 { echo "$as_me:$LINENO: result: no" >&53566 echo "${ECHO_T}no" >&6; }3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 3861 $as_echo "$uudecode" >&6; } 3862 else 3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3864 $as_echo "no" >&6; } 3567 3865 fi 3568 3866 3569 3867 3570 3868 if test x$uudecode = xyes; then 3571 { echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&53572 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6; }3573 if test "${ac_cv_prog_uudecode_base64+set}" = set; then3574 echo $ECHO_N "(cached) $ECHO_C" >&63869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5 3870 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3871 if ${ac_cv_prog_uudecode_base64+:} false; then : 3872 $as_echo_n "(cached) " >&6 3575 3873 else 3576 3874 … … 3589 3887 ac_cv_prog_uudecode_base64=yes 3590 3888 else 3591 echo "configure: 3 591: uudecode had trouble decoding base 64 file 'Test.uue'" >&53889 echo "configure: 3889: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3592 3890 echo "configure: failed file was:" >&5 3593 3891 cat Test.uue >&5 … … 3596 3894 rm -f Test.uue 3597 3895 fi 3598 { echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&53599 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6; }3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5 3897 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3600 3898 fi 3601 3899 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3602 3900 rm -f Test.class 3603 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&53604 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5 3902 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3605 3903 if test x$ac_cv_prog_javac_works = xno; then 3606 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3607 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3608 { (exit 1); exit 1; }; } 3904 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3609 3905 fi 3610 3906 if test x$ac_cv_prog_javac_works = x; then … … 3616 3912 # Extract the first word of "$ac_prog", so it can be a program name with args. 3617 3913 set dummy $ac_prog; ac_word=$2 3618 { echo "$as_me:$LINENO: checking for $ac_word" >&53619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3620 if test "${ac_cv_prog_JAVAC+set}" = set; then3621 echo $ECHO_N "(cached) $ECHO_C" >&63914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3915 $as_echo_n "checking for $ac_word... " >&6; } 3916 if ${ac_cv_prog_JAVAC+:} false; then : 3917 $as_echo_n "(cached) " >&6 3622 3918 else 3623 3919 if test -n "$JAVAC"; then … … 3629 3925 IFS=$as_save_IFS 3630 3926 test -z "$as_dir" && as_dir=. 3631 for ac_exec_ext in '' $ac_executable_extensions; do3632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3927 for ac_exec_ext in '' $ac_executable_extensions; do 3928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3633 3929 ac_cv_prog_JAVAC="$ac_prog" 3634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3635 3931 break 2 3636 3932 fi 3637 3933 done 3638 done3934 done 3639 3935 IFS=$as_save_IFS 3640 3936 … … 3643 3939 JAVAC=$ac_cv_prog_JAVAC 3644 3940 if test -n "$JAVAC"; then 3645 { echo "$as_me:$LINENO: result: $JAVAC" >&53646 echo "${ECHO_T}$JAVAC" >&6; }3647 else 3648 { echo "$as_me:$LINENO: result: no" >&53649 echo "${ECHO_T}no" >&6; }3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3942 $as_echo "$JAVAC" >&6; } 3943 else 3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3945 $as_echo "no" >&6; } 3650 3946 fi 3651 3947 … … 3659 3955 # Extract the first word of "$ac_prog", so it can be a program name with args. 3660 3956 set dummy $ac_prog; ac_word=$2 3661 { echo "$as_me:$LINENO: checking for $ac_word" >&53662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3663 if test "${ac_cv_prog_JAVAC+set}" = set; then3664 echo $ECHO_N "(cached) $ECHO_C" >&63957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3958 $as_echo_n "checking for $ac_word... " >&6; } 3959 if ${ac_cv_prog_JAVAC+:} false; then : 3960 $as_echo_n "(cached) " >&6 3665 3961 else 3666 3962 if test -n "$JAVAC"; then … … 3672 3968 IFS=$as_save_IFS 3673 3969 test -z "$as_dir" && as_dir=. 3674 for ac_exec_ext in '' $ac_executable_extensions; do3675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3970 for ac_exec_ext in '' $ac_executable_extensions; do 3971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3676 3972 ac_cv_prog_JAVAC="$ac_prog" 3677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3678 3974 break 2 3679 3975 fi 3680 3976 done 3681 done3977 done 3682 3978 IFS=$as_save_IFS 3683 3979 … … 3686 3982 JAVAC=$ac_cv_prog_JAVAC 3687 3983 if test -n "$JAVAC"; then 3688 { echo "$as_me:$LINENO: result: $JAVAC" >&53689 echo "${ECHO_T}$JAVAC" >&6; }3690 else 3691 { echo "$as_me:$LINENO: result: no" >&53692 echo "${ECHO_T}no" >&6; }3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3985 $as_echo "$JAVAC" >&6; } 3986 else 3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3988 $as_echo "no" >&6; } 3693 3989 fi 3694 3990 … … 3699 3995 3700 3996 fi 3701 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3702 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3703 { (exit 1); exit 1; }; } 3997 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3704 3998 else 3705 3999 echo "Checking for javac... $JAVAC" … … 3708 4002 3709 4003 3710 { echo "$as_me:$LINENO: checking if $JAVAC works" >&53711 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6; }3712 if test "${ac_cv_prog_javac_works+set}" = set; then3713 echo $ECHO_N "(cached) $ECHO_C" >&64004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 4005 $as_echo_n "checking if $JAVAC works... " >&6; } 4006 if ${ac_cv_prog_javac_works+:} false; then : 4007 $as_echo_n "(cached) " >&6 3714 4008 else 3715 4009 … … 3717 4011 CLASS_TEST=Test.class 3718 4012 cat << \EOF > $JAVA_TEST 3719 /* #line 3719"configure" */4013 /* #line 4013 "configure" */ 3720 4014 public class Test { 3721 4015 } 3722 4016 EOF 3723 4017 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54018 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3725 4019 (eval $ac_try) 2>&5 3726 4020 ac_status=$? 3727 echo "$as_me:$LINENO: \$? = $ac_status" >&53728 (exit $ac_status); }; } >/dev/null 2>&1; then4021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4022 test $ac_status = 0; }; } >/dev/null 2>&1; then 3729 4023 ac_cv_prog_javac_works=yes 3730 4024 else 3731 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3732 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3733 { (exit 1); exit 1; }; } 4025 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3734 4026 echo "configure: failed program was:" >&5 3735 4027 cat $JAVA_TEST >&5 … … 3738 4030 3739 4031 fi 3740 { echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53741 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6; }4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 4033 $as_echo "$ac_cv_prog_javac_works" >&6; } 3742 4034 if test "x$JAVACFLAGS" = x ; then 3743 JAVACFLAGS="-source 1. 4 -target 1.4"4035 JAVACFLAGS="-source 1.6 -target 1.6" 3744 4036 fi 3745 4037 … … 3748 4040 fi 3749 4041 fi 3750 { echo "$as_me:$LINENO: checking if $JAVA works" >&53751 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6; }3752 if test "${ac_cv_prog_java_works+set}" = set; then3753 echo $ECHO_N "(cached) $ECHO_C" >&64042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5 4043 $as_echo_n "checking if $JAVA works... " >&6; } 4044 if ${ac_cv_prog_java_works+:} false; then : 4045 $as_echo_n "(cached) " >&6 3754 4046 else 3755 4047 … … 3758 4050 TEST=Test 3759 4051 cat << \EOF > $JAVA_TEST 3760 /* [#]line 3760"configure" */4052 /* [#]line 4052 "configure" */ 3761 4053 public class Test { 3762 4054 public static void main (String args[]) { … … 3766 4058 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3767 4059 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54060 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3769 4061 (eval $ac_try) 2>&5 3770 4062 ac_status=$? 3771 echo "$as_me:$LINENO: \$? = $ac_status" >&53772 (exit $ac_status); }; } && test -s $CLASS_TEST; then4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4064 test $ac_status = 0; }; } && test -s $CLASS_TEST; then 3773 4065 : 3774 4066 else 3775 4067 echo "configure: failed program was:" >&5 3776 4068 cat $JAVA_TEST >&5 3777 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3778 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3779 { (exit 1); exit 1; }; } 4069 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3780 4070 fi 3781 4071 fi 3782 4072 if { ac_try='$JAVA $JAVAFLAGS $TEST' 3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54073 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3784 4074 (eval $ac_try) 2>&5 3785 4075 ac_status=$? 3786 echo "$as_me:$LINENO: \$? = $ac_status" >&53787 (exit $ac_status); }; } >/dev/null 2>&1; then4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4077 test $ac_status = 0; }; } >/dev/null 2>&1; then 3788 4078 ac_cv_prog_java_works=yes 3789 4079 else 3790 4080 echo "configure: failed program was:" >&5 3791 4081 cat $JAVA_TEST >&5 3792 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3793 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3794 { (exit 1); exit 1; }; } 4082 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3795 4083 fi 3796 4084 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 3797 4085 3798 4086 fi 3799 { echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&53800 echo "${ECHO_T}$ac_cv_prog_java_works" >&6; }4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5 4088 $as_echo "$ac_cv_prog_java_works" >&6; } 3801 4089 3802 4090 … … 3807 4095 # Extract the first word of "$ac_prog", so it can be a program name with args. 3808 4096 set dummy $ac_prog; ac_word=$2 3809 { echo "$as_me:$LINENO: checking for $ac_word" >&53810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3811 if test "${ac_cv_prog_AWK+set}" = set; then3812 echo $ECHO_N "(cached) $ECHO_C" >&64097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4098 $as_echo_n "checking for $ac_word... " >&6; } 4099 if ${ac_cv_prog_AWK+:} false; then : 4100 $as_echo_n "(cached) " >&6 3813 4101 else 3814 4102 if test -n "$AWK"; then … … 3820 4108 IFS=$as_save_IFS 3821 4109 test -z "$as_dir" && as_dir=. 3822 for ac_exec_ext in '' $ac_executable_extensions; do3823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4110 for ac_exec_ext in '' $ac_executable_extensions; do 4111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3824 4112 ac_cv_prog_AWK="$ac_prog" 3825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3826 4114 break 2 3827 4115 fi 3828 4116 done 3829 done4117 done 3830 4118 IFS=$as_save_IFS 3831 4119 … … 3834 4122 AWK=$ac_cv_prog_AWK 3835 4123 if test -n "$AWK"; then 3836 { echo "$as_me:$LINENO: result: $AWK" >&53837 echo "${ECHO_T}$AWK" >&6; }3838 else 3839 { echo "$as_me:$LINENO: result: no" >&53840 echo "${ECHO_T}no" >&6; }4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4125 $as_echo "$AWK" >&6; } 4126 else 4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4128 $as_echo "no" >&6; } 3841 4129 fi 3842 4130 … … 3849 4137 # Extract the first word of "$ac_prog", so it can be a program name with args. 3850 4138 set dummy $ac_prog; ac_word=$2 3851 { echo "$as_me:$LINENO: checking for $ac_word" >&53852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3853 if test "${ac_cv_prog_YACC+set}" = set; then3854 echo $ECHO_N "(cached) $ECHO_C" >&64139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4140 $as_echo_n "checking for $ac_word... " >&6; } 4141 if ${ac_cv_prog_YACC+:} false; then : 4142 $as_echo_n "(cached) " >&6 3855 4143 else 3856 4144 if test -n "$YACC"; then … … 3862 4150 IFS=$as_save_IFS 3863 4151 test -z "$as_dir" && as_dir=. 3864 for ac_exec_ext in '' $ac_executable_extensions; do3865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4152 for ac_exec_ext in '' $ac_executable_extensions; do 4153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3866 4154 ac_cv_prog_YACC="$ac_prog" 3867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3868 4156 break 2 3869 4157 fi 3870 4158 done 3871 done4159 done 3872 4160 IFS=$as_save_IFS 3873 4161 … … 3876 4164 YACC=$ac_cv_prog_YACC 3877 4165 if test -n "$YACC"; then 3878 { echo "$as_me:$LINENO: result: $YACC" >&53879 echo "${ECHO_T}$YACC" >&6; }3880 else 3881 { echo "$as_me:$LINENO: result: no" >&53882 echo "${ECHO_T}no" >&6; }4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 4167 $as_echo "$YACC" >&6; } 4168 else 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4170 $as_echo "no" >&6; } 3883 4171 fi 3884 4172 … … 3905 4193 done 3906 4194 if test -z "$ac_aux_dir"; then 3907 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3908 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3909 { (exit 1); exit 1; }; } 4195 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3910 4196 fi 3911 4197 … … 3921 4207 # Make sure we can run config.sub. 3922 4208 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3923 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3924 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3925 { (exit 1); exit 1; }; } 3926 3927 { echo "$as_me:$LINENO: checking build system type" >&5 3928 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 3929 if test "${ac_cv_build+set}" = set; then 3930 echo $ECHO_N "(cached) $ECHO_C" >&6 4209 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4210 4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4212 $as_echo_n "checking build system type... " >&6; } 4213 if ${ac_cv_build+:} false; then : 4214 $as_echo_n "(cached) " >&6 3931 4215 else 3932 4216 ac_build_alias=$build_alias … … 3934 4218 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3935 4219 test "x$ac_build_alias" = x && 3936 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3937 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3938 { (exit 1); exit 1; }; } 4220 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3939 4221 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3940 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3941 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3942 { (exit 1); exit 1; }; } 3943 3944 fi 3945 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3946 echo "${ECHO_T}$ac_cv_build" >&6; } 4222 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4223 4224 fi 4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4226 $as_echo "$ac_cv_build" >&6; } 3947 4227 case $ac_cv_build in 3948 4228 *-*-*) ;; 3949 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3950 echo "$as_me: error: invalid value of canonical build" >&2;} 3951 { (exit 1); exit 1; }; };; 4229 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3952 4230 esac 3953 4231 build=$ac_cv_build … … 3965 4243 3966 4244 3967 { echo "$as_me:$LINENO: checking host system type" >&53968 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }3969 if test "${ac_cv_host+set}" = set; then3970 echo $ECHO_N "(cached) $ECHO_C" >&64245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4246 $as_echo_n "checking host system type... " >&6; } 4247 if ${ac_cv_host+:} false; then : 4248 $as_echo_n "(cached) " >&6 3971 4249 else 3972 4250 if test "x$host_alias" = x; then … … 3974 4252 else 3975 4253 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3976 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3977 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3978 { (exit 1); exit 1; }; } 3979 fi 3980 3981 fi 3982 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3983 echo "${ECHO_T}$ac_cv_host" >&6; } 4254 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4255 fi 4256 4257 fi 4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4259 $as_echo "$ac_cv_host" >&6; } 3984 4260 case $ac_cv_host in 3985 4261 *-*-*) ;; 3986 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3987 echo "$as_me: error: invalid value of canonical host" >&2;} 3988 { (exit 1); exit 1; }; };; 4262 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3989 4263 esac 3990 4264 host=$ac_cv_host … … 4002 4276 4003 4277 4004 { echo "$as_me:$LINENO: checking target system type" >&54005 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }4006 if test "${ac_cv_target+set}" = set; then4007 echo $ECHO_N "(cached) $ECHO_C" >&64278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 4279 $as_echo_n "checking target system type... " >&6; } 4280 if ${ac_cv_target+:} false; then : 4281 $as_echo_n "(cached) " >&6 4008 4282 else 4009 4283 if test "x$target_alias" = x; then … … 4011 4285 else 4012 4286 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4013 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4014 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 4015 { (exit 1); exit 1; }; } 4016 fi 4017 4018 fi 4019 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4020 echo "${ECHO_T}$ac_cv_target" >&6; } 4287 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 4288 fi 4289 4290 fi 4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 4292 $as_echo "$ac_cv_target" >&6; } 4021 4293 case $ac_cv_target in 4022 4294 *-*-*) ;; 4023 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4024 echo "$as_me: error: invalid value of canonical target" >&2;} 4025 { (exit 1); exit 1; }; };; 4295 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 4026 4296 esac 4027 4297 target=$ac_cv_target … … 4045 4315 NONENONEs,x,x, && 4046 4316 program_prefix=${target_alias}- 4317 4047 4318 # Find a good install program. We prefer a C program (faster), 4048 4319 # so one script is as good as another. But avoid the broken or … … 4058 4329 # OS/2's system install, which has a completely different semantic 4059 4330 # ./install, which can be erroneously created by make from ./install.sh. 4060 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4061 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 4331 # Reject install programs that cannot install multiple files. 4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4333 $as_echo_n "checking for a BSD-compatible install... " >&6; } 4062 4334 if test -z "$INSTALL"; then 4063 if test "${ac_cv_path_install+set}" = set; then4064 echo $ECHO_N "(cached) $ECHO_C" >&64335 if ${ac_cv_path_install+:} false; then : 4336 $as_echo_n "(cached) " >&6 4065 4337 else 4066 4338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 4069 4341 IFS=$as_save_IFS 4070 4342 test -z "$as_dir" && as_dir=. 4071 # Account for people who put trailing slashes in PATH elements.4072 case $as_dir/ in 4073 ./ | .// | / cC/* | \4343 # Account for people who put trailing slashes in PATH elements. 4344 case $as_dir/ in #(( 4345 ./ | .// | /[cC]/* | \ 4074 4346 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4075 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \4347 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 4076 4348 /usr/ucb/* ) ;; 4077 4349 *) … … 4081 4353 for ac_prog in ginstall scoinst install; do 4082 4354 for ac_exec_ext in '' $ac_executable_extensions; do 4083 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then4355 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 4084 4356 if test $ac_prog = install && 4085 4357 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 4091 4363 : 4092 4364 else 4093 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4094 break 3 4365 rm -rf conftest.one conftest.two conftest.dir 4366 echo one > conftest.one 4367 echo two > conftest.two 4368 mkdir conftest.dir 4369 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4370 test -s conftest.one && test -s conftest.two && 4371 test -s conftest.dir/conftest.one && 4372 test -s conftest.dir/conftest.two 4373 then 4374 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4375 break 3 4376 fi 4095 4377 fi 4096 4378 fi … … 4099 4381 ;; 4100 4382 esac 4101 done 4383 4384 done 4102 4385 IFS=$as_save_IFS 4103 4386 4387 rm -rf conftest.one conftest.two conftest.dir 4104 4388 4105 4389 fi … … 4114 4398 fi 4115 4399 fi 4116 { echo "$as_me:$LINENO: result: $INSTALL" >&54117 echo "${ECHO_T}$INSTALL" >&6; }4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 4401 $as_echo "$INSTALL" >&6; } 4118 4402 4119 4403 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 4125 4409 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4126 4410 4127 { echo "$as_me:$LINENO: checking whether ln -s works" >&54128 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4412 $as_echo_n "checking whether ln -s works... " >&6; } 4129 4413 LN_S=$as_ln_s 4130 4414 if test "$LN_S" = "ln -s"; then 4131 { echo "$as_me:$LINENO: result: yes" >&5 4132 echo "${ECHO_T}yes" >&6; } 4133 else 4134 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4135 echo "${ECHO_T}no, using $LN_S" >&6; } 4136 fi 4137 4138 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4139 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 4140 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4141 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 4142 echo $ECHO_N "(cached) $ECHO_C" >&6 4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4416 $as_echo "yes" >&6; } 4417 else 4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4419 $as_echo "no, using $LN_S" >&6; } 4420 fi 4421 4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4423 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4424 set x ${MAKE-make} 4425 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4426 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4427 $as_echo_n "(cached) " >&6 4143 4428 else 4144 4429 cat >conftest.make <<\_ACEOF … … 4147 4432 @echo '@@@%%%=$(MAKE)=@@@%%%' 4148 4433 _ACEOF 4149 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.4434 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4150 4435 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4151 4436 *@@@%%%=?*=@@@%%%*) … … 4157 4442 fi 4158 4443 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4159 { echo "$as_me:$LINENO: result: yes" >&54160 echo "${ECHO_T}yes" >&6; }4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4445 $as_echo "yes" >&6; } 4161 4446 SET_MAKE= 4162 4447 else 4163 { echo "$as_me:$LINENO: result: no" >&54164 echo "${ECHO_T}no" >&6; }4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4449 $as_echo "no" >&6; } 4165 4450 SET_MAKE="MAKE=${MAKE-make}" 4166 4451 fi … … 4169 4454 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4170 4455 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4171 { echo "$as_me:$LINENO: checking for $ac_word" >&54172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4173 if test "${ac_cv_prog_RANLIB+set}" = set; then4174 echo $ECHO_N "(cached) $ECHO_C" >&64456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4457 $as_echo_n "checking for $ac_word... " >&6; } 4458 if ${ac_cv_prog_RANLIB+:} false; then : 4459 $as_echo_n "(cached) " >&6 4175 4460 else 4176 4461 if test -n "$RANLIB"; then … … 4182 4467 IFS=$as_save_IFS 4183 4468 test -z "$as_dir" && as_dir=. 4184 for ac_exec_ext in '' $ac_executable_extensions; do4185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4469 for ac_exec_ext in '' $ac_executable_extensions; do 4470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4186 4471 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4188 4473 break 2 4189 4474 fi 4190 4475 done 4191 done4476 done 4192 4477 IFS=$as_save_IFS 4193 4478 … … 4196 4481 RANLIB=$ac_cv_prog_RANLIB 4197 4482 if test -n "$RANLIB"; then 4198 { echo "$as_me:$LINENO: result: $RANLIB" >&54199 echo "${ECHO_T}$RANLIB" >&6; }4200 else 4201 { echo "$as_me:$LINENO: result: no" >&54202 echo "${ECHO_T}no" >&6; }4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4484 $as_echo "$RANLIB" >&6; } 4485 else 4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4487 $as_echo "no" >&6; } 4203 4488 fi 4204 4489 … … 4209 4494 # Extract the first word of "ranlib", so it can be a program name with args. 4210 4495 set dummy ranlib; ac_word=$2 4211 { echo "$as_me:$LINENO: checking for $ac_word" >&54212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4213 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then4214 echo $ECHO_N "(cached) $ECHO_C" >&64496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4497 $as_echo_n "checking for $ac_word... " >&6; } 4498 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4499 $as_echo_n "(cached) " >&6 4215 4500 else 4216 4501 if test -n "$ac_ct_RANLIB"; then … … 4222 4507 IFS=$as_save_IFS 4223 4508 test -z "$as_dir" && as_dir=. 4224 for ac_exec_ext in '' $ac_executable_extensions; do4225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4509 for ac_exec_ext in '' $ac_executable_extensions; do 4510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4226 4511 ac_cv_prog_ac_ct_RANLIB="ranlib" 4227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4228 4513 break 2 4229 4514 fi 4230 4515 done 4231 done4516 done 4232 4517 IFS=$as_save_IFS 4233 4518 … … 4236 4521 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4237 4522 if test -n "$ac_ct_RANLIB"; then 4238 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&54239 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }4240 else 4241 { echo "$as_me:$LINENO: result: no" >&54242 echo "${ECHO_T}no" >&6; }4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4524 $as_echo "$ac_ct_RANLIB" >&6; } 4525 else 4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4527 $as_echo "no" >&6; } 4243 4528 fi 4244 4529 … … 4248 4533 case $cross_compiling:$ac_tool_warned in 4249 4534 yes:) 4250 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4251 whose name does not start with the host triplet. If you think this 4252 configuration is useful to you, please write to [email protected]." >&5 4253 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4254 whose name does not start with the host triplet. If you think this 4255 configuration is useful to you, please write to [email protected]." >&2;} 4535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4256 4537 ac_tool_warned=yes ;; 4257 4538 esac … … 4265 4546 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4266 4547 set dummy ${ac_tool_prefix}strip; ac_word=$2 4267 { echo "$as_me:$LINENO: checking for $ac_word" >&54268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4269 if test "${ac_cv_prog_STRIP+set}" = set; then4270 echo $ECHO_N "(cached) $ECHO_C" >&64548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4549 $as_echo_n "checking for $ac_word... " >&6; } 4550 if ${ac_cv_prog_STRIP+:} false; then : 4551 $as_echo_n "(cached) " >&6 4271 4552 else 4272 4553 if test -n "$STRIP"; then … … 4278 4559 IFS=$as_save_IFS 4279 4560 test -z "$as_dir" && as_dir=. 4280 for ac_exec_ext in '' $ac_executable_extensions; do4281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4561 for ac_exec_ext in '' $ac_executable_extensions; do 4562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4282 4563 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4284 4565 break 2 4285 4566 fi 4286 4567 done 4287 done4568 done 4288 4569 IFS=$as_save_IFS 4289 4570 … … 4292 4573 STRIP=$ac_cv_prog_STRIP 4293 4574 if test -n "$STRIP"; then 4294 { echo "$as_me:$LINENO: result: $STRIP" >&54295 echo "${ECHO_T}$STRIP" >&6; }4296 else 4297 { echo "$as_me:$LINENO: result: no" >&54298 echo "${ECHO_T}no" >&6; }4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 4576 $as_echo "$STRIP" >&6; } 4577 else 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4579 $as_echo "no" >&6; } 4299 4580 fi 4300 4581 … … 4305 4586 # Extract the first word of "strip", so it can be a program name with args. 4306 4587 set dummy strip; ac_word=$2 4307 { echo "$as_me:$LINENO: checking for $ac_word" >&54308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }4309 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then4310 echo $ECHO_N "(cached) $ECHO_C" >&64588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4589 $as_echo_n "checking for $ac_word... " >&6; } 4590 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 4591 $as_echo_n "(cached) " >&6 4311 4592 else 4312 4593 if test -n "$ac_ct_STRIP"; then … … 4318 4599 IFS=$as_save_IFS 4319 4600 test -z "$as_dir" && as_dir=. 4320 for ac_exec_ext in '' $ac_executable_extensions; do4321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4601 for ac_exec_ext in '' $ac_executable_extensions; do 4602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4322 4603 ac_cv_prog_ac_ct_STRIP="strip" 4323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4324 4605 break 2 4325 4606 fi 4326 4607 done 4327 done4608 done 4328 4609 IFS=$as_save_IFS 4329 4610 … … 4332 4613 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4333 4614 if test -n "$ac_ct_STRIP"; then 4334 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&54335 echo "${ECHO_T}$ac_ct_STRIP" >&6; }4336 else 4337 { echo "$as_me:$LINENO: result: no" >&54338 echo "${ECHO_T}no" >&6; }4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 4616 $as_echo "$ac_ct_STRIP" >&6; } 4617 else 4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4619 $as_echo "no" >&6; } 4339 4620 fi 4340 4621 … … 4344 4625 case $cross_compiling:$ac_tool_warned in 4345 4626 yes:) 4346 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4347 whose name does not start with the host triplet. If you think this 4348 configuration is useful to you, please write to [email protected]." >&5 4349 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4350 whose name does not start with the host triplet. If you think this 4351 configuration is useful to you, please write to [email protected]." >&2;} 4627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4352 4629 ac_tool_warned=yes ;; 4353 4630 esac … … 4359 4636 4360 4637 4361 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&54362 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5 4639 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 4363 4640 arch_64bit=no 4364 4641 case "$host_cpu" in … … 4367 4644 4368 4645 if test "$arch_64bit" = yes; then 4369 { echo "$as_me:$LINENO: result: yes" >&54370 echo "${ECHO_T}yes" >&6; }4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4647 $as_echo "yes" >&6; } 4371 4648 if test -z "$ARCH_DEP_FLAGS" ; then 4372 4649 ARCH_DEP_FLAGS="-fPIC" 4373 4650 fi 4374 4651 else 4375 { echo "$as_me:$LINENO: result: no" >&54376 echo "${ECHO_T}no" >&6; }4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4653 $as_echo "no" >&6; } 4377 4654 if test -z "$ARCH_DEP_FLAGS" ; then 4378 4655 ARCH_DEP_FLAGS= … … 4407 4684 #do test of MICO_VER 4408 4685 if test MICO_VER != 0; then 4409 cat >>confdefs.h <<\_ACEOF 4410 #define MICO_VER 1 4411 _ACEOF 4686 $as_echo "#define MICO_VER 1" >>confdefs.h 4412 4687 4413 4688 … … 4422 4697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4423 4698 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4424 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54425 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4700 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4426 4701 # On Suns, sometimes $CPP names a directory. 4427 4702 if test -n "$CPP" && test -d "$CPP"; then … … 4429 4704 fi 4430 4705 if test -z "$CPP"; then 4431 if test "${ac_cv_prog_CPP+set}" = set; then4432 echo $ECHO_N "(cached) $ECHO_C" >&64706 if ${ac_cv_prog_CPP+:} false; then : 4707 $as_echo_n "(cached) " >&6 4433 4708 else 4434 4709 # Double quotes because CPP needs to be expanded … … 4444 4719 # On the NeXT, cc -E runs the code through the compiler's parser, 4445 4720 # not just through cpp. "Syntax error" is here to catch this case. 4446 cat >conftest.$ac_ext <<_ACEOF 4447 /* confdefs.h. */ 4448 _ACEOF 4449 cat confdefs.h >>conftest.$ac_ext 4450 cat >>conftest.$ac_ext <<_ACEOF 4721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4451 4722 /* end confdefs.h. */ 4452 4723 #ifdef __STDC__ … … 4457 4728 Syntax error 4458 4729 _ACEOF 4459 if { (ac_try="$ac_cpp conftest.$ac_ext" 4460 case "(($ac_try" in 4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4462 *) ac_try_echo=$ac_try;; 4463 esac 4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4466 ac_status=$? 4467 grep -v '^ *+' conftest.er1 >conftest.err 4468 rm -f conftest.er1 4469 cat conftest.err >&5 4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4471 (exit $ac_status); } >/dev/null && { 4472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4473 test ! -s conftest.err 4474 }; then 4475 : 4476 else 4477 echo "$as_me: failed program was:" >&5 4478 sed 's/^/| /' conftest.$ac_ext >&5 4479 4730 if ac_fn_c_try_cpp "$LINENO"; then : 4731 4732 else 4480 4733 # Broken: fails on valid input. 4481 4734 continue 4482 4735 fi 4483 4484 rm -f conftest.err conftest.$ac_ext 4736 rm -f conftest.err conftest.i conftest.$ac_ext 4485 4737 4486 4738 # OK, works on sane cases. Now check whether nonexistent headers 4487 4739 # can be detected and how. 4488 cat >conftest.$ac_ext <<_ACEOF 4489 /* confdefs.h. */ 4490 _ACEOF 4491 cat confdefs.h >>conftest.$ac_ext 4492 cat >>conftest.$ac_ext <<_ACEOF 4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4493 4741 /* end confdefs.h. */ 4494 4742 #include <ac_nonexistent.h> 4495 4743 _ACEOF 4496 if { (ac_try="$ac_cpp conftest.$ac_ext" 4497 case "(($ac_try" in 4498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4499 *) ac_try_echo=$ac_try;; 4500 esac 4501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4503 ac_status=$? 4504 grep -v '^ *+' conftest.er1 >conftest.err 4505 rm -f conftest.er1 4506 cat conftest.err >&5 4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4508 (exit $ac_status); } >/dev/null && { 4509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4510 test ! -s conftest.err 4511 }; then 4744 if ac_fn_c_try_cpp "$LINENO"; then : 4512 4745 # Broken: success on invalid input. 4513 4746 continue 4514 4747 else 4515 echo "$as_me: failed program was:" >&54516 sed 's/^/| /' conftest.$ac_ext >&54517 4518 4748 # Passes both tests. 4519 4749 ac_preproc_ok=: 4520 4750 break 4521 4751 fi 4522 4523 rm -f conftest.err conftest.$ac_ext 4752 rm -f conftest.err conftest.i conftest.$ac_ext 4524 4753 4525 4754 done 4526 4755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4527 rm -f conftest. err conftest.$ac_ext4528 if $ac_preproc_ok; then 4756 rm -f conftest.i conftest.err conftest.$ac_ext 4757 if $ac_preproc_ok; then : 4529 4758 break 4530 4759 fi … … 4538 4767 ac_cv_prog_CPP=$CPP 4539 4768 fi 4540 { echo "$as_me:$LINENO: result: $CPP" >&54541 echo "${ECHO_T}$CPP" >&6; }4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4770 $as_echo "$CPP" >&6; } 4542 4771 ac_preproc_ok=false 4543 4772 for ac_c_preproc_warn_flag in '' yes … … 4549 4778 # On the NeXT, cc -E runs the code through the compiler's parser, 4550 4779 # not just through cpp. "Syntax error" is here to catch this case. 4551 cat >conftest.$ac_ext <<_ACEOF 4552 /* confdefs.h. */ 4553 _ACEOF 4554 cat confdefs.h >>conftest.$ac_ext 4555 cat >>conftest.$ac_ext <<_ACEOF 4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4556 4781 /* end confdefs.h. */ 4557 4782 #ifdef __STDC__ … … 4562 4787 Syntax error 4563 4788 _ACEOF 4564 if { (ac_try="$ac_cpp conftest.$ac_ext" 4565 case "(($ac_try" in 4566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4567 *) ac_try_echo=$ac_try;; 4568 esac 4569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4571 ac_status=$? 4572 grep -v '^ *+' conftest.er1 >conftest.err 4573 rm -f conftest.er1 4574 cat conftest.err >&5 4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4576 (exit $ac_status); } >/dev/null && { 4577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4578 test ! -s conftest.err 4579 }; then 4580 : 4581 else 4582 echo "$as_me: failed program was:" >&5 4583 sed 's/^/| /' conftest.$ac_ext >&5 4584 4789 if ac_fn_c_try_cpp "$LINENO"; then : 4790 4791 else 4585 4792 # Broken: fails on valid input. 4586 4793 continue 4587 4794 fi 4588 4589 rm -f conftest.err conftest.$ac_ext 4795 rm -f conftest.err conftest.i conftest.$ac_ext 4590 4796 4591 4797 # OK, works on sane cases. Now check whether nonexistent headers 4592 4798 # can be detected and how. 4593 cat >conftest.$ac_ext <<_ACEOF 4594 /* confdefs.h. */ 4595 _ACEOF 4596 cat confdefs.h >>conftest.$ac_ext 4597 cat >>conftest.$ac_ext <<_ACEOF 4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4598 4800 /* end confdefs.h. */ 4599 4801 #include <ac_nonexistent.h> 4600 4802 _ACEOF 4601 if { (ac_try="$ac_cpp conftest.$ac_ext" 4602 case "(($ac_try" in 4603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4604 *) ac_try_echo=$ac_try;; 4605 esac 4606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4608 ac_status=$? 4609 grep -v '^ *+' conftest.er1 >conftest.err 4610 rm -f conftest.er1 4611 cat conftest.err >&5 4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4613 (exit $ac_status); } >/dev/null && { 4614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4615 test ! -s conftest.err 4616 }; then 4803 if ac_fn_c_try_cpp "$LINENO"; then : 4617 4804 # Broken: success on invalid input. 4618 4805 continue 4619 4806 else 4620 echo "$as_me: failed program was:" >&54621 sed 's/^/| /' conftest.$ac_ext >&54622 4623 4807 # Passes both tests. 4624 4808 ac_preproc_ok=: 4625 4809 break 4626 4810 fi 4627 4628 rm -f conftest.err conftest.$ac_ext 4811 rm -f conftest.err conftest.i conftest.$ac_ext 4629 4812 4630 4813 done 4631 4814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4632 rm -f conftest.err conftest.$ac_ext 4633 if $ac_preproc_ok; then 4634 : 4635 else 4636 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4637 See \`config.log' for more details." >&5 4638 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4639 See \`config.log' for more details." >&2;} 4640 { (exit 1); exit 1; }; } 4815 rm -f conftest.i conftest.err conftest.$ac_ext 4816 if $ac_preproc_ok; then : 4817 4818 else 4819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4821 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4822 See \`config.log' for more details" "$LINENO" 5; } 4641 4823 fi 4642 4824 … … 4648 4830 4649 4831 4650 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4651 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4652 if test "${ac_cv_path_GREP+set}" = set; then 4653 echo $ECHO_N "(cached) $ECHO_C" >&6 4654 else 4655 # Extract the first word of "grep ggrep" to use in msg output 4656 if test -z "$GREP"; then 4657 set dummy grep ggrep; ac_prog_name=$2 4658 if test "${ac_cv_path_GREP+set}" = set; then 4659 echo $ECHO_N "(cached) $ECHO_C" >&6 4660 else 4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4833 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4834 if ${ac_cv_path_GREP+:} false; then : 4835 $as_echo_n "(cached) " >&6 4836 else 4837 if test -z "$GREP"; then 4661 4838 ac_path_GREP_found=false 4662 # Loop through the user's path and test for each of PROGNAME-LIST4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4839 # Loop through the user's path and test for each of PROGNAME-LIST 4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4664 4841 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4665 4842 do 4666 4843 IFS=$as_save_IFS 4667 4844 test -z "$as_dir" && as_dir=. 4668 for ac_prog in grep ggrep; do4669 for ac_exec_ext in '' $ac_executable_extensions; do4670 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4671 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4672 4845 for ac_prog in grep ggrep; do 4846 for ac_exec_ext in '' $ac_executable_extensions; do 4847 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4848 as_fn_executable_p "$ac_path_GREP" || continue 4849 # Check for GNU ac_path_GREP and select it if it is found. 4673 4850 # Check for GNU $ac_path_GREP 4674 4851 case `"$ac_path_GREP" --version 2>&1` in … … 4677 4854 *) 4678 4855 ac_count=0 4679 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4856 $as_echo_n 0123456789 >"conftest.in" 4680 4857 while : 4681 4858 do … … 4683 4860 mv "conftest.tmp" "conftest.in" 4684 4861 cp "conftest.in" "conftest.nl" 4685 echo 'GREP' >> "conftest.nl"4862 $as_echo 'GREP' >> "conftest.nl" 4686 4863 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4687 4864 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4688 a c_count=`expr $ac_count + 1`4865 as_fn_arith $ac_count + 1 && ac_count=$as_val 4689 4866 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4690 4867 # Best one so far, save it but keep looking for a better one … … 4698 4875 esac 4699 4876 4700 4701 $ac_path_GREP_found && break 34877 $ac_path_GREP_found && break 3 4878 done 4702 4879 done 4703 done 4704 4705 done 4880 done 4706 4881 IFS=$as_save_IFS 4707 4708 4709 fi 4710 4711 GREP="$ac_cv_path_GREP" 4712 if test -z "$GREP"; then 4713 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4714 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4715 { (exit 1); exit 1; }; } 4716 fi 4717 4882 if test -z "$ac_cv_path_GREP"; then 4883 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4884 fi 4718 4885 else 4719 4886 ac_cv_path_GREP=$GREP 4720 4887 fi 4721 4888 4722 4723 fi 4724 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4725 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4889 fi 4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4891 $as_echo "$ac_cv_path_GREP" >&6; } 4726 4892 GREP="$ac_cv_path_GREP" 4727 4893 4728 4894 4729 { echo "$as_me:$LINENO: checking for egrep" >&54730 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4731 if test "${ac_cv_path_EGREP+set}" = set; then4732 echo $ECHO_N "(cached) $ECHO_C" >&64895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4896 $as_echo_n "checking for egrep... " >&6; } 4897 if ${ac_cv_path_EGREP+:} false; then : 4898 $as_echo_n "(cached) " >&6 4733 4899 else 4734 4900 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4735 4901 then ac_cv_path_EGREP="$GREP -E" 4736 4902 else 4737 # Extract the first word of "egrep" to use in msg output 4738 if test -z "$EGREP"; then 4739 set dummy egrep; ac_prog_name=$2 4740 if test "${ac_cv_path_EGREP+set}" = set; then 4741 echo $ECHO_N "(cached) $ECHO_C" >&6 4742 else 4903 if test -z "$EGREP"; then 4743 4904 ac_path_EGREP_found=false 4744 # Loop through the user's path and test for each of PROGNAME-LIST4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4905 # Loop through the user's path and test for each of PROGNAME-LIST 4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4746 4907 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4747 4908 do 4748 4909 IFS=$as_save_IFS 4749 4910 test -z "$as_dir" && as_dir=. 4750 for ac_prog in egrep; do4751 for ac_exec_ext in '' $ac_executable_extensions; do4752 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4753 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4754 4911 for ac_prog in egrep; do 4912 for ac_exec_ext in '' $ac_executable_extensions; do 4913 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4914 as_fn_executable_p "$ac_path_EGREP" || continue 4915 # Check for GNU ac_path_EGREP and select it if it is found. 4755 4916 # Check for GNU $ac_path_EGREP 4756 4917 case `"$ac_path_EGREP" --version 2>&1` in … … 4759 4920 *) 4760 4921 ac_count=0 4761 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4922 $as_echo_n 0123456789 >"conftest.in" 4762 4923 while : 4763 4924 do … … 4765 4926 mv "conftest.tmp" "conftest.in" 4766 4927 cp "conftest.in" "conftest.nl" 4767 echo 'EGREP' >> "conftest.nl"4928 $as_echo 'EGREP' >> "conftest.nl" 4768 4929 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4769 4930 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4770 a c_count=`expr $ac_count + 1`4931 as_fn_arith $ac_count + 1 && ac_count=$as_val 4771 4932 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4772 4933 # Best one so far, save it but keep looking for a better one … … 4780 4941 esac 4781 4942 4782 4783 $ac_path_EGREP_found && break 34943 $ac_path_EGREP_found && break 3 4944 done 4784 4945 done 4946 done 4947 IFS=$as_save_IFS 4948 if test -z "$ac_cv_path_EGREP"; then 4949 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4950 fi 4951 else 4952 ac_cv_path_EGREP=$EGREP 4953 fi 4954 4955 fi 4956 fi 4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4958 $as_echo "$ac_cv_path_EGREP" >&6; } 4959 EGREP="$ac_cv_path_EGREP" 4960 4961 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4963 $as_echo_n "checking for ANSI C header files... " >&6; } 4964 if ${ac_cv_header_stdc+:} false; then : 4965 $as_echo_n "(cached) " >&6 4966 else 4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4968 /* end confdefs.h. */ 4969 #include <stdlib.h> 4970 #include <stdarg.h> 4971 #include <string.h> 4972 #include <float.h> 4973 4974 int 4975 main () 4976 { 4977 4978 ; 4979 return 0; 4980 } 4981 _ACEOF 4982 if ac_fn_c_try_compile "$LINENO"; then : 4983 ac_cv_header_stdc=yes 4984 else 4985 ac_cv_header_stdc=no 4986 fi 4987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4988 4989 if test $ac_cv_header_stdc = yes; then 4990 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4992 /* end confdefs.h. */ 4993 #include <string.h> 4994 4995 _ACEOF 4996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4997 $EGREP "memchr" >/dev/null 2>&1; then : 4998 4999 else 5000 ac_cv_header_stdc=no 5001 fi 5002 rm -f conftest* 5003 5004 fi 5005 5006 if test $ac_cv_header_stdc = yes; then 5007 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5009 /* end confdefs.h. */ 5010 #include <stdlib.h> 5011 5012 _ACEOF 5013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5014 $EGREP "free" >/dev/null 2>&1; then : 5015 5016 else 5017 ac_cv_header_stdc=no 5018 fi 5019 rm -f conftest* 5020 5021 fi 5022 5023 if test $ac_cv_header_stdc = yes; then 5024 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5025 if test "$cross_compiling" = yes; then : 5026 : 5027 else 5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5029 /* end confdefs.h. */ 5030 #include <ctype.h> 5031 #include <stdlib.h> 5032 #if ((' ' & 0x0FF) == 0x020) 5033 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5034 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5035 #else 5036 # define ISLOWER(c) \ 5037 (('a' <= (c) && (c) <= 'i') \ 5038 || ('j' <= (c) && (c) <= 'r') \ 5039 || ('s' <= (c) && (c) <= 'z')) 5040 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5041 #endif 5042 5043 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5044 int 5045 main () 5046 { 5047 int i; 5048 for (i = 0; i < 256; i++) 5049 if (XOR (islower (i), ISLOWER (i)) 5050 || toupper (i) != TOUPPER (i)) 5051 return 2; 5052 return 0; 5053 } 5054 _ACEOF 5055 if ac_fn_c_try_run "$LINENO"; then : 5056 5057 else 5058 ac_cv_header_stdc=no 5059 fi 5060 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5061 conftest.$ac_objext conftest.beam conftest.$ac_ext 5062 fi 5063 5064 fi 5065 fi 5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5067 $as_echo "$ac_cv_header_stdc" >&6; } 5068 if test $ac_cv_header_stdc = yes; then 5069 5070 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5071 5072 fi 5073 5074 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 5075 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5076 inttypes.h stdint.h unistd.h 5077 do : 5078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5079 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5080 " 5081 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5082 cat >>confdefs.h <<_ACEOF 5083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5084 _ACEOF 5085 5086 fi 5087 4785 5088 done 4786 5089 4787 done 4788 IFS=$as_save_IFS 4789 4790 4791 fi 4792 4793 EGREP="$ac_cv_path_EGREP" 4794 if test -z "$EGREP"; then 4795 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4796 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4797 { (exit 1); exit 1; }; } 4798 fi 4799 4800 else 4801 ac_cv_path_EGREP=$EGREP 4802 fi 4803 4804 4805 fi 4806 fi 4807 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4808 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4809 EGREP="$ac_cv_path_EGREP" 4810 4811 4812 4813 { echo "$as_me:$LINENO: checking for AIX" >&5 4814 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } 4815 cat >conftest.$ac_ext <<_ACEOF 4816 /* confdefs.h. */ 4817 _ACEOF 4818 cat confdefs.h >>conftest.$ac_ext 4819 cat >>conftest.$ac_ext <<_ACEOF 5090 5091 5092 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5093 if test "x$ac_cv_header_minix_config_h" = xyes; then : 5094 MINIX=yes 5095 else 5096 MINIX= 5097 fi 5098 5099 5100 if test "$MINIX" = yes; then 5101 5102 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5103 5104 5105 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5106 5107 5108 $as_echo "#define _MINIX 1" >>confdefs.h 5109 5110 fi 5111 5112 5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5114 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5115 if ${ac_cv_safe_to_define___extensions__+:} false; then : 5116 $as_echo_n "(cached) " >&6 5117 else 5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4820 5119 /* end confdefs.h. */ 4821 #ifdef _AIX 4822 yes 4823 #endif 4824 4825 _ACEOF 4826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4827 $EGREP "yes" >/dev/null 2>&1; then 4828 { echo "$as_me:$LINENO: result: yes" >&5 4829 echo "${ECHO_T}yes" >&6; } 4830 cat >>confdefs.h <<\_ACEOF 4831 #define _ALL_SOURCE 1 4832 _ACEOF 4833 4834 else 4835 { echo "$as_me:$LINENO: result: no" >&5 4836 echo "${ECHO_T}no" >&6; } 4837 fi 4838 rm -f conftest* 4839 4840 4841 { echo "$as_me:$LINENO: checking for library containing strerror" >&5 4842 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 4843 if test "${ac_cv_search_strerror+set}" = set; then 4844 echo $ECHO_N "(cached) $ECHO_C" >&6 5120 5121 # define __EXTENSIONS__ 1 5122 $ac_includes_default 5123 int 5124 main () 5125 { 5126 5127 ; 5128 return 0; 5129 } 5130 _ACEOF 5131 if ac_fn_c_try_compile "$LINENO"; then : 5132 ac_cv_safe_to_define___extensions__=yes 5133 else 5134 ac_cv_safe_to_define___extensions__=no 5135 fi 5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5137 fi 5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5139 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5140 test $ac_cv_safe_to_define___extensions__ = yes && 5141 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5142 5143 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5144 5145 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5146 5147 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5148 5149 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5150 5151 5152 5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 5154 $as_echo_n "checking for library containing strerror... " >&6; } 5155 if ${ac_cv_search_strerror+:} false; then : 5156 $as_echo_n "(cached) " >&6 4845 5157 else 4846 5158 ac_func_search_save_LIBS=$LIBS 4847 cat >conftest.$ac_ext <<_ACEOF 4848 /* confdefs.h. */ 4849 _ACEOF 4850 cat confdefs.h >>conftest.$ac_ext 4851 cat >>conftest.$ac_ext <<_ACEOF 5159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4852 5160 /* end confdefs.h. */ 4853 5161 … … 4874 5182 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4875 5183 fi 4876 rm -f conftest.$ac_objext conftest$ac_exeext 4877 if { (ac_try="$ac_link" 4878 case "(($ac_try" in 4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4880 *) ac_try_echo=$ac_try;; 4881 esac 4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4883 (eval "$ac_link") 2>conftest.er1 4884 ac_status=$? 4885 grep -v '^ *+' conftest.er1 >conftest.err 4886 rm -f conftest.er1 4887 cat conftest.err >&5 4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4889 (exit $ac_status); } && { 4890 test -z "$ac_c_werror_flag" || 4891 test ! -s conftest.err 4892 } && test -s conftest$ac_exeext && 4893 $as_test_x conftest$ac_exeext; then 5184 if ac_fn_c_try_link "$LINENO"; then : 4894 5185 ac_cv_search_strerror=$ac_res 4895 else 4896 echo "$as_me: failed program was:" >&5 4897 sed 's/^/| /' conftest.$ac_ext >&5 4898 4899 4900 fi 4901 4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4903 conftest$ac_exeext 4904 if test "${ac_cv_search_strerror+set}" = set; then 5186 fi 5187 rm -f core conftest.err conftest.$ac_objext \ 5188 conftest$ac_exeext 5189 if ${ac_cv_search_strerror+:} false; then : 4905 5190 break 4906 5191 fi 4907 5192 done 4908 if test "${ac_cv_search_strerror+set}" = set; then4909 : 5193 if ${ac_cv_search_strerror+:} false; then : 5194 4910 5195 else 4911 5196 ac_cv_search_strerror=no … … 4914 5199 LIBS=$ac_func_search_save_LIBS 4915 5200 fi 4916 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&54917 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 5202 $as_echo "$ac_cv_search_strerror" >&6; } 4918 5203 ac_res=$ac_cv_search_strerror 4919 if test "$ac_res" != no; then 5204 if test "$ac_res" != no; then : 4920 5205 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4921 5206 4922 5207 fi 4923 5208 4924 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4925 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4926 if test "${ac_cv_header_stdc+set}" = set; then 4927 echo $ECHO_N "(cached) $ECHO_C" >&6 4928 else 4929 cat >conftest.$ac_ext <<_ACEOF 4930 /* confdefs.h. */ 4931 _ACEOF 4932 cat confdefs.h >>conftest.$ac_ext 4933 cat >>conftest.$ac_ext <<_ACEOF 4934 /* end confdefs.h. */ 4935 #include <stdlib.h> 4936 #include <stdarg.h> 4937 #include <string.h> 4938 #include <float.h> 4939 4940 int 4941 main () 4942 { 4943 4944 ; 4945 return 0; 4946 } 4947 _ACEOF 4948 rm -f conftest.$ac_objext 4949 if { (ac_try="$ac_compile" 4950 case "(($ac_try" in 4951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4952 *) ac_try_echo=$ac_try;; 4953 esac 4954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4955 (eval "$ac_compile") 2>conftest.er1 4956 ac_status=$? 4957 grep -v '^ *+' conftest.er1 >conftest.err 4958 rm -f conftest.er1 4959 cat conftest.err >&5 4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4961 (exit $ac_status); } && { 4962 test -z "$ac_c_werror_flag" || 4963 test ! -s conftest.err 4964 } && test -s conftest.$ac_objext; then 4965 ac_cv_header_stdc=yes 4966 else 4967 echo "$as_me: failed program was:" >&5 4968 sed 's/^/| /' conftest.$ac_ext >&5 4969 4970 ac_cv_header_stdc=no 4971 fi 4972 4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4974 4975 if test $ac_cv_header_stdc = yes; then 4976 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4977 cat >conftest.$ac_ext <<_ACEOF 4978 /* confdefs.h. */ 4979 _ACEOF 4980 cat confdefs.h >>conftest.$ac_ext 4981 cat >>conftest.$ac_ext <<_ACEOF 4982 /* end confdefs.h. */ 4983 #include <string.h> 4984 4985 _ACEOF 4986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4987 $EGREP "memchr" >/dev/null 2>&1; then 4988 : 4989 else 4990 ac_cv_header_stdc=no 4991 fi 4992 rm -f conftest* 4993 4994 fi 4995 4996 if test $ac_cv_header_stdc = yes; then 4997 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4998 cat >conftest.$ac_ext <<_ACEOF 4999 /* confdefs.h. */ 5000 _ACEOF 5001 cat confdefs.h >>conftest.$ac_ext 5002 cat >>conftest.$ac_ext <<_ACEOF 5003 /* end confdefs.h. */ 5004 #include <stdlib.h> 5005 5006 _ACEOF 5007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5008 $EGREP "free" >/dev/null 2>&1; then 5009 : 5010 else 5011 ac_cv_header_stdc=no 5012 fi 5013 rm -f conftest* 5014 5015 fi 5016 5017 if test $ac_cv_header_stdc = yes; then 5018 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5019 if test "$cross_compiling" = yes; then 5020 : 5021 else 5022 cat >conftest.$ac_ext <<_ACEOF 5023 /* confdefs.h. */ 5024 _ACEOF 5025 cat confdefs.h >>conftest.$ac_ext 5026 cat >>conftest.$ac_ext <<_ACEOF 5027 /* end confdefs.h. */ 5028 #include <ctype.h> 5029 #include <stdlib.h> 5030 #if ((' ' & 0x0FF) == 0x020) 5031 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5032 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5033 #else 5034 # define ISLOWER(c) \ 5035 (('a' <= (c) && (c) <= 'i') \ 5036 || ('j' <= (c) && (c) <= 'r') \ 5037 || ('s' <= (c) && (c) <= 'z')) 5038 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5039 #endif 5040 5041 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5042 int 5043 main () 5044 { 5045 int i; 5046 for (i = 0; i < 256; i++) 5047 if (XOR (islower (i), ISLOWER (i)) 5048 || toupper (i) != TOUPPER (i)) 5049 return 2; 5050 return 0; 5051 } 5052 _ACEOF 5053 rm -f conftest$ac_exeext 5054 if { (ac_try="$ac_link" 5055 case "(($ac_try" in 5056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5057 *) ac_try_echo=$ac_try;; 5058 esac 5059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5060 (eval "$ac_link") 2>&5 5061 ac_status=$? 5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5063 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5064 { (case "(($ac_try" in 5065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5066 *) ac_try_echo=$ac_try;; 5067 esac 5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5069 (eval "$ac_try") 2>&5 5070 ac_status=$? 5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5072 (exit $ac_status); }; }; then 5073 : 5074 else 5075 echo "$as_me: program exited with status $ac_status" >&5 5076 echo "$as_me: failed program was:" >&5 5077 sed 's/^/| /' conftest.$ac_ext >&5 5078 5079 ( exit $ac_status ) 5080 ac_cv_header_stdc=no 5081 fi 5082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5083 fi 5084 5085 5086 fi 5087 fi 5088 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5089 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5090 if test $ac_cv_header_stdc = yes; then 5091 5092 cat >>confdefs.h <<\_ACEOF 5093 #define STDC_HEADERS 1 5094 _ACEOF 5095 5096 fi 5097 5098 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5109 inttypes.h stdint.h unistd.h 5110 do 5111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5112 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5115 echo $ECHO_N "(cached) $ECHO_C" >&6 5116 else 5117 cat >conftest.$ac_ext <<_ACEOF 5118 /* confdefs.h. */ 5119 _ACEOF 5120 cat confdefs.h >>conftest.$ac_ext 5121 cat >>conftest.$ac_ext <<_ACEOF 5122 /* end confdefs.h. */ 5123 $ac_includes_default 5124 5125 #include <$ac_header> 5126 _ACEOF 5127 rm -f conftest.$ac_objext 5128 if { (ac_try="$ac_compile" 5129 case "(($ac_try" in 5130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5131 *) ac_try_echo=$ac_try;; 5132 esac 5133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5134 (eval "$ac_compile") 2>conftest.er1 5135 ac_status=$? 5136 grep -v '^ *+' conftest.er1 >conftest.err 5137 rm -f conftest.er1 5138 cat conftest.err >&5 5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5140 (exit $ac_status); } && { 5141 test -z "$ac_c_werror_flag" || 5142 test ! -s conftest.err 5143 } && test -s conftest.$ac_objext; then 5144 eval "$as_ac_Header=yes" 5145 else 5146 echo "$as_me: failed program was:" >&5 5147 sed 's/^/| /' conftest.$ac_ext >&5 5148 5149 eval "$as_ac_Header=no" 5150 fi 5151 5152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5153 fi 5154 ac_res=`eval echo '${'$as_ac_Header'}'` 5155 { echo "$as_me:$LINENO: result: $ac_res" >&5 5156 echo "${ECHO_T}$ac_res" >&6; } 5157 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5158 cat >>confdefs.h <<_ACEOF 5159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5160 _ACEOF 5161 5162 fi 5163 5164 done 5165 5166 5167 if test "${ac_cv_header_minix_config_h+set}" = set; then 5168 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 5169 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 5170 if test "${ac_cv_header_minix_config_h+set}" = set; then 5171 echo $ECHO_N "(cached) $ECHO_C" >&6 5172 fi 5173 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5174 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 5175 else 5176 # Is the header compilable? 5177 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5178 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } 5179 cat >conftest.$ac_ext <<_ACEOF 5180 /* confdefs.h. */ 5181 _ACEOF 5182 cat confdefs.h >>conftest.$ac_ext 5183 cat >>conftest.$ac_ext <<_ACEOF 5184 /* end confdefs.h. */ 5185 $ac_includes_default 5186 #include <minix/config.h> 5187 _ACEOF 5188 rm -f conftest.$ac_objext 5189 if { (ac_try="$ac_compile" 5190 case "(($ac_try" in 5191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5192 *) ac_try_echo=$ac_try;; 5193 esac 5194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5195 (eval "$ac_compile") 2>conftest.er1 5196 ac_status=$? 5197 grep -v '^ *+' conftest.er1 >conftest.err 5198 rm -f conftest.er1 5199 cat conftest.err >&5 5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); } && { 5202 test -z "$ac_c_werror_flag" || 5203 test ! -s conftest.err 5204 } && test -s conftest.$ac_objext; then 5205 ac_header_compiler=yes 5206 else 5207 echo "$as_me: failed program was:" >&5 5208 sed 's/^/| /' conftest.$ac_ext >&5 5209 5210 ac_header_compiler=no 5211 fi 5212 5213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5214 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5215 echo "${ECHO_T}$ac_header_compiler" >&6; } 5216 5217 # Is the header present? 5218 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5219 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } 5220 cat >conftest.$ac_ext <<_ACEOF 5221 /* confdefs.h. */ 5222 _ACEOF 5223 cat confdefs.h >>conftest.$ac_ext 5224 cat >>conftest.$ac_ext <<_ACEOF 5225 /* end confdefs.h. */ 5226 #include <minix/config.h> 5227 _ACEOF 5228 if { (ac_try="$ac_cpp conftest.$ac_ext" 5229 case "(($ac_try" in 5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5231 *) ac_try_echo=$ac_try;; 5232 esac 5233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5235 ac_status=$? 5236 grep -v '^ *+' conftest.er1 >conftest.err 5237 rm -f conftest.er1 5238 cat conftest.err >&5 5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5240 (exit $ac_status); } >/dev/null && { 5241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5242 test ! -s conftest.err 5243 }; then 5244 ac_header_preproc=yes 5245 else 5246 echo "$as_me: failed program was:" >&5 5247 sed 's/^/| /' conftest.$ac_ext >&5 5248 5249 ac_header_preproc=no 5250 fi 5251 5252 rm -f conftest.err conftest.$ac_ext 5253 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5254 echo "${ECHO_T}$ac_header_preproc" >&6; } 5255 5256 # So? What about this header? 5257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5258 yes:no: ) 5259 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5260 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5261 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5262 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5263 ac_header_preproc=yes 5264 ;; 5265 no:yes:* ) 5266 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5267 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5268 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5269 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5270 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5271 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5272 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5273 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5274 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5275 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5276 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5277 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5278 5279 ;; 5280 esac 5281 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 5282 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 5283 if test "${ac_cv_header_minix_config_h+set}" = set; then 5284 echo $ECHO_N "(cached) $ECHO_C" >&6 5285 else 5286 ac_cv_header_minix_config_h=$ac_header_preproc 5287 fi 5288 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5289 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 5290 5291 fi 5292 if test $ac_cv_header_minix_config_h = yes; then 5293 MINIX=yes 5294 else 5295 MINIX= 5296 fi 5297 5298 5299 if test "$MINIX" = yes; then 5300 5301 cat >>confdefs.h <<\_ACEOF 5302 #define _POSIX_SOURCE 1 5303 _ACEOF 5304 5305 5306 cat >>confdefs.h <<\_ACEOF 5307 #define _POSIX_1_SOURCE 2 5308 _ACEOF 5309 5310 5311 cat >>confdefs.h <<\_ACEOF 5312 #define _MINIX 1 5313 _ACEOF 5314 5315 fi 5316 5317 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5318 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; } 5319 if test "${ac_cv_prog_cc_stdc+set}" = set; then 5320 echo $ECHO_N "(cached) $ECHO_C" >&6 5209 5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5211 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 5212 if ${ac_cv_prog_cc_stdc+:} false; then : 5213 $as_echo_n "(cached) " >&6 5321 5214 else 5322 5215 ac_cv_prog_cc_stdc=no … … 5331 5224 do 5332 5225 CFLAGS="$ac_save_CFLAGS $ac_arg" 5333 cat >conftest.$ac_ext <<_ACEOF 5334 /* confdefs.h. */ 5335 _ACEOF 5336 cat confdefs.h >>conftest.$ac_ext 5337 cat >>conftest.$ac_ext <<_ACEOF 5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5338 5227 /* end confdefs.h. */ 5339 5228 #if !defined(__STDC__) || __STDC__ != 1 … … 5351 5240 } 5352 5241 _ACEOF 5353 rm -f conftest.$ac_objext 5354 if { (ac_try="$ac_compile" 5355 case "(($ac_try" in 5356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5357 *) ac_try_echo=$ac_try;; 5358 esac 5359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5360 (eval "$ac_compile") 2>conftest.er1 5361 ac_status=$? 5362 grep -v '^ *+' conftest.er1 >conftest.err 5363 rm -f conftest.er1 5364 cat conftest.err >&5 5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5366 (exit $ac_status); } && { 5367 test -z "$ac_c_werror_flag" || 5368 test ! -s conftest.err 5369 } && test -s conftest.$ac_objext; then 5242 if ac_fn_c_try_compile "$LINENO"; then : 5370 5243 ac_cv_prog_cc_stdc="$ac_arg"; break 5371 else 5372 echo "$as_me: failed program was:" >&5 5373 sed 's/^/| /' conftest.$ac_ext >&5 5374 5375 5376 fi 5377 5244 fi 5378 5245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5379 5246 done … … 5382 5249 fi 5383 5250 5384 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&55385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 5252 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 5386 5253 case "x$ac_cv_prog_cc_stdc" in 5387 5254 x|xno) ;; … … 5390 5257 5391 5258 5392 { echo "$as_me:$LINENO: checking for function prototypes" >&55393 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 5260 $as_echo_n "checking for function prototypes... " >&6; } 5394 5261 if test "$ac_cv_prog_cc_stdc" != no; then 5395 { echo "$as_me:$LINENO: result: yes" >&5 5396 echo "${ECHO_T}yes" >&6; } 5397 cat >>confdefs.h <<\_ACEOF 5398 #define PROTOTYPES 1 5399 _ACEOF 5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5263 $as_echo "yes" >&6; } 5264 $as_echo "#define PROTOTYPES 1" >>confdefs.h 5400 5265 5401 5266 U= ANSI2KNR= 5402 5267 else 5403 { echo "$as_me:$LINENO: result: no" >&55404 echo "${ECHO_T}no" >&6; }5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5269 $as_echo "no" >&6; } 5405 5270 U=_ ANSI2KNR=ansi2knr 5406 5271 fi 5407 5272 5408 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5409 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 5410 if test "${ac_cv_c_const+set}" = set; then 5411 echo $ECHO_N "(cached) $ECHO_C" >&6 5412 else 5413 cat >conftest.$ac_ext <<_ACEOF 5414 /* confdefs.h. */ 5415 _ACEOF 5416 cat confdefs.h >>conftest.$ac_ext 5417 cat >>conftest.$ac_ext <<_ACEOF 5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5274 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5275 if ${ac_cv_c_const+:} false; then : 5276 $as_echo_n "(cached) " >&6 5277 else 5278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5418 5279 /* end confdefs.h. */ 5419 5280 … … 5421 5282 main () 5422 5283 { 5423 /* FIXME: Include the comments suggested by Paul. */ 5284 5424 5285 #ifndef __cplusplus 5425 /* Ultrix mips cc rejects this . */5286 /* Ultrix mips cc rejects this sort of thing. */ 5426 5287 typedef int charset[2]; 5427 const charset cs ;5288 const charset cs = { 0, 0 }; 5428 5289 /* SunOS 4.1.1 cc rejects this. */ 5429 5290 char const *const *pcpcc; … … 5442 5303 ppc = (char**) pcpcc; 5443 5304 pcpcc = (char const *const *) ppc; 5444 { /* SCO 3.2v4 cc rejects this. */ 5445 char *t; 5305 { /* SCO 3.2v4 cc rejects this sort of thing. */ 5306 char tx; 5307 char *t = &tx; 5446 5308 char const *s = 0 ? (char *) 0 : (char const *) 0; 5447 5309 … … 5459 5321 ++p; 5460 5322 } 5461 { /* AIX XL C 1.02.0.0 rejects this s aying5323 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 5462 5324 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 5463 struct s { int j; const int *ap[3]; } ;5464 struct s *b ; b->j = 5;5325 struct s { int j; const int *ap[3]; } bx; 5326 struct s *b = &bx; b->j = 5; 5465 5327 } 5466 5328 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ … … 5475 5337 } 5476 5338 _ACEOF 5477 rm -f conftest.$ac_objext 5478 if { (ac_try="$ac_compile" 5479 case "(($ac_try" in 5480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5481 *) ac_try_echo=$ac_try;; 5482 esac 5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5484 (eval "$ac_compile") 2>conftest.er1 5485 ac_status=$? 5486 grep -v '^ *+' conftest.er1 >conftest.err 5487 rm -f conftest.er1 5488 cat conftest.err >&5 5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 (exit $ac_status); } && { 5491 test -z "$ac_c_werror_flag" || 5492 test ! -s conftest.err 5493 } && test -s conftest.$ac_objext; then 5339 if ac_fn_c_try_compile "$LINENO"; then : 5494 5340 ac_cv_c_const=yes 5495 5341 else 5496 echo "$as_me: failed program was:" >&5 5497 sed 's/^/| /' conftest.$ac_ext >&5 5498 5499 ac_cv_c_const=no 5500 fi 5501 5342 ac_cv_c_const=no 5343 fi 5502 5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5503 5345 fi 5504 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&55505 echo "${ECHO_T}$ac_cv_c_const" >&6; }5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5347 $as_echo "$ac_cv_c_const" >&6; } 5506 5348 if test $ac_cv_c_const = no; then 5507 5349 5508 cat >>confdefs.h <<\_ACEOF 5509 #define const 5510 _ACEOF 5511 5512 fi 5513 5514 { echo "$as_me:$LINENO: checking for off_t" >&5 5515 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; } 5516 if test "${ac_cv_type_off_t+set}" = set; then 5517 echo $ECHO_N "(cached) $ECHO_C" >&6 5518 else 5519 cat >conftest.$ac_ext <<_ACEOF 5520 /* confdefs.h. */ 5521 _ACEOF 5522 cat confdefs.h >>conftest.$ac_ext 5523 cat >>conftest.$ac_ext <<_ACEOF 5524 /* end confdefs.h. */ 5525 $ac_includes_default 5526 typedef off_t ac__type_new_; 5527 int 5528 main () 5529 { 5530 if ((ac__type_new_ *) 0) 5531 return 0; 5532 if (sizeof (ac__type_new_)) 5533 return 0; 5534 ; 5535 return 0; 5536 } 5537 _ACEOF 5538 rm -f conftest.$ac_objext 5539 if { (ac_try="$ac_compile" 5540 case "(($ac_try" in 5541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5542 *) ac_try_echo=$ac_try;; 5543 esac 5544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5545 (eval "$ac_compile") 2>conftest.er1 5546 ac_status=$? 5547 grep -v '^ *+' conftest.er1 >conftest.err 5548 rm -f conftest.er1 5549 cat conftest.err >&5 5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5551 (exit $ac_status); } && { 5552 test -z "$ac_c_werror_flag" || 5553 test ! -s conftest.err 5554 } && test -s conftest.$ac_objext; then 5555 ac_cv_type_off_t=yes 5556 else 5557 echo "$as_me: failed program was:" >&5 5558 sed 's/^/| /' conftest.$ac_ext >&5 5559 5560 ac_cv_type_off_t=no 5561 fi 5562 5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5564 fi 5565 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5566 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } 5567 if test $ac_cv_type_off_t = yes; then 5568 : 5350 $as_echo "#define const /**/" >>confdefs.h 5351 5352 fi 5353 5354 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 5355 if test "x$ac_cv_type_off_t" = xyes; then : 5356 5569 5357 else 5570 5358 … … 5575 5363 fi 5576 5364 5577 { echo "$as_me:$LINENO: checking for size_t" >&5 5578 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 5579 if test "${ac_cv_type_size_t+set}" = set; then 5580 echo $ECHO_N "(cached) $ECHO_C" >&6 5581 else 5582 cat >conftest.$ac_ext <<_ACEOF 5583 /* confdefs.h. */ 5584 _ACEOF 5585 cat confdefs.h >>conftest.$ac_ext 5586 cat >>conftest.$ac_ext <<_ACEOF 5587 /* end confdefs.h. */ 5588 $ac_includes_default 5589 typedef size_t ac__type_new_; 5590 int 5591 main () 5592 { 5593 if ((ac__type_new_ *) 0) 5594 return 0; 5595 if (sizeof (ac__type_new_)) 5596 return 0; 5597 ; 5598 return 0; 5599 } 5600 _ACEOF 5601 rm -f conftest.$ac_objext 5602 if { (ac_try="$ac_compile" 5603 case "(($ac_try" in 5604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5605 *) ac_try_echo=$ac_try;; 5606 esac 5607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5608 (eval "$ac_compile") 2>conftest.er1 5609 ac_status=$? 5610 grep -v '^ *+' conftest.er1 >conftest.err 5611 rm -f conftest.er1 5612 cat conftest.err >&5 5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5614 (exit $ac_status); } && { 5615 test -z "$ac_c_werror_flag" || 5616 test ! -s conftest.err 5617 } && test -s conftest.$ac_objext; then 5618 ac_cv_type_size_t=yes 5619 else 5620 echo "$as_me: failed program was:" >&5 5621 sed 's/^/| /' conftest.$ac_ext >&5 5622 5623 ac_cv_type_size_t=no 5624 fi 5625 5626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5627 fi 5628 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5629 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 5630 if test $ac_cv_type_size_t = yes; then 5631 : 5365 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5366 if test "x$ac_cv_type_size_t" = xyes; then : 5367 5632 5368 else 5633 5369 … … 5638 5374 fi 5639 5375 5640 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5641 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 5642 if test "${ac_cv_header_time+set}" = set; then 5643 echo $ECHO_N "(cached) $ECHO_C" >&6 5644 else 5645 cat >conftest.$ac_ext <<_ACEOF 5646 /* confdefs.h. */ 5647 _ACEOF 5648 cat confdefs.h >>conftest.$ac_ext 5649 cat >>conftest.$ac_ext <<_ACEOF 5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 5377 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 5378 if ${ac_cv_header_time+:} false; then : 5379 $as_echo_n "(cached) " >&6 5380 else 5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5650 5382 /* end confdefs.h. */ 5651 5383 #include <sys/types.h> … … 5662 5394 } 5663 5395 _ACEOF 5664 rm -f conftest.$ac_objext 5665 if { (ac_try="$ac_compile" 5666 case "(($ac_try" in 5667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5668 *) ac_try_echo=$ac_try;; 5669 esac 5670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5671 (eval "$ac_compile") 2>conftest.er1 5672 ac_status=$? 5673 grep -v '^ *+' conftest.er1 >conftest.err 5674 rm -f conftest.er1 5675 cat conftest.err >&5 5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5677 (exit $ac_status); } && { 5678 test -z "$ac_c_werror_flag" || 5679 test ! -s conftest.err 5680 } && test -s conftest.$ac_objext; then 5396 if ac_fn_c_try_compile "$LINENO"; then : 5681 5397 ac_cv_header_time=yes 5682 5398 else 5683 echo "$as_me: failed program was:" >&5 5684 sed 's/^/| /' conftest.$ac_ext >&5 5685 5686 ac_cv_header_time=no 5687 fi 5688 5399 ac_cv_header_time=no 5400 fi 5689 5401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5690 5402 fi 5691 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&55692 echo "${ECHO_T}$ac_cv_header_time" >&6; }5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 5404 $as_echo "$ac_cv_header_time" >&6; } 5693 5405 if test $ac_cv_header_time = yes; then 5694 5406 5695 cat >>confdefs.h <<\_ACEOF 5696 #define TIME_WITH_SYS_TIME 1 5697 _ACEOF 5698 5699 fi 5700 5701 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5702 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 5703 if test "${ac_cv_struct_tm+set}" = set; then 5704 echo $ECHO_N "(cached) $ECHO_C" >&6 5705 else 5706 cat >conftest.$ac_ext <<_ACEOF 5707 /* confdefs.h. */ 5708 _ACEOF 5709 cat confdefs.h >>conftest.$ac_ext 5710 cat >>conftest.$ac_ext <<_ACEOF 5407 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 5408 5409 fi 5410 5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 5412 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5413 if ${ac_cv_struct_tm+:} false; then : 5414 $as_echo_n "(cached) " >&6 5415 else 5416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5711 5417 /* end confdefs.h. */ 5712 5418 #include <sys/types.h> … … 5718 5424 struct tm tm; 5719 5425 int *p = &tm.tm_sec; 5720 5426 return !p; 5721 5427 ; 5722 5428 return 0; 5723 5429 } 5724 5430 _ACEOF 5725 rm -f conftest.$ac_objext 5726 if { (ac_try="$ac_compile" 5727 case "(($ac_try" in 5728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5729 *) ac_try_echo=$ac_try;; 5730 esac 5731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5732 (eval "$ac_compile") 2>conftest.er1 5733 ac_status=$? 5734 grep -v '^ *+' conftest.er1 >conftest.err 5735 rm -f conftest.er1 5736 cat conftest.err >&5 5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5738 (exit $ac_status); } && { 5739 test -z "$ac_c_werror_flag" || 5740 test ! -s conftest.err 5741 } && test -s conftest.$ac_objext; then 5431 if ac_fn_c_try_compile "$LINENO"; then : 5742 5432 ac_cv_struct_tm=time.h 5743 5433 else 5744 echo "$as_me: failed program was:" >&5 5745 sed 's/^/| /' conftest.$ac_ext >&5 5746 5747 ac_cv_struct_tm=sys/time.h 5748 fi 5749 5434 ac_cv_struct_tm=sys/time.h 5435 fi 5750 5436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5751 5437 fi 5752 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&55753 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 5439 $as_echo "$ac_cv_struct_tm" >&6; } 5754 5440 if test $ac_cv_struct_tm = sys/time.h; then 5755 5441 5756 cat >>confdefs.h <<\_ACEOF 5757 #define TM_IN_SYS_TIME 1 5758 _ACEOF 5442 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 5759 5443 5760 5444 fi … … 5762 5446 5763 5447 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 5764 cat >conftest.$ac_ext <<_ACEOF 5765 /* confdefs.h. */ 5766 _ACEOF 5767 cat confdefs.h >>conftest.$ac_ext 5768 cat >>conftest.$ac_ext <<_ACEOF 5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5769 5449 /* end confdefs.h. */ 5770 5450 #include <stdio.h> … … 5778 5458 } 5779 5459 _ACEOF 5780 rm -f conftest.$ac_objext 5781 if { (ac_try="$ac_compile" 5782 case "(($ac_try" in 5783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5784 *) ac_try_echo=$ac_try;; 5785 esac 5786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5787 (eval "$ac_compile") 2>conftest.er1 5788 ac_status=$? 5789 grep -v '^ *+' conftest.er1 >conftest.err 5790 rm -f conftest.er1 5791 cat conftest.err >&5 5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5793 (exit $ac_status); } && { 5794 test -z "$ac_c_werror_flag" || 5795 test ! -s conftest.err 5796 } && test -s conftest.$ac_objext; then 5797 : 5798 else 5799 echo "$as_me: failed program was:" >&5 5800 sed 's/^/| /' conftest.$ac_ext >&5 5801 5802 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5803 fi 5804 5460 if ac_fn_c_try_compile "$LINENO"; then : 5461 5462 else 5463 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5464 fi 5805 5465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5806 5466 fi 5807 5467 5808 5468 5809 5810 { echo "$as_me:$LINENO: checking for main in -lg" >&5 5811 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; } 5812 if test "${ac_cv_lib_g_main+set}" = set; then 5813 echo $ECHO_N "(cached) $ECHO_C" >&6 5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5 5470 $as_echo_n "checking for main in -lg... " >&6; } 5471 if ${ac_cv_lib_g_main+:} false; then : 5472 $as_echo_n "(cached) " >&6 5814 5473 else 5815 5474 ac_check_lib_save_LIBS=$LIBS 5816 5475 LIBS="-lg $LIBS" 5817 cat >conftest.$ac_ext <<_ACEOF 5818 /* confdefs.h. */ 5819 _ACEOF 5820 cat confdefs.h >>conftest.$ac_ext 5821 cat >>conftest.$ac_ext <<_ACEOF 5476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5822 5477 /* end confdefs.h. */ 5823 5478 … … 5831 5486 } 5832 5487 _ACEOF 5833 rm -f conftest.$ac_objext conftest$ac_exeext 5834 if { (ac_try="$ac_link" 5835 case "(($ac_try" in 5836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5837 *) ac_try_echo=$ac_try;; 5838 esac 5839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5840 (eval "$ac_link") 2>conftest.er1 5841 ac_status=$? 5842 grep -v '^ *+' conftest.er1 >conftest.err 5843 rm -f conftest.er1 5844 cat conftest.err >&5 5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5846 (exit $ac_status); } && { 5847 test -z "$ac_c_werror_flag" || 5848 test ! -s conftest.err 5849 } && test -s conftest$ac_exeext && 5850 $as_test_x conftest$ac_exeext; then 5488 if ac_fn_c_try_link "$LINENO"; then : 5851 5489 ac_cv_lib_g_main=yes 5852 5490 else 5853 echo "$as_me: failed program was:" >&5 5854 sed 's/^/| /' conftest.$ac_ext >&5 5855 5856 ac_cv_lib_g_main=no 5857 fi 5858 5859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5860 conftest$ac_exeext conftest.$ac_ext 5491 ac_cv_lib_g_main=no 5492 fi 5493 rm -f core conftest.err conftest.$ac_objext \ 5494 conftest$ac_exeext conftest.$ac_ext 5861 5495 LIBS=$ac_check_lib_save_LIBS 5862 5496 fi 5863 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&55864 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }5865 if test $ac_cv_lib_g_main = yes; then5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5 5498 $as_echo "$ac_cv_lib_g_main" >&6; } 5499 if test "x$ac_cv_lib_g_main" = xyes; then : 5866 5500 cat >>confdefs.h <<_ACEOF 5867 5501 #define HAVE_LIBG 1 … … 5873 5507 ac_cv_lib_g=ac_cv_lib_g_main 5874 5508 5875 5876 { echo "$as_me:$LINENO: checking for main in -lm" >&5 5877 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 5878 if test "${ac_cv_lib_m_main+set}" = set; then 5879 echo $ECHO_N "(cached) $ECHO_C" >&6 5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 5510 $as_echo_n "checking for main in -lm... " >&6; } 5511 if ${ac_cv_lib_m_main+:} false; then : 5512 $as_echo_n "(cached) " >&6 5880 5513 else 5881 5514 ac_check_lib_save_LIBS=$LIBS 5882 5515 LIBS="-lm $LIBS" 5883 cat >conftest.$ac_ext <<_ACEOF 5884 /* confdefs.h. */ 5885 _ACEOF 5886 cat confdefs.h >>conftest.$ac_ext 5887 cat >>conftest.$ac_ext <<_ACEOF 5516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5888 5517 /* end confdefs.h. */ 5889 5518 … … 5897 5526 } 5898 5527 _ACEOF 5899 rm -f conftest.$ac_objext conftest$ac_exeext 5900 if { (ac_try="$ac_link" 5901 case "(($ac_try" in 5902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5903 *) ac_try_echo=$ac_try;; 5904 esac 5905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5906 (eval "$ac_link") 2>conftest.er1 5907 ac_status=$? 5908 grep -v '^ *+' conftest.er1 >conftest.err 5909 rm -f conftest.er1 5910 cat conftest.err >&5 5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5912 (exit $ac_status); } && { 5913 test -z "$ac_c_werror_flag" || 5914 test ! -s conftest.err 5915 } && test -s conftest$ac_exeext && 5916 $as_test_x conftest$ac_exeext; then 5528 if ac_fn_c_try_link "$LINENO"; then : 5917 5529 ac_cv_lib_m_main=yes 5918 5530 else 5919 echo "$as_me: failed program was:" >&5 5920 sed 's/^/| /' conftest.$ac_ext >&5 5921 5922 ac_cv_lib_m_main=no 5923 fi 5924 5925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5926 conftest$ac_exeext conftest.$ac_ext 5531 ac_cv_lib_m_main=no 5532 fi 5533 rm -f core conftest.err conftest.$ac_objext \ 5534 conftest$ac_exeext conftest.$ac_ext 5927 5535 LIBS=$ac_check_lib_save_LIBS 5928 5536 fi 5929 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55930 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5931 if test $ac_cv_lib_m_main = yes; then5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 5538 $as_echo "$ac_cv_lib_m_main" >&6; } 5539 if test "x$ac_cv_lib_m_main" = xyes; then : 5932 5540 cat >>confdefs.h <<_ACEOF 5933 5541 #define HAVE_LIBM 1 … … 5939 5547 ac_cv_lib_m=ac_cv_lib_m_main 5940 5548 5941 5942 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5943 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; } 5944 if test "${ac_cv_lib_crypt_main+set}" = set; then 5945 echo $ECHO_N "(cached) $ECHO_C" >&6 5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 5550 $as_echo_n "checking for main in -lcrypt... " >&6; } 5551 if ${ac_cv_lib_crypt_main+:} false; then : 5552 $as_echo_n "(cached) " >&6 5946 5553 else 5947 5554 ac_check_lib_save_LIBS=$LIBS 5948 5555 LIBS="-lcrypt $LIBS" 5949 cat >conftest.$ac_ext <<_ACEOF 5950 /* confdefs.h. */ 5951 _ACEOF 5952 cat confdefs.h >>conftest.$ac_ext 5953 cat >>conftest.$ac_ext <<_ACEOF 5556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5954 5557 /* end confdefs.h. */ 5955 5558 … … 5963 5566 } 5964 5567 _ACEOF 5965 rm -f conftest.$ac_objext conftest$ac_exeext 5966 if { (ac_try="$ac_link" 5967 case "(($ac_try" in 5968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5969 *) ac_try_echo=$ac_try;; 5970 esac 5971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5972 (eval "$ac_link") 2>conftest.er1 5973 ac_status=$? 5974 grep -v '^ *+' conftest.er1 >conftest.err 5975 rm -f conftest.er1 5976 cat conftest.err >&5 5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5978 (exit $ac_status); } && { 5979 test -z "$ac_c_werror_flag" || 5980 test ! -s conftest.err 5981 } && test -s conftest$ac_exeext && 5982 $as_test_x conftest$ac_exeext; then 5568 if ac_fn_c_try_link "$LINENO"; then : 5983 5569 ac_cv_lib_crypt_main=yes 5984 5570 else 5985 echo "$as_me: failed program was:" >&5 5986 sed 's/^/| /' conftest.$ac_ext >&5 5987 5988 ac_cv_lib_crypt_main=no 5989 fi 5990 5991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5992 conftest$ac_exeext conftest.$ac_ext 5571 ac_cv_lib_crypt_main=no 5572 fi 5573 rm -f core conftest.err conftest.$ac_objext \ 5574 conftest$ac_exeext conftest.$ac_ext 5993 5575 LIBS=$ac_check_lib_save_LIBS 5994 5576 fi 5995 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&55996 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }5997 if test $ac_cv_lib_crypt_main = yes; then5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5 5578 $as_echo "$ac_cv_lib_crypt_main" >&6; } 5579 if test "x$ac_cv_lib_crypt_main" = xyes; then : 5998 5580 cat >>confdefs.h <<_ACEOF 5999 5581 #define HAVE_LIBCRYPT 1 … … 6006 5588 6007 5589 if test $ENABLE_ACCENTFOLD = 1; then 6008 6009 { echo "$as_me:$LINENO: checking for main in -liconv" >&5 6010 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6; } 6011 if test "${ac_cv_lib_iconv_main+set}" = set; then 6012 echo $ECHO_N "(cached) $ECHO_C" >&6 5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5 5591 $as_echo_n "checking for main in -liconv... " >&6; } 5592 if ${ac_cv_lib_iconv_main+:} false; then : 5593 $as_echo_n "(cached) " >&6 6013 5594 else 6014 5595 ac_check_lib_save_LIBS=$LIBS 6015 5596 LIBS="-liconv $LIBS" 6016 cat >conftest.$ac_ext <<_ACEOF 6017 /* confdefs.h. */ 6018 _ACEOF 6019 cat confdefs.h >>conftest.$ac_ext 6020 cat >>conftest.$ac_ext <<_ACEOF 5597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6021 5598 /* end confdefs.h. */ 6022 5599 … … 6030 5607 } 6031 5608 _ACEOF 6032 rm -f conftest.$ac_objext conftest$ac_exeext 6033 if { (ac_try="$ac_link" 6034 case "(($ac_try" in 6035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6036 *) ac_try_echo=$ac_try;; 6037 esac 6038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6039 (eval "$ac_link") 2>conftest.er1 6040 ac_status=$? 6041 grep -v '^ *+' conftest.er1 >conftest.err 6042 rm -f conftest.er1 6043 cat conftest.err >&5 6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6045 (exit $ac_status); } && { 6046 test -z "$ac_c_werror_flag" || 6047 test ! -s conftest.err 6048 } && test -s conftest$ac_exeext && 6049 $as_test_x conftest$ac_exeext; then 5609 if ac_fn_c_try_link "$LINENO"; then : 6050 5610 ac_cv_lib_iconv_main=yes 6051 5611 else 6052 echo "$as_me: failed program was:" >&5 6053 sed 's/^/| /' conftest.$ac_ext >&5 6054 6055 ac_cv_lib_iconv_main=no 6056 fi 6057 6058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6059 conftest$ac_exeext conftest.$ac_ext 5612 ac_cv_lib_iconv_main=no 5613 fi 5614 rm -f core conftest.err conftest.$ac_objext \ 5615 conftest$ac_exeext conftest.$ac_ext 6060 5616 LIBS=$ac_check_lib_save_LIBS 6061 5617 fi 6062 { echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&56063 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6; }6064 if test $ac_cv_lib_iconv_main = yes; then5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&5 5619 $as_echo "$ac_cv_lib_iconv_main" >&6; } 5620 if test "x$ac_cv_lib_iconv_main" = xyes; then : 6065 5621 cat >>confdefs.h <<_ACEOF 6066 5622 #define HAVE_LIBICONV 1 … … 6074 5630 fi 6075 5631 6076 6077 6078 6079 6080 6081 5632 ac_header_dirent=no 6082 5633 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 6083 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6084 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 6085 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } 6086 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6087 echo $ECHO_N "(cached) $ECHO_C" >&6 6088 else 6089 cat >conftest.$ac_ext <<_ACEOF 6090 /* confdefs.h. */ 6091 _ACEOF 6092 cat confdefs.h >>conftest.$ac_ext 6093 cat >>conftest.$ac_ext <<_ACEOF 5634 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 5636 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 5637 if eval \${$as_ac_Header+:} false; then : 5638 $as_echo_n "(cached) " >&6 5639 else 5640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6094 5641 /* end confdefs.h. */ 6095 5642 #include <sys/types.h> … … 6105 5652 } 6106 5653 _ACEOF 6107 rm -f conftest.$ac_objext 6108 if { (ac_try="$ac_compile" 6109 case "(($ac_try" in 6110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6111 *) ac_try_echo=$ac_try;; 6112 esac 6113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6114 (eval "$ac_compile") 2>conftest.er1 6115 ac_status=$? 6116 grep -v '^ *+' conftest.er1 >conftest.err 6117 rm -f conftest.er1 6118 cat conftest.err >&5 6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6120 (exit $ac_status); } && { 6121 test -z "$ac_c_werror_flag" || 6122 test ! -s conftest.err 6123 } && test -s conftest.$ac_objext; then 5654 if ac_fn_c_try_compile "$LINENO"; then : 6124 5655 eval "$as_ac_Header=yes" 6125 5656 else 6126 echo "$as_me: failed program was:" >&5 6127 sed 's/^/| /' conftest.$ac_ext >&5 6128 6129 eval "$as_ac_Header=no" 6130 fi 6131 5657 eval "$as_ac_Header=no" 5658 fi 6132 5659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6133 5660 fi 6134 ac_res=`eval echo '${'$as_ac_Header'}'` 6135 { echo "$as_me:$LINENO: result: $ac_res" >&56136 echo "${ECHO_T}$ac_res" >&6; }6137 if test `eval echo '${'$as_ac_Header'}'` = yes; then5661 eval ac_res=\$$as_ac_Header 5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5663 $as_echo "$ac_res" >&6; } 5664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6138 5665 cat >>confdefs.h <<_ACEOF 6139 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 15666 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 6140 5667 _ACEOF 6141 5668 … … 6146 5673 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 6147 5674 if test $ac_header_dirent = dirent.h; then 6148 { echo "$as_me:$LINENO: checking for library containing opendir" >&56149 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }6150 if test "${ac_cv_search_opendir+set}" = set; then6151 echo $ECHO_N "(cached) $ECHO_C" >&65675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 5676 $as_echo_n "checking for library containing opendir... " >&6; } 5677 if ${ac_cv_search_opendir+:} false; then : 5678 $as_echo_n "(cached) " >&6 6152 5679 else 6153 5680 ac_func_search_save_LIBS=$LIBS 6154 cat >conftest.$ac_ext <<_ACEOF 6155 /* confdefs.h. */ 6156 _ACEOF 6157 cat confdefs.h >>conftest.$ac_ext 6158 cat >>conftest.$ac_ext <<_ACEOF 5681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6159 5682 /* end confdefs.h. */ 6160 5683 … … 6181 5704 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6182 5705 fi 6183 rm -f conftest.$ac_objext conftest$ac_exeext 6184 if { (ac_try="$ac_link" 6185 case "(($ac_try" in 6186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6187 *) ac_try_echo=$ac_try;; 6188 esac 6189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6190 (eval "$ac_link") 2>conftest.er1 6191 ac_status=$? 6192 grep -v '^ *+' conftest.er1 >conftest.err 6193 rm -f conftest.er1 6194 cat conftest.err >&5 6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6196 (exit $ac_status); } && { 6197 test -z "$ac_c_werror_flag" || 6198 test ! -s conftest.err 6199 } && test -s conftest$ac_exeext && 6200 $as_test_x conftest$ac_exeext; then 5706 if ac_fn_c_try_link "$LINENO"; then : 6201 5707 ac_cv_search_opendir=$ac_res 6202 else 6203 echo "$as_me: failed program was:" >&5 6204 sed 's/^/| /' conftest.$ac_ext >&5 6205 6206 6207 fi 6208 6209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6210 conftest$ac_exeext 6211 if test "${ac_cv_search_opendir+set}" = set; then 5708 fi 5709 rm -f core conftest.err conftest.$ac_objext \ 5710 conftest$ac_exeext 5711 if ${ac_cv_search_opendir+:} false; then : 6212 5712 break 6213 5713 fi 6214 5714 done 6215 if test "${ac_cv_search_opendir+set}" = set; then6216 : 5715 if ${ac_cv_search_opendir+:} false; then : 5716 6217 5717 else 6218 5718 ac_cv_search_opendir=no … … 6221 5721 LIBS=$ac_func_search_save_LIBS 6222 5722 fi 6223 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&56224 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5724 $as_echo "$ac_cv_search_opendir" >&6; } 6225 5725 ac_res=$ac_cv_search_opendir 6226 if test "$ac_res" != no; then 5726 if test "$ac_res" != no; then : 6227 5727 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6228 5728 … … 6230 5730 6231 5731 else 6232 { echo "$as_me:$LINENO: checking for library containing opendir" >&56233 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }6234 if test "${ac_cv_search_opendir+set}" = set; then6235 echo $ECHO_N "(cached) $ECHO_C" >&65732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 5733 $as_echo_n "checking for library containing opendir... " >&6; } 5734 if ${ac_cv_search_opendir+:} false; then : 5735 $as_echo_n "(cached) " >&6 6236 5736 else 6237 5737 ac_func_search_save_LIBS=$LIBS 6238 cat >conftest.$ac_ext <<_ACEOF 6239 /* confdefs.h. */ 6240 _ACEOF 6241 cat confdefs.h >>conftest.$ac_ext 6242 cat >>conftest.$ac_ext <<_ACEOF 5738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6243 5739 /* end confdefs.h. */ 6244 5740 … … 6265 5761 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6266 5762 fi 6267 rm -f conftest.$ac_objext conftest$ac_exeext 6268 if { (ac_try="$ac_link" 6269 case "(($ac_try" in 6270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6271 *) ac_try_echo=$ac_try;; 6272 esac 6273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6274 (eval "$ac_link") 2>conftest.er1 6275 ac_status=$? 6276 grep -v '^ *+' conftest.er1 >conftest.err 6277 rm -f conftest.er1 6278 cat conftest.err >&5 6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6280 (exit $ac_status); } && { 6281 test -z "$ac_c_werror_flag" || 6282 test ! -s conftest.err 6283 } && test -s conftest$ac_exeext && 6284 $as_test_x conftest$ac_exeext; then 5763 if ac_fn_c_try_link "$LINENO"; then : 6285 5764 ac_cv_search_opendir=$ac_res 6286 else 6287 echo "$as_me: failed program was:" >&5 6288 sed 's/^/| /' conftest.$ac_ext >&5 6289 6290 6291 fi 6292 6293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6294 conftest$ac_exeext 6295 if test "${ac_cv_search_opendir+set}" = set; then 5765 fi 5766 rm -f core conftest.err conftest.$ac_objext \ 5767 conftest$ac_exeext 5768 if ${ac_cv_search_opendir+:} false; then : 6296 5769 break 6297 5770 fi 6298 5771 done 6299 if test "${ac_cv_search_opendir+set}" = set; then6300 : 5772 if ${ac_cv_search_opendir+:} false; then : 5773 6301 5774 else 6302 5775 ac_cv_search_opendir=no … … 6305 5778 LIBS=$ac_func_search_save_LIBS 6306 5779 fi 6307 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&56308 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5781 $as_echo "$ac_cv_search_opendir" >&6; } 6309 5782 ac_res=$ac_cv_search_opendir 6310 if test "$ac_res" != no; then 5783 if test "$ac_res" != no; then : 6311 5784 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6312 5785 … … 6315 5788 fi 6316 5789 6317 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6318 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 6319 if test "${ac_cv_header_stdc+set}" = set; then 6320 echo $ECHO_N "(cached) $ECHO_C" >&6 6321 else 6322 cat >conftest.$ac_ext <<_ACEOF 6323 /* confdefs.h. */ 6324 _ACEOF 6325 cat confdefs.h >>conftest.$ac_ext 6326 cat >>conftest.$ac_ext <<_ACEOF 5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5791 $as_echo_n "checking for ANSI C header files... " >&6; } 5792 if ${ac_cv_header_stdc+:} false; then : 5793 $as_echo_n "(cached) " >&6 5794 else 5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6327 5796 /* end confdefs.h. */ 6328 5797 #include <stdlib.h> … … 6339 5808 } 6340 5809 _ACEOF 6341 rm -f conftest.$ac_objext 6342 if { (ac_try="$ac_compile" 6343 case "(($ac_try" in 6344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6345 *) ac_try_echo=$ac_try;; 6346 esac 6347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6348 (eval "$ac_compile") 2>conftest.er1 6349 ac_status=$? 6350 grep -v '^ *+' conftest.er1 >conftest.err 6351 rm -f conftest.er1 6352 cat conftest.err >&5 6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6354 (exit $ac_status); } && { 6355 test -z "$ac_c_werror_flag" || 6356 test ! -s conftest.err 6357 } && test -s conftest.$ac_objext; then 5810 if ac_fn_c_try_compile "$LINENO"; then : 6358 5811 ac_cv_header_stdc=yes 6359 5812 else 6360 echo "$as_me: failed program was:" >&5 6361 sed 's/^/| /' conftest.$ac_ext >&5 6362 6363 ac_cv_header_stdc=no 6364 fi 6365 5813 ac_cv_header_stdc=no 5814 fi 6366 5815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6367 5816 6368 5817 if test $ac_cv_header_stdc = yes; then 6369 5818 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6370 cat >conftest.$ac_ext <<_ACEOF 6371 /* confdefs.h. */ 6372 _ACEOF 6373 cat confdefs.h >>conftest.$ac_ext 6374 cat >>conftest.$ac_ext <<_ACEOF 5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6375 5820 /* end confdefs.h. */ 6376 5821 #include <string.h> … … 6378 5823 _ACEOF 6379 5824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6380 $EGREP "memchr" >/dev/null 2>&1; then 6381 : 5825 $EGREP "memchr" >/dev/null 2>&1; then : 5826 6382 5827 else 6383 5828 ac_cv_header_stdc=no … … 6389 5834 if test $ac_cv_header_stdc = yes; then 6390 5835 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6391 cat >conftest.$ac_ext <<_ACEOF 6392 /* confdefs.h. */ 6393 _ACEOF 6394 cat confdefs.h >>conftest.$ac_ext 6395 cat >>conftest.$ac_ext <<_ACEOF 5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6396 5837 /* end confdefs.h. */ 6397 5838 #include <stdlib.h> … … 6399 5840 _ACEOF 6400 5841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6401 $EGREP "free" >/dev/null 2>&1; then 6402 : 5842 $EGREP "free" >/dev/null 2>&1; then : 5843 6403 5844 else 6404 5845 ac_cv_header_stdc=no … … 6410 5851 if test $ac_cv_header_stdc = yes; then 6411 5852 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6412 if test "$cross_compiling" = yes; then 5853 if test "$cross_compiling" = yes; then : 6413 5854 : 6414 5855 else 6415 cat >conftest.$ac_ext <<_ACEOF 6416 /* confdefs.h. */ 6417 _ACEOF 6418 cat confdefs.h >>conftest.$ac_ext 6419 cat >>conftest.$ac_ext <<_ACEOF 5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6420 5857 /* end confdefs.h. */ 6421 5858 #include <ctype.h> … … 6444 5881 } 6445 5882 _ACEOF 6446 rm -f conftest$ac_exeext 6447 if { (ac_try="$ac_link" 6448 case "(($ac_try" in 6449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6450 *) ac_try_echo=$ac_try;; 6451 esac 6452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6453 (eval "$ac_link") 2>&5 6454 ac_status=$? 6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6457 { (case "(($ac_try" in 6458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6459 *) ac_try_echo=$ac_try;; 6460 esac 6461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6462 (eval "$ac_try") 2>&5 6463 ac_status=$? 6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6465 (exit $ac_status); }; }; then 6466 : 6467 else 6468 echo "$as_me: program exited with status $ac_status" >&5 6469 echo "$as_me: failed program was:" >&5 6470 sed 's/^/| /' conftest.$ac_ext >&5 6471 6472 ( exit $ac_status ) 6473 ac_cv_header_stdc=no 6474 fi 6475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6476 fi 6477 6478 6479 fi 6480 fi 6481 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6482 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5883 if ac_fn_c_try_run "$LINENO"; then : 5884 5885 else 5886 ac_cv_header_stdc=no 5887 fi 5888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5889 conftest.$ac_objext conftest.beam conftest.$ac_ext 5890 fi 5891 5892 fi 5893 fi 5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5895 $as_echo "$ac_cv_header_stdc" >&6; } 6483 5896 if test $ac_cv_header_stdc = yes; then 6484 5897 6485 cat >>confdefs.h <<\_ACEOF 6486 #define STDC_HEADERS 1 6487 _ACEOF 6488 6489 fi 6490 6491 6492 6493 6494 6495 6496 6497 6498 5898 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5899 5900 fi 6499 5901 6500 5902 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 6501 do 6502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6504 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6507 echo $ECHO_N "(cached) $ECHO_C" >&6 6508 fi 6509 ac_res=`eval echo '${'$as_ac_Header'}'` 6510 { echo "$as_me:$LINENO: result: $ac_res" >&5 6511 echo "${ECHO_T}$ac_res" >&6; } 6512 else 6513 # Is the header compilable? 6514 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6516 cat >conftest.$ac_ext <<_ACEOF 6517 /* confdefs.h. */ 6518 _ACEOF 6519 cat confdefs.h >>conftest.$ac_ext 6520 cat >>conftest.$ac_ext <<_ACEOF 6521 /* end confdefs.h. */ 6522 $ac_includes_default 6523 #include <$ac_header> 6524 _ACEOF 6525 rm -f conftest.$ac_objext 6526 if { (ac_try="$ac_compile" 6527 case "(($ac_try" in 6528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6529 *) ac_try_echo=$ac_try;; 6530 esac 6531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6532 (eval "$ac_compile") 2>conftest.er1 6533 ac_status=$? 6534 grep -v '^ *+' conftest.er1 >conftest.err 6535 rm -f conftest.er1 6536 cat conftest.err >&5 6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6538 (exit $ac_status); } && { 6539 test -z "$ac_c_werror_flag" || 6540 test ! -s conftest.err 6541 } && test -s conftest.$ac_objext; then 6542 ac_header_compiler=yes 6543 else 6544 echo "$as_me: failed program was:" >&5 6545 sed 's/^/| /' conftest.$ac_ext >&5 6546 6547 ac_header_compiler=no 6548 fi 6549 6550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6551 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6552 echo "${ECHO_T}$ac_header_compiler" >&6; } 6553 6554 # Is the header present? 6555 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6557 cat >conftest.$ac_ext <<_ACEOF 6558 /* confdefs.h. */ 6559 _ACEOF 6560 cat confdefs.h >>conftest.$ac_ext 6561 cat >>conftest.$ac_ext <<_ACEOF 6562 /* end confdefs.h. */ 6563 #include <$ac_header> 6564 _ACEOF 6565 if { (ac_try="$ac_cpp conftest.$ac_ext" 6566 case "(($ac_try" in 6567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6568 *) ac_try_echo=$ac_try;; 6569 esac 6570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6572 ac_status=$? 6573 grep -v '^ *+' conftest.er1 >conftest.err 6574 rm -f conftest.er1 6575 cat conftest.err >&5 6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6577 (exit $ac_status); } >/dev/null && { 6578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6579 test ! -s conftest.err 6580 }; then 6581 ac_header_preproc=yes 6582 else 6583 echo "$as_me: failed program was:" >&5 6584 sed 's/^/| /' conftest.$ac_ext >&5 6585 6586 ac_header_preproc=no 6587 fi 6588 6589 rm -f conftest.err conftest.$ac_ext 6590 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6591 echo "${ECHO_T}$ac_header_preproc" >&6; } 6592 6593 # So? What about this header? 6594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6595 yes:no: ) 6596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6600 ac_header_preproc=yes 6601 ;; 6602 no:yes:* ) 6603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6615 6616 ;; 6617 esac 6618 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6621 echo $ECHO_N "(cached) $ECHO_C" >&6 6622 else 6623 eval "$as_ac_Header=\$ac_header_preproc" 6624 fi 6625 ac_res=`eval echo '${'$as_ac_Header'}'` 6626 { echo "$as_me:$LINENO: result: $ac_res" >&5 6627 echo "${ECHO_T}$ac_res" >&6; } 6628 6629 fi 6630 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5903 do : 5904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5905 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5906 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6631 5907 cat >>confdefs.h <<_ACEOF 6632 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6633 5909 _ACEOF 6634 5910 … … 6637 5913 done 6638 5914 6639 cat >conftest.$ac_ext <<_ACEOF 6640 /* confdefs.h. */ 6641 _ACEOF 6642 cat confdefs.h >>conftest.$ac_ext 6643 cat >>conftest.$ac_ext <<_ACEOF 5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6644 5916 /* end confdefs.h. */ 6645 5917 #include <stdio.h> … … 6647 5919 _ACEOF 6648 5920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6649 $EGREP "fread" >/dev/null 2>&1; then 6650 cat >>confdefs.h <<\_ACEOF 6651 #define HAVE_FREAD_DECL 1 6652 _ACEOF 5921 $EGREP "fread" >/dev/null 2>&1; then : 5922 $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h 6653 5923 6654 5924 fi 6655 5925 rm -f conftest* 6656 5926 6657 cat >conftest.$ac_ext <<_ACEOF 6658 /* confdefs.h. */ 6659 _ACEOF 6660 cat confdefs.h >>conftest.$ac_ext 6661 cat >>conftest.$ac_ext <<_ACEOF 5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6662 5928 /* end confdefs.h. */ 6663 5929 #include <stdio.h> … … 6665 5931 _ACEOF 6666 5932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6667 $EGREP "fgetc" >/dev/null 2>&1; then 6668 cat >>confdefs.h <<\_ACEOF 6669 #define HAVE_FGETC_DECL 1 6670 _ACEOF 5933 $EGREP "fgetc" >/dev/null 2>&1; then : 5934 $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h 6671 5935 6672 5936 fi 6673 5937 rm -f conftest* 6674 5938 6675 cat >conftest.$ac_ext <<_ACEOF 6676 /* confdefs.h. */ 6677 _ACEOF 6678 cat confdefs.h >>conftest.$ac_ext 6679 cat >>conftest.$ac_ext <<_ACEOF 5939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6680 5940 /* end confdefs.h. */ 6681 5941 #include <sys/procfs.h> … … 6683 5943 _ACEOF 6684 5944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6685 $EGREP "pr_brksize" >/dev/null 2>&1; then 6686 cat >>confdefs.h <<\_ACEOF 6687 #define HAVE_PR_BRKSIZE 1 6688 _ACEOF 5945 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5946 $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h 6689 5947 6690 5948 fi … … 6694 5952 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 6695 5953 # for constant arguments. Useless! 6696 { echo "$as_me:$LINENO: checking for working alloca.h" >&5 6697 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } 6698 if test "${ac_cv_working_alloca_h+set}" = set; then 6699 echo $ECHO_N "(cached) $ECHO_C" >&6 6700 else 6701 cat >conftest.$ac_ext <<_ACEOF 6702 /* confdefs.h. */ 6703 _ACEOF 6704 cat confdefs.h >>conftest.$ac_ext 6705 cat >>conftest.$ac_ext <<_ACEOF 5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 5955 $as_echo_n "checking for working alloca.h... " >&6; } 5956 if ${ac_cv_working_alloca_h+:} false; then : 5957 $as_echo_n "(cached) " >&6 5958 else 5959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6706 5960 /* end confdefs.h. */ 6707 5961 #include <alloca.h> … … 6715 5969 } 6716 5970 _ACEOF 6717 rm -f conftest.$ac_objext conftest$ac_exeext 6718 if { (ac_try="$ac_link" 6719 case "(($ac_try" in 6720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6721 *) ac_try_echo=$ac_try;; 6722 esac 6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6724 (eval "$ac_link") 2>conftest.er1 6725 ac_status=$? 6726 grep -v '^ *+' conftest.er1 >conftest.err 6727 rm -f conftest.er1 6728 cat conftest.err >&5 6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6730 (exit $ac_status); } && { 6731 test -z "$ac_c_werror_flag" || 6732 test ! -s conftest.err 6733 } && test -s conftest$ac_exeext && 6734 $as_test_x conftest$ac_exeext; then 5971 if ac_fn_c_try_link "$LINENO"; then : 6735 5972 ac_cv_working_alloca_h=yes 6736 5973 else 6737 echo "$as_me: failed program was:" >&5 6738 sed 's/^/| /' conftest.$ac_ext >&5 6739 6740 ac_cv_working_alloca_h=no 6741 fi 6742 6743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6744 conftest$ac_exeext conftest.$ac_ext 6745 fi 6746 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 6747 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } 5974 ac_cv_working_alloca_h=no 5975 fi 5976 rm -f core conftest.err conftest.$ac_objext \ 5977 conftest$ac_exeext conftest.$ac_ext 5978 fi 5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 5980 $as_echo "$ac_cv_working_alloca_h" >&6; } 6748 5981 if test $ac_cv_working_alloca_h = yes; then 6749 5982 6750 cat >>confdefs.h <<\_ACEOF 6751 #define HAVE_ALLOCA_H 1 6752 _ACEOF 6753 6754 fi 6755 6756 { echo "$as_me:$LINENO: checking for alloca" >&5 6757 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } 6758 if test "${ac_cv_func_alloca_works+set}" = set; then 6759 echo $ECHO_N "(cached) $ECHO_C" >&6 6760 else 6761 cat >conftest.$ac_ext <<_ACEOF 6762 /* confdefs.h. */ 6763 _ACEOF 6764 cat confdefs.h >>conftest.$ac_ext 6765 cat >>conftest.$ac_ext <<_ACEOF 5983 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5984 5985 fi 5986 5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 5988 $as_echo_n "checking for alloca... " >&6; } 5989 if ${ac_cv_func_alloca_works+:} false; then : 5990 $as_echo_n "(cached) " >&6 5991 else 5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6766 5993 /* end confdefs.h. */ 6767 5994 #ifdef __GNUC__ … … 6779 6006 # else 6780 6007 # ifndef alloca /* predefined by HP cc +Olibcalls */ 6781 char *alloca ();6008 void *alloca (size_t); 6782 6009 # endif 6783 6010 # endif … … 6795 6022 } 6796 6023 _ACEOF 6797 rm -f conftest.$ac_objext conftest$ac_exeext 6798 if { (ac_try="$ac_link" 6799 case "(($ac_try" in 6800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6801 *) ac_try_echo=$ac_try;; 6802 esac 6803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6804 (eval "$ac_link") 2>conftest.er1 6805 ac_status=$? 6806 grep -v '^ *+' conftest.er1 >conftest.err 6807 rm -f conftest.er1 6808 cat conftest.err >&5 6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6810 (exit $ac_status); } && { 6811 test -z "$ac_c_werror_flag" || 6812 test ! -s conftest.err 6813 } && test -s conftest$ac_exeext && 6814 $as_test_x conftest$ac_exeext; then 6024 if ac_fn_c_try_link "$LINENO"; then : 6815 6025 ac_cv_func_alloca_works=yes 6816 6026 else 6817 echo "$as_me: failed program was:" >&5 6818 sed 's/^/| /' conftest.$ac_ext >&5 6819 6820 ac_cv_func_alloca_works=no 6821 fi 6822 6823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6824 conftest$ac_exeext conftest.$ac_ext 6825 fi 6826 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6827 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } 6027 ac_cv_func_alloca_works=no 6028 fi 6029 rm -f core conftest.err conftest.$ac_objext \ 6030 conftest$ac_exeext conftest.$ac_ext 6031 fi 6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 6033 $as_echo "$ac_cv_func_alloca_works" >&6; } 6828 6034 6829 6035 if test $ac_cv_func_alloca_works = yes; then 6830 6036 6831 cat >>confdefs.h <<\_ACEOF 6832 #define HAVE_ALLOCA 1 6833 _ACEOF 6037 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 6834 6038 6835 6039 else … … 6841 6045 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 6842 6046 6843 cat >>confdefs.h <<\_ACEOF 6844 #define C_ALLOCA 1 6845 _ACEOF 6846 6847 6848 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6849 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } 6850 if test "${ac_cv_os_cray+set}" = set; then 6851 echo $ECHO_N "(cached) $ECHO_C" >&6 6852 else 6853 cat >conftest.$ac_ext <<_ACEOF 6854 /* confdefs.h. */ 6855 _ACEOF 6856 cat confdefs.h >>conftest.$ac_ext 6857 cat >>conftest.$ac_ext <<_ACEOF 6047 $as_echo "#define C_ALLOCA 1" >>confdefs.h 6048 6049 6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 6051 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 6052 if ${ac_cv_os_cray+:} false; then : 6053 $as_echo_n "(cached) " >&6 6054 else 6055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6858 6056 /* end confdefs.h. */ 6859 6057 #if defined CRAY && ! defined CRAY2 … … 6865 6063 _ACEOF 6866 6064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6867 $EGREP "webecray" >/dev/null 2>&1; then 6065 $EGREP "webecray" >/dev/null 2>&1; then : 6868 6066 ac_cv_os_cray=yes 6869 6067 else … … 6873 6071 6874 6072 fi 6875 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56876 echo "${ECHO_T}$ac_cv_os_cray" >&6; }6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 6074 $as_echo "$ac_cv_os_cray" >&6; } 6877 6075 if test $ac_cv_os_cray = yes; then 6878 6076 for ac_func in _getb67 GETB67 getb67; do 6879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6880 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6883 echo $ECHO_N "(cached) $ECHO_C" >&6 6884 else 6885 cat >conftest.$ac_ext <<_ACEOF 6886 /* confdefs.h. */ 6887 _ACEOF 6888 cat confdefs.h >>conftest.$ac_ext 6889 cat >>conftest.$ac_ext <<_ACEOF 6890 /* end confdefs.h. */ 6891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6892 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6893 #define $ac_func innocuous_$ac_func 6894 6895 /* System header to define __stub macros and hopefully few prototypes, 6896 which can conflict with char $ac_func (); below. 6897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6898 <limits.h> exists even on freestanding compilers. */ 6899 6900 #ifdef __STDC__ 6901 # include <limits.h> 6902 #else 6903 # include <assert.h> 6904 #endif 6905 6906 #undef $ac_func 6907 6908 /* Override any GCC internal prototype to avoid an error. 6909 Use char because int might match the return type of a GCC 6910 builtin and then its argument prototype would still apply. */ 6911 #ifdef __cplusplus 6912 extern "C" 6913 #endif 6914 char $ac_func (); 6915 /* The GNU C library defines this for functions which it implements 6916 to always fail with ENOSYS. Some functions are actually named 6917 something starting with __ and the normal name is an alias. */ 6918 #if defined __stub_$ac_func || defined __stub___$ac_func 6919 choke me 6920 #endif 6921 6922 int 6923 main () 6924 { 6925 return $ac_func (); 6926 ; 6927 return 0; 6928 } 6929 _ACEOF 6930 rm -f conftest.$ac_objext conftest$ac_exeext 6931 if { (ac_try="$ac_link" 6932 case "(($ac_try" in 6933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6934 *) ac_try_echo=$ac_try;; 6935 esac 6936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6937 (eval "$ac_link") 2>conftest.er1 6938 ac_status=$? 6939 grep -v '^ *+' conftest.er1 >conftest.err 6940 rm -f conftest.er1 6941 cat conftest.err >&5 6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6943 (exit $ac_status); } && { 6944 test -z "$ac_c_werror_flag" || 6945 test ! -s conftest.err 6946 } && test -s conftest$ac_exeext && 6947 $as_test_x conftest$ac_exeext; then 6948 eval "$as_ac_var=yes" 6949 else 6950 echo "$as_me: failed program was:" >&5 6951 sed 's/^/| /' conftest.$ac_ext >&5 6952 6953 eval "$as_ac_var=no" 6954 fi 6955 6956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6957 conftest$ac_exeext conftest.$ac_ext 6958 fi 6959 ac_res=`eval echo '${'$as_ac_var'}'` 6960 { echo "$as_me:$LINENO: result: $ac_res" >&5 6961 echo "${ECHO_T}$ac_res" >&6; } 6962 if test `eval echo '${'$as_ac_var'}'` = yes; then 6077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6079 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6963 6080 6964 6081 cat >>confdefs.h <<_ACEOF … … 6972 6089 fi 6973 6090 6974 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&56975 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }6976 if test "${ac_cv_c_stack_direction+set}" = set; then6977 echo $ECHO_N "(cached) $ECHO_C" >&66978 else 6979 if test "$cross_compiling" = yes; then 6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 6092 $as_echo_n "checking stack direction for C alloca... " >&6; } 6093 if ${ac_cv_c_stack_direction+:} false; then : 6094 $as_echo_n "(cached) " >&6 6095 else 6096 if test "$cross_compiling" = yes; then : 6980 6097 ac_cv_c_stack_direction=0 6981 6098 else 6982 cat >conftest.$ac_ext <<_ACEOF 6983 /* confdefs.h. */ 6984 _ACEOF 6985 cat confdefs.h >>conftest.$ac_ext 6986 cat >>conftest.$ac_ext <<_ACEOF 6099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6987 6100 /* end confdefs.h. */ 6988 6101 $ac_includes_default 6989 6102 int 6990 find_stack_direction ( )6103 find_stack_direction (int *addr, int depth) 6991 6104 { 6992 static char *addr = 0; 6993 auto char dummy; 6994 if (addr == 0) 6995 { 6996 addr = &dummy; 6997 return find_stack_direction (); 6998 } 6999 else 7000 return (&dummy > addr) ? 1 : -1; 6105 int dir, dummy = 0; 6106 if (! addr) 6107 addr = &dummy; 6108 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; 6109 dir = depth ? find_stack_direction (addr, depth - 1) : 0; 6110 return dir + dummy; 7001 6111 } 7002 6112 7003 6113 int 7004 main ( )6114 main (int argc, char **argv) 7005 6115 { 7006 return find_stack_direction ( ) < 0;6116 return find_stack_direction (0, argc + !argv + 20) < 0; 7007 6117 } 7008 6118 _ACEOF 7009 rm -f conftest$ac_exeext 7010 if { (ac_try="$ac_link" 7011 case "(($ac_try" in 7012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7013 *) ac_try_echo=$ac_try;; 7014 esac 7015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7016 (eval "$ac_link") 2>&5 7017 ac_status=$? 7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7020 { (case "(($ac_try" in 7021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7022 *) ac_try_echo=$ac_try;; 7023 esac 7024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7025 (eval "$ac_try") 2>&5 7026 ac_status=$? 7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7028 (exit $ac_status); }; }; then 6119 if ac_fn_c_try_run "$LINENO"; then : 7029 6120 ac_cv_c_stack_direction=1 7030 6121 else 7031 echo "$as_me: program exited with status $ac_status" >&5 7032 echo "$as_me: failed program was:" >&5 7033 sed 's/^/| /' conftest.$ac_ext >&5 7034 7035 ( exit $ac_status ) 7036 ac_cv_c_stack_direction=-1 7037 fi 7038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7039 fi 7040 7041 7042 fi 7043 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7044 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } 7045 6122 ac_cv_c_stack_direction=-1 6123 fi 6124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6125 conftest.$ac_objext conftest.beam conftest.$ac_ext 6126 fi 6127 6128 fi 6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 6130 $as_echo "$ac_cv_c_stack_direction" >&6; } 7046 6131 cat >>confdefs.h <<_ACEOF 7047 6132 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 7052 6137 7053 6138 if test $ac_cv_c_compiler_gnu = yes; then 7054 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&57055 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }7056 if test "${ac_cv_prog_gcc_traditional+set}" = set; then7057 echo $ECHO_N "(cached) $ECHO_C" >&66139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 6140 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6141 if ${ac_cv_prog_gcc_traditional+:} false; then : 6142 $as_echo_n "(cached) " >&6 7058 6143 else 7059 6144 ac_pattern="Autoconf.*'x'" 7060 cat >conftest.$ac_ext <<_ACEOF 7061 /* confdefs.h. */ 7062 _ACEOF 7063 cat confdefs.h >>conftest.$ac_ext 7064 cat >>conftest.$ac_ext <<_ACEOF 6145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7065 6146 /* end confdefs.h. */ 7066 6147 #include <sgtty.h> … … 7068 6149 _ACEOF 7069 6150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7070 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6151 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 7071 6152 ac_cv_prog_gcc_traditional=yes 7072 6153 else … … 7077 6158 7078 6159 if test $ac_cv_prog_gcc_traditional = no; then 7079 cat >conftest.$ac_ext <<_ACEOF 7080 /* confdefs.h. */ 7081 _ACEOF 7082 cat confdefs.h >>conftest.$ac_ext 7083 cat >>conftest.$ac_ext <<_ACEOF 6160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7084 6161 /* end confdefs.h. */ 7085 6162 #include <termio.h> … … 7087 6164 _ACEOF 7088 6165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7089 $EGREP "$ac_pattern" >/dev/null 2>&1; then 6166 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 7090 6167 ac_cv_prog_gcc_traditional=yes 7091 6168 fi … … 7094 6171 fi 7095 6172 fi 7096 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&57097 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 6174 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 7098 6175 if test $ac_cv_prog_gcc_traditional = yes; then 7099 6176 CC="$CC -traditional" … … 7101 6178 fi 7102 6179 7103 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7104 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } 7105 if test "${ac_cv_type_signal+set}" = set; then 7106 echo $ECHO_N "(cached) $ECHO_C" >&6 7107 else 7108 cat >conftest.$ac_ext <<_ACEOF 7109 /* confdefs.h. */ 7110 _ACEOF 7111 cat confdefs.h >>conftest.$ac_ext 7112 cat >>conftest.$ac_ext <<_ACEOF 6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 6181 $as_echo_n "checking return type of signal handlers... " >&6; } 6182 if ${ac_cv_type_signal+:} false; then : 6183 $as_echo_n "(cached) " >&6 6184 else 6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7113 6186 /* end confdefs.h. */ 7114 6187 #include <sys/types.h> … … 7123 6196 } 7124 6197 _ACEOF 7125 rm -f conftest.$ac_objext 7126 if { (ac_try="$ac_compile" 7127 case "(($ac_try" in 7128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7129 *) ac_try_echo=$ac_try;; 7130 esac 7131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7132 (eval "$ac_compile") 2>conftest.er1 7133 ac_status=$? 7134 grep -v '^ *+' conftest.er1 >conftest.err 7135 rm -f conftest.er1 7136 cat conftest.err >&5 7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7138 (exit $ac_status); } && { 7139 test -z "$ac_c_werror_flag" || 7140 test ! -s conftest.err 7141 } && test -s conftest.$ac_objext; then 6198 if ac_fn_c_try_compile "$LINENO"; then : 7142 6199 ac_cv_type_signal=int 7143 6200 else 7144 echo "$as_me: failed program was:" >&5 7145 sed 's/^/| /' conftest.$ac_ext >&5 7146 7147 ac_cv_type_signal=void 7148 fi 7149 6201 ac_cv_type_signal=void 6202 fi 7150 6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7151 6204 fi 7152 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&57153 echo "${ECHO_T}$ac_cv_type_signal" >&6; }6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 6206 $as_echo "$ac_cv_type_signal" >&6; } 7154 6207 7155 6208 cat >>confdefs.h <<_ACEOF … … 7158 6211 7159 6212 7160 7161 6213 for ac_func in vprintf 7162 do 7163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7164 { echo "$as_me:$LINENO: checking for $ac_func" >&5 7165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 7166 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7167 echo $ECHO_N "(cached) $ECHO_C" >&6 7168 else 7169 cat >conftest.$ac_ext <<_ACEOF 7170 /* confdefs.h. */ 7171 _ACEOF 7172 cat confdefs.h >>conftest.$ac_ext 7173 cat >>conftest.$ac_ext <<_ACEOF 7174 /* end confdefs.h. */ 7175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7176 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7177 #define $ac_func innocuous_$ac_func 7178 7179 /* System header to define __stub macros and hopefully few prototypes, 7180 which can conflict with char $ac_func (); below. 7181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7182 <limits.h> exists even on freestanding compilers. */ 7183 7184 #ifdef __STDC__ 7185 # include <limits.h> 7186 #else 7187 # include <assert.h> 7188 #endif 7189 7190 #undef $ac_func 7191 7192 /* Override any GCC internal prototype to avoid an error. 7193 Use char because int might match the return type of a GCC 7194 builtin and then its argument prototype would still apply. */ 7195 #ifdef __cplusplus 7196 extern "C" 7197 #endif 7198 char $ac_func (); 7199 /* The GNU C library defines this for functions which it implements 7200 to always fail with ENOSYS. Some functions are actually named 7201 something starting with __ and the normal name is an alias. */ 7202 #if defined __stub_$ac_func || defined __stub___$ac_func 7203 choke me 7204 #endif 7205 7206 int 7207 main () 7208 { 7209 return $ac_func (); 7210 ; 7211 return 0; 7212 } 7213 _ACEOF 7214 rm -f conftest.$ac_objext conftest$ac_exeext 7215 if { (ac_try="$ac_link" 7216 case "(($ac_try" in 7217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7218 *) ac_try_echo=$ac_try;; 7219 esac 7220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7221 (eval "$ac_link") 2>conftest.er1 7222 ac_status=$? 7223 grep -v '^ *+' conftest.er1 >conftest.err 7224 rm -f conftest.er1 7225 cat conftest.err >&5 7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7227 (exit $ac_status); } && { 7228 test -z "$ac_c_werror_flag" || 7229 test ! -s conftest.err 7230 } && test -s conftest$ac_exeext && 7231 $as_test_x conftest$ac_exeext; then 7232 eval "$as_ac_var=yes" 7233 else 7234 echo "$as_me: failed program was:" >&5 7235 sed 's/^/| /' conftest.$ac_ext >&5 7236 7237 eval "$as_ac_var=no" 7238 fi 7239 7240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7241 conftest$ac_exeext conftest.$ac_ext 7242 fi 7243 ac_res=`eval echo '${'$as_ac_var'}'` 7244 { echo "$as_me:$LINENO: result: $ac_res" >&5 7245 echo "${ECHO_T}$ac_res" >&6; } 7246 if test `eval echo '${'$as_ac_var'}'` = yes; then 6214 do : 6215 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 6216 if test "x$ac_cv_func_vprintf" = xyes; then : 7247 6217 cat >>confdefs.h <<_ACEOF 7248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7249 _ACEOF 7250 7251 { echo "$as_me:$LINENO: checking for _doprnt" >&5 7252 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 7253 if test "${ac_cv_func__doprnt+set}" = set; then 7254 echo $ECHO_N "(cached) $ECHO_C" >&6 7255 else 7256 cat >conftest.$ac_ext <<_ACEOF 7257 /* confdefs.h. */ 7258 _ACEOF 7259 cat confdefs.h >>conftest.$ac_ext 7260 cat >>conftest.$ac_ext <<_ACEOF 7261 /* end confdefs.h. */ 7262 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 7263 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7264 #define _doprnt innocuous__doprnt 7265 7266 /* System header to define __stub macros and hopefully few prototypes, 7267 which can conflict with char _doprnt (); below. 7268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7269 <limits.h> exists even on freestanding compilers. */ 7270 7271 #ifdef __STDC__ 7272 # include <limits.h> 7273 #else 7274 # include <assert.h> 7275 #endif 7276 7277 #undef _doprnt 7278 7279 /* Override any GCC internal prototype to avoid an error. 7280 Use char because int might match the return type of a GCC 7281 builtin and then its argument prototype would still apply. */ 7282 #ifdef __cplusplus 7283 extern "C" 7284 #endif 7285 char _doprnt (); 7286 /* The GNU C library defines this for functions which it implements 7287 to always fail with ENOSYS. Some functions are actually named 7288 something starting with __ and the normal name is an alias. */ 7289 #if defined __stub__doprnt || defined __stub____doprnt 7290 choke me 7291 #endif 7292 7293 int 7294 main () 7295 { 7296 return _doprnt (); 7297 ; 7298 return 0; 7299 } 7300 _ACEOF 7301 rm -f conftest.$ac_objext conftest$ac_exeext 7302 if { (ac_try="$ac_link" 7303 case "(($ac_try" in 7304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7305 *) ac_try_echo=$ac_try;; 7306 esac 7307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7308 (eval "$ac_link") 2>conftest.er1 7309 ac_status=$? 7310 grep -v '^ *+' conftest.er1 >conftest.err 7311 rm -f conftest.er1 7312 cat conftest.err >&5 7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7314 (exit $ac_status); } && { 7315 test -z "$ac_c_werror_flag" || 7316 test ! -s conftest.err 7317 } && test -s conftest$ac_exeext && 7318 $as_test_x conftest$ac_exeext; then 7319 ac_cv_func__doprnt=yes 7320 else 7321 echo "$as_me: failed program was:" >&5 7322 sed 's/^/| /' conftest.$ac_ext >&5 7323 7324 ac_cv_func__doprnt=no 7325 fi 7326 7327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7328 conftest$ac_exeext conftest.$ac_ext 7329 fi 7330 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7331 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } 7332 if test $ac_cv_func__doprnt = yes; then 7333 7334 cat >>confdefs.h <<\_ACEOF 7335 #define HAVE_DOPRNT 1 7336 _ACEOF 6218 #define HAVE_VPRINTF 1 6219 _ACEOF 6220 6221 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 6222 if test "x$ac_cv_func__doprnt" = xyes; then : 6223 6224 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 7337 6225 7338 6226 fi … … 7342 6230 7343 6231 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 6232 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 7355 do 7356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7357 { echo "$as_me:$LINENO: checking for $ac_func" >&5 7358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 7359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7360 echo $ECHO_N "(cached) $ECHO_C" >&6 7361 else 7362 cat >conftest.$ac_ext <<_ACEOF 7363 /* confdefs.h. */ 7364 _ACEOF 7365 cat confdefs.h >>conftest.$ac_ext 7366 cat >>conftest.$ac_ext <<_ACEOF 7367 /* end confdefs.h. */ 7368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7369 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7370 #define $ac_func innocuous_$ac_func 7371 7372 /* System header to define __stub macros and hopefully few prototypes, 7373 which can conflict with char $ac_func (); below. 7374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7375 <limits.h> exists even on freestanding compilers. */ 7376 7377 #ifdef __STDC__ 7378 # include <limits.h> 7379 #else 7380 # include <assert.h> 7381 #endif 7382 7383 #undef $ac_func 7384 7385 /* Override any GCC internal prototype to avoid an error. 7386 Use char because int might match the return type of a GCC 7387 builtin and then its argument prototype would still apply. */ 7388 #ifdef __cplusplus 7389 extern "C" 7390 #endif 7391 char $ac_func (); 7392 /* The GNU C library defines this for functions which it implements 7393 to always fail with ENOSYS. Some functions are actually named 7394 something starting with __ and the normal name is an alias. */ 7395 #if defined __stub_$ac_func || defined __stub___$ac_func 7396 choke me 7397 #endif 7398 7399 int 7400 main () 7401 { 7402 return $ac_func (); 7403 ; 7404 return 0; 7405 } 7406 _ACEOF 7407 rm -f conftest.$ac_objext conftest$ac_exeext 7408 if { (ac_try="$ac_link" 7409 case "(($ac_try" in 7410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7411 *) ac_try_echo=$ac_try;; 7412 esac 7413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7414 (eval "$ac_link") 2>conftest.er1 7415 ac_status=$? 7416 grep -v '^ *+' conftest.er1 >conftest.err 7417 rm -f conftest.er1 7418 cat conftest.err >&5 7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7420 (exit $ac_status); } && { 7421 test -z "$ac_c_werror_flag" || 7422 test ! -s conftest.err 7423 } && test -s conftest$ac_exeext && 7424 $as_test_x conftest$ac_exeext; then 7425 eval "$as_ac_var=yes" 7426 else 7427 echo "$as_me: failed program was:" >&5 7428 sed 's/^/| /' conftest.$ac_ext >&5 7429 7430 eval "$as_ac_var=no" 7431 fi 7432 7433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7434 conftest$ac_exeext conftest.$ac_ext 7435 fi 7436 ac_res=`eval echo '${'$as_ac_var'}'` 7437 { echo "$as_me:$LINENO: result: $ac_res" >&5 7438 echo "${ECHO_T}$ac_res" >&6; } 7439 if test `eval echo '${'$as_ac_var'}'` = yes; then 6233 do : 6234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6236 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 7440 6237 cat >>confdefs.h <<_ACEOF 7441 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7442 6239 _ACEOF 7443 6240 … … 7445 6242 done 7446 6243 7447 7448 7449 7450 for ac_func in ftruncate strstr strcasecmp 7451 do 7452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7453 { echo "$as_me:$LINENO: checking for $ac_func" >&5 7454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 7455 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7456 echo $ECHO_N "(cached) $ECHO_C" >&6 7457 else 7458 cat >conftest.$ac_ext <<_ACEOF 7459 /* confdefs.h. */ 7460 _ACEOF 7461 cat confdefs.h >>conftest.$ac_ext 7462 cat >>conftest.$ac_ext <<_ACEOF 7463 /* end confdefs.h. */ 7464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7465 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7466 #define $ac_func innocuous_$ac_func 7467 7468 /* System header to define __stub macros and hopefully few prototypes, 7469 which can conflict with char $ac_func (); below. 7470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7471 <limits.h> exists even on freestanding compilers. */ 7472 7473 #ifdef __STDC__ 7474 # include <limits.h> 7475 #else 7476 # include <assert.h> 7477 #endif 7478 7479 #undef $ac_func 7480 7481 /* Override any GCC internal prototype to avoid an error. 7482 Use char because int might match the return type of a GCC 7483 builtin and then its argument prototype would still apply. */ 7484 #ifdef __cplusplus 7485 extern "C" 7486 #endif 7487 char $ac_func (); 7488 /* The GNU C library defines this for functions which it implements 7489 to always fail with ENOSYS. Some functions are actually named 7490 something starting with __ and the normal name is an alias. */ 7491 #if defined __stub_$ac_func || defined __stub___$ac_func 7492 choke me 7493 #endif 7494 7495 int 7496 main () 7497 { 7498 return $ac_func (); 7499 ; 7500 return 0; 7501 } 7502 _ACEOF 7503 rm -f conftest.$ac_objext conftest$ac_exeext 7504 if { (ac_try="$ac_link" 7505 case "(($ac_try" in 7506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7507 *) ac_try_echo=$ac_try;; 7508 esac 7509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7510 (eval "$ac_link") 2>conftest.er1 7511 ac_status=$? 7512 grep -v '^ *+' conftest.er1 >conftest.err 7513 rm -f conftest.er1 7514 cat conftest.err >&5 7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7516 (exit $ac_status); } && { 7517 test -z "$ac_c_werror_flag" || 7518 test ! -s conftest.err 7519 } && test -s conftest$ac_exeext && 7520 $as_test_x conftest$ac_exeext; then 7521 eval "$as_ac_var=yes" 7522 else 7523 echo "$as_me: failed program was:" >&5 7524 sed 's/^/| /' conftest.$ac_ext >&5 7525 7526 eval "$as_ac_var=no" 7527 fi 7528 7529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7530 conftest$ac_exeext conftest.$ac_ext 7531 fi 7532 ac_res=`eval echo '${'$as_ac_var'}'` 7533 { echo "$as_me:$LINENO: result: $ac_res" >&5 7534 echo "${ECHO_T}$ac_res" >&6; } 7535 if test `eval echo '${'$as_ac_var'}'` = yes; then 7536 cat >>confdefs.h <<_ACEOF 7537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7538 _ACEOF 6244 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" 6245 if test "x$ac_cv_func_ftruncate" = xyes; then : 6246 $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h 7539 6247 7540 6248 else 7541 6249 case " $LIBOBJS " in 7542 *" $ac_func.$ac_objext "* ) ;;7543 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"6250 *" ftruncate.$ac_objext "* ) ;; 6251 *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext" 7544 6252 ;; 7545 6253 esac 7546 6254 7547 6255 fi 7548 done 7549 7550 7551 7552 { echo "$as_me:$LINENO: checking for textdomain" >&5 7553 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; } 7554 if test "${ac_cv_func_textdomain+set}" = set; then 7555 echo $ECHO_N "(cached) $ECHO_C" >&6 7556 else 7557 cat >conftest.$ac_ext <<_ACEOF 7558 /* confdefs.h. */ 7559 _ACEOF 7560 cat confdefs.h >>conftest.$ac_ext 7561 cat >>conftest.$ac_ext <<_ACEOF 7562 /* end confdefs.h. */ 7563 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain. 7564 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7565 #define textdomain innocuous_textdomain 7566 7567 /* System header to define __stub macros and hopefully few prototypes, 7568 which can conflict with char textdomain (); below. 7569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7570 <limits.h> exists even on freestanding compilers. */ 7571 7572 #ifdef __STDC__ 7573 # include <limits.h> 7574 #else 7575 # include <assert.h> 7576 #endif 7577 7578 #undef textdomain 7579 7580 /* Override any GCC internal prototype to avoid an error. 7581 Use char because int might match the return type of a GCC 7582 builtin and then its argument prototype would still apply. */ 7583 #ifdef __cplusplus 7584 extern "C" 7585 #endif 7586 char textdomain (); 7587 /* The GNU C library defines this for functions which it implements 7588 to always fail with ENOSYS. Some functions are actually named 7589 something starting with __ and the normal name is an alias. */ 7590 #if defined __stub_textdomain || defined __stub___textdomain 7591 choke me 7592 #endif 7593 7594 int 7595 main () 7596 { 7597 return textdomain (); 7598 ; 7599 return 0; 7600 } 7601 _ACEOF 7602 rm -f conftest.$ac_objext conftest$ac_exeext 7603 if { (ac_try="$ac_link" 7604 case "(($ac_try" in 7605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7606 *) ac_try_echo=$ac_try;; 6256 6257 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 6258 if test "x$ac_cv_func_strstr" = xyes; then : 6259 $as_echo "#define HAVE_STRSTR 1" >>confdefs.h 6260 6261 else 6262 case " $LIBOBJS " in 6263 *" strstr.$ac_objext "* ) ;; 6264 *) LIBOBJS="$LIBOBJS strstr.$ac_objext" 6265 ;; 7607 6266 esac 7608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7609 (eval "$ac_link") 2>conftest.er1 7610 ac_status=$? 7611 grep -v '^ *+' conftest.er1 >conftest.err 7612 rm -f conftest.er1 7613 cat conftest.err >&5 7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7615 (exit $ac_status); } && { 7616 test -z "$ac_c_werror_flag" || 7617 test ! -s conftest.err 7618 } && test -s conftest$ac_exeext && 7619 $as_test_x conftest$ac_exeext; then 7620 ac_cv_func_textdomain=yes 7621 else 7622 echo "$as_me: failed program was:" >&5 7623 sed 's/^/| /' conftest.$ac_ext >&5 7624 7625 ac_cv_func_textdomain=no 7626 fi 7627 7628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7629 conftest$ac_exeext conftest.$ac_ext 7630 fi 7631 { echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 7632 echo "${ECHO_T}$ac_cv_func_textdomain" >&6; } 7633 if test $ac_cv_func_textdomain = yes; then 7634 cat >>confdefs.h <<\_ACEOF 7635 #define ENABLE_NLS 1 7636 _ACEOF 6267 6268 fi 6269 6270 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 6271 if test "x$ac_cv_func_strcasecmp" = xyes; then : 6272 $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h 6273 6274 else 6275 case " $LIBOBJS " in 6276 *" strcasecmp.$ac_objext "* ) ;; 6277 *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" 6278 ;; 6279 esac 6280 6281 fi 6282 6283 6284 6285 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain" 6286 if test "x$ac_cv_func_textdomain" = xyes; then : 6287 $as_echo "#define ENABLE_NLS 1" >>confdefs.h 7637 6288 7638 6289 fi … … 7641 6292 # *** Custom checking (based on GNU tar configure.in) *** 7642 6293 # --------------------------------------------------------------------------- 7643 { echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&57644 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5 6295 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7645 6296 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 7646 { echo "$as_me:$LINENO: result: yes" >&57647 echo "${ECHO_T}yes" >&6; }6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6298 $as_echo "yes" >&6; } 7648 6299 case " $LIBOBJS " in 7649 6300 *" gmalloc.$ac_objext "* ) ;; … … 7652 6303 esac 7653 6304 7654 cat >>confdefs.h <<\_ACEOF 6305 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 6306 6307 else 6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6309 $as_echo "no" >&6; } 6310 for ac_func in valloc 6311 do : 6312 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 6313 if test "x$ac_cv_func_valloc" = xyes; then : 6314 cat >>confdefs.h <<_ACEOF 7655 6315 #define HAVE_VALLOC 1 7656 6316 _ACEOF 7657 6317 7658 else7659 { echo "$as_me:$LINENO: result: no" >&57660 echo "${ECHO_T}no" >&6; }7661 7662 for ac_func in valloc7663 do7664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`7665 { echo "$as_me:$LINENO: checking for $ac_func" >&57666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }7667 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then7668 echo $ECHO_N "(cached) $ECHO_C" >&67669 else7670 cat >conftest.$ac_ext <<_ACEOF7671 /* confdefs.h. */7672 _ACEOF7673 cat confdefs.h >>conftest.$ac_ext7674 cat >>conftest.$ac_ext <<_ACEOF7675 /* end confdefs.h. */7676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.7677 For example, HP-UX 11i <limits.h> declares gettimeofday. */7678 #define $ac_func innocuous_$ac_func7679 7680 /* System header to define __stub macros and hopefully few prototypes,7681 which can conflict with char $ac_func (); below.7682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since7683 <limits.h> exists even on freestanding compilers. */7684 7685 #ifdef __STDC__7686 # include <limits.h>7687 #else7688 # include <assert.h>7689 #endif7690 7691 #undef $ac_func7692 7693 /* Override any GCC internal prototype to avoid an error.7694 Use char because int might match the return type of a GCC7695 builtin and then its argument prototype would still apply. */7696 #ifdef __cplusplus7697 extern "C"7698 #endif7699 char $ac_func ();7700 /* The GNU C library defines this for functions which it implements7701 to always fail with ENOSYS. Some functions are actually named7702 something starting with __ and the normal name is an alias. */7703 #if defined __stub_$ac_func || defined __stub___$ac_func7704 choke me7705 #endif7706 7707 int7708 main ()7709 {7710 return $ac_func ();7711 ;7712 return 0;7713 }7714 _ACEOF7715 rm -f conftest.$ac_objext conftest$ac_exeext7716 if { (ac_try="$ac_link"7717 case "(($ac_try" in7718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;7719 *) ac_try_echo=$ac_try;;7720 esac7721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&57722 (eval "$ac_link") 2>conftest.er17723 ac_status=$?7724 grep -v '^ *+' conftest.er1 >conftest.err7725 rm -f conftest.er17726 cat conftest.err >&57727 echo "$as_me:$LINENO: \$? = $ac_status" >&57728 (exit $ac_status); } && {7729 test -z "$ac_c_werror_flag" ||7730 test ! -s conftest.err7731 } && test -s conftest$ac_exeext &&7732 $as_test_x conftest$ac_exeext; then7733 eval "$as_ac_var=yes"7734 else7735 echo "$as_me: failed program was:" >&57736 sed 's/^/| /' conftest.$ac_ext >&57737 7738 eval "$as_ac_var=no"7739 fi7740 7741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \7742 conftest$ac_exeext conftest.$ac_ext7743 fi7744 ac_res=`eval echo '${'$as_ac_var'}'`7745 { echo "$as_me:$LINENO: result: $ac_res" >&57746 echo "${ECHO_T}$ac_res" >&6; }7747 if test `eval echo '${'$as_ac_var'}'` = yes; then7748 cat >>confdefs.h <<_ACEOF7749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 17750 _ACEOF7751 7752 6318 fi 7753 6319 done … … 7756 6322 7757 6323 # we cannot generate static libraries under Darwin 7758 { echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&57759 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; }6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5 6325 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 7760 6326 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 7761 { echo "$as_me:$LINENO: result: yes" >&57762 echo "${ECHO_T}yes" >&6; }6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6328 $as_echo "yes" >&6; } 7763 6329 STATIC="" 7764 6330 else 7765 { echo "$as_me:$LINENO: result: no" >&57766 echo "${ECHO_T}no" >&6; }6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6332 $as_echo "no" >&6; } 7767 6333 STATIC="-static " 7768 6334 fi 7769 6335 7770 6336 7771 { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&57772 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 6338 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 7773 6339 7774 6340 # Check whether --with-dmalloc was given. 7775 if test "${with_dmalloc+set}" = set; then 6341 if test "${with_dmalloc+set}" = set; then : 7776 6342 withval=$with_dmalloc; if test "$withval" = yes; then 7777 { echo "$as_me:$LINENO: result: yes" >&5 7778 echo "${ECHO_T}yes" >&6; } 7779 cat >>confdefs.h <<\_ACEOF 7780 #define WITH_DMALLOC 1 7781 _ACEOF 6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6344 $as_echo "yes" >&6; } 6345 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h 7782 6346 7783 6347 LIBS="$LIBS -ldmalloc" 7784 6348 LDFLAGS="$LDFLAGS -g" 7785 6349 else 7786 { echo "$as_me:$LINENO: result: no" >&57787 echo "${ECHO_T}no" >&6; }7788 fi 7789 else 7790 { echo "$as_me:$LINENO: result: no" >&57791 echo "${ECHO_T}no" >&6; }7792 fi 7793 7794 7795 { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&57796 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6351 $as_echo "no" >&6; } 6352 fi 6353 else 6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6355 $as_echo "no" >&6; } 6356 fi 6357 6358 6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5 6360 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 7797 6361 7798 6362 # Check whether --with-regex was given. 7799 if test "${with_regex+set}" = set; then 6363 if test "${with_regex+set}" = set; then : 7800 6364 withval=$with_regex; if test "$withval" = yes; then 7801 6365 ac_with_regex=1 7802 { echo "$as_me:$LINENO: result: regex" >&5 7803 echo "${ECHO_T}regex" >&6; } 7804 cat >>confdefs.h <<\_ACEOF 7805 #define WITH_REGEX 1 7806 _ACEOF 6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5 6367 $as_echo "regex" >&6; } 6368 $as_echo "#define WITH_REGEX 1" >>confdefs.h 7807 6369 7808 6370 case " $LIBOBJS " in … … 7816 6378 7817 6379 if test -z "$ac_with_regex"; then 7818 { echo "$as_me:$LINENO: result: rx" >&5 7819 echo "${ECHO_T}rx" >&6; } 7820 { echo "$as_me:$LINENO: checking for re_rx_search" >&5 7821 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; } 7822 if test "${ac_cv_func_re_rx_search+set}" = set; then 7823 echo $ECHO_N "(cached) $ECHO_C" >&6 7824 else 7825 cat >conftest.$ac_ext <<_ACEOF 7826 /* confdefs.h. */ 7827 _ACEOF 7828 cat confdefs.h >>conftest.$ac_ext 7829 cat >>conftest.$ac_ext <<_ACEOF 7830 /* end confdefs.h. */ 7831 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 7832 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7833 #define re_rx_search innocuous_re_rx_search 7834 7835 /* System header to define __stub macros and hopefully few prototypes, 7836 which can conflict with char re_rx_search (); below. 7837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7838 <limits.h> exists even on freestanding compilers. */ 7839 7840 #ifdef __STDC__ 7841 # include <limits.h> 7842 #else 7843 # include <assert.h> 7844 #endif 7845 7846 #undef re_rx_search 7847 7848 /* Override any GCC internal prototype to avoid an error. 7849 Use char because int might match the return type of a GCC 7850 builtin and then its argument prototype would still apply. */ 7851 #ifdef __cplusplus 7852 extern "C" 7853 #endif 7854 char re_rx_search (); 7855 /* The GNU C library defines this for functions which it implements 7856 to always fail with ENOSYS. Some functions are actually named 7857 something starting with __ and the normal name is an alias. */ 7858 #if defined __stub_re_rx_search || defined __stub___re_rx_search 7859 choke me 7860 #endif 7861 7862 int 7863 main () 7864 { 7865 return re_rx_search (); 7866 ; 7867 return 0; 7868 } 7869 _ACEOF 7870 rm -f conftest.$ac_objext conftest$ac_exeext 7871 if { (ac_try="$ac_link" 7872 case "(($ac_try" in 7873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7874 *) ac_try_echo=$ac_try;; 7875 esac 7876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7877 (eval "$ac_link") 2>conftest.er1 7878 ac_status=$? 7879 grep -v '^ *+' conftest.er1 >conftest.err 7880 rm -f conftest.er1 7881 cat conftest.err >&5 7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7883 (exit $ac_status); } && { 7884 test -z "$ac_c_werror_flag" || 7885 test ! -s conftest.err 7886 } && test -s conftest$ac_exeext && 7887 $as_test_x conftest$ac_exeext; then 7888 ac_cv_func_re_rx_search=yes 7889 else 7890 echo "$as_me: failed program was:" >&5 7891 sed 's/^/| /' conftest.$ac_ext >&5 7892 7893 ac_cv_func_re_rx_search=no 7894 fi 7895 7896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7897 conftest$ac_exeext conftest.$ac_ext 7898 fi 7899 { echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7900 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; } 7901 if test $ac_cv_func_re_rx_search = yes; then 7902 : 6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5 6381 $as_echo "rx" >&6; } 6382 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 6383 if test "x$ac_cv_func_re_rx_search" = xyes; then : 6384 7903 6385 else 7904 6386 case " $LIBOBJS " in … … 7939 6421 7940 6422 7941 { echo "$as_me:$LINENO: checking that Perl 5 is available" >&57942 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6; }6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5 6424 $as_echo_n "checking that Perl 5 is available... " >&6; } 7943 6425 success="no" 7944 6426 pl_path="$PATH" … … 7957 6439 try=`expr $try \> 5.000` 7958 6440 if test $try = "1"; then 7959 { echo "$as_me:$LINENO: result: \"yes\"" >&57960 echo "${ECHO_T}\"yes\"" >&6; }6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 6442 $as_echo "\"yes\"" >&6; } 7961 6443 else 7962 6444 success="no" … … 7965 6447 7966 6448 if test $success = "no"; then 7967 { echo "$as_me:$LINENO: result: \"no\"" >&5 7968 echo "${ECHO_T}\"no\"" >&6; } 7969 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 7970 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} 7971 { (exit 1); exit 1; }; } 6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 6450 $as_echo "\"no\"" >&6; } 6451 as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5 7972 6452 fi 7973 6453 7974 6454 success=no 7975 { echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 7976 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; } 7977 7978 7979 cat >conftest.$ac_ext <<_ACEOF 7980 /* confdefs.h. */ 7981 _ACEOF 7982 cat confdefs.h >>conftest.$ac_ext 7983 cat >>conftest.$ac_ext <<_ACEOF 6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5 6456 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 6457 6458 6459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7984 6460 /* end confdefs.h. */ 7985 6461 #include <vector> … … 7993 6469 } 7994 6470 _ACEOF 7995 rm -f conftest.$ac_objext 7996 if { (ac_try="$ac_compile" 7997 case "(($ac_try" in 7998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7999 *) ac_try_echo=$ac_try;; 8000 esac 8001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8002 (eval "$ac_compile") 2>conftest.er1 8003 ac_status=$? 8004 grep -v '^ *+' conftest.er1 >conftest.err 8005 rm -f conftest.er1 8006 cat conftest.err >&5 8007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8008 (exit $ac_status); } && { 8009 test -z "$ac_cxx_werror_flag" || 8010 test ! -s conftest.err 8011 } && test -s conftest.$ac_objext; then 6471 if ac_fn_cxx_try_compile "$LINENO"; then : 8012 6472 success=yes 8013 else 8014 echo "$as_me: failed program was:" >&5 8015 sed 's/^/| /' conftest.$ac_ext >&5 8016 8017 8018 fi 8019 6473 fi 8020 6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8021 6475 8022 6476 if test $success = "no"; then 8023 cat >conftest.$ac_ext <<_ACEOF 8024 /* confdefs.h. */ 8025 _ACEOF 8026 cat confdefs.h >>conftest.$ac_ext 8027 cat >>conftest.$ac_ext <<_ACEOF 6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8028 6478 /* end confdefs.h. */ 8029 6479 #include <vector.h> … … 8037 6487 } 8038 6488 _ACEOF 8039 rm -f conftest.$ac_objext 8040 if { (ac_try="$ac_compile" 8041 case "(($ac_try" in 8042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8043 *) ac_try_echo=$ac_try;; 8044 esac 8045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8046 (eval "$ac_compile") 2>conftest.er1 8047 ac_status=$? 8048 grep -v '^ *+' conftest.er1 >conftest.err 8049 rm -f conftest.er1 8050 cat conftest.err >&5 8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8052 (exit $ac_status); } && { 8053 test -z "$ac_cxx_werror_flag" || 8054 test ! -s conftest.err 8055 } && test -s conftest.$ac_objext; then 6489 if ac_fn_cxx_try_compile "$LINENO"; then : 8056 6490 success="yes" 8057 else 8058 echo "$as_me: failed program was:" >&5 8059 sed 's/^/| /' conftest.$ac_ext >&5 8060 8061 8062 fi 8063 6491 fi 8064 6492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8065 6493 fi 8066 6494 8067 6495 if test $success = "no"; then 8068 cat >conftest.$ac_ext <<_ACEOF 8069 /* confdefs.h. */ 8070 _ACEOF 8071 cat confdefs.h >>conftest.$ac_ext 8072 cat >>conftest.$ac_ext <<_ACEOF 6496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8073 6497 /* end confdefs.h. */ 8074 6498 #include <ospace\\std\\vector> … … 8082 6506 } 8083 6507 _ACEOF 8084 rm -f conftest.$ac_objext 8085 if { (ac_try="$ac_compile" 8086 case "(($ac_try" in 8087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8088 *) ac_try_echo=$ac_try;; 8089 esac 8090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8091 (eval "$ac_compile") 2>conftest.er1 8092 ac_status=$? 8093 grep -v '^ *+' conftest.er1 >conftest.err 8094 rm -f conftest.er1 8095 cat conftest.err >&5 8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8097 (exit $ac_status); } && { 8098 test -z "$ac_cxx_werror_flag" || 8099 test ! -s conftest.err 8100 } && test -s conftest.$ac_objext; then 6508 if ac_fn_cxx_try_compile "$LINENO"; then : 8101 6509 success="yes" 8102 else 8103 echo "$as_me: failed program was:" >&5 8104 sed 's/^/| /' conftest.$ac_ext >&5 8105 8106 8107 fi 8108 6510 fi 8109 6511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8110 6512 fi 8111 6513 8112 6514 if test $success = yes; then 8113 { echo "$as_me:$LINENO: result: \"no\"" >&5 8114 echo "${ECHO_T}\"no\"" >&6; } 8115 else 8116 { echo "$as_me:$LINENO: result: \"yes\"" >&5 8117 echo "${ECHO_T}\"yes\"" >&6; } 8118 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8119 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 8120 { (exit 1); exit 1; }; } 6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 6516 $as_echo "\"no\"" >&6; } 6517 else 6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 6519 $as_echo "\"yes\"" >&6; } 6520 as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5 8121 6521 fi 8122 6522 … … 8135 6535 8136 6536 # check for endianness 8137 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8138 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 8139 if test "${ac_cv_c_bigendian+set}" = set; then 8140 echo $ECHO_N "(cached) $ECHO_C" >&6 8141 else 8142 # See if sys/param.h defines the BYTE_ORDER macro. 8143 cat >conftest.$ac_ext <<_ACEOF 8144 /* confdefs.h. */ 8145 _ACEOF 8146 cat confdefs.h >>conftest.$ac_ext 8147 cat >>conftest.$ac_ext <<_ACEOF 6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 6538 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 6539 if ${ac_cv_c_bigendian+:} false; then : 6540 $as_echo_n "(cached) " >&6 6541 else 6542 ac_cv_c_bigendian=unknown 6543 # See if we're dealing with a universal compiler. 6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6545 /* end confdefs.h. */ 6546 #ifndef __APPLE_CC__ 6547 not a universal capable compiler 6548 #endif 6549 typedef int dummy; 6550 6551 _ACEOF 6552 if ac_fn_cxx_try_compile "$LINENO"; then : 6553 6554 # Check for potential -arch flags. It is not universal unless 6555 # there are at least two -arch flags with different values. 6556 ac_arch= 6557 ac_prev= 6558 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 6559 if test -n "$ac_prev"; then 6560 case $ac_word in 6561 i?86 | x86_64 | ppc | ppc64) 6562 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 6563 ac_arch=$ac_word 6564 else 6565 ac_cv_c_bigendian=universal 6566 break 6567 fi 6568 ;; 6569 esac 6570 ac_prev= 6571 elif test "x$ac_word" = "x-arch"; then 6572 ac_prev=arch 6573 fi 6574 done 6575 fi 6576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6577 if test $ac_cv_c_bigendian = unknown; then 6578 # See if sys/param.h defines the BYTE_ORDER macro. 6579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8148 6580 /* end confdefs.h. */ 8149 6581 #include <sys/types.h> 8150 #include <sys/param.h>6582 #include <sys/param.h> 8151 6583 8152 6584 int 8153 6585 main () 8154 6586 { 8155 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 8156 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 8157 bogus endian macros 8158 #endif 6587 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 6588 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 6589 && LITTLE_ENDIAN) 6590 bogus endian macros 6591 #endif 8159 6592 8160 6593 ; … … 8162 6595 } 8163 6596 _ACEOF 8164 rm -f conftest.$ac_objext 8165 if { (ac_try="$ac_compile" 8166 case "(($ac_try" in 8167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8168 *) ac_try_echo=$ac_try;; 8169 esac 8170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8171 (eval "$ac_compile") 2>conftest.er1 8172 ac_status=$? 8173 grep -v '^ *+' conftest.er1 >conftest.err 8174 rm -f conftest.er1 8175 cat conftest.err >&5 8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8177 (exit $ac_status); } && { 8178 test -z "$ac_cxx_werror_flag" || 8179 test ! -s conftest.err 8180 } && test -s conftest.$ac_objext; then 6597 if ac_fn_cxx_try_compile "$LINENO"; then : 8181 6598 # It does; now see whether it defined to BIG_ENDIAN or not. 8182 cat >conftest.$ac_ext <<_ACEOF 8183 /* confdefs.h. */ 8184 _ACEOF 8185 cat confdefs.h >>conftest.$ac_ext 8186 cat >>conftest.$ac_ext <<_ACEOF 6599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8187 6600 /* end confdefs.h. */ 8188 6601 #include <sys/types.h> 8189 #include <sys/param.h>6602 #include <sys/param.h> 8190 6603 8191 6604 int … … 8193 6606 { 8194 6607 #if BYTE_ORDER != BIG_ENDIAN 8195 not big endian8196 #endif6608 not big endian 6609 #endif 8197 6610 8198 6611 ; … … 8200 6613 } 8201 6614 _ACEOF 8202 rm -f conftest.$ac_objext 8203 if { (ac_try="$ac_compile" 8204 case "(($ac_try" in 8205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8206 *) ac_try_echo=$ac_try;; 8207 esac 8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8209 (eval "$ac_compile") 2>conftest.er1 8210 ac_status=$? 8211 grep -v '^ *+' conftest.er1 >conftest.err 8212 rm -f conftest.er1 8213 cat conftest.err >&5 8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8215 (exit $ac_status); } && { 8216 test -z "$ac_cxx_werror_flag" || 8217 test ! -s conftest.err 8218 } && test -s conftest.$ac_objext; then 6615 if ac_fn_cxx_try_compile "$LINENO"; then : 8219 6616 ac_cv_c_bigendian=yes 8220 6617 else 8221 echo "$as_me: failed program was:" >&5 8222 sed 's/^/| /' conftest.$ac_ext >&5 8223 8224 ac_cv_c_bigendian=no 8225 fi 8226 6618 ac_cv_c_bigendian=no 6619 fi 8227 6620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8228 else 8229 echo "$as_me: failed program was:" >&5 8230 sed 's/^/| /' conftest.$ac_ext >&5 8231 8232 # It does not; compile a test program. 8233 if test "$cross_compiling" = yes; then 8234 # try to guess the endianness by grepping values into an object file 8235 ac_cv_c_bigendian=unknown 8236 cat >conftest.$ac_ext <<_ACEOF 8237 /* confdefs.h. */ 8238 _ACEOF 8239 cat confdefs.h >>conftest.$ac_ext 8240 cat >>conftest.$ac_ext <<_ACEOF 6621 fi 6622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6623 fi 6624 if test $ac_cv_c_bigendian = unknown; then 6625 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 6626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8241 6627 /* end confdefs.h. */ 8242 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8243 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8244 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 8245 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8246 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8247 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 6628 #include <limits.h> 6629 8248 6630 int 8249 6631 main () 8250 6632 { 8251 _ascii (); _ebcdic (); 6633 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 6634 bogus endian macros 6635 #endif 6636 8252 6637 ; 8253 6638 return 0; 8254 6639 } 8255 6640 _ACEOF 8256 rm -f conftest.$ac_objext 8257 if { (ac_try="$ac_compile" 8258 case "(($ac_try" in 8259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8260 *) ac_try_echo=$ac_try;; 8261 esac 8262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8263 (eval "$ac_compile") 2>conftest.er1 8264 ac_status=$? 8265 grep -v '^ *+' conftest.er1 >conftest.err 8266 rm -f conftest.er1 8267 cat conftest.err >&5 8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8269 (exit $ac_status); } && {8270 test -z "$ac_cxx_werror_flag" || 8271 test ! -s conftest.err 8272 } && test -s conftest.$ac_objext; then 8273 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 6641 if ac_fn_cxx_try_compile "$LINENO"; then : 6642 # It does; now see whether it defined to _BIG_ENDIAN or not. 6643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6644 /* end confdefs.h. */ 6645 #include <limits.h> 6646 6647 int 6648 main () 6649 { 6650 #ifndef _BIG_ENDIAN 6651 not big endian 6652 #endif 6653 6654 ; 6655 return 0; 6656 } 6657 _ACEOF 6658 if ac_fn_cxx_try_compile "$LINENO"; then : 8274 6659 ac_cv_c_bigendian=yes 8275 fi 8276 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8277 if test "$ac_cv_c_bigendian" = unknown; then 8278 ac_cv_c_bigendian=no 8279 else 8280 # finding both strings is unlikely to happen, but who knows? 8281 ac_cv_c_bigendian=unknown 8282 fi 8283 fi 8284 else 8285 echo "$as_me: failed program was:" >&5 8286 sed 's/^/| /' conftest.$ac_ext >&5 8287 8288 8289 fi 8290 6660 else 6661 ac_cv_c_bigendian=no 6662 fi 8291 6663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8292 else 8293 cat >conftest.$ac_ext <<_ACEOF 8294 /* confdefs.h. */ 8295 _ACEOF 8296 cat confdefs.h >>conftest.$ac_ext 8297 cat >>conftest.$ac_ext <<_ACEOF 6664 fi 6665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6666 fi 6667 if test $ac_cv_c_bigendian = unknown; then 6668 # Compile a test program. 6669 if test "$cross_compiling" = yes; then : 6670 # Try to guess by grepping values from an object file. 6671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6672 /* end confdefs.h. */ 6673 short int ascii_mm[] = 6674 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 6675 short int ascii_ii[] = 6676 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 6677 int use_ascii (int i) { 6678 return ascii_mm[i] + ascii_ii[i]; 6679 } 6680 short int ebcdic_ii[] = 6681 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 6682 short int ebcdic_mm[] = 6683 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 6684 int use_ebcdic (int i) { 6685 return ebcdic_mm[i] + ebcdic_ii[i]; 6686 } 6687 extern int foo; 6688 6689 int 6690 main () 6691 { 6692 return use_ascii (foo) == use_ebcdic (foo); 6693 ; 6694 return 0; 6695 } 6696 _ACEOF 6697 if ac_fn_cxx_try_compile "$LINENO"; then : 6698 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 6699 ac_cv_c_bigendian=yes 6700 fi 6701 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 6702 if test "$ac_cv_c_bigendian" = unknown; then 6703 ac_cv_c_bigendian=no 6704 else 6705 # finding both strings is unlikely to happen, but who knows? 6706 ac_cv_c_bigendian=unknown 6707 fi 6708 fi 6709 fi 6710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6711 else 6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8298 6713 /* end confdefs.h. */ 8299 6714 $ac_includes_default … … 8302 6717 { 8303 6718 8304 /* Are we little or big endian? From Harbison&Steele. */8305 union8306 {8307 long int l;8308 char c[sizeof (long int)];8309 } u;8310 u.l = 1;8311 return u.c[sizeof (long int) - 1] == 1;6719 /* Are we little or big endian? From Harbison&Steele. */ 6720 union 6721 { 6722 long int l; 6723 char c[sizeof (long int)]; 6724 } u; 6725 u.l = 1; 6726 return u.c[sizeof (long int) - 1] == 1; 8312 6727 8313 6728 ; … … 8315 6730 } 8316 6731 _ACEOF 8317 rm -f conftest$ac_exeext 8318 if { (ac_try="$ac_link" 8319 case "(($ac_try" in 8320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8321 *) ac_try_echo=$ac_try;; 8322 esac 8323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8324 (eval "$ac_link") 2>&5 8325 ac_status=$? 8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8328 { (case "(($ac_try" in 8329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8330 *) ac_try_echo=$ac_try;; 8331 esac 8332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8333 (eval "$ac_try") 2>&5 8334 ac_status=$? 8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8336 (exit $ac_status); }; }; then 6732 if ac_fn_cxx_try_run "$LINENO"; then : 8337 6733 ac_cv_c_bigendian=no 8338 6734 else 8339 echo "$as_me: program exited with status $ac_status" >&5 8340 echo "$as_me: failed program was:" >&5 8341 sed 's/^/| /' conftest.$ac_ext >&5 8342 8343 ( exit $ac_status ) 8344 ac_cv_c_bigendian=yes 8345 fi 8346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8347 fi 8348 8349 8350 fi 8351 8352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8353 fi 8354 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8355 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 8356 case $ac_cv_c_bigendian in 8357 yes) 8358 8359 cat >>confdefs.h <<\_ACEOF 8360 #define WORDS_BIGENDIAN 1 8361 _ACEOF 8362 ;; 8363 no) 8364 ;; 8365 *) 8366 { { echo "$as_me:$LINENO: error: unknown endianness 8367 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8368 echo "$as_me: error: unknown endianness 8369 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8370 { (exit 1); exit 1; }; } ;; 8371 esac 6735 ac_cv_c_bigendian=yes 6736 fi 6737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6738 conftest.$ac_objext conftest.beam conftest.$ac_ext 6739 fi 6740 6741 fi 6742 fi 6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 6744 $as_echo "$ac_cv_c_bigendian" >&6; } 6745 case $ac_cv_c_bigendian in #( 6746 yes) 6747 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 6748 ;; #( 6749 no) 6750 ;; #( 6751 universal) 6752 6753 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 6754 6755 ;; #( 6756 *) 6757 as_fn_error $? "unknown endianness 6758 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 6759 esac 8372 6760 8373 6761 # --------------------------------------------------------------------------- … … 8408 6796 # GS3 uses this to set up gnome-lib env, GS2 uses the configure in gs2build/toplevel GS2 installation 8409 6797 # For gnome-lib-minimal need to source its ./devel.bash before wvware can even be configured 8410 # For a gnome-lib that's already compiled, don't need to its source./devel.bash to configure wvware6798 # For a gnome-lib that's already compiled, don't need to source its ./devel.bash to configure wvware 8411 6799 # If a gnome-lib is not yet compiled, we compile it first with CASCADE-MAKE.sh 8412 6800 # Need to make sure that the gnome-lib-minimal is not the cut-down gnome-lib-minimal (which contains 8413 # only the linux/lib subfolder) that's included with linux and mac binaries, because we can't compile 8414 # wvware with the cut-down one, only run wvware with it. The test for the cut-down version is that 6801 # only the linux/lib subfolder) that's included with linux and mac binaries, because we can't compile 6802 # wvware with the cut-down one, only run wvware with it. The test for the cut-down version is that 8415 6803 # it does not contain devel.bash. 8416 6804 … … 8442 6830 8443 6831 # --------------------------------------------------------------------------- 6832 6833 8444 6834 subdirs="$subdirs packages" 8445 6835 … … 8479 6869 *${as_nl}*) 8480 6870 case $ac_var in #( 8481 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&58482 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;6871 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8483 6873 esac 8484 6874 case $ac_var in #( 8485 6875 _ | IFS | as_nl) ;; #( 8486 *) $as_unset $ac_var ;; 6876 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6877 *) { eval $ac_var=; unset $ac_var;} ;; 8487 6878 esac ;; 8488 6879 esac … … 8492 6883 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8493 6884 *${as_nl}ac_space=\ *) 8494 # `set' does not quote correctly, so add quotes (double-quote8495 # substitution turns \\\\ into \\, and sed turns \\ into \ ).6885 # `set' does not quote correctly, so add quotes: double-quote 6886 # substitution turns \\\\ into \\, and sed turns \\ into \. 8496 6887 sed -n \ 8497 6888 "s/'/'\\\\''/g; … … 8515 6906 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8516 6907 if test -w "$cache_file"; then 8517 test "x$cache_file" != "x/dev/null" && 8518 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 8519 echo "$as_me: updating cache $cache_file" >&6;} 8520 cat confcache >$cache_file 6908 if test "x$cache_file" != "x/dev/null"; then 6909 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6910 $as_echo "$as_me: updating cache $cache_file" >&6;} 6911 if test ! -f "$cache_file" || test -h "$cache_file"; then 6912 cat confcache >"$cache_file" 6913 else 6914 case $cache_file in #( 6915 */* | ?:*) 6916 mv -f confcache "$cache_file"$$ && 6917 mv -f "$cache_file"$$ "$cache_file" ;; #( 6918 *) 6919 mv -f confcache "$cache_file" ;; 6920 esac 6921 fi 6922 fi 8521 6923 else 8522 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&58523 echo "$as_me: not updating unwritable cache $cache_file" >&6;}6924 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6925 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8524 6926 fi 8525 6927 fi … … 8534 6936 ac_libobjs= 8535 6937 ac_ltlibobjs= 6938 U= 8536 6939 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8537 6940 # 1. Remove the extension, and $U if already installed. 8538 6941 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8539 ac_i=` echo "$ac_i" | sed "$ac_script"`6942 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 8540 6943 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8541 6944 # will be set to the directory where LIBOBJS objects are built. 8542 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"8543 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'6945 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6946 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 8544 6947 done 8545 6948 LIBOBJS=$ac_libobjs … … 8549 6952 8550 6953 8551 : ${CONFIG_STATUS=./config.status} 6954 6955 : "${CONFIG_STATUS=./config.status}" 6956 ac_write_fail=0 8552 6957 ac_clean_files_save=$ac_clean_files 8553 6958 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8554 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8555 echo "$as_me: creating $CONFIG_STATUS" >&6;} 8556 cat >$CONFIG_STATUS <<_ACEOF 6959 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6960 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6961 as_write_fail=0 6962 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8557 6963 #! $SHELL 8558 6964 # Generated by $as_me. … … 8564 6970 ac_cs_recheck=false 8565 6971 ac_cs_silent=false 6972 8566 6973 SHELL=\${CONFIG_SHELL-$SHELL} 8567 _ACEOF 8568 8569 cat >>$CONFIG_STATUS <<\_A CEOF8570 ## -------------------- -##8571 ## M4sh Initialization. 8572 ## -------------------- -##6974 export SHELL 6975 _ASEOF 6976 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6977 ## -------------------- ## 6978 ## M4sh Initialization. ## 6979 ## -------------------- ## 8573 6980 8574 6981 # Be more Bourne compatible 8575 6982 DUALCASE=1; export DUALCASE # for MKS sh 8576 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6983 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 8577 6984 emulate sh 8578 6985 NULLCMD=: 8579 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which6986 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8580 6987 # is contrary to our usage. Disable this feature. 8581 6988 alias -g '${1+"$@"}'='"$@"' 8582 6989 setopt NO_GLOB_SUBST 8583 6990 else 8584 case `(set -o) 2>/dev/null` in 8585 *posix*) set -o posix ;; 6991 case `(set -o) 2>/dev/null` in #( 6992 *posix*) : 6993 set -o posix ;; #( 6994 *) : 6995 ;; 8586 6996 esac 8587 8588 fi 8589 8590 8591 8592 8593 # PATH needs CR 8594 # Avoid depending upon Character Ranges. 8595 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8596 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8597 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8598 as_cr_digits='0123456789' 8599 as_cr_alnum=$as_cr_Letters$as_cr_digits 6997 fi 6998 6999 7000 as_nl=' 7001 ' 7002 export as_nl 7003 # Printing a long string crashes Solaris 7 /usr/bin/printf. 7004 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7005 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 7006 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 7007 # Prefer a ksh shell builtin over an external printf program on Solaris, 7008 # but without wasting forks for bash or zsh. 7009 if test -z "$BASH_VERSION$ZSH_VERSION" \ 7010 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 7011 as_echo='print -r --' 7012 as_echo_n='print -rn --' 7013 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 7014 as_echo='printf %s\n' 7015 as_echo_n='printf %s' 7016 else 7017 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 7018 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 7019 as_echo_n='/usr/ucb/echo -n' 7020 else 7021 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 7022 as_echo_n_body='eval 7023 arg=$1; 7024 case $arg in #( 7025 *"$as_nl"*) 7026 expr "X$arg" : "X\\(.*\\)$as_nl"; 7027 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 7028 esac; 7029 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 7030 ' 7031 export as_echo_n_body 7032 as_echo_n='sh -c $as_echo_n_body as_echo' 7033 fi 7034 export as_echo_body 7035 as_echo='sh -c $as_echo_body as_echo' 7036 fi 8600 7037 8601 7038 # The user is always right. 8602 7039 if test "${PATH_SEPARATOR+set}" != set; then 8603 echo "#! /bin/sh" >conf$$.sh 8604 echo "exit 0" >>conf$$.sh 8605 chmod +x conf$$.sh 8606 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8607 PATH_SEPARATOR=';' 8608 else 8609 PATH_SEPARATOR=: 8610 fi 8611 rm -f conf$$.sh 8612 fi 8613 8614 # Support unset when possible. 8615 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8616 as_unset=unset 8617 else 8618 as_unset=false 7040 PATH_SEPARATOR=: 7041 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7042 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7043 PATH_SEPARATOR=';' 7044 } 8619 7045 fi 8620 7046 … … 8625 7051 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 8626 7052 # splitting by setting IFS to empty value.) 8627 as_nl='8628 '8629 7053 IFS=" "" $as_nl" 8630 7054 8631 7055 # Find who we are. Look in the path if we contain no directory separator. 8632 case $0 in 7056 as_myself= 7057 case $0 in #(( 8633 7058 *[\\/]* ) as_myself=$0 ;; 8634 7059 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 8637 7062 IFS=$as_save_IFS 8638 7063 test -z "$as_dir" && as_dir=. 8639 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break8640 done7064 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7065 done 8641 7066 IFS=$as_save_IFS 8642 7067 … … 8649 7074 fi 8650 7075 if test ! -f "$as_myself"; then 8651 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8652 { (exit 1); exit 1; } 8653 fi 8654 8655 # Work around bugs in pre-3.0 UWIN ksh. 8656 for as_var in ENV MAIL MAILPATH 8657 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7076 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7077 exit 1 7078 fi 7079 7080 # Unset variables that we do not need and which cause bugs (e.g. in 7081 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 7082 # suppresses any "Segmentation fault" message there. '((' could 7083 # trigger a bug in pdksh 5.2.14. 7084 for as_var in BASH_ENV ENV MAIL MAILPATH 7085 do eval test x\${$as_var+set} = xset \ 7086 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8658 7087 done 8659 7088 PS1='$ ' … … 8662 7091 8663 7092 # NLS nuisances. 8664 for as_var in \ 8665 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8666 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8667 LC_TELEPHONE LC_TIME 8668 do 8669 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8670 eval $as_var=C; export $as_var 8671 else 8672 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7093 LC_ALL=C 7094 export LC_ALL 7095 LANGUAGE=C 7096 export LANGUAGE 7097 7098 # CDPATH. 7099 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7100 7101 7102 # as_fn_error STATUS ERROR [LINENO LOG_FD] 7103 # ---------------------------------------- 7104 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7105 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7106 # script with STATUS, using 1 if that was 0. 7107 as_fn_error () 7108 { 7109 as_status=$1; test $as_status -eq 0 && as_status=1 7110 if test "$4"; then 7111 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7112 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8673 7113 fi 8674 done 8675 8676 # Required to use basename. 7114 $as_echo "$as_me: error: $2" >&2 7115 as_fn_exit $as_status 7116 } # as_fn_error 7117 7118 7119 # as_fn_set_status STATUS 7120 # ----------------------- 7121 # Set $? to STATUS, without forking. 7122 as_fn_set_status () 7123 { 7124 return $1 7125 } # as_fn_set_status 7126 7127 # as_fn_exit STATUS 7128 # ----------------- 7129 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7130 as_fn_exit () 7131 { 7132 set +e 7133 as_fn_set_status $1 7134 exit $1 7135 } # as_fn_exit 7136 7137 # as_fn_unset VAR 7138 # --------------- 7139 # Portably unset VAR. 7140 as_fn_unset () 7141 { 7142 { eval $1=; unset $1;} 7143 } 7144 as_unset=as_fn_unset 7145 # as_fn_append VAR VALUE 7146 # ---------------------- 7147 # Append the text in VALUE to the end of the definition contained in VAR. Take 7148 # advantage of any shell optimizations that allow amortized linear growth over 7149 # repeated appends, instead of the typical quadratic growth present in naive 7150 # implementations. 7151 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7152 eval 'as_fn_append () 7153 { 7154 eval $1+=\$2 7155 }' 7156 else 7157 as_fn_append () 7158 { 7159 eval $1=\$$1\$2 7160 } 7161 fi # as_fn_append 7162 7163 # as_fn_arith ARG... 7164 # ------------------ 7165 # Perform arithmetic evaluation on the ARGs, and store the result in the 7166 # global $as_val. Take advantage of shells that can avoid forks. The arguments 7167 # must be portable across $(()) and expr. 7168 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7169 eval 'as_fn_arith () 7170 { 7171 as_val=$(( $* )) 7172 }' 7173 else 7174 as_fn_arith () 7175 { 7176 as_val=`expr "$@" || test $? -eq 1` 7177 } 7178 fi # as_fn_arith 7179 7180 8677 7181 if expr a : '\(a\)' >/dev/null 2>&1 && 8678 7182 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 8688 7192 fi 8689 7193 8690 8691 # Name of the executable. 7194 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7195 as_dirname=dirname 7196 else 7197 as_dirname=false 7198 fi 7199 8692 7200 as_me=`$as_basename -- "$0" || 8693 7201 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8694 7202 X"$0" : 'X\(//\)$' \| \ 8695 7203 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8696 echo X/"$0" |7204 $as_echo X/"$0" | 8697 7205 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8698 7206 s//\1/ … … 8709 7217 s/.*/./; q'` 8710 7218 8711 # CDPATH. 8712 $as_unset CDPATH 8713 8714 8715 8716 as_lineno_1=$LINENO 8717 as_lineno_2=$LINENO 8718 test "x$as_lineno_1" != "x$as_lineno_2" && 8719 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8720 8721 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8722 # uniformly replaced by the line number. The first 'sed' inserts a 8723 # line-number line after each line using $LINENO; the second 'sed' 8724 # does the real work. The second script uses 'N' to pair each 8725 # line-number line with the line containing $LINENO, and appends 8726 # trailing '-' during substitution so that $LINENO is not a special 8727 # case at line end. 8728 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8729 # scripts with optimization help from Paolo Bonzini. Blame Lee 8730 # E. McMahon (1931-1989) for sed's syntax. :-) 8731 sed -n ' 8732 p 8733 /[$]LINENO/= 8734 ' <$as_myself | 8735 sed ' 8736 s/[$]LINENO.*/&-/ 8737 t lineno 8738 b 8739 :lineno 8740 N 8741 :loop 8742 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8743 t loop 8744 s/-\n.*// 8745 ' >$as_me.lineno && 8746 chmod +x "$as_me.lineno" || 8747 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8748 { (exit 1); exit 1; }; } 8749 8750 # Don't try to exec as it changes $[0], causing all sort of problems 8751 # (the dirname of $[0] is not the place where we might find the 8752 # original and so on. Autoconf is especially sensitive to this). 8753 . "./$as_me.lineno" 8754 # Exit status is that of the last command. 8755 exit 8756 } 8757 8758 8759 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8760 as_dirname=dirname 8761 else 8762 as_dirname=false 8763 fi 7219 # Avoid depending upon Character Ranges. 7220 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7221 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7222 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7223 as_cr_digits='0123456789' 7224 as_cr_alnum=$as_cr_Letters$as_cr_digits 8764 7225 8765 7226 ECHO_C= ECHO_N= ECHO_T= 8766 case `echo -n x` in 7227 case `echo -n x` in #((((( 8767 7228 -n*) 8768 case `echo 'x \c'` in7229 case `echo 'xy\c'` in 8769 7230 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8770 *) ECHO_C='\c';; 7231 xy) ECHO_C='\c';; 7232 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7233 ECHO_T=' ';; 8771 7234 esac;; 8772 7235 *) … … 8774 7237 esac 8775 7238 8776 if expr a : '\(a\)' >/dev/null 2>&1 &&8777 test "X`expr 00001 : '.*\(...\)'`" = X001; then8778 as_expr=expr8779 else8780 as_expr=false8781 fi8782 8783 7239 rm -f conf$$ conf$$.exe conf$$.file 8784 7240 if test -d conf$$.dir; then … … 8786 7242 else 8787 7243 rm -f conf$$.dir 8788 mkdir conf$$.dir 8789 fi 8790 echo >conf$$.file 8791 if ln -s conf$$.file conf$$ 2>/dev/null; then 8792 as_ln_s='ln -s' 8793 # ... but there are two gotchas: 8794 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8795 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8796 # In both cases, we have to default to `cp -p'. 8797 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8798 as_ln_s='cp -p' 8799 elif ln conf$$.file conf$$ 2>/dev/null; then 8800 as_ln_s=ln 8801 else 8802 as_ln_s='cp -p' 7244 mkdir conf$$.dir 2>/dev/null 7245 fi 7246 if (echo >conf$$.file) 2>/dev/null; then 7247 if ln -s conf$$.file conf$$ 2>/dev/null; then 7248 as_ln_s='ln -s' 7249 # ... but there are two gotchas: 7250 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7251 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7252 # In both cases, we have to default to `cp -pR'. 7253 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7254 as_ln_s='cp -pR' 7255 elif ln conf$$.file conf$$ 2>/dev/null; then 7256 as_ln_s=ln 7257 else 7258 as_ln_s='cp -pR' 7259 fi 7260 else 7261 as_ln_s='cp -pR' 8803 7262 fi 8804 7263 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8805 7264 rmdir conf$$.dir 2>/dev/null 8806 7265 8807 if mkdir -p . 2>/dev/null; then 8808 as_mkdir_p=: 8809 else 8810 test -d ./-p && rmdir ./-p 8811 as_mkdir_p=false 8812 fi 8813 8814 if test -x / >/dev/null 2>&1; then 8815 as_test_x='test -x' 8816 else 8817 if ls -dL / >/dev/null 2>&1; then 8818 as_ls_L_option=L 8819 else 8820 as_ls_L_option= 8821 fi 8822 as_test_x=' 8823 eval sh -c '\'' 8824 if test -d "$1"; then 8825 test -d "$1/."; 8826 else 8827 case $1 in 8828 -*)set "./$1";; 8829 esac; 8830 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 8831 ???[sx]*):;;*)false;;esac;fi 8832 '\'' sh 8833 ' 8834 fi 8835 as_executable_p=$as_test_x 8836 8837 # Sed expression to map a string onto a valid CPP name. 8838 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8839 8840 # Sed expression to map a string onto a valid variable name. 8841 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8842 8843 8844 exec 6>&1 8845 8846 # Save the log message, to keep $[0] and so on meaningful, and to 8847 # report actual input values of CONFIG_FILES etc. instead of their 8848 # values after options handling. 8849 ac_log=" 8850 This file was extended by $as_me, which was 8851 generated by GNU Autoconf 2.61. Invocation command line was 8852 8853 CONFIG_FILES = $CONFIG_FILES 8854 CONFIG_HEADERS = $CONFIG_HEADERS 8855 CONFIG_LINKS = $CONFIG_LINKS 8856 CONFIG_COMMANDS = $CONFIG_COMMANDS 8857 $ $0 $@ 8858 8859 on `(hostname || uname -n) 2>/dev/null | sed 1q` 8860 " 8861 8862 _ACEOF 8863 8864 cat >>$CONFIG_STATUS <<_ACEOF 8865 # Files that config.status was made for. 8866 config_files="$ac_config_files" 8867 config_headers="$ac_config_headers" 8868 8869 _ACEOF 8870 8871 cat >>$CONFIG_STATUS <<\_ACEOF 8872 ac_cs_usage="\ 8873 \`$as_me' instantiates files from templates according to the 8874 current configuration. 8875 8876 Usage: $0 [OPTIONS] [FILE]... 8877 8878 -h, --help print this help, then exit 8879 -V, --version print version number and configuration settings, then exit 8880 -q, --quiet do not print progress messages 8881 -d, --debug don't remove temporary files 8882 --recheck update $as_me by reconfiguring in the same conditions 8883 --file=FILE[:TEMPLATE] 8884 instantiate the configuration file FILE 8885 --header=FILE[:TEMPLATE] 8886 instantiate the configuration header FILE 8887 8888 Configuration files: 8889 $config_files 8890 8891 Configuration headers: 8892 $config_headers 8893 8894 Report bugs to <[email protected]>." 8895 8896 _ACEOF 8897 cat >>$CONFIG_STATUS <<_ACEOF 8898 ac_cs_version="\\ 8899 config.status 8900 configured by $0, generated by GNU Autoconf 2.61, 8901 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 8902 8903 Copyright (C) 2006 Free Software Foundation, Inc. 8904 This config.status script is free software; the Free Software Foundation 8905 gives unlimited permission to copy, distribute and modify it." 8906 8907 ac_pwd='$ac_pwd' 8908 srcdir='$srcdir' 8909 INSTALL='$INSTALL' 8910 _ACEOF 8911 8912 cat >>$CONFIG_STATUS <<\_ACEOF 8913 # If no file are specified by the user, then we need to provide default 8914 # value. By we need to know if files were specified by the user. 8915 ac_need_defaults=: 8916 while test $# != 0 8917 do 8918 case $1 in 8919 --*=*) 8920 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8921 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8922 ac_shift=: 8923 ;; 8924 *) 8925 ac_option=$1 8926 ac_optarg=$2 8927 ac_shift=shift 8928 ;; 8929 esac 8930 8931 case $ac_option in 8932 # Handling of the options. 8933 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8934 ac_cs_recheck=: ;; 8935 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8936 echo "$ac_cs_version"; exit ;; 8937 --debug | --debu | --deb | --de | --d | -d ) 8938 debug=: ;; 8939 --file | --fil | --fi | --f ) 8940 $ac_shift 8941 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8942 ac_need_defaults=false;; 8943 --header | --heade | --head | --hea ) 8944 $ac_shift 8945 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8946 ac_need_defaults=false;; 8947 --he | --h) 8948 # Conflict between --help and --header 8949 { echo "$as_me: error: ambiguous option: $1 8950 Try \`$0 --help' for more information." >&2 8951 { (exit 1); exit 1; }; };; 8952 --help | --hel | -h ) 8953 echo "$ac_cs_usage"; exit ;; 8954 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8955 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8956 ac_cs_silent=: ;; 8957 8958 # This is an error. 8959 -*) { echo "$as_me: error: unrecognized option: $1 8960 Try \`$0 --help' for more information." >&2 8961 { (exit 1); exit 1; }; } ;; 8962 8963 *) ac_config_targets="$ac_config_targets $1" 8964 ac_need_defaults=false ;; 8965 8966 esac 8967 shift 8968 done 8969 8970 ac_configure_extra_args= 8971 8972 if $ac_cs_silent; then 8973 exec 6>/dev/null 8974 ac_configure_extra_args="$ac_configure_extra_args --silent" 8975 fi 8976 8977 _ACEOF 8978 cat >>$CONFIG_STATUS <<_ACEOF 8979 if \$ac_cs_recheck; then 8980 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8981 CONFIG_SHELL=$SHELL 8982 export CONFIG_SHELL 8983 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8984 fi 8985 8986 _ACEOF 8987 cat >>$CONFIG_STATUS <<\_ACEOF 8988 exec 5>>config.log 7266 7267 # as_fn_mkdir_p 7268 # ------------- 7269 # Create "$as_dir" as a directory, including parents if necessary. 7270 as_fn_mkdir_p () 8989 7271 { 8990 echo 8991 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8992 ## Running $as_me. ## 8993 _ASBOX 8994 echo "$ac_log" 8995 } >&5 8996 8997 _ACEOF 8998 cat >>$CONFIG_STATUS <<_ACEOF 8999 _ACEOF 9000 9001 cat >>$CONFIG_STATUS <<\_ACEOF 9002 9003 # Handling of arguments. 9004 for ac_config_target in $ac_config_targets 9005 do 9006 case $ac_config_target in 9007 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9008 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 9009 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9010 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9011 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9012 9013 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9014 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 9015 { (exit 1); exit 1; }; };; 9016 esac 9017 done 9018 9019 9020 # If the user did not use the arguments to specify the items to instantiate, 9021 # then the envvar interface is used. Set only those that are not. 9022 # We use the long form for the default assignment because of an extremely 9023 # bizarre bug on SunOS 4.1.3. 9024 if $ac_need_defaults; then 9025 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 9026 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 9027 fi 9028 9029 # Have a temporary directory for convenience. Make it in the build tree 9030 # simply because there is no reason against having it here, and in addition, 9031 # creating and moving files from /tmp can sometimes cause problems. 9032 # Hook for its removal unless debugging. 9033 # Note that there is a small window in which the directory will not be cleaned: 9034 # after its creation but before its name has been assigned to `$tmp'. 9035 $debug || 9036 { 9037 tmp= 9038 trap 'exit_status=$? 9039 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9040 ' 0 9041 trap '{ (exit 1); exit 1; }' 1 2 13 15 9042 } 9043 # Create a (secure) tmp directory for tmp files. 9044 9045 { 9046 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9047 test -n "$tmp" && test -d "$tmp" 9048 } || 9049 { 9050 tmp=./conf$$-$RANDOM 9051 (umask 077 && mkdir "$tmp") 9052 } || 9053 { 9054 echo "$me: cannot create a temporary directory in ." >&2 9055 { (exit 1); exit 1; } 9056 } 9057 9058 # 9059 # Set up the sed scripts for CONFIG_FILES section. 9060 # 9061 9062 # No need to generate the scripts if there are no CONFIG_FILES. 9063 # This happens for instance when ./config.status config.h 9064 if test -n "$CONFIG_FILES"; then 9065 9066 _ACEOF 9067 9068 9069 9070 ac_delim='%!_!# ' 9071 for ac_last_try in false false false false false :; do 9072 cat >conf$$subs.sed <<_ACEOF 9073 SHELL!$SHELL$ac_delim 9074 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 9075 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 9076 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 9077 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 9078 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 9079 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 9080 exec_prefix!$exec_prefix$ac_delim 9081 prefix!$prefix$ac_delim 9082 program_transform_name!$program_transform_name$ac_delim 9083 bindir!$bindir$ac_delim 9084 sbindir!$sbindir$ac_delim 9085 libexecdir!$libexecdir$ac_delim 9086 datarootdir!$datarootdir$ac_delim 9087 datadir!$datadir$ac_delim 9088 sysconfdir!$sysconfdir$ac_delim 9089 sharedstatedir!$sharedstatedir$ac_delim 9090 localstatedir!$localstatedir$ac_delim 9091 includedir!$includedir$ac_delim 9092 oldincludedir!$oldincludedir$ac_delim 9093 docdir!$docdir$ac_delim 9094 infodir!$infodir$ac_delim 9095 htmldir!$htmldir$ac_delim 9096 dvidir!$dvidir$ac_delim 9097 pdfdir!$pdfdir$ac_delim 9098 psdir!$psdir$ac_delim 9099 libdir!$libdir$ac_delim 9100 localedir!$localedir$ac_delim 9101 mandir!$mandir$ac_delim 9102 DEFS!$DEFS$ac_delim 9103 ECHO_C!$ECHO_C$ac_delim 9104 ECHO_N!$ECHO_N$ac_delim 9105 ECHO_T!$ECHO_T$ac_delim 9106 LIBS!$LIBS$ac_delim 9107 build_alias!$build_alias$ac_delim 9108 host_alias!$host_alias$ac_delim 9109 target_alias!$target_alias$ac_delim 9110 PACKAGE!$PACKAGE$ac_delim 9111 VERSION!$VERSION$ac_delim 9112 USE_FASTCGI!$USE_FASTCGI$ac_delim 9113 USE_LANGACTION!$USE_LANGACTION$ac_delim 9114 USE_CORBA!$USE_CORBA$ac_delim 9115 MICO_DIR!$MICO_DIR$ac_delim 9116 USE_Z3950!$USE_Z3950$ac_delim 9117 USE_YAZ!$USE_YAZ$ac_delim 9118 ENABLE_JAVA!$ENABLE_JAVA$ac_delim 9119 USE_WVWARE!$USE_WVWARE$ac_delim 9120 USE_JDBM!$USE_JDBM$ac_delim 9121 USE_GDBM!$USE_GDBM$ac_delim 9122 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim 9123 USE_SQLITE!$USE_SQLITE$ac_delim 9124 ENABLE_GNOMELIB_EXT!$ENABLE_GNOMELIB_EXT$ac_delim 9125 LDFLAGS!$LDFLAGS$ac_delim 9126 CFLAGS!$CFLAGS$ac_delim 9127 CC!$CC$ac_delim 9128 CPPFLAGS!$CPPFLAGS$ac_delim 9129 ac_ct_CC!$ac_ct_CC$ac_delim 9130 EXEEXT!$EXEEXT$ac_delim 9131 OBJEXT!$OBJEXT$ac_delim 9132 CXX!$CXX$ac_delim 9133 CXXFLAGS!$CXXFLAGS$ac_delim 9134 ac_ct_CXX!$ac_ct_CXX$ac_delim 9135 JAVAC!$JAVAC$ac_delim 9136 JAVACFLAGS!$JAVACFLAGS$ac_delim 9137 JAVA!$JAVA$ac_delim 9138 uudecode!$uudecode$ac_delim 9139 AWK!$AWK$ac_delim 9140 YACC!$YACC$ac_delim 9141 YFLAGS!$YFLAGS$ac_delim 9142 build!$build$ac_delim 9143 build_cpu!$build_cpu$ac_delim 9144 build_vendor!$build_vendor$ac_delim 9145 build_os!$build_os$ac_delim 9146 host!$host$ac_delim 9147 host_cpu!$host_cpu$ac_delim 9148 host_vendor!$host_vendor$ac_delim 9149 host_os!$host_os$ac_delim 9150 target!$target$ac_delim 9151 target_cpu!$target_cpu$ac_delim 9152 target_vendor!$target_vendor$ac_delim 9153 target_os!$target_os$ac_delim 9154 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 9155 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 9156 INSTALL_DATA!$INSTALL_DATA$ac_delim 9157 LN_S!$LN_S$ac_delim 9158 SET_MAKE!$SET_MAKE$ac_delim 9159 RANLIB!$RANLIB$ac_delim 9160 STRIP!$STRIP$ac_delim 9161 ARCH_DEP_FLAGS!$ARCH_DEP_FLAGS$ac_delim 9162 MICO_VER!$MICO_VER$ac_delim 9163 CPP!$CPP$ac_delim 9164 GREP!$GREP$ac_delim 9165 EGREP!$EGREP$ac_delim 9166 U!$U$ac_delim 9167 ANSI2KNR!$ANSI2KNR$ac_delim 9168 ALLOCA!$ALLOCA$ac_delim 9169 LIBOBJS!$LIBOBJS$ac_delim 9170 _ACEOF 9171 9172 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 9173 break 9174 elif $ac_last_try; then 9175 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9176 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9177 { (exit 1); exit 1; }; } 9178 else 9179 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9180 fi 9181 done 9182 9183 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 9184 if test -n "$ac_eof"; then 9185 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 9186 ac_eof=`expr $ac_eof + 1` 9187 fi 9188 9189 cat >>$CONFIG_STATUS <<_ACEOF 9190 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 9191 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9192 _ACEOF 9193 sed ' 9194 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 9195 s/^/s,@/; s/!/@,|#_!!_#|/ 9196 :n 9197 t n 9198 s/'"$ac_delim"'$/,g/; t 9199 s/$/\\/; p 9200 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 9201 ' >>$CONFIG_STATUS <conf$$subs.sed 9202 rm -f conf$$subs.sed 9203 cat >>$CONFIG_STATUS <<_ACEOF 9204 CEOF$ac_eof 9205 _ACEOF 9206 9207 9208 ac_delim='%!_!# ' 9209 for ac_last_try in false false false false false :; do 9210 cat >conf$$subs.sed <<_ACEOF 9211 STATIC!$STATIC$ac_delim 9212 gsdlos!$gsdlos$ac_delim 9213 MODULEDIRS!$MODULEDIRS$ac_delim 9214 subdirs!$subdirs$ac_delim 9215 LTLIBOBJS!$LTLIBOBJS$ac_delim 9216 _ACEOF 9217 9218 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then 9219 break 9220 elif $ac_last_try; then 9221 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9222 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9223 { (exit 1); exit 1; }; } 9224 else 9225 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9226 fi 9227 done 9228 9229 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 9230 if test -n "$ac_eof"; then 9231 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 9232 ac_eof=`expr $ac_eof + 1` 9233 fi 9234 9235 cat >>$CONFIG_STATUS <<_ACEOF 9236 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 9237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 9238 _ACEOF 9239 sed ' 9240 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 9241 s/^/s,@/; s/!/@,|#_!!_#|/ 9242 :n 9243 t n 9244 s/'"$ac_delim"'$/,g/; t 9245 s/$/\\/; p 9246 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 9247 ' >>$CONFIG_STATUS <conf$$subs.sed 9248 rm -f conf$$subs.sed 9249 cat >>$CONFIG_STATUS <<_ACEOF 9250 :end 9251 s/|#_!!_#|//g 9252 CEOF$ac_eof 9253 _ACEOF 9254 9255 9256 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9257 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9258 # trailing colons and then remove the whole line if VPATH becomes empty 9259 # (actually we leave an empty line to preserve line numbers). 9260 if test "x$srcdir" = x.; then 9261 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9262 s/:*\$(srcdir):*/:/ 9263 s/:*\${srcdir}:*/:/ 9264 s/:*@srcdir@:*/:/ 9265 s/^\([^=]*=[ ]*\):*/\1/ 9266 s/:*$// 9267 s/^[^=]*=[ ]*$// 9268 }' 9269 fi 9270 9271 cat >>$CONFIG_STATUS <<\_ACEOF 9272 fi # test -n "$CONFIG_FILES" 9273 9274 9275 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 9276 do 9277 case $ac_tag in 9278 :[FHLC]) ac_mode=$ac_tag; continue;; 9279 esac 9280 case $ac_mode$ac_tag in 9281 :[FHL]*:*);; 9282 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 9283 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 9284 { (exit 1); exit 1; }; };; 9285 :[FH]-) ac_tag=-:-;; 9286 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9287 esac 9288 ac_save_IFS=$IFS 9289 IFS=: 9290 set x $ac_tag 9291 IFS=$ac_save_IFS 9292 shift 9293 ac_file=$1 9294 shift 9295 9296 case $ac_mode in 9297 :L) ac_source=$1;; 9298 :[FH]) 9299 ac_file_inputs= 9300 for ac_f 9301 do 9302 case $ac_f in 9303 -) ac_f="$tmp/stdin";; 9304 *) # Look for the file first in the build tree, then in the source tree 9305 # (if the path is not absolute). The absolute path cannot be DOS-style, 9306 # because $ac_f cannot contain `:'. 9307 test -f "$ac_f" || 9308 case $ac_f in 9309 [\\/$]*) false;; 9310 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9311 esac || 9312 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9313 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9314 { (exit 1); exit 1; }; };; 9315 esac 9316 ac_file_inputs="$ac_file_inputs $ac_f" 9317 done 9318 9319 # Let's still pretend it is `configure' which instantiates (i.e., don't 9320 # use $as_me), people would be surprised to read: 9321 # /* config.h. Generated by config.status. */ 9322 configure_input="Generated from "`IFS=: 9323 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 9324 if test x"$ac_file" != x-; then 9325 configure_input="$ac_file. $configure_input" 9326 { echo "$as_me:$LINENO: creating $ac_file" >&5 9327 echo "$as_me: creating $ac_file" >&6;} 9328 fi 9329 9330 case $ac_tag in 9331 *:-:* | *:-) cat >"$tmp/stdin";; 9332 esac 9333 ;; 9334 esac 9335 9336 ac_dir=`$as_dirname -- "$ac_file" || 9337 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9338 X"$ac_file" : 'X\(//\)[^/]' \| \ 9339 X"$ac_file" : 'X\(//\)$' \| \ 9340 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9341 echo X"$ac_file" | 9342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9343 s//\1/ 9344 q 9345 } 9346 /^X\(\/\/\)[^/].*/{ 9347 s//\1/ 9348 q 9349 } 9350 /^X\(\/\/\)$/{ 9351 s//\1/ 9352 q 9353 } 9354 /^X\(\/\).*/{ 9355 s//\1/ 9356 q 9357 } 9358 s/.*/./; q'` 9359 { as_dir="$ac_dir" 7272 9360 7273 case $as_dir in #( 9361 7274 -*) as_dir=./$as_dir;; 9362 7275 esac 9363 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {7276 test -d "$as_dir" || eval $as_mkdir_p || { 9364 7277 as_dirs= 9365 7278 while :; do 9366 7279 case $as_dir in #( 9367 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(7280 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9368 7281 *) as_qdir=$as_dir;; 9369 7282 esac … … 9374 7287 X"$as_dir" : 'X\(//\)$' \| \ 9375 7288 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9376 echo X"$as_dir" |7289 $as_echo X"$as_dir" | 9377 7290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9378 7291 s//\1/ … … 9395 7308 done 9396 7309 test -z "$as_dirs" || eval "mkdir $as_dirs" 9397 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9398 echo "$as_me: error: cannot create directory $as_dir" >&2;} 9399 { (exit 1); exit 1; }; }; } 7310 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7311 7312 7313 } # as_fn_mkdir_p 7314 if mkdir -p . 2>/dev/null; then 7315 as_mkdir_p='mkdir -p "$as_dir"' 7316 else 7317 test -d ./-p && rmdir ./-p 7318 as_mkdir_p=false 7319 fi 7320 7321 7322 # as_fn_executable_p FILE 7323 # ----------------------- 7324 # Test if FILE is an executable regular file. 7325 as_fn_executable_p () 7326 { 7327 test -f "$1" && test -x "$1" 7328 } # as_fn_executable_p 7329 as_test_x='test -x' 7330 as_executable_p=as_fn_executable_p 7331 7332 # Sed expression to map a string onto a valid CPP name. 7333 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7334 7335 # Sed expression to map a string onto a valid variable name. 7336 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7337 7338 7339 exec 6>&1 7340 ## ----------------------------------- ## 7341 ## Main body of $CONFIG_STATUS script. ## 7342 ## ----------------------------------- ## 7343 _ASEOF 7344 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7345 7346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7347 # Save the log message, to keep $0 and so on meaningful, and to 7348 # report actual input values of CONFIG_FILES etc. instead of their 7349 # values after options handling. 7350 ac_log=" 7351 This file was extended by $as_me, which was 7352 generated by GNU Autoconf 2.69. Invocation command line was 7353 7354 CONFIG_FILES = $CONFIG_FILES 7355 CONFIG_HEADERS = $CONFIG_HEADERS 7356 CONFIG_LINKS = $CONFIG_LINKS 7357 CONFIG_COMMANDS = $CONFIG_COMMANDS 7358 $ $0 $@ 7359 7360 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7361 " 7362 7363 _ACEOF 7364 7365 case $ac_config_files in *" 7366 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7367 esac 7368 7369 case $ac_config_headers in *" 7370 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7371 esac 7372 7373 7374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7375 # Files that config.status was made for. 7376 config_files="$ac_config_files" 7377 config_headers="$ac_config_headers" 7378 7379 _ACEOF 7380 7381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7382 ac_cs_usage="\ 7383 \`$as_me' instantiates files and other configuration actions 7384 from templates according to the current configuration. Unless the files 7385 and actions are specified as TAGs, all are instantiated by default. 7386 7387 Usage: $0 [OPTION]... [TAG]... 7388 7389 -h, --help print this help, then exit 7390 -V, --version print version number and configuration settings, then exit 7391 --config print configuration, then exit 7392 -q, --quiet, --silent 7393 do not print progress messages 7394 -d, --debug don't remove temporary files 7395 --recheck update $as_me by reconfiguring in the same conditions 7396 --file=FILE[:TEMPLATE] 7397 instantiate the configuration file FILE 7398 --header=FILE[:TEMPLATE] 7399 instantiate the configuration header FILE 7400 7401 Configuration files: 7402 $config_files 7403 7404 Configuration headers: 7405 $config_headers 7406 7407 Report bugs to the package provider." 7408 7409 _ACEOF 7410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7411 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7412 ac_cs_version="\\ 7413 config.status 7414 configured by $0, generated by GNU Autoconf 2.69, 7415 with options \\"\$ac_cs_config\\" 7416 7417 Copyright (C) 2012 Free Software Foundation, Inc. 7418 This config.status script is free software; the Free Software Foundation 7419 gives unlimited permission to copy, distribute and modify it." 7420 7421 ac_pwd='$ac_pwd' 7422 srcdir='$srcdir' 7423 INSTALL='$INSTALL' 7424 AWK='$AWK' 7425 test -n "\$AWK" || AWK=awk 7426 _ACEOF 7427 7428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7429 # The default lists apply if the user does not specify any file. 7430 ac_need_defaults=: 7431 while test $# != 0 7432 do 7433 case $1 in 7434 --*=?*) 7435 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7436 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7437 ac_shift=: 7438 ;; 7439 --*=) 7440 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7441 ac_optarg= 7442 ac_shift=: 7443 ;; 7444 *) 7445 ac_option=$1 7446 ac_optarg=$2 7447 ac_shift=shift 7448 ;; 7449 esac 7450 7451 case $ac_option in 7452 # Handling of the options. 7453 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7454 ac_cs_recheck=: ;; 7455 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7456 $as_echo "$ac_cs_version"; exit ;; 7457 --config | --confi | --conf | --con | --co | --c ) 7458 $as_echo "$ac_cs_config"; exit ;; 7459 --debug | --debu | --deb | --de | --d | -d ) 7460 debug=: ;; 7461 --file | --fil | --fi | --f ) 7462 $ac_shift 7463 case $ac_optarg in 7464 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7465 '') as_fn_error $? "missing file argument" ;; 7466 esac 7467 as_fn_append CONFIG_FILES " '$ac_optarg'" 7468 ac_need_defaults=false;; 7469 --header | --heade | --head | --hea ) 7470 $ac_shift 7471 case $ac_optarg in 7472 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7473 esac 7474 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7475 ac_need_defaults=false;; 7476 --he | --h) 7477 # Conflict between --help and --header 7478 as_fn_error $? "ambiguous option: \`$1' 7479 Try \`$0 --help' for more information.";; 7480 --help | --hel | -h ) 7481 $as_echo "$ac_cs_usage"; exit ;; 7482 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7483 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7484 ac_cs_silent=: ;; 7485 7486 # This is an error. 7487 -*) as_fn_error $? "unrecognized option: \`$1' 7488 Try \`$0 --help' for more information." ;; 7489 7490 *) as_fn_append ac_config_targets " $1" 7491 ac_need_defaults=false ;; 7492 7493 esac 7494 shift 7495 done 7496 7497 ac_configure_extra_args= 7498 7499 if $ac_cs_silent; then 7500 exec 6>/dev/null 7501 ac_configure_extra_args="$ac_configure_extra_args --silent" 7502 fi 7503 7504 _ACEOF 7505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7506 if \$ac_cs_recheck; then 7507 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7508 shift 7509 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7510 CONFIG_SHELL='$SHELL' 7511 export CONFIG_SHELL 7512 exec "\$@" 7513 fi 7514 7515 _ACEOF 7516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7517 exec 5>>config.log 7518 { 7519 echo 7520 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7521 ## Running $as_me. ## 7522 _ASBOX 7523 $as_echo "$ac_log" 7524 } >&5 7525 7526 _ACEOF 7527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7528 _ACEOF 7529 7530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7531 7532 # Handling of arguments. 7533 for ac_config_target in $ac_config_targets 7534 do 7535 case $ac_config_target in 7536 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7537 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 7538 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7539 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 7540 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 7541 7542 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7543 esac 7544 done 7545 7546 7547 # If the user did not use the arguments to specify the items to instantiate, 7548 # then the envvar interface is used. Set only those that are not. 7549 # We use the long form for the default assignment because of an extremely 7550 # bizarre bug on SunOS 4.1.3. 7551 if $ac_need_defaults; then 7552 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7553 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7554 fi 7555 7556 # Have a temporary directory for convenience. Make it in the build tree 7557 # simply because there is no reason against having it here, and in addition, 7558 # creating and moving files from /tmp can sometimes cause problems. 7559 # Hook for its removal unless debugging. 7560 # Note that there is a small window in which the directory will not be cleaned: 7561 # after its creation but before its name has been assigned to `$tmp'. 7562 $debug || 7563 { 7564 tmp= ac_tmp= 7565 trap 'exit_status=$? 7566 : "${ac_tmp:=$tmp}" 7567 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7568 ' 0 7569 trap 'as_fn_exit 1' 1 2 13 15 7570 } 7571 # Create a (secure) tmp directory for tmp files. 7572 7573 { 7574 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7575 test -d "$tmp" 7576 } || 7577 { 7578 tmp=./conf$$-$RANDOM 7579 (umask 077 && mkdir "$tmp") 7580 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7581 ac_tmp=$tmp 7582 7583 # Set up the scripts for CONFIG_FILES section. 7584 # No need to generate them if there are no CONFIG_FILES. 7585 # This happens for instance with `./config.status config.h'. 7586 if test -n "$CONFIG_FILES"; then 7587 7588 7589 ac_cr=`echo X | tr X '\015'` 7590 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7591 # But we know of no other shell where ac_cr would be empty at this 7592 # point, so we can use a bashism as a fallback. 7593 if test "x$ac_cr" = x; then 7594 eval ac_cr=\$\'\\r\' 7595 fi 7596 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7597 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7598 ac_cs_awk_cr='\\r' 7599 else 7600 ac_cs_awk_cr=$ac_cr 7601 fi 7602 7603 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7604 _ACEOF 7605 7606 7607 { 7608 echo "cat >conf$$subs.awk <<_ACEOF" && 7609 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7610 echo "_ACEOF" 7611 } >conf$$subs.sh || 7612 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7613 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7614 ac_delim='%!_!# ' 7615 for ac_last_try in false false false false false :; do 7616 . ./conf$$subs.sh || 7617 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7618 7619 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7620 if test $ac_delim_n = $ac_delim_num; then 7621 break 7622 elif $ac_last_try; then 7623 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7624 else 7625 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7626 fi 7627 done 7628 rm -f conf$$subs.sh 7629 7630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7631 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7632 _ACEOF 7633 sed -n ' 7634 h 7635 s/^/S["/; s/!.*/"]=/ 7636 p 7637 g 7638 s/^[^!]*!// 7639 :repl 7640 t repl 7641 s/'"$ac_delim"'$// 7642 t delim 7643 :nl 7644 h 7645 s/\(.\{148\}\)..*/\1/ 7646 t more1 7647 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7648 p 7649 n 7650 b repl 7651 :more1 7652 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7653 p 7654 g 7655 s/.\{148\}// 7656 t nl 7657 :delim 7658 h 7659 s/\(.\{148\}\)..*/\1/ 7660 t more2 7661 s/["\\]/\\&/g; s/^/"/; s/$/"/ 7662 p 7663 b 7664 :more2 7665 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7666 p 7667 g 7668 s/.\{148\}// 7669 t delim 7670 ' <conf$$subs.awk | sed ' 7671 /^[^""]/{ 7672 N 7673 s/\n// 7674 } 7675 ' >>$CONFIG_STATUS || ac_write_fail=1 7676 rm -f conf$$subs.awk 7677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7678 _ACAWK 7679 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7680 for (key in S) S_is_set[key] = 1 7681 FS = "" 7682 7683 } 7684 { 7685 line = $ 0 7686 nfields = split(line, field, "@") 7687 substed = 0 7688 len = length(field[1]) 7689 for (i = 2; i < nfields; i++) { 7690 key = field[i] 7691 keylen = length(key) 7692 if (S_is_set[key]) { 7693 value = S[key] 7694 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7695 len += length(value) + length(field[++i]) 7696 substed = 1 7697 } else 7698 len += 1 + keylen 7699 } 7700 7701 print line 7702 } 7703 7704 _ACAWK 7705 _ACEOF 7706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7707 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7708 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7709 else 7710 cat 7711 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7712 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7713 _ACEOF 7714 7715 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7716 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7717 # trailing colons and then remove the whole line if VPATH becomes empty 7718 # (actually we leave an empty line to preserve line numbers). 7719 if test "x$srcdir" = x.; then 7720 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7721 h 7722 s/// 7723 s/^/:/ 7724 s/[ ]*$/:/ 7725 s/:\$(srcdir):/:/g 7726 s/:\${srcdir}:/:/g 7727 s/:@srcdir@:/:/g 7728 s/^:*// 7729 s/:*$// 7730 x 7731 s/\(=[ ]*\).*/\1/ 7732 G 7733 s/\n// 7734 s/^[^=]*=[ ]*$// 7735 }' 7736 fi 7737 7738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7739 fi # test -n "$CONFIG_FILES" 7740 7741 # Set up the scripts for CONFIG_HEADERS section. 7742 # No need to generate them if there are no CONFIG_HEADERS. 7743 # This happens for instance with `./config.status Makefile'. 7744 if test -n "$CONFIG_HEADERS"; then 7745 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 7746 BEGIN { 7747 _ACEOF 7748 7749 # Transform confdefs.h into an awk script `defines.awk', embedded as 7750 # here-document in config.status, that substitutes the proper values into 7751 # config.h.in to produce config.h. 7752 7753 # Create a delimiter string that does not exist in confdefs.h, to ease 7754 # handling of long lines. 7755 ac_delim='%!_!# ' 7756 for ac_last_try in false false :; do 7757 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7758 if test -z "$ac_tt"; then 7759 break 7760 elif $ac_last_try; then 7761 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7762 else 7763 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7764 fi 7765 done 7766 7767 # For the awk script, D is an array of macro values keyed by name, 7768 # likewise P contains macro parameters if any. Preserve backslash 7769 # newline sequences. 7770 7771 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7772 sed -n ' 7773 s/.\{148\}/&'"$ac_delim"'/g 7774 t rset 7775 :rset 7776 s/^[ ]*#[ ]*define[ ][ ]*/ / 7777 t def 7778 d 7779 :def 7780 s/\\$// 7781 t bsnl 7782 s/["\\]/\\&/g 7783 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7784 D["\1"]=" \3"/p 7785 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7786 d 7787 :bsnl 7788 s/["\\]/\\&/g 7789 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7790 D["\1"]=" \3\\\\\\n"\\/p 7791 t cont 7792 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7793 t cont 7794 d 7795 :cont 7796 n 7797 s/.\{148\}/&'"$ac_delim"'/g 7798 t clear 7799 :clear 7800 s/\\$// 7801 t bsnlc 7802 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7803 d 7804 :bsnlc 7805 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7806 b cont 7807 ' <confdefs.h | sed ' 7808 s/'"$ac_delim"'/"\\\ 7809 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7810 7811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7812 for (key in D) D_is_set[key] = 1 7813 FS = "" 7814 } 7815 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7816 line = \$ 0 7817 split(line, arg, " ") 7818 if (arg[1] == "#") { 7819 defundef = arg[2] 7820 mac1 = arg[3] 7821 } else { 7822 defundef = substr(arg[1], 2) 7823 mac1 = arg[2] 7824 } 7825 split(mac1, mac2, "(") #) 7826 macro = mac2[1] 7827 prefix = substr(line, 1, index(line, defundef) - 1) 7828 if (D_is_set[macro]) { 7829 # Preserve the white space surrounding the "#". 7830 print prefix "define", macro P[macro] D[macro] 7831 next 7832 } else { 7833 # Replace #undef with comments. This is necessary, for example, 7834 # in the case of _POSIX_SOURCE, which is predefined and required 7835 # on some systems where configure will not decide to define it. 7836 if (defundef == "undef") { 7837 print "/*", prefix defundef, macro, "*/" 7838 next 7839 } 7840 } 7841 } 7842 { print } 7843 _ACAWK 7844 _ACEOF 7845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7846 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7847 fi # test -n "$CONFIG_HEADERS" 7848 7849 7850 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7851 shift 7852 for ac_tag 7853 do 7854 case $ac_tag in 7855 :[FHLC]) ac_mode=$ac_tag; continue;; 7856 esac 7857 case $ac_mode$ac_tag in 7858 :[FHL]*:*);; 7859 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7860 :[FH]-) ac_tag=-:-;; 7861 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7862 esac 7863 ac_save_IFS=$IFS 7864 IFS=: 7865 set x $ac_tag 7866 IFS=$ac_save_IFS 7867 shift 7868 ac_file=$1 7869 shift 7870 7871 case $ac_mode in 7872 :L) ac_source=$1;; 7873 :[FH]) 7874 ac_file_inputs= 7875 for ac_f 7876 do 7877 case $ac_f in 7878 -) ac_f="$ac_tmp/stdin";; 7879 *) # Look for the file first in the build tree, then in the source tree 7880 # (if the path is not absolute). The absolute path cannot be DOS-style, 7881 # because $ac_f cannot contain `:'. 7882 test -f "$ac_f" || 7883 case $ac_f in 7884 [\\/$]*) false;; 7885 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7886 esac || 7887 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7888 esac 7889 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7890 as_fn_append ac_file_inputs " '$ac_f'" 7891 done 7892 7893 # Let's still pretend it is `configure' which instantiates (i.e., don't 7894 # use $as_me), people would be surprised to read: 7895 # /* config.h. Generated by config.status. */ 7896 configure_input='Generated from '` 7897 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7898 `' by configure.' 7899 if test x"$ac_file" != x-; then 7900 configure_input="$ac_file. $configure_input" 7901 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7902 $as_echo "$as_me: creating $ac_file" >&6;} 7903 fi 7904 # Neutralize special characters interpreted by sed in replacement strings. 7905 case $configure_input in #( 7906 *\&* | *\|* | *\\* ) 7907 ac_sed_conf_input=`$as_echo "$configure_input" | 7908 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7909 *) ac_sed_conf_input=$configure_input;; 7910 esac 7911 7912 case $ac_tag in 7913 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7914 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7915 esac 7916 ;; 7917 esac 7918 7919 ac_dir=`$as_dirname -- "$ac_file" || 7920 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7921 X"$ac_file" : 'X\(//\)[^/]' \| \ 7922 X"$ac_file" : 'X\(//\)$' \| \ 7923 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7924 $as_echo X"$ac_file" | 7925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7926 s//\1/ 7927 q 7928 } 7929 /^X\(\/\/\)[^/].*/{ 7930 s//\1/ 7931 q 7932 } 7933 /^X\(\/\/\)$/{ 7934 s//\1/ 7935 q 7936 } 7937 /^X\(\/\).*/{ 7938 s//\1/ 7939 q 7940 } 7941 s/.*/./; q'` 7942 as_dir="$ac_dir"; as_fn_mkdir_p 9400 7943 ac_builddir=. 9401 7944 … … 9403 7946 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9404 7947 *) 9405 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`7948 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9406 7949 # A ".." for each directory in $ac_dir_suffix. 9407 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`7950 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9408 7951 case $ac_top_builddir_sub in 9409 7952 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 9445 7988 _ACEOF 9446 7989 9447 cat >>$CONFIG_STATUS <<\_ACEOF 7990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9448 7991 # If the template does not know about datarootdir, expand it. 9449 7992 # FIXME: This hack should be removed a few years after 2.60. 9450 7993 ac_datarootdir_hack=; ac_datarootdir_seen= 9451 9452 case `sed -n '/datarootdir/ {7994 ac_sed_dataroot=' 7995 /datarootdir/ { 9453 7996 p 9454 7997 q … … 9458 8001 /@infodir@/p 9459 8002 /@localedir@/p 9460 /@mandir@/p 9461 ' $ac_file_inputs` in8003 /@mandir@/p' 8004 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9462 8005 *datarootdir*) ac_datarootdir_seen=yes;; 9463 8006 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9464 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&59465 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}9466 _ACEOF 9467 cat >>$CONFIG_STATUS <<_ACEOF 8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8008 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8009 _ACEOF 8010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9468 8011 ac_datarootdir_hack=' 9469 8012 s&@datadir@&$datadir&g … … 9472 8015 s&@localedir@&$localedir&g 9473 8016 s&@mandir@&$mandir&g 9474 8017 s&\\\${datarootdir}&$datarootdir&g' ;; 9475 8018 esac 9476 8019 _ACEOF … … 9479 8022 # Shell code in configure.ac might set extrasub. 9480 8023 # FIXME: do we really want to maintain this feature? 9481 cat >>$CONFIG_STATUS <<_ACEOF 9482 sed"$ac_vpsub8024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8025 ac_sed_extra="$ac_vpsub 9483 8026 $extrasub 9484 8027 _ACEOF 9485 cat >>$CONFIG_STATUS <<\_ACEOF 8028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9486 8029 :t 9487 8030 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9488 s &@configure_input@&$configure_input&;t t8031 s|@configure_input@|$ac_sed_conf_input|;t t 9489 8032 s&@top_builddir@&$ac_top_builddir_sub&;t t 8033 s&@top_build_prefix@&$ac_top_build_prefix&;t t 9490 8034 s&@srcdir@&$ac_srcdir&;t t 9491 8035 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 9497 8041 s&@INSTALL@&$ac_INSTALL&;t t 9498 8042 $ac_datarootdir_hack 9499 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 8043 " 8044 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 8045 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9500 8046 9501 8047 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9502 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9503 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9504 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9505 which seems to be undefined. Please make sure it is defined." >&5 9506 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9507 which seems to be undefined. Please make sure it is defined." >&2;} 9508 9509 rm -f "$tmp/stdin" 8048 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 8049 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 8050 "$ac_tmp/out"`; test -z "$ac_out"; } && 8051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8052 which seems to be undefined. Please make sure it is defined" >&5 8053 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8054 which seems to be undefined. Please make sure it is defined" >&2;} 8055 8056 rm -f "$ac_tmp/stdin" 9510 8057 case $ac_file in 9511 -) cat "$tmp/out"; rm -f "$tmp/out";; 9512 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 9513 esac 8058 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 8059 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 8060 esac \ 8061 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9514 8062 ;; 9515 8063 :H) … … 9517 8065 # CONFIG_HEADER 9518 8066 # 9519 _ACEOF9520 9521 # Transform confdefs.h into a sed script `conftest.defines', that9522 # substitutes the proper values into config.h.in to produce config.h.9523 rm -f conftest.defines conftest.tail9524 # First, append a space to every undef/define line, to ease matching.9525 echo 's/$/ /' >conftest.defines9526 # Then, protect against being on the right side of a sed subst, or in9527 # an unquoted here document, in config.status. If some macros were9528 # called several times there might be several #defines for the same9529 # symbol, which is useless. But do not sort them, since the last9530 # AC_DEFINE must be honored.9531 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*9532 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where9533 # NAME is the cpp macro being defined, VALUE is the value it is being given.9534 # PARAMS is the parameter list in the macro definition--in most cases, it's9535 # just an empty string.9536 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'9537 ac_dB='\\)[ (].*,\\1define\\2'9538 ac_dC=' '9539 ac_dD=' ,'9540 9541 uniq confdefs.h |9542 sed -n '9543 t rset9544 :rset9545 s/^[ ]*#[ ]*define[ ][ ]*//9546 t ok9547 d9548 :ok9549 s/[\\&,]/\\&/g9550 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p9551 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p9552 ' >>conftest.defines9553 9554 # Remove the space that was appended to ease matching.9555 # Then replace #undef with comments. This is necessary, for9556 # example, in the case of _POSIX_SOURCE, which is predefined and required9557 # on some systems where configure will not decide to define it.9558 # (The regexp can be short, since the line contains either #define or #undef.)9559 echo 's/ $//9560 s,^[ #]*u.*,/* & */,' >>conftest.defines9561 9562 # Break up conftest.defines:9563 ac_max_sed_lines=509564 9565 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"9566 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"9567 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"9568 # et cetera.9569 ac_in='$ac_file_inputs'9570 ac_out='"$tmp/out1"'9571 ac_nxt='"$tmp/out2"'9572 9573 while :9574 do9575 # Write a here document:9576 cat >>$CONFIG_STATUS <<_ACEOF9577 # First, check the format of the line:9578 cat >"\$tmp/defines.sed" <<\\CEOF9579 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def9580 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def9581 b9582 :def9583 _ACEOF9584 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS9585 echo 'CEOF9586 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS9587 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in9588 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail9589 grep . conftest.tail >/dev/null || break9590 rm -f conftest.defines9591 mv conftest.tail conftest.defines9592 done9593 rm -f conftest.defines conftest.tail9594 9595 echo "ac_result=$ac_in" >>$CONFIG_STATUS9596 cat >>$CONFIG_STATUS <<\_ACEOF9597 8067 if test x"$ac_file" != x-; then 9598 echo "/* $configure_input */" >"$tmp/config.h" 9599 cat "$ac_result" >>"$tmp/config.h" 9600 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 9601 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9602 echo "$as_me: $ac_file is unchanged" >&6;} 8068 { 8069 $as_echo "/* $configure_input */" \ 8070 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 8071 } >"$ac_tmp/config.h" \ 8072 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8073 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 8074 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 8075 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9603 8076 else 9604 rm -f $ac_file 9605 mv "$tmp/config.h" $ac_file 8077 rm -f "$ac_file" 8078 mv "$ac_tmp/config.h" "$ac_file" \ 8079 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9606 8080 fi 9607 8081 else 9608 echo "/* $configure_input */" 9609 cat "$ac_result" 8082 $as_echo "/* $configure_input */" \ 8083 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 8084 || as_fn_error $? "could not create -" "$LINENO" 5 9610 8085 fi 9611 rm -f "$tmp/out12"9612 8086 ;; 9613 8087 … … 9618 8092 9619 8093 9620 { (exit 0); exit 0; } 9621 _ACEOF 9622 chmod +x $CONFIG_STATUS 8094 as_fn_exit 0 8095 _ACEOF 9623 8096 ac_clean_files=$ac_clean_files_save 8097 8098 test $ac_write_fail = 0 || 8099 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 9624 8100 9625 8101 … … 9642 8118 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9643 8119 # would make configure fail if this is the last instruction. 9644 $ac_cs_success || { (exit 1); exit 1; }8120 $ac_cs_success || as_fn_exit 1 9645 8121 fi 9646 8122 … … 9650 8126 if test "$no_recursion" != yes; then 9651 8127 9652 # Remove --cache-file and --srcdir arguments so they do not pile up. 8128 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 8129 # so they do not pile up. 9653 8130 ac_sub_configure_args= 9654 8131 ac_prev= … … 9679 8156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9680 8157 ;; 8158 --disable-option-checking) 8159 ;; 9681 8160 *) 9682 8161 case $ac_arg in 9683 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;8162 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 9684 8163 esac 9685 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;8164 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 9686 8165 esac 9687 8166 done … … 9691 8170 ac_arg="--prefix=$prefix" 9692 8171 case $ac_arg in 9693 *\'*) ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;8172 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 9694 8173 esac 9695 8174 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" … … 9700 8179 fi 9701 8180 8181 # Always prepend --disable-option-checking to silence warnings, since 8182 # different subdirs can have different --enable and --with options. 8183 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 8184 9702 8185 ac_popdir=`pwd` 9703 8186 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue … … 9708 8191 9709 8192 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 9710 echo "$as_me:$LINENO: $ac_msg" >&5 9711 echo "$ac_msg" >&6 9712 { as_dir="$ac_dir" 9713 case $as_dir in #( 9714 -*) as_dir=./$as_dir;; 9715 esac 9716 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9717 as_dirs= 9718 while :; do 9719 case $as_dir in #( 9720 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 9721 *) as_qdir=$as_dir;; 9722 esac 9723 as_dirs="'$as_qdir' $as_dirs" 9724 as_dir=`$as_dirname -- "$as_dir" || 9725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9726 X"$as_dir" : 'X\(//\)[^/]' \| \ 9727 X"$as_dir" : 'X\(//\)$' \| \ 9728 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9729 echo X"$as_dir" | 9730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9731 s//\1/ 9732 q 9733 } 9734 /^X\(\/\/\)[^/].*/{ 9735 s//\1/ 9736 q 9737 } 9738 /^X\(\/\/\)$/{ 9739 s//\1/ 9740 q 9741 } 9742 /^X\(\/\).*/{ 9743 s//\1/ 9744 q 9745 } 9746 s/.*/./; q'` 9747 test -d "$as_dir" && break 9748 done 9749 test -z "$as_dirs" || eval "mkdir $as_dirs" 9750 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9751 echo "$as_me: error: cannot create directory $as_dir" >&2;} 9752 { (exit 1); exit 1; }; }; } 8193 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 8194 $as_echo "$ac_msg" >&6 8195 as_dir="$ac_dir"; as_fn_mkdir_p 9753 8196 ac_builddir=. 9754 8197 … … 9756 8199 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9757 8200 *) 9758 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`8201 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9759 8202 # A ".." for each directory in $ac_dir_suffix. 9760 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`8203 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9761 8204 case $ac_top_builddir_sub in 9762 8205 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 9797 8240 ac_sub_configure=$ac_aux_dir/configure 9798 8241 else 9799 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&59800 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}8242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 8243 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 9801 8244 ac_sub_configure= 9802 8245 fi … … 9811 8254 esac 9812 8255 9813 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&59814 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}8256 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 8257 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 9815 8258 # The eval makes quoting arguments work. 9816 8259 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 9817 8260 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 9818 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 9819 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9820 { (exit 1); exit 1; }; } 8261 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 9821 8262 fi 9822 8263 … … 9824 8265 done 9825 8266 fi 9826 9827 9828 8267 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8269 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8270 fi 8271 8272 8273 -
main/trunk/greenstone2/common-src/aclocal.m4
r23356 r35306 226 226 AC_PROVIDE([$0])dnl 227 227 if test "x$JAVACFLAGS" = x ; then 228 JAVACFLAGS="-source 1. 4 -target 1.4"228 JAVACFLAGS="-source 1.6 -target 1.6" 229 229 fi 230 230 AC_SUBST(JAVACFLAGS) -
main/trunk/greenstone2/common-src/configure
r26808 r35306 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8.3 # Generated by GNU Autoconf 2.69. 4 4 # 5 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 7 # 10 8 # … … 135 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 137 160 if test "x$CONFIG_SHELL" = x; then 138 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : … … 168 191 exitcode=1; echo positional parameters were not saved. 169 192 fi 170 test x\$exitcode = x0 || exit 1" 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 171 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO … … 213 237 214 238 if test "x$CONFIG_SHELL" != x; then : 215 # We cannot yet assume a decent shell, so we have to provide a 216 # neutralization value for shells without unset; and this also 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 case $- in # (((( 224 *v*x* | *x*v* ) as_opts=-vx ;; 225 *v* ) as_opts=-v ;; 226 *x* ) as_opts=-x ;; 227 * ) as_opts= ;; 228 esac 229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241 # neutralization value for shells without unset; and this also 242 # works around shells that cannot unset nonexistent variables. 243 # Preserve -v and -x to the replacement shell. 244 BASH_ENV=/dev/null 245 ENV=/dev/null 246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247 case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252 esac 253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254 # Admittedly, this is quite paranoid, since all the known shells bail 255 # out after a failed `exec'. 256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257 exit 255 230 258 fi 231 259 … … 329 357 330 358 } # as_fn_mkdir_p 359 360 # as_fn_executable_p FILE 361 # ----------------------- 362 # Test if FILE is an executable regular file. 363 as_fn_executable_p () 364 { 365 test -f "$1" && test -x "$1" 366 } # as_fn_executable_p 331 367 # as_fn_append VAR VALUE 332 368 # ---------------------- … … 450 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 451 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 452 492 # Don't try to exec as it changes $[0], causing all sort of problems 453 493 # (the dirname of $[0] is not the place where we might find the … … 484 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 485 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 486 # In both cases, we have to default to `cp -p '.526 # In both cases, we have to default to `cp -pR'. 487 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 488 as_ln_s='cp -p '528 as_ln_s='cp -pR' 489 529 elif ln conf$$.file conf$$ 2>/dev/null; then 490 530 as_ln_s=ln 491 531 else 492 as_ln_s='cp -p '532 as_ln_s='cp -pR' 493 533 fi 494 534 else 495 as_ln_s='cp -p '535 as_ln_s='cp -pR' 496 536 fi 497 537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 505 545 fi 506 546 507 if test -x / >/dev/null 2>&1; then 508 as_test_x='test -x' 509 else 510 if ls -dL / >/dev/null 2>&1; then 511 as_ls_L_option=L 512 else 513 as_ls_L_option= 514 fi 515 as_test_x=' 516 eval sh -c '\'' 517 if test -d "$1"; then 518 test -d "$1/."; 519 else 520 case $1 in #( 521 -*)set "./$1";; 522 esac; 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 524 ???[sx]*):;;*)false;;esac;fi 525 '\'' sh 526 ' 527 fi 528 as_executable_p=$as_test_x 547 as_test_x='test -x' 548 as_executable_p=as_fn_executable_p 529 549 530 550 # Sed expression to map a string onto a valid CPP name. … … 688 708 oldincludedir 689 709 includedir 710 runstatedir 690 711 localstatedir 691 712 sharedstatedir … … 779 800 sharedstatedir='${prefix}/com' 780 801 localstatedir='${prefix}/var' 802 runstatedir='${localstatedir}/run' 781 803 includedir='${prefix}/include' 782 804 oldincludedir='/usr/include' … … 1031 1053 silent=yes ;; 1032 1054 1055 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1056 | --runstate | --runstat | --runsta | --runst | --runs \ 1057 | --run | --ru | --r) 1058 ac_prev=runstatedir ;; 1059 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1060 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1061 | --run=* | --ru=* | --r=*) 1062 runstatedir=$ac_optarg ;; 1063 1033 1064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1034 1065 ac_prev=sbindir ;; … … 1168 1199 datadir sysconfdir sharedstatedir localstatedir includedir \ 1169 1200 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1170 libdir localedir mandir 1201 libdir localedir mandir runstatedir 1171 1202 do 1172 1203 eval ac_val=\$$ac_var … … 1196 1227 if test "x$build_alias" = x; then 1197 1228 cross_compiling=maybe 1198 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1199 If a cross compiler is detected then cross compile mode will be used" >&21200 1229 elif test "x$build_alias" != "x$host_alias"; then 1201 1230 cross_compiling=yes … … 1323 1352 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1324 1353 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1354 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1325 1355 --libdir=DIR object code libraries [EPREFIX/lib] 1326 1356 --includedir=DIR C header files [PREFIX/include] … … 1461 1491 cat <<\_ACEOF 1462 1492 configure 1463 generated by GNU Autoconf 2.6 81464 1465 Copyright (C) 201 0Free Software Foundation, Inc.1493 generated by GNU Autoconf 2.69 1494 1495 Copyright (C) 2012 Free Software Foundation, Inc. 1466 1496 This configure script is free software; the Free Software Foundation 1467 1497 gives unlimited permission to copy, distribute and modify it. … … 1774 1804 } && test -s conftest$ac_exeext && { 1775 1805 test "$cross_compiling" = yes || 1776 $as_test_x conftest$ac_exeext1806 test -x conftest$ac_exeext 1777 1807 }; then : 1778 1808 ac_retval=0 … … 1960 1990 1961 1991 It was created by $as_me, which was 1962 generated by GNU Autoconf 2.6 8. Invocation command line was1992 generated by GNU Autoconf 2.69. Invocation command line was 1963 1993 1964 1994 $ $0 $@ … … 2581 2611 test -z "$as_dir" && as_dir=. 2582 2612 for ac_exec_ext in '' $ac_executable_extensions; do 2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2584 2614 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2585 2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2621 2651 test -z "$as_dir" && as_dir=. 2622 2652 for ac_exec_ext in '' $ac_executable_extensions; do 2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2624 2654 ac_cv_prog_ac_ct_CC="gcc" 2625 2655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2674 2704 test -z "$as_dir" && as_dir=. 2675 2705 for ac_exec_ext in '' $ac_executable_extensions; do 2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2677 2707 ac_cv_prog_CC="${ac_tool_prefix}cc" 2678 2708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2715 2745 test -z "$as_dir" && as_dir=. 2716 2746 for ac_exec_ext in '' $ac_executable_extensions; do 2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2718 2748 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2719 2749 ac_prog_rejected=yes … … 2773 2803 test -z "$as_dir" && as_dir=. 2774 2804 for ac_exec_ext in '' $ac_executable_extensions; do 2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2776 2806 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2777 2807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2817 2847 test -z "$as_dir" && as_dir=. 2818 2848 for ac_exec_ext in '' $ac_executable_extensions; do 2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2820 2850 ac_cv_prog_ac_ct_CC="$ac_prog" 2821 2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3263 3293 #include <stdarg.h> 3264 3294 #include <stdio.h> 3265 #include <sys/types.h> 3266 #include <sys/stat.h> 3295 struct stat; 3267 3296 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3268 3297 struct buf { int x; }; … … 3377 3406 test -z "$as_dir" && as_dir=. 3378 3407 for ac_exec_ext in '' $ac_executable_extensions; do 3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3380 3409 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3381 3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3421 3450 test -z "$as_dir" && as_dir=. 3422 3451 for ac_exec_ext in '' $ac_executable_extensions; do 3423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3424 3453 ac_cv_prog_ac_ct_CXX="$ac_prog" 3425 3454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3629 3658 test -z "$as_dir" && as_dir=. 3630 3659 for ac_exec_ext in '' $ac_executable_extensions; do 3631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3632 3661 ac_cv_prog_JAVA="$ac_prog" 3633 3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3672 3701 test -z "$as_dir" && as_dir=. 3673 3702 for ac_exec_ext in '' $ac_executable_extensions; do 3674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3675 3704 ac_cv_prog_JAVA="$ac_prog" 3676 3705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3718 3747 test -z "$as_dir" && as_dir=. 3719 3748 for ac_exec_ext in '' $ac_executable_extensions; do 3720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3721 3750 ac_cv_prog_uudecode="yes" 3722 3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3760 3789 ac_cv_prog_uudecode_base64=yes 3761 3790 else 3762 echo "configure: 37 62: uudecode had trouble decoding base 64 file 'Test.uue'" >&53791 echo "configure: 3791: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3763 3792 echo "configure: failed file was:" >&5 3764 3793 cat Test.uue >&5 … … 3799 3828 test -z "$as_dir" && as_dir=. 3800 3829 for ac_exec_ext in '' $ac_executable_extensions; do 3801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3802 3831 ac_cv_prog_JAVAC="$ac_prog" 3803 3832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3842 3871 test -z "$as_dir" && as_dir=. 3843 3872 for ac_exec_ext in '' $ac_executable_extensions; do 3844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3845 3874 ac_cv_prog_JAVAC="$ac_prog" 3846 3875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3883 3912 CLASS_TEST=Test.class 3884 3913 cat << \EOF > $JAVA_TEST 3885 /* #line 3 885"configure" */3914 /* #line 3914 "configure" */ 3886 3915 public class Test { 3887 3916 } … … 3905 3934 $as_echo "$ac_cv_prog_javac_works" >&6; } 3906 3935 if test "x$JAVACFLAGS" = x ; then 3907 JAVACFLAGS="-source 1. 4 -target 1.4"3936 JAVACFLAGS="-source 1.6 -target 1.6" 3908 3937 fi 3909 3938 … … 3922 3951 TEST=Test 3923 3952 cat << \EOF > $JAVA_TEST 3924 /* [#]line 39 24"configure" */3953 /* [#]line 3953 "configure" */ 3925 3954 public class Test { 3926 3955 public static void main (String args[]) { … … 3983 4012 test -z "$as_dir" && as_dir=. 3984 4013 for ac_exec_ext in '' $ac_executable_extensions; do 3985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3986 4015 ac_cv_prog_JAVAC="$ac_prog" 3987 4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4026 4055 test -z "$as_dir" && as_dir=. 4027 4056 for ac_exec_ext in '' $ac_executable_extensions; do 4028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4029 4058 ac_cv_prog_JAVAC="$ac_prog" 4030 4059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4067 4096 CLASS_TEST=Test.class 4068 4097 cat << \EOF > $JAVA_TEST 4069 /* #line 40 69"configure" */4098 /* #line 4098 "configure" */ 4070 4099 public class Test { 4071 4100 } … … 4089 4118 $as_echo "$ac_cv_prog_javac_works" >&6; } 4090 4119 if test "x$JAVACFLAGS" = x ; then 4091 JAVACFLAGS="-source 1. 4 -target 1.4"4120 JAVACFLAGS="-source 1.6 -target 1.6" 4092 4121 fi 4093 4122 … … 4113 4142 test -z "$as_dir" && as_dir=. 4114 4143 for ac_exec_ext in '' $ac_executable_extensions; do 4115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4116 4145 ac_cv_prog_AWK="$ac_prog" 4117 4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4155 4184 test -z "$as_dir" && as_dir=. 4156 4185 for ac_exec_ext in '' $ac_executable_extensions; do 4157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4158 4187 ac_cv_prog_YACC="$ac_prog" 4159 4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4357 4386 for ac_prog in ginstall scoinst install; do 4358 4387 for ac_exec_ext in '' $ac_executable_extensions; do 4359 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then4388 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 4360 4389 if test $ac_prog = install && 4361 4390 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 4472 4501 test -z "$as_dir" && as_dir=. 4473 4502 for ac_exec_ext in '' $ac_executable_extensions; do 4474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4475 4504 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4476 4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4512 4541 test -z "$as_dir" && as_dir=. 4513 4542 for ac_exec_ext in '' $ac_executable_extensions; do 4514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4515 4544 ac_cv_prog_ac_ct_RANLIB="ranlib" 4516 4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4564 4593 test -z "$as_dir" && as_dir=. 4565 4594 for ac_exec_ext in '' $ac_executable_extensions; do 4566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4567 4596 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4568 4597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4604 4633 test -z "$as_dir" && as_dir=. 4605 4634 for ac_exec_ext in '' $ac_executable_extensions; do 4606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4607 4636 ac_cv_prog_ac_ct_STRIP="strip" 4608 4637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4852 4881 for ac_exec_ext in '' $ac_executable_extensions; do 4853 4882 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4854 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4883 as_fn_executable_p "$ac_path_GREP" || continue 4855 4884 # Check for GNU ac_path_GREP and select it if it is found. 4856 4885 # Check for GNU $ac_path_GREP … … 4918 4947 for ac_exec_ext in '' $ac_executable_extensions; do 4919 4948 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4920 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4949 as_fn_executable_p "$ac_path_EGREP" || continue 4921 4950 # Check for GNU ac_path_EGREP and select it if it is found. 4922 4951 # Check for GNU $ac_path_EGREP … … 5125 5154 /* end confdefs.h. */ 5126 5155 5127 # 5128 5156 # define __EXTENSIONS__ 1 5157 $ac_includes_default 5129 5158 int 5130 5159 main () … … 5288 5317 main () 5289 5318 { 5290 /* FIXME: Include the comments suggested by Paul. */ 5319 5291 5320 #ifndef __cplusplus 5292 /* Ultrix mips cc rejects this . */5321 /* Ultrix mips cc rejects this sort of thing. */ 5293 5322 typedef int charset[2]; 5294 const charset cs ;5323 const charset cs = { 0, 0 }; 5295 5324 /* SunOS 4.1.1 cc rejects this. */ 5296 5325 char const *const *pcpcc; … … 5309 5338 ppc = (char**) pcpcc; 5310 5339 pcpcc = (char const *const *) ppc; 5311 { /* SCO 3.2v4 cc rejects this. */ 5312 char *t; 5340 { /* SCO 3.2v4 cc rejects this sort of thing. */ 5341 char tx; 5342 char *t = &tx; 5313 5343 char const *s = 0 ? (char *) 0 : (char const *) 0; 5314 5344 … … 5326 5356 ++p; 5327 5357 } 5328 { /* AIX XL C 1.02.0.0 rejects this s aying5358 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 5329 5359 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 5330 struct s { int j; const int *ap[3]; } ;5331 struct s *b ; b->j = 5;5360 struct s { int j; const int *ap[3]; } bx; 5361 struct s *b = &bx; b->j = 5; 5332 5362 } 5333 5363 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ … … 6067 6097 $ac_includes_default 6068 6098 int 6069 find_stack_direction ( )6099 find_stack_direction (int *addr, int depth) 6070 6100 { 6071 static char *addr = 0; 6072 auto char dummy; 6073 if (addr == 0) 6074 { 6075 addr = &dummy; 6076 return find_stack_direction (); 6077 } 6078 else 6079 return (&dummy > addr) ? 1 : -1; 6101 int dir, dummy = 0; 6102 if (! addr) 6103 addr = &dummy; 6104 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; 6105 dir = depth ? find_stack_direction (addr, depth - 1) : 0; 6106 return dir + dummy; 6080 6107 } 6081 6108 6082 6109 int 6083 main ( )6110 main (int argc, char **argv) 6084 6111 { 6085 return find_stack_direction ( ) < 0;6112 return find_stack_direction (0, argc + !argv + 20) < 0; 6086 6113 } 6087 6114 _ACEOF … … 7174 7201 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7175 7202 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7176 # In both cases, we have to default to `cp -p '.7203 # In both cases, we have to default to `cp -pR'. 7177 7204 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7178 as_ln_s='cp -p '7205 as_ln_s='cp -pR' 7179 7206 elif ln conf$$.file conf$$ 2>/dev/null; then 7180 7207 as_ln_s=ln 7181 7208 else 7182 as_ln_s='cp -p '7209 as_ln_s='cp -pR' 7183 7210 fi 7184 7211 else 7185 as_ln_s='cp -p '7212 as_ln_s='cp -pR' 7186 7213 fi 7187 7214 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 7243 7270 fi 7244 7271 7245 if test -x / >/dev/null 2>&1; then 7246 as_test_x='test -x' 7247 else 7248 if ls -dL / >/dev/null 2>&1; then 7249 as_ls_L_option=L 7250 else 7251 as_ls_L_option= 7252 fi 7253 as_test_x=' 7254 eval sh -c '\'' 7255 if test -d "$1"; then 7256 test -d "$1/."; 7257 else 7258 case $1 in #( 7259 -*)set "./$1";; 7260 esac; 7261 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7262 ???[sx]*):;;*)false;;esac;fi 7263 '\'' sh 7264 ' 7265 fi 7266 as_executable_p=$as_test_x 7272 7273 # as_fn_executable_p FILE 7274 # ----------------------- 7275 # Test if FILE is an executable regular file. 7276 as_fn_executable_p () 7277 { 7278 test -f "$1" && test -x "$1" 7279 } # as_fn_executable_p 7280 as_test_x='test -x' 7281 as_executable_p=as_fn_executable_p 7267 7282 7268 7283 # Sed expression to map a string onto a valid CPP name. … … 7286 7301 ac_log=" 7287 7302 This file was extended by $as_me, which was 7288 generated by GNU Autoconf 2.6 8. Invocation command line was7303 generated by GNU Autoconf 2.69. Invocation command line was 7289 7304 7290 7305 CONFIG_FILES = $CONFIG_FILES … … 7348 7363 ac_cs_version="\\ 7349 7364 config.status 7350 configured by $0, generated by GNU Autoconf 2.6 8,7365 configured by $0, generated by GNU Autoconf 2.69, 7351 7366 with options \\"\$ac_cs_config\\" 7352 7367 7353 Copyright (C) 201 0Free Software Foundation, Inc.7368 Copyright (C) 2012 Free Software Foundation, Inc. 7354 7369 This config.status script is free software; the Free Software Foundation 7355 7370 gives unlimited permission to copy, distribute and modify it." … … 7441 7456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7442 7457 if \$ac_cs_recheck; then 7443 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion7458 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7444 7459 shift 7445 7460 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 -
main/trunk/greenstone2/common-src/indexers/aclocal.m4
r23356 r35306 86 86 AC_PROVIDE([$0])dnl 87 87 if test "x$JAVACFLAGS" = x ; then 88 JAVACFLAGS="-source 1. 4 -target 1.4"88 JAVACFLAGS="-source 1.6 -target 1.6" 89 89 fi 90 90 AC_SUBST(JAVACFLAGS) -
main/trunk/greenstone2/common-src/indexers/configure
r26156 r35306 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3.3 # Generated by GNU Autoconf 2.69. 4 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 7 9 # This configure script is free software; the Free Software Foundation 8 10 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 12 14 13 15 # Be more Bourne compatible 14 16 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 18 emulate sh 17 19 NULLCMD=: … … 21 23 setopt NO_GLOB_SUBST 22 24 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 25 30 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 31 fi 32 39 33 40 34 as_nl=' … … 45 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 48 as_echo='printf %s\n' 49 49 as_echo_n='printf %s' … … 56 56 as_echo_n_body='eval 57 57 arg=$1; 58 case $arg in 58 case $arg in #( 59 59 *"$as_nl"*) 60 60 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 79 79 fi 80 80 81 # Support unset when possible.82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then83 as_unset=unset84 else85 as_unset=false86 fi87 88 81 89 82 # IFS … … 95 88 96 89 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 90 as_myself= 91 case $0 in #(( 98 92 *[\\/]* ) as_myself=$0 ;; 99 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 102 96 IFS=$as_save_IFS 103 97 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break105 done98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 106 100 IFS=$as_save_IFS 107 101 … … 115 109 if test ! -f "$as_myself"; then 116 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 121 done 124 122 PS1='$ ' … … 132 130 export LANGUAGE 133 131 134 # Required to use basename. 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 199 if (eval "$as_required") 2>/dev/null; then : 200 as_have_required=yes 201 else 202 as_have_required=no 203 fi 204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 205 206 else 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208 as_found=false 209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 210 do 211 IFS=$as_save_IFS 212 test -z "$as_dir" && as_dir=. 213 as_found=: 214 case $as_dir in #( 215 /*) 216 for as_base in sh bash ksh sh5; do 217 # Try only shells that exist, to save several forks. 218 as_shell=$as_dir/$as_base 219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 break 2 224 fi 225 fi 226 done;; 227 esac 228 as_found=false 229 done 230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 232 CONFIG_SHELL=$SHELL as_have_required=yes 233 fi; } 234 IFS=$as_save_IFS 235 236 237 if test "x$CONFIG_SHELL" != x; then : 238 export CONFIG_SHELL 239 # We cannot yet assume a decent shell, so we have to provide a 240 # neutralization value for shells without unset; and this also 241 # works around shells that cannot unset nonexistent variables. 242 # Preserve -v and -x to the replacement shell. 243 BASH_ENV=/dev/null 244 ENV=/dev/null 245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246 case $- in # (((( 247 *v*x* | *x*v* ) as_opts=-vx ;; 248 *v* ) as_opts=-v ;; 249 *x* ) as_opts=-x ;; 250 * ) as_opts= ;; 251 esac 252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253 # Admittedly, this is quite paranoid, since all the known shells bail 254 # out after a failed `exec'. 255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256 exit 255 257 fi 258 259 if test x$as_have_required = xno; then : 260 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: the shells that I found on your system." 262 if test x${ZSH_VERSION+set} = xset ; then 263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 264 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 265 else 266 $as_echo "$0: Please tell [email protected] about your system, 267 $0: including any error possibly output before this 268 $0: message. Then install a modern shell, or manually run 269 $0: the script under such a shell if you do have one." 270 fi 271 exit 1 272 fi 273 fi 274 fi 275 SHELL=${CONFIG_SHELL-/bin/sh} 276 export SHELL 277 # Unset more variables known to interfere with behavior of common tools. 278 CLICOLOR_FORCE= GREP_OPTIONS= 279 unset CLICOLOR_FORCE GREP_OPTIONS 280 281 ## --------------------- ## 282 ## M4sh Shell Functions. ## 283 ## --------------------- ## 284 # as_fn_unset VAR 285 # --------------- 286 # Portably unset VAR. 287 as_fn_unset () 288 { 289 { eval $1=; unset $1;} 290 } 291 as_unset=as_fn_unset 292 293 # as_fn_set_status STATUS 294 # ----------------------- 295 # Set $? to STATUS, without forking. 296 as_fn_set_status () 297 { 298 return $1 299 } # as_fn_set_status 300 301 # as_fn_exit STATUS 302 # ----------------- 303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 304 as_fn_exit () 305 { 306 set +e 307 as_fn_set_status $1 308 exit $1 309 } # as_fn_exit 310 311 # as_fn_mkdir_p 312 # ------------- 313 # Create "$as_dir" as a directory, including parents if necessary. 314 as_fn_mkdir_p () 315 { 316 317 case $as_dir in #( 318 -*) as_dir=./$as_dir;; 319 esac 320 test -d "$as_dir" || eval $as_mkdir_p || { 321 as_dirs= 322 while :; do 323 case $as_dir in #( 324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 325 *) as_qdir=$as_dir;; 326 esac 327 as_dirs="'$as_qdir' $as_dirs" 328 as_dir=`$as_dirname -- "$as_dir" || 329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 330 X"$as_dir" : 'X\(//\)[^/]' \| \ 331 X"$as_dir" : 'X\(//\)$' \| \ 332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 333 $as_echo X"$as_dir" | 334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\/\)[^/].*/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)$/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\).*/{ 347 s//\1/ 348 q 349 } 350 s/.*/./; q'` 351 test -d "$as_dir" && break 352 done 353 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 356 357 } # as_fn_mkdir_p 358 359 # as_fn_executable_p FILE 360 # ----------------------- 361 # Test if FILE is an executable regular file. 362 as_fn_executable_p () 363 { 364 test -f "$1" && test -x "$1" 365 } # as_fn_executable_p 366 # as_fn_append VAR VALUE 367 # ---------------------- 368 # Append the text in VALUE to the end of the definition contained in VAR. Take 369 # advantage of any shell optimizations that allow amortized linear growth over 370 # repeated appends, instead of the typical quadratic growth present in naive 371 # implementations. 372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 373 eval 'as_fn_append () 374 { 375 eval $1+=\$2 376 }' 377 else 378 as_fn_append () 379 { 380 eval $1=\$$1\$2 381 } 382 fi # as_fn_append 383 384 # as_fn_arith ARG... 385 # ------------------ 386 # Perform arithmetic evaluation on the ARGs, and store the result in the 387 # global $as_val. Take advantage of shells that can avoid forks. The arguments 388 # must be portable across $(()) and expr. 389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 390 eval 'as_fn_arith () 391 { 392 as_val=$(( $* )) 393 }' 394 else 395 as_fn_arith () 396 { 397 as_val=`expr "$@" || test $? -eq 1` 398 } 399 fi # as_fn_arith 400 401 402 # as_fn_error STATUS ERROR [LINENO LOG_FD] 403 # ---------------------------------------- 404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406 # script with STATUS, using 1 if that was 0. 407 as_fn_error () 408 { 409 as_status=$1; test $as_status -eq 0 && as_status=1 410 if test "$4"; then 411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 413 fi 414 $as_echo "$as_me: error: $2" >&2 415 as_fn_exit $as_status 416 } # as_fn_error 417 135 418 if expr a : '\(a\)' >/dev/null 2>&1 && 136 419 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 146 429 fi 147 430 148 149 # Name of the executable. 431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 432 as_dirname=dirname 433 else 434 as_dirname=false 435 fi 436 150 437 as_me=`$as_basename -- "$0" || 151 438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 167 454 s/.*/./; q'` 168 455 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 242 do 243 IFS=$as_save_IFS 244 test -z "$as_dir" && as_dir=. 245 case $as_dir in 246 /*) 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 347 as_lineno_1=$LINENO 348 as_lineno_2=$LINENO 349 test "x$as_lineno_1" != "x$as_lineno_2" && 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 447 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 449 # uniformly replaced by the line number. The first 'sed' inserts a 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 456 # Avoid depending upon Character Ranges. 457 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 460 as_cr_digits='0123456789' 461 as_cr_alnum=$as_cr_Letters$as_cr_digits 462 463 464 as_lineno_1=$LINENO as_lineno_1a=$LINENO 465 as_lineno_2=$LINENO as_lineno_2a=$LINENO 466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 458 469 sed -n ' 459 470 p … … 472 483 ' >$as_me.lineno && 473 484 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 475 { (exit 1); exit 1; }; } 476 485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 488 # already done that, so ensure we don't try to do so again and fall 489 # in an infinite loop. This has already happened in practice. 490 _as_can_reexec=no; export _as_can_reexec 477 491 # Don't try to exec as it changes $[0], causing all sort of problems 478 492 # (the dirname of $[0] is not the place where we might find the … … 483 497 } 484 498 485 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then487 as_dirname=dirname488 else489 as_dirname=false490 fi491 492 499 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 500 case `echo -n x` in #((((( 494 501 -n*) 495 case `echo 'x \c'` in502 case `echo 'xy\c'` in 496 503 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 504 xy) ECHO_C='\c';; 505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 506 ECHO_T=' ';; 498 507 esac;; 499 508 *) 500 509 ECHO_N='-n';; 501 510 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 &&503 test "X`expr 00001 : '.*\(...\)'`" = X001; then504 as_expr=expr505 else506 as_expr=false507 fi508 511 509 512 rm -f conf$$ conf$$.exe conf$$.file … … 520 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p '.525 # In both cases, we have to default to `cp -pR'. 523 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p '527 as_ln_s='cp -pR' 525 528 elif ln conf$$.file conf$$ 2>/dev/null; then 526 529 as_ln_s=ln 527 530 else 528 as_ln_s='cp -p '531 as_ln_s='cp -pR' 529 532 fi 530 533 else 531 as_ln_s='cp -p '534 as_ln_s='cp -pR' 532 535 fi 533 536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 535 538 536 539 if mkdir -p . 2>/dev/null; then 537 as_mkdir_p= :540 as_mkdir_p='mkdir -p "$as_dir"' 538 541 else 539 542 test -d ./-p && rmdir ./-p … … 541 544 fi 542 545 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 546 as_test_x='test -x' 547 as_executable_p=as_fn_executable_p 565 548 566 549 # Sed expression to map a string onto a valid CPP name. … … 571 554 572 555 573 574 exec 7<&0 </dev/null6>&1556 test -n "$DJDIR" || exec 7<&0 </dev/null 557 exec 6>&1 575 558 576 559 # Name of the host. 577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 578 561 # so uname gets run too. 579 562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 590 573 MFLAGS= 591 574 MAKEFLAGS= 592 SHELL=${CONFIG_SHELL-/bin/sh}593 575 594 576 # Identity of this package. … … 598 580 PACKAGE_STRING= 599 581 PACKAGE_BUGREPORT= 582 PACKAGE_URL= 600 583 601 584 enable_option_checking=no … … 633 616 oldincludedir 634 617 includedir 618 runstatedir 635 619 localstatedir 636 620 sharedstatedir … … 644 628 prefix 645 629 exec_prefix 630 PACKAGE_URL 646 631 PACKAGE_BUGREPORT 647 632 PACKAGE_STRING … … 706 691 sharedstatedir='${prefix}/com' 707 692 localstatedir='${prefix}/var' 693 runstatedir='${localstatedir}/run' 708 694 includedir='${prefix}/include' 709 695 oldincludedir='/usr/include' … … 730 716 731 717 case $ac_option in 732 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 733 *) ac_optarg=yes ;; 718 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 719 *=) ac_optarg= ;; 720 *) ac_optarg=yes ;; 734 721 esac 735 722 … … 776 763 # Reject names that are not valid shell variable names. 777 764 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 778 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 779 { (exit 1); exit 1; }; } 765 as_fn_error $? "invalid feature name: $ac_useropt" 780 766 ac_useropt_orig=$ac_useropt 781 767 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 803 789 # Reject names that are not valid shell variable names. 804 790 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 805 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 806 { (exit 1); exit 1; }; } 791 as_fn_error $? "invalid feature name: $ac_useropt" 807 792 ac_useropt_orig=$ac_useropt 808 793 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 959 944 silent=yes ;; 960 945 946 -runstatedir | --runstatedir | --runstatedi | --runstated \ 947 | --runstate | --runstat | --runsta | --runst | --runs \ 948 | --run | --ru | --r) 949 ac_prev=runstatedir ;; 950 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 951 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 952 | --run=* | --ru=* | --r=*) 953 runstatedir=$ac_optarg ;; 954 961 955 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 962 956 ac_prev=sbindir ;; … … 1008 1002 # Reject names that are not valid shell variable names. 1009 1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1010 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1011 { (exit 1); exit 1; }; } 1004 as_fn_error $? "invalid package name: $ac_useropt" 1012 1005 ac_useropt_orig=$ac_useropt 1013 1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1025 1018 # Reject names that are not valid shell variable names. 1026 1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1027 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1028 { (exit 1); exit 1; }; } 1020 as_fn_error $? "invalid package name: $ac_useropt" 1029 1021 ac_useropt_orig=$ac_useropt 1030 1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1056 1048 x_libraries=$ac_optarg ;; 1057 1049 1058 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1059 Try \`$0 --help' for more information." >&2 1060 { (exit 1); exit 1; }; } 1050 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1051 Try \`$0 --help' for more information" 1061 1052 ;; 1062 1053 … … 1064 1055 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1065 1056 # Reject names that are not valid shell variable names. 1066 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1067 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1068 { (exit 1); exit 1; }; } 1057 case $ac_envvar in #( 1058 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1059 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1060 esac 1069 1061 eval $ac_envvar=\$ac_optarg 1070 1062 export $ac_envvar ;; … … 1075 1067 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1076 1068 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1077 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1069 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1078 1070 ;; 1079 1071 … … 1083 1075 if test -n "$ac_prev"; then 1084 1076 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1085 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1086 { (exit 1); exit 1; }; } 1077 as_fn_error $? "missing argument to $ac_option" 1087 1078 fi 1088 1079 … … 1090 1081 case $enable_option_checking in 1091 1082 no) ;; 1092 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1093 { (exit 1); exit 1; }; } ;; 1083 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1094 1084 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1095 1085 esac … … 1100 1090 datadir sysconfdir sharedstatedir localstatedir includedir \ 1101 1091 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1102 libdir localedir mandir 1092 libdir localedir mandir runstatedir 1103 1093 do 1104 1094 eval ac_val=\$$ac_var … … 1114 1104 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1115 1105 esac 1116 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1117 { (exit 1); exit 1; }; } 1106 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1118 1107 done 1119 1108 … … 1129 1118 if test "x$build_alias" = x; then 1130 1119 cross_compiling=maybe 1131 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1132 If a cross compiler is detected then cross compile mode will be used." >&21133 1120 elif test "x$build_alias" != "x$host_alias"; then 1134 1121 cross_compiling=yes … … 1145 1132 ac_ls_di=`ls -di .` && 1146 1133 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1147 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1148 { (exit 1); exit 1; }; } 1134 as_fn_error $? "working directory cannot be determined" 1149 1135 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1150 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1151 { (exit 1); exit 1; }; } 1136 as_fn_error $? "pwd does not report name of working directory" 1152 1137 1153 1138 … … 1188 1173 if test ! -r "$srcdir/$ac_unique_file"; then 1189 1174 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1190 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1191 { (exit 1); exit 1; }; } 1175 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1192 1176 fi 1193 1177 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1194 1178 ac_abs_confdir=`( 1195 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1196 { (exit 1); exit 1; }; } 1179 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1197 1180 pwd)` 1198 1181 # When building in place, set srcdir=. … … 1234 1217 --help=recursive display the short help of all the included packages 1235 1218 -V, --version display version information and exit 1236 -q, --quiet, --silent do not print \`checking ...' messages1219 -q, --quiet, --silent do not print \`checking ...' messages 1237 1220 --cache-file=FILE cache test results in FILE [disabled] 1238 1221 -C, --config-cache alias for \`--cache-file=config.cache' … … 1260 1243 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1261 1244 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1245 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1262 1246 --libdir=DIR object code libraries [EPREFIX/lib] 1263 1247 --includedir=DIR C header files [PREFIX/include] … … 1300 1284 --with-libiconv-prefix=dir Use specified libiconv directory 1301 1285 1286 Report bugs to the package provider. 1302 1287 _ACEOF 1303 1288 ac_status=$? … … 1363 1348 cat <<\_ACEOF 1364 1349 configure 1365 generated by GNU Autoconf 2.63 1366 1367 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1368 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1350 generated by GNU Autoconf 2.69 1351 1352 Copyright (C) 2012 Free Software Foundation, Inc. 1369 1353 This configure script is free software; the Free Software Foundation 1370 1354 gives unlimited permission to copy, distribute and modify it. … … 1372 1356 exit 1373 1357 fi 1358 1359 ## ------------------------ ## 1360 ## Autoconf initialization. ## 1361 ## ------------------------ ## 1374 1362 cat >config.log <<_ACEOF 1375 1363 This file contains any messages produced by compilers while … … 1377 1365 1378 1366 It was created by $as_me, which was 1379 generated by GNU Autoconf 2.6 3. Invocation command line was1367 generated by GNU Autoconf 2.69. Invocation command line was 1380 1368 1381 1369 $ $0 $@ … … 1413 1401 IFS=$as_save_IFS 1414 1402 test -z "$as_dir" && as_dir=. 1415 $as_echo "PATH: $as_dir"1416 done1403 $as_echo "PATH: $as_dir" 1404 done 1417 1405 IFS=$as_save_IFS 1418 1406 … … 1451 1439 esac 1452 1440 case $ac_pass in 1453 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1441 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1454 1442 2) 1455 a c_configure_args1="$ac_configure_args1'$ac_arg'"1443 as_fn_append ac_configure_args1 " '$ac_arg'" 1456 1444 if test $ac_must_keep_next = true; then 1457 1445 ac_must_keep_next=false # Got value, back to normal. … … 1469 1457 esac 1470 1458 fi 1471 a c_configure_args="$ac_configure_args'$ac_arg'"1459 as_fn_append ac_configure_args " '$ac_arg'" 1472 1460 ;; 1473 1461 esac 1474 1462 done 1475 1463 done 1476 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1477 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1464 { ac_configure_args0=; unset ac_configure_args0;} 1465 { ac_configure_args1=; unset ac_configure_args1;} 1478 1466 1479 1467 # When interrupted or exit'd, cleanup temporary files, and complete … … 1487 1475 echo 1488 1476 1489 cat <<\_ASBOX 1490 ## ---------------- ## 1477 $as_echo "## ---------------- ## 1491 1478 ## Cache variables. ## 1492 ## ---------------- ## 1493 _ASBOX 1479 ## ---------------- ##" 1494 1480 echo 1495 1481 # The following way of writing the cache mishandles newlines in values, … … 1500 1486 *${as_nl}*) 1501 1487 case $ac_var in #( 1502 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&51488 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1503 1489 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1504 1490 esac … … 1506 1492 _ | IFS | as_nl) ;; #( 1507 1493 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1508 *) $as_unset $ac_var;;1494 *) { eval $ac_var=; unset $ac_var;} ;; 1509 1495 esac ;; 1510 1496 esac … … 1525 1511 echo 1526 1512 1527 cat <<\_ASBOX 1528 ## ----------------- ## 1513 $as_echo "## ----------------- ## 1529 1514 ## Output variables. ## 1530 ## ----------------- ## 1531 _ASBOX 1515 ## ----------------- ##" 1532 1516 echo 1533 1517 for ac_var in $ac_subst_vars … … 1542 1526 1543 1527 if test -n "$ac_subst_files"; then 1544 cat <<\_ASBOX 1545 ## ------------------- ## 1528 $as_echo "## ------------------- ## 1546 1529 ## File substitutions. ## 1547 ## ------------------- ## 1548 _ASBOX 1530 ## ------------------- ##" 1549 1531 echo 1550 1532 for ac_var in $ac_subst_files … … 1560 1542 1561 1543 if test -s confdefs.h; then 1562 cat <<\_ASBOX 1563 ## ----------- ## 1544 $as_echo "## ----------- ## 1564 1545 ## confdefs.h. ## 1565 ## ----------- ## 1566 _ASBOX 1546 ## ----------- ##" 1567 1547 echo 1568 1548 cat confdefs.h … … 1578 1558 ' 0 1579 1559 for ac_signal in 1 2 13 15; do 1580 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1560 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1581 1561 done 1582 1562 ac_signal=0 … … 1584 1564 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1585 1565 rm -f -r conftest* confdefs.h 1566 1567 $as_echo "/* confdefs.h */" > confdefs.h 1586 1568 1587 1569 # Predefined preprocessor variables. … … 1591 1573 _ACEOF 1592 1574 1593 1594 1575 cat >>confdefs.h <<_ACEOF 1595 1576 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1596 1577 _ACEOF 1597 1578 1598 1599 1579 cat >>confdefs.h <<_ACEOF 1600 1580 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1601 1581 _ACEOF 1602 1582 1603 1604 1583 cat >>confdefs.h <<_ACEOF 1605 1584 #define PACKAGE_STRING "$PACKAGE_STRING" 1606 1585 _ACEOF 1607 1586 1608 1609 1587 cat >>confdefs.h <<_ACEOF 1610 1588 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1589 _ACEOF 1590 1591 cat >>confdefs.h <<_ACEOF 1592 #define PACKAGE_URL "$PACKAGE_URL" 1611 1593 _ACEOF 1612 1594 … … 1617 1599 ac_site_file2=NONE 1618 1600 if test -n "$CONFIG_SITE"; then 1619 ac_site_file1=$CONFIG_SITE 1601 # We do not want a PATH search for config.site. 1602 case $CONFIG_SITE in #(( 1603 -*) ac_site_file1=./$CONFIG_SITE;; 1604 */*) ac_site_file1=$CONFIG_SITE;; 1605 *) ac_site_file1=./$CONFIG_SITE;; 1606 esac 1620 1607 elif test "x$prefix" != xNONE; then 1621 1608 ac_site_file1=$prefix/share/config.site … … 1628 1615 do 1629 1616 test "x$ac_site_file" = xNONE && continue 1630 if test -r "$ac_site_file"; then1631 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&51617 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1632 1619 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1633 1620 sed 's/^/| /' "$ac_site_file" >&5 1634 . "$ac_site_file" 1621 . "$ac_site_file" \ 1622 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1624 as_fn_error $? "failed to load site script $ac_site_file 1625 See \`config.log' for more details" "$LINENO" 5; } 1635 1626 fi 1636 1627 done 1637 1628 1638 1629 if test -r "$cache_file"; then 1639 # Some versions of bash will fail to source /dev/null (special 1640 # files actually), so we avoid doing that.1641 if test -f "$cache_file"; then1642 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&51630 # Some versions of bash will fail to source /dev/null (special files 1631 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1632 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1633 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1643 1634 $as_echo "$as_me: loading cache $cache_file" >&6;} 1644 1635 case $cache_file in … … 1648 1639 fi 1649 1640 else 1650 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&51641 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1651 1642 $as_echo "$as_me: creating cache $cache_file" >&6;} 1652 1643 >$cache_file … … 1663 1654 case $ac_old_set,$ac_new_set in 1664 1655 set,) 1665 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1666 1657 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1667 1658 ac_cache_corrupted=: ;; 1668 1659 ,set) 1669 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&51660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1670 1661 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1671 1662 ac_cache_corrupted=: ;; … … 1677 1668 ac_new_val_w=`echo x $ac_new_val` 1678 1669 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1679 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&51670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1680 1671 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1681 1672 ac_cache_corrupted=: 1682 1673 else 1683 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51674 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1684 1675 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1685 1676 eval $ac_var=\$ac_old_val 1686 1677 fi 1687 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&51678 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1688 1679 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1689 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&51680 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1690 1681 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1691 1682 fi;; … … 1699 1690 case " $ac_configure_args " in 1700 1691 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1701 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;1692 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1702 1693 esac 1703 1694 fi 1704 1695 done 1705 1696 if $ac_cache_corrupted; then 1706 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&51697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1707 1698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1708 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&51699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1709 1700 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1710 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1711 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1712 { (exit 1); exit 1; }; } 1713 fi 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1701 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1702 fi 1703 ## -------------------- ## 1704 ## Main body of script. ## 1705 ## -------------------- ## 1730 1706 1731 1707 ac_ext=c … … 1738 1714 1739 1715 # Check whether --enable-java was given. 1740 if test "${enable_java+set}" = set; then 1716 if test "${enable_java+set}" = set; then : 1741 1717 enableval=$enable_java; ENABLE_JAVA=$enableval 1742 1718 else … … 1763 1739 1764 1740 # Check whether --enable-accentfold was given. 1765 if test "${enable_accentfold+set}" = set; then 1741 if test "${enable_accentfold+set}" = set; then : 1766 1742 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1767 1743 else … … 1771 1747 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1772 1748 ENABLE_ACCENTFOLD=1 1773 cat >>confdefs.h <<\_ACEOF 1774 #define ENABLE_ACCENTFOLD /**/ 1775 _ACEOF 1749 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 1776 1750 1777 1751 else … … 1782 1756 1783 1757 # Check whether --enable-jni was given. 1784 if test "${enable_jni+set}" = set; then 1758 if test "${enable_jni+set}" = set; then : 1785 1759 enableval=$enable_jni; ENABLE_JNI=$enableval 1786 1760 else … … 1790 1764 if test $ENABLE_JAVA -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 1791 1765 ENABLE_JNI=1 1792 cat >>confdefs.h <<\_ACEOF 1793 #define ENABLE_JNI /**/ 1794 _ACEOF 1766 $as_echo "#define ENABLE_JNI /**/" >>confdefs.h 1795 1767 1796 1768 else … … 1801 1773 1802 1774 # Check whether --enable-mg was given. 1803 if test "${enable_mg+set}" = set; then 1775 if test "${enable_mg+set}" = set; then : 1804 1776 enableval=$enable_mg; ENABLE_MG=$enableval 1805 1777 else … … 1809 1781 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1810 1782 ENABLE_MG=1 1811 cat >>confdefs.h <<\_ACEOF 1812 #define ENABLE_MG /**/ 1813 _ACEOF 1783 $as_echo "#define ENABLE_MG /**/" >>confdefs.h 1814 1784 1815 1785 else … … 1820 1790 1821 1791 # Check whether --enable-mgpp was given. 1822 if test "${enable_mgpp+set}" = set; then 1792 if test "${enable_mgpp+set}" = set; then : 1823 1793 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1824 1794 else … … 1828 1798 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1829 1799 ENABLE_MGPP=1 1830 cat >>confdefs.h <<\_ACEOF 1831 #define ENABLE_MGPP /**/ 1832 _ACEOF 1800 $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h 1833 1801 1834 1802 else … … 1838 1806 1839 1807 # Check whether --enable-lucene was given. 1840 if test "${enable_lucene+set}" = set; then 1808 if test "${enable_lucene+set}" = set; then : 1841 1809 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1842 1810 else … … 1846 1814 if test $ENABLE_JAVA -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1847 1815 ENABLE_LUCENE=1 1848 cat >>confdefs.h <<\_ACEOF 1849 #define ENABLE_LUCENE /**/ 1850 _ACEOF 1816 $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h 1851 1817 1852 1818 else … … 1864 1830 # Extract the first word of "$ac_prog", so it can be a program name with args. 1865 1831 set dummy $ac_prog; ac_word=$2 1866 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&51832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1867 1833 $as_echo_n "checking for $ac_word... " >&6; } 1868 if test "${ac_cv_prog_JAVAC+set}" = set; then1834 if ${ac_cv_prog_JAVAC+:} false; then : 1869 1835 $as_echo_n "(cached) " >&6 1870 1836 else … … 1877 1843 IFS=$as_save_IFS 1878 1844 test -z "$as_dir" && as_dir=. 1879 for ac_exec_ext in '' $ac_executable_extensions; do1880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1845 for ac_exec_ext in '' $ac_executable_extensions; do 1846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1881 1847 ac_cv_prog_JAVAC="$ac_prog" 1882 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1883 1849 break 2 1884 1850 fi 1885 1851 done 1886 done1852 done 1887 1853 IFS=$as_save_IFS 1888 1854 … … 1891 1857 JAVAC=$ac_cv_prog_JAVAC 1892 1858 if test -n "$JAVAC"; then 1893 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&51859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 1894 1860 $as_echo "$JAVAC" >&6; } 1895 1861 else 1896 { $as_echo "$as_me:$ LINENO: result: no" >&51862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1897 1863 $as_echo "no" >&6; } 1898 1864 fi … … 1907 1873 # Extract the first word of "$ac_prog", so it can be a program name with args. 1908 1874 set dummy $ac_prog; ac_word=$2 1909 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&51875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1910 1876 $as_echo_n "checking for $ac_word... " >&6; } 1911 if test "${ac_cv_prog_JAVAC+set}" = set; then1877 if ${ac_cv_prog_JAVAC+:} false; then : 1912 1878 $as_echo_n "(cached) " >&6 1913 1879 else … … 1920 1886 IFS=$as_save_IFS 1921 1887 test -z "$as_dir" && as_dir=. 1922 for ac_exec_ext in '' $ac_executable_extensions; do1923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1888 for ac_exec_ext in '' $ac_executable_extensions; do 1889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1924 1890 ac_cv_prog_JAVAC="$ac_prog" 1925 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1926 1892 break 2 1927 1893 fi 1928 1894 done 1929 done1895 done 1930 1896 IFS=$as_save_IFS 1931 1897 … … 1934 1900 JAVAC=$ac_cv_prog_JAVAC 1935 1901 if test -n "$JAVAC"; then 1936 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&51902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 1937 1903 $as_echo "$JAVAC" >&6; } 1938 1904 else 1939 { $as_echo "$as_me:$ LINENO: result: no" >&51905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1940 1906 $as_echo "no" >&6; } 1941 1907 fi … … 1947 1913 1948 1914 fi 1949 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 1950 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 1951 { (exit 1); exit 1; }; } 1915 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 1952 1916 else 1953 1917 echo "Checking for javac... $JAVAC" … … 1955 1919 1956 1920 1957 { $as_echo "$as_me:$ LINENO: checking if $JAVAC works" >&51921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 1958 1922 $as_echo_n "checking if $JAVAC works... " >&6; } 1959 if test "${ac_cv_prog_javac_works+set}" = set; then1923 if ${ac_cv_prog_javac_works+:} false; then : 1960 1924 $as_echo_n "(cached) " >&6 1961 1925 else … … 1964 1928 CLASS_TEST=Test.class 1965 1929 cat << \EOF > $JAVA_TEST 1966 /* #line 19 66"configure" */1930 /* #line 1930 "configure" */ 1967 1931 public class Test { 1968 1932 } 1969 1933 EOF 1970 1934 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 1971 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&51935 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 1972 1936 (eval $ac_try) 2>&5 1973 1937 ac_status=$? 1974 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&51975 (exit $ac_status); }; } >/dev/null 2>&1; then1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1939 test $ac_status = 0; }; } >/dev/null 2>&1; then 1976 1940 ac_cv_prog_javac_works=yes 1977 1941 else 1978 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 1979 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 1980 { (exit 1); exit 1; }; } 1942 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 1981 1943 echo "configure: failed program was:" >&5 1982 1944 cat $JAVA_TEST >&5 … … 1985 1947 1986 1948 fi 1987 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_javac_works" >&51949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 1988 1950 $as_echo "$ac_cv_prog_javac_works" >&6; } 1989 1951 if test "x$JAVACFLAGS" = x ; then 1990 JAVACFLAGS="-source 1. 4 -target 1.4"1952 JAVACFLAGS="-source 1.6 -target 1.6" 1991 1953 fi 1992 1954 … … 2000 1962 # Extract the first word of "$ac_prog", so it can be a program name with args. 2001 1963 set dummy $ac_prog; ac_word=$2 2002 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2003 1965 $as_echo_n "checking for $ac_word... " >&6; } 2004 if test "${ac_cv_prog_JAVA+set}" = set; then1966 if ${ac_cv_prog_JAVA+:} false; then : 2005 1967 $as_echo_n "(cached) " >&6 2006 1968 else … … 2013 1975 IFS=$as_save_IFS 2014 1976 test -z "$as_dir" && as_dir=. 2015 for ac_exec_ext in '' $ac_executable_extensions; do2016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1977 for ac_exec_ext in '' $ac_executable_extensions; do 1978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2017 1979 ac_cv_prog_JAVA="$ac_prog" 2018 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2019 1981 break 2 2020 1982 fi 2021 1983 done 2022 done1984 done 2023 1985 IFS=$as_save_IFS 2024 1986 … … 2027 1989 JAVA=$ac_cv_prog_JAVA 2028 1990 if test -n "$JAVA"; then 2029 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&51991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 2030 1992 $as_echo "$JAVA" >&6; } 2031 1993 else 2032 { $as_echo "$as_me:$ LINENO: result: no" >&51994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2033 1995 $as_echo "no" >&6; } 2034 1996 fi … … 2043 2005 # Extract the first word of "$ac_prog", so it can be a program name with args. 2044 2006 set dummy $ac_prog; ac_word=$2 2045 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2046 2008 $as_echo_n "checking for $ac_word... " >&6; } 2047 if test "${ac_cv_prog_JAVA+set}" = set; then2009 if ${ac_cv_prog_JAVA+:} false; then : 2048 2010 $as_echo_n "(cached) " >&6 2049 2011 else … … 2056 2018 IFS=$as_save_IFS 2057 2019 test -z "$as_dir" && as_dir=. 2058 for ac_exec_ext in '' $ac_executable_extensions; do2059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2020 for ac_exec_ext in '' $ac_executable_extensions; do 2021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2060 2022 ac_cv_prog_JAVA="$ac_prog" 2061 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2062 2024 break 2 2063 2025 fi 2064 2026 done 2065 done2027 done 2066 2028 IFS=$as_save_IFS 2067 2029 … … 2070 2032 JAVA=$ac_cv_prog_JAVA 2071 2033 if test -n "$JAVA"; then 2072 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&52034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 2073 2035 $as_echo "$JAVA" >&6; } 2074 2036 else 2075 { $as_echo "$as_me:$ LINENO: result: no" >&52037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2076 2038 $as_echo "no" >&6; } 2077 2039 fi … … 2083 2045 2084 2046 fi 2085 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 2086 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 2087 { (exit 1); exit 1; }; } 2047 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 2088 2048 fi 2089 2049 … … 2091 2051 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 2092 2052 set dummy uudecode$EXEEXT; ac_word=$2 2093 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2094 2054 $as_echo_n "checking for $ac_word... " >&6; } 2095 if test "${ac_cv_prog_uudecode+set}" = set; then2055 if ${ac_cv_prog_uudecode+:} false; then : 2096 2056 $as_echo_n "(cached) " >&6 2097 2057 else … … 2104 2064 IFS=$as_save_IFS 2105 2065 test -z "$as_dir" && as_dir=. 2106 for ac_exec_ext in '' $ac_executable_extensions; do2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2066 for ac_exec_ext in '' $ac_executable_extensions; do 2067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2108 2068 ac_cv_prog_uudecode="yes" 2109 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2110 2070 break 2 2111 2071 fi 2112 2072 done 2113 done2073 done 2114 2074 IFS=$as_save_IFS 2115 2075 … … 2118 2078 uudecode=$ac_cv_prog_uudecode 2119 2079 if test -n "$uudecode"; then 2120 { $as_echo "$as_me:$ LINENO: result: $uudecode" >&52080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 2121 2081 $as_echo "$uudecode" >&6; } 2122 2082 else 2123 { $as_echo "$as_me:$ LINENO: result: no" >&52083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2124 2084 $as_echo "no" >&6; } 2125 2085 fi … … 2127 2087 2128 2088 if test x$uudecode = xyes; then 2129 { $as_echo "$as_me:$ LINENO: checking if uudecode can decode base 64 file" >&52089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5 2130 2090 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 2131 if test "${ac_cv_prog_uudecode_base64+set}" = set; then2091 if ${ac_cv_prog_uudecode_base64+:} false; then : 2132 2092 $as_echo_n "(cached) " >&6 2133 2093 else … … 2147 2107 ac_cv_prog_uudecode_base64=yes 2148 2108 else 2149 echo "configure: 21 49: uudecode had trouble decoding base 64 file 'Test.uue'" >&52109 echo "configure: 2109: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 2150 2110 echo "configure: failed file was:" >&5 2151 2111 cat Test.uue >&5 … … 2154 2114 rm -f Test.uue 2155 2115 fi 2156 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_uudecode_base64" >&52116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5 2157 2117 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 2158 2118 fi 2159 2119 if test x$ac_cv_prog_uudecode_base64 != xyes; then 2160 2120 rm -f Test.class 2161 { $as_echo "$as_me:$ LINENO: WARNING: I have to compile Test.class from scratch" >&52121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5 2162 2122 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 2163 2123 if test x$ac_cv_prog_javac_works = xno; then 2164 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 2165 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 2166 { (exit 1); exit 1; }; } 2124 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 2167 2125 fi 2168 2126 if test x$ac_cv_prog_javac_works = x; then … … 2174 2132 # Extract the first word of "$ac_prog", so it can be a program name with args. 2175 2133 set dummy $ac_prog; ac_word=$2 2176 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2177 2135 $as_echo_n "checking for $ac_word... " >&6; } 2178 if test "${ac_cv_prog_JAVAC+set}" = set; then2136 if ${ac_cv_prog_JAVAC+:} false; then : 2179 2137 $as_echo_n "(cached) " >&6 2180 2138 else … … 2187 2145 IFS=$as_save_IFS 2188 2146 test -z "$as_dir" && as_dir=. 2189 for ac_exec_ext in '' $ac_executable_extensions; do2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2147 for ac_exec_ext in '' $ac_executable_extensions; do 2148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2191 2149 ac_cv_prog_JAVAC="$ac_prog" 2192 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2193 2151 break 2 2194 2152 fi 2195 2153 done 2196 done2154 done 2197 2155 IFS=$as_save_IFS 2198 2156 … … 2201 2159 JAVAC=$ac_cv_prog_JAVAC 2202 2160 if test -n "$JAVAC"; then 2203 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&52161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 2204 2162 $as_echo "$JAVAC" >&6; } 2205 2163 else 2206 { $as_echo "$as_me:$ LINENO: result: no" >&52164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2207 2165 $as_echo "no" >&6; } 2208 2166 fi … … 2217 2175 # Extract the first word of "$ac_prog", so it can be a program name with args. 2218 2176 set dummy $ac_prog; ac_word=$2 2219 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2220 2178 $as_echo_n "checking for $ac_word... " >&6; } 2221 if test "${ac_cv_prog_JAVAC+set}" = set; then2179 if ${ac_cv_prog_JAVAC+:} false; then : 2222 2180 $as_echo_n "(cached) " >&6 2223 2181 else … … 2230 2188 IFS=$as_save_IFS 2231 2189 test -z "$as_dir" && as_dir=. 2232 for ac_exec_ext in '' $ac_executable_extensions; do2233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2190 for ac_exec_ext in '' $ac_executable_extensions; do 2191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2234 2192 ac_cv_prog_JAVAC="$ac_prog" 2235 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2236 2194 break 2 2237 2195 fi 2238 2196 done 2239 done2197 done 2240 2198 IFS=$as_save_IFS 2241 2199 … … 2244 2202 JAVAC=$ac_cv_prog_JAVAC 2245 2203 if test -n "$JAVAC"; then 2246 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&52204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 2247 2205 $as_echo "$JAVAC" >&6; } 2248 2206 else 2249 { $as_echo "$as_me:$ LINENO: result: no" >&52207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2250 2208 $as_echo "no" >&6; } 2251 2209 fi … … 2257 2215 2258 2216 fi 2259 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 2260 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 2261 { (exit 1); exit 1; }; } 2217 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 2262 2218 else 2263 2219 echo "Checking for javac... $JAVAC" … … 2265 2221 2266 2222 2267 { $as_echo "$as_me:$ LINENO: checking if $JAVAC works" >&52223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 2268 2224 $as_echo_n "checking if $JAVAC works... " >&6; } 2269 if test "${ac_cv_prog_javac_works+set}" = set; then2225 if ${ac_cv_prog_javac_works+:} false; then : 2270 2226 $as_echo_n "(cached) " >&6 2271 2227 else … … 2274 2230 CLASS_TEST=Test.class 2275 2231 cat << \EOF > $JAVA_TEST 2276 /* #line 22 76"configure" */2232 /* #line 2232 "configure" */ 2277 2233 public class Test { 2278 2234 } 2279 2235 EOF 2280 2236 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52237 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 2282 2238 (eval $ac_try) 2>&5 2283 2239 ac_status=$? 2284 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52285 (exit $ac_status); }; } >/dev/null 2>&1; then2240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2241 test $ac_status = 0; }; } >/dev/null 2>&1; then 2286 2242 ac_cv_prog_javac_works=yes 2287 2243 else 2288 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 2289 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 2290 { (exit 1); exit 1; }; } 2244 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2291 2245 echo "configure: failed program was:" >&5 2292 2246 cat $JAVA_TEST >&5 … … 2295 2249 2296 2250 fi 2297 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_javac_works" >&52251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 2298 2252 $as_echo "$ac_cv_prog_javac_works" >&6; } 2299 2253 if test "x$JAVACFLAGS" = x ; then 2300 JAVACFLAGS="-source 1. 4 -target 1.4"2254 JAVACFLAGS="-source 1.6 -target 1.6" 2301 2255 fi 2302 2256 … … 2305 2259 fi 2306 2260 fi 2307 { $as_echo "$as_me:$ LINENO: checking if $JAVA works" >&52261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5 2308 2262 $as_echo_n "checking if $JAVA works... " >&6; } 2309 if test "${ac_cv_prog_java_works+set}" = set; then2263 if ${ac_cv_prog_java_works+:} false; then : 2310 2264 $as_echo_n "(cached) " >&6 2311 2265 else … … 2315 2269 TEST=Test 2316 2270 cat << \EOF > $JAVA_TEST 2317 /* [#]line 2 317"configure" */2271 /* [#]line 2271 "configure" */ 2318 2272 public class Test { 2319 2273 public static void main (String args[]) { … … 2323 2277 if test x$ac_cv_prog_uudecode_base64 != xyes; then 2324 2278 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52279 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 2326 2280 (eval $ac_try) 2>&5 2327 2281 ac_status=$? 2328 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52329 (exit $ac_status); }; } && test -s $CLASS_TEST; then2282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2283 test $ac_status = 0; }; } && test -s $CLASS_TEST; then 2330 2284 : 2331 2285 else 2332 2286 echo "configure: failed program was:" >&5 2333 2287 cat $JAVA_TEST >&5 2334 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 2335 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 2336 { (exit 1); exit 1; }; } 2288 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2337 2289 fi 2338 2290 fi 2339 2291 if { ac_try='$JAVA $JAVAFLAGS $TEST' 2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52292 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 2341 2293 (eval $ac_try) 2>&5 2342 2294 ac_status=$? 2343 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52344 (exit $ac_status); }; } >/dev/null 2>&1; then2295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2296 test $ac_status = 0; }; } >/dev/null 2>&1; then 2345 2297 ac_cv_prog_java_works=yes 2346 2298 else 2347 2299 echo "configure: failed program was:" >&5 2348 2300 cat $JAVA_TEST >&5 2349 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 2350 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 2351 { (exit 1); exit 1; }; } 2301 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2352 2302 fi 2353 2303 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 2354 2304 2355 2305 fi 2356 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_java_works" >&52306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5 2357 2307 $as_echo "$ac_cv_prog_java_works" >&6; } 2358 2308 … … 2363 2313 2364 2314 # Check whether --with-unac was given. 2365 if test "${with_unac+set}" = set; then 2315 if test "${with_unac+set}" = set; then : 2366 2316 withval=$with_unac; UNAC_DIR=$withval 2367 2317 fi … … 2370 2320 2371 2321 # Check whether --with-libiconv was given. 2372 if test "${with_libiconv+set}" = set; then 2322 if test "${with_libiconv+set}" = set; then : 2373 2323 withval=$with_libiconv; LIBICONV_DIR=$withval 2374 2324 fi … … 2393 2343 done 2394 2344 if test -z "$ac_aux_dir"; then 2395 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2396 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2397 { (exit 1); exit 1; }; } 2345 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2398 2346 fi 2399 2347 … … 2470 2418 *${as_nl}*) 2471 2419 case $ac_var in #( 2472 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52420 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2473 2421 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2474 2422 esac … … 2476 2424 _ | IFS | as_nl) ;; #( 2477 2425 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2478 *) $as_unset $ac_var;;2426 *) { eval $ac_var=; unset $ac_var;} ;; 2479 2427 esac ;; 2480 2428 esac … … 2484 2432 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2485 2433 *${as_nl}ac_space=\ *) 2486 # `set' does not quote correctly, so add quotes (double-quote2487 # substitution turns \\\\ into \\, and sed turns \\ into \ ).2434 # `set' does not quote correctly, so add quotes: double-quote 2435 # substitution turns \\\\ into \\, and sed turns \\ into \. 2488 2436 sed -n \ 2489 2437 "s/'/'\\\\''/g; … … 2507 2455 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2508 2456 if test -w "$cache_file"; then 2509 test "x$cache_file" != "x/dev/null" &&2510 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&52457 if test "x$cache_file" != "x/dev/null"; then 2458 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 2511 2459 $as_echo "$as_me: updating cache $cache_file" >&6;} 2512 cat confcache >$cache_file 2460 if test ! -f "$cache_file" || test -h "$cache_file"; then 2461 cat confcache >"$cache_file" 2462 else 2463 case $cache_file in #( 2464 */* | ?:*) 2465 mv -f confcache "$cache_file"$$ && 2466 mv -f "$cache_file"$$ "$cache_file" ;; #( 2467 *) 2468 mv -f confcache "$cache_file" ;; 2469 esac 2470 fi 2471 fi 2513 2472 else 2514 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&52473 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 2515 2474 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 2516 2475 fi … … 2562 2521 ac_libobjs= 2563 2522 ac_ltlibobjs= 2523 U= 2564 2524 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2565 2525 # 1. Remove the extension, and $U if already installed. … … 2568 2528 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2569 2529 # will be set to the directory where LIBOBJS objects are built. 2570 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"2571 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'2530 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2531 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 2572 2532 done 2573 2533 LIBOBJS=$ac_libobjs … … 2577 2537 2578 2538 2579 : ${CONFIG_STATUS=./config.status}2539 : "${CONFIG_STATUS=./config.status}" 2580 2540 ac_write_fail=0 2581 2541 ac_clean_files_save=$ac_clean_files 2582 2542 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2583 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&52543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 2584 2544 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 2585 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2545 as_write_fail=0 2546 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 2586 2547 #! $SHELL 2587 2548 # Generated by $as_me. … … 2593 2554 ac_cs_recheck=false 2594 2555 ac_cs_silent=false 2556 2595 2557 SHELL=\${CONFIG_SHELL-$SHELL} 2596 _ACEOF 2597 2598 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=12599 ## -------------------- -##2600 ## M4sh Initialization. 2601 ## -------------------- -##2558 export SHELL 2559 _ASEOF 2560 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 2561 ## -------------------- ## 2562 ## M4sh Initialization. ## 2563 ## -------------------- ## 2602 2564 2603 2565 # Be more Bourne compatible 2604 2566 DUALCASE=1; export DUALCASE # for MKS sh 2605 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2567 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 2606 2568 emulate sh 2607 2569 NULLCMD=: … … 2611 2573 setopt NO_GLOB_SUBST 2612 2574 else 2613 case `(set -o) 2>/dev/null` in 2614 *posix*) set -o posix ;; 2575 case `(set -o) 2>/dev/null` in #( 2576 *posix*) : 2577 set -o posix ;; #( 2578 *) : 2579 ;; 2615 2580 esac 2616 2617 fi 2618 2619 2620 2621 2622 # PATH needs CR 2623 # Avoid depending upon Character Ranges. 2624 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2625 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2626 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2627 as_cr_digits='0123456789' 2628 as_cr_alnum=$as_cr_Letters$as_cr_digits 2581 fi 2582 2629 2583 2630 2584 as_nl=' … … 2635 2589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 2636 2590 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 2637 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 2591 # Prefer a ksh shell builtin over an external printf program on Solaris, 2592 # but without wasting forks for bash or zsh. 2593 if test -z "$BASH_VERSION$ZSH_VERSION" \ 2594 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 2595 as_echo='print -r --' 2596 as_echo_n='print -rn --' 2597 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 2638 2598 as_echo='printf %s\n' 2639 2599 as_echo_n='printf %s' … … 2646 2606 as_echo_n_body='eval 2647 2607 arg=$1; 2648 case $arg in 2608 case $arg in #( 2649 2609 *"$as_nl"*) 2650 2610 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 2669 2629 fi 2670 2630 2671 # Support unset when possible.2672 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then2673 as_unset=unset2674 else2675 as_unset=false2676 fi2677 2678 2631 2679 2632 # IFS … … 2685 2638 2686 2639 # Find who we are. Look in the path if we contain no directory separator. 2687 case $0 in 2640 as_myself= 2641 case $0 in #(( 2688 2642 *[\\/]* ) as_myself=$0 ;; 2689 2643 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2692 2646 IFS=$as_save_IFS 2693 2647 test -z "$as_dir" && as_dir=. 2694 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break2695 done2648 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2649 done 2696 2650 IFS=$as_save_IFS 2697 2651 … … 2705 2659 if test ! -f "$as_myself"; then 2706 2660 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2707 { (exit 1); exit 1; } 2708 fi 2709 2710 # Work around bugs in pre-3.0 UWIN ksh. 2711 for as_var in ENV MAIL MAILPATH 2712 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2661 exit 1 2662 fi 2663 2664 # Unset variables that we do not need and which cause bugs (e.g. in 2665 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 2666 # suppresses any "Segmentation fault" message there. '((' could 2667 # trigger a bug in pdksh 5.2.14. 2668 for as_var in BASH_ENV ENV MAIL MAILPATH 2669 do eval test x\${$as_var+set} = xset \ 2670 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 2713 2671 done 2714 2672 PS1='$ ' … … 2722 2680 export LANGUAGE 2723 2681 2724 # Required to use basename. 2682 # CDPATH. 2683 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 2684 2685 2686 # as_fn_error STATUS ERROR [LINENO LOG_FD] 2687 # ---------------------------------------- 2688 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2689 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2690 # script with STATUS, using 1 if that was 0. 2691 as_fn_error () 2692 { 2693 as_status=$1; test $as_status -eq 0 && as_status=1 2694 if test "$4"; then 2695 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2696 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 2697 fi 2698 $as_echo "$as_me: error: $2" >&2 2699 as_fn_exit $as_status 2700 } # as_fn_error 2701 2702 2703 # as_fn_set_status STATUS 2704 # ----------------------- 2705 # Set $? to STATUS, without forking. 2706 as_fn_set_status () 2707 { 2708 return $1 2709 } # as_fn_set_status 2710 2711 # as_fn_exit STATUS 2712 # ----------------- 2713 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2714 as_fn_exit () 2715 { 2716 set +e 2717 as_fn_set_status $1 2718 exit $1 2719 } # as_fn_exit 2720 2721 # as_fn_unset VAR 2722 # --------------- 2723 # Portably unset VAR. 2724 as_fn_unset () 2725 { 2726 { eval $1=; unset $1;} 2727 } 2728 as_unset=as_fn_unset 2729 # as_fn_append VAR VALUE 2730 # ---------------------- 2731 # Append the text in VALUE to the end of the definition contained in VAR. Take 2732 # advantage of any shell optimizations that allow amortized linear growth over 2733 # repeated appends, instead of the typical quadratic growth present in naive 2734 # implementations. 2735 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 2736 eval 'as_fn_append () 2737 { 2738 eval $1+=\$2 2739 }' 2740 else 2741 as_fn_append () 2742 { 2743 eval $1=\$$1\$2 2744 } 2745 fi # as_fn_append 2746 2747 # as_fn_arith ARG... 2748 # ------------------ 2749 # Perform arithmetic evaluation on the ARGs, and store the result in the 2750 # global $as_val. Take advantage of shells that can avoid forks. The arguments 2751 # must be portable across $(()) and expr. 2752 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 2753 eval 'as_fn_arith () 2754 { 2755 as_val=$(( $* )) 2756 }' 2757 else 2758 as_fn_arith () 2759 { 2760 as_val=`expr "$@" || test $? -eq 1` 2761 } 2762 fi # as_fn_arith 2763 2764 2725 2765 if expr a : '\(a\)' >/dev/null 2>&1 && 2726 2766 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 2736 2776 fi 2737 2777 2738 2739 # Name of the executable. 2778 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2779 as_dirname=dirname 2780 else 2781 as_dirname=false 2782 fi 2783 2740 2784 as_me=`$as_basename -- "$0" || 2741 2785 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 2757 2801 s/.*/./; q'` 2758 2802 2759 # CDPATH. 2760 $as_unset CDPATH 2761 2762 2763 2764 as_lineno_1=$LINENO 2765 as_lineno_2=$LINENO 2766 test "x$as_lineno_1" != "x$as_lineno_2" && 2767 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 2768 2769 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 2770 # uniformly replaced by the line number. The first 'sed' inserts a 2771 # line-number line after each line using $LINENO; the second 'sed' 2772 # does the real work. The second script uses 'N' to pair each 2773 # line-number line with the line containing $LINENO, and appends 2774 # trailing '-' during substitution so that $LINENO is not a special 2775 # case at line end. 2776 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 2777 # scripts with optimization help from Paolo Bonzini. Blame Lee 2778 # E. McMahon (1931-1989) for sed's syntax. :-) 2779 sed -n ' 2780 p 2781 /[$]LINENO/= 2782 ' <$as_myself | 2783 sed ' 2784 s/[$]LINENO.*/&-/ 2785 t lineno 2786 b 2787 :lineno 2788 N 2789 :loop 2790 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 2791 t loop 2792 s/-\n.*// 2793 ' >$as_me.lineno && 2794 chmod +x "$as_me.lineno" || 2795 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 2796 { (exit 1); exit 1; }; } 2797 2798 # Don't try to exec as it changes $[0], causing all sort of problems 2799 # (the dirname of $[0] is not the place where we might find the 2800 # original and so on. Autoconf is especially sensitive to this). 2801 . "./$as_me.lineno" 2802 # Exit status is that of the last command. 2803 exit 2804 } 2805 2806 2807 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2808 as_dirname=dirname 2809 else 2810 as_dirname=false 2811 fi 2803 # Avoid depending upon Character Ranges. 2804 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2805 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2806 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2807 as_cr_digits='0123456789' 2808 as_cr_alnum=$as_cr_Letters$as_cr_digits 2812 2809 2813 2810 ECHO_C= ECHO_N= ECHO_T= 2814 case `echo -n x` in 2811 case `echo -n x` in #((((( 2815 2812 -n*) 2816 case `echo 'x \c'` in2813 case `echo 'xy\c'` in 2817 2814 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2818 *) ECHO_C='\c';; 2815 xy) ECHO_C='\c';; 2816 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 2817 ECHO_T=' ';; 2819 2818 esac;; 2820 2819 *) 2821 2820 ECHO_N='-n';; 2822 2821 esac 2823 if expr a : '\(a\)' >/dev/null 2>&1 &&2824 test "X`expr 00001 : '.*\(...\)'`" = X001; then2825 as_expr=expr2826 else2827 as_expr=false2828 fi2829 2822 2830 2823 rm -f conf$$ conf$$.exe conf$$.file … … 2841 2834 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2842 2835 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2843 # In both cases, we have to default to `cp -p '.2836 # In both cases, we have to default to `cp -pR'. 2844 2837 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2845 as_ln_s='cp -p '2838 as_ln_s='cp -pR' 2846 2839 elif ln conf$$.file conf$$ 2>/dev/null; then 2847 2840 as_ln_s=ln 2848 2841 else 2849 as_ln_s='cp -p '2842 as_ln_s='cp -pR' 2850 2843 fi 2851 2844 else 2852 as_ln_s='cp -p '2845 as_ln_s='cp -pR' 2853 2846 fi 2854 2847 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 2855 2848 rmdir conf$$.dir 2>/dev/null 2856 2849 2857 if mkdir -p . 2>/dev/null; then 2858 as_mkdir_p=: 2859 else 2860 test -d ./-p && rmdir ./-p 2861 as_mkdir_p=false 2862 fi 2863 2864 if test -x / >/dev/null 2>&1; then 2865 as_test_x='test -x' 2866 else 2867 if ls -dL / >/dev/null 2>&1; then 2868 as_ls_L_option=L 2869 else 2870 as_ls_L_option= 2871 fi 2872 as_test_x=' 2873 eval sh -c '\'' 2874 if test -d "$1"; then 2875 test -d "$1/."; 2876 else 2877 case $1 in 2878 -*)set "./$1";; 2879 esac; 2880 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 2881 ???[sx]*):;;*)false;;esac;fi 2882 '\'' sh 2883 ' 2884 fi 2885 as_executable_p=$as_test_x 2886 2887 # Sed expression to map a string onto a valid CPP name. 2888 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2889 2890 # Sed expression to map a string onto a valid variable name. 2891 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2892 2893 2894 exec 6>&1 2895 2896 # Save the log message, to keep $[0] and so on meaningful, and to 2897 # report actual input values of CONFIG_FILES etc. instead of their 2898 # values after options handling. 2899 ac_log=" 2900 This file was extended by $as_me, which was 2901 generated by GNU Autoconf 2.63. Invocation command line was 2902 2903 CONFIG_FILES = $CONFIG_FILES 2904 CONFIG_HEADERS = $CONFIG_HEADERS 2905 CONFIG_LINKS = $CONFIG_LINKS 2906 CONFIG_COMMANDS = $CONFIG_COMMANDS 2907 $ $0 $@ 2908 2909 on `(hostname || uname -n) 2>/dev/null | sed 1q` 2910 " 2911 2912 _ACEOF 2913 2914 case $ac_config_files in *" 2915 "*) set x $ac_config_files; shift; ac_config_files=$*;; 2916 esac 2917 2918 2919 2920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2921 # Files that config.status was made for. 2922 config_files="$ac_config_files" 2923 2924 _ACEOF 2925 2926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2927 ac_cs_usage="\ 2928 \`$as_me' instantiates files from templates according to the 2929 current configuration. 2930 2931 Usage: $0 [OPTION]... [FILE]... 2932 2933 -h, --help print this help, then exit 2934 -V, --version print version number and configuration settings, then exit 2935 -q, --quiet, --silent 2936 do not print progress messages 2937 -d, --debug don't remove temporary files 2938 --recheck update $as_me by reconfiguring in the same conditions 2939 --file=FILE[:TEMPLATE] 2940 instantiate the configuration file FILE 2941 2942 Configuration files: 2943 $config_files 2944 2945 Report bugs to <[email protected]>." 2946 2947 _ACEOF 2948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2949 ac_cs_version="\\ 2950 config.status 2951 configured by $0, generated by GNU Autoconf 2.63, 2952 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 2953 2954 Copyright (C) 2008 Free Software Foundation, Inc. 2955 This config.status script is free software; the Free Software Foundation 2956 gives unlimited permission to copy, distribute and modify it." 2957 2958 ac_pwd='$ac_pwd' 2959 srcdir='$srcdir' 2960 test -n "\$AWK" || AWK=awk 2961 _ACEOF 2962 2963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2964 # The default lists apply if the user does not specify any file. 2965 ac_need_defaults=: 2966 while test $# != 0 2967 do 2968 case $1 in 2969 --*=*) 2970 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2971 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2972 ac_shift=: 2973 ;; 2974 *) 2975 ac_option=$1 2976 ac_optarg=$2 2977 ac_shift=shift 2978 ;; 2979 esac 2980 2981 case $ac_option in 2982 # Handling of the options. 2983 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2984 ac_cs_recheck=: ;; 2985 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2986 $as_echo "$ac_cs_version"; exit ;; 2987 --debug | --debu | --deb | --de | --d | -d ) 2988 debug=: ;; 2989 --file | --fil | --fi | --f ) 2990 $ac_shift 2991 case $ac_optarg in 2992 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 2993 esac 2994 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 2995 ac_need_defaults=false;; 2996 --he | --h | --help | --hel | -h ) 2997 $as_echo "$ac_cs_usage"; exit ;; 2998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2999 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3000 ac_cs_silent=: ;; 3001 3002 # This is an error. 3003 -*) { $as_echo "$as_me: error: unrecognized option: $1 3004 Try \`$0 --help' for more information." >&2 3005 { (exit 1); exit 1; }; } ;; 3006 3007 *) ac_config_targets="$ac_config_targets $1" 3008 ac_need_defaults=false ;; 3009 3010 esac 3011 shift 3012 done 3013 3014 ac_configure_extra_args= 3015 3016 if $ac_cs_silent; then 3017 exec 6>/dev/null 3018 ac_configure_extra_args="$ac_configure_extra_args --silent" 3019 fi 3020 3021 _ACEOF 3022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3023 if \$ac_cs_recheck; then 3024 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3025 shift 3026 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3027 CONFIG_SHELL='$SHELL' 3028 export CONFIG_SHELL 3029 exec "\$@" 3030 fi 3031 3032 _ACEOF 3033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3034 exec 5>>config.log 2850 2851 # as_fn_mkdir_p 2852 # ------------- 2853 # Create "$as_dir" as a directory, including parents if necessary. 2854 as_fn_mkdir_p () 3035 2855 { 3036 echo 3037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3038 ## Running $as_me. ## 3039 _ASBOX 3040 $as_echo "$ac_log" 3041 } >&5 3042 3043 _ACEOF 3044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3045 _ACEOF 3046 3047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3048 3049 # Handling of arguments. 3050 for ac_config_target in $ac_config_targets 3051 do 3052 case $ac_config_target in 3053 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3054 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 3055 3056 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3057 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3058 { (exit 1); exit 1; }; };; 3059 esac 3060 done 3061 3062 3063 # If the user did not use the arguments to specify the items to instantiate, 3064 # then the envvar interface is used. Set only those that are not. 3065 # We use the long form for the default assignment because of an extremely 3066 # bizarre bug on SunOS 4.1.3. 3067 if $ac_need_defaults; then 3068 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3069 fi 3070 3071 # Have a temporary directory for convenience. Make it in the build tree 3072 # simply because there is no reason against having it here, and in addition, 3073 # creating and moving files from /tmp can sometimes cause problems. 3074 # Hook for its removal unless debugging. 3075 # Note that there is a small window in which the directory will not be cleaned: 3076 # after its creation but before its name has been assigned to `$tmp'. 3077 $debug || 3078 { 3079 tmp= 3080 trap 'exit_status=$? 3081 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3082 ' 0 3083 trap '{ (exit 1); exit 1; }' 1 2 13 15 3084 } 3085 # Create a (secure) tmp directory for tmp files. 3086 3087 { 3088 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3089 test -n "$tmp" && test -d "$tmp" 3090 } || 3091 { 3092 tmp=./conf$$-$RANDOM 3093 (umask 077 && mkdir "$tmp") 3094 } || 3095 { 3096 $as_echo "$as_me: cannot create a temporary directory in ." >&2 3097 { (exit 1); exit 1; } 3098 } 3099 3100 # Set up the scripts for CONFIG_FILES section. 3101 # No need to generate them if there are no CONFIG_FILES. 3102 # This happens for instance with `./config.status config.h'. 3103 if test -n "$CONFIG_FILES"; then 3104 3105 3106 ac_cr=' 3107 ' 3108 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3109 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3110 ac_cs_awk_cr='\\r' 3111 else 3112 ac_cs_awk_cr=$ac_cr 3113 fi 3114 3115 echo 'BEGIN {' >"$tmp/subs1.awk" && 3116 _ACEOF 3117 3118 3119 { 3120 echo "cat >conf$$subs.awk <<_ACEOF" && 3121 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3122 echo "_ACEOF" 3123 } >conf$$subs.sh || 3124 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3125 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3126 { (exit 1); exit 1; }; } 3127 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 3128 ac_delim='%!_!# ' 3129 for ac_last_try in false false false false false :; do 3130 . ./conf$$subs.sh || 3131 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3132 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3133 { (exit 1); exit 1; }; } 3134 3135 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3136 if test $ac_delim_n = $ac_delim_num; then 3137 break 3138 elif $ac_last_try; then 3139 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3140 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3141 { (exit 1); exit 1; }; } 3142 else 3143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3144 fi 3145 done 3146 rm -f conf$$subs.sh 3147 3148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3149 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 3150 _ACEOF 3151 sed -n ' 3152 h 3153 s/^/S["/; s/!.*/"]=/ 3154 p 3155 g 3156 s/^[^!]*!// 3157 :repl 3158 t repl 3159 s/'"$ac_delim"'$// 3160 t delim 3161 :nl 3162 h 3163 s/\(.\{148\}\).*/\1/ 3164 t more1 3165 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3166 p 3167 n 3168 b repl 3169 :more1 3170 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3171 p 3172 g 3173 s/.\{148\}// 3174 t nl 3175 :delim 3176 h 3177 s/\(.\{148\}\).*/\1/ 3178 t more2 3179 s/["\\]/\\&/g; s/^/"/; s/$/"/ 3180 p 3181 b 3182 :more2 3183 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3184 p 3185 g 3186 s/.\{148\}// 3187 t delim 3188 ' <conf$$subs.awk | sed ' 3189 /^[^""]/{ 3190 N 3191 s/\n// 3192 } 3193 ' >>$CONFIG_STATUS || ac_write_fail=1 3194 rm -f conf$$subs.awk 3195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3196 _ACAWK 3197 cat >>"\$tmp/subs1.awk" <<_ACAWK && 3198 for (key in S) S_is_set[key] = 1 3199 FS = "" 3200 3201 } 3202 { 3203 line = $ 0 3204 nfields = split(line, field, "@") 3205 substed = 0 3206 len = length(field[1]) 3207 for (i = 2; i < nfields; i++) { 3208 key = field[i] 3209 keylen = length(key) 3210 if (S_is_set[key]) { 3211 value = S[key] 3212 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3213 len += length(value) + length(field[++i]) 3214 substed = 1 3215 } else 3216 len += 1 + keylen 3217 } 3218 3219 print line 3220 } 3221 3222 _ACAWK 3223 _ACEOF 3224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3225 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3226 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3227 else 3228 cat 3229 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 3230 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 3231 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 3232 { (exit 1); exit 1; }; } 3233 _ACEOF 3234 3235 # VPATH may cause trouble with some makes, so we remove $(srcdir), 3236 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3237 # trailing colons and then remove the whole line if VPATH becomes empty 3238 # (actually we leave an empty line to preserve line numbers). 3239 if test "x$srcdir" = x.; then 3240 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3241 s/:*\$(srcdir):*/:/ 3242 s/:*\${srcdir}:*/:/ 3243 s/:*@srcdir@:*/:/ 3244 s/^\([^=]*=[ ]*\):*/\1/ 3245 s/:*$// 3246 s/^[^=]*=[ ]*$// 3247 }' 3248 fi 3249 3250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3251 fi # test -n "$CONFIG_FILES" 3252 3253 3254 eval set X " :F $CONFIG_FILES " 3255 shift 3256 for ac_tag 3257 do 3258 case $ac_tag in 3259 :[FHLC]) ac_mode=$ac_tag; continue;; 3260 esac 3261 case $ac_mode$ac_tag in 3262 :[FHL]*:*);; 3263 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 3264 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 3265 { (exit 1); exit 1; }; };; 3266 :[FH]-) ac_tag=-:-;; 3267 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3268 esac 3269 ac_save_IFS=$IFS 3270 IFS=: 3271 set x $ac_tag 3272 IFS=$ac_save_IFS 3273 shift 3274 ac_file=$1 3275 shift 3276 3277 case $ac_mode in 3278 :L) ac_source=$1;; 3279 :[FH]) 3280 ac_file_inputs= 3281 for ac_f 3282 do 3283 case $ac_f in 3284 -) ac_f="$tmp/stdin";; 3285 *) # Look for the file first in the build tree, then in the source tree 3286 # (if the path is not absolute). The absolute path cannot be DOS-style, 3287 # because $ac_f cannot contain `:'. 3288 test -f "$ac_f" || 3289 case $ac_f in 3290 [\\/$]*) false;; 3291 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3292 esac || 3293 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 3294 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 3295 { (exit 1); exit 1; }; };; 3296 esac 3297 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3298 ac_file_inputs="$ac_file_inputs '$ac_f'" 3299 done 3300 3301 # Let's still pretend it is `configure' which instantiates (i.e., don't 3302 # use $as_me), people would be surprised to read: 3303 # /* config.h. Generated by config.status. */ 3304 configure_input='Generated from '` 3305 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 3306 `' by configure.' 3307 if test x"$ac_file" != x-; then 3308 configure_input="$ac_file. $configure_input" 3309 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 3310 $as_echo "$as_me: creating $ac_file" >&6;} 3311 fi 3312 # Neutralize special characters interpreted by sed in replacement strings. 3313 case $configure_input in #( 3314 *\&* | *\|* | *\\* ) 3315 ac_sed_conf_input=`$as_echo "$configure_input" | 3316 sed 's/[\\\\&|]/\\\\&/g'`;; #( 3317 *) ac_sed_conf_input=$configure_input;; 3318 esac 3319 3320 case $ac_tag in 3321 *:-:* | *:-) cat >"$tmp/stdin" \ 3322 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 3323 $as_echo "$as_me: error: could not create $ac_file" >&2;} 3324 { (exit 1); exit 1; }; } ;; 3325 esac 3326 ;; 3327 esac 3328 3329 ac_dir=`$as_dirname -- "$ac_file" || 3330 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3331 X"$ac_file" : 'X\(//\)[^/]' \| \ 3332 X"$ac_file" : 'X\(//\)$' \| \ 3333 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3334 $as_echo X"$ac_file" | 3335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3336 s//\1/ 3337 q 3338 } 3339 /^X\(\/\/\)[^/].*/{ 3340 s//\1/ 3341 q 3342 } 3343 /^X\(\/\/\)$/{ 3344 s//\1/ 3345 q 3346 } 3347 /^X\(\/\).*/{ 3348 s//\1/ 3349 q 3350 } 3351 s/.*/./; q'` 3352 { as_dir="$ac_dir" 2856 3353 2857 case $as_dir in #( 3354 2858 -*) as_dir=./$as_dir;; 3355 2859 esac 3356 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {2860 test -d "$as_dir" || eval $as_mkdir_p || { 3357 2861 as_dirs= 3358 2862 while :; do … … 3388 2892 done 3389 2893 test -z "$as_dirs" || eval "mkdir $as_dirs" 3390 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3391 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 3392 { (exit 1); exit 1; }; }; } 2894 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 2895 2896 2897 } # as_fn_mkdir_p 2898 if mkdir -p . 2>/dev/null; then 2899 as_mkdir_p='mkdir -p "$as_dir"' 2900 else 2901 test -d ./-p && rmdir ./-p 2902 as_mkdir_p=false 2903 fi 2904 2905 2906 # as_fn_executable_p FILE 2907 # ----------------------- 2908 # Test if FILE is an executable regular file. 2909 as_fn_executable_p () 2910 { 2911 test -f "$1" && test -x "$1" 2912 } # as_fn_executable_p 2913 as_test_x='test -x' 2914 as_executable_p=as_fn_executable_p 2915 2916 # Sed expression to map a string onto a valid CPP name. 2917 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2918 2919 # Sed expression to map a string onto a valid variable name. 2920 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2921 2922 2923 exec 6>&1 2924 ## ----------------------------------- ## 2925 ## Main body of $CONFIG_STATUS script. ## 2926 ## ----------------------------------- ## 2927 _ASEOF 2928 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 2929 2930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2931 # Save the log message, to keep $0 and so on meaningful, and to 2932 # report actual input values of CONFIG_FILES etc. instead of their 2933 # values after options handling. 2934 ac_log=" 2935 This file was extended by $as_me, which was 2936 generated by GNU Autoconf 2.69. Invocation command line was 2937 2938 CONFIG_FILES = $CONFIG_FILES 2939 CONFIG_HEADERS = $CONFIG_HEADERS 2940 CONFIG_LINKS = $CONFIG_LINKS 2941 CONFIG_COMMANDS = $CONFIG_COMMANDS 2942 $ $0 $@ 2943 2944 on `(hostname || uname -n) 2>/dev/null | sed 1q` 2945 " 2946 2947 _ACEOF 2948 2949 case $ac_config_files in *" 2950 "*) set x $ac_config_files; shift; ac_config_files=$*;; 2951 esac 2952 2953 2954 2955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2956 # Files that config.status was made for. 2957 config_files="$ac_config_files" 2958 2959 _ACEOF 2960 2961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2962 ac_cs_usage="\ 2963 \`$as_me' instantiates files and other configuration actions 2964 from templates according to the current configuration. Unless the files 2965 and actions are specified as TAGs, all are instantiated by default. 2966 2967 Usage: $0 [OPTION]... [TAG]... 2968 2969 -h, --help print this help, then exit 2970 -V, --version print version number and configuration settings, then exit 2971 --config print configuration, then exit 2972 -q, --quiet, --silent 2973 do not print progress messages 2974 -d, --debug don't remove temporary files 2975 --recheck update $as_me by reconfiguring in the same conditions 2976 --file=FILE[:TEMPLATE] 2977 instantiate the configuration file FILE 2978 2979 Configuration files: 2980 $config_files 2981 2982 Report bugs to the package provider." 2983 2984 _ACEOF 2985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2986 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 2987 ac_cs_version="\\ 2988 config.status 2989 configured by $0, generated by GNU Autoconf 2.69, 2990 with options \\"\$ac_cs_config\\" 2991 2992 Copyright (C) 2012 Free Software Foundation, Inc. 2993 This config.status script is free software; the Free Software Foundation 2994 gives unlimited permission to copy, distribute and modify it." 2995 2996 ac_pwd='$ac_pwd' 2997 srcdir='$srcdir' 2998 test -n "\$AWK" || AWK=awk 2999 _ACEOF 3000 3001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3002 # The default lists apply if the user does not specify any file. 3003 ac_need_defaults=: 3004 while test $# != 0 3005 do 3006 case $1 in 3007 --*=?*) 3008 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3009 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3010 ac_shift=: 3011 ;; 3012 --*=) 3013 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3014 ac_optarg= 3015 ac_shift=: 3016 ;; 3017 *) 3018 ac_option=$1 3019 ac_optarg=$2 3020 ac_shift=shift 3021 ;; 3022 esac 3023 3024 case $ac_option in 3025 # Handling of the options. 3026 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3027 ac_cs_recheck=: ;; 3028 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3029 $as_echo "$ac_cs_version"; exit ;; 3030 --config | --confi | --conf | --con | --co | --c ) 3031 $as_echo "$ac_cs_config"; exit ;; 3032 --debug | --debu | --deb | --de | --d | -d ) 3033 debug=: ;; 3034 --file | --fil | --fi | --f ) 3035 $ac_shift 3036 case $ac_optarg in 3037 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3038 '') as_fn_error $? "missing file argument" ;; 3039 esac 3040 as_fn_append CONFIG_FILES " '$ac_optarg'" 3041 ac_need_defaults=false;; 3042 --he | --h | --help | --hel | -h ) 3043 $as_echo "$ac_cs_usage"; exit ;; 3044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3045 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3046 ac_cs_silent=: ;; 3047 3048 # This is an error. 3049 -*) as_fn_error $? "unrecognized option: \`$1' 3050 Try \`$0 --help' for more information." ;; 3051 3052 *) as_fn_append ac_config_targets " $1" 3053 ac_need_defaults=false ;; 3054 3055 esac 3056 shift 3057 done 3058 3059 ac_configure_extra_args= 3060 3061 if $ac_cs_silent; then 3062 exec 6>/dev/null 3063 ac_configure_extra_args="$ac_configure_extra_args --silent" 3064 fi 3065 3066 _ACEOF 3067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3068 if \$ac_cs_recheck; then 3069 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3070 shift 3071 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3072 CONFIG_SHELL='$SHELL' 3073 export CONFIG_SHELL 3074 exec "\$@" 3075 fi 3076 3077 _ACEOF 3078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3079 exec 5>>config.log 3080 { 3081 echo 3082 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3083 ## Running $as_me. ## 3084 _ASBOX 3085 $as_echo "$ac_log" 3086 } >&5 3087 3088 _ACEOF 3089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3090 _ACEOF 3091 3092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3093 3094 # Handling of arguments. 3095 for ac_config_target in $ac_config_targets 3096 do 3097 case $ac_config_target in 3098 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3099 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 3100 3101 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3102 esac 3103 done 3104 3105 3106 # If the user did not use the arguments to specify the items to instantiate, 3107 # then the envvar interface is used. Set only those that are not. 3108 # We use the long form for the default assignment because of an extremely 3109 # bizarre bug on SunOS 4.1.3. 3110 if $ac_need_defaults; then 3111 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3112 fi 3113 3114 # Have a temporary directory for convenience. Make it in the build tree 3115 # simply because there is no reason against having it here, and in addition, 3116 # creating and moving files from /tmp can sometimes cause problems. 3117 # Hook for its removal unless debugging. 3118 # Note that there is a small window in which the directory will not be cleaned: 3119 # after its creation but before its name has been assigned to `$tmp'. 3120 $debug || 3121 { 3122 tmp= ac_tmp= 3123 trap 'exit_status=$? 3124 : "${ac_tmp:=$tmp}" 3125 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3126 ' 0 3127 trap 'as_fn_exit 1' 1 2 13 15 3128 } 3129 # Create a (secure) tmp directory for tmp files. 3130 3131 { 3132 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3133 test -d "$tmp" 3134 } || 3135 { 3136 tmp=./conf$$-$RANDOM 3137 (umask 077 && mkdir "$tmp") 3138 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3139 ac_tmp=$tmp 3140 3141 # Set up the scripts for CONFIG_FILES section. 3142 # No need to generate them if there are no CONFIG_FILES. 3143 # This happens for instance with `./config.status config.h'. 3144 if test -n "$CONFIG_FILES"; then 3145 3146 3147 ac_cr=`echo X | tr X '\015'` 3148 # On cygwin, bash can eat \r inside `` if the user requested igncr. 3149 # But we know of no other shell where ac_cr would be empty at this 3150 # point, so we can use a bashism as a fallback. 3151 if test "x$ac_cr" = x; then 3152 eval ac_cr=\$\'\\r\' 3153 fi 3154 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3155 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3156 ac_cs_awk_cr='\\r' 3157 else 3158 ac_cs_awk_cr=$ac_cr 3159 fi 3160 3161 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 3162 _ACEOF 3163 3164 3165 { 3166 echo "cat >conf$$subs.awk <<_ACEOF" && 3167 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3168 echo "_ACEOF" 3169 } >conf$$subs.sh || 3170 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3171 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3172 ac_delim='%!_!# ' 3173 for ac_last_try in false false false false false :; do 3174 . ./conf$$subs.sh || 3175 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3176 3177 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3178 if test $ac_delim_n = $ac_delim_num; then 3179 break 3180 elif $ac_last_try; then 3181 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3182 else 3183 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3184 fi 3185 done 3186 rm -f conf$$subs.sh 3187 3188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3189 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3190 _ACEOF 3191 sed -n ' 3192 h 3193 s/^/S["/; s/!.*/"]=/ 3194 p 3195 g 3196 s/^[^!]*!// 3197 :repl 3198 t repl 3199 s/'"$ac_delim"'$// 3200 t delim 3201 :nl 3202 h 3203 s/\(.\{148\}\)..*/\1/ 3204 t more1 3205 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3206 p 3207 n 3208 b repl 3209 :more1 3210 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3211 p 3212 g 3213 s/.\{148\}// 3214 t nl 3215 :delim 3216 h 3217 s/\(.\{148\}\)..*/\1/ 3218 t more2 3219 s/["\\]/\\&/g; s/^/"/; s/$/"/ 3220 p 3221 b 3222 :more2 3223 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3224 p 3225 g 3226 s/.\{148\}// 3227 t delim 3228 ' <conf$$subs.awk | sed ' 3229 /^[^""]/{ 3230 N 3231 s/\n// 3232 } 3233 ' >>$CONFIG_STATUS || ac_write_fail=1 3234 rm -f conf$$subs.awk 3235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3236 _ACAWK 3237 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 3238 for (key in S) S_is_set[key] = 1 3239 FS = "" 3240 3241 } 3242 { 3243 line = $ 0 3244 nfields = split(line, field, "@") 3245 substed = 0 3246 len = length(field[1]) 3247 for (i = 2; i < nfields; i++) { 3248 key = field[i] 3249 keylen = length(key) 3250 if (S_is_set[key]) { 3251 value = S[key] 3252 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3253 len += length(value) + length(field[++i]) 3254 substed = 1 3255 } else 3256 len += 1 + keylen 3257 } 3258 3259 print line 3260 } 3261 3262 _ACAWK 3263 _ACEOF 3264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3265 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3266 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3267 else 3268 cat 3269 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 3270 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3271 _ACEOF 3272 3273 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3274 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3275 # trailing colons and then remove the whole line if VPATH becomes empty 3276 # (actually we leave an empty line to preserve line numbers). 3277 if test "x$srcdir" = x.; then 3278 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3279 h 3280 s/// 3281 s/^/:/ 3282 s/[ ]*$/:/ 3283 s/:\$(srcdir):/:/g 3284 s/:\${srcdir}:/:/g 3285 s/:@srcdir@:/:/g 3286 s/^:*// 3287 s/:*$// 3288 x 3289 s/\(=[ ]*\).*/\1/ 3290 G 3291 s/\n// 3292 s/^[^=]*=[ ]*$// 3293 }' 3294 fi 3295 3296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3297 fi # test -n "$CONFIG_FILES" 3298 3299 3300 eval set X " :F $CONFIG_FILES " 3301 shift 3302 for ac_tag 3303 do 3304 case $ac_tag in 3305 :[FHLC]) ac_mode=$ac_tag; continue;; 3306 esac 3307 case $ac_mode$ac_tag in 3308 :[FHL]*:*);; 3309 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 3310 :[FH]-) ac_tag=-:-;; 3311 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3312 esac 3313 ac_save_IFS=$IFS 3314 IFS=: 3315 set x $ac_tag 3316 IFS=$ac_save_IFS 3317 shift 3318 ac_file=$1 3319 shift 3320 3321 case $ac_mode in 3322 :L) ac_source=$1;; 3323 :[FH]) 3324 ac_file_inputs= 3325 for ac_f 3326 do 3327 case $ac_f in 3328 -) ac_f="$ac_tmp/stdin";; 3329 *) # Look for the file first in the build tree, then in the source tree 3330 # (if the path is not absolute). The absolute path cannot be DOS-style, 3331 # because $ac_f cannot contain `:'. 3332 test -f "$ac_f" || 3333 case $ac_f in 3334 [\\/$]*) false;; 3335 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3336 esac || 3337 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 3338 esac 3339 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3340 as_fn_append ac_file_inputs " '$ac_f'" 3341 done 3342 3343 # Let's still pretend it is `configure' which instantiates (i.e., don't 3344 # use $as_me), people would be surprised to read: 3345 # /* config.h. Generated by config.status. */ 3346 configure_input='Generated from '` 3347 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 3348 `' by configure.' 3349 if test x"$ac_file" != x-; then 3350 configure_input="$ac_file. $configure_input" 3351 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 3352 $as_echo "$as_me: creating $ac_file" >&6;} 3353 fi 3354 # Neutralize special characters interpreted by sed in replacement strings. 3355 case $configure_input in #( 3356 *\&* | *\|* | *\\* ) 3357 ac_sed_conf_input=`$as_echo "$configure_input" | 3358 sed 's/[\\\\&|]/\\\\&/g'`;; #( 3359 *) ac_sed_conf_input=$configure_input;; 3360 esac 3361 3362 case $ac_tag in 3363 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 3364 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 3365 esac 3366 ;; 3367 esac 3368 3369 ac_dir=`$as_dirname -- "$ac_file" || 3370 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3371 X"$ac_file" : 'X\(//\)[^/]' \| \ 3372 X"$ac_file" : 'X\(//\)$' \| \ 3373 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3374 $as_echo X"$ac_file" | 3375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3376 s//\1/ 3377 q 3378 } 3379 /^X\(\/\/\)[^/].*/{ 3380 s//\1/ 3381 q 3382 } 3383 /^X\(\/\/\)$/{ 3384 s//\1/ 3385 q 3386 } 3387 /^X\(\/\).*/{ 3388 s//\1/ 3389 q 3390 } 3391 s/.*/./; q'` 3392 as_dir="$ac_dir"; as_fn_mkdir_p 3393 3393 ac_builddir=. 3394 3394 … … 3438 3438 # FIXME: This hack should be removed a few years after 2.60. 3439 3439 ac_datarootdir_hack=; ac_datarootdir_seen= 3440 3441 3440 ac_sed_dataroot=' 3442 3441 /datarootdir/ { … … 3448 3447 /@infodir@/p 3449 3448 /@localedir@/p 3450 /@mandir@/p 3451 ' 3449 /@mandir@/p' 3452 3450 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 3453 3451 *datarootdir*) ac_datarootdir_seen=yes;; 3454 3452 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3455 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&53453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3456 3454 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3457 3455 _ACEOF … … 3463 3461 s&@localedir@&$localedir&g 3464 3462 s&@mandir@&$mandir&g 3465 3463 s&\\\${datarootdir}&$datarootdir&g' ;; 3466 3464 esac 3467 3465 _ACEOF … … 3489 3487 $ac_datarootdir_hack 3490 3488 " 3491 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 3492 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 3493 $as_echo "$as_me: error: could not create $ac_file" >&2;} 3494 { (exit 1); exit 1; }; } 3489 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 3490 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3495 3491 3496 3492 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 3497 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 3498 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 3499 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3500 which seems to be undefined. Please make sure it is defined." >&5 3493 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 3494 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 3495 "$ac_tmp/out"`; test -z "$ac_out"; } && 3496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3497 which seems to be undefined. Please make sure it is defined" >&5 3501 3498 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3502 which seems to be undefined. Please make sure it is defined ." >&2;}3503 3504 rm -f "$ tmp/stdin"3499 which seems to be undefined. Please make sure it is defined" >&2;} 3500 3501 rm -f "$ac_tmp/stdin" 3505 3502 case $ac_file in 3506 -) cat "$ tmp/out" && rm -f "$tmp/out";;3507 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;3503 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 3504 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 3508 3505 esac \ 3509 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 3510 $as_echo "$as_me: error: could not create $ac_file" >&2;} 3511 { (exit 1); exit 1; }; } 3506 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3512 3507 ;; 3513 3508 … … 3519 3514 3520 3515 3521 { (exit 0); exit 0; } 3516 as_fn_exit 0 3522 3517 _ACEOF 3523 chmod +x $CONFIG_STATUS3524 3518 ac_clean_files=$ac_clean_files_save 3525 3519 3526 3520 test $ac_write_fail = 0 || 3527 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 3528 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 3529 { (exit 1); exit 1; }; } 3521 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 3530 3522 3531 3523 … … 3548 3540 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3549 3541 # would make configure fail if this is the last instruction. 3550 $ac_cs_success || { (exit 1); exit 1; }3542 $ac_cs_success || as_fn_exit 1 3551 3543 fi 3552 3544 … … 3592 3584 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 3593 3585 esac 3594 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;3586 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 3595 3587 esac 3596 3588 done … … 3621 3613 3622 3614 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 3623 $as_echo "$as_me:$ LINENO: $ac_msg" >&53615 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 3624 3616 $as_echo "$ac_msg" >&6 3625 { as_dir="$ac_dir" 3626 case $as_dir in #( 3627 -*) as_dir=./$as_dir;; 3628 esac 3629 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 3630 as_dirs= 3631 while :; do 3632 case $as_dir in #( 3633 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3634 *) as_qdir=$as_dir;; 3635 esac 3636 as_dirs="'$as_qdir' $as_dirs" 3637 as_dir=`$as_dirname -- "$as_dir" || 3638 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3639 X"$as_dir" : 'X\(//\)[^/]' \| \ 3640 X"$as_dir" : 'X\(//\)$' \| \ 3641 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3642 $as_echo X"$as_dir" | 3643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3644 s//\1/ 3645 q 3646 } 3647 /^X\(\/\/\)[^/].*/{ 3648 s//\1/ 3649 q 3650 } 3651 /^X\(\/\/\)$/{ 3652 s//\1/ 3653 q 3654 } 3655 /^X\(\/\).*/{ 3656 s//\1/ 3657 q 3658 } 3659 s/.*/./; q'` 3660 test -d "$as_dir" && break 3661 done 3662 test -z "$as_dirs" || eval "mkdir $as_dirs" 3663 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3664 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 3665 { (exit 1); exit 1; }; }; } 3617 as_dir="$ac_dir"; as_fn_mkdir_p 3666 3618 ac_builddir=. 3667 3619 … … 3710 3662 ac_sub_configure=$ac_aux_dir/configure 3711 3663 else 3712 { $as_echo "$as_me:$ LINENO: WARNING: no configuration information is in $ac_dir" >&53664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 3713 3665 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 3714 3666 ac_sub_configure= … … 3724 3676 esac 3725 3677 3726 { $as_echo "$as_me:$ LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&53678 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 3727 3679 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 3728 3680 # The eval makes quoting arguments work. 3729 3681 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 3730 3682 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 3731 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 3732 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 3733 { (exit 1); exit 1; }; } 3683 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 3734 3684 fi 3735 3685 … … 3738 3688 fi 3739 3689 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 3740 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&53690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 3741 3691 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 3742 3692 fi -
main/trunk/greenstone2/common-src/indexers/mg/aclocal.m4
r23356 r35306 226 226 AC_PROVIDE([$0])dnl 227 227 if test "x$JAVACFLAGS" = x ; then 228 JAVACFLAGS="-source 1. 4 -target 1.4"228 JAVACFLAGS="-source 1.6 -target 1.6" 229 229 fi 230 230 AC_SUBST(JAVACFLAGS) -
main/trunk/greenstone2/common-src/indexers/mg/configure
r26675 r35306 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8.3 # Generated by GNU Autoconf 2.69. 4 4 # 5 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 7 # 10 8 # … … 135 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 137 160 if test "x$CONFIG_SHELL" = x; then 138 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : … … 168 191 exitcode=1; echo positional parameters were not saved. 169 192 fi 170 test x\$exitcode = x0 || exit 1" 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 171 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO … … 213 237 214 238 if test "x$CONFIG_SHELL" != x; then : 215 # We cannot yet assume a decent shell, so we have to provide a 216 # neutralization value for shells without unset; and this also 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 case $- in # (((( 224 *v*x* | *x*v* ) as_opts=-vx ;; 225 *v* ) as_opts=-v ;; 226 *x* ) as_opts=-x ;; 227 * ) as_opts= ;; 228 esac 229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241 # neutralization value for shells without unset; and this also 242 # works around shells that cannot unset nonexistent variables. 243 # Preserve -v and -x to the replacement shell. 244 BASH_ENV=/dev/null 245 ENV=/dev/null 246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247 case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252 esac 253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254 # Admittedly, this is quite paranoid, since all the known shells bail 255 # out after a failed `exec'. 256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257 exit 255 230 258 fi 231 259 … … 329 357 330 358 } # as_fn_mkdir_p 359 360 # as_fn_executable_p FILE 361 # ----------------------- 362 # Test if FILE is an executable regular file. 363 as_fn_executable_p () 364 { 365 test -f "$1" && test -x "$1" 366 } # as_fn_executable_p 331 367 # as_fn_append VAR VALUE 332 368 # ---------------------- … … 450 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 451 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 452 492 # Don't try to exec as it changes $[0], causing all sort of problems 453 493 # (the dirname of $[0] is not the place where we might find the … … 484 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 485 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 486 # In both cases, we have to default to `cp -p '.526 # In both cases, we have to default to `cp -pR'. 487 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 488 as_ln_s='cp -p '528 as_ln_s='cp -pR' 489 529 elif ln conf$$.file conf$$ 2>/dev/null; then 490 530 as_ln_s=ln 491 531 else 492 as_ln_s='cp -p '532 as_ln_s='cp -pR' 493 533 fi 494 534 else 495 as_ln_s='cp -p '535 as_ln_s='cp -pR' 496 536 fi 497 537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 505 545 fi 506 546 507 if test -x / >/dev/null 2>&1; then 508 as_test_x='test -x' 509 else 510 if ls -dL / >/dev/null 2>&1; then 511 as_ls_L_option=L 512 else 513 as_ls_L_option= 514 fi 515 as_test_x=' 516 eval sh -c '\'' 517 if test -d "$1"; then 518 test -d "$1/."; 519 else 520 case $1 in #( 521 -*)set "./$1";; 522 esac; 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 524 ???[sx]*):;;*)false;;esac;fi 525 '\'' sh 526 ' 527 fi 528 as_executable_p=$as_test_x 547 as_test_x='test -x' 548 as_executable_p=as_fn_executable_p 529 549 530 550 # Sed expression to map a string onto a valid CPP name. … … 671 691 oldincludedir 672 692 includedir 693 runstatedir 673 694 localstatedir 674 695 sharedstatedir … … 749 770 sharedstatedir='${prefix}/com' 750 771 localstatedir='${prefix}/var' 772 runstatedir='${localstatedir}/run' 751 773 includedir='${prefix}/include' 752 774 oldincludedir='/usr/include' … … 1001 1023 silent=yes ;; 1002 1024 1025 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1026 | --runstate | --runstat | --runsta | --runst | --runs \ 1027 | --run | --ru | --r) 1028 ac_prev=runstatedir ;; 1029 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1030 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1031 | --run=* | --ru=* | --r=*) 1032 runstatedir=$ac_optarg ;; 1033 1003 1034 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1004 1035 ac_prev=sbindir ;; … … 1138 1169 datadir sysconfdir sharedstatedir localstatedir includedir \ 1139 1170 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1140 libdir localedir mandir 1171 libdir localedir mandir runstatedir 1141 1172 do 1142 1173 eval ac_val=\$$ac_var … … 1166 1197 if test "x$build_alias" = x; then 1167 1198 cross_compiling=maybe 1168 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1169 If a cross compiler is detected then cross compile mode will be used" >&21170 1199 elif test "x$build_alias" != "x$host_alias"; then 1171 1200 cross_compiling=yes … … 1293 1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1294 1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1324 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1295 1325 --libdir=DIR object code libraries [EPREFIX/lib] 1296 1326 --includedir=DIR C header files [PREFIX/include] … … 1424 1454 cat <<\_ACEOF 1425 1455 configure 1426 generated by GNU Autoconf 2.6 81427 1428 Copyright (C) 201 0Free Software Foundation, Inc.1456 generated by GNU Autoconf 2.69 1457 1458 Copyright (C) 2012 Free Software Foundation, Inc. 1429 1459 This configure script is free software; the Free Software Foundation 1430 1460 gives unlimited permission to copy, distribute and modify it. … … 1737 1767 } && test -s conftest$ac_exeext && { 1738 1768 test "$cross_compiling" = yes || 1739 $as_test_x conftest$ac_exeext1769 test -x conftest$ac_exeext 1740 1770 }; then : 1741 1771 ac_retval=0 … … 1881 1911 1882 1912 It was created by $as_me, which was 1883 generated by GNU Autoconf 2.6 8. Invocation command line was1913 generated by GNU Autoconf 2.69. Invocation command line was 1884 1914 1885 1915 $ $0 $@ … … 2451 2481 test -z "$as_dir" && as_dir=. 2452 2482 for ac_exec_ext in '' $ac_executable_extensions; do 2453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2454 2484 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2455 2485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2495 2525 test -z "$as_dir" && as_dir=. 2496 2526 for ac_exec_ext in '' $ac_executable_extensions; do 2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2498 2528 ac_cv_prog_ac_ct_CXX="$ac_prog" 2499 2529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2948 2978 test -z "$as_dir" && as_dir=. 2949 2979 for ac_exec_ext in '' $ac_executable_extensions; do 2950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2951 2981 ac_cv_prog_AWK="$ac_prog" 2952 2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2990 3020 test -z "$as_dir" && as_dir=. 2991 3021 for ac_exec_ext in '' $ac_executable_extensions; do 2992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2993 3023 ac_cv_prog_YACC="$ac_prog" 2994 3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3037 3067 test -z "$as_dir" && as_dir=. 3038 3068 for ac_exec_ext in '' $ac_executable_extensions; do 3039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3040 3070 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3041 3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3077 3107 test -z "$as_dir" && as_dir=. 3078 3108 for ac_exec_ext in '' $ac_executable_extensions; do 3079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3080 3110 ac_cv_prog_ac_ct_CC="gcc" 3081 3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3130 3160 test -z "$as_dir" && as_dir=. 3131 3161 for ac_exec_ext in '' $ac_executable_extensions; do 3132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3133 3163 ac_cv_prog_CC="${ac_tool_prefix}cc" 3134 3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3171 3201 test -z "$as_dir" && as_dir=. 3172 3202 for ac_exec_ext in '' $ac_executable_extensions; do 3173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3174 3204 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3175 3205 ac_prog_rejected=yes … … 3229 3259 test -z "$as_dir" && as_dir=. 3230 3260 for ac_exec_ext in '' $ac_executable_extensions; do 3231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3232 3262 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3233 3263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3273 3303 test -z "$as_dir" && as_dir=. 3274 3304 for ac_exec_ext in '' $ac_executable_extensions; do 3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3276 3306 ac_cv_prog_ac_ct_CC="$ac_prog" 3277 3307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3469 3499 #include <stdarg.h> 3470 3500 #include <stdio.h> 3471 #include <sys/types.h> 3472 #include <sys/stat.h> 3501 struct stat; 3473 3502 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3474 3503 struct buf { int x; }; … … 3592 3621 for ac_prog in ginstall scoinst install; do 3593 3622 for ac_exec_ext in '' $ac_executable_extensions; do 3594 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then3623 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3595 3624 if test $ac_prog = install && 3596 3625 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3707 3736 test -z "$as_dir" && as_dir=. 3708 3737 for ac_exec_ext in '' $ac_executable_extensions; do 3709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3710 3739 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3711 3740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3747 3776 test -z "$as_dir" && as_dir=. 3748 3777 for ac_exec_ext in '' $ac_executable_extensions; do 3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3750 3779 ac_cv_prog_ac_ct_RANLIB="ranlib" 3751 3780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3805 3834 test -z "$as_dir" && as_dir=. 3806 3835 for ac_exec_ext in '' $ac_executable_extensions; do 3807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3808 3837 ac_cv_prog_JAVA="$ac_prog" 3809 3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3848 3877 test -z "$as_dir" && as_dir=. 3849 3878 for ac_exec_ext in '' $ac_executable_extensions; do 3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3851 3880 ac_cv_prog_JAVA="$ac_prog" 3852 3881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3894 3923 test -z "$as_dir" && as_dir=. 3895 3924 for ac_exec_ext in '' $ac_executable_extensions; do 3896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3897 3926 ac_cv_prog_uudecode="yes" 3898 3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3936 3965 ac_cv_prog_uudecode_base64=yes 3937 3966 else 3938 echo "configure: 39 38: uudecode had trouble decoding base 64 file 'Test.uue'" >&53967 echo "configure: 3967: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3939 3968 echo "configure: failed file was:" >&5 3940 3969 cat Test.uue >&5 … … 3975 4004 test -z "$as_dir" && as_dir=. 3976 4005 for ac_exec_ext in '' $ac_executable_extensions; do 3977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3978 4007 ac_cv_prog_JAVAC="$ac_prog" 3979 4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4018 4047 test -z "$as_dir" && as_dir=. 4019 4048 for ac_exec_ext in '' $ac_executable_extensions; do 4020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4021 4050 ac_cv_prog_JAVAC="$ac_prog" 4022 4051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4059 4088 CLASS_TEST=Test.class 4060 4089 cat << \EOF > $JAVA_TEST 4061 /* #line 40 61"configure" */4090 /* #line 4090 "configure" */ 4062 4091 public class Test { 4063 4092 } … … 4081 4110 $as_echo "$ac_cv_prog_javac_works" >&6; } 4082 4111 if test "x$JAVACFLAGS" = x ; then 4083 JAVACFLAGS="-source 1. 4 -target 1.4"4112 JAVACFLAGS="-source 1.6 -target 1.6" 4084 4113 fi 4085 4114 … … 4098 4127 TEST=Test 4099 4128 cat << \EOF > $JAVA_TEST 4100 /* [#]line 41 00"configure" */4129 /* [#]line 4129 "configure" */ 4101 4130 public class Test { 4102 4131 public static void main (String args[]) { … … 4159 4188 test -z "$as_dir" && as_dir=. 4160 4189 for ac_exec_ext in '' $ac_executable_extensions; do 4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4162 4191 ac_cv_prog_JAVAC="$ac_prog" 4163 4192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4202 4231 test -z "$as_dir" && as_dir=. 4203 4232 for ac_exec_ext in '' $ac_executable_extensions; do 4204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4205 4234 ac_cv_prog_JAVAC="$ac_prog" 4206 4235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4243 4272 CLASS_TEST=Test.class 4244 4273 cat << \EOF > $JAVA_TEST 4245 /* #line 42 45"configure" */4274 /* #line 4274 "configure" */ 4246 4275 public class Test { 4247 4276 } … … 4265 4294 $as_echo "$ac_cv_prog_javac_works" >&6; } 4266 4295 if test "x$JAVACFLAGS" = x ; then 4267 JAVACFLAGS="-source 1. 4 -target 1.4"4296 JAVACFLAGS="-source 1.6 -target 1.6" 4268 4297 fi 4269 4298 … … 4427 4456 for ac_exec_ext in '' $ac_executable_extensions; do 4428 4457 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4429 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4458 as_fn_executable_p "$ac_path_GREP" || continue 4430 4459 # Check for GNU ac_path_GREP and select it if it is found. 4431 4460 # Check for GNU $ac_path_GREP … … 4493 4522 for ac_exec_ext in '' $ac_executable_extensions; do 4494 4523 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4495 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4524 as_fn_executable_p "$ac_path_EGREP" || continue 4496 4525 # Check for GNU ac_path_EGREP and select it if it is found. 4497 4526 # Check for GNU $ac_path_EGREP … … 4700 4729 /* end confdefs.h. */ 4701 4730 4702 # 4703 4731 # define __EXTENSIONS__ 1 4732 $ac_includes_default 4704 4733 int 4705 4734 main () … … 4863 4892 main () 4864 4893 { 4865 /* FIXME: Include the comments suggested by Paul. */ 4894 4866 4895 #ifndef __cplusplus 4867 /* Ultrix mips cc rejects this . */4896 /* Ultrix mips cc rejects this sort of thing. */ 4868 4897 typedef int charset[2]; 4869 const charset cs ;4898 const charset cs = { 0, 0 }; 4870 4899 /* SunOS 4.1.1 cc rejects this. */ 4871 4900 char const *const *pcpcc; … … 4884 4913 ppc = (char**) pcpcc; 4885 4914 pcpcc = (char const *const *) ppc; 4886 { /* SCO 3.2v4 cc rejects this. */ 4887 char *t; 4915 { /* SCO 3.2v4 cc rejects this sort of thing. */ 4916 char tx; 4917 char *t = &tx; 4888 4918 char const *s = 0 ? (char *) 0 : (char const *) 0; 4889 4919 … … 4901 4931 ++p; 4902 4932 } 4903 { /* AIX XL C 1.02.0.0 rejects this s aying4933 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 4904 4934 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4905 struct s { int j; const int *ap[3]; } ;4906 struct s *b ; b->j = 5;4935 struct s { int j; const int *ap[3]; } bx; 4936 struct s *b = &bx; b->j = 5; 4907 4937 } 4908 4938 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ … … 5558 5588 $ac_includes_default 5559 5589 int 5560 find_stack_direction ( )5590 find_stack_direction (int *addr, int depth) 5561 5591 { 5562 static char *addr = 0; 5563 auto char dummy; 5564 if (addr == 0) 5565 { 5566 addr = &dummy; 5567 return find_stack_direction (); 5568 } 5569 else 5570 return (&dummy > addr) ? 1 : -1; 5592 int dir, dummy = 0; 5593 if (! addr) 5594 addr = &dummy; 5595 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; 5596 dir = depth ? find_stack_direction (addr, depth - 1) : 0; 5597 return dir + dummy; 5571 5598 } 5572 5599 5573 5600 int 5574 main ( )5601 main (int argc, char **argv) 5575 5602 { 5576 return find_stack_direction ( ) < 0;5603 return find_stack_direction (0, argc + !argv + 20) < 0; 5577 5604 } 5578 5605 _ACEOF … … 6537 6564 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6538 6565 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6539 # In both cases, we have to default to `cp -p '.6566 # In both cases, we have to default to `cp -pR'. 6540 6567 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6541 as_ln_s='cp -p '6568 as_ln_s='cp -pR' 6542 6569 elif ln conf$$.file conf$$ 2>/dev/null; then 6543 6570 as_ln_s=ln 6544 6571 else 6545 as_ln_s='cp -p '6572 as_ln_s='cp -pR' 6546 6573 fi 6547 6574 else 6548 as_ln_s='cp -p '6575 as_ln_s='cp -pR' 6549 6576 fi 6550 6577 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 6606 6633 fi 6607 6634 6608 if test -x / >/dev/null 2>&1; then 6609 as_test_x='test -x' 6610 else 6611 if ls -dL / >/dev/null 2>&1; then 6612 as_ls_L_option=L 6613 else 6614 as_ls_L_option= 6615 fi 6616 as_test_x=' 6617 eval sh -c '\'' 6618 if test -d "$1"; then 6619 test -d "$1/."; 6620 else 6621 case $1 in #( 6622 -*)set "./$1";; 6623 esac; 6624 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 6625 ???[sx]*):;;*)false;;esac;fi 6626 '\'' sh 6627 ' 6628 fi 6629 as_executable_p=$as_test_x 6635 6636 # as_fn_executable_p FILE 6637 # ----------------------- 6638 # Test if FILE is an executable regular file. 6639 as_fn_executable_p () 6640 { 6641 test -f "$1" && test -x "$1" 6642 } # as_fn_executable_p 6643 as_test_x='test -x' 6644 as_executable_p=as_fn_executable_p 6630 6645 6631 6646 # Sed expression to map a string onto a valid CPP name. … … 6649 6664 ac_log=" 6650 6665 This file was extended by $as_me, which was 6651 generated by GNU Autoconf 2.6 8. Invocation command line was6666 generated by GNU Autoconf 2.69. Invocation command line was 6652 6667 6653 6668 CONFIG_FILES = $CONFIG_FILES … … 6715 6730 ac_cs_version="\\ 6716 6731 config.status 6717 configured by $0, generated by GNU Autoconf 2.6 8,6732 configured by $0, generated by GNU Autoconf 2.69, 6718 6733 with options \\"\$ac_cs_config\\" 6719 6734 6720 Copyright (C) 201 0Free Software Foundation, Inc.6735 Copyright (C) 2012 Free Software Foundation, Inc. 6721 6736 This config.status script is free software; the Free Software Foundation 6722 6737 gives unlimited permission to copy, distribute and modify it." … … 6808 6823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6809 6824 if \$ac_cs_recheck; then 6810 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion6825 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6811 6826 shift 6812 6827 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 -
main/trunk/greenstone2/common-src/indexers/mgpp/aclocal.m4
r23356 r35306 310 310 AC_PROVIDE([$0])dnl 311 311 if test "x$JAVACFLAGS" = x ; then 312 JAVACFLAGS="-source 1. 4 -target 1.4"312 JAVACFLAGS="-source 1.6 -target 1.6" 313 313 fi 314 314 AC_SUBST(JAVACFLAGS) -
main/trunk/greenstone2/common-src/indexers/mgpp/configure
r30867 r35306 694 694 oldincludedir 695 695 includedir 696 runstatedir 696 697 localstatedir 697 698 sharedstatedir … … 776 777 sharedstatedir='${prefix}/com' 777 778 localstatedir='${prefix}/var' 779 runstatedir='${localstatedir}/run' 778 780 includedir='${prefix}/include' 779 781 oldincludedir='/usr/include' … … 1028 1030 silent=yes ;; 1029 1031 1032 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1033 | --runstate | --runstat | --runsta | --runst | --runs \ 1034 | --run | --ru | --r) 1035 ac_prev=runstatedir ;; 1036 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1037 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1038 | --run=* | --ru=* | --r=*) 1039 runstatedir=$ac_optarg ;; 1040 1030 1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1031 1042 ac_prev=sbindir ;; … … 1165 1176 datadir sysconfdir sharedstatedir localstatedir includedir \ 1166 1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1167 libdir localedir mandir 1178 libdir localedir mandir runstatedir 1168 1179 do 1169 1180 eval ac_val=\$$ac_var … … 1318 1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1319 1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1331 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1320 1332 --libdir=DIR object code libraries [EPREFIX/lib] 1321 1333 --includedir=DIR C header files [PREFIX/include] … … 4175 4187 ac_cv_prog_uudecode_base64=yes 4176 4188 else 4177 echo "configure: 41 77: uudecode had trouble decoding base 64 file 'Test.uue'" >&54189 echo "configure: 4189: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 4178 4190 echo "configure: failed file was:" >&5 4179 4191 cat Test.uue >&5 … … 4298 4310 CLASS_TEST=Test.class 4299 4311 cat << \EOF > $JAVA_TEST 4300 /* #line 43 00"configure" */4312 /* #line 4312 "configure" */ 4301 4313 public class Test { 4302 4314 } … … 4320 4332 $as_echo "$ac_cv_prog_javac_works" >&6; } 4321 4333 if test "x$JAVACFLAGS" = x ; then 4322 JAVACFLAGS="-source 1. 4 -target 1.4"4334 JAVACFLAGS="-source 1.6 -target 1.6" 4323 4335 fi 4324 4336 … … 4337 4349 TEST=Test 4338 4350 cat << \EOF > $JAVA_TEST 4339 /* [#]line 43 39"configure" */4351 /* [#]line 4351 "configure" */ 4340 4352 public class Test { 4341 4353 public static void main (String args[]) { … … 4482 4494 CLASS_TEST=Test.class 4483 4495 cat << \EOF > $JAVA_TEST 4484 /* #line 44 84"configure" */4496 /* #line 4496 "configure" */ 4485 4497 public class Test { 4486 4498 } … … 4504 4516 $as_echo "$ac_cv_prog_javac_works" >&6; } 4505 4517 if test "x$JAVACFLAGS" = x ; then 4506 JAVACFLAGS="-source 1. 4 -target 1.4"4518 JAVACFLAGS="-source 1.6 -target 1.6" 4507 4519 fi 4508 4520 -
main/trunk/greenstone2/common-src/packages/configure
r30863 r35306 267 267 268 268 if test "x$JAVACFLAGS" = "x" ; then 269 JAVACFLAGS="-source 1. 4 -target 1.4"269 JAVACFLAGS="-source 1.6 -target 1.6" 270 270 fi 271 271
Note:
See TracChangeset
for help on using the changeset viewer.