- Timestamp:
- 2010-12-17T14:04:10+13:00 (13 years ago)
- Location:
- main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/packages/unac
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/packages/unac/Makefile.in
r20840 r23508 32 32 DEFS = @DEFS@ -DUNAC_VERSION=\"$(VERSION)\" 33 33 INCLUDES = -I../../../packages/iconv/include 34 CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@34 CFLAGS = @CFLAGS@ 35 35 36 36 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) -
main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/packages/unac/configure
r16583 r23508 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.65. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 6 11 # This configure script is free software; the Free Software Foundation 7 12 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14 20 emulate sh 15 21 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 23 # is contrary to our usage. Disable this feature. 18 24 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 for as_dir in $PATH 96 do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101 IFS=$as_save_IFS 102 103 ;; 104 esac 105 # We did not find ourselves, most probably we were run as `sh COMMAND' 106 # in which case we are not to be found in the path. 107 if test "x$as_myself" = x; then 108 as_myself=$0 109 fi 110 if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122 done 34 123 PS1='$ ' 35 124 PS2='> ' … … 37 126 38 127 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 43 186 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 46 230 else 47 $as_unset $as_var 231 $as_echo "$0: Please tell [email protected] about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 48 235 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 375 if expr a : '\(a\)' >/dev/null 2>&1 && 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 53 377 as_expr=expr 54 378 else … … 56 380 fi 57 381 58 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 59 383 as_basename=basename 60 384 else … … 62 386 fi 63 387 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 394 as_me=`$as_basename -- "$0" || 67 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 396 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398 $as_echo X/"$0" | 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 s//\1/ 401 q 402 } 403 /^X\/\(\/\/\)$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\).*/{ 408 s//\1/ 409 q 410 } 411 s/.*/./; q'` 412 79 413 # Avoid depending upon Character Ranges. 80 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 419 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 426 sed -n ' 427 p 428 /[$]LINENO/= 429 ' <$as_myself | 165 430 sed ' 431 s/[$]LINENO.*/&-/ 432 t lineno 433 b 434 :lineno 166 435 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 436 :loop 437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 438 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 439 s/-\n.*// 173 440 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 441 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 177 443 178 444 # Don't try to exec as it changes $[0], causing all sort of problems 179 445 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno446 # original and so on. Autoconf is especially sensitive to this). 447 . "./$as_me.lineno" 182 448 # Exit status is that of the last command. 183 449 exit 184 450 } 185 451 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 452 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #((((( 454 -n*) 455 case `echo 'xy\c'` in 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 460 esac;; 461 *) 462 ECHO_N='-n';; 192 463 esac 193 464 194 if expr a : '\(a\)' >/dev/null 2>&1; then195 as_expr=expr196 else197 as_expr=false198 fi199 200 465 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 466 if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 468 else 469 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 207 484 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 485 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 486 else 214 487 as_ln_s='cp -p' 215 488 fi 216 rm -f conf$$ conf$$.exe conf$$.file 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490 rmdir conf$$.dir 2>/dev/null 217 491 218 492 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p= :493 as_mkdir_p='mkdir -p "$as_dir"' 220 494 else 221 495 test -d ./-p && rmdir ./-p … … 223 497 fi 224 498 225 as_executable_p="test -f" 499 if test -x / >/dev/null 2>&1; then 500 as_test_x='test -x' 501 else 502 if ls -dL / >/dev/null 2>&1; then 503 as_ls_L_option=L 504 else 505 as_ls_L_option= 506 fi 507 as_test_x=' 508 eval sh -c '\'' 509 if test -d "$1"; then 510 test -d "$1/."; 511 else 512 case $1 in #( 513 -*)set "./$1";; 514 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516 ???[sx]*):;;*)false;;esac;fi 517 '\'' sh 518 ' 519 fi 520 as_executable_p=$as_test_x 226 521 227 522 # Sed expression to map a string onto a valid CPP name. … … 230 525 # Sed expression to map a string onto a valid variable name. 231 526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234 # IFS235 # We need space, tab and new line, in precisely that order.236 as_nl='237 '238 IFS=" $as_nl"239 240 # CDPATH.241 $as_unset CDPATH242 527 243 528 … … 401 686 402 687 688 test -n "$DJDIR" || exec 7<&0 </dev/null 689 exec 6>&1 690 403 691 # Name of the host. 404 692 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, … … 406 694 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 407 695 408 exec 6>&1409 410 696 # 411 697 # Initializations. 412 698 # 413 699 ac_default_prefix=/usr/local 700 ac_clean_files= 414 701 ac_config_libobj_dir=. 702 LIBOBJS= 415 703 cross_compiling=no 416 704 subdirs= 417 705 MFLAGS= 418 706 MAKEFLAGS= 419 SHELL=${CONFIG_SHELL-/bin/sh}420 421 # Maximum number of lines to put in a shell here document.422 # This variable seems obsolete. It should probably be removed, and423 # only ac_max_sed_lines should be used.424 : ${ac_max_here_lines=38}425 707 426 708 # Identity of this package. … … 430 712 PACKAGE_STRING= 431 713 PACKAGE_BUGREPORT= 714 PACKAGE_URL= 432 715 433 716 ac_unique_file="config.h.in" … … 435 718 ac_includes_default="\ 436 719 #include <stdio.h> 437 #if HAVE_SYS_TYPES_H720 #ifdef HAVE_SYS_TYPES_H 438 721 # include <sys/types.h> 439 722 #endif 440 #if HAVE_SYS_STAT_H723 #ifdef HAVE_SYS_STAT_H 441 724 # include <sys/stat.h> 442 725 #endif 443 #if STDC_HEADERS726 #ifdef STDC_HEADERS 444 727 # include <stdlib.h> 445 728 # include <stddef.h> 446 729 #else 447 # if HAVE_STDLIB_H730 # ifdef HAVE_STDLIB_H 448 731 # include <stdlib.h> 449 732 # endif 450 733 #endif 451 #if HAVE_STRING_H452 # if ! STDC_HEADERS &&HAVE_MEMORY_H734 #ifdef HAVE_STRING_H 735 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 453 736 # include <memory.h> 454 737 # endif 455 738 # include <string.h> 456 739 #endif 457 #if HAVE_STRINGS_H740 #ifdef HAVE_STRINGS_H 458 741 # include <strings.h> 459 742 #endif 460 #if HAVE_INTTYPES_H743 #ifdef HAVE_INTTYPES_H 461 744 # include <inttypes.h> 462 #else463 # if HAVE_STDINT_H464 # include <stdint.h>465 # endif466 745 #endif 467 #if HAVE_UNISTD_H 746 #ifdef HAVE_STDINT_H 747 # include <stdint.h> 748 #endif 749 #ifdef HAVE_UNISTD_H 468 750 # include <unistd.h> 469 751 #endif" 470 752 471 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SET_MAKE COMPAT32BITFLAGS UNICODE_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL PERL SH MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBICONV LTLIBICONV LIBOBJS LTLIBOBJS' 753 ac_subst_vars='LTLIBOBJS 754 LIBOBJS 755 LTLIBICONV 756 LIBICONV 757 MAINT 758 MAINTAINER_MODE_FALSE 759 MAINTAINER_MODE_TRUE 760 SH 761 PERL 762 LIBTOOL 763 STRIP 764 RANLIB 765 ECHO 766 LN_S 767 EGREP 768 GREP 769 CPP 770 OBJEXT 771 EXEEXT 772 ac_ct_CC 773 CPPFLAGS 774 LDFLAGS 775 CFLAGS 776 CC 777 UNICODE_VERSION 778 SET_MAKE 779 target_os 780 target_vendor 781 target_cpu 782 target 783 host_os 784 host_vendor 785 host_cpu 786 host 787 build_os 788 build_vendor 789 build_cpu 790 build 791 VERSION 792 target_alias 793 host_alias 794 build_alias 795 LIBS 796 ECHO_T 797 ECHO_N 798 ECHO_C 799 DEFS 800 mandir 801 localedir 802 libdir 803 psdir 804 pdfdir 805 dvidir 806 htmldir 807 infodir 808 docdir 809 oldincludedir 810 includedir 811 localstatedir 812 sharedstatedir 813 sysconfdir 814 datadir 815 datarootdir 816 libexecdir 817 sbindir 818 bindir 819 program_transform_name 820 prefix 821 exec_prefix 822 PACKAGE_URL 823 PACKAGE_BUGREPORT 824 PACKAGE_STRING 825 PACKAGE_VERSION 826 PACKAGE_TARNAME 827 PACKAGE_NAME 828 PATH_SEPARATOR 829 SHELL' 472 830 ac_subst_files='' 831 ac_user_opts=' 832 enable_option_checking 833 enable_shared 834 enable_static 835 enable_fast_install 836 with_gnu_ld 837 enable_libtool_lock 838 with_pic 839 enable_maintainer_mode 840 enable_rpath 841 with_libiconv_prefix 842 ' 843 ac_precious_vars='build_alias 844 host_alias 845 target_alias 846 CC 847 CFLAGS 848 LDFLAGS 849 LIBS 850 CPPFLAGS 851 CPP' 852 473 853 474 854 # Initialize some variables set by options. 475 855 ac_init_help= 476 856 ac_init_version=false 857 ac_unrecognized_opts= 858 ac_unrecognized_sep= 477 859 # The variables have the same names as the options, with 478 860 # dashes changed to underlines. … … 497 879 # by default will actually change. 498 880 # Use braces instead of parens because sh, perl, etc. also accept them. 881 # (The list follows the same order as the GNU Coding Standards.) 499 882 bindir='${exec_prefix}/bin' 500 883 sbindir='${exec_prefix}/sbin' 501 884 libexecdir='${exec_prefix}/libexec' 502 datadir='${prefix}/share' 885 datarootdir='${prefix}/share' 886 datadir='${datarootdir}' 503 887 sysconfdir='${prefix}/etc' 504 888 sharedstatedir='${prefix}/com' 505 889 localstatedir='${prefix}/var' 506 libdir='${exec_prefix}/lib'507 890 includedir='${prefix}/include' 508 891 oldincludedir='/usr/include' 509 infodir='${prefix}/info' 510 mandir='${prefix}/man' 892 docdir='${datarootdir}/doc/${PACKAGE}' 893 infodir='${datarootdir}/info' 894 htmldir='${docdir}' 895 dvidir='${docdir}' 896 pdfdir='${docdir}' 897 psdir='${docdir}' 898 libdir='${exec_prefix}/lib' 899 localedir='${datarootdir}/locale' 900 mandir='${datarootdir}/man' 511 901 512 902 ac_prev= 903 ac_dashdash= 513 904 for ac_option 514 905 do 515 906 # If the previous option needs an argument, assign it. 516 907 if test -n "$ac_prev"; then 517 eval "$ac_prev=\$ac_option"908 eval $ac_prev=\$ac_option 518 909 ac_prev= 519 910 continue 520 911 fi 521 912 522 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 913 case $ac_option in 914 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 915 *) ac_optarg=yes ;; 916 esac 523 917 524 918 # Accept the important Cygnus configure options, so we can diagnose typos. 525 919 526 case $ac_option in 920 case $ac_dashdash$ac_option in 921 --) 922 ac_dashdash=yes ;; 527 923 528 924 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 546 942 cache_file=config.cache ;; 547 943 548 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)944 -datadir | --datadir | --datadi | --datad) 549 945 ac_prev=datadir ;; 550 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 551 | --da=*) 946 -datadir=* | --datadir=* | --datadi=* | --datad=*) 552 947 datadir=$ac_optarg ;; 553 948 949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 950 | --dataroo | --dataro | --datar) 951 ac_prev=datarootdir ;; 952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 954 datarootdir=$ac_optarg ;; 955 554 956 -disable-* | --disable-*) 555 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`957 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 556 958 # Reject names that are not valid shell variable names. 557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 559 { (exit 1); exit 1; }; } 560 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 561 eval "enable_$ac_feature=no" ;; 959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 960 as_fn_error "invalid feature name: $ac_useropt" 961 ac_useropt_orig=$ac_useropt 962 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 963 case $ac_user_opts in 964 *" 965 "enable_$ac_useropt" 966 "*) ;; 967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 968 ac_unrecognized_sep=', ';; 969 esac 970 eval enable_$ac_useropt=no ;; 971 972 -docdir | --docdir | --docdi | --doc | --do) 973 ac_prev=docdir ;; 974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 975 docdir=$ac_optarg ;; 976 977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 978 ac_prev=dvidir ;; 979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 980 dvidir=$ac_optarg ;; 562 981 563 982 -enable-* | --enable-*) 564 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`983 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 565 984 # Reject names that are not valid shell variable names. 566 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 567 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 568 { (exit 1); exit 1; }; } 569 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 570 case $ac_option in 571 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 572 *) ac_optarg=yes ;; 985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 986 as_fn_error "invalid feature name: $ac_useropt" 987 ac_useropt_orig=$ac_useropt 988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 989 case $ac_user_opts in 990 *" 991 "enable_$ac_useropt" 992 "*) ;; 993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 994 ac_unrecognized_sep=', ';; 573 995 esac 574 eval "enable_$ac_feature='$ac_optarg'";;996 eval enable_$ac_useropt=\$ac_optarg ;; 575 997 576 998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 599 1021 host_alias=$ac_optarg ;; 600 1022 1023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1024 ac_prev=htmldir ;; 1025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1026 | --ht=*) 1027 htmldir=$ac_optarg ;; 1028 601 1029 -includedir | --includedir | --includedi | --included | --include \ 602 1030 | --includ | --inclu | --incl | --inc) … … 623 1051 libexecdir=$ac_optarg ;; 624 1052 1053 -localedir | --localedir | --localedi | --localed | --locale) 1054 ac_prev=localedir ;; 1055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1056 localedir=$ac_optarg ;; 1057 625 1058 -localstatedir | --localstatedir | --localstatedi | --localstated \ 626 | --localstate | --localstat | --localsta | --localst \ 627 | --locals | --local | --loca | --loc | --lo) 1059 | --localstate | --localstat | --localsta | --localst | --locals) 628 1060 ac_prev=localstatedir ;; 629 1061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 630 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 631 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 1062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 632 1063 localstatedir=$ac_optarg ;; 633 1064 … … 694 1125 program_transform_name=$ac_optarg ;; 695 1126 1127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1128 ac_prev=pdfdir ;; 1129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1130 pdfdir=$ac_optarg ;; 1131 1132 -psdir | --psdir | --psdi | --psd | --ps) 1133 ac_prev=psdir ;; 1134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1135 psdir=$ac_optarg ;; 1136 696 1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 697 1138 | -silent | --silent | --silen | --sile | --sil) … … 744 1185 745 1186 -with-* | --with-*) 746 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 747 1188 # Reject names that are not valid shell variable names. 748 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 749 { echo "$as_me: error: invalid package name: $ac_package" >&2 750 { (exit 1); exit 1; }; } 751 ac_package=`echo $ac_package| sed 's/-/_/g'` 752 case $ac_option in 753 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 754 *) ac_optarg=yes ;; 1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1190 as_fn_error "invalid package name: $ac_useropt" 1191 ac_useropt_orig=$ac_useropt 1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1193 case $ac_user_opts in 1194 *" 1195 "with_$ac_useropt" 1196 "*) ;; 1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1198 ac_unrecognized_sep=', ';; 755 1199 esac 756 eval "with_$ac_package='$ac_optarg'";;1200 eval with_$ac_useropt=\$ac_optarg ;; 757 1201 758 1202 -without-* | --without-*) 759 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 760 1204 # Reject names that are not valid shell variable names. 761 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 762 { echo "$as_me: error: invalid package name: $ac_package" >&2 763 { (exit 1); exit 1; }; } 764 ac_package=`echo $ac_package | sed 's/-/_/g'` 765 eval "with_$ac_package=no" ;; 1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1206 as_fn_error "invalid package name: $ac_useropt" 1207 ac_useropt_orig=$ac_useropt 1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1209 case $ac_user_opts in 1210 *" 1211 "with_$ac_useropt" 1212 "*) ;; 1213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1214 ac_unrecognized_sep=', ';; 1215 esac 1216 eval with_$ac_useropt=no ;; 766 1217 767 1218 --x) … … 783 1234 x_libraries=$ac_optarg ;; 784 1235 785 -*) { echo "$as_me: error: unrecognized option: $ac_option 786 Try \`$0 --help' for more information." >&2 787 { (exit 1); exit 1; }; } 1236 -*) as_fn_error "unrecognized option: \`$ac_option' 1237 Try \`$0 --help' for more information." 788 1238 ;; 789 1239 … … 791 1241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 792 1242 # Reject names that are not valid shell variable names. 793 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&794 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2795 { (exit 1); exit 1; }; }796 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`797 eval "$ac_envvar='$ac_optarg'"1243 case $ac_envvar in #( 1244 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1245 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1246 esac 1247 eval $ac_envvar=\$ac_optarg 798 1248 export $ac_envvar ;; 799 1249 800 1250 *) 801 1251 # FIXME: should be removed in autoconf 3.0. 802 echo "$as_me: WARNING: you should use --build, --host, --target" >&21252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 803 1253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 804 echo "$as_me: WARNING: invalid host type: $ac_option" >&21254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 805 1255 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 806 1256 ;; … … 811 1261 if test -n "$ac_prev"; then 812 1262 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 813 { echo "$as_me: error: missing argument to $ac_option" >&2 814 { (exit 1); exit 1; }; } 815 fi 816 817 # Be sure to have absolute paths. 818 for ac_var in exec_prefix prefix 1263 as_fn_error "missing argument to $ac_option" 1264 fi 1265 1266 if test -n "$ac_unrecognized_opts"; then 1267 case $enable_option_checking in 1268 no) ;; 1269 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1271 esac 1272 fi 1273 1274 # Check all directory arguments for consistency. 1275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1276 datadir sysconfdir sharedstatedir localstatedir includedir \ 1277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1278 libdir localedir mandir 819 1279 do 820 eval ac_val=$`echo $ac_var` 1280 eval ac_val=\$$ac_var 1281 # Remove trailing slashes. 821 1282 case $ac_val in 822 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;823 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2824 { (exit 1); exit 1; }; };;1283 */ ) 1284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1285 eval $ac_var=\$ac_val;; 825 1286 esac 826 done 827 828 # Be sure to have absolute paths. 829 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 830 localstatedir libdir includedir oldincludedir infodir mandir 831 do 832 eval ac_val=$`echo $ac_var` 1287 # Be sure to have absolute directory names. 833 1288 case $ac_val in 834 [\\/$]* | ?:[\\/]* ) ;; 835 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 836 { (exit 1); exit 1; }; };; 1289 [\\/$]* | ?:[\\/]* ) continue;; 1290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 837 1291 esac 1292 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 838 1293 done 839 1294 … … 849 1304 if test "x$build_alias" = x; then 850 1305 cross_compiling=maybe 851 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1306 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 852 1307 If a cross compiler is detected then cross compile mode will be used." >&2 853 1308 elif test "x$build_alias" != "x$host_alias"; then … … 862 1317 863 1318 1319 ac_pwd=`pwd` && test -n "$ac_pwd" && 1320 ac_ls_di=`ls -di .` && 1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1322 as_fn_error "working directory cannot be determined" 1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1324 as_fn_error "pwd does not report name of working directory" 1325 1326 864 1327 # Find the source files, if location was not specified. 865 1328 if test -z "$srcdir"; then 866 1329 ac_srcdir_defaulted=yes 867 # Try the directory containing this script, then its parent. 868 ac_confdir=`(dirname "$0") 2>/dev/null || 869 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 870 X"$0" : 'X\(//\)[^/]' \| \ 871 X"$0" : 'X\(//\)$' \| \ 872 X"$0" : 'X\(/\)' \| \ 873 . : '\(.\)' 2>/dev/null || 874 echo X"$0" | 875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 876 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 877 /^X\(\/\/\)$/{ s//\1/; q; } 878 /^X\(\/\).*/{ s//\1/; q; } 879 s/.*/./; q'` 1330 # Try the directory containing this script, then the parent directory. 1331 ac_confdir=`$as_dirname -- "$as_myself" || 1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1333 X"$as_myself" : 'X\(//\)[^/]' \| \ 1334 X"$as_myself" : 'X\(//\)$' \| \ 1335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1336 $as_echo X"$as_myself" | 1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1338 s//\1/ 1339 q 1340 } 1341 /^X\(\/\/\)[^/].*/{ 1342 s//\1/ 1343 q 1344 } 1345 /^X\(\/\/\)$/{ 1346 s//\1/ 1347 q 1348 } 1349 /^X\(\/\).*/{ 1350 s//\1/ 1351 q 1352 } 1353 s/.*/./; q'` 880 1354 srcdir=$ac_confdir 881 if test ! -r $srcdir/$ac_unique_file; then1355 if test ! -r "$srcdir/$ac_unique_file"; then 882 1356 srcdir=.. 883 1357 fi … … 885 1359 ac_srcdir_defaulted=no 886 1360 fi 887 if test ! -r $srcdir/$ac_unique_file; then 888 if test "$ac_srcdir_defaulted" = yes; then 889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 890 { (exit 1); exit 1; }; } 891 else 892 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 893 { (exit 1); exit 1; }; } 894 fi 895 fi 896 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 897 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 898 { (exit 1); exit 1; }; } 899 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 900 ac_env_build_alias_set=${build_alias+set} 901 ac_env_build_alias_value=$build_alias 902 ac_cv_env_build_alias_set=${build_alias+set} 903 ac_cv_env_build_alias_value=$build_alias 904 ac_env_host_alias_set=${host_alias+set} 905 ac_env_host_alias_value=$host_alias 906 ac_cv_env_host_alias_set=${host_alias+set} 907 ac_cv_env_host_alias_value=$host_alias 908 ac_env_target_alias_set=${target_alias+set} 909 ac_env_target_alias_value=$target_alias 910 ac_cv_env_target_alias_set=${target_alias+set} 911 ac_cv_env_target_alias_value=$target_alias 912 ac_env_CC_set=${CC+set} 913 ac_env_CC_value=$CC 914 ac_cv_env_CC_set=${CC+set} 915 ac_cv_env_CC_value=$CC 916 ac_env_CFLAGS_set=${CFLAGS+set} 917 ac_env_CFLAGS_value=$CFLAGS 918 ac_cv_env_CFLAGS_set=${CFLAGS+set} 919 ac_cv_env_CFLAGS_value=$CFLAGS 920 ac_env_LDFLAGS_set=${LDFLAGS+set} 921 ac_env_LDFLAGS_value=$LDFLAGS 922 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 923 ac_cv_env_LDFLAGS_value=$LDFLAGS 924 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 925 ac_env_CPPFLAGS_value=$CPPFLAGS 926 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 927 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 928 ac_env_CPP_set=${CPP+set} 929 ac_env_CPP_value=$CPP 930 ac_cv_env_CPP_set=${CPP+set} 931 ac_cv_env_CPP_value=$CPP 1361 if test ! -r "$srcdir/$ac_unique_file"; then 1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1363 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1364 fi 1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1366 ac_abs_confdir=`( 1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1368 pwd)` 1369 # When building in place, set srcdir=. 1370 if test "$ac_abs_confdir" = "$ac_pwd"; then 1371 srcdir=. 1372 fi 1373 # Remove unnecessary trailing slashes from srcdir. 1374 # Double slashes in file names in object file debugging info 1375 # mess up M-x gdb in Emacs. 1376 case $srcdir in 1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1378 esac 1379 for ac_var in $ac_precious_vars; do 1380 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1381 eval ac_env_${ac_var}_value=\$${ac_var} 1382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1383 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1384 done 932 1385 933 1386 # … … 958 1411 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 959 1412 960 _ACEOF961 962 cat <<_ACEOF963 1413 Installation directories: 964 1414 --prefix=PREFIX install architecture-independent files in PREFIX 965 1415 [$ac_default_prefix] 966 1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 967 1417 [PREFIX] 968 1418 969 1419 By default, \`make install' will install all the files in … … 975 1425 976 1426 Fine tuning of the installation directories: 977 --bindir=DIR user executables [EPREFIX/bin] 978 --sbindir=DIR system admin executables [EPREFIX/sbin] 979 --libexecdir=DIR program executables [EPREFIX/libexec] 980 --datadir=DIR read-only architecture-independent data [PREFIX/share] 981 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 982 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 983 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 984 --libdir=DIR object code libraries [EPREFIX/lib] 985 --includedir=DIR C header files [PREFIX/include] 986 --oldincludedir=DIR C header files for non-gcc [/usr/include] 987 --infodir=DIR info documentation [PREFIX/info] 988 --mandir=DIR man documentation [PREFIX/man] 1427 --bindir=DIR user executables [EPREFIX/bin] 1428 --sbindir=DIR system admin executables [EPREFIX/sbin] 1429 --libexecdir=DIR program executables [EPREFIX/libexec] 1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1433 --libdir=DIR object code libraries [EPREFIX/lib] 1434 --includedir=DIR C header files [PREFIX/include] 1435 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1438 --infodir=DIR info documentation [DATAROOTDIR/info] 1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1440 --mandir=DIR man documentation [DATAROOTDIR/man] 1441 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1442 --htmldir=DIR html documentation [DOCDIR] 1443 --dvidir=DIR dvi documentation [DOCDIR] 1444 --pdfdir=DIR pdf documentation [DOCDIR] 1445 --psdir=DIR ps documentation [DOCDIR] 989 1446 _ACEOF 990 1447 … … 1003 1460 1004 1461 Optional Features: 1462 --disable-option-checking ignore unrecognized --enable/--with options 1005 1463 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1006 1464 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1026 1484 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1027 1485 nonstandard directory <lib dir> 1028 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1029 headers in a nonstandard directory <include dir> 1486 LIBS libraries to pass to the linker, e.g. -l<library> 1487 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1488 you have headers in a nonstandard directory <include dir> 1030 1489 CPP C preprocessor 1031 1490 … … 1033 1492 it to find libraries and programs with nonstandard names/locations. 1034 1493 1494 Report bugs to the package provider. 1035 1495 _ACEOF 1496 ac_status=$? 1036 1497 fi 1037 1498 1038 1499 if test "$ac_init_help" = "recursive"; then 1039 1500 # If there are subdirs, report their specific --help. 1040 ac_popdir=`pwd`1041 1501 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1042 test -d $ac_dir || continue 1502 test -d "$ac_dir" || 1503 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1504 continue 1043 1505 ac_builddir=. 1044 1506 1045 if test "$ac_dir" != .; then 1046 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1047 # A "../" for each directory in $ac_dir_suffix. 1048 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1049 else 1050 ac_dir_suffix= ac_top_builddir= 1051 fi 1507 case "$ac_dir" in 1508 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1509 *) 1510 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1511 # A ".." for each directory in $ac_dir_suffix. 1512 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1513 case $ac_top_builddir_sub in 1514 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1515 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1516 esac ;; 1517 esac 1518 ac_abs_top_builddir=$ac_pwd 1519 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1520 # for backward compatibility: 1521 ac_top_builddir=$ac_top_build_prefix 1052 1522 1053 1523 case $srcdir in 1054 .) # No --srcdir option.We are building in place.1524 .) # We are building in place. 1055 1525 ac_srcdir=. 1056 if test -z "$ac_top_builddir"; then 1057 ac_top_srcdir=. 1526 ac_top_srcdir=$ac_top_builddir_sub 1527 ac_abs_top_srcdir=$ac_pwd ;; 1528 [\\/]* | ?:[\\/]* ) # Absolute name. 1529 ac_srcdir=$srcdir$ac_dir_suffix; 1530 ac_top_srcdir=$srcdir 1531 ac_abs_top_srcdir=$srcdir ;; 1532 *) # Relative name. 1533 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1534 ac_top_srcdir=$ac_top_build_prefix$srcdir 1535 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1536 esac 1537 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1538 1539 cd "$ac_dir" || { ac_status=$?; continue; } 1540 # Check for guested configure. 1541 if test -f "$ac_srcdir/configure.gnu"; then 1542 echo && 1543 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1544 elif test -f "$ac_srcdir/configure"; then 1545 echo && 1546 $SHELL "$ac_srcdir/configure" --help=recursive 1058 1547 else 1059 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1060 fi ;; 1061 [\\/]* | ?:[\\/]* ) # Absolute path. 1062 ac_srcdir=$srcdir$ac_dir_suffix; 1063 ac_top_srcdir=$srcdir ;; 1064 *) # Relative path. 1065 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1066 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1067 esac 1068 1069 # Do not use `cd foo && pwd` to compute absolute paths, because 1070 # the directories may not exist. 1071 case `pwd` in 1072 .) ac_abs_builddir="$ac_dir";; 1073 *) 1074 case "$ac_dir" in 1075 .) ac_abs_builddir=`pwd`;; 1076 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1077 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1078 esac;; 1079 esac 1080 case $ac_abs_builddir in 1081 .) ac_abs_top_builddir=${ac_top_builddir}.;; 1082 *) 1083 case ${ac_top_builddir}. in 1084 .) ac_abs_top_builddir=$ac_abs_builddir;; 1085 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1086 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1087 esac;; 1088 esac 1089 case $ac_abs_builddir in 1090 .) ac_abs_srcdir=$ac_srcdir;; 1091 *) 1092 case $ac_srcdir in 1093 .) ac_abs_srcdir=$ac_abs_builddir;; 1094 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1095 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1096 esac;; 1097 esac 1098 case $ac_abs_builddir in 1099 .) ac_abs_top_srcdir=$ac_top_srcdir;; 1100 *) 1101 case $ac_top_srcdir in 1102 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1103 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1104 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1105 esac;; 1106 esac 1107 1108 cd $ac_dir 1109 # Check for guested configure; otherwise get Cygnus style configure. 1110 if test -f $ac_srcdir/configure.gnu; then 1111 echo 1112 $SHELL $ac_srcdir/configure.gnu --help=recursive 1113 elif test -f $ac_srcdir/configure; then 1114 echo 1115 $SHELL $ac_srcdir/configure --help=recursive 1116 elif test -f $ac_srcdir/configure.ac || 1117 test -f $ac_srcdir/configure.in; then 1118 echo 1119 $ac_configure --help 1120 else 1121 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1122 fi 1123 cd $ac_popdir 1548 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1549 fi || ac_status=$? 1550 cd "$ac_pwd" || { ac_status=$?; break; } 1124 1551 done 1125 1552 fi 1126 1553 1127 test -n "$ac_init_help" && exit 01554 test -n "$ac_init_help" && exit $ac_status 1128 1555 if $ac_init_version; then 1129 1556 cat <<\_ACEOF 1130 1131 Copyright (C) 2003 Free Software Foundation, Inc. 1557 configure 1558 generated by GNU Autoconf 2.65 1559 1560 Copyright (C) 2009 Free Software Foundation, Inc. 1132 1561 This configure script is free software; the Free Software Foundation 1133 1562 gives unlimited permission to copy, distribute and modify it. 1134 1563 _ACEOF 1135 exit 0 1136 fi 1137 exec 5>config.log 1138 cat >&5 <<_ACEOF 1564 exit 1565 fi 1566 1567 ## ------------------------ ## 1568 ## Autoconf initialization. ## 1569 ## ------------------------ ## 1570 1571 # ac_fn_c_try_compile LINENO 1572 # -------------------------- 1573 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1574 ac_fn_c_try_compile () 1575 { 1576 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1577 rm -f conftest.$ac_objext 1578 if { { ac_try="$ac_compile" 1579 case "(($ac_try" in 1580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1581 *) ac_try_echo=$ac_try;; 1582 esac 1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1584 $as_echo "$ac_try_echo"; } >&5 1585 (eval "$ac_compile") 2>conftest.err 1586 ac_status=$? 1587 if test -s conftest.err; then 1588 grep -v '^ *+' conftest.err >conftest.er1 1589 cat conftest.er1 >&5 1590 mv -f conftest.er1 conftest.err 1591 fi 1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1593 test $ac_status = 0; } && { 1594 test -z "$ac_c_werror_flag" || 1595 test ! -s conftest.err 1596 } && test -s conftest.$ac_objext; then : 1597 ac_retval=0 1598 else 1599 $as_echo "$as_me: failed program was:" >&5 1600 sed 's/^/| /' conftest.$ac_ext >&5 1601 1602 ac_retval=1 1603 fi 1604 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1605 as_fn_set_status $ac_retval 1606 1607 } # ac_fn_c_try_compile 1608 1609 # ac_fn_c_try_cpp LINENO 1610 # ---------------------- 1611 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1612 ac_fn_c_try_cpp () 1613 { 1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1615 if { { ac_try="$ac_cpp conftest.$ac_ext" 1616 case "(($ac_try" in 1617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1618 *) ac_try_echo=$ac_try;; 1619 esac 1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1621 $as_echo "$ac_try_echo"; } >&5 1622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1623 ac_status=$? 1624 if test -s conftest.err; then 1625 grep -v '^ *+' conftest.err >conftest.er1 1626 cat conftest.er1 >&5 1627 mv -f conftest.er1 conftest.err 1628 fi 1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1630 test $ac_status = 0; } >/dev/null && { 1631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1632 test ! -s conftest.err 1633 }; then : 1634 ac_retval=0 1635 else 1636 $as_echo "$as_me: failed program was:" >&5 1637 sed 's/^/| /' conftest.$ac_ext >&5 1638 1639 ac_retval=1 1640 fi 1641 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1642 as_fn_set_status $ac_retval 1643 1644 } # ac_fn_c_try_cpp 1645 1646 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1647 # ------------------------------------------------------- 1648 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1649 # the include files in INCLUDES and setting the cache variable VAR 1650 # accordingly. 1651 ac_fn_c_check_header_mongrel () 1652 { 1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1654 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1656 $as_echo_n "checking for $2... " >&6; } 1657 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1658 $as_echo_n "(cached) " >&6 1659 fi 1660 eval ac_res=\$$3 1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1662 $as_echo "$ac_res" >&6; } 1663 else 1664 # Is the header compilable? 1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1666 $as_echo_n "checking $2 usability... " >&6; } 1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1668 /* end confdefs.h. */ 1669 $4 1670 #include <$2> 1671 _ACEOF 1672 if ac_fn_c_try_compile "$LINENO"; then : 1673 ac_header_compiler=yes 1674 else 1675 ac_header_compiler=no 1676 fi 1677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1679 $as_echo "$ac_header_compiler" >&6; } 1680 1681 # Is the header present? 1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1683 $as_echo_n "checking $2 presence... " >&6; } 1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1685 /* end confdefs.h. */ 1686 #include <$2> 1687 _ACEOF 1688 if ac_fn_c_try_cpp "$LINENO"; then : 1689 ac_header_preproc=yes 1690 else 1691 ac_header_preproc=no 1692 fi 1693 rm -f conftest.err conftest.$ac_ext 1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1695 $as_echo "$ac_header_preproc" >&6; } 1696 1697 # So? What about this header? 1698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1699 yes:no: ) 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1701 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1703 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1704 ;; 1705 no:yes:* ) 1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1707 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1709 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1711 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1713 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1716 ;; 1717 esac 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1719 $as_echo_n "checking for $2... " >&6; } 1720 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1721 $as_echo_n "(cached) " >&6 1722 else 1723 eval "$3=\$ac_header_compiler" 1724 fi 1725 eval ac_res=\$$3 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1727 $as_echo "$ac_res" >&6; } 1728 fi 1729 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1730 1731 } # ac_fn_c_check_header_mongrel 1732 1733 # ac_fn_c_try_run LINENO 1734 # ---------------------- 1735 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1736 # that executables *can* be run. 1737 ac_fn_c_try_run () 1738 { 1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1740 if { { ac_try="$ac_link" 1741 case "(($ac_try" in 1742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1743 *) ac_try_echo=$ac_try;; 1744 esac 1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1746 $as_echo "$ac_try_echo"; } >&5 1747 (eval "$ac_link") 2>&5 1748 ac_status=$? 1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1750 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1751 { { case "(($ac_try" in 1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1753 *) ac_try_echo=$ac_try;; 1754 esac 1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1756 $as_echo "$ac_try_echo"; } >&5 1757 (eval "$ac_try") 2>&5 1758 ac_status=$? 1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1760 test $ac_status = 0; }; }; then : 1761 ac_retval=0 1762 else 1763 $as_echo "$as_me: program exited with status $ac_status" >&5 1764 $as_echo "$as_me: failed program was:" >&5 1765 sed 's/^/| /' conftest.$ac_ext >&5 1766 1767 ac_retval=$ac_status 1768 fi 1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1770 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1771 as_fn_set_status $ac_retval 1772 1773 } # ac_fn_c_try_run 1774 1775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1776 # ------------------------------------------------------- 1777 # Tests whether HEADER exists and can be compiled using the include files in 1778 # INCLUDES, setting the cache variable VAR accordingly. 1779 ac_fn_c_check_header_compile () 1780 { 1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1783 $as_echo_n "checking for $2... " >&6; } 1784 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1785 $as_echo_n "(cached) " >&6 1786 else 1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1788 /* end confdefs.h. */ 1789 $4 1790 #include <$2> 1791 _ACEOF 1792 if ac_fn_c_try_compile "$LINENO"; then : 1793 eval "$3=yes" 1794 else 1795 eval "$3=no" 1796 fi 1797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1798 fi 1799 eval ac_res=\$$3 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1801 $as_echo "$ac_res" >&6; } 1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1803 1804 } # ac_fn_c_check_header_compile 1805 1806 # ac_fn_c_try_link LINENO 1807 # ----------------------- 1808 # Try to link conftest.$ac_ext, and return whether this succeeded. 1809 ac_fn_c_try_link () 1810 { 1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1812 rm -f conftest.$ac_objext conftest$ac_exeext 1813 if { { ac_try="$ac_link" 1814 case "(($ac_try" in 1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1816 *) ac_try_echo=$ac_try;; 1817 esac 1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1819 $as_echo "$ac_try_echo"; } >&5 1820 (eval "$ac_link") 2>conftest.err 1821 ac_status=$? 1822 if test -s conftest.err; then 1823 grep -v '^ *+' conftest.err >conftest.er1 1824 cat conftest.er1 >&5 1825 mv -f conftest.er1 conftest.err 1826 fi 1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1828 test $ac_status = 0; } && { 1829 test -z "$ac_c_werror_flag" || 1830 test ! -s conftest.err 1831 } && test -s conftest$ac_exeext && { 1832 test "$cross_compiling" = yes || 1833 $as_test_x conftest$ac_exeext 1834 }; then : 1835 ac_retval=0 1836 else 1837 $as_echo "$as_me: failed program was:" >&5 1838 sed 's/^/| /' conftest.$ac_ext >&5 1839 1840 ac_retval=1 1841 fi 1842 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1843 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1844 # interfere with the next link command; also delete a directory that is 1845 # left behind by Apple's compiler. We do this before executing the actions. 1846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1847 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1848 as_fn_set_status $ac_retval 1849 1850 } # ac_fn_c_try_link 1851 1852 # ac_fn_c_check_func LINENO FUNC VAR 1853 # ---------------------------------- 1854 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1855 ac_fn_c_check_func () 1856 { 1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1859 $as_echo_n "checking for $2... " >&6; } 1860 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1861 $as_echo_n "(cached) " >&6 1862 else 1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1864 /* end confdefs.h. */ 1865 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1866 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1867 #define $2 innocuous_$2 1868 1869 /* System header to define __stub macros and hopefully few prototypes, 1870 which can conflict with char $2 (); below. 1871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1872 <limits.h> exists even on freestanding compilers. */ 1873 1874 #ifdef __STDC__ 1875 # include <limits.h> 1876 #else 1877 # include <assert.h> 1878 #endif 1879 1880 #undef $2 1881 1882 /* Override any GCC internal prototype to avoid an error. 1883 Use char because int might match the return type of a GCC 1884 builtin and then its argument prototype would still apply. */ 1885 #ifdef __cplusplus 1886 extern "C" 1887 #endif 1888 char $2 (); 1889 /* The GNU C library defines this for functions which it implements 1890 to always fail with ENOSYS. Some functions are actually named 1891 something starting with __ and the normal name is an alias. */ 1892 #if defined __stub_$2 || defined __stub___$2 1893 choke me 1894 #endif 1895 1896 int 1897 main () 1898 { 1899 return $2 (); 1900 ; 1901 return 0; 1902 } 1903 _ACEOF 1904 if ac_fn_c_try_link "$LINENO"; then : 1905 eval "$3=yes" 1906 else 1907 eval "$3=no" 1908 fi 1909 rm -f core conftest.err conftest.$ac_objext \ 1910 conftest$ac_exeext conftest.$ac_ext 1911 fi 1912 eval ac_res=\$$3 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1914 $as_echo "$ac_res" >&6; } 1915 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1916 1917 } # ac_fn_c_check_func 1918 cat >config.log <<_ACEOF 1139 1919 This file contains any messages produced by compilers while 1140 1920 running configure, to aid debugging if configure makes a mistake. 1141 1921 1142 1922 It was created by $as_me, which was 1143 generated by GNU Autoconf 2. 59. Invocation command line was1923 generated by GNU Autoconf 2.65. Invocation command line was 1144 1924 1145 1925 $ $0 $@ 1146 1926 1147 1927 _ACEOF 1928 exec 5>>config.log 1148 1929 { 1149 1930 cat <<_ASUNAME … … 1164 1945 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1165 1946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1166 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1947 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1167 1948 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1168 1949 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1176 1957 IFS=$as_save_IFS 1177 1958 test -z "$as_dir" && as_dir=. 1178 echo "PATH: $as_dir" 1179 done 1959 $as_echo "PATH: $as_dir" 1960 done 1961 IFS=$as_save_IFS 1180 1962 1181 1963 } >&5 … … 1199 1981 ac_configure_args0= 1200 1982 ac_configure_args1= 1201 ac_sep=1202 1983 ac_must_keep_next=false 1203 1984 for ac_pass in 1 2 … … 1210 1991 | -silent | --silent | --silen | --sile | --sil) 1211 1992 continue ;; 1212 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1213 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1993 *\'*) 1994 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1214 1995 esac 1215 1996 case $ac_pass in 1216 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1997 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1217 1998 2) 1218 a c_configure_args1="$ac_configure_args1'$ac_arg'"1999 as_fn_append ac_configure_args1 " '$ac_arg'" 1219 2000 if test $ac_must_keep_next = true; then 1220 2001 ac_must_keep_next=false # Got value, back to normal. … … 1232 2013 esac 1233 2014 fi 1234 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1235 # Get rid of the leading space. 1236 ac_sep=" " 2015 as_fn_append ac_configure_args " '$ac_arg'" 1237 2016 ;; 1238 2017 esac 1239 2018 done 1240 2019 done 1241 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1242 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2020 { ac_configure_args0=; unset ac_configure_args0;} 2021 { ac_configure_args1=; unset ac_configure_args1;} 1243 2022 1244 2023 # When interrupted or exit'd, cleanup temporary files, and complete 1245 2024 # config.log. We remove comments because anyway the quotes in there 1246 2025 # would cause problems or look ugly. 1247 # WARNING: Be sure not to use single quotes in there, as some shells,1248 # such as our DU 5.0 friend, will then `close' the trap.2026 # WARNING: Use '\'' to represent an apostrophe within the trap. 2027 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1249 2028 trap 'exit_status=$? 1250 2029 # Save into config.log some information that might help in debugging. … … 1259 2038 echo 1260 2039 # The following way of writing the cache mishandles newlines in values, 1261 { 2040 ( 2041 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2042 eval ac_val=\$$ac_var 2043 case $ac_val in #( 2044 *${as_nl}*) 2045 case $ac_var in #( 2046 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2048 esac 2049 case $ac_var in #( 2050 _ | IFS | as_nl) ;; #( 2051 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2052 *) { eval $ac_var=; unset $ac_var;} ;; 2053 esac ;; 2054 esac 2055 done 1262 2056 (set) 2>&1 | 1263 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1264 * ac_space=\ *)2057 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2058 *${as_nl}ac_space=\ *) 1265 2059 sed -n \ 1266 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 2060 "s/'\''/'\''\\\\'\'''\''/g; 2061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2062 ;; #( 2063 *) 2064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1268 2065 ;; 1269 *) 1270 sed -n \ 1271 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1272 ;; 1273 esac; 1274 } 2066 esac | 2067 sort 2068 ) 1275 2069 echo 1276 2070 … … 1283 2077 for ac_var in $ac_subst_vars 1284 2078 do 1285 eval ac_val=$`echo $ac_var` 1286 echo "$ac_var='"'"'$ac_val'"'"'" 2079 eval ac_val=\$$ac_var 2080 case $ac_val in 2081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2082 esac 2083 $as_echo "$ac_var='\''$ac_val'\''" 1287 2084 done | sort 1288 2085 echo … … 1290 2087 if test -n "$ac_subst_files"; then 1291 2088 cat <<\_ASBOX 1292 ## ------------- ##1293 ## Output files. ##1294 ## ------------- ##2089 ## ------------------- ## 2090 ## File substitutions. ## 2091 ## ------------------- ## 1295 2092 _ASBOX 1296 2093 echo 1297 2094 for ac_var in $ac_subst_files 1298 2095 do 1299 eval ac_val=$`echo $ac_var` 1300 echo "$ac_var='"'"'$ac_val'"'"'" 2096 eval ac_val=\$$ac_var 2097 case $ac_val in 2098 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2099 esac 2100 $as_echo "$ac_var='\''$ac_val'\''" 1301 2101 done | sort 1302 2102 echo … … 1310 2110 _ASBOX 1311 2111 echo 1312 sed "/^$/d" confdefs.h | sort2112 cat confdefs.h 1313 2113 echo 1314 2114 fi 1315 2115 test "$ac_signal" != 0 && 1316 echo "$as_me: caught signal $ac_signal"1317 echo "$as_me: exit $exit_status"2116 $as_echo "$as_me: caught signal $ac_signal" 2117 $as_echo "$as_me: exit $exit_status" 1318 2118 } >&5 1319 rm -f core *.core &&1320 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&2119 rm -f core *.core core.conftest.* && 2120 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1321 2121 exit $exit_status 1322 2122 ' 0 1323 2123 for ac_signal in 1 2 13 15; do 1324 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2124 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1325 2125 done 1326 2126 ac_signal=0 1327 2127 1328 2128 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1329 rm - rfconftest* confdefs.h1330 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1331 echo >confdefs.h2129 rm -f -r conftest* confdefs.h 2130 2131 $as_echo "/* confdefs.h */" > confdefs.h 1332 2132 1333 2133 # Predefined preprocessor variables. … … 1337 2137 _ACEOF 1338 2138 1339 1340 2139 cat >>confdefs.h <<_ACEOF 1341 2140 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1342 2141 _ACEOF 1343 2142 1344 1345 2143 cat >>confdefs.h <<_ACEOF 1346 2144 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1347 2145 _ACEOF 1348 2146 1349 1350 2147 cat >>confdefs.h <<_ACEOF 1351 2148 #define PACKAGE_STRING "$PACKAGE_STRING" 1352 2149 _ACEOF 1353 2150 1354 1355 2151 cat >>confdefs.h <<_ACEOF 1356 2152 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1357 2153 _ACEOF 1358 2154 2155 cat >>confdefs.h <<_ACEOF 2156 #define PACKAGE_URL "$PACKAGE_URL" 2157 _ACEOF 2158 1359 2159 1360 2160 # Let the site file select an alternate cache file if it wants to. 1361 # Prefer explicitly selected file to automatically selected ones. 1362 if test -z "$CONFIG_SITE"; then 1363 if test "x$prefix" != xNONE; then 1364 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1365 else 1366 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1367 fi 1368 fi 1369 for ac_site_file in $CONFIG_SITE; do 1370 if test -r "$ac_site_file"; then 1371 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1372 echo "$as_me: loading site script $ac_site_file" >&6;} 2161 # Prefer an explicitly selected file to automatically selected ones. 2162 ac_site_file1=NONE 2163 ac_site_file2=NONE 2164 if test -n "$CONFIG_SITE"; then 2165 ac_site_file1=$CONFIG_SITE 2166 elif test "x$prefix" != xNONE; then 2167 ac_site_file1=$prefix/share/config.site 2168 ac_site_file2=$prefix/etc/config.site 2169 else 2170 ac_site_file1=$ac_default_prefix/share/config.site 2171 ac_site_file2=$ac_default_prefix/etc/config.site 2172 fi 2173 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2174 do 2175 test "x$ac_site_file" = xNONE && continue 2176 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2178 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1373 2179 sed 's/^/| /' "$ac_site_file" >&5 1374 2180 . "$ac_site_file" … … 1377 2183 1378 2184 if test -r "$cache_file"; then 1379 # Some versions of bash will fail to source /dev/null (special 1380 # files actually), so we avoid doing that.1381 if test -f "$cache_file"; then1382 { echo "$as_me:$LINENO: loading cache $cache_file" >&51383 echo "$as_me: loading cache $cache_file" >&6;}2185 # Some versions of bash will fail to source /dev/null (special files 2186 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2187 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2189 $as_echo "$as_me: loading cache $cache_file" >&6;} 1384 2190 case $cache_file in 1385 [\\/]* | ?:[\\/]* ) . $cache_file;;1386 *) . ./$cache_file;;2191 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2192 *) . "./$cache_file";; 1387 2193 esac 1388 2194 fi 1389 2195 else 1390 { echo "$as_me:$LINENO: creating cache $cache_file" >&51391 echo "$as_me: creating cache $cache_file" >&6;}2196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2197 $as_echo "$as_me: creating cache $cache_file" >&6;} 1392 2198 >$cache_file 1393 2199 fi … … 1396 2202 # value. 1397 2203 ac_cache_corrupted=false 1398 for ac_var in `(set) 2>&1 | 1399 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2204 for ac_var in $ac_precious_vars; do 1400 2205 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1401 2206 eval ac_new_set=\$ac_env_${ac_var}_set 1402 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1403 eval ac_new_val= "\$ac_env_${ac_var}_value"2207 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2208 eval ac_new_val=\$ac_env_${ac_var}_value 1404 2209 case $ac_old_set,$ac_new_set in 1405 2210 set,) 1406 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51407 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2212 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1408 2213 ac_cache_corrupted=: ;; 1409 2214 ,set) 1410 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51411 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2216 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1412 2217 ac_cache_corrupted=: ;; 1413 2218 ,);; 1414 2219 *) 1415 2220 if test "x$ac_old_val" != "x$ac_new_val"; then 1416 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1417 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1418 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1419 echo "$as_me: former value: $ac_old_val" >&2;} 1420 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1421 echo "$as_me: current value: $ac_new_val" >&2;} 1422 ac_cache_corrupted=: 2221 # differences in whitespace do not lead to failure. 2222 ac_old_val_w=`echo x $ac_old_val` 2223 ac_new_val_w=`echo x $ac_new_val` 2224 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2226 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2227 ac_cache_corrupted=: 2228 else 2229 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2230 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2231 eval $ac_var=\$ac_old_val 2232 fi 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2234 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2236 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1423 2237 fi;; 1424 2238 esac … … 1426 2240 if test "$ac_new_set" = set; then 1427 2241 case $ac_new_val in 1428 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1429 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2242 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1430 2243 *) ac_arg=$ac_var=$ac_new_val ;; 1431 2244 esac 1432 2245 case " $ac_configure_args " in 1433 2246 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1434 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2247 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1435 2248 esac 1436 2249 fi 1437 2250 done 1438 2251 if $ac_cache_corrupted; then 1439 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1440 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1441 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1442 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1443 { (exit 1); exit 1; }; } 1444 fi 2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2255 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2256 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2257 fi 2258 ## -------------------- ## 2259 ## Main body of script. ## 2260 ## -------------------- ## 1445 2261 1446 2262 ac_ext=c … … 1451 2267 1452 2268 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 2269 VERSION=`cat .version` 1471 2270 … … 1474 2273 1475 2274 ac_aux_dir= 1476 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1477 if test -f $ac_dir/install-sh; then 1478 ac_aux_dir=$ac_dir 1479 ac_install_sh="$ac_aux_dir/install-sh -c" 1480 break 1481 elif test -f $ac_dir/install.sh; then 1482 ac_aux_dir=$ac_dir 1483 ac_install_sh="$ac_aux_dir/install.sh -c" 1484 break 1485 elif test -f $ac_dir/shtool; then 1486 ac_aux_dir=$ac_dir 1487 ac_install_sh="$ac_aux_dir/shtool install -c" 1488 break 1489 fi 2275 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2276 for ac_t in install-sh install.sh shtool; do 2277 if test -f "$ac_dir/$ac_t"; then 2278 ac_aux_dir=$ac_dir 2279 ac_install_sh="$ac_aux_dir/$ac_t -c" 2280 break 2 2281 fi 2282 done 1490 2283 done 1491 2284 if test -z "$ac_aux_dir"; then 1492 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1493 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1494 { (exit 1); exit 1; }; } 1495 fi 1496 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1497 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1498 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2285 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2286 fi 2287 2288 # These three variables are undocumented and unsupported, 2289 # and are intended to be withdrawn in a future Autoconf release. 2290 # They can cause serious problems if a builder's source tree is in a directory 2291 # whose full name contains unusual characters. 2292 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2293 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2294 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2295 1499 2296 1500 2297 # Make sure we can run config.sub. 1501 $ac_config_sub sun4 >/dev/null 2>&1 || 1502 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1503 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1504 { (exit 1); exit 1; }; } 1505 1506 echo "$as_me:$LINENO: checking build system type" >&5 1507 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1508 if test "${ac_cv_build+set}" = set; then 1509 echo $ECHO_N "(cached) $ECHO_C" >&6 1510 else 1511 ac_cv_build_alias=$build_alias 1512 test -z "$ac_cv_build_alias" && 1513 ac_cv_build_alias=`$ac_config_guess` 1514 test -z "$ac_cv_build_alias" && 1515 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1516 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1517 { (exit 1); exit 1; }; } 1518 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1519 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1520 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1521 { (exit 1); exit 1; }; } 1522 1523 fi 1524 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1525 echo "${ECHO_T}$ac_cv_build" >&6 2298 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2299 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2300 2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2302 $as_echo_n "checking build system type... " >&6; } 2303 if test "${ac_cv_build+set}" = set; then : 2304 $as_echo_n "(cached) " >&6 2305 else 2306 ac_build_alias=$build_alias 2307 test "x$ac_build_alias" = x && 2308 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2309 test "x$ac_build_alias" = x && 2310 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2311 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2312 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2313 2314 fi 2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2316 $as_echo "$ac_cv_build" >&6; } 2317 case $ac_cv_build in 2318 *-*-*) ;; 2319 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2320 esac 1526 2321 build=$ac_cv_build 1527 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1528 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1529 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1530 1531 1532 echo "$as_me:$LINENO: checking host system type" >&5 1533 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1534 if test "${ac_cv_host+set}" = set; then 1535 echo $ECHO_N "(cached) $ECHO_C" >&6 1536 else 1537 ac_cv_host_alias=$host_alias 1538 test -z "$ac_cv_host_alias" && 1539 ac_cv_host_alias=$ac_cv_build_alias 1540 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1541 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1542 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1543 { (exit 1); exit 1; }; } 1544 1545 fi 1546 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1547 echo "${ECHO_T}$ac_cv_host" >&6 2322 ac_save_IFS=$IFS; IFS='-' 2323 set x $ac_cv_build 2324 shift 2325 build_cpu=$1 2326 build_vendor=$2 2327 shift; shift 2328 # Remember, the first character of IFS is used to create $*, 2329 # except with old shells: 2330 build_os=$* 2331 IFS=$ac_save_IFS 2332 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2333 2334 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2336 $as_echo_n "checking host system type... " >&6; } 2337 if test "${ac_cv_host+set}" = set; then : 2338 $as_echo_n "(cached) " >&6 2339 else 2340 if test "x$host_alias" = x; then 2341 ac_cv_host=$ac_cv_build 2342 else 2343 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2344 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2345 fi 2346 2347 fi 2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2349 $as_echo "$ac_cv_host" >&6; } 2350 case $ac_cv_host in 2351 *-*-*) ;; 2352 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2353 esac 1548 2354 host=$ac_cv_host 1549 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1550 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1551 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1552 1553 1554 echo "$as_me:$LINENO: checking target system type" >&5 1555 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1556 if test "${ac_cv_target+set}" = set; then 1557 echo $ECHO_N "(cached) $ECHO_C" >&6 1558 else 1559 ac_cv_target_alias=$target_alias 1560 test "x$ac_cv_target_alias" = "x" && 1561 ac_cv_target_alias=$ac_cv_host_alias 1562 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1563 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1564 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1565 { (exit 1); exit 1; }; } 1566 1567 fi 1568 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1569 echo "${ECHO_T}$ac_cv_target" >&6 2355 ac_save_IFS=$IFS; IFS='-' 2356 set x $ac_cv_host 2357 shift 2358 host_cpu=$1 2359 host_vendor=$2 2360 shift; shift 2361 # Remember, the first character of IFS is used to create $*, 2362 # except with old shells: 2363 host_os=$* 2364 IFS=$ac_save_IFS 2365 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2366 2367 2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2369 $as_echo_n "checking target system type... " >&6; } 2370 if test "${ac_cv_target+set}" = set; then : 2371 $as_echo_n "(cached) " >&6 2372 else 2373 if test "x$target_alias" = x; then 2374 ac_cv_target=$ac_cv_host 2375 else 2376 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2377 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2378 fi 2379 2380 fi 2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2382 $as_echo "$ac_cv_target" >&6; } 2383 case $ac_cv_target in 2384 *-*-*) ;; 2385 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2386 esac 1570 2387 target=$ac_cv_target 1571 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1572 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1573 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2388 ac_save_IFS=$IFS; IFS='-' 2389 set x $ac_cv_target 2390 shift 2391 target_cpu=$1 2392 target_vendor=$2 2393 shift; shift 2394 # Remember, the first character of IFS is used to create $*, 2395 # except with old shells: 2396 target_os=$* 2397 IFS=$ac_save_IFS 2398 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1574 2399 1575 2400 … … 1581 2406 program_prefix=${target_alias}- 1582 2407 1583 ac_config_headers="$ac_config_headers config.h" 1584 1585 1586 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1587 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1588 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1589 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1590 echo $ECHO_N "(cached) $ECHO_C" >&6 2408 2409 ac_config_headers="$ac_config_headers config.h" 2410 2411 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2413 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2414 set x ${MAKE-make} 2415 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2416 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2417 $as_echo_n "(cached) " >&6 1591 2418 else 1592 2419 cat >conftest.make <<\_ACEOF 2420 SHELL = /bin/sh 1593 2421 all: 1594 @echo ' ac_maketemp="$(MAKE)"'2422 @echo '@@@%%%=$(MAKE)=@@@%%%' 1595 2423 _ACEOF 1596 2424 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1597 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1598 if test -n "$ac_maketemp"; then 1599 eval ac_cv_prog_make_${ac_make}_set=yes1600 else 1601 eval ac_cv_prog_make_${ac_make}_set=no1602 fi 2425 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2426 *@@@%%%=?*=@@@%%%*) 2427 eval ac_cv_prog_make_${ac_make}_set=yes;; 2428 *) 2429 eval ac_cv_prog_make_${ac_make}_set=no;; 2430 esac 1603 2431 rm -f conftest.make 1604 2432 fi 1605 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1606 echo "$as_me:$LINENO: result: yes" >&51607 echo "${ECHO_T}yes" >&6 2433 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2435 $as_echo "yes" >&6; } 1608 2436 SET_MAKE= 1609 2437 else 1610 echo "$as_me:$LINENO: result: no" >&51611 echo "${ECHO_T}no" >&6 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2439 $as_echo "no" >&6; } 1612 2440 SET_MAKE="MAKE=${MAKE-make}" 1613 2441 fi 1614 2442 1615 1616 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&51617 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&61618 arch_64bit=no1619 case "$host_cpu" in1620 x86_64) arch_64bit=yes ;;1621 esac1622 1623 if test "$arch_64bit" = yes; then1624 echo "$as_me:$LINENO: result: yes" >&51625 echo "${ECHO_T}yes" >&61626 if test -z "$COMPAT32BITFLAGS" ; then1627 COMPAT32BITFLAGS="-m32"1628 fi1629 else1630 echo "$as_me:$LINENO: result: no" >&51631 echo "${ECHO_T}no" >&61632 if test -z "$COMPAT32BITFLAGS" ; then1633 COMPAT32BITFLAGS=1634 fi1635 fi1636 2443 1637 2444 … … 1647 2454 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1648 2455 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1649 echo "$as_me:$LINENO: checking for $ac_word" >&51650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1651 if test "${ac_cv_prog_CC+set}" = set; then 1652 echo $ECHO_N "(cached) $ECHO_C" >&62456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2457 $as_echo_n "checking for $ac_word... " >&6; } 2458 if test "${ac_cv_prog_CC+set}" = set; then : 2459 $as_echo_n "(cached) " >&6 1653 2460 else 1654 2461 if test -n "$CC"; then … … 1660 2467 IFS=$as_save_IFS 1661 2468 test -z "$as_dir" && as_dir=. 1662 for ac_exec_ext in '' $ac_executable_extensions; do1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2469 for ac_exec_ext in '' $ac_executable_extensions; do 2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1664 2471 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1666 2473 break 2 1667 2474 fi 1668 2475 done 1669 done 2476 done 2477 IFS=$as_save_IFS 1670 2478 1671 2479 fi … … 1673 2481 CC=$ac_cv_prog_CC 1674 2482 if test -n "$CC"; then 1675 echo "$as_me:$LINENO: result: $CC" >&5 1676 echo "${ECHO_T}$CC" >&6 1677 else 1678 echo "$as_me:$LINENO: result: no" >&5 1679 echo "${ECHO_T}no" >&6 1680 fi 2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2484 $as_echo "$CC" >&6; } 2485 else 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2487 $as_echo "no" >&6; } 2488 fi 2489 1681 2490 1682 2491 fi … … 1685 2494 # Extract the first word of "gcc", so it can be a program name with args. 1686 2495 set dummy gcc; ac_word=$2 1687 echo "$as_me:$LINENO: checking for $ac_word" >&51688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1690 echo $ECHO_N "(cached) $ECHO_C" >&62496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2497 $as_echo_n "checking for $ac_word... " >&6; } 2498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2499 $as_echo_n "(cached) " >&6 1691 2500 else 1692 2501 if test -n "$ac_ct_CC"; then … … 1698 2507 IFS=$as_save_IFS 1699 2508 test -z "$as_dir" && as_dir=. 1700 for ac_exec_ext in '' $ac_executable_extensions; do1701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2509 for ac_exec_ext in '' $ac_executable_extensions; do 2510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1702 2511 ac_cv_prog_ac_ct_CC="gcc" 1703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1704 2513 break 2 1705 2514 fi 1706 2515 done 1707 done 2516 done 2517 IFS=$as_save_IFS 1708 2518 1709 2519 fi … … 1711 2521 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1712 2522 if test -n "$ac_ct_CC"; then 1713 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1714 echo "${ECHO_T}$ac_ct_CC" >&6 1715 else 1716 echo "$as_me:$LINENO: result: no" >&5 1717 echo "${ECHO_T}no" >&6 1718 fi 1719 1720 CC=$ac_ct_CC 2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2524 $as_echo "$ac_ct_CC" >&6; } 2525 else 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2527 $as_echo "no" >&6; } 2528 fi 2529 2530 if test "x$ac_ct_CC" = x; then 2531 CC="" 2532 else 2533 case $cross_compiling:$ac_tool_warned in 2534 yes:) 2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2537 ac_tool_warned=yes ;; 2538 esac 2539 CC=$ac_ct_CC 2540 fi 1721 2541 else 1722 2542 CC="$ac_cv_prog_CC" … … 1724 2544 1725 2545 if test -z "$CC"; then 1726 if test -n "$ac_tool_prefix"; then1727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2546 if test -n "$ac_tool_prefix"; then 2547 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1728 2548 set dummy ${ac_tool_prefix}cc; ac_word=$2 1729 echo "$as_me:$LINENO: checking for $ac_word" >&51730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1731 if test "${ac_cv_prog_CC+set}" = set; then 1732 echo $ECHO_N "(cached) $ECHO_C" >&62549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2550 $as_echo_n "checking for $ac_word... " >&6; } 2551 if test "${ac_cv_prog_CC+set}" = set; then : 2552 $as_echo_n "(cached) " >&6 1733 2553 else 1734 2554 if test -n "$CC"; then … … 1740 2560 IFS=$as_save_IFS 1741 2561 test -z "$as_dir" && as_dir=. 1742 for ac_exec_ext in '' $ac_executable_extensions; do1743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2562 for ac_exec_ext in '' $ac_executable_extensions; do 2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1744 2564 ac_cv_prog_CC="${ac_tool_prefix}cc" 1745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1746 2566 break 2 1747 2567 fi 1748 2568 done 1749 done 2569 done 2570 IFS=$as_save_IFS 1750 2571 1751 2572 fi … … 1753 2574 CC=$ac_cv_prog_CC 1754 2575 if test -n "$CC"; then 1755 echo "$as_me:$LINENO: result: $CC" >&5 1756 echo "${ECHO_T}$CC" >&6 1757 else 1758 echo "$as_me:$LINENO: result: no" >&5 1759 echo "${ECHO_T}no" >&6 1760 fi 1761 1762 fi 1763 if test -z "$ac_cv_prog_CC"; then 1764 ac_ct_CC=$CC 1765 # Extract the first word of "cc", so it can be a program name with args. 1766 set dummy cc; ac_word=$2 1767 echo "$as_me:$LINENO: checking for $ac_word" >&5 1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1770 echo $ECHO_N "(cached) $ECHO_C" >&6 1771 else 1772 if test -n "$ac_ct_CC"; then 1773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1774 else 1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1776 for as_dir in $PATH 1777 do 1778 IFS=$as_save_IFS 1779 test -z "$as_dir" && as_dir=. 1780 for ac_exec_ext in '' $ac_executable_extensions; do 1781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1782 ac_cv_prog_ac_ct_CC="cc" 1783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1784 break 2 2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2577 $as_echo "$CC" >&6; } 2578 else 2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2580 $as_echo "no" >&6; } 2581 fi 2582 2583 1785 2584 fi 1786 done1787 done1788 1789 fi1790 fi1791 ac_ct_CC=$ac_cv_prog_ac_ct_CC1792 if test -n "$ac_ct_CC"; then1793 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51794 echo "${ECHO_T}$ac_ct_CC" >&61795 else1796 echo "$as_me:$LINENO: result: no" >&51797 echo "${ECHO_T}no" >&61798 fi1799 1800 CC=$ac_ct_CC1801 else1802 CC="$ac_cv_prog_CC"1803 fi1804 1805 2585 fi 1806 2586 if test -z "$CC"; then 1807 2587 # Extract the first word of "cc", so it can be a program name with args. 1808 2588 set dummy cc; ac_word=$2 1809 echo "$as_me:$LINENO: checking for $ac_word" >&51810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1811 if test "${ac_cv_prog_CC+set}" = set; then 1812 echo $ECHO_N "(cached) $ECHO_C" >&62589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2590 $as_echo_n "checking for $ac_word... " >&6; } 2591 if test "${ac_cv_prog_CC+set}" = set; then : 2592 $as_echo_n "(cached) " >&6 1813 2593 else 1814 2594 if test -n "$CC"; then … … 1821 2601 IFS=$as_save_IFS 1822 2602 test -z "$as_dir" && as_dir=. 1823 for ac_exec_ext in '' $ac_executable_extensions; do1824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2603 for ac_exec_ext in '' $ac_executable_extensions; do 2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1825 2605 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1826 2606 ac_prog_rejected=yes … … 1828 2608 fi 1829 2609 ac_cv_prog_CC="cc" 1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1831 2611 break 2 1832 2612 fi 1833 2613 done 1834 done 2614 done 2615 IFS=$as_save_IFS 1835 2616 1836 2617 if test $ac_prog_rejected = yes; then … … 1850 2631 CC=$ac_cv_prog_CC 1851 2632 if test -n "$CC"; then 1852 echo "$as_me:$LINENO: result: $CC" >&5 1853 echo "${ECHO_T}$CC" >&6 1854 else 1855 echo "$as_me:$LINENO: result: no" >&5 1856 echo "${ECHO_T}no" >&6 1857 fi 2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2634 $as_echo "$CC" >&6; } 2635 else 2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2637 $as_echo "no" >&6; } 2638 fi 2639 1858 2640 1859 2641 fi 1860 2642 if test -z "$CC"; then 1861 2643 if test -n "$ac_tool_prefix"; then 1862 for ac_prog in cl 2644 for ac_prog in cl.exe 1863 2645 do 1864 2646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1865 2647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1866 echo "$as_me:$LINENO: checking for $ac_word" >&51867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1868 if test "${ac_cv_prog_CC+set}" = set; then 1869 echo $ECHO_N "(cached) $ECHO_C" >&62648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2649 $as_echo_n "checking for $ac_word... " >&6; } 2650 if test "${ac_cv_prog_CC+set}" = set; then : 2651 $as_echo_n "(cached) " >&6 1870 2652 else 1871 2653 if test -n "$CC"; then … … 1877 2659 IFS=$as_save_IFS 1878 2660 test -z "$as_dir" && as_dir=. 1879 for ac_exec_ext in '' $ac_executable_extensions; do1880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2661 for ac_exec_ext in '' $ac_executable_extensions; do 2662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1881 2663 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1883 2665 break 2 1884 2666 fi 1885 2667 done 1886 done 2668 done 2669 IFS=$as_save_IFS 1887 2670 1888 2671 fi … … 1890 2673 CC=$ac_cv_prog_CC 1891 2674 if test -n "$CC"; then 1892 echo "$as_me:$LINENO: result: $CC" >&5 1893 echo "${ECHO_T}$CC" >&6 1894 else 1895 echo "$as_me:$LINENO: result: no" >&5 1896 echo "${ECHO_T}no" >&6 1897 fi 2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2676 $as_echo "$CC" >&6; } 2677 else 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2679 $as_echo "no" >&6; } 2680 fi 2681 1898 2682 1899 2683 test -n "$CC" && break … … 1902 2686 if test -z "$CC"; then 1903 2687 ac_ct_CC=$CC 1904 for ac_prog in cl 2688 for ac_prog in cl.exe 1905 2689 do 1906 2690 # Extract the first word of "$ac_prog", so it can be a program name with args. 1907 2691 set dummy $ac_prog; ac_word=$2 1908 echo "$as_me:$LINENO: checking for $ac_word" >&51909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1910 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1911 echo $ECHO_N "(cached) $ECHO_C" >&62692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2693 $as_echo_n "checking for $ac_word... " >&6; } 2694 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2695 $as_echo_n "(cached) " >&6 1912 2696 else 1913 2697 if test -n "$ac_ct_CC"; then … … 1919 2703 IFS=$as_save_IFS 1920 2704 test -z "$as_dir" && as_dir=. 1921 for ac_exec_ext in '' $ac_executable_extensions; do1922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2705 for ac_exec_ext in '' $ac_executable_extensions; do 2706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1923 2707 ac_cv_prog_ac_ct_CC="$ac_prog" 1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1925 2709 break 2 1926 2710 fi 1927 2711 done 1928 done 2712 done 2713 IFS=$as_save_IFS 1929 2714 1930 2715 fi … … 1932 2717 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1933 2718 if test -n "$ac_ct_CC"; then 1934 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1935 echo "${ECHO_T}$ac_ct_CC" >&6 1936 else 1937 echo "$as_me:$LINENO: result: no" >&5 1938 echo "${ECHO_T}no" >&6 1939 fi 2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2720 $as_echo "$ac_ct_CC" >&6; } 2721 else 2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2723 $as_echo "no" >&6; } 2724 fi 2725 1940 2726 1941 2727 test -n "$ac_ct_CC" && break 1942 2728 done 1943 2729 1944 CC=$ac_ct_CC 1945 fi 1946 1947 fi 1948 1949 1950 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1951 See \`config.log' for more details." >&5 1952 echo "$as_me: error: no acceptable C compiler found in \$PATH 1953 See \`config.log' for more details." >&2;} 1954 { (exit 1); exit 1; }; } 2730 if test "x$ac_ct_CC" = x; then 2731 CC="" 2732 else 2733 case $cross_compiling:$ac_tool_warned in 2734 yes:) 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2737 ac_tool_warned=yes ;; 2738 esac 2739 CC=$ac_ct_CC 2740 fi 2741 fi 2742 2743 fi 2744 2745 2746 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2748 as_fn_error "no acceptable C compiler found in \$PATH 2749 See \`config.log' for more details." "$LINENO" 5; } 1955 2750 1956 2751 # Provide some information about the compiler. 1957 echo "$as_me:$LINENO:" \ 1958 "checking for C compiler version" >&5 1959 ac_compiler=`set X $ac_compile; echo $2` 1960 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1961 (eval $ac_compiler --version </dev/null >&5) 2>&5 2752 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2753 set X $ac_compile 2754 ac_compiler=$2 2755 for ac_option in --version -v -V -qversion; do 2756 { { ac_try="$ac_compiler $ac_option >&5" 2757 case "(($ac_try" in 2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2759 *) ac_try_echo=$ac_try;; 2760 esac 2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2762 $as_echo "$ac_try_echo"; } >&5 2763 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1962 2764 ac_status=$? 1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1964 (exit $ac_status); } 1965 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1966 (eval $ac_compiler -v </dev/null >&5) 2>&5 1967 ac_status=$? 1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1969 (exit $ac_status); } 1970 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1971 (eval $ac_compiler -V </dev/null >&5) 2>&5 1972 ac_status=$? 1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1974 (exit $ac_status); } 1975 1976 cat >conftest.$ac_ext <<_ACEOF 1977 /* confdefs.h. */ 1978 _ACEOF 1979 cat confdefs.h >>conftest.$ac_ext 1980 cat >>conftest.$ac_ext <<_ACEOF 2765 if test -s conftest.err; then 2766 sed '10a\ 2767 ... rest of stderr output deleted ... 2768 10q' conftest.err >conftest.er1 2769 cat conftest.er1 >&5 2770 fi 2771 rm -f conftest.er1 conftest.err 2772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2773 test $ac_status = 0; } 2774 done 2775 2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1981 2777 /* end confdefs.h. */ 1982 2778 … … 1990 2786 _ACEOF 1991 2787 ac_clean_files_save=$ac_clean_files 1992 ac_clean_files="$ac_clean_files a.out a. exe b.out"2788 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1993 2789 # Try to create an executable without -o first, disregard a.out. 1994 2790 # It will help us diagnose broken compilers, and finding out an intuition 1995 2791 # of exeext. 1996 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1997 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1998 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1999 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2000 (eval $ac_link_default) 2>&5 2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2793 $as_echo_n "checking whether the C compiler works... " >&6; } 2794 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2795 2796 # The possible output files: 2797 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2798 2799 ac_rmfiles= 2800 for ac_file in $ac_files 2801 do 2802 case $ac_file in 2803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2804 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2805 esac 2806 done 2807 rm -f $ac_rmfiles 2808 2809 if { { ac_try="$ac_link_default" 2810 case "(($ac_try" in 2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2812 *) ac_try_echo=$ac_try;; 2813 esac 2814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2815 $as_echo "$ac_try_echo"; } >&5 2816 (eval "$ac_link_default") 2>&5 2001 2817 ac_status=$? 2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2003 (exit $ac_status); }; then 2004 # Find the output, starting from the most likely. This scheme is 2005 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2006 # resort. 2007 2008 # Be careful to initialize this variable, since it used to be cached. 2009 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2010 ac_cv_exeext= 2011 # b.out is created by i960 compilers. 2012 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2819 test $ac_status = 0; }; then : 2820 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2821 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2822 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2823 # so that the user can short-circuit this test for compilers unknown to 2824 # Autoconf. 2825 for ac_file in $ac_files '' 2013 2826 do 2014 2827 test -f "$ac_file" || continue 2015 2828 case $ac_file in 2016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2017 ;; 2018 conftest.$ac_ext ) 2019 # This is the source file. 2829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2020 2830 ;; 2021 2831 [ab].out ) … … 2024 2834 break;; 2025 2835 *.* ) 2026 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2027 # FIXME: I believe we export ac_cv_exeext for Libtool, 2028 # but it would be cool to find out if it's true. Does anybody 2029 # maintain Libtool? --akim. 2030 export ac_cv_exeext 2836 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2837 then :; else 2838 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2839 fi 2840 # We set ac_cv_exeext here because the later test for it is not 2841 # safe: cross compilers may not add the suffix if given an `-o' 2842 # argument, so we may need to know it at that point already. 2843 # Even if this section looks crufty: it has the advantage of 2844 # actually working. 2031 2845 break;; 2032 2846 * ) … … 2034 2848 esac 2035 2849 done 2036 else 2037 echo "$as_me: failed program was:" >&5 2850 test "$ac_cv_exeext" = no && ac_cv_exeext= 2851 2852 else 2853 ac_file='' 2854 fi 2855 if test -z "$ac_file"; then : 2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2857 $as_echo "no" >&6; } 2858 $as_echo "$as_me: failed program was:" >&5 2038 2859 sed 's/^/| /' conftest.$ac_ext >&5 2039 2860 2040 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2041 See \`config.log' for more details." >&5 2042 echo "$as_me: error: C compiler cannot create executables 2043 See \`config.log' for more details." >&2;} 2044 { (exit 77); exit 77; }; } 2045 fi 2046 2861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2863 { as_fn_set_status 77 2864 as_fn_error "C compiler cannot create executables 2865 See \`config.log' for more details." "$LINENO" 5; }; } 2866 else 2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2868 $as_echo "yes" >&6; } 2869 fi 2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2871 $as_echo_n "checking for C compiler default output file name... " >&6; } 2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2873 $as_echo "$ac_file" >&6; } 2047 2874 ac_exeext=$ac_cv_exeext 2048 echo "$as_me:$LINENO: result: $ac_file" >&5 2049 echo "${ECHO_T}$ac_file" >&6 2050 2051 # Check the compiler produces executables we can run. If not, either 2052 # the compiler is broken, or we cross compile. 2053 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2054 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2055 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2056 # If not cross compiling, check that we can run a simple program. 2057 if test "$cross_compiling" != yes; then 2058 if { ac_try='./$ac_file' 2059 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52060 (eval $ac_try) 2>&52875 2876 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2877 ac_clean_files=$ac_clean_files_save 2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2879 $as_echo_n "checking for suffix of executables... " >&6; } 2880 if { { ac_try="$ac_link" 2881 case "(($ac_try" in 2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2883 *) ac_try_echo=$ac_try;; 2884 esac 2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2886 $as_echo "$ac_try_echo"; } >&5 2887 (eval "$ac_link") 2>&5 2061 2888 ac_status=$? 2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2063 (exit $ac_status); }; }; then 2064 cross_compiling=no 2065 else 2066 if test "$cross_compiling" = maybe; then 2067 cross_compiling=yes 2068 else 2069 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2070 If you meant to cross compile, use \`--host'. 2071 See \`config.log' for more details." >&5 2072 echo "$as_me: error: cannot run C compiled programs. 2073 If you meant to cross compile, use \`--host'. 2074 See \`config.log' for more details." >&2;} 2075 { (exit 1); exit 1; }; } 2076 fi 2077 fi 2078 fi 2079 echo "$as_me:$LINENO: result: yes" >&5 2080 echo "${ECHO_T}yes" >&6 2081 2082 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2083 ac_clean_files=$ac_clean_files_save 2084 # Check the compiler produces executables we can run. If not, either 2085 # the compiler is broken, or we cross compile. 2086 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2087 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2088 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2089 echo "${ECHO_T}$cross_compiling" >&6 2090 2091 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2092 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2094 (eval $ac_link) 2>&5 2095 ac_status=$? 2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 (exit $ac_status); }; then 2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2890 test $ac_status = 0; }; then : 2098 2891 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2099 2892 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2103 2896 test -f "$ac_file" || continue 2104 2897 case $ac_file in 2105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2106 2899 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2107 export ac_cv_exeext2108 2900 break;; 2109 2901 * ) break;; … … 2111 2903 done 2112 2904 else 2113 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2114 See \`config.log' for more details." >&5 2115 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2116 See \`config.log' for more details." >&2;} 2117 { (exit 1); exit 1; }; } 2118 fi 2119 2120 rm -f conftest$ac_cv_exeext 2121 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2122 echo "${ECHO_T}$ac_cv_exeext" >&6 2905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2907 as_fn_error "cannot compute suffix of executables: cannot compile and link 2908 See \`config.log' for more details." "$LINENO" 5; } 2909 fi 2910 rm -f conftest conftest$ac_cv_exeext 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2912 $as_echo "$ac_cv_exeext" >&6; } 2123 2913 2124 2914 rm -f conftest.$ac_ext 2125 2915 EXEEXT=$ac_cv_exeext 2126 2916 ac_exeext=$EXEEXT 2127 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2128 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2129 if test "${ac_cv_objext+set}" = set; then 2130 echo $ECHO_N "(cached) $ECHO_C" >&6 2131 else 2132 cat >conftest.$ac_ext <<_ACEOF 2133 /* confdefs.h. */ 2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2918 /* end confdefs.h. */ 2919 #include <stdio.h> 2920 int 2921 main () 2922 { 2923 FILE *f = fopen ("conftest.out", "w"); 2924 return ferror (f) || fclose (f) != 0; 2925 2926 ; 2927 return 0; 2928 } 2134 2929 _ACEOF 2135 cat confdefs.h >>conftest.$ac_ext 2136 cat >>conftest.$ac_ext <<_ACEOF 2930 ac_clean_files="$ac_clean_files conftest.out" 2931 # Check that the compiler produces executables we can run. If not, either 2932 # the compiler is broken, or we cross compile. 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2934 $as_echo_n "checking whether we are cross compiling... " >&6; } 2935 if test "$cross_compiling" != yes; then 2936 { { ac_try="$ac_link" 2937 case "(($ac_try" in 2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2939 *) ac_try_echo=$ac_try;; 2940 esac 2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2942 $as_echo "$ac_try_echo"; } >&5 2943 (eval "$ac_link") 2>&5 2944 ac_status=$? 2945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2946 test $ac_status = 0; } 2947 if { ac_try='./conftest$ac_cv_exeext' 2948 { { case "(($ac_try" in 2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2950 *) ac_try_echo=$ac_try;; 2951 esac 2952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2953 $as_echo "$ac_try_echo"; } >&5 2954 (eval "$ac_try") 2>&5 2955 ac_status=$? 2956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2957 test $ac_status = 0; }; }; then 2958 cross_compiling=no 2959 else 2960 if test "$cross_compiling" = maybe; then 2961 cross_compiling=yes 2962 else 2963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2965 as_fn_error "cannot run C compiled programs. 2966 If you meant to cross compile, use \`--host'. 2967 See \`config.log' for more details." "$LINENO" 5; } 2968 fi 2969 fi 2970 fi 2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2972 $as_echo "$cross_compiling" >&6; } 2973 2974 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2975 ac_clean_files=$ac_clean_files_save 2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2977 $as_echo_n "checking for suffix of object files... " >&6; } 2978 if test "${ac_cv_objext+set}" = set; then : 2979 $as_echo_n "(cached) " >&6 2980 else 2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2137 2982 /* end confdefs.h. */ 2138 2983 … … 2146 2991 _ACEOF 2147 2992 rm -f conftest.o conftest.obj 2148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2149 (eval $ac_compile) 2>&5 2993 if { { ac_try="$ac_compile" 2994 case "(($ac_try" in 2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2996 *) ac_try_echo=$ac_try;; 2997 esac 2998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2999 $as_echo "$ac_try_echo"; } >&5 3000 (eval "$ac_compile") 2>&5 2150 3001 ac_status=$? 2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2152 (exit $ac_status); }; then 2153 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3003 test $ac_status = 0; }; then : 3004 for ac_file in conftest.o conftest.obj conftest.*; do 3005 test -f "$ac_file" || continue; 2154 3006 case $ac_file in 2155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;3007 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2156 3008 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2157 3009 break;; … … 2159 3011 done 2160 3012 else 2161 echo "$as_me: failed program was:" >&53013 $as_echo "$as_me: failed program was:" >&5 2162 3014 sed 's/^/| /' conftest.$ac_ext >&5 2163 3015 2164 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2165 See \`config.log' for more details." >&5 2166 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2167 See \`config.log' for more details." >&2;} 2168 { (exit 1); exit 1; }; } 2169 fi 2170 3016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3018 as_fn_error "cannot compute suffix of object files: cannot compile 3019 See \`config.log' for more details." "$LINENO" 5; } 3020 fi 2171 3021 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2172 3022 fi 2173 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52174 echo "${ECHO_T}$ac_cv_objext" >&6 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3024 $as_echo "$ac_cv_objext" >&6; } 2175 3025 OBJEXT=$ac_cv_objext 2176 3026 ac_objext=$OBJEXT 2177 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2178 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2179 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2180 echo $ECHO_N "(cached) $ECHO_C" >&6 2181 else 2182 cat >conftest.$ac_ext <<_ACEOF 2183 /* confdefs.h. */ 2184 _ACEOF 2185 cat confdefs.h >>conftest.$ac_ext 2186 cat >>conftest.$ac_ext <<_ACEOF 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3028 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3029 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3030 $as_echo_n "(cached) " >&6 3031 else 3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2187 3033 /* end confdefs.h. */ 2188 3034 … … 2198 3044 } 2199 3045 _ACEOF 2200 rm -f conftest.$ac_objext 2201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2202 (eval $ac_compile) 2>conftest.er1 2203 ac_status=$? 2204 grep -v '^ *+' conftest.er1 >conftest.err 2205 rm -f conftest.er1 2206 cat conftest.err >&5 2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2208 (exit $ac_status); } && 2209 { ac_try='test -z "$ac_c_werror_flag" 2210 || test ! -s conftest.err' 2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2212 (eval $ac_try) 2>&5 2213 ac_status=$? 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2215 (exit $ac_status); }; } && 2216 { ac_try='test -s conftest.$ac_objext' 2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2218 (eval $ac_try) 2>&5 2219 ac_status=$? 2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2221 (exit $ac_status); }; }; then 3046 if ac_fn_c_try_compile "$LINENO"; then : 2222 3047 ac_compiler_gnu=yes 2223 3048 else 2224 echo "$as_me: failed program was:" >&5 2225 sed 's/^/| /' conftest.$ac_ext >&5 2226 2227 ac_compiler_gnu=no 2228 fi 2229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3049 ac_compiler_gnu=no 3050 fi 3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2230 3052 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2231 3053 2232 3054 fi 2233 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2234 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2235 GCC=`test $ac_compiler_gnu = yes && echo yes` 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3056 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3057 if test $ac_compiler_gnu = yes; then 3058 GCC=yes 3059 else 3060 GCC= 3061 fi 2236 3062 ac_test_CFLAGS=${CFLAGS+set} 2237 3063 ac_save_CFLAGS=$CFLAGS 2238 CFLAGS="-g" 2239 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2240 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2241 if test "${ac_cv_prog_cc_g+set}" = set; then 2242 echo $ECHO_N "(cached) $ECHO_C" >&6 2243 else 2244 cat >conftest.$ac_ext <<_ACEOF 2245 /* confdefs.h. */ 2246 _ACEOF 2247 cat confdefs.h >>conftest.$ac_ext 2248 cat >>conftest.$ac_ext <<_ACEOF 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3065 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3066 if test "${ac_cv_prog_cc_g+set}" = set; then : 3067 $as_echo_n "(cached) " >&6 3068 else 3069 ac_save_c_werror_flag=$ac_c_werror_flag 3070 ac_c_werror_flag=yes 3071 ac_cv_prog_cc_g=no 3072 CFLAGS="-g" 3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2249 3074 /* end confdefs.h. */ 2250 3075 … … 2257 3082 } 2258 3083 _ACEOF 2259 rm -f conftest.$ac_objext 2260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2261 (eval $ac_compile) 2>conftest.er1 2262 ac_status=$? 2263 grep -v '^ *+' conftest.er1 >conftest.err 2264 rm -f conftest.er1 2265 cat conftest.err >&5 2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2267 (exit $ac_status); } && 2268 { ac_try='test -z "$ac_c_werror_flag" 2269 || test ! -s conftest.err' 2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2271 (eval $ac_try) 2>&5 2272 ac_status=$? 2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2274 (exit $ac_status); }; } && 2275 { ac_try='test -s conftest.$ac_objext' 2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2277 (eval $ac_try) 2>&5 2278 ac_status=$? 2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2280 (exit $ac_status); }; }; then 3084 if ac_fn_c_try_compile "$LINENO"; then : 2281 3085 ac_cv_prog_cc_g=yes 2282 3086 else 2283 echo "$as_me: failed program was:" >&5 2284 sed 's/^/| /' conftest.$ac_ext >&5 2285 2286 ac_cv_prog_cc_g=no 2287 fi 2288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2289 fi 2290 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2291 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3087 CFLAGS="" 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 if ac_fn_c_try_compile "$LINENO"; then : 3100 3101 else 3102 ac_c_werror_flag=$ac_save_c_werror_flag 3103 CFLAGS="-g" 3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3105 /* end confdefs.h. */ 3106 3107 int 3108 main () 3109 { 3110 3111 ; 3112 return 0; 3113 } 3114 _ACEOF 3115 if ac_fn_c_try_compile "$LINENO"; then : 3116 ac_cv_prog_cc_g=yes 3117 fi 3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3119 fi 3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3121 fi 3122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3123 ac_c_werror_flag=$ac_save_c_werror_flag 3124 fi 3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3126 $as_echo "$ac_cv_prog_cc_g" >&6; } 2292 3127 if test "$ac_test_CFLAGS" = set; then 2293 3128 CFLAGS=$ac_save_CFLAGS … … 2305 3140 fi 2306 3141 fi 2307 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52308 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2309 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2310 echo $ECHO_N "(cached) $ECHO_C" >&62311 else 2312 ac_cv_prog_cc_ stdc=no3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3143 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3144 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3145 $as_echo_n "(cached) " >&6 3146 else 3147 ac_cv_prog_cc_c89=no 2313 3148 ac_save_CC=$CC 2314 cat >conftest.$ac_ext <<_ACEOF 2315 /* confdefs.h. */ 2316 _ACEOF 2317 cat confdefs.h >>conftest.$ac_ext 2318 cat >>conftest.$ac_ext <<_ACEOF 3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2319 3150 /* end confdefs.h. */ 2320 3151 #include <stdarg.h> … … 2344 3175 function prototypes and stuff, but not '\xHH' hex character constants. 2345 3176 These don't provoke an error unfortunately, instead are silently treated 2346 as 'x'. The following induces an error, until -std 1is added to get3177 as 'x'. The following induces an error, until -std is added to get 2347 3178 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2348 3179 array size at least. It's necessary to write '\x00'==0 to get something 2349 that's true only with -std 1. */3180 that's true only with -std. */ 2350 3181 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3182 3183 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3184 inside strings and character constants. */ 3185 #define FOO(x) 'x' 3186 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2351 3187 2352 3188 int test (int i, double x); … … 2364 3200 } 2365 3201 _ACEOF 2366 # Don't try gcc -ansi; that turns off useful extensions and 2367 # breaks some systems' header files. 2368 # AIX -qlanglvl=ansi 2369 # Ultrix and OSF/1 -std1 2370 # HP-UX 10.20 and later -Ae 2371 # HP-UX older versions -Aa -D_HPUX_SOURCE 2372 # SVR4 -Xc -D__EXTENSIONS__ 2373 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3202 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3203 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2374 3204 do 2375 3205 CC="$ac_save_CC $ac_arg" 2376 rm -f conftest.$ac_objext 2377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2378 (eval $ac_compile) 2>conftest.er1 2379 ac_status=$? 2380 grep -v '^ *+' conftest.er1 >conftest.err 2381 rm -f conftest.er1 2382 cat conftest.err >&5 2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2384 (exit $ac_status); } && 2385 { ac_try='test -z "$ac_c_werror_flag" 2386 || test ! -s conftest.err' 2387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2388 (eval $ac_try) 2>&5 2389 ac_status=$? 2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2391 (exit $ac_status); }; } && 2392 { ac_try='test -s conftest.$ac_objext' 2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2394 (eval $ac_try) 2>&5 2395 ac_status=$? 2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2397 (exit $ac_status); }; }; then 2398 ac_cv_prog_cc_stdc=$ac_arg 2399 break 2400 else 2401 echo "$as_me: failed program was:" >&5 2402 sed 's/^/| /' conftest.$ac_ext >&5 2403 2404 fi 2405 rm -f conftest.err conftest.$ac_objext 3206 if ac_fn_c_try_compile "$LINENO"; then : 3207 ac_cv_prog_cc_c89=$ac_arg 3208 fi 3209 rm -f core conftest.err conftest.$ac_objext 3210 test "x$ac_cv_prog_cc_c89" != "xno" && break 2406 3211 done 2407 rm -f conftest.$ac_ext conftest.$ac_objext3212 rm -f conftest.$ac_ext 2408 3213 CC=$ac_save_CC 2409 3214 2410 3215 fi 2411 2412 case "x$ac_cv_prog_cc_stdc" in 2413 x|xno) 2414 echo "$as_me:$LINENO: result: none needed" >&5 2415 echo "${ECHO_T}none needed" >&6 ;; 3216 # AC_CACHE_VAL 3217 case "x$ac_cv_prog_cc_c89" in 3218 x) 3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3220 $as_echo "none needed" >&6; } ;; 3221 xno) 3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3223 $as_echo "unsupported" >&6; } ;; 2416 3224 *) 2417 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52418 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2419 CC="$CC $ac_cv_prog_cc_stdc";;3225 CC="$CC $ac_cv_prog_cc_c89" 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3227 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2420 3228 esac 2421 2422 # Some people use a C++ compiler to compile C. Since we use `exit', 2423 # in C++ we need to declare it. In case someone uses the same compiler 2424 # for both compiling C and C++ we need to have the C++ compiler decide 2425 # the declaration of exit, since it's the most demanding environment. 2426 cat >conftest.$ac_ext <<_ACEOF 2427 #ifndef __cplusplus 2428 choke me 2429 #endif 2430 _ACEOF 2431 rm -f conftest.$ac_objext 2432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2433 (eval $ac_compile) 2>conftest.er1 2434 ac_status=$? 2435 grep -v '^ *+' conftest.er1 >conftest.err 2436 rm -f conftest.er1 2437 cat conftest.err >&5 2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2439 (exit $ac_status); } && 2440 { ac_try='test -z "$ac_c_werror_flag" 2441 || test ! -s conftest.err' 2442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2443 (eval $ac_try) 2>&5 2444 ac_status=$? 2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2446 (exit $ac_status); }; } && 2447 { ac_try='test -s conftest.$ac_objext' 2448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2449 (eval $ac_try) 2>&5 2450 ac_status=$? 2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2452 (exit $ac_status); }; }; then 2453 for ac_declaration in \ 2454 '' \ 2455 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2456 'extern "C" void std::exit (int); using std::exit;' \ 2457 'extern "C" void exit (int) throw ();' \ 2458 'extern "C" void exit (int);' \ 2459 'void exit (int);' 2460 do 2461 cat >conftest.$ac_ext <<_ACEOF 2462 /* confdefs.h. */ 2463 _ACEOF 2464 cat confdefs.h >>conftest.$ac_ext 2465 cat >>conftest.$ac_ext <<_ACEOF 2466 /* end confdefs.h. */ 2467 $ac_declaration 2468 #include <stdlib.h> 2469 int 2470 main () 2471 { 2472 exit (42); 2473 ; 2474 return 0; 2475 } 2476 _ACEOF 2477 rm -f conftest.$ac_objext 2478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2479 (eval $ac_compile) 2>conftest.er1 2480 ac_status=$? 2481 grep -v '^ *+' conftest.er1 >conftest.err 2482 rm -f conftest.er1 2483 cat conftest.err >&5 2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2485 (exit $ac_status); } && 2486 { ac_try='test -z "$ac_c_werror_flag" 2487 || test ! -s conftest.err' 2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2489 (eval $ac_try) 2>&5 2490 ac_status=$? 2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 (exit $ac_status); }; } && 2493 { ac_try='test -s conftest.$ac_objext' 2494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2495 (eval $ac_try) 2>&5 2496 ac_status=$? 2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2498 (exit $ac_status); }; }; then 2499 : 2500 else 2501 echo "$as_me: failed program was:" >&5 2502 sed 's/^/| /' conftest.$ac_ext >&5 2503 2504 continue 2505 fi 2506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2507 cat >conftest.$ac_ext <<_ACEOF 2508 /* confdefs.h. */ 2509 _ACEOF 2510 cat confdefs.h >>conftest.$ac_ext 2511 cat >>conftest.$ac_ext <<_ACEOF 2512 /* end confdefs.h. */ 2513 $ac_declaration 2514 int 2515 main () 2516 { 2517 exit (42); 2518 ; 2519 return 0; 2520 } 2521 _ACEOF 2522 rm -f conftest.$ac_objext 2523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2524 (eval $ac_compile) 2>conftest.er1 2525 ac_status=$? 2526 grep -v '^ *+' conftest.er1 >conftest.err 2527 rm -f conftest.er1 2528 cat conftest.err >&5 2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2530 (exit $ac_status); } && 2531 { ac_try='test -z "$ac_c_werror_flag" 2532 || test ! -s conftest.err' 2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2534 (eval $ac_try) 2>&5 2535 ac_status=$? 2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2537 (exit $ac_status); }; } && 2538 { ac_try='test -s conftest.$ac_objext' 2539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2540 (eval $ac_try) 2>&5 2541 ac_status=$? 2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2543 (exit $ac_status); }; }; then 2544 break 2545 else 2546 echo "$as_me: failed program was:" >&5 2547 sed 's/^/| /' conftest.$ac_ext >&5 2548 2549 fi 2550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2551 done 2552 rm -f conftest* 2553 if test -n "$ac_declaration"; then 2554 echo '#ifdef __cplusplus' >>confdefs.h 2555 echo $ac_declaration >>confdefs.h 2556 echo '#endif' >>confdefs.h 2557 fi 2558 2559 else 2560 echo "$as_me: failed program was:" >&5 2561 sed 's/^/| /' conftest.$ac_ext >&5 2562 2563 fi 2564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3229 if test "x$ac_cv_prog_cc_c89" != xno; then : 3230 3231 fi 3232 2565 3233 ac_ext=c 2566 3234 ac_cpp='$CPP $CPPFLAGS' … … 2575 3243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2576 3244 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2577 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52578 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3246 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2579 3247 # On Suns, sometimes $CPP names a directory. 2580 3248 if test -n "$CPP" && test -d "$CPP"; then … … 2582 3250 fi 2583 3251 if test -z "$CPP"; then 2584 if test "${ac_cv_prog_CPP+set}" = set; then 2585 echo $ECHO_N "(cached) $ECHO_C" >&63252 if test "${ac_cv_prog_CPP+set}" = set; then : 3253 $as_echo_n "(cached) " >&6 2586 3254 else 2587 3255 # Double quotes because CPP needs to be expanded … … 2597 3265 # On the NeXT, cc -E runs the code through the compiler's parser, 2598 3266 # not just through cpp. "Syntax error" is here to catch this case. 2599 cat >conftest.$ac_ext <<_ACEOF 2600 /* confdefs.h. */ 2601 _ACEOF 2602 cat confdefs.h >>conftest.$ac_ext 2603 cat >>conftest.$ac_ext <<_ACEOF 3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2604 3268 /* end confdefs.h. */ 2605 3269 #ifdef __STDC__ … … 2610 3274 Syntax error 2611 3275 _ACEOF 2612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2614 ac_status=$? 2615 grep -v '^ *+' conftest.er1 >conftest.err 2616 rm -f conftest.er1 2617 cat conftest.err >&5 2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2619 (exit $ac_status); } >/dev/null; then 2620 if test -s conftest.err; then 2621 ac_cpp_err=$ac_c_preproc_warn_flag 2622 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2623 else 2624 ac_cpp_err= 2625 fi 2626 else 2627 ac_cpp_err=yes 2628 fi 2629 if test -z "$ac_cpp_err"; then 2630 : 2631 else 2632 echo "$as_me: failed program was:" >&5 2633 sed 's/^/| /' conftest.$ac_ext >&5 2634 3276 if ac_fn_c_try_cpp "$LINENO"; then : 3277 3278 else 2635 3279 # Broken: fails on valid input. 2636 3280 continue … … 2638 3282 rm -f conftest.err conftest.$ac_ext 2639 3283 2640 # OK, works on sane cases. Now check whether non -existent headers3284 # OK, works on sane cases. Now check whether nonexistent headers 2641 3285 # can be detected and how. 2642 cat >conftest.$ac_ext <<_ACEOF 2643 /* confdefs.h. */ 2644 _ACEOF 2645 cat confdefs.h >>conftest.$ac_ext 2646 cat >>conftest.$ac_ext <<_ACEOF 3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2647 3287 /* end confdefs.h. */ 2648 3288 #include <ac_nonexistent.h> 2649 3289 _ACEOF 2650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2652 ac_status=$? 2653 grep -v '^ *+' conftest.er1 >conftest.err 2654 rm -f conftest.er1 2655 cat conftest.err >&5 2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2657 (exit $ac_status); } >/dev/null; then 2658 if test -s conftest.err; then 2659 ac_cpp_err=$ac_c_preproc_warn_flag 2660 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2661 else 2662 ac_cpp_err= 2663 fi 2664 else 2665 ac_cpp_err=yes 2666 fi 2667 if test -z "$ac_cpp_err"; then 3290 if ac_fn_c_try_cpp "$LINENO"; then : 2668 3291 # Broken: success on invalid input. 2669 3292 continue 2670 3293 else 2671 echo "$as_me: failed program was:" >&52672 sed 's/^/| /' conftest.$ac_ext >&52673 2674 3294 # Passes both tests. 2675 3295 ac_preproc_ok=: … … 2681 3301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2682 3302 rm -f conftest.err conftest.$ac_ext 2683 if $ac_preproc_ok; then 3303 if $ac_preproc_ok; then : 2684 3304 break 2685 3305 fi … … 2693 3313 ac_cv_prog_CPP=$CPP 2694 3314 fi 2695 echo "$as_me:$LINENO: result: $CPP" >&52696 echo "${ECHO_T}$CPP" >&6 3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3316 $as_echo "$CPP" >&6; } 2697 3317 ac_preproc_ok=false 2698 3318 for ac_c_preproc_warn_flag in '' yes … … 2704 3324 # On the NeXT, cc -E runs the code through the compiler's parser, 2705 3325 # not just through cpp. "Syntax error" is here to catch this case. 2706 cat >conftest.$ac_ext <<_ACEOF 2707 /* confdefs.h. */ 2708 _ACEOF 2709 cat confdefs.h >>conftest.$ac_ext 2710 cat >>conftest.$ac_ext <<_ACEOF 3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2711 3327 /* end confdefs.h. */ 2712 3328 #ifdef __STDC__ … … 2717 3333 Syntax error 2718 3334 _ACEOF 2719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2721 ac_status=$? 2722 grep -v '^ *+' conftest.er1 >conftest.err 2723 rm -f conftest.er1 2724 cat conftest.err >&5 2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2726 (exit $ac_status); } >/dev/null; then 2727 if test -s conftest.err; then 2728 ac_cpp_err=$ac_c_preproc_warn_flag 2729 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2730 else 2731 ac_cpp_err= 2732 fi 2733 else 2734 ac_cpp_err=yes 2735 fi 2736 if test -z "$ac_cpp_err"; then 2737 : 2738 else 2739 echo "$as_me: failed program was:" >&5 2740 sed 's/^/| /' conftest.$ac_ext >&5 2741 3335 if ac_fn_c_try_cpp "$LINENO"; then : 3336 3337 else 2742 3338 # Broken: fails on valid input. 2743 3339 continue … … 2745 3341 rm -f conftest.err conftest.$ac_ext 2746 3342 2747 # OK, works on sane cases. Now check whether non -existent headers3343 # OK, works on sane cases. Now check whether nonexistent headers 2748 3344 # can be detected and how. 2749 cat >conftest.$ac_ext <<_ACEOF 2750 /* confdefs.h. */ 2751 _ACEOF 2752 cat confdefs.h >>conftest.$ac_ext 2753 cat >>conftest.$ac_ext <<_ACEOF 3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2754 3346 /* end confdefs.h. */ 2755 3347 #include <ac_nonexistent.h> 2756 3348 _ACEOF 2757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2759 ac_status=$? 2760 grep -v '^ *+' conftest.er1 >conftest.err 2761 rm -f conftest.er1 2762 cat conftest.err >&5 2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764 (exit $ac_status); } >/dev/null; then 2765 if test -s conftest.err; then 2766 ac_cpp_err=$ac_c_preproc_warn_flag 2767 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2768 else 2769 ac_cpp_err= 2770 fi 2771 else 2772 ac_cpp_err=yes 2773 fi 2774 if test -z "$ac_cpp_err"; then 3349 if ac_fn_c_try_cpp "$LINENO"; then : 2775 3350 # Broken: success on invalid input. 2776 3351 continue 2777 3352 else 2778 echo "$as_me: failed program was:" >&52779 sed 's/^/| /' conftest.$ac_ext >&52780 2781 3353 # Passes both tests. 2782 3354 ac_preproc_ok=: … … 2788 3360 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2789 3361 rm -f conftest.err conftest.$ac_ext 2790 if $ac_preproc_ok; then 2791 : 2792 else 2793 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2794 See \`config.log' for more details." >&5 2795 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2796 See \`config.log' for more details." >&2;} 2797 { (exit 1); exit 1; }; } 3362 if $ac_preproc_ok; then : 3363 3364 else 3365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3367 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3368 See \`config.log' for more details." "$LINENO" 5; } 2798 3369 fi 2799 3370 … … 2805 3376 2806 3377 2807 echo "$as_me:$LINENO: checking for egrep" >&5 2808 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2809 if test "${ac_cv_prog_egrep+set}" = set; then 2810 echo $ECHO_N "(cached) $ECHO_C" >&6 2811 else 2812 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2813 then ac_cv_prog_egrep='grep -E' 2814 else ac_cv_prog_egrep='egrep' 3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3379 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3380 if test "${ac_cv_path_GREP+set}" = set; then : 3381 $as_echo_n "(cached) " >&6 3382 else 3383 if test -z "$GREP"; then 3384 ac_path_GREP_found=false 3385 # Loop through the user's path and test for each of PROGNAME-LIST 3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3387 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3388 do 3389 IFS=$as_save_IFS 3390 test -z "$as_dir" && as_dir=. 3391 for ac_prog in grep ggrep; do 3392 for ac_exec_ext in '' $ac_executable_extensions; do 3393 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3394 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3395 # Check for GNU ac_path_GREP and select it if it is found. 3396 # Check for GNU $ac_path_GREP 3397 case `"$ac_path_GREP" --version 2>&1` in 3398 *GNU*) 3399 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3400 *) 3401 ac_count=0 3402 $as_echo_n 0123456789 >"conftest.in" 3403 while : 3404 do 3405 cat "conftest.in" "conftest.in" >"conftest.tmp" 3406 mv "conftest.tmp" "conftest.in" 3407 cp "conftest.in" "conftest.nl" 3408 $as_echo 'GREP' >> "conftest.nl" 3409 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3410 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3411 as_fn_arith $ac_count + 1 && ac_count=$as_val 3412 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3413 # Best one so far, save it but keep looking for a better one 3414 ac_cv_path_GREP="$ac_path_GREP" 3415 ac_path_GREP_max=$ac_count 2815 3416 fi 2816 fi 2817 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2818 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2819 EGREP=$ac_cv_prog_egrep 2820 2821 2822 2823 echo "$as_me:$LINENO: checking for AIX" >&5 2824 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 2825 cat >conftest.$ac_ext <<_ACEOF 2826 /* confdefs.h. */ 3417 # 10*(2^10) chars as input seems more than enough 3418 test $ac_count -gt 10 && break 3419 done 3420 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3421 esac 3422 3423 $ac_path_GREP_found && break 3 3424 done 3425 done 3426 done 3427 IFS=$as_save_IFS 3428 if test -z "$ac_cv_path_GREP"; then 3429 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3430 fi 3431 else 3432 ac_cv_path_GREP=$GREP 3433 fi 3434 3435 fi 3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3437 $as_echo "$ac_cv_path_GREP" >&6; } 3438 GREP="$ac_cv_path_GREP" 3439 3440 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3442 $as_echo_n "checking for egrep... " >&6; } 3443 if test "${ac_cv_path_EGREP+set}" = set; then : 3444 $as_echo_n "(cached) " >&6 3445 else 3446 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3447 then ac_cv_path_EGREP="$GREP -E" 3448 else 3449 if test -z "$EGREP"; then 3450 ac_path_EGREP_found=false 3451 # Loop through the user's path and test for each of PROGNAME-LIST 3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3453 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3454 do 3455 IFS=$as_save_IFS 3456 test -z "$as_dir" && as_dir=. 3457 for ac_prog in egrep; do 3458 for ac_exec_ext in '' $ac_executable_extensions; do 3459 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3460 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3461 # Check for GNU ac_path_EGREP and select it if it is found. 3462 # Check for GNU $ac_path_EGREP 3463 case `"$ac_path_EGREP" --version 2>&1` in 3464 *GNU*) 3465 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3466 *) 3467 ac_count=0 3468 $as_echo_n 0123456789 >"conftest.in" 3469 while : 3470 do 3471 cat "conftest.in" "conftest.in" >"conftest.tmp" 3472 mv "conftest.tmp" "conftest.in" 3473 cp "conftest.in" "conftest.nl" 3474 $as_echo 'EGREP' >> "conftest.nl" 3475 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3476 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3477 as_fn_arith $ac_count + 1 && ac_count=$as_val 3478 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3479 # Best one so far, save it but keep looking for a better one 3480 ac_cv_path_EGREP="$ac_path_EGREP" 3481 ac_path_EGREP_max=$ac_count 3482 fi 3483 # 10*(2^10) chars as input seems more than enough 3484 test $ac_count -gt 10 && break 3485 done 3486 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3487 esac 3488 3489 $ac_path_EGREP_found && break 3 3490 done 3491 done 3492 done 3493 IFS=$as_save_IFS 3494 if test -z "$ac_cv_path_EGREP"; then 3495 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3496 fi 3497 else 3498 ac_cv_path_EGREP=$EGREP 3499 fi 3500 3501 fi 3502 fi 3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3504 $as_echo "$ac_cv_path_EGREP" >&6; } 3505 EGREP="$ac_cv_path_EGREP" 3506 3507 3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3509 $as_echo_n "checking for ANSI C header files... " >&6; } 3510 if test "${ac_cv_header_stdc+set}" = set; then : 3511 $as_echo_n "(cached) " >&6 3512 else 3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3514 /* end confdefs.h. */ 3515 #include <stdlib.h> 3516 #include <stdarg.h> 3517 #include <string.h> 3518 #include <float.h> 3519 3520 int 3521 main () 3522 { 3523 3524 ; 3525 return 0; 3526 } 2827 3527 _ACEOF 2828 cat confdefs.h >>conftest.$ac_ext 2829 cat >>conftest.$ac_ext <<_ACEOF 3528 if ac_fn_c_try_compile "$LINENO"; then : 3529 ac_cv_header_stdc=yes 3530 else 3531 ac_cv_header_stdc=no 3532 fi 3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3534 3535 if test $ac_cv_header_stdc = yes; then 3536 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2830 3538 /* end confdefs.h. */ 2831 #ifdef _AIX 2832 yes 2833 #endif 3539 #include <string.h> 2834 3540 2835 3541 _ACEOF 2836 3542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2837 $EGREP "yes" >/dev/null 2>&1; then 2838 echo "$as_me:$LINENO: result: yes" >&5 2839 echo "${ECHO_T}yes" >&6 2840 cat >>confdefs.h <<\_ACEOF 2841 #define _ALL_SOURCE 1 3543 $EGREP "memchr" >/dev/null 2>&1; then : 3544 3545 else 3546 ac_cv_header_stdc=no 3547 fi 3548 rm -f conftest* 3549 3550 fi 3551 3552 if test $ac_cv_header_stdc = yes; then 3553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3555 /* end confdefs.h. */ 3556 #include <stdlib.h> 3557 2842 3558 _ACEOF 2843 2844 else 2845 echo "$as_me:$LINENO: result: no" >&5 2846 echo "${ECHO_T}no" >&6 3559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3560 $EGREP "free" >/dev/null 2>&1; then : 3561 3562 else 3563 ac_cv_header_stdc=no 2847 3564 fi 2848 3565 rm -f conftest* 2849 3566 2850 2851 echo "$as_me:$LINENO: checking maximum warning verbosity option" >&5 2852 echo $ECHO_N "checking maximum warning verbosity option... $ECHO_C" >&6 3567 fi 3568 3569 if test $ac_cv_header_stdc = yes; then 3570 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3571 if test "$cross_compiling" = yes; then : 3572 : 3573 else 3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3575 /* end confdefs.h. */ 3576 #include <ctype.h> 3577 #include <stdlib.h> 3578 #if ((' ' & 0x0FF) == 0x020) 3579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3581 #else 3582 # define ISLOWER(c) \ 3583 (('a' <= (c) && (c) <= 'i') \ 3584 || ('j' <= (c) && (c) <= 'r') \ 3585 || ('s' <= (c) && (c) <= 'z')) 3586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3587 #endif 3588 3589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3590 int 3591 main () 3592 { 3593 int i; 3594 for (i = 0; i < 256; i++) 3595 if (XOR (islower (i), ISLOWER (i)) 3596 || toupper (i) != TOUPPER (i)) 3597 return 2; 3598 return 0; 3599 } 3600 _ACEOF 3601 if ac_fn_c_try_run "$LINENO"; then : 3602 3603 else 3604 ac_cv_header_stdc=no 3605 fi 3606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3607 conftest.$ac_objext conftest.beam conftest.$ac_ext 3608 fi 3609 3610 fi 3611 fi 3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3613 $as_echo "$ac_cv_header_stdc" >&6; } 3614 if test $ac_cv_header_stdc = yes; then 3615 3616 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3617 3618 fi 3619 3620 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3621 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3622 inttypes.h stdint.h unistd.h 3623 do : 3624 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3625 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3626 " 3627 eval as_val=\$$as_ac_Header 3628 if test "x$as_val" = x""yes; then : 3629 cat >>confdefs.h <<_ACEOF 3630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3631 _ACEOF 3632 3633 fi 3634 3635 done 3636 3637 3638 3639 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 3640 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 3641 MINIX=yes 3642 else 3643 MINIX= 3644 fi 3645 3646 3647 if test "$MINIX" = yes; then 3648 3649 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 3650 3651 3652 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 3653 3654 3655 $as_echo "#define _MINIX 1" >>confdefs.h 3656 3657 fi 3658 3659 3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3661 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3662 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 3663 $as_echo_n "(cached) " >&6 3664 else 3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3666 /* end confdefs.h. */ 3667 3668 # define __EXTENSIONS__ 1 3669 $ac_includes_default 3670 int 3671 main () 3672 { 3673 3674 ; 3675 return 0; 3676 } 3677 _ACEOF 3678 if ac_fn_c_try_compile "$LINENO"; then : 3679 ac_cv_safe_to_define___extensions__=yes 3680 else 3681 ac_cv_safe_to_define___extensions__=no 3682 fi 3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3684 fi 3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 3686 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 3687 test $ac_cv_safe_to_define___extensions__ = yes && 3688 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 3689 3690 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 3691 3692 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 3693 3694 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 3695 3696 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 3697 3698 3699 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking maximum warning verbosity option" >&5 3701 $as_echo_n "checking maximum warning verbosity option... " >&6; } 2853 3702 if test -n "$CXX" 2854 3703 then … … 2870 3719 ac_compile_warnings_msg="$ac_compile_warnings_msg $ac_compile_warnings_opt for C" 2871 3720 fi 2872 echo "$as_me:$LINENO: result: $ac_compile_warnings_msg" >&52873 echo "${ECHO_T}$ac_compile_warnings_msg" >&6 3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_compile_warnings_msg" >&5 3722 $as_echo "$ac_compile_warnings_msg" >&6; } 2874 3723 unset ac_compile_warnings_msg 2875 3724 unset ac_compile_warnings_opt 2876 3725 2877 3726 2878 # Check whether --enable-shared or --disable-shared was given. 2879 if test "${enable_shared+set}" = set; then 2880 enableval="$enable_shared" 2881 p=${PACKAGE-default} 3727 # Check whether --enable-shared was given. 3728 if test "${enable_shared+set}" = set; then : 3729 enableval=$enable_shared; p=${PACKAGE-default} 2882 3730 case $enableval in 2883 3731 yes) enable_shared=yes ;; … … 2897 3745 else 2898 3746 enable_shared=yes 2899 fi ;2900 # Check whether --enable-static or --disable-static was given. 2901 if test "${enable_static+set}" = set; then 2902 enableval="$enable_static" 2903 p=${PACKAGE-default}3747 fi 3748 3749 # Check whether --enable-static was given. 3750 if test "${enable_static+set}" = set; then : 3751 enableval=$enable_static; p=${PACKAGE-default} 2904 3752 case $enableval in 2905 3753 yes) enable_static=yes ;; … … 2919 3767 else 2920 3768 enable_static=yes 2921 fi ;2922 # Check whether --enable-fast-install or --disable-fast-install was given. 2923 if test "${enable_fast_install+set}" = set; then 2924 enableval="$enable_fast_install" 2925 p=${PACKAGE-default}3769 fi 3770 3771 # Check whether --enable-fast-install was given. 3772 if test "${enable_fast_install+set}" = set; then : 3773 enableval=$enable_fast_install; p=${PACKAGE-default} 2926 3774 case $enableval in 2927 3775 yes) enable_fast_install=yes ;; … … 2941 3789 else 2942 3790 enable_fast_install=yes 2943 fi; 3791 fi 3792 2944 3793 # Find the correct PATH separator. Usually this is `:', but 2945 3794 # DJGPP uses `;' like DOS. … … 2954 3803 2955 3804 2956 # Check whether --with-gnu-ld or --without-gnu-ld was given. 2957 if test "${with_gnu_ld+set}" = set; then 2958 withval="$with_gnu_ld" 2959 test "$withval" = no || with_gnu_ld=yes 3805 # Check whether --with-gnu-ld was given. 3806 if test "${with_gnu_ld+set}" = set; then : 3807 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 2960 3808 else 2961 3809 with_gnu_ld=no 2962 fi; 3810 fi 3811 2963 3812 ac_prog=ld 2964 3813 if test "$GCC" = yes; then 2965 3814 # Check if gcc -print-prog-name=ld gives a path. 2966 echo "$as_me:$LINENO: checking for ld used by GCC" >&52967 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 3816 $as_echo_n "checking for ld used by GCC... " >&6; } 2968 3817 case $host in 2969 3818 *-*-mingw*) … … 2994 3843 esac 2995 3844 elif test "$with_gnu_ld" = yes; then 2996 echo "$as_me:$LINENO: checking for GNU ld" >&52997 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 2998 else 2999 echo "$as_me:$LINENO: checking for non-GNU ld" >&53000 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 3001 fi 3002 if test "${lt_cv_path_LD+set}" = set; then 3003 echo $ECHO_N "(cached) $ECHO_C" >&63845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 3846 $as_echo_n "checking for GNU ld... " >&6; } 3847 else 3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 3849 $as_echo_n "checking for non-GNU ld... " >&6; } 3850 fi 3851 if test "${lt_cv_path_LD+set}" = set; then : 3852 $as_echo_n "(cached) " >&6 3004 3853 else 3005 3854 if test -z "$LD"; then … … 3027 3876 LD="$lt_cv_path_LD" 3028 3877 if test -n "$LD"; then 3029 echo "$as_me:$LINENO: result: $LD" >&5 3030 echo "${ECHO_T}$LD" >&6 3031 else 3032 echo "$as_me:$LINENO: result: no" >&5 3033 echo "${ECHO_T}no" >&6 3034 fi 3035 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3036 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 3037 { (exit 1); exit 1; }; } 3038 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 3039 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 3040 if test "${lt_cv_prog_gnu_ld+set}" = set; then 3041 echo $ECHO_N "(cached) $ECHO_C" >&6 3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 3879 $as_echo "$LD" >&6; } 3880 else 3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3882 $as_echo "no" >&6; } 3883 fi 3884 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 3886 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 3887 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 3888 $as_echo_n "(cached) " >&6 3042 3889 else 3043 3890 # I'd rather use --version here, but apparently some GNU ld's only accept -v. … … 3048 3895 fi 3049 3896 fi 3050 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&53051 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 3898 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 3052 3899 with_gnu_ld=$lt_cv_prog_gnu_ld 3053 3900 3054 3901 3055 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&53056 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 3057 if test "${lt_cv_ld_reload_flag+set}" = set; then 3058 echo $ECHO_N "(cached) $ECHO_C" >&63902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 3903 $as_echo_n "checking for $LD option to reload object files... " >&6; } 3904 if test "${lt_cv_ld_reload_flag+set}" = set; then : 3905 $as_echo_n "(cached) " >&6 3059 3906 else 3060 3907 lt_cv_ld_reload_flag='-r' 3061 3908 fi 3062 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&53063 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 3910 $as_echo "$lt_cv_ld_reload_flag" >&6; } 3064 3911 reload_flag=$lt_cv_ld_reload_flag 3065 3912 test -n "$reload_flag" && reload_flag=" $reload_flag" 3066 3913 3067 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&53068 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 3069 if test "${lt_cv_path_NM+set}" = set; then 3070 echo $ECHO_N "(cached) $ECHO_C" >&63914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5 3915 $as_echo_n "checking for BSD-compatible nm... " >&6; } 3916 if test "${lt_cv_path_NM+set}" = set; then : 3917 $as_echo_n "(cached) " >&6 3071 3918 else 3072 3919 if test -n "$NM"; then … … 3101 3948 3102 3949 NM="$lt_cv_path_NM" 3103 echo "$as_me:$LINENO: result: $NM" >&53104 echo "${ECHO_T}$NM" >&6 3105 3106 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&53107 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 3108 if test "${lt_cv_path_SED+set}" = set; then 3109 echo $ECHO_N "(cached) $ECHO_C" >&63950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 3951 $as_echo "$NM" >&6; } 3952 3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3954 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 3955 if test "${lt_cv_path_SED+set}" = set; then : 3956 $as_echo_n "(cached) " >&6 3110 3957 else 3111 3958 # Loop through the user's path and test for sed and gsed. … … 3186 4033 SED=$lt_cv_path_SED 3187 4034 fi 3188 echo "$as_me:$LINENO: result: $SED" >&53189 echo "${ECHO_T}$SED" >&6 3190 3191 echo "$as_me:$LINENO: checking whether ln -s works" >&53192 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 4036 $as_echo "$SED" >&6; } 4037 4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4039 $as_echo_n "checking whether ln -s works... " >&6; } 3193 4040 LN_S=$as_ln_s 3194 4041 if test "$LN_S" = "ln -s"; then 3195 echo "$as_me:$LINENO: result: yes" >&53196 echo "${ECHO_T}yes" >&6 3197 else 3198 echo "$as_me:$LINENO: result: no, using $LN_S" >&53199 echo "${ECHO_T}no, using $LN_S" >&6 3200 fi 3201 3202 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&53203 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 3204 if test "${lt_cv_deplibs_check_method+set}" = set; then 3205 echo $ECHO_N "(cached) $ECHO_C" >&64042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4043 $as_echo "yes" >&6; } 4044 else 4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4046 $as_echo "no, using $LN_S" >&6; } 4047 fi 4048 4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependent libraries" >&5 4050 $as_echo_n "checking how to recognise dependent libraries... " >&6; } 4051 if test "${lt_cv_deplibs_check_method+set}" = set; then : 4052 $as_echo_n "(cached) " >&6 3206 4053 else 3207 4054 lt_cv_file_magic_cmd='$MAGIC_CMD' … … 3381 4228 3382 4229 fi 3383 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&53384 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 4231 $as_echo "$lt_cv_deplibs_check_method" >&6; } 3385 4232 file_magic_cmd=$lt_cv_file_magic_cmd 3386 4233 deplibs_check_method=$lt_cv_deplibs_check_method … … 3393 4240 3394 4241 # Check for command to grab the raw symbol name followed by C symbol from nm. 3395 echo "$as_me:$LINENO: checking command to parse $NM output" >&53396 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 3397 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 3398 echo $ECHO_N "(cached) $ECHO_C" >&64242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output" >&5 4243 $as_echo_n "checking command to parse $NM output... " >&6; } 4244 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 4245 $as_echo_n "(cached) " >&6 3399 4246 else 3400 4247 … … 3474 4321 EOF 3475 4322 3476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"")>&54323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 3477 4324 (eval $ac_compile) 2>&5 3478 4325 ac_status=$? 3479 echo "$as_me:$LINENO: \$? = $ac_status" >&53480 (exit $ac_status); }; then4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4327 test $ac_status = 0; }; then 3481 4328 # Now try to grab the symbols. 3482 4329 nlist=conftest.nm 3483 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"")>&54330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 3484 4331 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 3485 4332 ac_status=$? 3486 echo "$as_me:$LINENO: \$? = $ac_status" >&53487 (exit $ac_status); } && test -s "$nlist"; then4333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4334 test $ac_status = 0; } && test -s "$nlist"; then 3488 4335 # Try sorting and uniquifying the output. 3489 4336 if sort "$nlist" | uniq > "$nlist"T; then … … 3536 4383 LIBS="conftstm.$ac_objext" 3537 4384 CFLAGS="$CFLAGS$no_builtin_flag" 3538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"")>&54385 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 3539 4386 (eval $ac_link) 2>&5 3540 4387 ac_status=$? 3541 echo "$as_me:$LINENO: \$? = $ac_status" >&53542 (exit $ac_status); } && test -s conftest; then4388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4389 test $ac_status = 0; } && test -s conftest; then 3543 4390 pipe_works=yes 3544 4391 fi … … 3580 4427 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; 3581 4428 then 3582 echo "$as_me:$LINENO: result: failed" >&5 3583 echo "${ECHO_T}failed" >&6 3584 else 3585 echo "$as_me:$LINENO: result: ok" >&5 3586 echo "${ECHO_T}ok" >&6 3587 fi 3588 3589 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3590 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3591 if test "${ac_cv_header_stdc+set}" = set; then 3592 echo $ECHO_N "(cached) $ECHO_C" >&6 3593 else 3594 cat >conftest.$ac_ext <<_ACEOF 3595 /* confdefs.h. */ 3596 _ACEOF 3597 cat confdefs.h >>conftest.$ac_ext 3598 cat >>conftest.$ac_ext <<_ACEOF 3599 /* end confdefs.h. */ 3600 #include <stdlib.h> 3601 #include <stdarg.h> 3602 #include <string.h> 3603 #include <float.h> 3604 3605 int 3606 main () 3607 { 3608 3609 ; 3610 return 0; 3611 } 3612 _ACEOF 3613 rm -f conftest.$ac_objext 3614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3615 (eval $ac_compile) 2>conftest.er1 3616 ac_status=$? 3617 grep -v '^ *+' conftest.er1 >conftest.err 3618 rm -f conftest.er1 3619 cat conftest.err >&5 3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3621 (exit $ac_status); } && 3622 { ac_try='test -z "$ac_c_werror_flag" 3623 || test ! -s conftest.err' 3624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3625 (eval $ac_try) 2>&5 3626 ac_status=$? 3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3628 (exit $ac_status); }; } && 3629 { ac_try='test -s conftest.$ac_objext' 3630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3631 (eval $ac_try) 2>&5 3632 ac_status=$? 3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3634 (exit $ac_status); }; }; then 3635 ac_cv_header_stdc=yes 3636 else 3637 echo "$as_me: failed program was:" >&5 3638 sed 's/^/| /' conftest.$ac_ext >&5 3639 3640 ac_cv_header_stdc=no 3641 fi 3642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3643 3644 if test $ac_cv_header_stdc = yes; then 3645 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3646 cat >conftest.$ac_ext <<_ACEOF 3647 /* confdefs.h. */ 3648 _ACEOF 3649 cat confdefs.h >>conftest.$ac_ext 3650 cat >>conftest.$ac_ext <<_ACEOF 3651 /* end confdefs.h. */ 3652 #include <string.h> 3653 3654 _ACEOF 3655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3656 $EGREP "memchr" >/dev/null 2>&1; then 3657 : 3658 else 3659 ac_cv_header_stdc=no 3660 fi 3661 rm -f conftest* 3662 3663 fi 3664 3665 if test $ac_cv_header_stdc = yes; then 3666 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3667 cat >conftest.$ac_ext <<_ACEOF 3668 /* confdefs.h. */ 3669 _ACEOF 3670 cat confdefs.h >>conftest.$ac_ext 3671 cat >>conftest.$ac_ext <<_ACEOF 3672 /* end confdefs.h. */ 3673 #include <stdlib.h> 3674 3675 _ACEOF 3676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3677 $EGREP "free" >/dev/null 2>&1; then 3678 : 3679 else 3680 ac_cv_header_stdc=no 3681 fi 3682 rm -f conftest* 3683 3684 fi 3685 3686 if test $ac_cv_header_stdc = yes; then 3687 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3688 if test "$cross_compiling" = yes; then 3689 : 3690 else 3691 cat >conftest.$ac_ext <<_ACEOF 3692 /* confdefs.h. */ 3693 _ACEOF 3694 cat confdefs.h >>conftest.$ac_ext 3695 cat >>conftest.$ac_ext <<_ACEOF 3696 /* end confdefs.h. */ 3697 #include <ctype.h> 3698 #if ((' ' & 0x0FF) == 0x020) 3699 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3700 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3701 #else 3702 # define ISLOWER(c) \ 3703 (('a' <= (c) && (c) <= 'i') \ 3704 || ('j' <= (c) && (c) <= 'r') \ 3705 || ('s' <= (c) && (c) <= 'z')) 3706 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3707 #endif 3708 3709 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3710 int 3711 main () 3712 { 3713 int i; 3714 for (i = 0; i < 256; i++) 3715 if (XOR (islower (i), ISLOWER (i)) 3716 || toupper (i) != TOUPPER (i)) 3717 exit(2); 3718 exit (0); 3719 } 3720 _ACEOF 3721 rm -f conftest$ac_exeext 3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3723 (eval $ac_link) 2>&5 3724 ac_status=$? 3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3728 (eval $ac_try) 2>&5 3729 ac_status=$? 3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3731 (exit $ac_status); }; }; then 3732 : 3733 else 3734 echo "$as_me: program exited with status $ac_status" >&5 3735 echo "$as_me: failed program was:" >&5 3736 sed 's/^/| /' conftest.$ac_ext >&5 3737 3738 ( exit $ac_status ) 3739 ac_cv_header_stdc=no 3740 fi 3741 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3742 fi 3743 fi 3744 fi 3745 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3746 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3747 if test $ac_cv_header_stdc = yes; then 3748 3749 cat >>confdefs.h <<\_ACEOF 3750 #define STDC_HEADERS 1 3751 _ACEOF 3752 3753 fi 3754 3755 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3766 inttypes.h stdint.h unistd.h 3767 do 3768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3769 echo "$as_me:$LINENO: checking for $ac_header" >&5 3770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3771 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3772 echo $ECHO_N "(cached) $ECHO_C" >&6 3773 else 3774 cat >conftest.$ac_ext <<_ACEOF 3775 /* confdefs.h. */ 3776 _ACEOF 3777 cat confdefs.h >>conftest.$ac_ext 3778 cat >>conftest.$ac_ext <<_ACEOF 3779 /* end confdefs.h. */ 3780 $ac_includes_default 3781 3782 #include <$ac_header> 3783 _ACEOF 3784 rm -f conftest.$ac_objext 3785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3786 (eval $ac_compile) 2>conftest.er1 3787 ac_status=$? 3788 grep -v '^ *+' conftest.er1 >conftest.err 3789 rm -f conftest.er1 3790 cat conftest.err >&5 3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3792 (exit $ac_status); } && 3793 { ac_try='test -z "$ac_c_werror_flag" 3794 || test ! -s conftest.err' 3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3796 (eval $ac_try) 2>&5 3797 ac_status=$? 3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3799 (exit $ac_status); }; } && 3800 { ac_try='test -s conftest.$ac_objext' 3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3802 (eval $ac_try) 2>&5 3803 ac_status=$? 3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3805 (exit $ac_status); }; }; then 3806 eval "$as_ac_Header=yes" 3807 else 3808 echo "$as_me: failed program was:" >&5 3809 sed 's/^/| /' conftest.$ac_ext >&5 3810 3811 eval "$as_ac_Header=no" 3812 fi 3813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3814 fi 3815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3817 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 4430 $as_echo "failed" >&6; } 4431 else 4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4433 $as_echo "ok" >&6; } 4434 fi 4435 4436 for ac_header in dlfcn.h 4437 do : 4438 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4439 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 3818 4440 cat >>confdefs.h <<_ACEOF 3819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3820 _ACEOF 3821 3822 fi 3823 3824 done 3825 3826 3827 3828 for ac_header in dlfcn.h 3829 do 3830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3831 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3832 echo "$as_me:$LINENO: checking for $ac_header" >&5 3833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3834 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3835 echo $ECHO_N "(cached) $ECHO_C" >&6 3836 fi 3837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3839 else 3840 # Is the header compilable? 3841 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3843 cat >conftest.$ac_ext <<_ACEOF 3844 /* confdefs.h. */ 3845 _ACEOF 3846 cat confdefs.h >>conftest.$ac_ext 3847 cat >>conftest.$ac_ext <<_ACEOF 3848 /* end confdefs.h. */ 3849 $ac_includes_default 3850 #include <$ac_header> 3851 _ACEOF 3852 rm -f conftest.$ac_objext 3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3854 (eval $ac_compile) 2>conftest.er1 3855 ac_status=$? 3856 grep -v '^ *+' conftest.er1 >conftest.err 3857 rm -f conftest.er1 3858 cat conftest.err >&5 3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3860 (exit $ac_status); } && 3861 { ac_try='test -z "$ac_c_werror_flag" 3862 || test ! -s conftest.err' 3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3864 (eval $ac_try) 2>&5 3865 ac_status=$? 3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3867 (exit $ac_status); }; } && 3868 { ac_try='test -s conftest.$ac_objext' 3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3870 (eval $ac_try) 2>&5 3871 ac_status=$? 3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3873 (exit $ac_status); }; }; then 3874 ac_header_compiler=yes 3875 else 3876 echo "$as_me: failed program was:" >&5 3877 sed 's/^/| /' conftest.$ac_ext >&5 3878 3879 ac_header_compiler=no 3880 fi 3881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3883 echo "${ECHO_T}$ac_header_compiler" >&6 3884 3885 # Is the header present? 3886 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3888 cat >conftest.$ac_ext <<_ACEOF 3889 /* confdefs.h. */ 3890 _ACEOF 3891 cat confdefs.h >>conftest.$ac_ext 3892 cat >>conftest.$ac_ext <<_ACEOF 3893 /* end confdefs.h. */ 3894 #include <$ac_header> 3895 _ACEOF 3896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3898 ac_status=$? 3899 grep -v '^ *+' conftest.er1 >conftest.err 3900 rm -f conftest.er1 3901 cat conftest.err >&5 3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3903 (exit $ac_status); } >/dev/null; then 3904 if test -s conftest.err; then 3905 ac_cpp_err=$ac_c_preproc_warn_flag 3906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3907 else 3908 ac_cpp_err= 3909 fi 3910 else 3911 ac_cpp_err=yes 3912 fi 3913 if test -z "$ac_cpp_err"; then 3914 ac_header_preproc=yes 3915 else 3916 echo "$as_me: failed program was:" >&5 3917 sed 's/^/| /' conftest.$ac_ext >&5 3918 3919 ac_header_preproc=no 3920 fi 3921 rm -f conftest.err conftest.$ac_ext 3922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3923 echo "${ECHO_T}$ac_header_preproc" >&6 3924 3925 # So? What about this header? 3926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3927 yes:no: ) 3928 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3931 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3932 ac_header_preproc=yes 3933 ;; 3934 no:yes:* ) 3935 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3936 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3937 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3938 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3939 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3940 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3941 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3942 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3945 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3946 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3947 ( 3948 cat <<\_ASBOX 3949 ## ------------------------------------------ ## 3950 ## Report this to the AC_PACKAGE_NAME lists. ## 3951 ## ------------------------------------------ ## 3952 _ASBOX 3953 ) | 3954 sed "s/^/$as_me: WARNING: /" >&2 3955 ;; 3956 esac 3957 echo "$as_me:$LINENO: checking for $ac_header" >&5 3958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3959 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3960 echo $ECHO_N "(cached) $ECHO_C" >&6 3961 else 3962 eval "$as_ac_Header=\$ac_header_preproc" 3963 fi 3964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3966 3967 fi 3968 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3969 cat >>confdefs.h <<_ACEOF 3970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4441 #define HAVE_DLFCN_H 1 3971 4442 _ACEOF 3972 4443 … … 3984 4455 file_magic*) 3985 4456 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 3986 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&53987 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 3988 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3989 echo $ECHO_N "(cached) $ECHO_C" >&64457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 4458 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 4459 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 4460 $as_echo_n "(cached) " >&6 3990 4461 else 3991 4462 case $MAGIC_CMD in … … 4039 4510 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 4040 4511 if test -n "$MAGIC_CMD"; then 4041 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&54042 echo "${ECHO_T}$MAGIC_CMD" >&6 4043 else 4044 echo "$as_me:$LINENO: result: no" >&54045 echo "${ECHO_T}no" >&6 4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 4513 $as_echo "$MAGIC_CMD" >&6; } 4514 else 4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4516 $as_echo "no" >&6; } 4046 4517 fi 4047 4518 4048 4519 if test -z "$lt_cv_path_MAGIC_CMD"; then 4049 4520 if test -n "$ac_tool_prefix"; then 4050 echo "$as_me:$LINENO: checking for file" >&54051 echo $ECHO_N "checking for file... $ECHO_C" >&6 4052 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 4053 echo $ECHO_N "(cached) $ECHO_C" >&64521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 4522 $as_echo_n "checking for file... " >&6; } 4523 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 4524 $as_echo_n "(cached) " >&6 4054 4525 else 4055 4526 case $MAGIC_CMD in … … 4103 4574 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 4104 4575 if test -n "$MAGIC_CMD"; then 4105 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&54106 echo "${ECHO_T}$MAGIC_CMD" >&6 4107 else 4108 echo "$as_me:$LINENO: result: no" >&54109 echo "${ECHO_T}no" >&6 4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 4577 $as_echo "$MAGIC_CMD" >&6; } 4578 else 4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4580 $as_echo "no" >&6; } 4110 4581 fi 4111 4582 … … 4122 4593 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4123 4594 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4124 echo "$as_me:$LINENO: checking for $ac_word" >&54125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4126 if test "${ac_cv_prog_RANLIB+set}" = set; then 4127 echo $ECHO_N "(cached) $ECHO_C" >&64595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4596 $as_echo_n "checking for $ac_word... " >&6; } 4597 if test "${ac_cv_prog_RANLIB+set}" = set; then : 4598 $as_echo_n "(cached) " >&6 4128 4599 else 4129 4600 if test -n "$RANLIB"; then … … 4135 4606 IFS=$as_save_IFS 4136 4607 test -z "$as_dir" && as_dir=. 4137 for ac_exec_ext in '' $ac_executable_extensions; do4138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4608 for ac_exec_ext in '' $ac_executable_extensions; do 4609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4139 4610 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4141 4612 break 2 4142 4613 fi 4143 4614 done 4144 done 4615 done 4616 IFS=$as_save_IFS 4145 4617 4146 4618 fi … … 4148 4620 RANLIB=$ac_cv_prog_RANLIB 4149 4621 if test -n "$RANLIB"; then 4150 echo "$as_me:$LINENO: result: $RANLIB" >&5 4151 echo "${ECHO_T}$RANLIB" >&6 4152 else 4153 echo "$as_me:$LINENO: result: no" >&5 4154 echo "${ECHO_T}no" >&6 4155 fi 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4623 $as_echo "$RANLIB" >&6; } 4624 else 4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4626 $as_echo "no" >&6; } 4627 fi 4628 4156 4629 4157 4630 fi … … 4160 4633 # Extract the first word of "ranlib", so it can be a program name with args. 4161 4634 set dummy ranlib; ac_word=$2 4162 echo "$as_me:$LINENO: checking for $ac_word" >&54163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4165 echo $ECHO_N "(cached) $ECHO_C" >&64635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4636 $as_echo_n "checking for $ac_word... " >&6; } 4637 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 4638 $as_echo_n "(cached) " >&6 4166 4639 else 4167 4640 if test -n "$ac_ct_RANLIB"; then … … 4173 4646 IFS=$as_save_IFS 4174 4647 test -z "$as_dir" && as_dir=. 4175 for ac_exec_ext in '' $ac_executable_extensions; do4176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4648 for ac_exec_ext in '' $ac_executable_extensions; do 4649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4177 4650 ac_cv_prog_ac_ct_RANLIB="ranlib" 4178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4179 4652 break 2 4180 4653 fi 4181 4654 done 4182 done4183 4184 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4655 done 4656 IFS=$as_save_IFS 4657 4185 4658 fi 4186 4659 fi 4187 4660 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4188 4661 if test -n "$ac_ct_RANLIB"; then 4189 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4190 echo "${ECHO_T}$ac_ct_RANLIB" >&6 4191 else 4192 echo "$as_me:$LINENO: result: no" >&5 4193 echo "${ECHO_T}no" >&6 4194 fi 4195 4196 RANLIB=$ac_ct_RANLIB 4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4663 $as_echo "$ac_ct_RANLIB" >&6; } 4664 else 4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4666 $as_echo "no" >&6; } 4667 fi 4668 4669 if test "x$ac_ct_RANLIB" = x; then 4670 RANLIB=":" 4671 else 4672 case $cross_compiling:$ac_tool_warned in 4673 yes:) 4674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4676 ac_tool_warned=yes ;; 4677 esac 4678 RANLIB=$ac_ct_RANLIB 4679 fi 4197 4680 else 4198 4681 RANLIB="$ac_cv_prog_RANLIB" … … 4202 4685 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4203 4686 set dummy ${ac_tool_prefix}strip; ac_word=$2 4204 echo "$as_me:$LINENO: checking for $ac_word" >&54205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4206 if test "${ac_cv_prog_STRIP+set}" = set; then 4207 echo $ECHO_N "(cached) $ECHO_C" >&64687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4688 $as_echo_n "checking for $ac_word... " >&6; } 4689 if test "${ac_cv_prog_STRIP+set}" = set; then : 4690 $as_echo_n "(cached) " >&6 4208 4691 else 4209 4692 if test -n "$STRIP"; then … … 4215 4698 IFS=$as_save_IFS 4216 4699 test -z "$as_dir" && as_dir=. 4217 for ac_exec_ext in '' $ac_executable_extensions; do4218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4700 for ac_exec_ext in '' $ac_executable_extensions; do 4701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4219 4702 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4221 4704 break 2 4222 4705 fi 4223 4706 done 4224 done 4707 done 4708 IFS=$as_save_IFS 4225 4709 4226 4710 fi … … 4228 4712 STRIP=$ac_cv_prog_STRIP 4229 4713 if test -n "$STRIP"; then 4230 echo "$as_me:$LINENO: result: $STRIP" >&5 4231 echo "${ECHO_T}$STRIP" >&6 4232 else 4233 echo "$as_me:$LINENO: result: no" >&5 4234 echo "${ECHO_T}no" >&6 4235 fi 4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 4715 $as_echo "$STRIP" >&6; } 4716 else 4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4718 $as_echo "no" >&6; } 4719 fi 4720 4236 4721 4237 4722 fi … … 4240 4725 # Extract the first word of "strip", so it can be a program name with args. 4241 4726 set dummy strip; ac_word=$2 4242 echo "$as_me:$LINENO: checking for $ac_word" >&54243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4244 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 4245 echo $ECHO_N "(cached) $ECHO_C" >&64727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4728 $as_echo_n "checking for $ac_word... " >&6; } 4729 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 4730 $as_echo_n "(cached) " >&6 4246 4731 else 4247 4732 if test -n "$ac_ct_STRIP"; then … … 4253 4738 IFS=$as_save_IFS 4254 4739 test -z "$as_dir" && as_dir=. 4255 for ac_exec_ext in '' $ac_executable_extensions; do4256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4740 for ac_exec_ext in '' $ac_executable_extensions; do 4741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4257 4742 ac_cv_prog_ac_ct_STRIP="strip" 4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4259 4744 break 2 4260 4745 fi 4261 4746 done 4262 done4263 4264 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 4747 done 4748 IFS=$as_save_IFS 4749 4265 4750 fi 4266 4751 fi 4267 4752 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4268 4753 if test -n "$ac_ct_STRIP"; then 4269 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4270 echo "${ECHO_T}$ac_ct_STRIP" >&6 4271 else 4272 echo "$as_me:$LINENO: result: no" >&5 4273 echo "${ECHO_T}no" >&6 4274 fi 4275 4276 STRIP=$ac_ct_STRIP 4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 4755 $as_echo "$ac_ct_STRIP" >&6; } 4756 else 4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4758 $as_echo "no" >&6; } 4759 fi 4760 4761 if test "x$ac_ct_STRIP" = x; then 4762 STRIP=":" 4763 else 4764 case $cross_compiling:$ac_tool_warned in 4765 yes:) 4766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4768 ac_tool_warned=yes ;; 4769 esac 4770 STRIP=$ac_ct_STRIP 4771 fi 4277 4772 else 4278 4773 STRIP="$ac_cv_prog_STRIP" … … 4283 4778 enable_win32_dll=no 4284 4779 4285 # Check whether --enable-libtool-lock or --disable-libtool-lockwas given.4286 if test "${enable_libtool_lock+set}" = set; then 4287 enableval= "$enable_libtool_lock"4288 4289 fi; 4780 # Check whether --enable-libtool-lock was given. 4781 if test "${enable_libtool_lock+set}" = set; then : 4782 enableval=$enable_libtool_lock; 4783 fi 4784 4290 4785 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 4291 4786 … … 4295 4790 *-*-irix6*) 4296 4791 # Find out which ABI we are using. 4297 echo '#line 4 297"configure"' > conftest.$ac_ext4298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"")>&54792 echo '#line 4792 "configure"' > conftest.$ac_ext 4793 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 4299 4794 (eval $ac_compile) 2>&5 4300 4795 ac_status=$? 4301 echo "$as_me:$LINENO: \$? = $ac_status" >&54302 (exit $ac_status); }; then4796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4797 test $ac_status = 0; }; then 4303 4798 case `/usr/bin/file conftest.$ac_objext` in 4304 4799 *32-bit*) … … 4320 4815 SAVE_CFLAGS="$CFLAGS" 4321 4816 CFLAGS="$CFLAGS -belf" 4322 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 4323 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 4324 if test "${lt_cv_cc_needs_belf+set}" = set; then 4325 echo $ECHO_N "(cached) $ECHO_C" >&6 4326 else 4327 4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 4818 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 4819 if test "${lt_cv_cc_needs_belf+set}" = set; then : 4820 $as_echo_n "(cached) " >&6 4821 else 4328 4822 4329 4823 ac_ext=c … … 4333 4827 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4334 4828 4335 cat >conftest.$ac_ext <<_ACEOF 4336 /* confdefs.h. */ 4337 _ACEOF 4338 cat confdefs.h >>conftest.$ac_ext 4339 cat >>conftest.$ac_ext <<_ACEOF 4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4340 4830 /* end confdefs.h. */ 4341 4831 … … 4348 4838 } 4349 4839 _ACEOF 4350 rm -f conftest.$ac_objext conftest$ac_exeext 4351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4352 (eval $ac_link) 2>conftest.er1 4353 ac_status=$? 4354 grep -v '^ *+' conftest.er1 >conftest.err 4355 rm -f conftest.er1 4356 cat conftest.err >&5 4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4358 (exit $ac_status); } && 4359 { ac_try='test -z "$ac_c_werror_flag" 4360 || test ! -s conftest.err' 4361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4362 (eval $ac_try) 2>&5 4363 ac_status=$? 4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4365 (exit $ac_status); }; } && 4366 { ac_try='test -s conftest$ac_exeext' 4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4368 (eval $ac_try) 2>&5 4369 ac_status=$? 4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4371 (exit $ac_status); }; }; then 4840 if ac_fn_c_try_link "$LINENO"; then : 4372 4841 lt_cv_cc_needs_belf=yes 4373 4842 else 4374 echo "$as_me: failed program was:" >&5 4375 sed 's/^/| /' conftest.$ac_ext >&5 4376 4377 lt_cv_cc_needs_belf=no 4378 fi 4379 rm -f conftest.err conftest.$ac_objext \ 4380 conftest$ac_exeext conftest.$ac_ext 4843 lt_cv_cc_needs_belf=no 4844 fi 4845 rm -f core conftest.err conftest.$ac_objext \ 4846 conftest$ac_exeext conftest.$ac_ext 4381 4847 ac_ext=c 4382 4848 ac_cpp='$CPP $CPPFLAGS' … … 4386 4852 4387 4853 fi 4388 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&54389 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 4855 $as_echo "$lt_cv_cc_needs_belf" >&6; } 4390 4856 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 4391 4857 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf … … 4487 4953 compiler="$2" 4488 4954 4489 echo "$as_me:$LINENO: checking for objdir" >&54490 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 4956 $as_echo_n "checking for objdir... " >&6; } 4491 4957 rm -f .libs 2>/dev/null 4492 4958 mkdir .libs 2>/dev/null … … 4498 4964 fi 4499 4965 rmdir .libs 2>/dev/null 4500 echo "$as_me:$LINENO: result: $objdir" >&5 4501 echo "${ECHO_T}$objdir" >&6 4502 4503 4504 4505 # Check whether --with-pic or --without-pic was given. 4506 if test "${with_pic+set}" = set; then 4507 withval="$with_pic" 4508 pic_mode="$withval" 4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objdir" >&5 4967 $as_echo "$objdir" >&6; } 4968 4969 4970 4971 # Check whether --with-pic was given. 4972 if test "${with_pic+set}" = set; then : 4973 withval=$with_pic; pic_mode="$withval" 4509 4974 else 4510 4975 pic_mode=default 4511 fi; 4976 fi 4977 4512 4978 test -z "$pic_mode" && pic_mode=default 4513 4979 … … 4515 4981 # in isolation, and that seeing it set (from the cache) indicates that 4516 4982 # the associated values are set (in the cache) correctly too. 4517 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&54518 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 4519 if test "${lt_cv_prog_cc_pic+set}" = set; then 4520 echo $ECHO_N "(cached) $ECHO_C" >&64983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 4984 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 4985 if test "${lt_cv_prog_cc_pic+set}" = set; then : 4986 $as_echo_n "(cached) " >&6 4521 4987 else 4522 4988 lt_cv_prog_cc_pic= … … 4658 5124 4659 5125 if test -z "$lt_cv_prog_cc_pic"; then 4660 echo "$as_me:$LINENO: result: none" >&54661 echo "${ECHO_T}none" >&6 4662 else 4663 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&54664 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5127 $as_echo "none" >&6; } 5128 else 5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_cc_pic" >&5 5130 $as_echo "$lt_cv_prog_cc_pic" >&6; } 4665 5131 4666 5132 # Check to make sure the pic_flag actually works. 4667 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&54668 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 4669 if test "${lt_cv_prog_cc_pic_works+set}" = set; then 4670 echo $ECHO_N "(cached) $ECHO_C" >&65133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 5134 $as_echo_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... " >&6; } 5135 if test "${lt_cv_prog_cc_pic_works+set}" = set; then : 5136 $as_echo_n "(cached) " >&6 4671 5137 else 4672 5138 save_CFLAGS="$CFLAGS" 4673 5139 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" 4674 cat >conftest.$ac_ext <<_ACEOF 4675 /* confdefs.h. */ 4676 _ACEOF 4677 cat confdefs.h >>conftest.$ac_ext 4678 cat >>conftest.$ac_ext <<_ACEOF 5140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4679 5141 /* end confdefs.h. */ 4680 5142 … … 4687 5149 } 4688 5150 _ACEOF 4689 rm -f conftest.$ac_objext 4690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4691 (eval $ac_compile) 2>conftest.er1 4692 ac_status=$? 4693 grep -v '^ *+' conftest.er1 >conftest.err 4694 rm -f conftest.er1 4695 cat conftest.err >&5 4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4697 (exit $ac_status); } && 4698 { ac_try='test -z "$ac_c_werror_flag" 4699 || test ! -s conftest.err' 4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4701 (eval $ac_try) 2>&5 4702 ac_status=$? 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4704 (exit $ac_status); }; } && 4705 { ac_try='test -s conftest.$ac_objext' 4706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4707 (eval $ac_try) 2>&5 4708 ac_status=$? 4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4710 (exit $ac_status); }; }; then 5151 if ac_fn_c_try_compile "$LINENO"; then : 4711 5152 case $host_os in 4712 5153 hpux9* | hpux10* | hpux11*) … … 4726 5167 4727 5168 else 4728 echo "$as_me: failed program was:" >&5 4729 sed 's/^/| /' conftest.$ac_ext >&5 4730 4731 lt_cv_prog_cc_pic_works=no 4732 4733 fi 4734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5169 lt_cv_prog_cc_pic_works=no 5170 5171 fi 5172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4735 5173 CFLAGS="$save_CFLAGS" 4736 5174 … … 4745 5183 fi 4746 5184 4747 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&54748 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_cc_pic_works" >&5 5186 $as_echo "$lt_cv_prog_cc_pic_works" >&6; } 4749 5187 fi 4750 5188 4751 5189 # Check for any special shared library compilation flags. 4752 5190 if test -n "$lt_cv_prog_cc_shlib"; then 4753 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&54754 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}5191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 5192 $as_echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} 4755 5193 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : 4756 5194 else 4757 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&54758 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 5196 $as_echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} 4759 5197 lt_cv_prog_cc_can_build_shared=no 4760 5198 fi 4761 5199 fi 4762 5200 4763 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&54764 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 4765 if test "${lt_cv_prog_cc_static_works+set}" = set; then 4766 echo $ECHO_N "(cached) $ECHO_C" >&65201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 5202 $as_echo_n "checking if $compiler static flag $lt_cv_prog_cc_static works... " >&6; } 5203 if test "${lt_cv_prog_cc_static_works+set}" = set; then : 5204 $as_echo_n "(cached) " >&6 4767 5205 else 4768 5206 lt_cv_prog_cc_static_works=no 4769 5207 save_LDFLAGS="$LDFLAGS" 4770 5208 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" 4771 cat >conftest.$ac_ext <<_ACEOF 4772 /* confdefs.h. */ 4773 _ACEOF 4774 cat confdefs.h >>conftest.$ac_ext 4775 cat >>conftest.$ac_ext <<_ACEOF 5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4776 5210 /* end confdefs.h. */ 4777 5211 … … 4784 5218 } 4785 5219 _ACEOF 4786 rm -f conftest.$ac_objext conftest$ac_exeext 4787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4788 (eval $ac_link) 2>conftest.er1 4789 ac_status=$? 4790 grep -v '^ *+' conftest.er1 >conftest.err 4791 rm -f conftest.er1 4792 cat conftest.err >&5 4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4794 (exit $ac_status); } && 4795 { ac_try='test -z "$ac_c_werror_flag" 4796 || test ! -s conftest.err' 4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4798 (eval $ac_try) 2>&5 4799 ac_status=$? 4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4801 (exit $ac_status); }; } && 4802 { ac_try='test -s conftest$ac_exeext' 4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4804 (eval $ac_try) 2>&5 4805 ac_status=$? 4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4807 (exit $ac_status); }; }; then 5220 if ac_fn_c_try_link "$LINENO"; then : 4808 5221 lt_cv_prog_cc_static_works=yes 4809 else 4810 echo "$as_me: failed program was:" >&5 4811 sed 's/^/| /' conftest.$ac_ext >&5 4812 4813 fi 4814 rm -f conftest.err conftest.$ac_objext \ 4815 conftest$ac_exeext conftest.$ac_ext 5222 fi 5223 rm -f core conftest.err conftest.$ac_objext \ 5224 conftest$ac_exeext conftest.$ac_ext 4816 5225 LDFLAGS="$save_LDFLAGS" 4817 5226 … … 4821 5230 # Belt *and* braces to stop my trousers falling down: 4822 5231 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= 4823 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&54824 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_cc_static_works" >&5 5233 $as_echo "$lt_cv_prog_cc_static_works" >&6; } 4825 5234 4826 5235 pic_flag="$lt_cv_prog_cc_pic" … … 4833 5242 4834 5243 # Check to see if options -o and -c are simultaneously supported by compiler 4835 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&54836 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 4837 if test "${lt_cv_compiler_c_o+set}" = set; then 4838 echo $ECHO_N "(cached) $ECHO_C" >&65244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 5245 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 5246 if test "${lt_cv_compiler_c_o+set}" = set; then : 5247 $as_echo_n "(cached) " >&6 4839 5248 else 4840 5249 … … 4853 5262 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 4854 5263 compiler_c_o=no 4855 if { (eval echo configure: 4855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then5264 if { (eval echo configure:5264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 4856 5265 # The compiler can only warn and ignore the option if not recognized 4857 5266 # So say no if there are warnings … … 4877 5286 4878 5287 compiler_c_o=$lt_cv_compiler_c_o 4879 echo "$as_me:$LINENO: result: $compiler_c_o" >&54880 echo "${ECHO_T}$compiler_c_o" >&6 5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_c_o" >&5 5289 $as_echo "$compiler_c_o" >&6; } 4881 5290 4882 5291 if test x"$compiler_c_o" = x"yes"; then 4883 5292 # Check to see if we can write to a .lo 4884 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&54885 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 4886 if test "${lt_cv_compiler_o_lo+set}" = set; then 4887 echo $ECHO_N "(cached) $ECHO_C" >&65293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.lo" >&5 5294 $as_echo_n "checking if $compiler supports -c -o file.lo... " >&6; } 5295 if test "${lt_cv_compiler_o_lo+set}" = set; then : 5296 $as_echo_n "(cached) " >&6 4888 5297 else 4889 5298 … … 4893 5302 save_objext="$ac_objext" 4894 5303 ac_objext=lo 4895 cat >conftest.$ac_ext <<_ACEOF 4896 /* confdefs.h. */ 4897 _ACEOF 4898 cat confdefs.h >>conftest.$ac_ext 4899 cat >>conftest.$ac_ext <<_ACEOF 5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4900 5305 /* end confdefs.h. */ 4901 5306 … … 4908 5313 } 4909 5314 _ACEOF 4910 rm -f conftest.$ac_objext 4911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4912 (eval $ac_compile) 2>conftest.er1 4913 ac_status=$? 4914 grep -v '^ *+' conftest.er1 >conftest.err 4915 rm -f conftest.er1 4916 cat conftest.err >&5 4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4918 (exit $ac_status); } && 4919 { ac_try='test -z "$ac_c_werror_flag" 4920 || test ! -s conftest.err' 4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4922 (eval $ac_try) 2>&5 4923 ac_status=$? 4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4925 (exit $ac_status); }; } && 4926 { ac_try='test -s conftest.$ac_objext' 4927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4928 (eval $ac_try) 2>&5 4929 ac_status=$? 4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4931 (exit $ac_status); }; }; then 5315 if ac_fn_c_try_compile "$LINENO"; then : 4932 5316 # The compiler can only warn and ignore the option if not recognized 4933 5317 # So say no if there are warnings … … 4938 5322 fi 4939 5323 4940 else 4941 echo "$as_me: failed program was:" >&5 4942 sed 's/^/| /' conftest.$ac_ext >&5 4943 4944 fi 4945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5324 fi 5325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4946 5326 ac_objext="$save_objext" 4947 5327 CFLAGS="$save_CFLAGS" … … 4950 5330 4951 5331 compiler_o_lo=$lt_cv_compiler_o_lo 4952 echo "$as_me:$LINENO: result: $compiler_o_lo" >&54953 echo "${ECHO_T}$compiler_o_lo" >&6 5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_o_lo" >&5 5333 $as_echo "$compiler_o_lo" >&6; } 4954 5334 else 4955 5335 compiler_o_lo=no … … 4960 5340 if test "$compiler_c_o" = no && test "$need_locks" != no; then 4961 5341 # do not overwrite the value of need_locks provided by the user 4962 echo "$as_me:$LINENO: checking if we can lock with hard links" >&54963 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 5343 $as_echo_n "checking if we can lock with hard links... " >&6; } 4964 5344 hard_links=yes 4965 5345 $rm conftest* … … 4968 5348 ln conftest.a conftest.b 2>&5 || hard_links=no 4969 5349 ln conftest.a conftest.b 2>/dev/null && hard_links=no 4970 echo "$as_me:$LINENO: result: $hard_links" >&54971 echo "${ECHO_T}$hard_links" >&6 5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 5351 $as_echo "$hard_links" >&6; } 4972 5352 if test "$hard_links" = no; then 4973 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&54974 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}5353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 5354 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 4975 5355 need_locks=warn 4976 5356 fi … … 4981 5361 if test "$GCC" = yes; then 4982 5362 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler 4983 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&54984 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 5364 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 4985 5365 echo "int some_variable = 0;" > conftest.$ac_ext 4986 5366 save_CFLAGS="$CFLAGS" 4987 5367 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" 4988 5368 compiler_rtti_exceptions=no 4989 cat >conftest.$ac_ext <<_ACEOF 4990 /* confdefs.h. */ 4991 _ACEOF 4992 cat confdefs.h >>conftest.$ac_ext 4993 cat >>conftest.$ac_ext <<_ACEOF 5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4994 5370 /* end confdefs.h. */ 4995 5371 … … 5002 5378 } 5003 5379 _ACEOF 5004 rm -f conftest.$ac_objext 5005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5006 (eval $ac_compile) 2>conftest.er1 5007 ac_status=$? 5008 grep -v '^ *+' conftest.er1 >conftest.err 5009 rm -f conftest.er1 5010 cat conftest.err >&5 5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5012 (exit $ac_status); } && 5013 { ac_try='test -z "$ac_c_werror_flag" 5014 || test ! -s conftest.err' 5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5016 (eval $ac_try) 2>&5 5017 ac_status=$? 5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5019 (exit $ac_status); }; } && 5020 { ac_try='test -s conftest.$ac_objext' 5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5022 (eval $ac_try) 2>&5 5023 ac_status=$? 5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5025 (exit $ac_status); }; }; then 5380 if ac_fn_c_try_compile "$LINENO"; then : 5026 5381 # The compiler can only warn and ignore the option if not recognized 5027 5382 # So say no if there are warnings … … 5032 5387 fi 5033 5388 5034 else 5035 echo "$as_me: failed program was:" >&5 5036 sed 's/^/| /' conftest.$ac_ext >&5 5037 5038 fi 5039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5389 fi 5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5040 5391 CFLAGS="$save_CFLAGS" 5041 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&55042 echo "${ECHO_T}$compiler_rtti_exceptions" >&6 5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_rtti_exceptions" >&5 5393 $as_echo "$compiler_rtti_exceptions" >&6; } 5043 5394 5044 5395 if test "$compiler_rtti_exceptions" = "yes"; then … … 5050 5401 5051 5402 # See if the linker supports building shared libraries. 5052 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&55053 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker ($LD) supports shared libraries" >&5 5404 $as_echo_n "checking whether the linker ($LD) supports shared libraries... " >&6; } 5054 5405 5055 5406 allow_undefined_flag= … … 5742 6093 esac 5743 6094 fi 5744 echo "$as_me:$LINENO: result: $ld_shlibs" >&55745 echo "${ECHO_T}$ld_shlibs" >&6 6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 6096 $as_echo "$ld_shlibs" >&6; } 5746 6097 test "$ld_shlibs" = no && can_build_shared=no 5747 6098 5748 6099 # Check hardcoding attributes. 5749 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&55750 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 6101 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 5751 6102 hardcode_action= 5752 6103 if test -n "$hardcode_libdir_flag_spec" || \ … … 5771 6122 hardcode_action=unsupported 5772 6123 fi 5773 echo "$as_me:$LINENO: result: $hardcode_action" >&55774 echo "${ECHO_T}$hardcode_action" >&6 6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 6125 $as_echo "$hardcode_action" >&6; } 5775 6126 5776 6127 striplib= 5777 6128 old_striplib= 5778 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&55779 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 6130 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 5780 6131 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 5781 6132 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 5782 6133 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 5783 echo "$as_me:$LINENO: result: yes" >&55784 echo "${ECHO_T}yes" >&6 5785 else 5786 echo "$as_me:$LINENO: result: no" >&55787 echo "${ECHO_T}no" >&6 6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6135 $as_echo "yes" >&6; } 6136 else 6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6138 $as_echo "no" >&6; } 5788 6139 fi 5789 6140 … … 5792 6143 5793 6144 # PORTME Fill in your ld.so characteristics 5794 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&55795 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 6146 $as_echo_n "checking dynamic linker characteristics... " >&6; } 5796 6147 library_names_spec= 5797 6148 libname_spec='lib$name' … … 6194 6545 ;; 6195 6546 esac 6196 echo "$as_me:$LINENO: result: $dynamic_linker" >&56197 echo "${ECHO_T}$dynamic_linker" >&6 6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 6548 $as_echo "$dynamic_linker" >&6; } 6198 6549 test "$dynamic_linker" = no && can_build_shared=no 6199 6550 6200 6551 # Report the final consequences. 6201 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&56202 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 6203 echo "$as_me:$LINENO: result: $can_build_shared" >&56204 echo "${ECHO_T}$can_build_shared" >&6 6205 6206 echo "$as_me:$LINENO: checking whether to build shared libraries" >&56207 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 6553 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 6555 $as_echo "$can_build_shared" >&6; } 6556 6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 6558 $as_echo_n "checking whether to build shared libraries... " >&6; } 6208 6559 test "$can_build_shared" = "no" && enable_shared=no 6209 6560 … … 6225 6576 ;; 6226 6577 esac 6227 echo "$as_me:$LINENO: result: $enable_shared" >&56228 echo "${ECHO_T}$enable_shared" >&6 6229 6230 echo "$as_me:$LINENO: checking whether to build static libraries" >&56231 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 6579 $as_echo "$enable_shared" >&6; } 6580 6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 6582 $as_echo_n "checking whether to build static libraries... " >&6; } 6232 6583 # Make sure either enable_shared or enable_static is yes. 6233 6584 test "$enable_shared" = yes || enable_static=yes 6234 echo "$as_me:$LINENO: result: $enable_static" >&56235 echo "${ECHO_T}$enable_static" >&6 6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 6586 $as_echo "$enable_static" >&6; } 6236 6587 6237 6588 if test "$hardcode_action" = relink; then … … 6270 6621 6271 6622 *) 6272 echo "$as_me:$LINENO: checking for shl_load" >&5 6273 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 6274 if test "${ac_cv_func_shl_load+set}" = set; then 6275 echo $ECHO_N "(cached) $ECHO_C" >&6 6276 else 6277 cat >conftest.$ac_ext <<_ACEOF 6278 /* confdefs.h. */ 6279 _ACEOF 6280 cat confdefs.h >>conftest.$ac_ext 6281 cat >>conftest.$ac_ext <<_ACEOF 6623 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 6624 if test "x$ac_cv_func_shl_load" = x""yes; then : 6625 lt_cv_dlopen="shl_load" 6626 else 6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 6628 $as_echo_n "checking for shl_load in -ldld... " >&6; } 6629 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 6630 $as_echo_n "(cached) " >&6 6631 else 6632 ac_check_lib_save_LIBS=$LIBS 6633 LIBS="-ldld $LIBS" 6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6282 6635 /* end confdefs.h. */ 6283 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 6284 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6285 #define shl_load innocuous_shl_load 6286 6287 /* System header to define __stub macros and hopefully few prototypes, 6288 which can conflict with char shl_load (); below. 6289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6290 <limits.h> exists even on freestanding compilers. */ 6291 6292 #ifdef __STDC__ 6293 # include <limits.h> 6294 #else 6295 # include <assert.h> 6296 #endif 6297 6298 #undef shl_load 6299 6300 /* Override any gcc2 internal prototype to avoid an error. */ 6636 6637 /* Override any GCC internal prototype to avoid an error. 6638 Use char because int might match the return type of a GCC 6639 builtin and then its argument prototype would still apply. */ 6301 6640 #ifdef __cplusplus 6302 6641 extern "C" 6303 {6304 6642 #endif 6305 /* We use char because int might match the return type of a gcc26306 builtin and then its argument prototype would still apply. */6307 6643 char shl_load (); 6308 /* The GNU C library defines this for functions which it implements6309 to always fail with ENOSYS. Some functions are actually named6310 something starting with __ and the normal name is an alias. */6311 #if defined (__stub_shl_load) || defined (__stub___shl_load)6312 choke me6313 #else6314 char (*f) () = shl_load;6315 #endif6316 #ifdef __cplusplus6317 }6318 #endif6319 6320 6644 int 6321 6645 main () 6322 6646 { 6323 return f != shl_load;6647 return shl_load (); 6324 6648 ; 6325 6649 return 0; 6326 6650 } 6327 6651 _ACEOF 6328 rm -f conftest.$ac_objext conftest$ac_exeext 6329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6330 (eval $ac_link) 2>conftest.er1 6331 ac_status=$? 6332 grep -v '^ *+' conftest.er1 >conftest.err 6333 rm -f conftest.er1 6334 cat conftest.err >&5 6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6336 (exit $ac_status); } && 6337 { ac_try='test -z "$ac_c_werror_flag" 6338 || test ! -s conftest.err' 6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6340 (eval $ac_try) 2>&5 6341 ac_status=$? 6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6343 (exit $ac_status); }; } && 6344 { ac_try='test -s conftest$ac_exeext' 6345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6346 (eval $ac_try) 2>&5 6347 ac_status=$? 6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6349 (exit $ac_status); }; }; then 6350 ac_cv_func_shl_load=yes 6351 else 6352 echo "$as_me: failed program was:" >&5 6353 sed 's/^/| /' conftest.$ac_ext >&5 6354 6355 ac_cv_func_shl_load=no 6356 fi 6357 rm -f conftest.err conftest.$ac_objext \ 6358 conftest$ac_exeext conftest.$ac_ext 6359 fi 6360 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 6361 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 6362 if test $ac_cv_func_shl_load = yes; then 6363 lt_cv_dlopen="shl_load" 6364 else 6365 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 6366 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 6367 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 6368 echo $ECHO_N "(cached) $ECHO_C" >&6 6652 if ac_fn_c_try_link "$LINENO"; then : 6653 ac_cv_lib_dld_shl_load=yes 6654 else 6655 ac_cv_lib_dld_shl_load=no 6656 fi 6657 rm -f core conftest.err conftest.$ac_objext \ 6658 conftest$ac_exeext conftest.$ac_ext 6659 LIBS=$ac_check_lib_save_LIBS 6660 fi 6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 6662 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 6663 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 6664 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 6665 else 6666 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 6667 if test "x$ac_cv_func_dlopen" = x""yes; then : 6668 lt_cv_dlopen="dlopen" 6669 else 6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 6671 $as_echo_n "checking for dlopen in -ldl... " >&6; } 6672 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 6673 $as_echo_n "(cached) " >&6 6369 6674 else 6370 6675 ac_check_lib_save_LIBS=$LIBS 6371 LIBS="-ldld $LIBS" 6372 cat >conftest.$ac_ext <<_ACEOF 6373 /* confdefs.h. */ 6374 _ACEOF 6375 cat confdefs.h >>conftest.$ac_ext 6376 cat >>conftest.$ac_ext <<_ACEOF 6676 LIBS="-ldl $LIBS" 6677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6377 6678 /* end confdefs.h. */ 6378 6679 6379 /* Override any gcc2 internal prototype to avoid an error. */ 6680 /* Override any GCC internal prototype to avoid an error. 6681 Use char because int might match the return type of a GCC 6682 builtin and then its argument prototype would still apply. */ 6380 6683 #ifdef __cplusplus 6381 6684 extern "C" 6382 6685 #endif 6383 /* We use char because int might match the return type of a gcc2 6384 builtin and then its argument prototype would still apply. */ 6385 char shl_load (); 6686 char dlopen (); 6386 6687 int 6387 6688 main () 6388 6689 { 6389 shl_load();6690 return dlopen (); 6390 6691 ; 6391 6692 return 0; 6392 6693 } 6393 6694 _ACEOF 6394 rm -f conftest.$ac_objext conftest$ac_exeext 6395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6396 (eval $ac_link) 2>conftest.er1 6397 ac_status=$? 6398 grep -v '^ *+' conftest.er1 >conftest.err 6399 rm -f conftest.er1 6400 cat conftest.err >&5 6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6402 (exit $ac_status); } && 6403 { ac_try='test -z "$ac_c_werror_flag" 6404 || test ! -s conftest.err' 6405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6406 (eval $ac_try) 2>&5 6407 ac_status=$? 6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6409 (exit $ac_status); }; } && 6410 { ac_try='test -s conftest$ac_exeext' 6411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6412 (eval $ac_try) 2>&5 6413 ac_status=$? 6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6415 (exit $ac_status); }; }; then 6416 ac_cv_lib_dld_shl_load=yes 6417 else 6418 echo "$as_me: failed program was:" >&5 6419 sed 's/^/| /' conftest.$ac_ext >&5 6420 6421 ac_cv_lib_dld_shl_load=no 6422 fi 6423 rm -f conftest.err conftest.$ac_objext \ 6424 conftest$ac_exeext conftest.$ac_ext 6695 if ac_fn_c_try_link "$LINENO"; then : 6696 ac_cv_lib_dl_dlopen=yes 6697 else 6698 ac_cv_lib_dl_dlopen=no 6699 fi 6700 rm -f core conftest.err conftest.$ac_objext \ 6701 conftest$ac_exeext conftest.$ac_ext 6425 6702 LIBS=$ac_check_lib_save_LIBS 6426 6703 fi 6427 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 6428 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 6429 if test $ac_cv_lib_dld_shl_load = yes; then 6430 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 6431 else 6432 echo "$as_me:$LINENO: checking for dlopen" >&5 6433 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 6434 if test "${ac_cv_func_dlopen+set}" = set; then 6435 echo $ECHO_N "(cached) $ECHO_C" >&6 6436 else 6437 cat >conftest.$ac_ext <<_ACEOF 6438 /* confdefs.h. */ 6439 _ACEOF 6440 cat confdefs.h >>conftest.$ac_ext 6441 cat >>conftest.$ac_ext <<_ACEOF 6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 6705 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 6706 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 6707 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 6708 else 6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 6710 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 6711 if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 6712 $as_echo_n "(cached) " >&6 6713 else 6714 ac_check_lib_save_LIBS=$LIBS 6715 LIBS="-lsvld $LIBS" 6716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6442 6717 /* end confdefs.h. */ 6443 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 6444 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6445 #define dlopen innocuous_dlopen 6446 6447 /* System header to define __stub macros and hopefully few prototypes, 6448 which can conflict with char dlopen (); below. 6449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6450 <limits.h> exists even on freestanding compilers. */ 6451 6452 #ifdef __STDC__ 6453 # include <limits.h> 6454 #else 6455 # include <assert.h> 6456 #endif 6457 6458 #undef dlopen 6459 6460 /* Override any gcc2 internal prototype to avoid an error. */ 6718 6719 /* Override any GCC internal prototype to avoid an error. 6720 Use char because int might match the return type of a GCC 6721 builtin and then its argument prototype would still apply. */ 6461 6722 #ifdef __cplusplus 6462 6723 extern "C" 6463 {6464 6724 #endif 6465 /* We use char because int might match the return type of a gcc26466 builtin and then its argument prototype would still apply. */6467 6725 char dlopen (); 6468 /* The GNU C library defines this for functions which it implements6469 to always fail with ENOSYS. Some functions are actually named6470 something starting with __ and the normal name is an alias. */6471 #if defined (__stub_dlopen) || defined (__stub___dlopen)6472 choke me6473 #else6474 char (*f) () = dlopen;6475 #endif6476 #ifdef __cplusplus6477 }6478 #endif6479 6480 6726 int 6481 6727 main () 6482 6728 { 6483 return f != dlopen;6729 return dlopen (); 6484 6730 ; 6485 6731 return 0; 6486 6732 } 6487 6733 _ACEOF 6488 rm -f conftest.$ac_objext conftest$ac_exeext 6489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6490 (eval $ac_link) 2>conftest.er1 6491 ac_status=$? 6492 grep -v '^ *+' conftest.er1 >conftest.err 6493 rm -f conftest.er1 6494 cat conftest.err >&5 6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6496 (exit $ac_status); } && 6497 { ac_try='test -z "$ac_c_werror_flag" 6498 || test ! -s conftest.err' 6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6500 (eval $ac_try) 2>&5 6501 ac_status=$? 6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6503 (exit $ac_status); }; } && 6504 { ac_try='test -s conftest$ac_exeext' 6505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6506 (eval $ac_try) 2>&5 6507 ac_status=$? 6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6509 (exit $ac_status); }; }; then 6510 ac_cv_func_dlopen=yes 6511 else 6512 echo "$as_me: failed program was:" >&5 6513 sed 's/^/| /' conftest.$ac_ext >&5 6514 6515 ac_cv_func_dlopen=no 6516 fi 6517 rm -f conftest.err conftest.$ac_objext \ 6518 conftest$ac_exeext conftest.$ac_ext 6519 fi 6520 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 6521 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 6522 if test $ac_cv_func_dlopen = yes; then 6523 lt_cv_dlopen="dlopen" 6524 else 6525 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 6526 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 6527 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 6528 echo $ECHO_N "(cached) $ECHO_C" >&6 6734 if ac_fn_c_try_link "$LINENO"; then : 6735 ac_cv_lib_svld_dlopen=yes 6736 else 6737 ac_cv_lib_svld_dlopen=no 6738 fi 6739 rm -f core conftest.err conftest.$ac_objext \ 6740 conftest$ac_exeext conftest.$ac_ext 6741 LIBS=$ac_check_lib_save_LIBS 6742 fi 6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 6744 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 6745 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 6746 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 6747 else 6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 6749 $as_echo_n "checking for dld_link in -ldld... " >&6; } 6750 if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 6751 $as_echo_n "(cached) " >&6 6529 6752 else 6530 6753 ac_check_lib_save_LIBS=$LIBS 6531 LIBS="-ldl $LIBS" 6532 cat >conftest.$ac_ext <<_ACEOF 6533 /* confdefs.h. */ 6534 _ACEOF 6535 cat confdefs.h >>conftest.$ac_ext 6536 cat >>conftest.$ac_ext <<_ACEOF 6754 LIBS="-ldld $LIBS" 6755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6537 6756 /* end confdefs.h. */ 6538 6757 6539 /* Override any gcc2 internal prototype to avoid an error. */ 6758 /* Override any GCC internal prototype to avoid an error. 6759 Use char because int might match the return type of a GCC 6760 builtin and then its argument prototype would still apply. */ 6540 6761 #ifdef __cplusplus 6541 6762 extern "C" 6542 6763 #endif 6543 /* We use char because int might match the return type of a gcc2 6544 builtin and then its argument prototype would still apply. */ 6545 char dlopen (); 6764 char dld_link (); 6546 6765 int 6547 6766 main () 6548 6767 { 6549 dlopen();6768 return dld_link (); 6550 6769 ; 6551 6770 return 0; 6552 6771 } 6553 6772 _ACEOF 6554 rm -f conftest.$ac_objext conftest$ac_exeext 6555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6556 (eval $ac_link) 2>conftest.er1 6557 ac_status=$? 6558 grep -v '^ *+' conftest.er1 >conftest.err 6559 rm -f conftest.er1 6560 cat conftest.err >&5 6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6562 (exit $ac_status); } && 6563 { ac_try='test -z "$ac_c_werror_flag" 6564 || test ! -s conftest.err' 6565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6566 (eval $ac_try) 2>&5 6567 ac_status=$? 6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6569 (exit $ac_status); }; } && 6570 { ac_try='test -s conftest$ac_exeext' 6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6572 (eval $ac_try) 2>&5 6573 ac_status=$? 6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6575 (exit $ac_status); }; }; then 6576 ac_cv_lib_dl_dlopen=yes 6577 else 6578 echo "$as_me: failed program was:" >&5 6579 sed 's/^/| /' conftest.$ac_ext >&5 6580 6581 ac_cv_lib_dl_dlopen=no 6582 fi 6583 rm -f conftest.err conftest.$ac_objext \ 6584 conftest$ac_exeext conftest.$ac_ext 6773 if ac_fn_c_try_link "$LINENO"; then : 6774 ac_cv_lib_dld_dld_link=yes 6775 else 6776 ac_cv_lib_dld_dld_link=no 6777 fi 6778 rm -f core conftest.err conftest.$ac_objext \ 6779 conftest$ac_exeext conftest.$ac_ext 6585 6780 LIBS=$ac_check_lib_save_LIBS 6586 6781 fi 6587 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 6588 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 6589 if test $ac_cv_lib_dl_dlopen = yes; then 6590 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 6591 else 6592 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 6593 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 6594 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 6595 echo $ECHO_N "(cached) $ECHO_C" >&6 6596 else 6597 ac_check_lib_save_LIBS=$LIBS 6598 LIBS="-lsvld $LIBS" 6599 cat >conftest.$ac_ext <<_ACEOF 6600 /* confdefs.h. */ 6601 _ACEOF 6602 cat confdefs.h >>conftest.$ac_ext 6603 cat >>conftest.$ac_ext <<_ACEOF 6604 /* end confdefs.h. */ 6605 6606 /* Override any gcc2 internal prototype to avoid an error. */ 6607 #ifdef __cplusplus 6608 extern "C" 6609 #endif 6610 /* We use char because int might match the return type of a gcc2 6611 builtin and then its argument prototype would still apply. */ 6612 char dlopen (); 6613 int 6614 main () 6615 { 6616 dlopen (); 6617 ; 6618 return 0; 6619 } 6620 _ACEOF 6621 rm -f conftest.$ac_objext conftest$ac_exeext 6622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6623 (eval $ac_link) 2>conftest.er1 6624 ac_status=$? 6625 grep -v '^ *+' conftest.er1 >conftest.err 6626 rm -f conftest.er1 6627 cat conftest.err >&5 6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6629 (exit $ac_status); } && 6630 { ac_try='test -z "$ac_c_werror_flag" 6631 || test ! -s conftest.err' 6632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6633 (eval $ac_try) 2>&5 6634 ac_status=$? 6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6636 (exit $ac_status); }; } && 6637 { ac_try='test -s conftest$ac_exeext' 6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6639 (eval $ac_try) 2>&5 6640 ac_status=$? 6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6642 (exit $ac_status); }; }; then 6643 ac_cv_lib_svld_dlopen=yes 6644 else 6645 echo "$as_me: failed program was:" >&5 6646 sed 's/^/| /' conftest.$ac_ext >&5 6647 6648 ac_cv_lib_svld_dlopen=no 6649 fi 6650 rm -f conftest.err conftest.$ac_objext \ 6651 conftest$ac_exeext conftest.$ac_ext 6652 LIBS=$ac_check_lib_save_LIBS 6653 fi 6654 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 6655 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 6656 if test $ac_cv_lib_svld_dlopen = yes; then 6657 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 6658 else 6659 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 6660 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 6661 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 6662 echo $ECHO_N "(cached) $ECHO_C" >&6 6663 else 6664 ac_check_lib_save_LIBS=$LIBS 6665 LIBS="-ldld $LIBS" 6666 cat >conftest.$ac_ext <<_ACEOF 6667 /* confdefs.h. */ 6668 _ACEOF 6669 cat confdefs.h >>conftest.$ac_ext 6670 cat >>conftest.$ac_ext <<_ACEOF 6671 /* end confdefs.h. */ 6672 6673 /* Override any gcc2 internal prototype to avoid an error. */ 6674 #ifdef __cplusplus 6675 extern "C" 6676 #endif 6677 /* We use char because int might match the return type of a gcc2 6678 builtin and then its argument prototype would still apply. */ 6679 char dld_link (); 6680 int 6681 main () 6682 { 6683 dld_link (); 6684 ; 6685 return 0; 6686 } 6687 _ACEOF 6688 rm -f conftest.$ac_objext conftest$ac_exeext 6689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6690 (eval $ac_link) 2>conftest.er1 6691 ac_status=$? 6692 grep -v '^ *+' conftest.er1 >conftest.err 6693 rm -f conftest.er1 6694 cat conftest.err >&5 6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6696 (exit $ac_status); } && 6697 { ac_try='test -z "$ac_c_werror_flag" 6698 || test ! -s conftest.err' 6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6700 (eval $ac_try) 2>&5 6701 ac_status=$? 6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6703 (exit $ac_status); }; } && 6704 { ac_try='test -s conftest$ac_exeext' 6705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6706 (eval $ac_try) 2>&5 6707 ac_status=$? 6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6709 (exit $ac_status); }; }; then 6710 ac_cv_lib_dld_dld_link=yes 6711 else 6712 echo "$as_me: failed program was:" >&5 6713 sed 's/^/| /' conftest.$ac_ext >&5 6714 6715 ac_cv_lib_dld_dld_link=no 6716 fi 6717 rm -f conftest.err conftest.$ac_objext \ 6718 conftest$ac_exeext conftest.$ac_ext 6719 LIBS=$ac_check_lib_save_LIBS 6720 fi 6721 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 6722 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 6723 if test $ac_cv_lib_dld_dld_link = yes; then 6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 6783 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 6784 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 6724 6785 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 6725 6786 fi … … 6760 6821 LIBS="$lt_cv_dlopen_libs $LIBS" 6761 6822 6762 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&56763 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 6764 if test "${lt_cv_dlopen_self+set}" = set; then 6765 echo $ECHO_N "(cached) $ECHO_C" >&66823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 6824 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 6825 if test "${lt_cv_dlopen_self+set}" = set; then : 6826 $as_echo_n "(cached) " >&6 6766 6827 else 6767 6828 if test "$cross_compiling" = yes; then : … … 6771 6832 lt_status=$lt_dlunknown 6772 6833 cat > conftest.$ac_ext <<EOF 6773 #line 6 773"configure"6834 #line 6834 "configure" 6774 6835 #include "confdefs.h" 6775 6836 … … 6832 6893 } 6833 6894 EOF 6834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"")>&56895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6835 6896 (eval $ac_link) 2>&5 6836 6897 ac_status=$? 6837 echo "$as_me:$LINENO: \$? = $ac_status" >&56838 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then6898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6899 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 6839 6900 (./conftest; exit; ) 2>/dev/null 6840 6901 lt_status=$? … … 6853 6914 6854 6915 fi 6855 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&56856 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 6917 $as_echo "$lt_cv_dlopen_self" >&6; } 6857 6918 6858 6919 if test "x$lt_cv_dlopen_self" = xyes; then 6859 6920 LDFLAGS="$LDFLAGS $link_static_flag" 6860 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&56861 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 6862 if test "${lt_cv_dlopen_self_static+set}" = set; then 6863 echo $ECHO_N "(cached) $ECHO_C" >&66921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 6922 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 6923 if test "${lt_cv_dlopen_self_static+set}" = set; then : 6924 $as_echo_n "(cached) " >&6 6864 6925 else 6865 6926 if test "$cross_compiling" = yes; then : … … 6869 6930 lt_status=$lt_dlunknown 6870 6931 cat > conftest.$ac_ext <<EOF 6871 #line 6 871"configure"6932 #line 6932 "configure" 6872 6933 #include "confdefs.h" 6873 6934 … … 6930 6991 } 6931 6992 EOF 6932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"")>&56993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6933 6994 (eval $ac_link) 2>&5 6934 6995 ac_status=$? 6935 echo "$as_me:$LINENO: \$? = $ac_status" >&56936 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6997 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 6937 6998 (./conftest; exit; ) 2>/dev/null 6938 6999 lt_status=$? … … 6951 7012 6952 7013 fi 6953 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&56954 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 7015 $as_echo "$lt_cv_dlopen_self_static" >&6; } 6955 7016 fi 6956 7017 … … 6982 7043 # systems, -lgcc has to come before -lc. If gcc already passes -lc 6983 7044 # to ld, don't add -lc before -lgcc. 6984 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&56985 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 6986 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then 6987 echo $ECHO_N "(cached) $ECHO_C" >&67045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 7046 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 7047 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : 7048 $as_echo_n "(cached) " >&6 6988 7049 else 6989 7050 $rm conftest* 6990 7051 echo 'static int dummy;' > conftest.$ac_ext 6991 7052 6992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"")>&57053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6993 7054 (eval $ac_compile) 2>&5 6994 7055 ac_status=$? 6995 echo "$as_me:$LINENO: \$? = $ac_status" >&56996 (exit $ac_status); }; then7056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7057 test $ac_status = 0; }; then 6997 7058 soname=conftest 6998 7059 lib=conftest … … 7007 7068 save_allow_undefined_flag=$allow_undefined_flag 7008 7069 allow_undefined_flag= 7009 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"")>&57070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 7010 7071 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 7011 7072 ac_status=$? 7012 echo "$as_me:$LINENO: \$? = $ac_status" >&57013 (exit $ac_status); }7073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7074 test $ac_status = 0; } 7014 7075 then 7015 7076 lt_cv_archive_cmds_need_lc=no … … 7023 7084 fi 7024 7085 7025 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&57026 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 7087 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 7027 7088 ;; 7028 7089 esac … … 7599 7660 # Extract the first word of "perl", so it can be a program name with args. 7600 7661 set dummy perl; ac_word=$2 7601 echo "$as_me:$LINENO: checking for $ac_word" >&57602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 7603 if test "${ac_cv_path_PERL+set}" = set; then 7604 echo $ECHO_N "(cached) $ECHO_C" >&67662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7663 $as_echo_n "checking for $ac_word... " >&6; } 7664 if test "${ac_cv_path_PERL+set}" = set; then : 7665 $as_echo_n "(cached) " >&6 7605 7666 else 7606 7667 case $PERL in … … 7614 7675 IFS=$as_save_IFS 7615 7676 test -z "$as_dir" && as_dir=. 7616 for ac_exec_ext in '' $ac_executable_extensions; do7617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7677 for ac_exec_ext in '' $ac_executable_extensions; do 7678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7618 7679 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 7619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7620 7681 break 2 7621 7682 fi 7622 7683 done 7623 done 7684 done 7685 IFS=$as_save_IFS 7624 7686 7625 7687 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl" … … 7628 7690 fi 7629 7691 PERL=$ac_cv_path_PERL 7630 7631 7692 if test -n "$PERL"; then 7632 echo "$as_me:$LINENO: result: $PERL" >&5 7633 echo "${ECHO_T}$PERL" >&6 7634 else 7635 echo "$as_me:$LINENO: result: no" >&5 7636 echo "${ECHO_T}no" >&6 7637 fi 7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 7694 $as_echo "$PERL" >&6; } 7695 else 7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7697 $as_echo "no" >&6; } 7698 fi 7699 7638 7700 7639 7701 # Extract the first word of "sh", so it can be a program name with args. 7640 7702 set dummy sh; ac_word=$2 7641 echo "$as_me:$LINENO: checking for $ac_word" >&57642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 7643 if test "${ac_cv_path_SH+set}" = set; then 7644 echo $ECHO_N "(cached) $ECHO_C" >&67703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7704 $as_echo_n "checking for $ac_word... " >&6; } 7705 if test "${ac_cv_path_SH+set}" = set; then : 7706 $as_echo_n "(cached) " >&6 7645 7707 else 7646 7708 case $SH in … … 7654 7716 IFS=$as_save_IFS 7655 7717 test -z "$as_dir" && as_dir=. 7656 for ac_exec_ext in '' $ac_executable_extensions; do7657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7718 for ac_exec_ext in '' $ac_executable_extensions; do 7719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7658 7720 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" 7659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7660 7722 break 2 7661 7723 fi 7662 7724 done 7663 done 7725 done 7726 IFS=$as_save_IFS 7664 7727 7665 7728 test -z "$ac_cv_path_SH" && ac_cv_path_SH="/bin/sh" … … 7668 7731 fi 7669 7732 SH=$ac_cv_path_SH 7670 7671 7733 if test -n "$SH"; then 7672 echo "$as_me:$LINENO: result: $SH" >&57673 echo "${ECHO_T}$SH" >&6 7674 else 7675 echo "$as_me:$LINENO: result: no" >&57676 echo "${ECHO_T}no" >&6 7677 fi 7678 7679 7680 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 7681 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 7682 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 7683 if test "${enable_maintainer_mode+set}" = set; then 7684 enableval="$enable_maintainer_mode" 7685 USE_MAINTAINER_MODE=$enableval7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5 7735 $as_echo "$SH" >&6; } 7736 else 7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7738 $as_echo "no" >&6; } 7739 fi 7740 7741 7742 7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 7744 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 7745 # Check whether --enable-maintainer-mode was given. 7746 if test "${enable_maintainer_mode+set}" = set; then : 7747 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 7686 7748 else 7687 7749 USE_MAINTAINER_MODE=no 7688 fi; 7689 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 7690 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 7750 fi 7751 7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 7753 $as_echo "$USE_MAINTAINER_MODE" >&6; } 7691 7754 7692 7755 … … 7719 7782 7720 7783 7721 # Check whether --with-gnu-ld or --without-gnu-ld was given. 7722 if test "${with_gnu_ld+set}" = set; then 7723 withval="$with_gnu_ld" 7724 test "$withval" = no || with_gnu_ld=yes 7784 # Check whether --with-gnu-ld was given. 7785 if test "${with_gnu_ld+set}" = set; then : 7786 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 7725 7787 else 7726 7788 with_gnu_ld=no 7727 fi; 7789 fi 7790 7728 7791 ac_prog=ld 7729 7792 if test "$GCC" = yes; then 7730 7793 # Check if gcc -print-prog-name=ld gives a path. 7731 echo "$as_me:$LINENO: checking for ld used by GCC" >&57732 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 7795 $as_echo_n "checking for ld used by GCC... " >&6; } 7733 7796 case $host in 7734 7797 *-*-mingw*) … … 7759 7822 esac 7760 7823 elif test "$with_gnu_ld" = yes; then 7761 echo "$as_me:$LINENO: checking for GNU ld" >&57762 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 7763 else 7764 echo "$as_me:$LINENO: checking for non-GNU ld" >&57765 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 7766 fi 7767 if test "${acl_cv_path_LD+set}" = set; then 7768 echo $ECHO_N "(cached) $ECHO_C" >&67824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 7825 $as_echo_n "checking for GNU ld... " >&6; } 7826 else 7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 7828 $as_echo_n "checking for non-GNU ld... " >&6; } 7829 fi 7830 if test "${acl_cv_path_LD+set}" = set; then : 7831 $as_echo_n "(cached) " >&6 7769 7832 else 7770 7833 if test -z "$LD"; then … … 7792 7855 LD="$acl_cv_path_LD" 7793 7856 if test -n "$LD"; then 7794 echo "$as_me:$LINENO: result: $LD" >&5 7795 echo "${ECHO_T}$LD" >&6 7796 else 7797 echo "$as_me:$LINENO: result: no" >&5 7798 echo "${ECHO_T}no" >&6 7799 fi 7800 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 7801 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 7802 { (exit 1); exit 1; }; } 7803 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 7804 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 7805 if test "${acl_cv_prog_gnu_ld+set}" = set; then 7806 echo $ECHO_N "(cached) $ECHO_C" >&6 7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 7858 $as_echo "$LD" >&6; } 7859 else 7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7861 $as_echo "no" >&6; } 7862 fi 7863 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 7865 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 7866 if test "${acl_cv_prog_gnu_ld+set}" = set; then : 7867 $as_echo_n "(cached) " >&6 7807 7868 else 7808 7869 # I'd rather use --version here, but apparently some GNU ld's only accept -v. … … 7813 7874 fi 7814 7875 fi 7815 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&57816 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 7877 $as_echo "$acl_cv_prog_gnu_ld" >&6; } 7817 7878 with_gnu_ld=$acl_cv_prog_gnu_ld 7818 7879 7819 7880 7820 7881 7821 echo "$as_me:$LINENO: checking for shared library run path origin" >&57822 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 7823 if test "${acl_cv_rpath+set}" = set; then 7824 echo $ECHO_N "(cached) $ECHO_C" >&67882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 7883 $as_echo_n "checking for shared library run path origin... " >&6; } 7884 if test "${acl_cv_rpath+set}" = set; then : 7885 $as_echo_n "(cached) " >&6 7825 7886 else 7826 7887 … … 7832 7893 7833 7894 fi 7834 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&57835 echo "${ECHO_T}$acl_cv_rpath" >&6 7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 7896 $as_echo "$acl_cv_rpath" >&6; } 7836 7897 wl="$acl_cv_wl" 7837 7898 libext="$acl_cv_libext" … … 7843 7904 sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" 7844 7905 sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" 7845 # Check whether --enable-rpath or --disable-rpath was given. 7846 if test "${enable_rpath+set}" = set; then 7847 enableval="$enable_rpath" 7848 : 7906 # Check whether --enable-rpath was given. 7907 if test "${enable_rpath+set}" = set; then : 7908 enableval=$enable_rpath; : 7849 7909 else 7850 7910 enable_rpath=yes 7851 fi; 7911 fi 7912 7852 7913 7853 7914 … … 7871 7932 7872 7933 7873 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. 7874 if test "${with_libiconv_prefix+set}" = set; then 7875 withval="$with_libiconv_prefix" 7876 7934 # Check whether --with-libiconv-prefix was given. 7935 if test "${with_libiconv_prefix+set}" = set; then : 7936 withval=$with_libiconv_prefix; 7877 7937 if test "X$withval" = "Xno"; then 7878 7938 use_additional=no … … 7897 7957 fi 7898 7958 7899 fi; 7959 fi 7960 7900 7961 LIBICONV= 7901 7962 LTLIBICONV= … … 8264 8325 8265 8326 8266 echo "$as_me:$LINENO: checking for iconv" >&58267 echo $ECHO_N "checking for iconv... $ECHO_C" >&6 8268 if test "${am_cv_func_iconv+set}" = set; then 8269 echo $ECHO_N "(cached) $ECHO_C" >&68327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 8328 $as_echo_n "checking for iconv... " >&6; } 8329 if test "${am_cv_func_iconv+set}" = set; then : 8330 $as_echo_n "(cached) " >&6 8270 8331 else 8271 8332 8272 8333 am_cv_func_iconv="no, consider installing GNU libiconv" 8273 8334 am_cv_lib_iconv=no 8274 cat >conftest.$ac_ext <<_ACEOF 8275 /* confdefs.h. */ 8276 _ACEOF 8277 cat confdefs.h >>conftest.$ac_ext 8278 cat >>conftest.$ac_ext <<_ACEOF 8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8279 8336 /* end confdefs.h. */ 8280 8337 #include <stdlib.h> … … 8290 8347 } 8291 8348 _ACEOF 8292 rm -f conftest.$ac_objext conftest$ac_exeext 8293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8294 (eval $ac_link) 2>conftest.er1 8295 ac_status=$? 8296 grep -v '^ *+' conftest.er1 >conftest.err 8297 rm -f conftest.er1 8298 cat conftest.err >&5 8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8300 (exit $ac_status); } && 8301 { ac_try='test -z "$ac_c_werror_flag" 8302 || test ! -s conftest.err' 8303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8304 (eval $ac_try) 2>&5 8305 ac_status=$? 8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8307 (exit $ac_status); }; } && 8308 { ac_try='test -s conftest$ac_exeext' 8309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8310 (eval $ac_try) 2>&5 8311 ac_status=$? 8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8313 (exit $ac_status); }; }; then 8349 if ac_fn_c_try_link "$LINENO"; then : 8314 8350 am_cv_func_iconv=yes 8315 else 8316 echo "$as_me: failed program was:" >&5 8317 sed 's/^/| /' conftest.$ac_ext >&5 8318 8319 fi 8320 rm -f conftest.err conftest.$ac_objext \ 8321 conftest$ac_exeext conftest.$ac_ext 8351 fi 8352 rm -f core conftest.err conftest.$ac_objext \ 8353 conftest$ac_exeext conftest.$ac_ext 8322 8354 if test "$am_cv_func_iconv" != yes; then 8323 8355 am_save_LIBS="$LIBS" 8324 8356 LIBS="$LIBS $LIBICONV" 8325 cat >conftest.$ac_ext <<_ACEOF 8326 /* confdefs.h. */ 8327 _ACEOF 8328 cat confdefs.h >>conftest.$ac_ext 8329 cat >>conftest.$ac_ext <<_ACEOF 8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8330 8358 /* end confdefs.h. */ 8331 8359 #include <stdlib.h> … … 8341 8369 } 8342 8370 _ACEOF 8343 rm -f conftest.$ac_objext conftest$ac_exeext 8344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8345 (eval $ac_link) 2>conftest.er1 8346 ac_status=$? 8347 grep -v '^ *+' conftest.er1 >conftest.err 8348 rm -f conftest.er1 8349 cat conftest.err >&5 8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8351 (exit $ac_status); } && 8352 { ac_try='test -z "$ac_c_werror_flag" 8353 || test ! -s conftest.err' 8354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8355 (eval $ac_try) 2>&5 8356 ac_status=$? 8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8358 (exit $ac_status); }; } && 8359 { ac_try='test -s conftest$ac_exeext' 8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8361 (eval $ac_try) 2>&5 8362 ac_status=$? 8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8364 (exit $ac_status); }; }; then 8371 if ac_fn_c_try_link "$LINENO"; then : 8365 8372 am_cv_lib_iconv=yes 8366 8373 am_cv_func_iconv=yes 8367 else 8368 echo "$as_me: failed program was:" >&5 8369 sed 's/^/| /' conftest.$ac_ext >&5 8370 8371 fi 8372 rm -f conftest.err conftest.$ac_objext \ 8373 conftest$ac_exeext conftest.$ac_ext 8374 fi 8375 rm -f core conftest.err conftest.$ac_objext \ 8376 conftest$ac_exeext conftest.$ac_ext 8374 8377 LIBS="$am_save_LIBS" 8375 8378 fi 8376 8379 8377 8380 fi 8378 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&58379 echo "${ECHO_T}$am_cv_func_iconv" >&6 8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 8382 $as_echo "$am_cv_func_iconv" >&6; } 8380 8383 if test "$am_cv_func_iconv" = yes; then 8381 8384 8382 cat >>confdefs.h <<\_ACEOF 8383 #define HAVE_ICONV 1 8384 _ACEOF 8385 $as_echo "#define HAVE_ICONV 1" >>confdefs.h 8385 8386 8386 8387 fi 8387 8388 if test "$am_cv_lib_iconv" = yes; then 8388 echo "$as_me:$LINENO: checking how to link with libiconv" >&58389 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 8390 echo "$as_me:$LINENO: result: $LIBICONV" >&58391 echo "${ECHO_T}$LIBICONV" >&6 8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 8390 $as_echo_n "checking how to link with libiconv... " >&6; } 8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 8392 $as_echo "$LIBICONV" >&6; } 8392 8393 else 8393 8394 CPPFLAGS="$am_save_CPPFLAGS" … … 8399 8400 8400 8401 if test "$am_cv_func_iconv" = yes; then 8401 echo "$as_me:$LINENO: checking for iconv declaration" >&5 8402 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 8403 if test "${am_cv_proto_iconv+set}" = set; then 8404 echo $ECHO_N "(cached) $ECHO_C" >&6 8405 else 8406 8407 cat >conftest.$ac_ext <<_ACEOF 8408 /* confdefs.h. */ 8409 _ACEOF 8410 cat confdefs.h >>conftest.$ac_ext 8411 cat >>conftest.$ac_ext <<_ACEOF 8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 8403 $as_echo_n "checking for iconv declaration... " >&6; } 8404 if test "${am_cv_proto_iconv+set}" = set; then : 8405 $as_echo_n "(cached) " >&6 8406 else 8407 8408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8412 8409 /* end confdefs.h. */ 8413 8410 … … 8432 8429 } 8433 8430 _ACEOF 8434 rm -f conftest.$ac_objext 8435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8436 (eval $ac_compile) 2>conftest.er1 8437 ac_status=$? 8438 grep -v '^ *+' conftest.er1 >conftest.err 8439 rm -f conftest.er1 8440 cat conftest.err >&5 8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8442 (exit $ac_status); } && 8443 { ac_try='test -z "$ac_c_werror_flag" 8444 || test ! -s conftest.err' 8445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8446 (eval $ac_try) 2>&5 8447 ac_status=$? 8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8449 (exit $ac_status); }; } && 8450 { ac_try='test -s conftest.$ac_objext' 8451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8452 (eval $ac_try) 2>&5 8453 ac_status=$? 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8455 (exit $ac_status); }; }; then 8431 if ac_fn_c_try_compile "$LINENO"; then : 8456 8432 am_cv_proto_iconv_arg1="" 8457 8433 else 8458 echo "$as_me: failed program was:" >&5 8459 sed 's/^/| /' conftest.$ac_ext >&5 8460 8461 am_cv_proto_iconv_arg1="const" 8462 fi 8463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8434 am_cv_proto_iconv_arg1="const" 8435 fi 8436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8464 8437 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 8465 8438 fi 8466 8439 8467 8440 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 8468 echo "$as_me:$LINENO: result: ${ac_t:-8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- 8469 8442 }$am_cv_proto_iconv" >&5 8470 echo "${ECHO_T}${ac_t:-8471 }$am_cv_proto_iconv" >&6 8443 $as_echo "${ac_t:- 8444 }$am_cv_proto_iconv" >&6; } 8472 8445 8473 8446 cat >>confdefs.h <<_ACEOF … … 8483 8456 #ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz])) 8484 8457 8485 8486 8458 for ac_func in vsnprintf 8487 do 8488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8489 echo "$as_me:$LINENO: checking for $ac_func" >&5 8490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8491 if eval "test \"\${$as_ac_var+set}\" = set"; then 8492 echo $ECHO_N "(cached) $ECHO_C" >&6 8493 else 8494 cat >conftest.$ac_ext <<_ACEOF 8495 /* confdefs.h. */ 8459 do : 8460 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" 8461 if test "x$ac_cv_func_vsnprintf" = x""yes; then : 8462 cat >>confdefs.h <<_ACEOF 8463 #define HAVE_VSNPRINTF 1 8496 8464 _ACEOF 8497 cat confdefs.h >>conftest.$ac_ext8498 cat >>conftest.$ac_ext <<_ACEOF8499 /* end confdefs.h. */8500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.8501 For example, HP-UX 11i <limits.h> declares gettimeofday. */8502 #define $ac_func innocuous_$ac_func8503 8504 /* System header to define __stub macros and hopefully few prototypes,8505 which can conflict with char $ac_func (); below.8506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since8507 <limits.h> exists even on freestanding compilers. */8508 8509 #ifdef __STDC__8510 # include <limits.h>8511 #else8512 # include <assert.h>8513 #endif8514 8515 #undef $ac_func8516 8517 /* Override any gcc2 internal prototype to avoid an error. */8518 #ifdef __cplusplus8519 extern "C"8520 {8521 #endif8522 /* We use char because int might match the return type of a gcc28523 builtin and then its argument prototype would still apply. */8524 char $ac_func ();8525 /* The GNU C library defines this for functions which it implements8526 to always fail with ENOSYS. Some functions are actually named8527 something starting with __ and the normal name is an alias. */8528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8529 choke me8530 #else8531 char (*f) () = $ac_func;8532 #endif8533 #ifdef __cplusplus8534 }8535 #endif8536 8537 int8538 main ()8539 {8540 return f != $ac_func;8541 ;8542 return 0;8543 }8544 _ACEOF8545 rm -f conftest.$ac_objext conftest$ac_exeext8546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&58547 (eval $ac_link) 2>conftest.er18548 ac_status=$?8549 grep -v '^ *+' conftest.er1 >conftest.err8550 rm -f conftest.er18551 cat conftest.err >&58552 echo "$as_me:$LINENO: \$? = $ac_status" >&58553 (exit $ac_status); } &&8554 { ac_try='test -z "$ac_c_werror_flag"8555 || test ! -s conftest.err'8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58557 (eval $ac_try) 2>&58558 ac_status=$?8559 echo "$as_me:$LINENO: \$? = $ac_status" >&58560 (exit $ac_status); }; } &&8561 { ac_try='test -s conftest$ac_exeext'8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58563 (eval $ac_try) 2>&58564 ac_status=$?8565 echo "$as_me:$LINENO: \$? = $ac_status" >&58566 (exit $ac_status); }; }; then8567 eval "$as_ac_var=yes"8568 else8569 echo "$as_me: failed program was:" >&58570 sed 's/^/| /' conftest.$ac_ext >&58571 8572 eval "$as_ac_var=no"8573 fi8574 rm -f conftest.err conftest.$ac_objext \8575 conftest$ac_exeext conftest.$ac_ext8576 fi8577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&58578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&68579 if test `eval echo '${'$as_ac_var'}'` = yes; then8580 cat >>confdefs.h <<_ACEOF8581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 18582 _ACEOF8583 8465 8584 8466 fi … … 8586 8468 8587 8469 8588 ac_config_files="$ac_config_files Makefile" 8470 ac_config_files="$ac_config_files Makefile" 8471 8589 8472 cat >confcache <<\_ACEOF 8590 8473 # This file is a shell script that caches the results of configure … … 8605 8488 # The following way of writing the cache mishandles newlines in values, 8606 8489 # but we know of no workaround that is simple, portable, and efficient. 8607 # So, don't put newlines in cache variables' values.8490 # So, we kill variables containing newlines. 8608 8491 # Ultrix sh set writes to stderr and can't be redirected directly, 8609 8492 # and sets the high bit in the cache file unless we assign to the vars. 8610 { 8493 ( 8494 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8495 eval ac_val=\$$ac_var 8496 case $ac_val in #( 8497 *${as_nl}*) 8498 case $ac_var in #( 8499 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 8500 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8501 esac 8502 case $ac_var in #( 8503 _ | IFS | as_nl) ;; #( 8504 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8505 *) { eval $ac_var=; unset $ac_var;} ;; 8506 esac ;; 8507 esac 8508 done 8509 8611 8510 (set) 2>&1 | 8612 case `(ac_space=' '; set | grep ac_space) 2>&1` in8613 * ac_space=\ *)8614 # `set' does not quote correctly, so add quotes (double-quote8615 # substitution turns \\\\ into \\, and sed turns \\ into \ ).8511 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8512 *${as_nl}ac_space=\ *) 8513 # `set' does not quote correctly, so add quotes: double-quote 8514 # substitution turns \\\\ into \\, and sed turns \\ into \. 8616 8515 sed -n \ 8617 8516 "s/'/'\\\\''/g; 8618 8517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8619 ;; 8518 ;; #( 8620 8519 *) 8621 8520 # `set' quotes correctly as required by POSIX, so do not add quotes. 8622 sed -n \ 8623 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8624 8522 ;; 8625 esac; 8626 } | 8523 esac | 8524 sort 8525 ) | 8627 8526 sed ' 8527 /^ac_cv_env_/b end 8628 8528 t clear 8629 : 8529 :clear 8630 8530 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8631 8531 t end 8632 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8633 : end' >>confcache 8634 if diff $cache_file confcache >/dev/null 2>&1; then :; else 8635 if test -w $cache_file; then 8636 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 8532 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8533 :end' >>confcache 8534 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8535 if test -w "$cache_file"; then 8536 test "x$cache_file" != "x/dev/null" && 8537 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8538 $as_echo "$as_me: updating cache $cache_file" >&6;} 8637 8539 cat confcache >$cache_file 8638 8540 else 8639 echo "not updating unwritable cache $cache_file" 8541 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8542 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8640 8543 fi 8641 8544 fi … … 8645 8548 # Let make expand exec_prefix. 8646 8549 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8647 8648 # VPATH may cause trouble with some makes, so we remove $(srcdir),8649 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and8650 # trailing colons and then remove the whole line if VPATH becomes empty8651 # (actually we leave an empty line to preserve line numbers).8652 if test "x$srcdir" = x.; then8653 ac_vpsub='/^[ ]*VPATH[ ]*=/{8654 s/:*\$(srcdir):*/:/;8655 s/:*\${srcdir}:*/:/;8656 s/:*@srcdir@:*/:/;8657 s/^\([^=]*=[ ]*\):*/\1/;8658 s/:*$//;8659 s/^[^=]*=[ ]*$//;8660 }'8661 fi8662 8550 8663 8551 DEFS=-DHAVE_CONFIG_H … … 8667 8555 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8668 8556 # 1. Remove the extension, and $U if already installed. 8669 ac_i=`echo "$ac_i" | 8670 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 8671 # 2. Add them. 8672 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 8673 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 8557 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8558 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 8559 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8560 # will be set to the directory where LIBOBJS objects are built. 8561 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8562 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 8674 8563 done 8675 8564 LIBOBJS=$ac_libobjs … … 8680 8569 8681 8570 : ${CONFIG_STATUS=./config.status} 8571 ac_write_fail=0 8682 8572 ac_clean_files_save=$ac_clean_files 8683 8573 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8684 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8685 echo "$as_me: creating $CONFIG_STATUS" >&6;} 8686 cat >$CONFIG_STATUS <<_ACEOF 8574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8575 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8576 as_write_fail=0 8577 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8687 8578 #! $SHELL 8688 8579 # Generated by $as_me. … … 8694 8585 ac_cs_recheck=false 8695 8586 ac_cs_silent=false 8587 8696 8588 SHELL=\${CONFIG_SHELL-$SHELL} 8697 _ACEOF 8698 8699 cat >>$CONFIG_STATUS <<\_ACEOF 8700 ## --------------------- ## 8701 ## M4sh Initialization. ## 8702 ## --------------------- ## 8703 8704 # Be Bourne compatible 8705 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8589 export SHELL 8590 _ASEOF 8591 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8592 ## -------------------- ## 8593 ## M4sh Initialization. ## 8594 ## -------------------- ## 8595 8596 # Be more Bourne compatible 8597 DUALCASE=1; export DUALCASE # for MKS sh 8598 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 8706 8599 emulate sh 8707 8600 NULLCMD=: 8708 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which8601 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8709 8602 # is contrary to our usage. Disable this feature. 8710 8603 alias -g '${1+"$@"}'='"$@"' 8711 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8712 set -o posix 8713 fi 8714 DUALCASE=1; export DUALCASE # for MKS sh 8715 8716 # Support unset when possible. 8717 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8718 as_unset=unset 8719 else 8720 as_unset=false 8721 fi 8722 8723 8724 # Work around bugs in pre-3.0 UWIN ksh. 8725 $as_unset ENV MAIL MAILPATH 8604 setopt NO_GLOB_SUBST 8605 else 8606 case `(set -o) 2>/dev/null` in #( 8607 *posix*) : 8608 set -o posix ;; #( 8609 *) : 8610 ;; 8611 esac 8612 fi 8613 8614 8615 as_nl=' 8616 ' 8617 export as_nl 8618 # Printing a long string crashes Solaris 7 /usr/bin/printf. 8619 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 8620 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8621 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8622 # Prefer a ksh shell builtin over an external printf program on Solaris, 8623 # but without wasting forks for bash or zsh. 8624 if test -z "$BASH_VERSION$ZSH_VERSION" \ 8625 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8626 as_echo='print -r --' 8627 as_echo_n='print -rn --' 8628 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8629 as_echo='printf %s\n' 8630 as_echo_n='printf %s' 8631 else 8632 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 8633 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 8634 as_echo_n='/usr/ucb/echo -n' 8635 else 8636 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 8637 as_echo_n_body='eval 8638 arg=$1; 8639 case $arg in #( 8640 *"$as_nl"*) 8641 expr "X$arg" : "X\\(.*\\)$as_nl"; 8642 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8643 esac; 8644 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8645 ' 8646 export as_echo_n_body 8647 as_echo_n='sh -c $as_echo_n_body as_echo' 8648 fi 8649 export as_echo_body 8650 as_echo='sh -c $as_echo_body as_echo' 8651 fi 8652 8653 # The user is always right. 8654 if test "${PATH_SEPARATOR+set}" != set; then 8655 PATH_SEPARATOR=: 8656 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8657 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8658 PATH_SEPARATOR=';' 8659 } 8660 fi 8661 8662 8663 # IFS 8664 # We need space, tab and new line, in precisely that order. Quoting is 8665 # there to prevent editors from complaining about space-tab. 8666 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 8667 # splitting by setting IFS to empty value.) 8668 IFS=" "" $as_nl" 8669 8670 # Find who we are. Look in the path if we contain no directory separator. 8671 case $0 in #(( 8672 *[\\/]* ) as_myself=$0 ;; 8673 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8674 for as_dir in $PATH 8675 do 8676 IFS=$as_save_IFS 8677 test -z "$as_dir" && as_dir=. 8678 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8679 done 8680 IFS=$as_save_IFS 8681 8682 ;; 8683 esac 8684 # We did not find ourselves, most probably we were run as `sh COMMAND' 8685 # in which case we are not to be found in the path. 8686 if test "x$as_myself" = x; then 8687 as_myself=$0 8688 fi 8689 if test ! -f "$as_myself"; then 8690 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8691 exit 1 8692 fi 8693 8694 # Unset variables that we do not need and which cause bugs (e.g. in 8695 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8696 # suppresses any "Segmentation fault" message there. '((' could 8697 # trigger a bug in pdksh 5.2.14. 8698 for as_var in BASH_ENV ENV MAIL MAILPATH 8699 do eval test x\${$as_var+set} = xset \ 8700 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8701 done 8726 8702 PS1='$ ' 8727 8703 PS2='> ' … … 8729 8705 8730 8706 # NLS nuisances. 8731 for as_var in \ 8732 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8733 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8734 LC_TELEPHONE LC_TIME 8735 do 8736 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8737 eval $as_var=C; export $as_var 8738 else 8739 $as_unset $as_var 8707 LC_ALL=C 8708 export LC_ALL 8709 LANGUAGE=C 8710 export LANGUAGE 8711 8712 # CDPATH. 8713 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8714 8715 8716 # as_fn_error ERROR [LINENO LOG_FD] 8717 # --------------------------------- 8718 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8719 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8720 # script with status $?, using 1 if that was 0. 8721 as_fn_error () 8722 { 8723 as_status=$?; test $as_status -eq 0 && as_status=1 8724 if test "$3"; then 8725 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8726 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 8740 8727 fi 8741 done 8742 8743 # Required to use basename. 8744 if expr a : '\(a\)' >/dev/null 2>&1; then 8728 $as_echo "$as_me: error: $1" >&2 8729 as_fn_exit $as_status 8730 } # as_fn_error 8731 8732 8733 # as_fn_set_status STATUS 8734 # ----------------------- 8735 # Set $? to STATUS, without forking. 8736 as_fn_set_status () 8737 { 8738 return $1 8739 } # as_fn_set_status 8740 8741 # as_fn_exit STATUS 8742 # ----------------- 8743 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8744 as_fn_exit () 8745 { 8746 set +e 8747 as_fn_set_status $1 8748 exit $1 8749 } # as_fn_exit 8750 8751 # as_fn_unset VAR 8752 # --------------- 8753 # Portably unset VAR. 8754 as_fn_unset () 8755 { 8756 { eval $1=; unset $1;} 8757 } 8758 as_unset=as_fn_unset 8759 # as_fn_append VAR VALUE 8760 # ---------------------- 8761 # Append the text in VALUE to the end of the definition contained in VAR. Take 8762 # advantage of any shell optimizations that allow amortized linear growth over 8763 # repeated appends, instead of the typical quadratic growth present in naive 8764 # implementations. 8765 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8766 eval 'as_fn_append () 8767 { 8768 eval $1+=\$2 8769 }' 8770 else 8771 as_fn_append () 8772 { 8773 eval $1=\$$1\$2 8774 } 8775 fi # as_fn_append 8776 8777 # as_fn_arith ARG... 8778 # ------------------ 8779 # Perform arithmetic evaluation on the ARGs, and store the result in the 8780 # global $as_val. Take advantage of shells that can avoid forks. The arguments 8781 # must be portable across $(()) and expr. 8782 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8783 eval 'as_fn_arith () 8784 { 8785 as_val=$(( $* )) 8786 }' 8787 else 8788 as_fn_arith () 8789 { 8790 as_val=`expr "$@" || test $? -eq 1` 8791 } 8792 fi # as_fn_arith 8793 8794 8795 if expr a : '\(a\)' >/dev/null 2>&1 && 8796 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8745 8797 as_expr=expr 8746 8798 else … … 8748 8800 fi 8749 8801 8750 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then8802 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8751 8803 as_basename=basename 8752 8804 else … … 8754 8806 fi 8755 8807 8756 8757 # Name of the executable. 8758 as_me=`$as_basename "$0" || 8808 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8809 as_dirname=dirname 8810 else 8811 as_dirname=false 8812 fi 8813 8814 as_me=`$as_basename -- "$0" || 8759 8815 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8760 8816 X"$0" : 'X\(//\)$' \| \ 8761 X"$0" : 'X\(/\)$' \| \ 8762 . : '\(.\)' 2>/dev/null || 8763 echo X/"$0" | 8764 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8765 /^X\/\(\/\/\)$/{ s//\1/; q; } 8766 /^X\/\(\/\).*/{ s//\1/; q; } 8767 s/.*/./; q'` 8768 8769 8770 # PATH needs CR, and LINENO needs CR and PATH. 8817 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8818 $as_echo X/"$0" | 8819 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8820 s//\1/ 8821 q 8822 } 8823 /^X\/\(\/\/\)$/{ 8824 s//\1/ 8825 q 8826 } 8827 /^X\/\(\/\).*/{ 8828 s//\1/ 8829 q 8830 } 8831 s/.*/./; q'` 8832 8771 8833 # Avoid depending upon Character Ranges. 8772 8834 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8776 8838 as_cr_alnum=$as_cr_Letters$as_cr_digits 8777 8839 8778 # The user is always right. 8779 if test "${PATH_SEPARATOR+set}" != set; then 8780 echo "#! /bin/sh" >conf$$.sh 8781 echo "exit 0" >>conf$$.sh 8782 chmod +x conf$$.sh 8783 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8784 PATH_SEPARATOR=';' 8840 ECHO_C= ECHO_N= ECHO_T= 8841 case `echo -n x` in #((((( 8842 -n*) 8843 case `echo 'xy\c'` in 8844 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8845 xy) ECHO_C='\c';; 8846 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8847 ECHO_T=' ';; 8848 esac;; 8849 *) 8850 ECHO_N='-n';; 8851 esac 8852 8853 rm -f conf$$ conf$$.exe conf$$.file 8854 if test -d conf$$.dir; then 8855 rm -f conf$$.dir/conf$$.file 8856 else 8857 rm -f conf$$.dir 8858 mkdir conf$$.dir 2>/dev/null 8859 fi 8860 if (echo >conf$$.file) 2>/dev/null; then 8861 if ln -s conf$$.file conf$$ 2>/dev/null; then 8862 as_ln_s='ln -s' 8863 # ... but there are two gotchas: 8864 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8865 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8866 # In both cases, we have to default to `cp -p'. 8867 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8868 as_ln_s='cp -p' 8869 elif ln conf$$.file conf$$ 2>/dev/null; then 8870 as_ln_s=ln 8785 8871 else 8786 PATH_SEPARATOR=:8872 as_ln_s='cp -p' 8787 8873 fi 8788 rm -f conf$$.sh 8789 fi 8790 8791 8792 as_lineno_1=$LINENO 8793 as_lineno_2=$LINENO 8794 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8795 test "x$as_lineno_1" != "x$as_lineno_2" && 8796 test "x$as_lineno_3" = "x$as_lineno_2" || { 8797 # Find who we are. Look in the path if we contain no path at all 8798 # relative or not. 8799 case $0 in 8800 *[\\/]* ) as_myself=$0 ;; 8801 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8802 for as_dir in $PATH 8803 do 8804 IFS=$as_save_IFS 8805 test -z "$as_dir" && as_dir=. 8806 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8807 done 8808 8809 ;; 8874 else 8875 as_ln_s='cp -p' 8876 fi 8877 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8878 rmdir conf$$.dir 2>/dev/null 8879 8880 8881 # as_fn_mkdir_p 8882 # ------------- 8883 # Create "$as_dir" as a directory, including parents if necessary. 8884 as_fn_mkdir_p () 8885 { 8886 8887 case $as_dir in #( 8888 -*) as_dir=./$as_dir;; 8810 8889 esac 8811 # We did not find ourselves, most probably we were run as `sh COMMAND' 8812 # in which case we are not to be found in the path. 8813 if test "x$as_myself" = x; then 8814 as_myself=$0 8815 fi 8816 if test ! -f "$as_myself"; then 8817 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8818 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8819 { (exit 1); exit 1; }; } 8820 fi 8821 case $CONFIG_SHELL in 8822 '') 8823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8824 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8825 do 8826 IFS=$as_save_IFS 8827 test -z "$as_dir" && as_dir=. 8828 for as_base in sh bash ksh sh5; do 8829 case $as_dir in 8830 /*) 8831 if ("$as_dir/$as_base" -c ' 8832 as_lineno_1=$LINENO 8833 as_lineno_2=$LINENO 8834 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8835 test "x$as_lineno_1" != "x$as_lineno_2" && 8836 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8837 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8838 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8839 CONFIG_SHELL=$as_dir/$as_base 8840 export CONFIG_SHELL 8841 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8842 fi;; 8843 esac 8844 done 8845 done 8846 ;; 8847 esac 8848 8849 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8850 # uniformly replaced by the line number. The first 'sed' inserts a 8851 # line-number line before each line; the second 'sed' does the real 8852 # work. The second script uses 'N' to pair each line-number line 8853 # with the numbered line, and appends trailing '-' during 8854 # substitution so that $LINENO is not a special case at line end. 8855 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8856 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8857 sed '=' <$as_myself | 8858 sed ' 8859 N 8860 s,$,-, 8861 : loop 8862 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8863 t loop 8864 s,-$,, 8865 s,^['$as_cr_digits']*\n,, 8866 ' >$as_me.lineno && 8867 chmod +x $as_me.lineno || 8868 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8869 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8870 { (exit 1); exit 1; }; } 8871 8872 # Don't try to exec as it changes $[0], causing all sort of problems 8873 # (the dirname of $[0] is not the place where we might find the 8874 # original and so on. Autoconf is especially sensible to this). 8875 . ./$as_me.lineno 8876 # Exit status is that of the last command. 8877 exit 8878 } 8879 8880 8881 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8882 *c*,-n*) ECHO_N= ECHO_C=' 8883 ' ECHO_T=' ' ;; 8884 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8885 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8886 esac 8887 8888 if expr a : '\(a\)' >/dev/null 2>&1; then 8889 as_expr=expr 8890 else 8891 as_expr=false 8892 fi 8893 8894 rm -f conf$$ conf$$.exe conf$$.file 8895 echo >conf$$.file 8896 if ln -s conf$$.file conf$$ 2>/dev/null; then 8897 # We could just check for DJGPP; but this test a) works b) is more generic 8898 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8899 if test -f conf$$.exe; then 8900 # Don't use ln at all; we don't have any links 8901 as_ln_s='cp -p' 8902 else 8903 as_ln_s='ln -s' 8904 fi 8905 elif ln conf$$.file conf$$ 2>/dev/null; then 8906 as_ln_s=ln 8907 else 8908 as_ln_s='cp -p' 8909 fi 8910 rm -f conf$$ conf$$.exe conf$$.file 8911 8890 test -d "$as_dir" || eval $as_mkdir_p || { 8891 as_dirs= 8892 while :; do 8893 case $as_dir in #( 8894 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8895 *) as_qdir=$as_dir;; 8896 esac 8897 as_dirs="'$as_qdir' $as_dirs" 8898 as_dir=`$as_dirname -- "$as_dir" || 8899 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8900 X"$as_dir" : 'X\(//\)[^/]' \| \ 8901 X"$as_dir" : 'X\(//\)$' \| \ 8902 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8903 $as_echo X"$as_dir" | 8904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8905 s//\1/ 8906 q 8907 } 8908 /^X\(\/\/\)[^/].*/{ 8909 s//\1/ 8910 q 8911 } 8912 /^X\(\/\/\)$/{ 8913 s//\1/ 8914 q 8915 } 8916 /^X\(\/\).*/{ 8917 s//\1/ 8918 q 8919 } 8920 s/.*/./; q'` 8921 test -d "$as_dir" && break 8922 done 8923 test -z "$as_dirs" || eval "mkdir $as_dirs" 8924 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 8925 8926 8927 } # as_fn_mkdir_p 8912 8928 if mkdir -p . 2>/dev/null; then 8913 as_mkdir_p= :8929 as_mkdir_p='mkdir -p "$as_dir"' 8914 8930 else 8915 8931 test -d ./-p && rmdir ./-p … … 8917 8933 fi 8918 8934 8919 as_executable_p="test -f" 8935 if test -x / >/dev/null 2>&1; then 8936 as_test_x='test -x' 8937 else 8938 if ls -dL / >/dev/null 2>&1; then 8939 as_ls_L_option=L 8940 else 8941 as_ls_L_option= 8942 fi 8943 as_test_x=' 8944 eval sh -c '\'' 8945 if test -d "$1"; then 8946 test -d "$1/."; 8947 else 8948 case $1 in #( 8949 -*)set "./$1";; 8950 esac; 8951 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 8952 ???[sx]*):;;*)false;;esac;fi 8953 '\'' sh 8954 ' 8955 fi 8956 as_executable_p=$as_test_x 8920 8957 8921 8958 # Sed expression to map a string onto a valid CPP name. … … 8926 8963 8927 8964 8928 # IFS8929 # We need space, tab and new line, in precisely that order.8930 as_nl='8931 '8932 IFS=" $as_nl"8933 8934 # CDPATH.8935 $as_unset CDPATH8936 8937 8965 exec 6>&1 8938 8939 # Open the log real soon, to keep \$[0] and so on meaningful, and to 8966 ## ----------------------------------- ## 8967 ## Main body of $CONFIG_STATUS script. ## 8968 ## ----------------------------------- ## 8969 _ASEOF 8970 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8971 8972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8973 # Save the log message, to keep $0 and so on meaningful, and to 8940 8974 # report actual input values of CONFIG_FILES etc. instead of their 8941 # values after options handling. Logging --version etc. is OK. 8975 # values after options handling. 8976 ac_log=" 8977 This file was extended by $as_me, which was 8978 generated by GNU Autoconf 2.65. Invocation command line was 8979 8980 CONFIG_FILES = $CONFIG_FILES 8981 CONFIG_HEADERS = $CONFIG_HEADERS 8982 CONFIG_LINKS = $CONFIG_LINKS 8983 CONFIG_COMMANDS = $CONFIG_COMMANDS 8984 $ $0 $@ 8985 8986 on `(hostname || uname -n) 2>/dev/null | sed 1q` 8987 " 8988 8989 _ACEOF 8990 8991 case $ac_config_files in *" 8992 "*) set x $ac_config_files; shift; ac_config_files=$*;; 8993 esac 8994 8995 case $ac_config_headers in *" 8996 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 8997 esac 8998 8999 9000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9001 # Files that config.status was made for. 9002 config_files="$ac_config_files" 9003 config_headers="$ac_config_headers" 9004 9005 _ACEOF 9006 9007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9008 ac_cs_usage="\ 9009 \`$as_me' instantiates files and other configuration actions 9010 from templates according to the current configuration. Unless the files 9011 and actions are specified as TAGs, all are instantiated by default. 9012 9013 Usage: $0 [OPTION]... [TAG]... 9014 9015 -h, --help print this help, then exit 9016 -V, --version print version number and configuration settings, then exit 9017 --config print configuration, then exit 9018 -q, --quiet, --silent 9019 do not print progress messages 9020 -d, --debug don't remove temporary files 9021 --recheck update $as_me by reconfiguring in the same conditions 9022 --file=FILE[:TEMPLATE] 9023 instantiate the configuration file FILE 9024 --header=FILE[:TEMPLATE] 9025 instantiate the configuration header FILE 9026 9027 Configuration files: 9028 $config_files 9029 9030 Configuration headers: 9031 $config_headers 9032 9033 Report bugs to the package provider." 9034 9035 _ACEOF 9036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9037 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9038 ac_cs_version="\\ 9039 config.status 9040 configured by $0, generated by GNU Autoconf 2.65, 9041 with options \\"\$ac_cs_config\\" 9042 9043 Copyright (C) 2009 Free Software Foundation, Inc. 9044 This config.status script is free software; the Free Software Foundation 9045 gives unlimited permission to copy, distribute and modify it." 9046 9047 ac_pwd='$ac_pwd' 9048 srcdir='$srcdir' 9049 test -n "\$AWK" || AWK=awk 9050 _ACEOF 9051 9052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9053 # The default lists apply if the user does not specify any file. 9054 ac_need_defaults=: 9055 while test $# != 0 9056 do 9057 case $1 in 9058 --*=*) 9059 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9060 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9061 ac_shift=: 9062 ;; 9063 *) 9064 ac_option=$1 9065 ac_optarg=$2 9066 ac_shift=shift 9067 ;; 9068 esac 9069 9070 case $ac_option in 9071 # Handling of the options. 9072 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9073 ac_cs_recheck=: ;; 9074 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9075 $as_echo "$ac_cs_version"; exit ;; 9076 --config | --confi | --conf | --con | --co | --c ) 9077 $as_echo "$ac_cs_config"; exit ;; 9078 --debug | --debu | --deb | --de | --d | -d ) 9079 debug=: ;; 9080 --file | --fil | --fi | --f ) 9081 $ac_shift 9082 case $ac_optarg in 9083 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9084 esac 9085 as_fn_append CONFIG_FILES " '$ac_optarg'" 9086 ac_need_defaults=false;; 9087 --header | --heade | --head | --hea ) 9088 $ac_shift 9089 case $ac_optarg in 9090 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9091 esac 9092 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 9093 ac_need_defaults=false;; 9094 --he | --h) 9095 # Conflict between --help and --header 9096 as_fn_error "ambiguous option: \`$1' 9097 Try \`$0 --help' for more information.";; 9098 --help | --hel | -h ) 9099 $as_echo "$ac_cs_usage"; exit ;; 9100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9101 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9102 ac_cs_silent=: ;; 9103 9104 # This is an error. 9105 -*) as_fn_error "unrecognized option: \`$1' 9106 Try \`$0 --help' for more information." ;; 9107 9108 *) as_fn_append ac_config_targets " $1" 9109 ac_need_defaults=false ;; 9110 9111 esac 9112 shift 9113 done 9114 9115 ac_configure_extra_args= 9116 9117 if $ac_cs_silent; then 9118 exec 6>/dev/null 9119 ac_configure_extra_args="$ac_configure_extra_args --silent" 9120 fi 9121 9122 _ACEOF 9123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9124 if \$ac_cs_recheck; then 9125 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9126 shift 9127 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9128 CONFIG_SHELL='$SHELL' 9129 export CONFIG_SHELL 9130 exec "\$@" 9131 fi 9132 9133 _ACEOF 9134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8942 9135 exec 5>>config.log 8943 9136 { … … 8946 9139 ## Running $as_me. ## 8947 9140 _ASBOX 9141 $as_echo "$ac_log" 8948 9142 } >&5 8949 cat >&5 <<_CSEOF 8950 8951 This file was extended by $as_me, which was 8952 generated by GNU Autoconf 2.59. Invocation command line was 8953 8954 CONFIG_FILES = $CONFIG_FILES 8955 CONFIG_HEADERS = $CONFIG_HEADERS 8956 CONFIG_LINKS = $CONFIG_LINKS 8957 CONFIG_COMMANDS = $CONFIG_COMMANDS 8958 $ $0 $@ 8959 8960 _CSEOF 8961 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8962 echo >&5 9143 8963 9144 _ACEOF 8964 8965 # Files that config.status was made for. 8966 if test -n "$ac_config_files"; then 8967 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8968 fi 8969 8970 if test -n "$ac_config_headers"; then 8971 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8972 fi 8973 8974 if test -n "$ac_config_links"; then 8975 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8976 fi 8977 8978 if test -n "$ac_config_commands"; then 8979 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8980 fi 8981 8982 cat >>$CONFIG_STATUS <<\_ACEOF 8983 8984 ac_cs_usage="\ 8985 \`$as_me' instantiates files from templates according to the 8986 current configuration. 8987 8988 Usage: $0 [OPTIONS] [FILE]... 8989 8990 -h, --help print this help, then exit 8991 -V, --version print version number, then exit 8992 -q, --quiet do not print progress messages 8993 -d, --debug don't remove temporary files 8994 --recheck update $as_me by reconfiguring in the same conditions 8995 --file=FILE[:TEMPLATE] 8996 instantiate the configuration file FILE 8997 --header=FILE[:TEMPLATE] 8998 instantiate the configuration header FILE 8999 9000 Configuration files: 9001 $config_files 9002 9003 Configuration headers: 9004 $config_headers 9005 9006 Report bugs to <[email protected]>." 9145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9007 9146 _ACEOF 9008 9147 9009 cat >>$CONFIG_STATUS <<_ACEOF 9010 ac_cs_version="\\ 9011 config.status 9012 configured by $0, generated by GNU Autoconf 2.59, 9013 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 9014 9015 Copyright (C) 2003 Free Software Foundation, Inc. 9016 This config.status script is free software; the Free Software Foundation 9017 gives unlimited permission to copy, distribute and modify it." 9018 srcdir=$srcdir 9019 _ACEOF 9020 9021 cat >>$CONFIG_STATUS <<\_ACEOF 9022 # If no file are specified by the user, then we need to provide default 9023 # value. By we need to know if files were specified by the user. 9024 ac_need_defaults=: 9025 while test $# != 0 9026 do 9027 case $1 in 9028 --*=*) 9029 ac_option=`expr "x$1" : 'x\([^=]*\)='` 9030 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 9031 ac_shift=: 9032 ;; 9033 -*) 9034 ac_option=$1 9035 ac_optarg=$2 9036 ac_shift=shift 9037 ;; 9038 *) # This is not an option, so the user has probably given explicit 9039 # arguments. 9040 ac_option=$1 9041 ac_need_defaults=false;; 9042 esac 9043 9044 case $ac_option in 9045 # Handling of the options. 9046 _ACEOF 9047 cat >>$CONFIG_STATUS <<\_ACEOF 9048 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9049 ac_cs_recheck=: ;; 9050 --version | --vers* | -V ) 9051 echo "$ac_cs_version"; exit 0 ;; 9052 --he | --h) 9053 # Conflict between --help and --header 9054 { { echo "$as_me:$LINENO: error: ambiguous option: $1 9055 Try \`$0 --help' for more information." >&5 9056 echo "$as_me: error: ambiguous option: $1 9057 Try \`$0 --help' for more information." >&2;} 9058 { (exit 1); exit 1; }; };; 9059 --help | --hel | -h ) 9060 echo "$ac_cs_usage"; exit 0 ;; 9061 --debug | --d* | -d ) 9062 debug=: ;; 9063 --file | --fil | --fi | --f ) 9064 $ac_shift 9065 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 9066 ac_need_defaults=false;; 9067 --header | --heade | --head | --hea ) 9068 $ac_shift 9069 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 9070 ac_need_defaults=false;; 9071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9072 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9073 ac_cs_silent=: ;; 9074 9075 # This is an error. 9076 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 9077 Try \`$0 --help' for more information." >&5 9078 echo "$as_me: error: unrecognized option: $1 9079 Try \`$0 --help' for more information." >&2;} 9080 { (exit 1); exit 1; }; } ;; 9081 9082 *) ac_config_targets="$ac_config_targets $1" ;; 9083 9084 esac 9085 shift 9086 done 9087 9088 ac_configure_extra_args= 9089 9090 if $ac_cs_silent; then 9091 exec 6>/dev/null 9092 ac_configure_extra_args="$ac_configure_extra_args --silent" 9093 fi 9094 9095 _ACEOF 9096 cat >>$CONFIG_STATUS <<_ACEOF 9097 if \$ac_cs_recheck; then 9098 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 9099 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9100 fi 9101 9102 _ACEOF 9103 9104 9105 9106 9107 9108 cat >>$CONFIG_STATUS <<\_ACEOF 9148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9149 9150 # Handling of arguments. 9109 9151 for ac_config_target in $ac_config_targets 9110 9152 do 9111 case "$ac_config_target" in 9112 # Handling of arguments. 9113 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9114 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9115 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9116 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 9117 { (exit 1); exit 1; }; };; 9153 case $ac_config_target in 9154 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9155 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9156 9157 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 9118 9158 esac 9119 9159 done 9160 9120 9161 9121 9162 # If the user did not use the arguments to specify the items to instantiate, … … 9129 9170 9130 9171 # Have a temporary directory for convenience. Make it in the build tree 9131 # simply because there is no reason to putit here, and in addition,9172 # simply because there is no reason against having it here, and in addition, 9132 9173 # creating and moving files from /tmp can sometimes cause problems. 9133 # Create a temporary directory, and hook for its removal unless debugging. 9174 # Hook for its removal unless debugging. 9175 # Note that there is a small window in which the directory will not be cleaned: 9176 # after its creation but before its name has been assigned to `$tmp'. 9134 9177 $debug || 9135 9178 { 9136 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9137 trap '{ (exit 1); exit 1; }' 1 2 13 15 9179 tmp= 9180 trap 'exit_status=$? 9181 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9182 ' 0 9183 trap 'as_fn_exit 1' 1 2 13 15 9138 9184 } 9139 9140 9185 # Create a (secure) tmp directory for tmp files. 9141 9186 9142 9187 { 9143 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9188 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9144 9189 test -n "$tmp" && test -d "$tmp" 9145 9190 } || 9146 9191 { 9147 tmp=./confstat$$-$RANDOM 9148 (umask 077 && mkdir $tmp) 9149 } || 9192 tmp=./conf$$-$RANDOM 9193 (umask 077 && mkdir "$tmp") 9194 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 9195 9196 # Set up the scripts for CONFIG_FILES section. 9197 # No need to generate them if there are no CONFIG_FILES. 9198 # This happens for instance with `./config.status config.h'. 9199 if test -n "$CONFIG_FILES"; then 9200 9201 9202 ac_cr=`echo X | tr X '\015'` 9203 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9204 # But we know of no other shell where ac_cr would be empty at this 9205 # point, so we can use a bashism as a fallback. 9206 if test "x$ac_cr" = x; then 9207 eval ac_cr=\$\'\\r\' 9208 fi 9209 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9210 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9211 ac_cs_awk_cr='\r' 9212 else 9213 ac_cs_awk_cr=$ac_cr 9214 fi 9215 9216 echo 'BEGIN {' >"$tmp/subs1.awk" && 9217 _ACEOF 9218 9219 9150 9220 { 9151 echo "$me: cannot create a temporary directory in ." >&2 9152 { (exit 1); exit 1; } 9221 echo "cat >conf$$subs.awk <<_ACEOF" && 9222 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9223 echo "_ACEOF" 9224 } >conf$$subs.sh || 9225 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 9226 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9227 ac_delim='%!_!# ' 9228 for ac_last_try in false false false false false :; do 9229 . ./conf$$subs.sh || 9230 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 9231 9232 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9233 if test $ac_delim_n = $ac_delim_num; then 9234 break 9235 elif $ac_last_try; then 9236 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 9237 else 9238 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9239 fi 9240 done 9241 rm -f conf$$subs.sh 9242 9243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9244 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9245 _ACEOF 9246 sed -n ' 9247 h 9248 s/^/S["/; s/!.*/"]=/ 9249 p 9250 g 9251 s/^[^!]*!// 9252 :repl 9253 t repl 9254 s/'"$ac_delim"'$// 9255 t delim 9256 :nl 9257 h 9258 s/\(.\{148\}\)..*/\1/ 9259 t more1 9260 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9261 p 9262 n 9263 b repl 9264 :more1 9265 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9266 p 9267 g 9268 s/.\{148\}// 9269 t nl 9270 :delim 9271 h 9272 s/\(.\{148\}\)..*/\1/ 9273 t more2 9274 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9275 p 9276 b 9277 :more2 9278 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9279 p 9280 g 9281 s/.\{148\}// 9282 t delim 9283 ' <conf$$subs.awk | sed ' 9284 /^[^""]/{ 9285 N 9286 s/\n// 9153 9287 } 9154 9288 ' >>$CONFIG_STATUS || ac_write_fail=1 9289 rm -f conf$$subs.awk 9290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9291 _ACAWK 9292 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9293 for (key in S) S_is_set[key] = 1 9294 FS = "" 9295 9296 } 9297 { 9298 line = $ 0 9299 nfields = split(line, field, "@") 9300 substed = 0 9301 len = length(field[1]) 9302 for (i = 2; i < nfields; i++) { 9303 key = field[i] 9304 keylen = length(key) 9305 if (S_is_set[key]) { 9306 value = S[key] 9307 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9308 len += length(value) + length(field[++i]) 9309 substed = 1 9310 } else 9311 len += 1 + keylen 9312 } 9313 9314 print line 9315 } 9316 9317 _ACAWK 9155 9318 _ACEOF 9156 9157 cat >>$CONFIG_STATUS <<_ACEOF 9158 9159 # 9160 # CONFIG_FILES section. 9161 # 9162 9163 # No need to generate the scripts if there are no CONFIG_FILES. 9164 # This happens for instance when ./config.status config.h 9165 if test -n "\$CONFIG_FILES"; then 9166 # Protect against being on the right side of a sed subst in config.status. 9167 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 9168 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 9169 s,@SHELL@,$SHELL,;t t 9170 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 9171 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 9172 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 9173 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 9174 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 9175 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 9176 s,@exec_prefix@,$exec_prefix,;t t 9177 s,@prefix@,$prefix,;t t 9178 s,@program_transform_name@,$program_transform_name,;t t 9179 s,@bindir@,$bindir,;t t 9180 s,@sbindir@,$sbindir,;t t 9181 s,@libexecdir@,$libexecdir,;t t 9182 s,@datadir@,$datadir,;t t 9183 s,@sysconfdir@,$sysconfdir,;t t 9184 s,@sharedstatedir@,$sharedstatedir,;t t 9185 s,@localstatedir@,$localstatedir,;t t 9186 s,@libdir@,$libdir,;t t 9187 s,@includedir@,$includedir,;t t 9188 s,@oldincludedir@,$oldincludedir,;t t 9189 s,@infodir@,$infodir,;t t 9190 s,@mandir@,$mandir,;t t 9191 s,@build_alias@,$build_alias,;t t 9192 s,@host_alias@,$host_alias,;t t 9193 s,@target_alias@,$target_alias,;t t 9194 s,@DEFS@,$DEFS,;t t 9195 s,@ECHO_C@,$ECHO_C,;t t 9196 s,@ECHO_N@,$ECHO_N,;t t 9197 s,@ECHO_T@,$ECHO_T,;t t 9198 s,@LIBS@,$LIBS,;t t 9199 s,@VERSION@,$VERSION,;t t 9200 s,@build@,$build,;t t 9201 s,@build_cpu@,$build_cpu,;t t 9202 s,@build_vendor@,$build_vendor,;t t 9203 s,@build_os@,$build_os,;t t 9204 s,@host@,$host,;t t 9205 s,@host_cpu@,$host_cpu,;t t 9206 s,@host_vendor@,$host_vendor,;t t 9207 s,@host_os@,$host_os,;t t 9208 s,@target@,$target,;t t 9209 s,@target_cpu@,$target_cpu,;t t 9210 s,@target_vendor@,$target_vendor,;t t 9211 s,@target_os@,$target_os,;t t 9212 s,@SET_MAKE@,$SET_MAKE,;t t 9213 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 9214 s,@UNICODE_VERSION@,$UNICODE_VERSION,;t t 9215 s,@CC@,$CC,;t t 9216 s,@CFLAGS@,$CFLAGS,;t t 9217 s,@LDFLAGS@,$LDFLAGS,;t t 9218 s,@CPPFLAGS@,$CPPFLAGS,;t t 9219 s,@ac_ct_CC@,$ac_ct_CC,;t t 9220 s,@EXEEXT@,$EXEEXT,;t t 9221 s,@OBJEXT@,$OBJEXT,;t t 9222 s,@CPP@,$CPP,;t t 9223 s,@EGREP@,$EGREP,;t t 9224 s,@LN_S@,$LN_S,;t t 9225 s,@ECHO@,$ECHO,;t t 9226 s,@RANLIB@,$RANLIB,;t t 9227 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 9228 s,@STRIP@,$STRIP,;t t 9229 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 9230 s,@LIBTOOL@,$LIBTOOL,;t t 9231 s,@PERL@,$PERL,;t t 9232 s,@SH@,$SH,;t t 9233 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 9234 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 9235 s,@MAINT@,$MAINT,;t t 9236 s,@LIBICONV@,$LIBICONV,;t t 9237 s,@LTLIBICONV@,$LTLIBICONV,;t t 9238 s,@LIBOBJS@,$LIBOBJS,;t t 9239 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 9240 CEOF 9241 9319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9320 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9321 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9322 else 9323 cat 9324 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9325 || as_fn_error "could not setup config files machinery" "$LINENO" 5 9242 9326 _ACEOF 9243 9327 9244 cat >>$CONFIG_STATUS <<\_ACEOF 9245 # Split the substitutions into bite-sized pieces for seds with 9246 # small command number limits, like on Digital OSF/1 and HP-UX. 9247 ac_max_sed_lines=48 9248 ac_sed_frag=1 # Number of current file. 9249 ac_beg=1 # First line for current file. 9250 ac_end=$ac_max_sed_lines # Line after last line for current file. 9251 ac_more_lines=: 9252 ac_sed_cmds= 9253 while $ac_more_lines; do 9254 if test $ac_beg -gt 1; then 9255 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9256 else 9257 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9328 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9329 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9330 # trailing colons and then remove the whole line if VPATH becomes empty 9331 # (actually we leave an empty line to preserve line numbers). 9332 if test "x$srcdir" = x.; then 9333 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9334 s/:*\$(srcdir):*/:/ 9335 s/:*\${srcdir}:*/:/ 9336 s/:*@srcdir@:*/:/ 9337 s/^\([^=]*=[ ]*\):*/\1/ 9338 s/:*$// 9339 s/^[^=]*=[ ]*$// 9340 }' 9341 fi 9342 9343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9344 fi # test -n "$CONFIG_FILES" 9345 9346 # Set up the scripts for CONFIG_HEADERS section. 9347 # No need to generate them if there are no CONFIG_HEADERS. 9348 # This happens for instance with `./config.status Makefile'. 9349 if test -n "$CONFIG_HEADERS"; then 9350 cat >"$tmp/defines.awk" <<\_ACAWK || 9351 BEGIN { 9352 _ACEOF 9353 9354 # Transform confdefs.h into an awk script `defines.awk', embedded as 9355 # here-document in config.status, that substitutes the proper values into 9356 # config.h.in to produce config.h. 9357 9358 # Create a delimiter string that does not exist in confdefs.h, to ease 9359 # handling of long lines. 9360 ac_delim='%!_!# ' 9361 for ac_last_try in false false :; do 9362 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9363 if test -z "$ac_t"; then 9364 break 9365 elif $ac_last_try; then 9366 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 9367 else 9368 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9369 fi 9370 done 9371 9372 # For the awk script, D is an array of macro values keyed by name, 9373 # likewise P contains macro parameters if any. Preserve backslash 9374 # newline sequences. 9375 9376 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9377 sed -n ' 9378 s/.\{148\}/&'"$ac_delim"'/g 9379 t rset 9380 :rset 9381 s/^[ ]*#[ ]*define[ ][ ]*/ / 9382 t def 9383 d 9384 :def 9385 s/\\$// 9386 t bsnl 9387 s/["\\]/\\&/g 9388 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9389 D["\1"]=" \3"/p 9390 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9391 d 9392 :bsnl 9393 s/["\\]/\\&/g 9394 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9395 D["\1"]=" \3\\\\\\n"\\/p 9396 t cont 9397 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9398 t cont 9399 d 9400 :cont 9401 n 9402 s/.\{148\}/&'"$ac_delim"'/g 9403 t clear 9404 :clear 9405 s/\\$// 9406 t bsnlc 9407 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9408 d 9409 :bsnlc 9410 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9411 b cont 9412 ' <confdefs.h | sed ' 9413 s/'"$ac_delim"'/"\\\ 9414 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9415 9416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9417 for (key in D) D_is_set[key] = 1 9418 FS = "" 9419 } 9420 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9421 line = \$ 0 9422 split(line, arg, " ") 9423 if (arg[1] == "#") { 9424 defundef = arg[2] 9425 mac1 = arg[3] 9426 } else { 9427 defundef = substr(arg[1], 2) 9428 mac1 = arg[2] 9429 } 9430 split(mac1, mac2, "(") #) 9431 macro = mac2[1] 9432 prefix = substr(line, 1, index(line, defundef) - 1) 9433 if (D_is_set[macro]) { 9434 # Preserve the white space surrounding the "#". 9435 print prefix "define", macro P[macro] D[macro] 9436 next 9437 } else { 9438 # Replace #undef with comments. This is necessary, for example, 9439 # in the case of _POSIX_SOURCE, which is predefined and required 9440 # on some systems where configure will not decide to define it. 9441 if (defundef == "undef") { 9442 print "/*", prefix defundef, macro, "*/" 9443 next 9444 } 9445 } 9446 } 9447 { print } 9448 _ACAWK 9449 _ACEOF 9450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9451 as_fn_error "could not setup config headers machinery" "$LINENO" 5 9452 fi # test -n "$CONFIG_HEADERS" 9453 9454 9455 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9456 shift 9457 for ac_tag 9458 do 9459 case $ac_tag in 9460 :[FHLC]) ac_mode=$ac_tag; continue;; 9461 esac 9462 case $ac_mode$ac_tag in 9463 :[FHL]*:*);; 9464 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 9465 :[FH]-) ac_tag=-:-;; 9466 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9467 esac 9468 ac_save_IFS=$IFS 9469 IFS=: 9470 set x $ac_tag 9471 IFS=$ac_save_IFS 9472 shift 9473 ac_file=$1 9474 shift 9475 9476 case $ac_mode in 9477 :L) ac_source=$1;; 9478 :[FH]) 9479 ac_file_inputs= 9480 for ac_f 9481 do 9482 case $ac_f in 9483 -) ac_f="$tmp/stdin";; 9484 *) # Look for the file first in the build tree, then in the source tree 9485 # (if the path is not absolute). The absolute path cannot be DOS-style, 9486 # because $ac_f cannot contain `:'. 9487 test -f "$ac_f" || 9488 case $ac_f in 9489 [\\/$]*) false;; 9490 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9491 esac || 9492 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9493 esac 9494 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9495 as_fn_append ac_file_inputs " '$ac_f'" 9496 done 9497 9498 # Let's still pretend it is `configure' which instantiates (i.e., don't 9499 # use $as_me), people would be surprised to read: 9500 # /* config.h. Generated by config.status. */ 9501 configure_input='Generated from '` 9502 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 9503 `' by configure.' 9504 if test x"$ac_file" != x-; then 9505 configure_input="$ac_file. $configure_input" 9506 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 9507 $as_echo "$as_me: creating $ac_file" >&6;} 9258 9508 fi 9259 if test ! -s $tmp/subs.frag; then 9260 ac_more_lines=false 9261 else 9262 # The purpose of the label and of the branching condition is to 9263 # speed up the sed processing (if there are no `@' at all, there 9264 # is no need to browse any of the substitutions). 9265 # These are the two extra sed commands mentioned above. 9266 (echo ':t 9267 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 9268 if test -z "$ac_sed_cmds"; then 9269 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 9270 else 9271 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 9272 fi 9273 ac_sed_frag=`expr $ac_sed_frag + 1` 9274 ac_beg=$ac_end 9275 ac_end=`expr $ac_end + $ac_max_sed_lines` 9276 fi 9277 done 9278 if test -z "$ac_sed_cmds"; then 9279 ac_sed_cmds=cat 9280 fi 9281 fi # test -n "$CONFIG_FILES" 9282 9283 _ACEOF 9284 cat >>$CONFIG_STATUS <<\_ACEOF 9285 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 9286 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9287 case $ac_file in 9288 - | *:- | *:-:* ) # input from stdin 9289 cat >$tmp/stdin 9290 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9291 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9292 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9293 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9294 * ) ac_file_in=$ac_file.in ;; 9509 # Neutralize special characters interpreted by sed in replacement strings. 9510 case $configure_input in #( 9511 *\&* | *\|* | *\\* ) 9512 ac_sed_conf_input=`$as_echo "$configure_input" | 9513 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9514 *) ac_sed_conf_input=$configure_input;; 9515 esac 9516 9517 case $ac_tag in 9518 *:-:* | *:-) cat >"$tmp/stdin" \ 9519 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 9520 esac 9521 ;; 9295 9522 esac 9296 9523 9297 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 9298 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9524 ac_dir=`$as_dirname -- "$ac_file" || 9299 9525 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9300 9526 X"$ac_file" : 'X\(//\)[^/]' \| \ 9301 9527 X"$ac_file" : 'X\(//\)$' \| \ 9302 X"$ac_file" : 'X\(/\)' \| \ 9303 . : '\(.\)' 2>/dev/null || 9304 echo X"$ac_file" | 9305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9306 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9307 /^X\(\/\/\)$/{ s//\1/; q; } 9308 /^X\(\/\).*/{ s//\1/; q; } 9309 s/.*/./; q'` 9310 { if $as_mkdir_p; then 9311 mkdir -p "$ac_dir" 9312 else 9313 as_dir="$ac_dir" 9314 as_dirs= 9315 while test ! -d "$as_dir"; do 9316 as_dirs="$as_dir $as_dirs" 9317 as_dir=`(dirname "$as_dir") 2>/dev/null || 9318 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9319 X"$as_dir" : 'X\(//\)[^/]' \| \ 9320 X"$as_dir" : 'X\(//\)$' \| \ 9321 X"$as_dir" : 'X\(/\)' \| \ 9322 . : '\(.\)' 2>/dev/null || 9323 echo X"$as_dir" | 9324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9325 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9326 /^X\(\/\/\)$/{ s//\1/; q; } 9327 /^X\(\/\).*/{ s//\1/; q; } 9328 s/.*/./; q'` 9329 done 9330 test ! -n "$as_dirs" || mkdir $as_dirs 9331 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9332 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9333 { (exit 1); exit 1; }; }; } 9334 9528 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9529 $as_echo X"$ac_file" | 9530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9531 s//\1/ 9532 q 9533 } 9534 /^X\(\/\/\)[^/].*/{ 9535 s//\1/ 9536 q 9537 } 9538 /^X\(\/\/\)$/{ 9539 s//\1/ 9540 q 9541 } 9542 /^X\(\/\).*/{ 9543 s//\1/ 9544 q 9545 } 9546 s/.*/./; q'` 9547 as_dir="$ac_dir"; as_fn_mkdir_p 9335 9548 ac_builddir=. 9336 9549 9337 if test "$ac_dir" != .; then 9338 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9339 # A "../" for each directory in $ac_dir_suffix. 9340 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9341 else 9342 ac_dir_suffix= ac_top_builddir= 9343 fi 9550 case "$ac_dir" in 9551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9552 *) 9553 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9554 # A ".." for each directory in $ac_dir_suffix. 9555 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9556 case $ac_top_builddir_sub in 9557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9559 esac ;; 9560 esac 9561 ac_abs_top_builddir=$ac_pwd 9562 ac_abs_builddir=$ac_pwd$ac_dir_suffix 9563 # for backward compatibility: 9564 ac_top_builddir=$ac_top_build_prefix 9344 9565 9345 9566 case $srcdir in 9346 .) # No --srcdir option.We are building in place.9567 .) # We are building in place. 9347 9568 ac_srcdir=. 9348 if test -z "$ac_top_builddir"; then 9349 ac_top_srcdir=. 9350 else 9351 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9352 fi ;; 9353 [\\/]* | ?:[\\/]* ) # Absolute path. 9569 ac_top_srcdir=$ac_top_builddir_sub 9570 ac_abs_top_srcdir=$ac_pwd ;; 9571 [\\/]* | ?:[\\/]* ) # Absolute name. 9354 9572 ac_srcdir=$srcdir$ac_dir_suffix; 9355 ac_top_srcdir=$srcdir ;; 9356 *) # Relative path. 9357 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9358 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9573 ac_top_srcdir=$srcdir 9574 ac_abs_top_srcdir=$srcdir ;; 9575 *) # Relative name. 9576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9577 ac_top_srcdir=$ac_top_build_prefix$srcdir 9578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9359 9579 esac 9360 9361 # Do not use `cd foo && pwd` to compute absolute paths, because 9362 # the directories may not exist. 9363 case `pwd` in 9364 .) ac_abs_builddir="$ac_dir";; 9365 *) 9366 case "$ac_dir" in 9367 .) ac_abs_builddir=`pwd`;; 9368 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9369 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9370 esac;; 9580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9581 9582 9583 case $ac_mode in 9584 :F) 9585 # 9586 # CONFIG_FILE 9587 # 9588 9589 _ACEOF 9590 9591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9592 # If the template does not know about datarootdir, expand it. 9593 # FIXME: This hack should be removed a few years after 2.60. 9594 ac_datarootdir_hack=; ac_datarootdir_seen= 9595 ac_sed_dataroot=' 9596 /datarootdir/ { 9597 p 9598 q 9599 } 9600 /@datadir@/p 9601 /@docdir@/p 9602 /@infodir@/p 9603 /@localedir@/p 9604 /@mandir@/p' 9605 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9606 *datarootdir*) ac_datarootdir_seen=yes;; 9607 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9609 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9610 _ACEOF 9611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9612 ac_datarootdir_hack=' 9613 s&@datadir@&$datadir&g 9614 s&@docdir@&$docdir&g 9615 s&@infodir@&$infodir&g 9616 s&@localedir@&$localedir&g 9617 s&@mandir@&$mandir&g 9618 s&\\\${datarootdir}&$datarootdir&g' ;; 9371 9619 esac 9372 case $ac_abs_builddir in9373 .) ac_abs_top_builddir=${ac_top_builddir}.;;9374 *)9375 case ${ac_top_builddir}. in9376 .) ac_abs_top_builddir=$ac_abs_builddir;;9377 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;9378 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;9379 esac;;9380 esac9381 case $ac_abs_builddir in9382 .) ac_abs_srcdir=$ac_srcdir;;9383 *)9384 case $ac_srcdir in9385 .) ac_abs_srcdir=$ac_abs_builddir;;9386 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;9387 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;9388 esac;;9389 esac9390 case $ac_abs_builddir in9391 .) ac_abs_top_srcdir=$ac_top_srcdir;;9392 *)9393 case $ac_top_srcdir in9394 .) ac_abs_top_srcdir=$ac_abs_builddir;;9395 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;9396 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;9397 esac;;9398 esac9399 9400 9401 9402 if test x"$ac_file" != x-; then9403 { echo "$as_me:$LINENO: creating $ac_file" >&59404 echo "$as_me: creating $ac_file" >&6;}9405 rm -f "$ac_file"9406 fi9407 # Let's still pretend it is `configure' which instantiates (i.e., don't9408 # use $as_me), people would be surprised to read:9409 # /* config.h. Generated by config.status. */9410 if test x"$ac_file" = x-; then9411 configure_input=9412 else9413 configure_input="$ac_file. "9414 fi9415 configure_input=$configure_input"Generated from `echo $ac_file_in |9416 sed 's,.*/,,'` by configure."9417 9418 # First look for the input files in the build tree, otherwise in the9419 # src tree.9420 ac_file_inputs=`IFS=:9421 for f in $ac_file_in; do9422 case $f in9423 -) echo $tmp/stdin ;;9424 [\\/$]*)9425 # Absolute (can't be DOS-style, as IFS=:)9426 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&59427 echo "$as_me: error: cannot find input file: $f" >&2;}9428 { (exit 1); exit 1; }; }9429 echo "$f";;9430 *) # Relative9431 if test -f "$f"; then9432 # Build tree9433 echo "$f"9434 elif test -f "$srcdir/$f"; then9435 # Source tree9436 echo "$srcdir/$f"9437 else9438 # /dev/null tree9439 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&59440 echo "$as_me: error: cannot find input file: $f" >&2;}9441 { (exit 1); exit 1; }; }9442 fi;;9443 esac9444 done` || { (exit 1); exit 1; }9445 9620 _ACEOF 9446 cat >>$CONFIG_STATUS <<_ACEOF 9447 sed "$ac_vpsub 9621 9622 # Neutralize VPATH when `$srcdir' = `.'. 9623 # Shell code in configure.ac might set extrasub. 9624 # FIXME: do we really want to maintain this feature? 9625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9626 ac_sed_extra="$ac_vpsub 9448 9627 $extrasub 9449 9628 _ACEOF 9450 cat >>$CONFIG_STATUS <<\_ACEOF 9629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9451 9630 :t 9452 9631 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9453 s,@configure_input@,$configure_input,;t t 9454 s,@srcdir@,$ac_srcdir,;t t 9455 s,@abs_srcdir@,$ac_abs_srcdir,;t t 9456 s,@top_srcdir@,$ac_top_srcdir,;t t 9457 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 9458 s,@builddir@,$ac_builddir,;t t 9459 s,@abs_builddir@,$ac_abs_builddir,;t t 9460 s,@top_builddir@,$ac_top_builddir,;t t 9461 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 9462 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 9463 rm -f $tmp/stdin 9632 s|@configure_input@|$ac_sed_conf_input|;t t 9633 s&@top_builddir@&$ac_top_builddir_sub&;t t 9634 s&@top_build_prefix@&$ac_top_build_prefix&;t t 9635 s&@srcdir@&$ac_srcdir&;t t 9636 s&@abs_srcdir@&$ac_abs_srcdir&;t t 9637 s&@top_srcdir@&$ac_top_srcdir&;t t 9638 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9639 s&@builddir@&$ac_builddir&;t t 9640 s&@abs_builddir@&$ac_abs_builddir&;t t 9641 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9642 $ac_datarootdir_hack 9643 " 9644 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9645 || as_fn_error "could not create $ac_file" "$LINENO" 5 9646 9647 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9648 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9649 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9651 which seems to be undefined. Please make sure it is defined." >&5 9652 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9653 which seems to be undefined. Please make sure it is defined." >&2;} 9654 9655 rm -f "$tmp/stdin" 9656 case $ac_file in 9657 -) cat "$tmp/out" && rm -f "$tmp/out";; 9658 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9659 esac \ 9660 || as_fn_error "could not create $ac_file" "$LINENO" 5 9661 ;; 9662 :H) 9663 # 9664 # CONFIG_HEADER 9665 # 9464 9666 if test x"$ac_file" != x-; then 9465 mv $tmp/out $ac_file 9466 else 9467 cat $tmp/out 9468 rm -f $tmp/out 9469 fi 9470 9471 done 9472 _ACEOF 9473 cat >>$CONFIG_STATUS <<\_ACEOF 9474 9475 # 9476 # CONFIG_HEADER section. 9477 # 9478 9479 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 9480 # NAME is the cpp macro being defined and VALUE is the value it is being given. 9481 # 9482 # ac_d sets the value in "#define NAME VALUE" lines. 9483 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 9484 ac_dB='[ ].*$,\1#\2' 9485 ac_dC=' ' 9486 ac_dD=',;t' 9487 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 9488 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 9489 ac_uB='$,\1#\2define\3' 9490 ac_uC=' ' 9491 ac_uD=',;t' 9492 9493 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 9494 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9495 case $ac_file in 9496 - | *:- | *:-:* ) # input from stdin 9497 cat >$tmp/stdin 9498 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9499 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9500 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9501 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9502 * ) ac_file_in=$ac_file.in ;; 9503 esac 9504 9505 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 9506 echo "$as_me: creating $ac_file" >&6;} 9507 9508 # First look for the input files in the build tree, otherwise in the 9509 # src tree. 9510 ac_file_inputs=`IFS=: 9511 for f in $ac_file_in; do 9512 case $f in 9513 -) echo $tmp/stdin ;; 9514 [\\/$]*) 9515 # Absolute (can't be DOS-style, as IFS=:) 9516 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9517 echo "$as_me: error: cannot find input file: $f" >&2;} 9518 { (exit 1); exit 1; }; } 9519 # Do quote $f, to prevent DOS paths from being IFS'd. 9520 echo "$f";; 9521 *) # Relative 9522 if test -f "$f"; then 9523 # Build tree 9524 echo "$f" 9525 elif test -f "$srcdir/$f"; then 9526 # Source tree 9527 echo "$srcdir/$f" 9528 else 9529 # /dev/null tree 9530 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9531 echo "$as_me: error: cannot find input file: $f" >&2;} 9532 { (exit 1); exit 1; }; } 9533 fi;; 9534 esac 9535 done` || { (exit 1); exit 1; } 9536 # Remove the trailing spaces. 9537 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 9538 9539 _ACEOF 9540 9541 # Transform confdefs.h into two sed scripts, `conftest.defines' and 9542 # `conftest.undefs', that substitutes the proper values into 9543 # config.h.in to produce config.h. The first handles `#define' 9544 # templates, and the second `#undef' templates. 9545 # And first: Protect against being on the right side of a sed subst in 9546 # config.status. Protect against being in an unquoted here document 9547 # in config.status. 9548 rm -f conftest.defines conftest.undefs 9549 # Using a here document instead of a string reduces the quoting nightmare. 9550 # Putting comments in sed scripts is not portable. 9551 # 9552 # `end' is used to avoid that the second main sed command (meant for 9553 # 0-ary CPP macros) applies to n-ary macro definitions. 9554 # See the Autoconf documentation for `clear'. 9555 cat >confdef2sed.sed <<\_ACEOF 9556 s/[\\&,]/\\&/g 9557 s,[\\$`],\\&,g 9558 t clear 9559 : clear 9560 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 9561 t end 9562 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 9563 : end 9564 _ACEOF 9565 # If some macros were called several times there might be several times 9566 # the same #defines, which is useless. Nevertheless, we may not want to 9567 # sort them, since we want the *last* AC-DEFINE to be honored. 9568 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 9569 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 9570 rm -f confdef2sed.sed 9571 9572 # This sed command replaces #undef with comments. This is necessary, for 9573 # example, in the case of _POSIX_SOURCE, which is predefined and required 9574 # on some systems where configure will not decide to define it. 9575 cat >>conftest.undefs <<\_ACEOF 9576 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 9577 _ACEOF 9578 9579 # Break up conftest.defines because some shells have a limit on the size 9580 # of here documents, and old seds have small limits too (100 cmds). 9581 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 9582 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 9583 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 9584 echo ' :' >>$CONFIG_STATUS 9585 rm -f conftest.tail 9586 while grep . conftest.defines >/dev/null 9587 do 9588 # Write a limited-size here document to $tmp/defines.sed. 9589 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 9590 # Speed up: don't consider the non `#define' lines. 9591 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 9592 # Work around the forget-to-reset-the-flag bug. 9593 echo 't clr' >>$CONFIG_STATUS 9594 echo ': clr' >>$CONFIG_STATUS 9595 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 9596 echo 'CEOF 9597 sed -f $tmp/defines.sed $tmp/in >$tmp/out 9598 rm -f $tmp/in 9599 mv $tmp/out $tmp/in 9600 ' >>$CONFIG_STATUS 9601 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 9602 rm -f conftest.defines 9603 mv conftest.tail conftest.defines 9604 done 9605 rm -f conftest.defines 9606 echo ' fi # grep' >>$CONFIG_STATUS 9607 echo >>$CONFIG_STATUS 9608 9609 # Break up conftest.undefs because some shells have a limit on the size 9610 # of here documents, and old seds have small limits too (100 cmds). 9611 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 9612 rm -f conftest.tail 9613 while grep . conftest.undefs >/dev/null 9614 do 9615 # Write a limited-size here document to $tmp/undefs.sed. 9616 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 9617 # Speed up: don't consider the non `#undef' 9618 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 9619 # Work around the forget-to-reset-the-flag bug. 9620 echo 't clr' >>$CONFIG_STATUS 9621 echo ': clr' >>$CONFIG_STATUS 9622 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 9623 echo 'CEOF 9624 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 9625 rm -f $tmp/in 9626 mv $tmp/out $tmp/in 9627 ' >>$CONFIG_STATUS 9628 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 9629 rm -f conftest.undefs 9630 mv conftest.tail conftest.undefs 9631 done 9632 rm -f conftest.undefs 9633 9634 cat >>$CONFIG_STATUS <<\_ACEOF 9635 # Let's still pretend it is `configure' which instantiates (i.e., don't 9636 # use $as_me), people would be surprised to read: 9637 # /* config.h. Generated by config.status. */ 9638 if test x"$ac_file" = x-; then 9639 echo "/* Generated by configure. */" >$tmp/config.h 9640 else 9641 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 9642 fi 9643 cat $tmp/in >>$tmp/config.h 9644 rm -f $tmp/in 9645 if test x"$ac_file" != x-; then 9646 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 9647 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9648 echo "$as_me: $ac_file is unchanged" >&6;} 9667 { 9668 $as_echo "/* $configure_input */" \ 9669 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9670 } >"$tmp/config.h" \ 9671 || as_fn_error "could not create $ac_file" "$LINENO" 5 9672 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9673 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9674 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9649 9675 else 9650 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9652 X"$ac_file" : 'X\(//\)[^/]' \| \ 9653 X"$ac_file" : 'X\(//\)$' \| \ 9654 X"$ac_file" : 'X\(/\)' \| \ 9655 . : '\(.\)' 2>/dev/null || 9656 echo X"$ac_file" | 9657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9658 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9659 /^X\(\/\/\)$/{ s//\1/; q; } 9660 /^X\(\/\).*/{ s//\1/; q; } 9661 s/.*/./; q'` 9662 { if $as_mkdir_p; then 9663 mkdir -p "$ac_dir" 9664 else 9665 as_dir="$ac_dir" 9666 as_dirs= 9667 while test ! -d "$as_dir"; do 9668 as_dirs="$as_dir $as_dirs" 9669 as_dir=`(dirname "$as_dir") 2>/dev/null || 9670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9671 X"$as_dir" : 'X\(//\)[^/]' \| \ 9672 X"$as_dir" : 'X\(//\)$' \| \ 9673 X"$as_dir" : 'X\(/\)' \| \ 9674 . : '\(.\)' 2>/dev/null || 9675 echo X"$as_dir" | 9676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9677 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9678 /^X\(\/\/\)$/{ s//\1/; q; } 9679 /^X\(\/\).*/{ s//\1/; q; } 9680 s/.*/./; q'` 9681 done 9682 test ! -n "$as_dirs" || mkdir $as_dirs 9683 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9684 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9685 { (exit 1); exit 1; }; }; } 9686 9687 rm -f $ac_file 9688 mv $tmp/config.h $ac_file 9676 rm -f "$ac_file" 9677 mv "$tmp/config.h" "$ac_file" \ 9678 || as_fn_error "could not create $ac_file" "$LINENO" 5 9689 9679 fi 9690 9680 else 9691 cat $tmp/config.h 9692 rm -f $tmp/config.h 9681 $as_echo "/* $configure_input */" \ 9682 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9683 || as_fn_error "could not create -" "$LINENO" 5 9693 9684 fi 9694 done 9685 ;; 9686 9687 9688 esac 9689 9690 done # for ac_tag 9691 9692 9693 as_fn_exit 0 9695 9694 _ACEOF 9696 9697 cat >>$CONFIG_STATUS <<\_ACEOF9698 9699 { (exit 0); exit 0; }9700 _ACEOF9701 chmod +x $CONFIG_STATUS9702 9695 ac_clean_files=$ac_clean_files_save 9696 9697 test $ac_write_fail = 0 || 9698 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 9703 9699 9704 9700 … … 9721 9717 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9722 9718 # would make configure fail if this is the last instruction. 9723 $ac_cs_success || { (exit 1); exit 1; } 9724 fi 9725 9719 $ac_cs_success || as_fn_exit $? 9720 fi 9721 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9723 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9724 fi 9725 -
main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/packages/unac/configure.ac
r16583 r23508 30 30 AC_PROG_MAKE_SET 31 31 32 AC_MSG_CHECKING(to see if architecture is 64-bit) 33 arch_64bit=no 34 case "$host_cpu" in 35 x86_64) arch_64bit=yes ;; 36 esac 37 38 if test "$arch_64bit" = yes; then 39 AC_MSG_RESULT(yes) 40 if test -z "$COMPAT32BITFLAGS" ; then 41 COMPAT32BITFLAGS="-m32" 42 fi 43 else 44 AC_MSG_RESULT(no) 45 if test -z "$COMPAT32BITFLAGS" ; then 46 COMPAT32BITFLAGS= 47 fi 48 fi 49 AC_SUBST(COMPAT32BITFLAGS) 32 dnl AC_MSG_CHECKING(to see if architecture is 64-bit) 33 dnl arch_64bit=no 34 dnl case "$host_cpu" in 35 dnl x86_64) arch_64bit=yes ;; 36 dnl esac 50 37 51 38 dnl
Note:
See TracChangeset
for help on using the changeset viewer.