1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.68. 4 # 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 9 # 10 # 11 # This configure script is free software; the Free Software Foundation 12 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 as_myself= 93 case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96 for as_dir in $PATH 97 do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102 IFS=$as_save_IFS 103 104 ;; 105 esac 106 # We did not find ourselves, most probably we were run as `sh COMMAND' 107 # in which case we are not to be found in the path. 108 if test "x$as_myself" = x; then 109 as_myself=$0 110 fi 111 if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145 else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151 esac 152 fi 153 " 154 as_required="as_fn_return () { (exit \$1); } 155 as_fn_success () { as_fn_return 0; } 156 as_fn_failure () { as_fn_return 1; } 157 as_fn_ret_success () { return 0; } 158 as_fn_ret_failure () { return 1; } 159 160 exitcode=0 161 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167 else 168 exitcode=1; echo positional parameters were not saved. 169 fi 170 test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 175 test \$(( 1 + 1 )) = 2 || exit 1 176 177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 181 PATH=/empty FPATH=/empty; export PATH FPATH 182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 184 if (eval "$as_required") 2>/dev/null; then : 185 as_have_required=yes 186 else 187 as_have_required=no 188 fi 189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 190 191 else 192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 193 as_found=false 194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 195 do 196 IFS=$as_save_IFS 197 test -z "$as_dir" && as_dir=. 198 as_found=: 199 case $as_dir in #( 200 /*) 201 for as_base in sh bash ksh sh5; do 202 # Try only shells that exist, to save several forks. 203 as_shell=$as_dir/$as_base 204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 206 CONFIG_SHELL=$as_shell as_have_required=yes 207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 208 break 2 209 fi 210 fi 211 done;; 212 esac 213 as_found=false 214 done 215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 217 CONFIG_SHELL=$SHELL as_have_required=yes 218 fi; } 219 IFS=$as_save_IFS 220 221 222 if test "x$CONFIG_SHELL" != x; then : 223 # We cannot yet assume a decent shell, so we have to provide a 224 # neutralization value for shells without unset; and this also 225 # works around shells that cannot unset nonexistent variables. 226 # Preserve -v and -x to the replacement shell. 227 BASH_ENV=/dev/null 228 ENV=/dev/null 229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 230 export CONFIG_SHELL 231 case $- in # (((( 232 *v*x* | *x*v* ) as_opts=-vx ;; 233 *v* ) as_opts=-v ;; 234 *x* ) as_opts=-x ;; 235 * ) as_opts= ;; 236 esac 237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 238 fi 239 240 if test x$as_have_required = xno; then : 241 $as_echo "$0: This script requires a shell more modern than all" 242 $as_echo "$0: the shells that I found on your system." 243 if test x${ZSH_VERSION+set} = xset ; then 244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 245 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 246 else 247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 248 $0: including any error possibly output before this 249 $0: message. Then install a modern shell, or manually run 250 $0: the script under such a shell if you do have one." 251 fi 252 exit 1 253 fi 254 fi 255 fi 256 SHELL=${CONFIG_SHELL-/bin/sh} 257 export SHELL 258 # Unset more variables known to interfere with behavior of common tools. 259 CLICOLOR_FORCE= GREP_OPTIONS= 260 unset CLICOLOR_FORCE GREP_OPTIONS 261 262 ## --------------------- ## 263 ## M4sh Shell Functions. ## 264 ## --------------------- ## 265 # as_fn_unset VAR 266 # --------------- 267 # Portably unset VAR. 268 as_fn_unset () 269 { 270 { eval $1=; unset $1;} 271 } 272 as_unset=as_fn_unset 273 274 # as_fn_set_status STATUS 275 # ----------------------- 276 # Set $? to STATUS, without forking. 277 as_fn_set_status () 278 { 279 return $1 280 } # as_fn_set_status 281 282 # as_fn_exit STATUS 283 # ----------------- 284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 285 as_fn_exit () 286 { 287 set +e 288 as_fn_set_status $1 289 exit $1 290 } # as_fn_exit 291 292 # as_fn_mkdir_p 293 # ------------- 294 # Create "$as_dir" as a directory, including parents if necessary. 295 as_fn_mkdir_p () 296 { 297 298 case $as_dir in #( 299 -*) as_dir=./$as_dir;; 300 esac 301 test -d "$as_dir" || eval $as_mkdir_p || { 302 as_dirs= 303 while :; do 304 case $as_dir in #( 305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 306 *) as_qdir=$as_dir;; 307 esac 308 as_dirs="'$as_qdir' $as_dirs" 309 as_dir=`$as_dirname -- "$as_dir" || 310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 311 X"$as_dir" : 'X\(//\)[^/]' \| \ 312 X"$as_dir" : 'X\(//\)$' \| \ 313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 314 $as_echo X"$as_dir" | 315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\/\)[^/].*/{ 320 s//\1/ 321 q 322 } 323 /^X\(\/\/\)$/{ 324 s//\1/ 325 q 326 } 327 /^X\(\/\).*/{ 328 s//\1/ 329 q 330 } 331 s/.*/./; q'` 332 test -d "$as_dir" && break 333 done 334 test -z "$as_dirs" || eval "mkdir $as_dirs" 335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 336 337 338 } # as_fn_mkdir_p 339 # as_fn_append VAR VALUE 340 # ---------------------- 341 # Append the text in VALUE to the end of the definition contained in VAR. Take 342 # advantage of any shell optimizations that allow amortized linear growth over 343 # repeated appends, instead of the typical quadratic growth present in naive 344 # implementations. 345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 346 eval 'as_fn_append () 347 { 348 eval $1+=\$2 349 }' 350 else 351 as_fn_append () 352 { 353 eval $1=\$$1\$2 354 } 355 fi # as_fn_append 356 357 # as_fn_arith ARG... 358 # ------------------ 359 # Perform arithmetic evaluation on the ARGs, and store the result in the 360 # global $as_val. Take advantage of shells that can avoid forks. The arguments 361 # must be portable across $(()) and expr. 362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 363 eval 'as_fn_arith () 364 { 365 as_val=$(( $* )) 366 }' 367 else 368 as_fn_arith () 369 { 370 as_val=`expr "$@" || test $? -eq 1` 371 } 372 fi # as_fn_arith 373 374 375 # as_fn_error STATUS ERROR [LINENO LOG_FD] 376 # ---------------------------------------- 377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 379 # script with STATUS, using 1 if that was 0. 380 as_fn_error () 381 { 382 as_status=$1; test $as_status -eq 0 && as_status=1 383 if test "$4"; then 384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 386 fi 387 $as_echo "$as_me: error: $2" >&2 388 as_fn_exit $as_status 389 } # as_fn_error 390 391 if expr a : '\(a\)' >/dev/null 2>&1 && 392 test "X`expr 00001 : '.*\(...\)'`" = X001; then 393 as_expr=expr 394 else 395 as_expr=false 396 fi 397 398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 399 as_basename=basename 400 else 401 as_basename=false 402 fi 403 404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 405 as_dirname=dirname 406 else 407 as_dirname=false 408 fi 409 410 as_me=`$as_basename -- "$0" || 411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 412 X"$0" : 'X\(//\)$' \| \ 413 X"$0" : 'X\(/\)' \| . 2>/dev/null || 414 $as_echo X/"$0" | 415 sed '/^.*\/\([^/][^/]*\)\/*$/{ 416 s//\1/ 417 q 418 } 419 /^X\/\(\/\/\)$/{ 420 s//\1/ 421 q 422 } 423 /^X\/\(\/\).*/{ 424 s//\1/ 425 q 426 } 427 s/.*/./; q'` 428 429 # Avoid depending upon Character Ranges. 430 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 433 as_cr_digits='0123456789' 434 as_cr_alnum=$as_cr_Letters$as_cr_digits 435 436 437 as_lineno_1=$LINENO as_lineno_1a=$LINENO 438 as_lineno_2=$LINENO as_lineno_2a=$LINENO 439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 442 sed -n ' 443 p 444 /[$]LINENO/= 445 ' <$as_myself | 446 sed ' 447 s/[$]LINENO.*/&-/ 448 t lineno 449 b 450 :lineno 451 N 452 :loop 453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 454 t loop 455 s/-\n.*// 456 ' >$as_me.lineno && 457 chmod +x "$as_me.lineno" || 458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 459 460 # Don't try to exec as it changes $[0], causing all sort of problems 461 # (the dirname of $[0] is not the place where we might find the 462 # original and so on. Autoconf is especially sensitive to this). 463 . "./$as_me.lineno" 464 # Exit status is that of the last command. 465 exit 466 } 467 468 ECHO_C= ECHO_N= ECHO_T= 469 case `echo -n x` in #((((( 470 -n*) 471 case `echo 'xy\c'` in 472 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 473 xy) ECHO_C='\c';; 474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 475 ECHO_T=' ';; 476 esac;; 477 *) 478 ECHO_N='-n';; 479 esac 480 481 rm -f conf$$ conf$$.exe conf$$.file 482 if test -d conf$$.dir; then 483 rm -f conf$$.dir/conf$$.file 484 else 485 rm -f conf$$.dir 486 mkdir conf$$.dir 2>/dev/null 487 fi 488 if (echo >conf$$.file) 2>/dev/null; then 489 if ln -s conf$$.file conf$$ 2>/dev/null; then 490 as_ln_s='ln -s' 491 # ... but there are two gotchas: 492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 494 # In both cases, we have to default to `cp -p'. 495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 496 as_ln_s='cp -p' 497 elif ln conf$$.file conf$$ 2>/dev/null; then 498 as_ln_s=ln 499 else 500 as_ln_s='cp -p' 501 fi 502 else 503 as_ln_s='cp -p' 504 fi 505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 506 rmdir conf$$.dir 2>/dev/null 507 508 if mkdir -p . 2>/dev/null; then 509 as_mkdir_p='mkdir -p "$as_dir"' 510 else 511 test -d ./-p && rmdir ./-p 512 as_mkdir_p=false 513 fi 514 515 if test -x / >/dev/null 2>&1; then 516 as_test_x='test -x' 517 else 518 if ls -dL / >/dev/null 2>&1; then 519 as_ls_L_option=L 520 else 521 as_ls_L_option= 522 fi 523 as_test_x=' 524 eval sh -c '\'' 525 if test -d "$1"; then 526 test -d "$1/."; 527 else 528 case $1 in #( 529 -*)set "./$1";; 530 esac; 531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 532 ???[sx]*):;;*)false;;esac;fi 533 '\'' sh 534 ' 535 fi 536 as_executable_p=$as_test_x 537 538 # Sed expression to map a string onto a valid CPP name. 539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 540 541 # Sed expression to map a string onto a valid variable name. 542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 543 544 SHELL=${CONFIG_SHELL-/bin/sh} 545 546 547 test -n "$DJDIR" || exec 7<&0 </dev/null 548 exec 6>&1 549 550 # Name of the host. 551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 552 # so uname gets run too. 553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 554 555 # 556 # Initializations. 557 # 558 ac_default_prefix=/usr/local 559 ac_clean_files= 560 ac_config_libobj_dir=. 561 LIBOBJS= 562 cross_compiling=no 563 subdirs= 564 MFLAGS= 565 MAKEFLAGS= 566 567 # Identity of this package. 568 PACKAGE_NAME= 569 PACKAGE_TARNAME= 570 PACKAGE_VERSION= 571 PACKAGE_STRING= 572 PACKAGE_BUGREPORT= 573 PACKAGE_URL= 574 575 ac_unique_file="libxslt/xslt.c" 576 # Factoring default headers for most tests. 577 ac_includes_default="\ 578 #include <stdio.h> 579 #ifdef HAVE_SYS_TYPES_H 580 # include <sys/types.h> 581 #endif 582 #ifdef HAVE_SYS_STAT_H 583 # include <sys/stat.h> 584 #endif 585 #ifdef STDC_HEADERS 586 # include <stdlib.h> 587 # include <stddef.h> 588 #else 589 # ifdef HAVE_STDLIB_H 590 # include <stdlib.h> 591 # endif 592 #endif 593 #ifdef HAVE_STRING_H 594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 595 # include <memory.h> 596 # endif 597 # include <string.h> 598 #endif 599 #ifdef HAVE_STRINGS_H 600 # include <strings.h> 601 #endif 602 #ifdef HAVE_INTTYPES_H 603 # include <inttypes.h> 604 #endif 605 #ifdef HAVE_STDINT_H 606 # include <stdint.h> 607 #endif 608 #ifdef HAVE_UNISTD_H 609 # include <unistd.h> 610 #endif" 611 612 ac_subst_vars='am__EXEEXT_FALSE 613 am__EXEEXT_TRUE 614 LTLIBOBJS 615 LIBOBJS 616 RELDATE 617 M_LIBS 618 EXTRA_LIBS 619 EXSLT_LIBS 620 EXSLT_INCLUDEDIR 621 EXSLT_LIBDIR 622 XSLT_LIBS 623 XSLT_INCLUDEDIR 624 XSLT_LIBDIR 625 PYTHON_SITE_PACKAGES 626 PYTHON_INCLUDES 627 PYTHON_VERSION 628 LIBXML_CFLAGS 629 LIBXML_LIBS 630 XML_CONFIG 631 PYTHONSODV 632 XSLTPROCDV 633 WIN32_EXTRA_LDFLAGS 634 WIN32_EXTRA_LIBADD 635 LIBXSLT_DEFAULT_PLUGINS_PATH 636 WITH_MODULES_FALSE 637 WITH_MODULES_TRUE 638 WITH_MODULES 639 LIBXML_REQUIRED_VERSION 640 LIBXML_SRC 641 WITH_DEBUGGER 642 WITH_MEM_DEBUG 643 WITH_XSLT_DEBUG 644 LIBGCRYPT_LIBS 645 LIBGCRYPT_CFLAGS 646 WITH_CRYPTO 647 LIBGCRYPT_CONFIG 648 PYTHON_LIBS 649 PYTHON_SUBDIR 650 pythondir 651 WITH_PYTHON_FALSE 652 WITH_PYTHON_TRUE 653 PYTHON 654 WITH_PERL_FALSE 655 WITH_PERL_TRUE 656 PERL 657 WITH_TRIO 658 XSLT_LOCALE_WINAPI 659 XSLT_LOCALE_XLOCALE 660 THREAD_LIBS 661 USE_VERSION_SCRIPT_FALSE 662 USE_VERSION_SCRIPT_TRUE 663 VERSION_SCRIPT_FLAGS 664 OTOOL64 665 OTOOL 666 LIPO 667 NMEDIT 668 DSYMUTIL 669 MANIFEST_TOOL 670 RANLIB 671 ac_ct_AR 672 AR 673 LN_S 674 NM 675 ac_ct_DUMPBIN 676 DUMPBIN 677 LD 678 FGREP 679 SED 680 LIBTOOL 681 OBJDUMP 682 DLLTOOL 683 AS 684 XSLTPROC 685 XMLLINT 686 TAR 687 MV 688 RM 689 HTML_DIR 690 AM_BACKSLASH 691 AM_DEFAULT_VERBOSITY 692 AM_DEFAULT_V 693 AM_V 694 am__fastdepCC_FALSE 695 am__fastdepCC_TRUE 696 CCDEPMODE 697 am__nodep 698 AMDEPBACKSLASH 699 AMDEP_FALSE 700 AMDEP_TRUE 701 am__quote 702 am__include 703 DEPDIR 704 am__untar 705 am__tar 706 AMTAR 707 am__leading_dot 708 SET_MAKE 709 AWK 710 mkdir_p 711 MKDIR_P 712 INSTALL_STRIP_PROGRAM 713 STRIP 714 install_sh 715 MAKEINFO 716 AUTOHEADER 717 AUTOMAKE 718 AUTOCONF 719 ACLOCAL 720 VERSION 721 PACKAGE 722 CYGPATH_W 723 am__isrc 724 INSTALL_DATA 725 INSTALL_SCRIPT 726 INSTALL_PROGRAM 727 LIBEXSLT_VERSION_EXTRA 728 LIBEXSLT_VERSION_NUMBER 729 LIBEXSLT_VERSION_INFO 730 LIBEXSLT_VERSION 731 LIBEXSLT_MICRO_VERSION 732 LIBEXSLT_MINOR_VERSION 733 LIBEXSLT_MAJOR_VERSION 734 LIBXSLT_MAJOR_MINOR_VERSION 735 LIBXSLT_VERSION_EXTRA 736 LIBXSLT_VERSION_NUMBER 737 LIBXSLT_VERSION_INFO 738 LIBXSLT_VERSION 739 LIBXSLT_MICRO_VERSION 740 LIBXSLT_MINOR_VERSION 741 LIBXSLT_MAJOR_VERSION 742 EGREP 743 GREP 744 CPP 745 OBJEXT 746 EXEEXT 747 ac_ct_CC 748 CPPFLAGS 749 LDFLAGS 750 CFLAGS 751 CC 752 host_os 753 host_vendor 754 host_cpu 755 host 756 build_os 757 build_vendor 758 build_cpu 759 build 760 target_alias 761 host_alias 762 build_alias 763 LIBS 764 ECHO_T 765 ECHO_N 766 ECHO_C 767 DEFS 768 mandir 769 localedir 770 libdir 771 psdir 772 pdfdir 773 dvidir 774 htmldir 775 infodir 776 docdir 777 oldincludedir 778 includedir 779 localstatedir 780 sharedstatedir 781 sysconfdir 782 datadir 783 datarootdir 784 libexecdir 785 sbindir 786 bindir 787 program_transform_name 788 prefix 789 exec_prefix 790 PACKAGE_URL 791 PACKAGE_BUGREPORT 792 PACKAGE_STRING 793 PACKAGE_VERSION 794 PACKAGE_TARNAME 795 PACKAGE_NAME 796 PATH_SEPARATOR 797 SHELL' 798 ac_subst_files='' 799 ac_user_opts=' 800 enable_option_checking 801 enable_dependency_tracking 802 enable_silent_rules 803 with_html_dir 804 with_html_subdir 805 enable_shared 806 enable_static 807 with_pic 808 enable_fast_install 809 with_gnu_ld 810 with_sysroot 811 enable_libtool_lock 812 with_python 813 with_crypto 814 with_debug 815 with_mem_debug 816 with_debugger 817 with_libxml_prefix 818 with_libxml_include_prefix 819 with_libxml_libs_prefix 820 with_libxml_src 821 with_plugins 822 ' 823 ac_precious_vars='build_alias 824 host_alias 825 target_alias 826 CC 827 CFLAGS 828 LDFLAGS 829 LIBS 830 CPPFLAGS 831 CPP' 832 833 834 # Initialize some variables set by options. 835 ac_init_help= 836 ac_init_version=false 837 ac_unrecognized_opts= 838 ac_unrecognized_sep= 839 # The variables have the same names as the options, with 840 # dashes changed to underlines. 841 cache_file=/dev/null 842 exec_prefix=NONE 843 no_create= 844 no_recursion= 845 prefix=NONE 846 program_prefix=NONE 847 program_suffix=NONE 848 program_transform_name=s,x,x, 849 silent= 850 site= 851 srcdir= 852 verbose= 853 x_includes=NONE 854 x_libraries=NONE 855 856 # Installation directory options. 857 # These are left unexpanded so users can "make install exec_prefix=/foo" 858 # and all the variables that are supposed to be based on exec_prefix 859 # by default will actually change. 860 # Use braces instead of parens because sh, perl, etc. also accept them. 861 # (The list follows the same order as the GNU Coding Standards.) 862 bindir='${exec_prefix}/bin' 863 sbindir='${exec_prefix}/sbin' 864 libexecdir='${exec_prefix}/libexec' 865 datarootdir='${prefix}/share' 866 datadir='${datarootdir}' 867 sysconfdir='${prefix}/etc' 868 sharedstatedir='${prefix}/com' 869 localstatedir='${prefix}/var' 870 includedir='${prefix}/include' 871 oldincludedir='/usr/include' 872 docdir='${datarootdir}/doc/${PACKAGE}' 873 infodir='${datarootdir}/info' 874 htmldir='${docdir}' 875 dvidir='${docdir}' 876 pdfdir='${docdir}' 877 psdir='${docdir}' 878 libdir='${exec_prefix}/lib' 879 localedir='${datarootdir}/locale' 880 mandir='${datarootdir}/man' 881 882 ac_prev= 883 ac_dashdash= 884 for ac_option 885 do 886 # If the previous option needs an argument, assign it. 887 if test -n "$ac_prev"; then 888 eval $ac_prev=\$ac_option 889 ac_prev= 890 continue 891 fi 892 893 case $ac_option in 894 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 895 *=) ac_optarg= ;; 896 *) ac_optarg=yes ;; 897 esac 898 899 # Accept the important Cygnus configure options, so we can diagnose typos. 900 901 case $ac_dashdash$ac_option in 902 --) 903 ac_dashdash=yes ;; 904 905 -bindir | --bindir | --bindi | --bind | --bin | --bi) 906 ac_prev=bindir ;; 907 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 908 bindir=$ac_optarg ;; 909 910 -build | --build | --buil | --bui | --bu) 911 ac_prev=build_alias ;; 912 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 913 build_alias=$ac_optarg ;; 914 915 -cache-file | --cache-file | --cache-fil | --cache-fi \ 916 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 917 ac_prev=cache_file ;; 918 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 919 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 920 cache_file=$ac_optarg ;; 921 922 --config-cache | -C) 923 cache_file=config.cache ;; 924 925 -datadir | --datadir | --datadi | --datad) 926 ac_prev=datadir ;; 927 -datadir=* | --datadir=* | --datadi=* | --datad=*) 928 datadir=$ac_optarg ;; 929 930 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 931 | --dataroo | --dataro | --datar) 932 ac_prev=datarootdir ;; 933 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 934 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 935 datarootdir=$ac_optarg ;; 936 937 -disable-* | --disable-*) 938 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 939 # Reject names that are not valid shell variable names. 940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 941 as_fn_error $? "invalid feature name: $ac_useropt" 942 ac_useropt_orig=$ac_useropt 943 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 944 case $ac_user_opts in 945 *" 946 "enable_$ac_useropt" 947 "*) ;; 948 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 949 ac_unrecognized_sep=', ';; 950 esac 951 eval enable_$ac_useropt=no ;; 952 953 -docdir | --docdir | --docdi | --doc | --do) 954 ac_prev=docdir ;; 955 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 956 docdir=$ac_optarg ;; 957 958 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 959 ac_prev=dvidir ;; 960 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 961 dvidir=$ac_optarg ;; 962 963 -enable-* | --enable-*) 964 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 965 # Reject names that are not valid shell variable names. 966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 967 as_fn_error $? "invalid feature name: $ac_useropt" 968 ac_useropt_orig=$ac_useropt 969 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 970 case $ac_user_opts in 971 *" 972 "enable_$ac_useropt" 973 "*) ;; 974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 975 ac_unrecognized_sep=', ';; 976 esac 977 eval enable_$ac_useropt=\$ac_optarg ;; 978 979 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 980 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 981 | --exec | --exe | --ex) 982 ac_prev=exec_prefix ;; 983 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 984 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 985 | --exec=* | --exe=* | --ex=*) 986 exec_prefix=$ac_optarg ;; 987 988 -gas | --gas | --ga | --g) 989 # Obsolete; use --with-gas. 990 with_gas=yes ;; 991 992 -help | --help | --hel | --he | -h) 993 ac_init_help=long ;; 994 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 995 ac_init_help=recursive ;; 996 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 997 ac_init_help=short ;; 998 999 -host | --host | --hos | --ho) 1000 ac_prev=host_alias ;; 1001 -host=* | --host=* | --hos=* | --ho=*) 1002 host_alias=$ac_optarg ;; 1003 1004 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1005 ac_prev=htmldir ;; 1006 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1007 | --ht=*) 1008 htmldir=$ac_optarg ;; 1009 1010 -includedir | --includedir | --includedi | --included | --include \ 1011 | --includ | --inclu | --incl | --inc) 1012 ac_prev=includedir ;; 1013 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1014 | --includ=* | --inclu=* | --incl=* | --inc=*) 1015 includedir=$ac_optarg ;; 1016 1017 -infodir | --infodir | --infodi | --infod | --info | --inf) 1018 ac_prev=infodir ;; 1019 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1020 infodir=$ac_optarg ;; 1021 1022 -libdir | --libdir | --libdi | --libd) 1023 ac_prev=libdir ;; 1024 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1025 libdir=$ac_optarg ;; 1026 1027 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1028 | --libexe | --libex | --libe) 1029 ac_prev=libexecdir ;; 1030 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1031 | --libexe=* | --libex=* | --libe=*) 1032 libexecdir=$ac_optarg ;; 1033 1034 -localedir | --localedir | --localedi | --localed | --locale) 1035 ac_prev=localedir ;; 1036 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1037 localedir=$ac_optarg ;; 1038 1039 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1040 | --localstate | --localstat | --localsta | --localst | --locals) 1041 ac_prev=localstatedir ;; 1042 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1043 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1044 localstatedir=$ac_optarg ;; 1045 1046 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1047 ac_prev=mandir ;; 1048 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1049 mandir=$ac_optarg ;; 1050 1051 -nfp | --nfp | --nf) 1052 # Obsolete; use --without-fp. 1053 with_fp=no ;; 1054 1055 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1056 | --no-cr | --no-c | -n) 1057 no_create=yes ;; 1058 1059 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1060 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1061 no_recursion=yes ;; 1062 1063 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1064 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1065 | --oldin | --oldi | --old | --ol | --o) 1066 ac_prev=oldincludedir ;; 1067 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1068 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1069 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1070 oldincludedir=$ac_optarg ;; 1071 1072 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1073 ac_prev=prefix ;; 1074 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1075 prefix=$ac_optarg ;; 1076 1077 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1078 | --program-pre | --program-pr | --program-p) 1079 ac_prev=program_prefix ;; 1080 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1081 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1082 program_prefix=$ac_optarg ;; 1083 1084 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1085 | --program-suf | --program-su | --program-s) 1086 ac_prev=program_suffix ;; 1087 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1088 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1089 program_suffix=$ac_optarg ;; 1090 1091 -program-transform-name | --program-transform-name \ 1092 | --program-transform-nam | --program-transform-na \ 1093 | --program-transform-n | --program-transform- \ 1094 | --program-transform | --program-transfor \ 1095 | --program-transfo | --program-transf \ 1096 | --program-trans | --program-tran \ 1097 | --progr-tra | --program-tr | --program-t) 1098 ac_prev=program_transform_name ;; 1099 -program-transform-name=* | --program-transform-name=* \ 1100 | --program-transform-nam=* | --program-transform-na=* \ 1101 | --program-transform-n=* | --program-transform-=* \ 1102 | --program-transform=* | --program-transfor=* \ 1103 | --program-transfo=* | --program-transf=* \ 1104 | --program-trans=* | --program-tran=* \ 1105 | --progr-tra=* | --program-tr=* | --program-t=*) 1106 program_transform_name=$ac_optarg ;; 1107 1108 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1109 ac_prev=pdfdir ;; 1110 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1111 pdfdir=$ac_optarg ;; 1112 1113 -psdir | --psdir | --psdi | --psd | --ps) 1114 ac_prev=psdir ;; 1115 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1116 psdir=$ac_optarg ;; 1117 1118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1119 | -silent | --silent | --silen | --sile | --sil) 1120 silent=yes ;; 1121 1122 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1123 ac_prev=sbindir ;; 1124 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1125 | --sbi=* | --sb=*) 1126 sbindir=$ac_optarg ;; 1127 1128 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1129 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1130 | --sharedst | --shareds | --shared | --share | --shar \ 1131 | --sha | --sh) 1132 ac_prev=sharedstatedir ;; 1133 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1134 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1135 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1136 | --sha=* | --sh=*) 1137 sharedstatedir=$ac_optarg ;; 1138 1139 -site | --site | --sit) 1140 ac_prev=site ;; 1141 -site=* | --site=* | --sit=*) 1142 site=$ac_optarg ;; 1143 1144 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1145 ac_prev=srcdir ;; 1146 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1147 srcdir=$ac_optarg ;; 1148 1149 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1150 | --syscon | --sysco | --sysc | --sys | --sy) 1151 ac_prev=sysconfdir ;; 1152 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1153 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1154 sysconfdir=$ac_optarg ;; 1155 1156 -target | --target | --targe | --targ | --tar | --ta | --t) 1157 ac_prev=target_alias ;; 1158 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1159 target_alias=$ac_optarg ;; 1160 1161 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1162 verbose=yes ;; 1163 1164 -version | --version | --versio | --versi | --vers | -V) 1165 ac_init_version=: ;; 1166 1167 -with-* | --with-*) 1168 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1169 # Reject names that are not valid shell variable names. 1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1171 as_fn_error $? "invalid package name: $ac_useropt" 1172 ac_useropt_orig=$ac_useropt 1173 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1174 case $ac_user_opts in 1175 *" 1176 "with_$ac_useropt" 1177 "*) ;; 1178 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1179 ac_unrecognized_sep=', ';; 1180 esac 1181 eval with_$ac_useropt=\$ac_optarg ;; 1182 1183 -without-* | --without-*) 1184 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1185 # Reject names that are not valid shell variable names. 1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1187 as_fn_error $? "invalid package name: $ac_useropt" 1188 ac_useropt_orig=$ac_useropt 1189 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1190 case $ac_user_opts in 1191 *" 1192 "with_$ac_useropt" 1193 "*) ;; 1194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1195 ac_unrecognized_sep=', ';; 1196 esac 1197 eval with_$ac_useropt=no ;; 1198 1199 --x) 1200 # Obsolete; use --with-x. 1201 with_x=yes ;; 1202 1203 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1204 | --x-incl | --x-inc | --x-in | --x-i) 1205 ac_prev=x_includes ;; 1206 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1207 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1208 x_includes=$ac_optarg ;; 1209 1210 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1211 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1212 ac_prev=x_libraries ;; 1213 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1214 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1215 x_libraries=$ac_optarg ;; 1216 1217 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1218 Try \`$0 --help' for more information" 1219 ;; 1220 1221 *=*) 1222 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1223 # Reject names that are not valid shell variable names. 1224 case $ac_envvar in #( 1225 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1226 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1227 esac 1228 eval $ac_envvar=\$ac_optarg 1229 export $ac_envvar ;; 1230 1231 *) 1232 # FIXME: should be removed in autoconf 3.0. 1233 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1234 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1235 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1236 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1237 ;; 1238 1239 esac 1240 done 1241 1242 if test -n "$ac_prev"; then 1243 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1244 as_fn_error $? "missing argument to $ac_option" 1245 fi 1246 1247 if test -n "$ac_unrecognized_opts"; then 1248 case $enable_option_checking in 1249 no) ;; 1250 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1251 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1252 esac 1253 fi 1254 1255 # Check all directory arguments for consistency. 1256 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1257 datadir sysconfdir sharedstatedir localstatedir includedir \ 1258 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1259 libdir localedir mandir 1260 do 1261 eval ac_val=\$$ac_var 1262 # Remove trailing slashes. 1263 case $ac_val in 1264 */ ) 1265 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1266 eval $ac_var=\$ac_val;; 1267 esac 1268 # Be sure to have absolute directory names. 1269 case $ac_val in 1270 [\\/$]* | ?:[\\/]* ) continue;; 1271 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1272 esac 1273 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1274 done 1275 1276 # There might be people who depend on the old broken behavior: `$host' 1277 # used to hold the argument of --host etc. 1278 # FIXME: To remove some day. 1279 build=$build_alias 1280 host=$host_alias 1281 target=$target_alias 1282 1283 # FIXME: To remove some day. 1284 if test "x$host_alias" != x; then 1285 if test "x$build_alias" = x; then 1286 cross_compiling=maybe 1287 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1288 If a cross compiler is detected then cross compile mode will be used" >&2 1289 elif test "x$build_alias" != "x$host_alias"; then 1290 cross_compiling=yes 1291 fi 1292 fi 1293 1294 ac_tool_prefix= 1295 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1296 1297 test "$silent" = yes && exec 6>/dev/null 1298 1299 1300 ac_pwd=`pwd` && test -n "$ac_pwd" && 1301 ac_ls_di=`ls -di .` && 1302 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1303 as_fn_error $? "working directory cannot be determined" 1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1305 as_fn_error $? "pwd does not report name of working directory" 1306 1307 1308 # Find the source files, if location was not specified. 1309 if test -z "$srcdir"; then 1310 ac_srcdir_defaulted=yes 1311 # Try the directory containing this script, then the parent directory. 1312 ac_confdir=`$as_dirname -- "$as_myself" || 1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1314 X"$as_myself" : 'X\(//\)[^/]' \| \ 1315 X"$as_myself" : 'X\(//\)$' \| \ 1316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1317 $as_echo X"$as_myself" | 1318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1319 s//\1/ 1320 q 1321 } 1322 /^X\(\/\/\)[^/].*/{ 1323 s//\1/ 1324 q 1325 } 1326 /^X\(\/\/\)$/{ 1327 s//\1/ 1328 q 1329 } 1330 /^X\(\/\).*/{ 1331 s//\1/ 1332 q 1333 } 1334 s/.*/./; q'` 1335 srcdir=$ac_confdir 1336 if test ! -r "$srcdir/$ac_unique_file"; then 1337 srcdir=.. 1338 fi 1339 else 1340 ac_srcdir_defaulted=no 1341 fi 1342 if test ! -r "$srcdir/$ac_unique_file"; then 1343 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1344 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1345 fi 1346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1347 ac_abs_confdir=`( 1348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1349 pwd)` 1350 # When building in place, set srcdir=. 1351 if test "$ac_abs_confdir" = "$ac_pwd"; then 1352 srcdir=. 1353 fi 1354 # Remove unnecessary trailing slashes from srcdir. 1355 # Double slashes in file names in object file debugging info 1356 # mess up M-x gdb in Emacs. 1357 case $srcdir in 1358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1359 esac 1360 for ac_var in $ac_precious_vars; do 1361 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1362 eval ac_env_${ac_var}_value=\$${ac_var} 1363 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1364 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1365 done 1366 1367 # 1368 # Report the --help message. 1369 # 1370 if test "$ac_init_help" = "long"; then 1371 # Omit some internal or obsolete options to make the list less imposing. 1372 # This message is too long to be a string in the A/UX 3.1 sh. 1373 cat <<_ACEOF 1374 \`configure' configures this package to adapt to many kinds of systems. 1375 1376 Usage: $0 [OPTION]... [VAR=VALUE]... 1377 1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1379 VAR=VALUE. See below for descriptions of some of the useful variables. 1380 1381 Defaults for the options are specified in brackets. 1382 1383 Configuration: 1384 -h, --help display this help and exit 1385 --help=short display options specific to this package 1386 --help=recursive display the short help of all the included packages 1387 -V, --version display version information and exit 1388 -q, --quiet, --silent do not print \`checking ...' messages 1389 --cache-file=FILE cache test results in FILE [disabled] 1390 -C, --config-cache alias for \`--cache-file=config.cache' 1391 -n, --no-create do not create output files 1392 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1393 1394 Installation directories: 1395 --prefix=PREFIX install architecture-independent files in PREFIX 1396 [$ac_default_prefix] 1397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1398 [PREFIX] 1399 1400 By default, \`make install' will install all the files in 1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1403 for instance \`--prefix=\$HOME'. 1404 1405 For better control, use the options below. 1406 1407 Fine tuning of the installation directories: 1408 --bindir=DIR user executables [EPREFIX/bin] 1409 --sbindir=DIR system admin executables [EPREFIX/sbin] 1410 --libexecdir=DIR program executables [EPREFIX/libexec] 1411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1413 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1414 --libdir=DIR object code libraries [EPREFIX/lib] 1415 --includedir=DIR C header files [PREFIX/include] 1416 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1419 --infodir=DIR info documentation [DATAROOTDIR/info] 1420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1421 --mandir=DIR man documentation [DATAROOTDIR/man] 1422 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1423 --htmldir=DIR html documentation [DOCDIR] 1424 --dvidir=DIR dvi documentation [DOCDIR] 1425 --pdfdir=DIR pdf documentation [DOCDIR] 1426 --psdir=DIR ps documentation [DOCDIR] 1427 _ACEOF 1428 1429 cat <<\_ACEOF 1430 1431 Program names: 1432 --program-prefix=PREFIX prepend PREFIX to installed program names 1433 --program-suffix=SUFFIX append SUFFIX to installed program names 1434 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1435 1436 System types: 1437 --build=BUILD configure for building on BUILD [guessed] 1438 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1439 _ACEOF 1440 fi 1441 1442 if test -n "$ac_init_help"; then 1443 1444 cat <<\_ACEOF 1445 1446 Optional Features: 1447 --disable-option-checking ignore unrecognized --enable/--with options 1448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1450 --disable-dependency-tracking speeds up one-time build 1451 --enable-dependency-tracking do not reject slow dependency extractors 1452 --enable-silent-rules less verbose build output (undo: `make V=1') 1453 --disable-silent-rules verbose build output (undo: `make V=0') 1454 --enable-shared[=PKGS] build shared libraries [default=yes] 1455 --enable-static[=PKGS] build static libraries [default=yes] 1456 --enable-fast-install[=PKGS] 1457 optimize for fast installation [default=yes] 1458 --disable-libtool-lock avoid locking (might break parallel builds) 1459 1460 Optional Packages: 1461 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1462 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1463 --with-html-dir=path path to base html directory, default 1464 $datadir/doc/html 1465 --with-html-subdir=path directory used under html-dir, default 1466 $PACKAGE-$VERSION/html 1467 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1468 both] 1469 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1470 --with-sysroot=DIR Search for dependent libraries within DIR 1471 (or the compiler's sysroot if not specified). 1472 --with-python=DIR Build Python bindings if found 1473 --with-crypto Add crypto support to exslt (on) 1474 --with-debug Add the debugging code (on) 1475 --with-mem-debug Add the memory debugging module (off) 1476 --with-debugger Add the debugging support (on) 1477 --with-libxml-prefix=PFX Specify location of libxml config 1478 --with-libxml-include-prefix=PFX Specify location of libxml headers 1479 --with-libxml-libs-prefix=PFX Specify location of libxml libs 1480 --with-libxml-src=DIR For libxml thats not installed yet (sets all three above) 1481 --with-plugins Add plugin extension support (on) 1482 1483 Some influential environment variables: 1484 CC C compiler command 1485 CFLAGS C compiler flags 1486 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1487 nonstandard directory <lib dir> 1488 LIBS libraries to pass to the linker, e.g. -l<library> 1489 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1490 you have headers in a nonstandard directory <include dir> 1491 CPP C preprocessor 1492 1493 Use these variables to override the choices made by `configure' or to help 1494 it to find libraries and programs with nonstandard names/locations. 1495 1496 Report bugs to the package provider. 1497 _ACEOF 1498 ac_status=$? 1499 fi 1500 1501 if test "$ac_init_help" = "recursive"; then 1502 # If there are subdirs, report their specific --help. 1503 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1504 test -d "$ac_dir" || 1505 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1506 continue 1507 ac_builddir=. 1508 1509 case "$ac_dir" in 1510 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1511 *) 1512 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1513 # A ".." for each directory in $ac_dir_suffix. 1514 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1515 case $ac_top_builddir_sub in 1516 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1517 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1518 esac ;; 1519 esac 1520 ac_abs_top_builddir=$ac_pwd 1521 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1522 # for backward compatibility: 1523 ac_top_builddir=$ac_top_build_prefix 1524 1525 case $srcdir in 1526 .) # We are building in place. 1527 ac_srcdir=. 1528 ac_top_srcdir=$ac_top_builddir_sub 1529 ac_abs_top_srcdir=$ac_pwd ;; 1530 [\\/]* | ?:[\\/]* ) # Absolute name. 1531 ac_srcdir=$srcdir$ac_dir_suffix; 1532 ac_top_srcdir=$srcdir 1533 ac_abs_top_srcdir=$srcdir ;; 1534 *) # Relative name. 1535 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1536 ac_top_srcdir=$ac_top_build_prefix$srcdir 1537 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1538 esac 1539 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1540 1541 cd "$ac_dir" || { ac_status=$?; continue; } 1542 # Check for guested configure. 1543 if test -f "$ac_srcdir/configure.gnu"; then 1544 echo && 1545 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1546 elif test -f "$ac_srcdir/configure"; then 1547 echo && 1548 $SHELL "$ac_srcdir/configure" --help=recursive 1549 else 1550 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1551 fi || ac_status=$? 1552 cd "$ac_pwd" || { ac_status=$?; break; } 1553 done 1554 fi 1555 1556 test -n "$ac_init_help" && exit $ac_status 1557 if $ac_init_version; then 1558 cat <<\_ACEOF 1559 configure 1560 generated by GNU Autoconf 2.68 1561 1562 Copyright (C) 2010 Free Software Foundation, Inc. 1563 This configure script is free software; the Free Software Foundation 1564 gives unlimited permission to copy, distribute and modify it. 1565 _ACEOF 1566 exit 1567 fi 1568 1569 ## ------------------------ ## 1570 ## Autoconf initialization. ## 1571 ## ------------------------ ## 1572 1573 # ac_fn_c_try_compile LINENO 1574 # -------------------------- 1575 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1576 ac_fn_c_try_compile () 1577 { 1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1579 rm -f conftest.$ac_objext 1580 if { { ac_try="$ac_compile" 1581 case "(($ac_try" in 1582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1583 *) ac_try_echo=$ac_try;; 1584 esac 1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1586 $as_echo "$ac_try_echo"; } >&5 1587 (eval "$ac_compile") 2>conftest.err 1588 ac_status=$? 1589 if test -s conftest.err; then 1590 grep -v '^ *+' conftest.err >conftest.er1 1591 cat conftest.er1 >&5 1592 mv -f conftest.er1 conftest.err 1593 fi 1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1595 test $ac_status = 0; } && { 1596 test -z "$ac_c_werror_flag" || 1597 test ! -s conftest.err 1598 } && test -s conftest.$ac_objext; then : 1599 ac_retval=0 1600 else 1601 $as_echo "$as_me: failed program was:" >&5 1602 sed 's/^/| /' conftest.$ac_ext >&5 1603 1604 ac_retval=1 1605 fi 1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1607 as_fn_set_status $ac_retval 1608 1609 } # ac_fn_c_try_compile 1610 1611 # ac_fn_c_try_cpp LINENO 1612 # ---------------------- 1613 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1614 ac_fn_c_try_cpp () 1615 { 1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1617 if { { ac_try="$ac_cpp conftest.$ac_ext" 1618 case "(($ac_try" in 1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1620 *) ac_try_echo=$ac_try;; 1621 esac 1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1623 $as_echo "$ac_try_echo"; } >&5 1624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1625 ac_status=$? 1626 if test -s conftest.err; then 1627 grep -v '^ *+' conftest.err >conftest.er1 1628 cat conftest.er1 >&5 1629 mv -f conftest.er1 conftest.err 1630 fi 1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1632 test $ac_status = 0; } > conftest.i && { 1633 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1634 test ! -s conftest.err 1635 }; then : 1636 ac_retval=0 1637 else 1638 $as_echo "$as_me: failed program was:" >&5 1639 sed 's/^/| /' conftest.$ac_ext >&5 1640 1641 ac_retval=1 1642 fi 1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1644 as_fn_set_status $ac_retval 1645 1646 } # ac_fn_c_try_cpp 1647 1648 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1649 # ------------------------------------------------------- 1650 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1651 # the include files in INCLUDES and setting the cache variable VAR 1652 # accordingly. 1653 ac_fn_c_check_header_mongrel () 1654 { 1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1656 if eval \${$3+:} false; then : 1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1658 $as_echo_n "checking for $2... " >&6; } 1659 if eval \${$3+:} false; then : 1660 $as_echo_n "(cached) " >&6 1661 fi 1662 eval ac_res=\$$3 1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1664 $as_echo "$ac_res" >&6; } 1665 else 1666 # Is the header compilable? 1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1668 $as_echo_n "checking $2 usability... " >&6; } 1669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1670 /* end confdefs.h. */ 1671 $4 1672 #include <$2> 1673 _ACEOF 1674 if ac_fn_c_try_compile "$LINENO"; then : 1675 ac_header_compiler=yes 1676 else 1677 ac_header_compiler=no 1678 fi 1679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1681 $as_echo "$ac_header_compiler" >&6; } 1682 1683 # Is the header present? 1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1685 $as_echo_n "checking $2 presence... " >&6; } 1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1687 /* end confdefs.h. */ 1688 #include <$2> 1689 _ACEOF 1690 if ac_fn_c_try_cpp "$LINENO"; then : 1691 ac_header_preproc=yes 1692 else 1693 ac_header_preproc=no 1694 fi 1695 rm -f conftest.err conftest.i conftest.$ac_ext 1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1697 $as_echo "$ac_header_preproc" >&6; } 1698 1699 # So? What about this header? 1700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1701 yes:no: ) 1702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1703 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1705 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1706 ;; 1707 no:yes:* ) 1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1709 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1711 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1713 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1715 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1717 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1718 ;; 1719 esac 1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1721 $as_echo_n "checking for $2... " >&6; } 1722 if eval \${$3+:} false; then : 1723 $as_echo_n "(cached) " >&6 1724 else 1725 eval "$3=\$ac_header_compiler" 1726 fi 1727 eval ac_res=\$$3 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1729 $as_echo "$ac_res" >&6; } 1730 fi 1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1732 1733 } # ac_fn_c_check_header_mongrel 1734 1735 # ac_fn_c_try_run LINENO 1736 # ---------------------- 1737 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1738 # that executables *can* be run. 1739 ac_fn_c_try_run () 1740 { 1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1742 if { { ac_try="$ac_link" 1743 case "(($ac_try" in 1744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1745 *) ac_try_echo=$ac_try;; 1746 esac 1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1748 $as_echo "$ac_try_echo"; } >&5 1749 (eval "$ac_link") 2>&5 1750 ac_status=$? 1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1752 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1753 { { case "(($ac_try" in 1754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1755 *) ac_try_echo=$ac_try;; 1756 esac 1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1758 $as_echo "$ac_try_echo"; } >&5 1759 (eval "$ac_try") 2>&5 1760 ac_status=$? 1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1762 test $ac_status = 0; }; }; then : 1763 ac_retval=0 1764 else 1765 $as_echo "$as_me: program exited with status $ac_status" >&5 1766 $as_echo "$as_me: failed program was:" >&5 1767 sed 's/^/| /' conftest.$ac_ext >&5 1768 1769 ac_retval=$ac_status 1770 fi 1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1773 as_fn_set_status $ac_retval 1774 1775 } # ac_fn_c_try_run 1776 1777 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1778 # ------------------------------------------------------- 1779 # Tests whether HEADER exists and can be compiled using the include files in 1780 # INCLUDES, setting the cache variable VAR accordingly. 1781 ac_fn_c_check_header_compile () 1782 { 1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1785 $as_echo_n "checking for $2... " >&6; } 1786 if eval \${$3+:} false; then : 1787 $as_echo_n "(cached) " >&6 1788 else 1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1790 /* end confdefs.h. */ 1791 $4 1792 #include <$2> 1793 _ACEOF 1794 if ac_fn_c_try_compile "$LINENO"; then : 1795 eval "$3=yes" 1796 else 1797 eval "$3=no" 1798 fi 1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1800 fi 1801 eval ac_res=\$$3 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1803 $as_echo "$ac_res" >&6; } 1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1805 1806 } # ac_fn_c_check_header_compile 1807 1808 # ac_fn_c_try_link LINENO 1809 # ----------------------- 1810 # Try to link conftest.$ac_ext, and return whether this succeeded. 1811 ac_fn_c_try_link () 1812 { 1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1814 rm -f conftest.$ac_objext conftest$ac_exeext 1815 if { { ac_try="$ac_link" 1816 case "(($ac_try" in 1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1818 *) ac_try_echo=$ac_try;; 1819 esac 1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1821 $as_echo "$ac_try_echo"; } >&5 1822 (eval "$ac_link") 2>conftest.err 1823 ac_status=$? 1824 if test -s conftest.err; then 1825 grep -v '^ *+' conftest.err >conftest.er1 1826 cat conftest.er1 >&5 1827 mv -f conftest.er1 conftest.err 1828 fi 1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1830 test $ac_status = 0; } && { 1831 test -z "$ac_c_werror_flag" || 1832 test ! -s conftest.err 1833 } && test -s conftest$ac_exeext && { 1834 test "$cross_compiling" = yes || 1835 $as_test_x conftest$ac_exeext 1836 }; then : 1837 ac_retval=0 1838 else 1839 $as_echo "$as_me: failed program was:" >&5 1840 sed 's/^/| /' conftest.$ac_ext >&5 1841 1842 ac_retval=1 1843 fi 1844 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1845 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1846 # interfere with the next link command; also delete a directory that is 1847 # left behind by Apple's compiler. We do this before executing the actions. 1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1850 as_fn_set_status $ac_retval 1851 1852 } # ac_fn_c_try_link 1853 1854 # ac_fn_c_check_func LINENO FUNC VAR 1855 # ---------------------------------- 1856 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1857 ac_fn_c_check_func () 1858 { 1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1861 $as_echo_n "checking for $2... " >&6; } 1862 if eval \${$3+:} false; then : 1863 $as_echo_n "(cached) " >&6 1864 else 1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1866 /* end confdefs.h. */ 1867 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1868 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1869 #define $2 innocuous_$2 1870 1871 /* System header to define __stub macros and hopefully few prototypes, 1872 which can conflict with char $2 (); below. 1873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1874 <limits.h> exists even on freestanding compilers. */ 1875 1876 #ifdef __STDC__ 1877 # include <limits.h> 1878 #else 1879 # include <assert.h> 1880 #endif 1881 1882 #undef $2 1883 1884 /* Override any GCC internal prototype to avoid an error. 1885 Use char because int might match the return type of a GCC 1886 builtin and then its argument prototype would still apply. */ 1887 #ifdef __cplusplus 1888 extern "C" 1889 #endif 1890 char $2 (); 1891 /* The GNU C library defines this for functions which it implements 1892 to always fail with ENOSYS. Some functions are actually named 1893 something starting with __ and the normal name is an alias. */ 1894 #if defined __stub_$2 || defined __stub___$2 1895 choke me 1896 #endif 1897 1898 int 1899 main () 1900 { 1901 return $2 (); 1902 ; 1903 return 0; 1904 } 1905 _ACEOF 1906 if ac_fn_c_try_link "$LINENO"; then : 1907 eval "$3=yes" 1908 else 1909 eval "$3=no" 1910 fi 1911 rm -f core conftest.err conftest.$ac_objext \ 1912 conftest$ac_exeext conftest.$ac_ext 1913 fi 1914 eval ac_res=\$$3 1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1916 $as_echo "$ac_res" >&6; } 1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1918 1919 } # ac_fn_c_check_func 1920 cat >config.log <<_ACEOF 1921 This file contains any messages produced by compilers while 1922 running configure, to aid debugging if configure makes a mistake. 1923 1924 It was created by $as_me, which was 1925 generated by GNU Autoconf 2.68. Invocation command line was 1926 1927 $ $0 $@ 1928 1929 _ACEOF 1930 exec 5>>config.log 1931 { 1932 cat <<_ASUNAME 1933 ## --------- ## 1934 ## Platform. ## 1935 ## --------- ## 1936 1937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1938 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1939 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1940 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1941 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1942 1943 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1944 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1945 1946 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1947 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1948 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1949 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1950 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1951 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1952 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1953 1954 _ASUNAME 1955 1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1957 for as_dir in $PATH 1958 do 1959 IFS=$as_save_IFS 1960 test -z "$as_dir" && as_dir=. 1961 $as_echo "PATH: $as_dir" 1962 done 1963 IFS=$as_save_IFS 1964 1965 } >&5 1966 1967 cat >&5 <<_ACEOF 1968 1969 1970 ## ----------- ## 1971 ## Core tests. ## 1972 ## ----------- ## 1973 1974 _ACEOF 1975 1976 1977 # Keep a trace of the command line. 1978 # Strip out --no-create and --no-recursion so they do not pile up. 1979 # Strip out --silent because we don't want to record it for future runs. 1980 # Also quote any args containing shell meta-characters. 1981 # Make two passes to allow for proper duplicate-argument suppression. 1982 ac_configure_args= 1983 ac_configure_args0= 1984 ac_configure_args1= 1985 ac_must_keep_next=false 1986 for ac_pass in 1 2 1987 do 1988 for ac_arg 1989 do 1990 case $ac_arg in 1991 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1993 | -silent | --silent | --silen | --sile | --sil) 1994 continue ;; 1995 *\'*) 1996 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1997 esac 1998 case $ac_pass in 1999 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2000 2) 2001 as_fn_append ac_configure_args1 " '$ac_arg'" 2002 if test $ac_must_keep_next = true; then 2003 ac_must_keep_next=false # Got value, back to normal. 2004 else 2005 case $ac_arg in 2006 *=* | --config-cache | -C | -disable-* | --disable-* \ 2007 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2008 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2009 | -with-* | --with-* | -without-* | --without-* | --x) 2010 case "$ac_configure_args0 " in 2011 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2012 esac 2013 ;; 2014 -* ) ac_must_keep_next=true ;; 2015 esac 2016 fi 2017 as_fn_append ac_configure_args " '$ac_arg'" 2018 ;; 2019 esac 2020 done 2021 done 2022 { ac_configure_args0=; unset ac_configure_args0;} 2023 { ac_configure_args1=; unset ac_configure_args1;} 2024 2025 # When interrupted or exit'd, cleanup temporary files, and complete 2026 # config.log. We remove comments because anyway the quotes in there 2027 # would cause problems or look ugly. 2028 # WARNING: Use '\'' to represent an apostrophe within the trap. 2029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2030 trap 'exit_status=$? 2031 # Save into config.log some information that might help in debugging. 2032 { 2033 echo 2034 2035 $as_echo "## ---------------- ## 2036 ## Cache variables. ## 2037 ## ---------------- ##" 2038 echo 2039 # The following way of writing the cache mishandles newlines in values, 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 2056 (set) 2>&1 | 2057 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2058 *${as_nl}ac_space=\ *) 2059 sed -n \ 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" 2065 ;; 2066 esac | 2067 sort 2068 ) 2069 echo 2070 2071 $as_echo "## ----------------- ## 2072 ## Output variables. ## 2073 ## ----------------- ##" 2074 echo 2075 for ac_var in $ac_subst_vars 2076 do 2077 eval ac_val=\$$ac_var 2078 case $ac_val in 2079 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2080 esac 2081 $as_echo "$ac_var='\''$ac_val'\''" 2082 done | sort 2083 echo 2084 2085 if test -n "$ac_subst_files"; then 2086 $as_echo "## ------------------- ## 2087 ## File substitutions. ## 2088 ## ------------------- ##" 2089 echo 2090 for ac_var in $ac_subst_files 2091 do 2092 eval ac_val=\$$ac_var 2093 case $ac_val in 2094 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2095 esac 2096 $as_echo "$ac_var='\''$ac_val'\''" 2097 done | sort 2098 echo 2099 fi 2100 2101 if test -s confdefs.h; then 2102 $as_echo "## ----------- ## 2103 ## confdefs.h. ## 2104 ## ----------- ##" 2105 echo 2106 cat confdefs.h 2107 echo 2108 fi 2109 test "$ac_signal" != 0 && 2110 $as_echo "$as_me: caught signal $ac_signal" 2111 $as_echo "$as_me: exit $exit_status" 2112 } >&5 2113 rm -f core *.core core.conftest.* && 2114 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2115 exit $exit_status 2116 ' 0 2117 for ac_signal in 1 2 13 15; do 2118 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2119 done 2120 ac_signal=0 2121 2122 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2123 rm -f -r conftest* confdefs.h 2124 2125 $as_echo "/* confdefs.h */" > confdefs.h 2126 2127 # Predefined preprocessor variables. 2128 2129 cat >>confdefs.h <<_ACEOF 2130 #define PACKAGE_NAME "$PACKAGE_NAME" 2131 _ACEOF 2132 2133 cat >>confdefs.h <<_ACEOF 2134 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2135 _ACEOF 2136 2137 cat >>confdefs.h <<_ACEOF 2138 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2139 _ACEOF 2140 2141 cat >>confdefs.h <<_ACEOF 2142 #define PACKAGE_STRING "$PACKAGE_STRING" 2143 _ACEOF 2144 2145 cat >>confdefs.h <<_ACEOF 2146 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2147 _ACEOF 2148 2149 cat >>confdefs.h <<_ACEOF 2150 #define PACKAGE_URL "$PACKAGE_URL" 2151 _ACEOF 2152 2153 2154 # Let the site file select an alternate cache file if it wants to. 2155 # Prefer an explicitly selected file to automatically selected ones. 2156 ac_site_file1=NONE 2157 ac_site_file2=NONE 2158 if test -n "$CONFIG_SITE"; then 2159 # We do not want a PATH search for config.site. 2160 case $CONFIG_SITE in #(( 2161 -*) ac_site_file1=./$CONFIG_SITE;; 2162 */*) ac_site_file1=$CONFIG_SITE;; 2163 *) ac_site_file1=./$CONFIG_SITE;; 2164 esac 2165 elif test "x$prefix" != xNONE; then 2166 ac_site_file1=$prefix/share/config.site 2167 ac_site_file2=$prefix/etc/config.site 2168 else 2169 ac_site_file1=$ac_default_prefix/share/config.site 2170 ac_site_file2=$ac_default_prefix/etc/config.site 2171 fi 2172 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2173 do 2174 test "x$ac_site_file" = xNONE && continue 2175 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2177 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2178 sed 's/^/| /' "$ac_site_file" >&5 2179 . "$ac_site_file" \ 2180 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2182 as_fn_error $? "failed to load site script $ac_site_file 2183 See \`config.log' for more details" "$LINENO" 5; } 2184 fi 2185 done 2186 2187 if test -r "$cache_file"; then 2188 # Some versions of bash will fail to source /dev/null (special files 2189 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2190 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2192 $as_echo "$as_me: loading cache $cache_file" >&6;} 2193 case $cache_file in 2194 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2195 *) . "./$cache_file";; 2196 esac 2197 fi 2198 else 2199 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2200 $as_echo "$as_me: creating cache $cache_file" >&6;} 2201 >$cache_file 2202 fi 2203 2204 # Check that the precious variables saved in the cache have kept the same 2205 # value. 2206 ac_cache_corrupted=false 2207 for ac_var in $ac_precious_vars; do 2208 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2209 eval ac_new_set=\$ac_env_${ac_var}_set 2210 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2211 eval ac_new_val=\$ac_env_${ac_var}_value 2212 case $ac_old_set,$ac_new_set in 2213 set,) 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2215 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2216 ac_cache_corrupted=: ;; 2217 ,set) 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2219 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2220 ac_cache_corrupted=: ;; 2221 ,);; 2222 *) 2223 if test "x$ac_old_val" != "x$ac_new_val"; then 2224 # differences in whitespace do not lead to failure. 2225 ac_old_val_w=`echo x $ac_old_val` 2226 ac_new_val_w=`echo x $ac_new_val` 2227 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2229 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2230 ac_cache_corrupted=: 2231 else 2232 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2233 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2234 eval $ac_var=\$ac_old_val 2235 fi 2236 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2237 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2238 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2239 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2240 fi;; 2241 esac 2242 # Pass precious variables to config.status. 2243 if test "$ac_new_set" = set; then 2244 case $ac_new_val in 2245 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2246 *) ac_arg=$ac_var=$ac_new_val ;; 2247 esac 2248 case " $ac_configure_args " in 2249 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2250 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2251 esac 2252 fi 2253 done 2254 if $ac_cache_corrupted; then 2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2258 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2259 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2260 fi 2261 ## -------------------- ## 2262 ## Main body of script. ## 2263 ## -------------------- ## 2264 2265 ac_ext=c 2266 ac_cpp='$CPP $CPPFLAGS' 2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2270 2271 2272 ac_config_headers="$ac_config_headers config.h" 2273 2274 ac_aux_dir= 2275 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2276 if test -f "$ac_dir/install-sh"; then 2277 ac_aux_dir=$ac_dir 2278 ac_install_sh="$ac_aux_dir/install-sh -c" 2279 break 2280 elif test -f "$ac_dir/install.sh"; then 2281 ac_aux_dir=$ac_dir 2282 ac_install_sh="$ac_aux_dir/install.sh -c" 2283 break 2284 elif test -f "$ac_dir/shtool"; then 2285 ac_aux_dir=$ac_dir 2286 ac_install_sh="$ac_aux_dir/shtool install -c" 2287 break 2288 fi 2289 done 2290 if test -z "$ac_aux_dir"; then 2291 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2292 fi 2293 2294 # These three variables are undocumented and unsupported, 2295 # and are intended to be withdrawn in a future Autoconf release. 2296 # They can cause serious problems if a builder's source tree is in a directory 2297 # whose full name contains unusual characters. 2298 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2299 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2300 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2301 2302 2303 # Make sure we can run config.sub. 2304 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2305 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2306 2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2308 $as_echo_n "checking build system type... " >&6; } 2309 if ${ac_cv_build+:} false; then : 2310 $as_echo_n "(cached) " >&6 2311 else 2312 ac_build_alias=$build_alias 2313 test "x$ac_build_alias" = x && 2314 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2315 test "x$ac_build_alias" = x && 2316 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2317 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2318 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2319 2320 fi 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2322 $as_echo "$ac_cv_build" >&6; } 2323 case $ac_cv_build in 2324 *-*-*) ;; 2325 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2326 esac 2327 build=$ac_cv_build 2328 ac_save_IFS=$IFS; IFS='-' 2329 set x $ac_cv_build 2330 shift 2331 build_cpu=$1 2332 build_vendor=$2 2333 shift; shift 2334 # Remember, the first character of IFS is used to create $*, 2335 # except with old shells: 2336 build_os=$* 2337 IFS=$ac_save_IFS 2338 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2339 2340 2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2342 $as_echo_n "checking host system type... " >&6; } 2343 if ${ac_cv_host+:} false; then : 2344 $as_echo_n "(cached) " >&6 2345 else 2346 if test "x$host_alias" = x; then 2347 ac_cv_host=$ac_cv_build 2348 else 2349 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2350 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2351 fi 2352 2353 fi 2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2355 $as_echo "$ac_cv_host" >&6; } 2356 case $ac_cv_host in 2357 *-*-*) ;; 2358 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2359 esac 2360 host=$ac_cv_host 2361 ac_save_IFS=$IFS; IFS='-' 2362 set x $ac_cv_host 2363 shift 2364 host_cpu=$1 2365 host_vendor=$2 2366 shift; shift 2367 # Remember, the first character of IFS is used to create $*, 2368 # except with old shells: 2369 host_os=$* 2370 IFS=$ac_save_IFS 2371 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2372 2373 2374 ac_ext=c 2375 ac_cpp='$CPP $CPPFLAGS' 2376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2378 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2379 if test -n "$ac_tool_prefix"; then 2380 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2381 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2383 $as_echo_n "checking for $ac_word... " >&6; } 2384 if ${ac_cv_prog_CC+:} false; then : 2385 $as_echo_n "(cached) " >&6 2386 else 2387 if test -n "$CC"; then 2388 ac_cv_prog_CC="$CC" # Let the user override the test. 2389 else 2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2391 for as_dir in $PATH 2392 do 2393 IFS=$as_save_IFS 2394 test -z "$as_dir" && as_dir=. 2395 for ac_exec_ext in '' $ac_executable_extensions; do 2396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2397 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2399 break 2 2400 fi 2401 done 2402 done 2403 IFS=$as_save_IFS 2404 2405 fi 2406 fi 2407 CC=$ac_cv_prog_CC 2408 if test -n "$CC"; then 2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2410 $as_echo "$CC" >&6; } 2411 else 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2413 $as_echo "no" >&6; } 2414 fi 2415 2416 2417 fi 2418 if test -z "$ac_cv_prog_CC"; then 2419 ac_ct_CC=$CC 2420 # Extract the first word of "gcc", so it can be a program name with args. 2421 set dummy gcc; ac_word=$2 2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2423 $as_echo_n "checking for $ac_word... " >&6; } 2424 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2425 $as_echo_n "(cached) " >&6 2426 else 2427 if test -n "$ac_ct_CC"; then 2428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2429 else 2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2431 for as_dir in $PATH 2432 do 2433 IFS=$as_save_IFS 2434 test -z "$as_dir" && as_dir=. 2435 for ac_exec_ext in '' $ac_executable_extensions; do 2436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2437 ac_cv_prog_ac_ct_CC="gcc" 2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2439 break 2 2440 fi 2441 done 2442 done 2443 IFS=$as_save_IFS 2444 2445 fi 2446 fi 2447 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2448 if test -n "$ac_ct_CC"; then 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2450 $as_echo "$ac_ct_CC" >&6; } 2451 else 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2453 $as_echo "no" >&6; } 2454 fi 2455 2456 if test "x$ac_ct_CC" = x; then 2457 CC="" 2458 else 2459 case $cross_compiling:$ac_tool_warned in 2460 yes:) 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2463 ac_tool_warned=yes ;; 2464 esac 2465 CC=$ac_ct_CC 2466 fi 2467 else 2468 CC="$ac_cv_prog_CC" 2469 fi 2470 2471 if test -z "$CC"; then 2472 if test -n "$ac_tool_prefix"; then 2473 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2474 set dummy ${ac_tool_prefix}cc; ac_word=$2 2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2476 $as_echo_n "checking for $ac_word... " >&6; } 2477 if ${ac_cv_prog_CC+:} false; then : 2478 $as_echo_n "(cached) " >&6 2479 else 2480 if test -n "$CC"; then 2481 ac_cv_prog_CC="$CC" # Let the user override the test. 2482 else 2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2484 for as_dir in $PATH 2485 do 2486 IFS=$as_save_IFS 2487 test -z "$as_dir" && as_dir=. 2488 for ac_exec_ext in '' $ac_executable_extensions; do 2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2490 ac_cv_prog_CC="${ac_tool_prefix}cc" 2491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2492 break 2 2493 fi 2494 done 2495 done 2496 IFS=$as_save_IFS 2497 2498 fi 2499 fi 2500 CC=$ac_cv_prog_CC 2501 if test -n "$CC"; then 2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2503 $as_echo "$CC" >&6; } 2504 else 2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2506 $as_echo "no" >&6; } 2507 fi 2508 2509 2510 fi 2511 fi 2512 if test -z "$CC"; then 2513 # Extract the first word of "cc", so it can be a program name with args. 2514 set dummy cc; ac_word=$2 2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2516 $as_echo_n "checking for $ac_word... " >&6; } 2517 if ${ac_cv_prog_CC+:} false; then : 2518 $as_echo_n "(cached) " >&6 2519 else 2520 if test -n "$CC"; then 2521 ac_cv_prog_CC="$CC" # Let the user override the test. 2522 else 2523 ac_prog_rejected=no 2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2525 for as_dir in $PATH 2526 do 2527 IFS=$as_save_IFS 2528 test -z "$as_dir" && as_dir=. 2529 for ac_exec_ext in '' $ac_executable_extensions; do 2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2531 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2532 ac_prog_rejected=yes 2533 continue 2534 fi 2535 ac_cv_prog_CC="cc" 2536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2537 break 2 2538 fi 2539 done 2540 done 2541 IFS=$as_save_IFS 2542 2543 if test $ac_prog_rejected = yes; then 2544 # We found a bogon in the path, so make sure we never use it. 2545 set dummy $ac_cv_prog_CC 2546 shift 2547 if test $# != 0; then 2548 # We chose a different compiler from the bogus one. 2549 # However, it has the same basename, so the bogon will be chosen 2550 # first if we set CC to just the basename; use the full file name. 2551 shift 2552 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2553 fi 2554 fi 2555 fi 2556 fi 2557 CC=$ac_cv_prog_CC 2558 if test -n "$CC"; then 2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2560 $as_echo "$CC" >&6; } 2561 else 2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2563 $as_echo "no" >&6; } 2564 fi 2565 2566 2567 fi 2568 if test -z "$CC"; then 2569 if test -n "$ac_tool_prefix"; then 2570 for ac_prog in cl.exe 2571 do 2572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2575 $as_echo_n "checking for $ac_word... " >&6; } 2576 if ${ac_cv_prog_CC+:} false; then : 2577 $as_echo_n "(cached) " >&6 2578 else 2579 if test -n "$CC"; then 2580 ac_cv_prog_CC="$CC" # Let the user override the test. 2581 else 2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2583 for as_dir in $PATH 2584 do 2585 IFS=$as_save_IFS 2586 test -z "$as_dir" && as_dir=. 2587 for ac_exec_ext in '' $ac_executable_extensions; do 2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2589 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2591 break 2 2592 fi 2593 done 2594 done 2595 IFS=$as_save_IFS 2596 2597 fi 2598 fi 2599 CC=$ac_cv_prog_CC 2600 if test -n "$CC"; then 2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2602 $as_echo "$CC" >&6; } 2603 else 2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2605 $as_echo "no" >&6; } 2606 fi 2607 2608 2609 test -n "$CC" && break 2610 done 2611 fi 2612 if test -z "$CC"; then 2613 ac_ct_CC=$CC 2614 for ac_prog in cl.exe 2615 do 2616 # Extract the first word of "$ac_prog", so it can be a program name with args. 2617 set dummy $ac_prog; ac_word=$2 2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2619 $as_echo_n "checking for $ac_word... " >&6; } 2620 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2621 $as_echo_n "(cached) " >&6 2622 else 2623 if test -n "$ac_ct_CC"; then 2624 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2625 else 2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2627 for as_dir in $PATH 2628 do 2629 IFS=$as_save_IFS 2630 test -z "$as_dir" && as_dir=. 2631 for ac_exec_ext in '' $ac_executable_extensions; do 2632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2633 ac_cv_prog_ac_ct_CC="$ac_prog" 2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2635 break 2 2636 fi 2637 done 2638 done 2639 IFS=$as_save_IFS 2640 2641 fi 2642 fi 2643 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2644 if test -n "$ac_ct_CC"; then 2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2646 $as_echo "$ac_ct_CC" >&6; } 2647 else 2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2649 $as_echo "no" >&6; } 2650 fi 2651 2652 2653 test -n "$ac_ct_CC" && break 2654 done 2655 2656 if test "x$ac_ct_CC" = x; then 2657 CC="" 2658 else 2659 case $cross_compiling:$ac_tool_warned in 2660 yes:) 2661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2663 ac_tool_warned=yes ;; 2664 esac 2665 CC=$ac_ct_CC 2666 fi 2667 fi 2668 2669 fi 2670 2671 2672 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2674 as_fn_error $? "no acceptable C compiler found in \$PATH 2675 See \`config.log' for more details" "$LINENO" 5; } 2676 2677 # Provide some information about the compiler. 2678 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2679 set X $ac_compile 2680 ac_compiler=$2 2681 for ac_option in --version -v -V -qversion; do 2682 { { ac_try="$ac_compiler $ac_option >&5" 2683 case "(($ac_try" in 2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2685 *) ac_try_echo=$ac_try;; 2686 esac 2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2688 $as_echo "$ac_try_echo"; } >&5 2689 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2690 ac_status=$? 2691 if test -s conftest.err; then 2692 sed '10a\ 2693 ... rest of stderr output deleted ... 2694 10q' conftest.err >conftest.er1 2695 cat conftest.er1 >&5 2696 fi 2697 rm -f conftest.er1 conftest.err 2698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2699 test $ac_status = 0; } 2700 done 2701 2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2703 /* end confdefs.h. */ 2704 2705 int 2706 main () 2707 { 2708 2709 ; 2710 return 0; 2711 } 2712 _ACEOF 2713 ac_clean_files_save=$ac_clean_files 2714 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2715 # Try to create an executable without -o first, disregard a.out. 2716 # It will help us diagnose broken compilers, and finding out an intuition 2717 # of exeext. 2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2719 $as_echo_n "checking whether the C compiler works... " >&6; } 2720 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2721 2722 # The possible output files: 2723 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2724 2725 ac_rmfiles= 2726 for ac_file in $ac_files 2727 do 2728 case $ac_file in 2729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2730 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2731 esac 2732 done 2733 rm -f $ac_rmfiles 2734 2735 if { { ac_try="$ac_link_default" 2736 case "(($ac_try" in 2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2738 *) ac_try_echo=$ac_try;; 2739 esac 2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2741 $as_echo "$ac_try_echo"; } >&5 2742 (eval "$ac_link_default") 2>&5 2743 ac_status=$? 2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2745 test $ac_status = 0; }; then : 2746 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2747 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2748 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2749 # so that the user can short-circuit this test for compilers unknown to 2750 # Autoconf. 2751 for ac_file in $ac_files '' 2752 do 2753 test -f "$ac_file" || continue 2754 case $ac_file in 2755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2756 ;; 2757 [ab].out ) 2758 # We found the default executable, but exeext='' is most 2759 # certainly right. 2760 break;; 2761 *.* ) 2762 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2763 then :; else 2764 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2765 fi 2766 # We set ac_cv_exeext here because the later test for it is not 2767 # safe: cross compilers may not add the suffix if given an `-o' 2768 # argument, so we may need to know it at that point already. 2769 # Even if this section looks crufty: it has the advantage of 2770 # actually working. 2771 break;; 2772 * ) 2773 break;; 2774 esac 2775 done 2776 test "$ac_cv_exeext" = no && ac_cv_exeext= 2777 2778 else 2779 ac_file='' 2780 fi 2781 if test -z "$ac_file"; then : 2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2783 $as_echo "no" >&6; } 2784 $as_echo "$as_me: failed program was:" >&5 2785 sed 's/^/| /' conftest.$ac_ext >&5 2786 2787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2789 as_fn_error 77 "C compiler cannot create executables 2790 See \`config.log' for more details" "$LINENO" 5; } 2791 else 2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2793 $as_echo "yes" >&6; } 2794 fi 2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2796 $as_echo_n "checking for C compiler default output file name... " >&6; } 2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2798 $as_echo "$ac_file" >&6; } 2799 ac_exeext=$ac_cv_exeext 2800 2801 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2802 ac_clean_files=$ac_clean_files_save 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2804 $as_echo_n "checking for suffix of executables... " >&6; } 2805 if { { ac_try="$ac_link" 2806 case "(($ac_try" in 2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2808 *) ac_try_echo=$ac_try;; 2809 esac 2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2811 $as_echo "$ac_try_echo"; } >&5 2812 (eval "$ac_link") 2>&5 2813 ac_status=$? 2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2815 test $ac_status = 0; }; then : 2816 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2817 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2818 # work properly (i.e., refer to `conftest.exe'), while it won't with 2819 # `rm'. 2820 for ac_file in conftest.exe conftest conftest.*; do 2821 test -f "$ac_file" || continue 2822 case $ac_file in 2823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2824 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2825 break;; 2826 * ) break;; 2827 esac 2828 done 2829 else 2830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2832 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2833 See \`config.log' for more details" "$LINENO" 5; } 2834 fi 2835 rm -f conftest conftest$ac_cv_exeext 2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2837 $as_echo "$ac_cv_exeext" >&6; } 2838 2839 rm -f conftest.$ac_ext 2840 EXEEXT=$ac_cv_exeext 2841 ac_exeext=$EXEEXT 2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2843 /* end confdefs.h. */ 2844 #include <stdio.h> 2845 int 2846 main () 2847 { 2848 FILE *f = fopen ("conftest.out", "w"); 2849 return ferror (f) || fclose (f) != 0; 2850 2851 ; 2852 return 0; 2853 } 2854 _ACEOF 2855 ac_clean_files="$ac_clean_files conftest.out" 2856 # Check that the compiler produces executables we can run. If not, either 2857 # the compiler is broken, or we cross compile. 2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2859 $as_echo_n "checking whether we are cross compiling... " >&6; } 2860 if test "$cross_compiling" != yes; then 2861 { { ac_try="$ac_link" 2862 case "(($ac_try" in 2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2864 *) ac_try_echo=$ac_try;; 2865 esac 2866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2867 $as_echo "$ac_try_echo"; } >&5 2868 (eval "$ac_link") 2>&5 2869 ac_status=$? 2870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2871 test $ac_status = 0; } 2872 if { ac_try='./conftest$ac_cv_exeext' 2873 { { case "(($ac_try" in 2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2875 *) ac_try_echo=$ac_try;; 2876 esac 2877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2878 $as_echo "$ac_try_echo"; } >&5 2879 (eval "$ac_try") 2>&5 2880 ac_status=$? 2881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2882 test $ac_status = 0; }; }; then 2883 cross_compiling=no 2884 else 2885 if test "$cross_compiling" = maybe; then 2886 cross_compiling=yes 2887 else 2888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2890 as_fn_error $? "cannot run C compiled programs. 2891 If you meant to cross compile, use \`--host'. 2892 See \`config.log' for more details" "$LINENO" 5; } 2893 fi 2894 fi 2895 fi 2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2897 $as_echo "$cross_compiling" >&6; } 2898 2899 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2900 ac_clean_files=$ac_clean_files_save 2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2902 $as_echo_n "checking for suffix of object files... " >&6; } 2903 if ${ac_cv_objext+:} false; then : 2904 $as_echo_n "(cached) " >&6 2905 else 2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2907 /* end confdefs.h. */ 2908 2909 int 2910 main () 2911 { 2912 2913 ; 2914 return 0; 2915 } 2916 _ACEOF 2917 rm -f conftest.o conftest.obj 2918 if { { ac_try="$ac_compile" 2919 case "(($ac_try" in 2920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2921 *) ac_try_echo=$ac_try;; 2922 esac 2923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2924 $as_echo "$ac_try_echo"; } >&5 2925 (eval "$ac_compile") 2>&5 2926 ac_status=$? 2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2928 test $ac_status = 0; }; then : 2929 for ac_file in conftest.o conftest.obj conftest.*; do 2930 test -f "$ac_file" || continue; 2931 case $ac_file in 2932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2933 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2934 break;; 2935 esac 2936 done 2937 else 2938 $as_echo "$as_me: failed program was:" >&5 2939 sed 's/^/| /' conftest.$ac_ext >&5 2940 2941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2943 as_fn_error $? "cannot compute suffix of object files: cannot compile 2944 See \`config.log' for more details" "$LINENO" 5; } 2945 fi 2946 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2947 fi 2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2949 $as_echo "$ac_cv_objext" >&6; } 2950 OBJEXT=$ac_cv_objext 2951 ac_objext=$OBJEXT 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2953 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2954 if ${ac_cv_c_compiler_gnu+:} false; then : 2955 $as_echo_n "(cached) " >&6 2956 else 2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2958 /* end confdefs.h. */ 2959 2960 int 2961 main () 2962 { 2963 #ifndef __GNUC__ 2964 choke me 2965 #endif 2966 2967 ; 2968 return 0; 2969 } 2970 _ACEOF 2971 if ac_fn_c_try_compile "$LINENO"; then : 2972 ac_compiler_gnu=yes 2973 else 2974 ac_compiler_gnu=no 2975 fi 2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2977 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2978 2979 fi 2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2981 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2982 if test $ac_compiler_gnu = yes; then 2983 GCC=yes 2984 else 2985 GCC= 2986 fi 2987 ac_test_CFLAGS=${CFLAGS+set} 2988 ac_save_CFLAGS=$CFLAGS 2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2990 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2991 if ${ac_cv_prog_cc_g+:} false; then : 2992 $as_echo_n "(cached) " >&6 2993 else 2994 ac_save_c_werror_flag=$ac_c_werror_flag 2995 ac_c_werror_flag=yes 2996 ac_cv_prog_cc_g=no 2997 CFLAGS="-g" 2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2999 /* end confdefs.h. */ 3000 3001 int 3002 main () 3003 { 3004 3005 ; 3006 return 0; 3007 } 3008 _ACEOF 3009 if ac_fn_c_try_compile "$LINENO"; then : 3010 ac_cv_prog_cc_g=yes 3011 else 3012 CFLAGS="" 3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3014 /* end confdefs.h. */ 3015 3016 int 3017 main () 3018 { 3019 3020 ; 3021 return 0; 3022 } 3023 _ACEOF 3024 if ac_fn_c_try_compile "$LINENO"; then : 3025 3026 else 3027 ac_c_werror_flag=$ac_save_c_werror_flag 3028 CFLAGS="-g" 3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3030 /* end confdefs.h. */ 3031 3032 int 3033 main () 3034 { 3035 3036 ; 3037 return 0; 3038 } 3039 _ACEOF 3040 if ac_fn_c_try_compile "$LINENO"; then : 3041 ac_cv_prog_cc_g=yes 3042 fi 3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3044 fi 3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3046 fi 3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3048 ac_c_werror_flag=$ac_save_c_werror_flag 3049 fi 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3051 $as_echo "$ac_cv_prog_cc_g" >&6; } 3052 if test "$ac_test_CFLAGS" = set; then 3053 CFLAGS=$ac_save_CFLAGS 3054 elif test $ac_cv_prog_cc_g = yes; then 3055 if test "$GCC" = yes; then 3056 CFLAGS="-g -O2" 3057 else 3058 CFLAGS="-g" 3059 fi 3060 else 3061 if test "$GCC" = yes; then 3062 CFLAGS="-O2" 3063 else 3064 CFLAGS= 3065 fi 3066 fi 3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3068 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3069 if ${ac_cv_prog_cc_c89+:} false; then : 3070 $as_echo_n "(cached) " >&6 3071 else 3072 ac_cv_prog_cc_c89=no 3073 ac_save_CC=$CC 3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3075 /* end confdefs.h. */ 3076 #include <stdarg.h> 3077 #include <stdio.h> 3078 #include <sys/types.h> 3079 #include <sys/stat.h> 3080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3081 struct buf { int x; }; 3082 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3083 static char *e (p, i) 3084 char **p; 3085 int i; 3086 { 3087 return p[i]; 3088 } 3089 static char *f (char * (*g) (char **, int), char **p, ...) 3090 { 3091 char *s; 3092 va_list v; 3093 va_start (v,p); 3094 s = g (p, va_arg (v,int)); 3095 va_end (v); 3096 return s; 3097 } 3098 3099 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3100 function prototypes and stuff, but not '\xHH' hex character constants. 3101 These don't provoke an error unfortunately, instead are silently treated 3102 as 'x'. The following induces an error, until -std is added to get 3103 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3104 array size at least. It's necessary to write '\x00'==0 to get something 3105 that's true only with -std. */ 3106 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3107 3108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3109 inside strings and character constants. */ 3110 #define FOO(x) 'x' 3111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3112 3113 int test (int i, double x); 3114 struct s1 {int (*f) (int a);}; 3115 struct s2 {int (*f) (double a);}; 3116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3117 int argc; 3118 char **argv; 3119 int 3120 main () 3121 { 3122 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3123 ; 3124 return 0; 3125 } 3126 _ACEOF 3127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3128 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3129 do 3130 CC="$ac_save_CC $ac_arg" 3131 if ac_fn_c_try_compile "$LINENO"; then : 3132 ac_cv_prog_cc_c89=$ac_arg 3133 fi 3134 rm -f core conftest.err conftest.$ac_objext 3135 test "x$ac_cv_prog_cc_c89" != "xno" && break 3136 done 3137 rm -f conftest.$ac_ext 3138 CC=$ac_save_CC 3139 3140 fi 3141 # AC_CACHE_VAL 3142 case "x$ac_cv_prog_cc_c89" in 3143 x) 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3145 $as_echo "none needed" >&6; } ;; 3146 xno) 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3148 $as_echo "unsupported" >&6; } ;; 3149 *) 3150 CC="$CC $ac_cv_prog_cc_c89" 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3152 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3153 esac 3154 if test "x$ac_cv_prog_cc_c89" != xno; then : 3155 3156 fi 3157 3158 ac_ext=c 3159 ac_cpp='$CPP $CPPFLAGS' 3160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3162 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3163 3164 3165 ac_ext=c 3166 ac_cpp='$CPP $CPPFLAGS' 3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3171 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3172 # On Suns, sometimes $CPP names a directory. 3173 if test -n "$CPP" && test -d "$CPP"; then 3174 CPP= 3175 fi 3176 if test -z "$CPP"; then 3177 if ${ac_cv_prog_CPP+:} false; then : 3178 $as_echo_n "(cached) " >&6 3179 else 3180 # Double quotes because CPP needs to be expanded 3181 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3182 do 3183 ac_preproc_ok=false 3184 for ac_c_preproc_warn_flag in '' yes 3185 do 3186 # Use a header file that comes with gcc, so configuring glibc 3187 # with a fresh cross-compiler works. 3188 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3189 # <limits.h> exists even on freestanding compilers. 3190 # On the NeXT, cc -E runs the code through the compiler's parser, 3191 # not just through cpp. "Syntax error" is here to catch this case. 3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3193 /* end confdefs.h. */ 3194 #ifdef __STDC__ 3195 # include <limits.h> 3196 #else 3197 # include <assert.h> 3198 #endif 3199 Syntax error 3200 _ACEOF 3201 if ac_fn_c_try_cpp "$LINENO"; then : 3202 3203 else 3204 # Broken: fails on valid input. 3205 continue 3206 fi 3207 rm -f conftest.err conftest.i conftest.$ac_ext 3208 3209 # OK, works on sane cases. Now check whether nonexistent headers 3210 # can be detected and how. 3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3212 /* end confdefs.h. */ 3213 #include <ac_nonexistent.h> 3214 _ACEOF 3215 if ac_fn_c_try_cpp "$LINENO"; then : 3216 # Broken: success on invalid input. 3217 continue 3218 else 3219 # Passes both tests. 3220 ac_preproc_ok=: 3221 break 3222 fi 3223 rm -f conftest.err conftest.i conftest.$ac_ext 3224 3225 done 3226 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3227 rm -f conftest.i conftest.err conftest.$ac_ext 3228 if $ac_preproc_ok; then : 3229 break 3230 fi 3231 3232 done 3233 ac_cv_prog_CPP=$CPP 3234 3235 fi 3236 CPP=$ac_cv_prog_CPP 3237 else 3238 ac_cv_prog_CPP=$CPP 3239 fi 3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3241 $as_echo "$CPP" >&6; } 3242 ac_preproc_ok=false 3243 for ac_c_preproc_warn_flag in '' yes 3244 do 3245 # Use a header file that comes with gcc, so configuring glibc 3246 # with a fresh cross-compiler works. 3247 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3248 # <limits.h> exists even on freestanding compilers. 3249 # On the NeXT, cc -E runs the code through the compiler's parser, 3250 # not just through cpp. "Syntax error" is here to catch this case. 3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3252 /* end confdefs.h. */ 3253 #ifdef __STDC__ 3254 # include <limits.h> 3255 #else 3256 # include <assert.h> 3257 #endif 3258 Syntax error 3259 _ACEOF 3260 if ac_fn_c_try_cpp "$LINENO"; then : 3261 3262 else 3263 # Broken: fails on valid input. 3264 continue 3265 fi 3266 rm -f conftest.err conftest.i conftest.$ac_ext 3267 3268 # OK, works on sane cases. Now check whether nonexistent headers 3269 # can be detected and how. 3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3271 /* end confdefs.h. */ 3272 #include <ac_nonexistent.h> 3273 _ACEOF 3274 if ac_fn_c_try_cpp "$LINENO"; then : 3275 # Broken: success on invalid input. 3276 continue 3277 else 3278 # Passes both tests. 3279 ac_preproc_ok=: 3280 break 3281 fi 3282 rm -f conftest.err conftest.i conftest.$ac_ext 3283 3284 done 3285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3286 rm -f conftest.i conftest.err conftest.$ac_ext 3287 if $ac_preproc_ok; then : 3288 3289 else 3290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3292 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3293 See \`config.log' for more details" "$LINENO" 5; } 3294 fi 3295 3296 ac_ext=c 3297 ac_cpp='$CPP $CPPFLAGS' 3298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3300 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3301 3302 3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3304 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3305 if ${ac_cv_path_GREP+:} false; then : 3306 $as_echo_n "(cached) " >&6 3307 else 3308 if test -z "$GREP"; then 3309 ac_path_GREP_found=false 3310 # Loop through the user's path and test for each of PROGNAME-LIST 3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3313 do 3314 IFS=$as_save_IFS 3315 test -z "$as_dir" && as_dir=. 3316 for ac_prog in grep ggrep; do 3317 for ac_exec_ext in '' $ac_executable_extensions; do 3318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3319 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3320 # Check for GNU ac_path_GREP and select it if it is found. 3321 # Check for GNU $ac_path_GREP 3322 case `"$ac_path_GREP" --version 2>&1` in 3323 *GNU*) 3324 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3325 *) 3326 ac_count=0 3327 $as_echo_n 0123456789 >"conftest.in" 3328 while : 3329 do 3330 cat "conftest.in" "conftest.in" >"conftest.tmp" 3331 mv "conftest.tmp" "conftest.in" 3332 cp "conftest.in" "conftest.nl" 3333 $as_echo 'GREP' >> "conftest.nl" 3334 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3336 as_fn_arith $ac_count + 1 && ac_count=$as_val 3337 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3338 # Best one so far, save it but keep looking for a better one 3339 ac_cv_path_GREP="$ac_path_GREP" 3340 ac_path_GREP_max=$ac_count 3341 fi 3342 # 10*(2^10) chars as input seems more than enough 3343 test $ac_count -gt 10 && break 3344 done 3345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3346 esac 3347 3348 $ac_path_GREP_found && break 3 3349 done 3350 done 3351 done 3352 IFS=$as_save_IFS 3353 if test -z "$ac_cv_path_GREP"; then 3354 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3355 fi 3356 else 3357 ac_cv_path_GREP=$GREP 3358 fi 3359 3360 fi 3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3362 $as_echo "$ac_cv_path_GREP" >&6; } 3363 GREP="$ac_cv_path_GREP" 3364 3365 3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3367 $as_echo_n "checking for egrep... " >&6; } 3368 if ${ac_cv_path_EGREP+:} false; then : 3369 $as_echo_n "(cached) " >&6 3370 else 3371 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3372 then ac_cv_path_EGREP="$GREP -E" 3373 else 3374 if test -z "$EGREP"; then 3375 ac_path_EGREP_found=false 3376 # Loop through the user's path and test for each of PROGNAME-LIST 3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3378 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3379 do 3380 IFS=$as_save_IFS 3381 test -z "$as_dir" && as_dir=. 3382 for ac_prog in egrep; do 3383 for ac_exec_ext in '' $ac_executable_extensions; do 3384 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3385 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3386 # Check for GNU ac_path_EGREP and select it if it is found. 3387 # Check for GNU $ac_path_EGREP 3388 case `"$ac_path_EGREP" --version 2>&1` in 3389 *GNU*) 3390 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3391 *) 3392 ac_count=0 3393 $as_echo_n 0123456789 >"conftest.in" 3394 while : 3395 do 3396 cat "conftest.in" "conftest.in" >"conftest.tmp" 3397 mv "conftest.tmp" "conftest.in" 3398 cp "conftest.in" "conftest.nl" 3399 $as_echo 'EGREP' >> "conftest.nl" 3400 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3402 as_fn_arith $ac_count + 1 && ac_count=$as_val 3403 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3404 # Best one so far, save it but keep looking for a better one 3405 ac_cv_path_EGREP="$ac_path_EGREP" 3406 ac_path_EGREP_max=$ac_count 3407 fi 3408 # 10*(2^10) chars as input seems more than enough 3409 test $ac_count -gt 10 && break 3410 done 3411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3412 esac 3413 3414 $ac_path_EGREP_found && break 3 3415 done 3416 done 3417 done 3418 IFS=$as_save_IFS 3419 if test -z "$ac_cv_path_EGREP"; then 3420 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3421 fi 3422 else 3423 ac_cv_path_EGREP=$EGREP 3424 fi 3425 3426 fi 3427 fi 3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3429 $as_echo "$ac_cv_path_EGREP" >&6; } 3430 EGREP="$ac_cv_path_EGREP" 3431 3432 3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3434 $as_echo_n "checking for ANSI C header files... " >&6; } 3435 if ${ac_cv_header_stdc+:} false; then : 3436 $as_echo_n "(cached) " >&6 3437 else 3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3439 /* end confdefs.h. */ 3440 #include <stdlib.h> 3441 #include <stdarg.h> 3442 #include <string.h> 3443 #include <float.h> 3444 3445 int 3446 main () 3447 { 3448 3449 ; 3450 return 0; 3451 } 3452 _ACEOF 3453 if ac_fn_c_try_compile "$LINENO"; then : 3454 ac_cv_header_stdc=yes 3455 else 3456 ac_cv_header_stdc=no 3457 fi 3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3459 3460 if test $ac_cv_header_stdc = yes; then 3461 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3463 /* end confdefs.h. */ 3464 #include <string.h> 3465 3466 _ACEOF 3467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3468 $EGREP "memchr" >/dev/null 2>&1; then : 3469 3470 else 3471 ac_cv_header_stdc=no 3472 fi 3473 rm -f conftest* 3474 3475 fi 3476 3477 if test $ac_cv_header_stdc = yes; then 3478 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3480 /* end confdefs.h. */ 3481 #include <stdlib.h> 3482 3483 _ACEOF 3484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3485 $EGREP "free" >/dev/null 2>&1; then : 3486 3487 else 3488 ac_cv_header_stdc=no 3489 fi 3490 rm -f conftest* 3491 3492 fi 3493 3494 if test $ac_cv_header_stdc = yes; then 3495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3496 if test "$cross_compiling" = yes; then : 3497 : 3498 else 3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3500 /* end confdefs.h. */ 3501 #include <ctype.h> 3502 #include <stdlib.h> 3503 #if ((' ' & 0x0FF) == 0x020) 3504 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3505 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3506 #else 3507 # define ISLOWER(c) \ 3508 (('a' <= (c) && (c) <= 'i') \ 3509 || ('j' <= (c) && (c) <= 'r') \ 3510 || ('s' <= (c) && (c) <= 'z')) 3511 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3512 #endif 3513 3514 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3515 int 3516 main () 3517 { 3518 int i; 3519 for (i = 0; i < 256; i++) 3520 if (XOR (islower (i), ISLOWER (i)) 3521 || toupper (i) != TOUPPER (i)) 3522 return 2; 3523 return 0; 3524 } 3525 _ACEOF 3526 if ac_fn_c_try_run "$LINENO"; then : 3527 3528 else 3529 ac_cv_header_stdc=no 3530 fi 3531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3532 conftest.$ac_objext conftest.beam conftest.$ac_ext 3533 fi 3534 3535 fi 3536 fi 3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3538 $as_echo "$ac_cv_header_stdc" >&6; } 3539 if test $ac_cv_header_stdc = yes; then 3540 3541 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3542 3543 fi 3544 3545 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3546 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3547 inttypes.h stdint.h unistd.h 3548 do : 3549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3550 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3551 " 3552 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3553 cat >>confdefs.h <<_ACEOF 3554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3555 _ACEOF 3556 3557 fi 3558 3559 done 3560 3561 3562 3563 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 3564 if test "x$ac_cv_header_minix_config_h" = xyes; then : 3565 MINIX=yes 3566 else 3567 MINIX= 3568 fi 3569 3570 3571 if test "$MINIX" = yes; then 3572 3573 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 3574 3575 3576 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 3577 3578 3579 $as_echo "#define _MINIX 1" >>confdefs.h 3580 3581 fi 3582 3583 3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3585 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3586 if ${ac_cv_safe_to_define___extensions__+:} false; then : 3587 $as_echo_n "(cached) " >&6 3588 else 3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3590 /* end confdefs.h. */ 3591 3592 # define __EXTENSIONS__ 1 3593 $ac_includes_default 3594 int 3595 main () 3596 { 3597 3598 ; 3599 return 0; 3600 } 3601 _ACEOF 3602 if ac_fn_c_try_compile "$LINENO"; then : 3603 ac_cv_safe_to_define___extensions__=yes 3604 else 3605 ac_cv_safe_to_define___extensions__=no 3606 fi 3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3608 fi 3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 3610 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 3611 test $ac_cv_safe_to_define___extensions__ = yes && 3612 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 3613 3614 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 3615 3616 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 3617 3618 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 3619 3620 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 3621 3622 3623 3624 LIBXSLT_MAJOR_VERSION=1 3625 LIBXSLT_MINOR_VERSION=1 3626 LIBXSLT_MICRO_VERSION=28 3627 PACKAGE=libxslt 3628 LIBEXSLT_MAJOR_VERSION=0 3629 LIBEXSLT_MINOR_VERSION=8 3630 LIBEXSLT_MICRO_VERSION=17 3631 LIBXML_REQUIRED_VERSION=2.6.27 3632 3633 3634 LIBXSLT_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION.$LIBXSLT_MICRO_VERSION 3635 LIBXSLT_VERSION_INFO=`expr $LIBXSLT_MAJOR_VERSION + $LIBXSLT_MINOR_VERSION`:$LIBXSLT_MICRO_VERSION:$LIBXSLT_MINOR_VERSION 3636 3637 LIBXSLT_VERSION_NUMBER=`expr $LIBXSLT_MAJOR_VERSION \* 10000 + $LIBXSLT_MINOR_VERSION \* 100 + $LIBXSLT_MICRO_VERSION` 3638 LIBXSLT_MAJOR_MINOR_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION 3639 3640 if test -f CVS/Entries; then 3641 extra=`grep ChangeLog CVS/Entries | grep -v LIBXSLT | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%` 3642 echo extra=$extra 3643 if test "$extra" != "" 3644 then 3645 LIBXSLT_VERSION_EXTRA="-CVS$extra" 3646 fi 3647 else if test -d .svn ; then 3648 extra=`svn info | grep Revision | sed 's+Revision: ++'` 3649 echo extra=$extra 3650 if test "$extra" != "" 3651 then 3652 LIBXSLT_VERSION_EXTRA="-SVN$extra" 3653 fi 3654 else if test -d .git ; then 3655 extra=`git describe | sed 's+LIBXSLT[0-9.]*-++'` 3656 echo extra=$extra 3657 if test "$extra" != "" 3658 then 3659 LIBXSLT_VERSION_EXTRA="-GIT$extra" 3660 fi 3661 fi 3662 fi 3663 fi 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 LIBEXSLT_VERSION=$LIBEXSLT_MAJOR_VERSION.$LIBEXSLT_MINOR_VERSION.$LIBEXSLT_MICRO_VERSION 3676 LIBEXSLT_VERSION_INFO=`expr $LIBEXSLT_MAJOR_VERSION + $LIBEXSLT_MINOR_VERSION`:$LIBEXSLT_MICRO_VERSION:$LIBEXSLT_MINOR_VERSION 3677 3678 LIBEXSLT_VERSION_NUMBER=`expr $LIBEXSLT_MAJOR_VERSION \* 10000 + $LIBEXSLT_MINOR_VERSION \* 100 + $LIBEXSLT_MICRO_VERSION` 3679 3680 if test -f CVS/Entries; then 3681 LIBEXSLT_VERSION_EXTRA=-CVS`grep ChangeLog CVS/Entries | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%` 3682 fi 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 VERSION=${LIBXSLT_VERSION} 3693 3694 am__api_version='1.11' 3695 3696 # Find a good install program. We prefer a C program (faster), 3697 # so one script is as good as another. But avoid the broken or 3698 # incompatible versions: 3699 # SysV /etc/install, /usr/sbin/install 3700 # SunOS /usr/etc/install 3701 # IRIX /sbin/install 3702 # AIX /bin/install 3703 # AmigaOS /C/install, which installs bootblocks on floppy discs 3704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3707 # OS/2's system install, which has a completely different semantic 3708 # ./install, which can be erroneously created by make from ./install.sh. 3709 # Reject install programs that cannot install multiple files. 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3711 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3712 if test -z "$INSTALL"; then 3713 if ${ac_cv_path_install+:} false; then : 3714 $as_echo_n "(cached) " >&6 3715 else 3716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3717 for as_dir in $PATH 3718 do 3719 IFS=$as_save_IFS 3720 test -z "$as_dir" && as_dir=. 3721 # Account for people who put trailing slashes in PATH elements. 3722 case $as_dir/ in #(( 3723 ./ | .// | /[cC]/* | \ 3724 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3725 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3726 /usr/ucb/* ) ;; 3727 *) 3728 # OSF1 and SCO ODT 3.0 have their own names for install. 3729 # Don't use installbsd from OSF since it installs stuff as root 3730 # by default. 3731 for ac_prog in ginstall scoinst install; do 3732 for ac_exec_ext in '' $ac_executable_extensions; do 3733 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3734 if test $ac_prog = install && 3735 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3736 # AIX install. It has an incompatible calling convention. 3737 : 3738 elif test $ac_prog = install && 3739 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3740 # program-specific install script used by HP pwplus--don't use. 3741 : 3742 else 3743 rm -rf conftest.one conftest.two conftest.dir 3744 echo one > conftest.one 3745 echo two > conftest.two 3746 mkdir conftest.dir 3747 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3748 test -s conftest.one && test -s conftest.two && 3749 test -s conftest.dir/conftest.one && 3750 test -s conftest.dir/conftest.two 3751 then 3752 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3753 break 3 3754 fi 3755 fi 3756 fi 3757 done 3758 done 3759 ;; 3760 esac 3761 3762 done 3763 IFS=$as_save_IFS 3764 3765 rm -rf conftest.one conftest.two conftest.dir 3766 3767 fi 3768 if test "${ac_cv_path_install+set}" = set; then 3769 INSTALL=$ac_cv_path_install 3770 else 3771 # As a last resort, use the slow shell script. Don't cache a 3772 # value for INSTALL within a source directory, because that will 3773 # break other packages using the cache if that directory is 3774 # removed, or if the value is a relative name. 3775 INSTALL=$ac_install_sh 3776 fi 3777 fi 3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3779 $as_echo "$INSTALL" >&6; } 3780 3781 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3782 # It thinks the first close brace ends the variable substitution. 3783 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3784 3785 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3786 3787 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3788 3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3790 $as_echo_n "checking whether build environment is sane... " >&6; } 3791 # Just in case 3792 sleep 1 3793 echo timestamp > conftest.file 3794 # Reject unsafe characters in $srcdir or the absolute working directory 3795 # name. Accept space and tab only in the latter. 3796 am_lf=' 3797 ' 3798 case `pwd` in 3799 *[\\\"\#\$\&\'\`$am_lf]*) 3800 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3801 esac 3802 case $srcdir in 3803 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3804 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 3805 esac 3806 3807 # Do `set' in a subshell so we don't clobber the current shell's 3808 # arguments. Must try -L first in case configure is actually a 3809 # symlink; some systems play weird games with the mod time of symlinks 3810 # (eg FreeBSD returns the mod time of the symlink's containing 3811 # directory). 3812 if ( 3813 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3814 if test "$*" = "X"; then 3815 # -L didn't work. 3816 set X `ls -t "$srcdir/configure" conftest.file` 3817 fi 3818 rm -f conftest.file 3819 if test "$*" != "X $srcdir/configure conftest.file" \ 3820 && test "$*" != "X conftest.file $srcdir/configure"; then 3821 3822 # If neither matched, then we have a broken ls. This can happen 3823 # if, for instance, CONFIG_SHELL is bash and it inherits a 3824 # broken ls alias from the environment. This has actually 3825 # happened. Such a system could not be considered "sane". 3826 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3827 alias in your environment" "$LINENO" 5 3828 fi 3829 3830 test "$2" = conftest.file 3831 ) 3832 then 3833 # Ok. 3834 : 3835 else 3836 as_fn_error $? "newly created file is older than distributed files! 3837 Check your system clock" "$LINENO" 5 3838 fi 3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3840 $as_echo "yes" >&6; } 3841 test "$program_prefix" != NONE && 3842 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3843 # Use a double $ so make ignores it. 3844 test "$program_suffix" != NONE && 3845 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3846 # Double any \ or $. 3847 # By default was `s,x,x', remove it if useless. 3848 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3849 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3850 3851 # expand $ac_aux_dir to an absolute path 3852 am_aux_dir=`cd $ac_aux_dir && pwd` 3853 3854 if test x"${MISSING+set}" != xset; then 3855 case $am_aux_dir in 3856 *\ * | *\ *) 3857 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3858 *) 3859 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3860 esac 3861 fi 3862 # Use eval to expand $SHELL 3863 if eval "$MISSING --run true"; then 3864 am_missing_run="$MISSING --run " 3865 else 3866 am_missing_run= 3867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 3868 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 3869 fi 3870 3871 if test x"${install_sh}" != xset; then 3872 case $am_aux_dir in 3873 *\ * | *\ *) 3874 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3875 *) 3876 install_sh="\${SHELL} $am_aux_dir/install-sh" 3877 esac 3878 fi 3879 3880 # Installed binaries are usually stripped using `strip' when the user 3881 # run `make install-strip'. However `strip' might not be the right 3882 # tool to use in cross-compilation environments, therefore Automake 3883 # will honor the `STRIP' environment variable to overrule this program. 3884 if test "$cross_compiling" != no; then 3885 if test -n "$ac_tool_prefix"; then 3886 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3887 set dummy ${ac_tool_prefix}strip; ac_word=$2 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3889 $as_echo_n "checking for $ac_word... " >&6; } 3890 if ${ac_cv_prog_STRIP+:} false; then : 3891 $as_echo_n "(cached) " >&6 3892 else 3893 if test -n "$STRIP"; then 3894 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3895 else 3896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3897 for as_dir in $PATH 3898 do 3899 IFS=$as_save_IFS 3900 test -z "$as_dir" && as_dir=. 3901 for ac_exec_ext in '' $ac_executable_extensions; do 3902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3903 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3905 break 2 3906 fi 3907 done 3908 done 3909 IFS=$as_save_IFS 3910 3911 fi 3912 fi 3913 STRIP=$ac_cv_prog_STRIP 3914 if test -n "$STRIP"; then 3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3916 $as_echo "$STRIP" >&6; } 3917 else 3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3919 $as_echo "no" >&6; } 3920 fi 3921 3922 3923 fi 3924 if test -z "$ac_cv_prog_STRIP"; then 3925 ac_ct_STRIP=$STRIP 3926 # Extract the first word of "strip", so it can be a program name with args. 3927 set dummy strip; ac_word=$2 3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3929 $as_echo_n "checking for $ac_word... " >&6; } 3930 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3931 $as_echo_n "(cached) " >&6 3932 else 3933 if test -n "$ac_ct_STRIP"; then 3934 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3935 else 3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3937 for as_dir in $PATH 3938 do 3939 IFS=$as_save_IFS 3940 test -z "$as_dir" && as_dir=. 3941 for ac_exec_ext in '' $ac_executable_extensions; do 3942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3943 ac_cv_prog_ac_ct_STRIP="strip" 3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3945 break 2 3946 fi 3947 done 3948 done 3949 IFS=$as_save_IFS 3950 3951 fi 3952 fi 3953 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3954 if test -n "$ac_ct_STRIP"; then 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3956 $as_echo "$ac_ct_STRIP" >&6; } 3957 else 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3959 $as_echo "no" >&6; } 3960 fi 3961 3962 if test "x$ac_ct_STRIP" = x; then 3963 STRIP=":" 3964 else 3965 case $cross_compiling:$ac_tool_warned in 3966 yes:) 3967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3969 ac_tool_warned=yes ;; 3970 esac 3971 STRIP=$ac_ct_STRIP 3972 fi 3973 else 3974 STRIP="$ac_cv_prog_STRIP" 3975 fi 3976 3977 fi 3978 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3979 3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3981 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3982 if test -z "$MKDIR_P"; then 3983 if ${ac_cv_path_mkdir+:} false; then : 3984 $as_echo_n "(cached) " >&6 3985 else 3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3987 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3988 do 3989 IFS=$as_save_IFS 3990 test -z "$as_dir" && as_dir=. 3991 for ac_prog in mkdir gmkdir; do 3992 for ac_exec_ext in '' $ac_executable_extensions; do 3993 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 3994 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3995 'mkdir (GNU coreutils) '* | \ 3996 'mkdir (coreutils) '* | \ 3997 'mkdir (fileutils) '4.1*) 3998 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3999 break 3;; 4000 esac 4001 done 4002 done 4003 done 4004 IFS=$as_save_IFS 4005 4006 fi 4007 4008 test -d ./--version && rmdir ./--version 4009 if test "${ac_cv_path_mkdir+set}" = set; then 4010 MKDIR_P="$ac_cv_path_mkdir -p" 4011 else 4012 # As a last resort, use the slow shell script. Don't cache a 4013 # value for MKDIR_P within a source directory, because that will 4014 # break other packages using the cache if that directory is 4015 # removed, or if the value is a relative name. 4016 MKDIR_P="$ac_install_sh -d" 4017 fi 4018 fi 4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 4020 $as_echo "$MKDIR_P" >&6; } 4021 4022 mkdir_p="$MKDIR_P" 4023 case $mkdir_p in 4024 [\\/$]* | ?:[\\/]*) ;; 4025 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 4026 esac 4027 4028 for ac_prog in gawk mawk nawk awk 4029 do 4030 # Extract the first word of "$ac_prog", so it can be a program name with args. 4031 set dummy $ac_prog; ac_word=$2 4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4033 $as_echo_n "checking for $ac_word... " >&6; } 4034 if ${ac_cv_prog_AWK+:} false; then : 4035 $as_echo_n "(cached) " >&6 4036 else 4037 if test -n "$AWK"; then 4038 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4039 else 4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4041 for as_dir in $PATH 4042 do 4043 IFS=$as_save_IFS 4044 test -z "$as_dir" && as_dir=. 4045 for ac_exec_ext in '' $ac_executable_extensions; do 4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4047 ac_cv_prog_AWK="$ac_prog" 4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4049 break 2 4050 fi 4051 done 4052 done 4053 IFS=$as_save_IFS 4054 4055 fi 4056 fi 4057 AWK=$ac_cv_prog_AWK 4058 if test -n "$AWK"; then 4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4060 $as_echo "$AWK" >&6; } 4061 else 4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4063 $as_echo "no" >&6; } 4064 fi 4065 4066 4067 test -n "$AWK" && break 4068 done 4069 4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4071 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4072 set x ${MAKE-make} 4073 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4074 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4075 $as_echo_n "(cached) " >&6 4076 else 4077 cat >conftest.make <<\_ACEOF 4078 SHELL = /bin/sh 4079 all: 4080 @echo '@@@%%%=$(MAKE)=@@@%%%' 4081 _ACEOF 4082 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4083 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4084 *@@@%%%=?*=@@@%%%*) 4085 eval ac_cv_prog_make_${ac_make}_set=yes;; 4086 *) 4087 eval ac_cv_prog_make_${ac_make}_set=no;; 4088 esac 4089 rm -f conftest.make 4090 fi 4091 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4093 $as_echo "yes" >&6; } 4094 SET_MAKE= 4095 else 4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4097 $as_echo "no" >&6; } 4098 SET_MAKE="MAKE=${MAKE-make}" 4099 fi 4100 4101 rm -rf .tst 2>/dev/null 4102 mkdir .tst 2>/dev/null 4103 if test -d .tst; then 4104 am__leading_dot=. 4105 else 4106 am__leading_dot=_ 4107 fi 4108 rmdir .tst 2>/dev/null 4109 4110 DEPDIR="${am__leading_dot}deps" 4111 4112 ac_config_commands="$ac_config_commands depfiles" 4113 4114 4115 am_make=${MAKE-make} 4116 cat > confinc << 'END' 4117 am__doit: 4118 @echo this is the am__doit target 4119 .PHONY: am__doit 4120 END 4121 # If we don't find an include directive, just comment out the code. 4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4123 $as_echo_n "checking for style of include used by $am_make... " >&6; } 4124 am__include="#" 4125 am__quote= 4126 _am_result=none 4127 # First try GNU make style include. 4128 echo "include confinc" > confmf 4129 # Ignore all kinds of additional output from `make'. 4130 case `$am_make -s -f confmf 2> /dev/null` in #( 4131 *the\ am__doit\ target*) 4132 am__include=include 4133 am__quote= 4134 _am_result=GNU 4135 ;; 4136 esac 4137 # Now try BSD make style include. 4138 if test "$am__include" = "#"; then 4139 echo '.include "confinc"' > confmf 4140 case `$am_make -s -f confmf 2> /dev/null` in #( 4141 *the\ am__doit\ target*) 4142 am__include=.include 4143 am__quote="\"" 4144 _am_result=BSD 4145 ;; 4146 esac 4147 fi 4148 4149 4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4151 $as_echo "$_am_result" >&6; } 4152 rm -f confinc confmf 4153 4154 # Check whether --enable-dependency-tracking was given. 4155 if test "${enable_dependency_tracking+set}" = set; then : 4156 enableval=$enable_dependency_tracking; 4157 fi 4158 4159 if test "x$enable_dependency_tracking" != xno; then 4160 am_depcomp="$ac_aux_dir/depcomp" 4161 AMDEPBACKSLASH='\' 4162 am__nodep='_no' 4163 fi 4164 if test "x$enable_dependency_tracking" != xno; then 4165 AMDEP_TRUE= 4166 AMDEP_FALSE='#' 4167 else 4168 AMDEP_TRUE='#' 4169 AMDEP_FALSE= 4170 fi 4171 4172 4173 if test "`cd $srcdir && pwd`" != "`pwd`"; then 4174 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 4175 # is not polluted with repeated "-I." 4176 am__isrc=' -I$(srcdir)' 4177 # test to see if srcdir already configured 4178 if test -f $srcdir/config.status; then 4179 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 4180 fi 4181 fi 4182 4183 # test whether we have cygpath 4184 if test -z "$CYGPATH_W"; then 4185 if (cygpath --version) >/dev/null 2>/dev/null; then 4186 CYGPATH_W='cygpath -w' 4187 else 4188 CYGPATH_W=echo 4189 fi 4190 fi 4191 4192 4193 # Define the identity of the package. 4194 PACKAGE=$PACKAGE 4195 VERSION=$VERSION 4196 4197 4198 cat >>confdefs.h <<_ACEOF 4199 #define PACKAGE "$PACKAGE" 4200 _ACEOF 4201 4202 4203 cat >>confdefs.h <<_ACEOF 4204 #define VERSION "$VERSION" 4205 _ACEOF 4206 4207 # Some tools Automake needs. 4208 4209 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 4210 4211 4212 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 4213 4214 4215 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 4216 4217 4218 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 4219 4220 4221 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 4222 4223 # We need awk for the "check" target. The system "awk" is bad on 4224 # some platforms. 4225 # Always define AMTAR for backward compatibility. Yes, it's still used 4226 # in the wild :-( We should find a proper way to deprecate it ... 4227 AMTAR='$${TAR-tar}' 4228 4229 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 4230 4231 4232 4233 4234 depcc="$CC" am_compiler_list= 4235 4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4237 $as_echo_n "checking dependency style of $depcc... " >&6; } 4238 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4239 $as_echo_n "(cached) " >&6 4240 else 4241 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4242 # We make a subdir and do the tests there. Otherwise we can end up 4243 # making bogus files that we don't know about and never remove. For 4244 # instance it was reported that on HP-UX the gcc test will end up 4245 # making a dummy file named `D' -- because `-MD' means `put the output 4246 # in D'. 4247 rm -rf conftest.dir 4248 mkdir conftest.dir 4249 # Copy depcomp to subdir because otherwise we won't find it if we're 4250 # using a relative directory. 4251 cp "$am_depcomp" conftest.dir 4252 cd conftest.dir 4253 # We will build objects and dependencies in a subdirectory because 4254 # it helps to detect inapplicable dependency modes. For instance 4255 # both Tru64's cc and ICC support -MD to output dependencies as a 4256 # side effect of compilation, but ICC will put the dependencies in 4257 # the current directory while Tru64 will put them in the object 4258 # directory. 4259 mkdir sub 4260 4261 am_cv_CC_dependencies_compiler_type=none 4262 if test "$am_compiler_list" = ""; then 4263 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4264 fi 4265 am__universal=false 4266 case " $depcc " in #( 4267 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4268 esac 4269 4270 for depmode in $am_compiler_list; do 4271 # Setup a source with many dependencies, because some compilers 4272 # like to wrap large dependency lists on column 80 (with \), and 4273 # we should not choose a depcomp mode which is confused by this. 4274 # 4275 # We need to recreate these files for each test, as the compiler may 4276 # overwrite some of them when testing with obscure command lines. 4277 # This happens at least with the AIX C compiler. 4278 : > sub/conftest.c 4279 for i in 1 2 3 4 5 6; do 4280 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4281 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4282 # Solaris 8's {/usr,}/bin/sh. 4283 touch sub/conftst$i.h 4284 done 4285 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4286 4287 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4288 # mode. It turns out that the SunPro C++ compiler does not properly 4289 # handle `-M -o', and we need to detect this. Also, some Intel 4290 # versions had trouble with output in subdirs 4291 am__obj=sub/conftest.${OBJEXT-o} 4292 am__minus_obj="-o $am__obj" 4293 case $depmode in 4294 gcc) 4295 # This depmode causes a compiler race in universal mode. 4296 test "$am__universal" = false || continue 4297 ;; 4298 nosideeffect) 4299 # after this tag, mechanisms are not by side-effect, so they'll 4300 # only be used when explicitly requested 4301 if test "x$enable_dependency_tracking" = xyes; then 4302 continue 4303 else 4304 break 4305 fi 4306 ;; 4307 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4308 # This compiler won't grok `-c -o', but also, the minuso test has 4309 # not run yet. These depmodes are late enough in the game, and 4310 # so weak that their functioning should not be impacted. 4311 am__obj=conftest.${OBJEXT-o} 4312 am__minus_obj= 4313 ;; 4314 none) break ;; 4315 esac 4316 if depmode=$depmode \ 4317 source=sub/conftest.c object=$am__obj \ 4318 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4319 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4320 >/dev/null 2>conftest.err && 4321 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4322 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4323 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4324 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4325 # icc doesn't choke on unknown options, it will just issue warnings 4326 # or remarks (even with -Werror). So we grep stderr for any message 4327 # that says an option was ignored or not supported. 4328 # When given -MP, icc 7.0 and 7.1 complain thusly: 4329 # icc: Command line warning: ignoring option '-M'; no argument required 4330 # The diagnosis changed in icc 8.0: 4331 # icc: Command line remark: option '-MP' not supported 4332 if (grep 'ignoring option' conftest.err || 4333 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4334 am_cv_CC_dependencies_compiler_type=$depmode 4335 break 4336 fi 4337 fi 4338 done 4339 4340 cd .. 4341 rm -rf conftest.dir 4342 else 4343 am_cv_CC_dependencies_compiler_type=none 4344 fi 4345 4346 fi 4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4348 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4349 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4350 4351 if 4352 test "x$enable_dependency_tracking" != xno \ 4353 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4354 am__fastdepCC_TRUE= 4355 am__fastdepCC_FALSE='#' 4356 else 4357 am__fastdepCC_TRUE='#' 4358 am__fastdepCC_FALSE= 4359 fi 4360 4361 4362 4363 4364 # AM_MAINTAINER_MODE 4365 4366 # Support silent build rules, requires at least automake-1.11. Disable 4367 # by either passing --disable-silent-rules to configure or passing V=1 4368 # to make 4369 # Check whether --enable-silent-rules was given. 4370 if test "${enable_silent_rules+set}" = set; then : 4371 enableval=$enable_silent_rules; 4372 fi 4373 4374 case $enable_silent_rules in 4375 yes) AM_DEFAULT_VERBOSITY=0;; 4376 no) AM_DEFAULT_VERBOSITY=1;; 4377 *) AM_DEFAULT_VERBOSITY=0;; 4378 esac 4379 am_make=${MAKE-make} 4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 4381 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 4382 if ${am_cv_make_support_nested_variables+:} false; then : 4383 $as_echo_n "(cached) " >&6 4384 else 4385 if $as_echo 'TRUE=$(BAR$(V)) 4386 BAR0=false 4387 BAR1=true 4388 V=1 4389 am__doit: 4390 @$(TRUE) 4391 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 4392 am_cv_make_support_nested_variables=yes 4393 else 4394 am_cv_make_support_nested_variables=no 4395 fi 4396 fi 4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 4398 $as_echo "$am_cv_make_support_nested_variables" >&6; } 4399 if test $am_cv_make_support_nested_variables = yes; then 4400 AM_V='$(V)' 4401 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 4402 else 4403 AM_V=$AM_DEFAULT_VERBOSITY 4404 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 4405 fi 4406 AM_BACKSLASH='\' 4407 4408 4409 4410 4411 # Check whether --with-html-dir was given. 4412 if test "${with_html_dir+set}" = set; then : 4413 withval=$with_html_dir; HTML_DIR=$withval 4414 else 4415 HTML_DIR='$(datadir)/doc' 4416 fi 4417 4418 4419 4420 # Check whether --with-html-subdir was given. 4421 if test "${with_html_subdir+set}" = set; then : 4422 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval" 4423 else 4424 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" 4425 fi 4426 4427 4428 4429 4430 4431 ac_ext=c 4432 ac_cpp='$CPP $CPPFLAGS' 4433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4435 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4436 if test -n "$ac_tool_prefix"; then 4437 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4438 set dummy ${ac_tool_prefix}gcc; ac_word=$2 4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4440 $as_echo_n "checking for $ac_word... " >&6; } 4441 if ${ac_cv_prog_CC+:} false; then : 4442 $as_echo_n "(cached) " >&6 4443 else 4444 if test -n "$CC"; then 4445 ac_cv_prog_CC="$CC" # Let the user override the test. 4446 else 4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4448 for as_dir in $PATH 4449 do 4450 IFS=$as_save_IFS 4451 test -z "$as_dir" && as_dir=. 4452 for ac_exec_ext in '' $ac_executable_extensions; do 4453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4454 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4456 break 2 4457 fi 4458 done 4459 done 4460 IFS=$as_save_IFS 4461 4462 fi 4463 fi 4464 CC=$ac_cv_prog_CC 4465 if test -n "$CC"; then 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4467 $as_echo "$CC" >&6; } 4468 else 4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4470 $as_echo "no" >&6; } 4471 fi 4472 4473 4474 fi 4475 if test -z "$ac_cv_prog_CC"; then 4476 ac_ct_CC=$CC 4477 # Extract the first word of "gcc", so it can be a program name with args. 4478 set dummy gcc; ac_word=$2 4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4480 $as_echo_n "checking for $ac_word... " >&6; } 4481 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4482 $as_echo_n "(cached) " >&6 4483 else 4484 if test -n "$ac_ct_CC"; then 4485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4486 else 4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4488 for as_dir in $PATH 4489 do 4490 IFS=$as_save_IFS 4491 test -z "$as_dir" && as_dir=. 4492 for ac_exec_ext in '' $ac_executable_extensions; do 4493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4494 ac_cv_prog_ac_ct_CC="gcc" 4495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4496 break 2 4497 fi 4498 done 4499 done 4500 IFS=$as_save_IFS 4501 4502 fi 4503 fi 4504 ac_ct_CC=$ac_cv_prog_ac_ct_CC 4505 if test -n "$ac_ct_CC"; then 4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4507 $as_echo "$ac_ct_CC" >&6; } 4508 else 4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4510 $as_echo "no" >&6; } 4511 fi 4512 4513 if test "x$ac_ct_CC" = x; then 4514 CC="" 4515 else 4516 case $cross_compiling:$ac_tool_warned in 4517 yes:) 4518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4520 ac_tool_warned=yes ;; 4521 esac 4522 CC=$ac_ct_CC 4523 fi 4524 else 4525 CC="$ac_cv_prog_CC" 4526 fi 4527 4528 if test -z "$CC"; then 4529 if test -n "$ac_tool_prefix"; then 4530 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4531 set dummy ${ac_tool_prefix}cc; ac_word=$2 4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4533 $as_echo_n "checking for $ac_word... " >&6; } 4534 if ${ac_cv_prog_CC+:} false; then : 4535 $as_echo_n "(cached) " >&6 4536 else 4537 if test -n "$CC"; then 4538 ac_cv_prog_CC="$CC" # Let the user override the test. 4539 else 4540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4541 for as_dir in $PATH 4542 do 4543 IFS=$as_save_IFS 4544 test -z "$as_dir" && as_dir=. 4545 for ac_exec_ext in '' $ac_executable_extensions; do 4546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4547 ac_cv_prog_CC="${ac_tool_prefix}cc" 4548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4549 break 2 4550 fi 4551 done 4552 done 4553 IFS=$as_save_IFS 4554 4555 fi 4556 fi 4557 CC=$ac_cv_prog_CC 4558 if test -n "$CC"; then 4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4560 $as_echo "$CC" >&6; } 4561 else 4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4563 $as_echo "no" >&6; } 4564 fi 4565 4566 4567 fi 4568 fi 4569 if test -z "$CC"; then 4570 # Extract the first word of "cc", so it can be a program name with args. 4571 set dummy cc; ac_word=$2 4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4573 $as_echo_n "checking for $ac_word... " >&6; } 4574 if ${ac_cv_prog_CC+:} false; then : 4575 $as_echo_n "(cached) " >&6 4576 else 4577 if test -n "$CC"; then 4578 ac_cv_prog_CC="$CC" # Let the user override the test. 4579 else 4580 ac_prog_rejected=no 4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4582 for as_dir in $PATH 4583 do 4584 IFS=$as_save_IFS 4585 test -z "$as_dir" && as_dir=. 4586 for ac_exec_ext in '' $ac_executable_extensions; do 4587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4588 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4589 ac_prog_rejected=yes 4590 continue 4591 fi 4592 ac_cv_prog_CC="cc" 4593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4594 break 2 4595 fi 4596 done 4597 done 4598 IFS=$as_save_IFS 4599 4600 if test $ac_prog_rejected = yes; then 4601 # We found a bogon in the path, so make sure we never use it. 4602 set dummy $ac_cv_prog_CC 4603 shift 4604 if test $# != 0; then 4605 # We chose a different compiler from the bogus one. 4606 # However, it has the same basename, so the bogon will be chosen 4607 # first if we set CC to just the basename; use the full file name. 4608 shift 4609 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4610 fi 4611 fi 4612 fi 4613 fi 4614 CC=$ac_cv_prog_CC 4615 if test -n "$CC"; then 4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4617 $as_echo "$CC" >&6; } 4618 else 4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4620 $as_echo "no" >&6; } 4621 fi 4622 4623 4624 fi 4625 if test -z "$CC"; then 4626 if test -n "$ac_tool_prefix"; then 4627 for ac_prog in cl.exe 4628 do 4629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4632 $as_echo_n "checking for $ac_word... " >&6; } 4633 if ${ac_cv_prog_CC+:} false; then : 4634 $as_echo_n "(cached) " >&6 4635 else 4636 if test -n "$CC"; then 4637 ac_cv_prog_CC="$CC" # Let the user override the test. 4638 else 4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4640 for as_dir in $PATH 4641 do 4642 IFS=$as_save_IFS 4643 test -z "$as_dir" && as_dir=. 4644 for ac_exec_ext in '' $ac_executable_extensions; do 4645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4646 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4648 break 2 4649 fi 4650 done 4651 done 4652 IFS=$as_save_IFS 4653 4654 fi 4655 fi 4656 CC=$ac_cv_prog_CC 4657 if test -n "$CC"; then 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4659 $as_echo "$CC" >&6; } 4660 else 4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4662 $as_echo "no" >&6; } 4663 fi 4664 4665 4666 test -n "$CC" && break 4667 done 4668 fi 4669 if test -z "$CC"; then 4670 ac_ct_CC=$CC 4671 for ac_prog in cl.exe 4672 do 4673 # Extract the first word of "$ac_prog", so it can be a program name with args. 4674 set dummy $ac_prog; ac_word=$2 4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4676 $as_echo_n "checking for $ac_word... " >&6; } 4677 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4678 $as_echo_n "(cached) " >&6 4679 else 4680 if test -n "$ac_ct_CC"; then 4681 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4682 else 4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4684 for as_dir in $PATH 4685 do 4686 IFS=$as_save_IFS 4687 test -z "$as_dir" && as_dir=. 4688 for ac_exec_ext in '' $ac_executable_extensions; do 4689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4690 ac_cv_prog_ac_ct_CC="$ac_prog" 4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4692 break 2 4693 fi 4694 done 4695 done 4696 IFS=$as_save_IFS 4697 4698 fi 4699 fi 4700 ac_ct_CC=$ac_cv_prog_ac_ct_CC 4701 if test -n "$ac_ct_CC"; then 4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4703 $as_echo "$ac_ct_CC" >&6; } 4704 else 4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4706 $as_echo "no" >&6; } 4707 fi 4708 4709 4710 test -n "$ac_ct_CC" && break 4711 done 4712 4713 if test "x$ac_ct_CC" = x; then 4714 CC="" 4715 else 4716 case $cross_compiling:$ac_tool_warned in 4717 yes:) 4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4720 ac_tool_warned=yes ;; 4721 esac 4722 CC=$ac_ct_CC 4723 fi 4724 fi 4725 4726 fi 4727 4728 4729 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4731 as_fn_error $? "no acceptable C compiler found in \$PATH 4732 See \`config.log' for more details" "$LINENO" 5; } 4733 4734 # Provide some information about the compiler. 4735 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4736 set X $ac_compile 4737 ac_compiler=$2 4738 for ac_option in --version -v -V -qversion; do 4739 { { ac_try="$ac_compiler $ac_option >&5" 4740 case "(($ac_try" in 4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4742 *) ac_try_echo=$ac_try;; 4743 esac 4744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4745 $as_echo "$ac_try_echo"; } >&5 4746 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4747 ac_status=$? 4748 if test -s conftest.err; then 4749 sed '10a\ 4750 ... rest of stderr output deleted ... 4751 10q' conftest.err >conftest.er1 4752 cat conftest.er1 >&5 4753 fi 4754 rm -f conftest.er1 conftest.err 4755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4756 test $ac_status = 0; } 4757 done 4758 4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4760 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4761 if ${ac_cv_c_compiler_gnu+:} false; then : 4762 $as_echo_n "(cached) " >&6 4763 else 4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4765 /* end confdefs.h. */ 4766 4767 int 4768 main () 4769 { 4770 #ifndef __GNUC__ 4771 choke me 4772 #endif 4773 4774 ; 4775 return 0; 4776 } 4777 _ACEOF 4778 if ac_fn_c_try_compile "$LINENO"; then : 4779 ac_compiler_gnu=yes 4780 else 4781 ac_compiler_gnu=no 4782 fi 4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4784 ac_cv_c_compiler_gnu=$ac_compiler_gnu 4785 4786 fi 4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4788 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4789 if test $ac_compiler_gnu = yes; then 4790 GCC=yes 4791 else 4792 GCC= 4793 fi 4794 ac_test_CFLAGS=${CFLAGS+set} 4795 ac_save_CFLAGS=$CFLAGS 4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4797 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4798 if ${ac_cv_prog_cc_g+:} false; then : 4799 $as_echo_n "(cached) " >&6 4800 else 4801 ac_save_c_werror_flag=$ac_c_werror_flag 4802 ac_c_werror_flag=yes 4803 ac_cv_prog_cc_g=no 4804 CFLAGS="-g" 4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4806 /* end confdefs.h. */ 4807 4808 int 4809 main () 4810 { 4811 4812 ; 4813 return 0; 4814 } 4815 _ACEOF 4816 if ac_fn_c_try_compile "$LINENO"; then : 4817 ac_cv_prog_cc_g=yes 4818 else 4819 CFLAGS="" 4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4821 /* end confdefs.h. */ 4822 4823 int 4824 main () 4825 { 4826 4827 ; 4828 return 0; 4829 } 4830 _ACEOF 4831 if ac_fn_c_try_compile "$LINENO"; then : 4832 4833 else 4834 ac_c_werror_flag=$ac_save_c_werror_flag 4835 CFLAGS="-g" 4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4837 /* end confdefs.h. */ 4838 4839 int 4840 main () 4841 { 4842 4843 ; 4844 return 0; 4845 } 4846 _ACEOF 4847 if ac_fn_c_try_compile "$LINENO"; then : 4848 ac_cv_prog_cc_g=yes 4849 fi 4850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4851 fi 4852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4853 fi 4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4855 ac_c_werror_flag=$ac_save_c_werror_flag 4856 fi 4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4858 $as_echo "$ac_cv_prog_cc_g" >&6; } 4859 if test "$ac_test_CFLAGS" = set; then 4860 CFLAGS=$ac_save_CFLAGS 4861 elif test $ac_cv_prog_cc_g = yes; then 4862 if test "$GCC" = yes; then 4863 CFLAGS="-g -O2" 4864 else 4865 CFLAGS="-g" 4866 fi 4867 else 4868 if test "$GCC" = yes; then 4869 CFLAGS="-O2" 4870 else 4871 CFLAGS= 4872 fi 4873 fi 4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4875 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4876 if ${ac_cv_prog_cc_c89+:} false; then : 4877 $as_echo_n "(cached) " >&6 4878 else 4879 ac_cv_prog_cc_c89=no 4880 ac_save_CC=$CC 4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4882 /* end confdefs.h. */ 4883 #include <stdarg.h> 4884 #include <stdio.h> 4885 #include <sys/types.h> 4886 #include <sys/stat.h> 4887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4888 struct buf { int x; }; 4889 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4890 static char *e (p, i) 4891 char **p; 4892 int i; 4893 { 4894 return p[i]; 4895 } 4896 static char *f (char * (*g) (char **, int), char **p, ...) 4897 { 4898 char *s; 4899 va_list v; 4900 va_start (v,p); 4901 s = g (p, va_arg (v,int)); 4902 va_end (v); 4903 return s; 4904 } 4905 4906 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4907 function prototypes and stuff, but not '\xHH' hex character constants. 4908 These don't provoke an error unfortunately, instead are silently treated 4909 as 'x'. The following induces an error, until -std is added to get 4910 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4911 array size at least. It's necessary to write '\x00'==0 to get something 4912 that's true only with -std. */ 4913 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4914 4915 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4916 inside strings and character constants. */ 4917 #define FOO(x) 'x' 4918 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4919 4920 int test (int i, double x); 4921 struct s1 {int (*f) (int a);}; 4922 struct s2 {int (*f) (double a);}; 4923 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4924 int argc; 4925 char **argv; 4926 int 4927 main () 4928 { 4929 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4930 ; 4931 return 0; 4932 } 4933 _ACEOF 4934 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4935 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4936 do 4937 CC="$ac_save_CC $ac_arg" 4938 if ac_fn_c_try_compile "$LINENO"; then : 4939 ac_cv_prog_cc_c89=$ac_arg 4940 fi 4941 rm -f core conftest.err conftest.$ac_objext 4942 test "x$ac_cv_prog_cc_c89" != "xno" && break 4943 done 4944 rm -f conftest.$ac_ext 4945 CC=$ac_save_CC 4946 4947 fi 4948 # AC_CACHE_VAL 4949 case "x$ac_cv_prog_cc_c89" in 4950 x) 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4952 $as_echo "none needed" >&6; } ;; 4953 xno) 4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4955 $as_echo "unsupported" >&6; } ;; 4956 *) 4957 CC="$CC $ac_cv_prog_cc_c89" 4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4959 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4960 esac 4961 if test "x$ac_cv_prog_cc_c89" != xno; then : 4962 4963 fi 4964 4965 ac_ext=c 4966 ac_cpp='$CPP $CPPFLAGS' 4967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4969 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4970 4971 4972 ac_ext=c 4973 ac_cpp='$CPP $CPPFLAGS' 4974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4976 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4978 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4979 # On Suns, sometimes $CPP names a directory. 4980 if test -n "$CPP" && test -d "$CPP"; then 4981 CPP= 4982 fi 4983 if test -z "$CPP"; then 4984 if ${ac_cv_prog_CPP+:} false; then : 4985 $as_echo_n "(cached) " >&6 4986 else 4987 # Double quotes because CPP needs to be expanded 4988 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4989 do 4990 ac_preproc_ok=false 4991 for ac_c_preproc_warn_flag in '' yes 4992 do 4993 # Use a header file that comes with gcc, so configuring glibc 4994 # with a fresh cross-compiler works. 4995 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4996 # <limits.h> exists even on freestanding compilers. 4997 # On the NeXT, cc -E runs the code through the compiler's parser, 4998 # not just through cpp. "Syntax error" is here to catch this case. 4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5000 /* end confdefs.h. */ 5001 #ifdef __STDC__ 5002 # include <limits.h> 5003 #else 5004 # include <assert.h> 5005 #endif 5006 Syntax error 5007 _ACEOF 5008 if ac_fn_c_try_cpp "$LINENO"; then : 5009 5010 else 5011 # Broken: fails on valid input. 5012 continue 5013 fi 5014 rm -f conftest.err conftest.i conftest.$ac_ext 5015 5016 # OK, works on sane cases. Now check whether nonexistent headers 5017 # can be detected and how. 5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5019 /* end confdefs.h. */ 5020 #include <ac_nonexistent.h> 5021 _ACEOF 5022 if ac_fn_c_try_cpp "$LINENO"; then : 5023 # Broken: success on invalid input. 5024 continue 5025 else 5026 # Passes both tests. 5027 ac_preproc_ok=: 5028 break 5029 fi 5030 rm -f conftest.err conftest.i conftest.$ac_ext 5031 5032 done 5033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5034 rm -f conftest.i conftest.err conftest.$ac_ext 5035 if $ac_preproc_ok; then : 5036 break 5037 fi 5038 5039 done 5040 ac_cv_prog_CPP=$CPP 5041 5042 fi 5043 CPP=$ac_cv_prog_CPP 5044 else 5045 ac_cv_prog_CPP=$CPP 5046 fi 5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5048 $as_echo "$CPP" >&6; } 5049 ac_preproc_ok=false 5050 for ac_c_preproc_warn_flag in '' yes 5051 do 5052 # Use a header file that comes with gcc, so configuring glibc 5053 # with a fresh cross-compiler works. 5054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5055 # <limits.h> exists even on freestanding compilers. 5056 # On the NeXT, cc -E runs the code through the compiler's parser, 5057 # not just through cpp. "Syntax error" is here to catch this case. 5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5059 /* end confdefs.h. */ 5060 #ifdef __STDC__ 5061 # include <limits.h> 5062 #else 5063 # include <assert.h> 5064 #endif 5065 Syntax error 5066 _ACEOF 5067 if ac_fn_c_try_cpp "$LINENO"; then : 5068 5069 else 5070 # Broken: fails on valid input. 5071 continue 5072 fi 5073 rm -f conftest.err conftest.i conftest.$ac_ext 5074 5075 # OK, works on sane cases. Now check whether nonexistent headers 5076 # can be detected and how. 5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5078 /* end confdefs.h. */ 5079 #include <ac_nonexistent.h> 5080 _ACEOF 5081 if ac_fn_c_try_cpp "$LINENO"; then : 5082 # Broken: success on invalid input. 5083 continue 5084 else 5085 # Passes both tests. 5086 ac_preproc_ok=: 5087 break 5088 fi 5089 rm -f conftest.err conftest.i conftest.$ac_ext 5090 5091 done 5092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5093 rm -f conftest.i conftest.err conftest.$ac_ext 5094 if $ac_preproc_ok; then : 5095 5096 else 5097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5099 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5100 See \`config.log' for more details" "$LINENO" 5; } 5101 fi 5102 5103 ac_ext=c 5104 ac_cpp='$CPP $CPPFLAGS' 5105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5107 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5108 5109 # Extract the first word of "rm", so it can be a program name with args. 5110 set dummy rm; ac_word=$2 5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5112 $as_echo_n "checking for $ac_word... " >&6; } 5113 if ${ac_cv_path_RM+:} false; then : 5114 $as_echo_n "(cached) " >&6 5115 else 5116 case $RM in 5117 [\\/]* | ?:[\\/]*) 5118 ac_cv_path_RM="$RM" # Let the user override the test with a path. 5119 ;; 5120 *) 5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5122 for as_dir in $PATH 5123 do 5124 IFS=$as_save_IFS 5125 test -z "$as_dir" && as_dir=. 5126 for ac_exec_ext in '' $ac_executable_extensions; do 5127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5128 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" 5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5130 break 2 5131 fi 5132 done 5133 done 5134 IFS=$as_save_IFS 5135 5136 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm" 5137 ;; 5138 esac 5139 fi 5140 RM=$ac_cv_path_RM 5141 if test -n "$RM"; then 5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 5143 $as_echo "$RM" >&6; } 5144 else 5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5146 $as_echo "no" >&6; } 5147 fi 5148 5149 5150 # Extract the first word of "mv", so it can be a program name with args. 5151 set dummy mv; ac_word=$2 5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5153 $as_echo_n "checking for $ac_word... " >&6; } 5154 if ${ac_cv_path_MV+:} false; then : 5155 $as_echo_n "(cached) " >&6 5156 else 5157 case $MV in 5158 [\\/]* | ?:[\\/]*) 5159 ac_cv_path_MV="$MV" # Let the user override the test with a path. 5160 ;; 5161 *) 5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5163 for as_dir in $PATH 5164 do 5165 IFS=$as_save_IFS 5166 test -z "$as_dir" && as_dir=. 5167 for ac_exec_ext in '' $ac_executable_extensions; do 5168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5169 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" 5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5171 break 2 5172 fi 5173 done 5174 done 5175 IFS=$as_save_IFS 5176 5177 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" 5178 ;; 5179 esac 5180 fi 5181 MV=$ac_cv_path_MV 5182 if test -n "$MV"; then 5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 5184 $as_echo "$MV" >&6; } 5185 else 5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5187 $as_echo "no" >&6; } 5188 fi 5189 5190 5191 # Extract the first word of "tar", so it can be a program name with args. 5192 set dummy tar; ac_word=$2 5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5194 $as_echo_n "checking for $ac_word... " >&6; } 5195 if ${ac_cv_path_TAR+:} false; then : 5196 $as_echo_n "(cached) " >&6 5197 else 5198 case $TAR in 5199 [\\/]* | ?:[\\/]*) 5200 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. 5201 ;; 5202 *) 5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5204 for as_dir in $PATH 5205 do 5206 IFS=$as_save_IFS 5207 test -z "$as_dir" && as_dir=. 5208 for ac_exec_ext in '' $ac_executable_extensions; do 5209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5210 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" 5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5212 break 2 5213 fi 5214 done 5215 done 5216 IFS=$as_save_IFS 5217 5218 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" 5219 ;; 5220 esac 5221 fi 5222 TAR=$ac_cv_path_TAR 5223 if test -n "$TAR"; then 5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 5225 $as_echo "$TAR" >&6; } 5226 else 5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5228 $as_echo "no" >&6; } 5229 fi 5230 5231 5232 # Extract the first word of "xmllint", so it can be a program name with args. 5233 set dummy xmllint; ac_word=$2 5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5235 $as_echo_n "checking for $ac_word... " >&6; } 5236 if ${ac_cv_path_XMLLINT+:} false; then : 5237 $as_echo_n "(cached) " >&6 5238 else 5239 case $XMLLINT in 5240 [\\/]* | ?:[\\/]*) 5241 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path. 5242 ;; 5243 *) 5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5245 for as_dir in $PATH 5246 do 5247 IFS=$as_save_IFS 5248 test -z "$as_dir" && as_dir=. 5249 for ac_exec_ext in '' $ac_executable_extensions; do 5250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5251 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext" 5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5253 break 2 5254 fi 5255 done 5256 done 5257 IFS=$as_save_IFS 5258 5259 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint" 5260 ;; 5261 esac 5262 fi 5263 XMLLINT=$ac_cv_path_XMLLINT 5264 if test -n "$XMLLINT"; then 5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 5266 $as_echo "$XMLLINT" >&6; } 5267 else 5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5269 $as_echo "no" >&6; } 5270 fi 5271 5272 5273 # Extract the first word of "xsltproc", so it can be a program name with args. 5274 set dummy xsltproc; ac_word=$2 5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5276 $as_echo_n "checking for $ac_word... " >&6; } 5277 if ${ac_cv_path_XSLTPROC+:} false; then : 5278 $as_echo_n "(cached) " >&6 5279 else 5280 case $XSLTPROC in 5281 [\\/]* | ?:[\\/]*) 5282 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 5283 ;; 5284 *) 5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5286 for as_dir in $PATH 5287 do 5288 IFS=$as_save_IFS 5289 test -z "$as_dir" && as_dir=. 5290 for ac_exec_ext in '' $ac_executable_extensions; do 5291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5292 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 5293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5294 break 2 5295 fi 5296 done 5297 done 5298 IFS=$as_save_IFS 5299 5300 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc" 5301 ;; 5302 esac 5303 fi 5304 XSLTPROC=$ac_cv_path_XSLTPROC 5305 if test -n "$XSLTPROC"; then 5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 5307 $as_echo "$XSLTPROC" >&6; } 5308 else 5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5310 $as_echo "no" >&6; } 5311 fi 5312 5313 5314 5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5316 $as_echo_n "checking for ANSI C header files... " >&6; } 5317 if ${ac_cv_header_stdc+:} false; then : 5318 $as_echo_n "(cached) " >&6 5319 else 5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5321 /* end confdefs.h. */ 5322 #include <stdlib.h> 5323 #include <stdarg.h> 5324 #include <string.h> 5325 #include <float.h> 5326 5327 int 5328 main () 5329 { 5330 5331 ; 5332 return 0; 5333 } 5334 _ACEOF 5335 if ac_fn_c_try_compile "$LINENO"; then : 5336 ac_cv_header_stdc=yes 5337 else 5338 ac_cv_header_stdc=no 5339 fi 5340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5341 5342 if test $ac_cv_header_stdc = yes; then 5343 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5345 /* end confdefs.h. */ 5346 #include <string.h> 5347 5348 _ACEOF 5349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5350 $EGREP "memchr" >/dev/null 2>&1; then : 5351 5352 else 5353 ac_cv_header_stdc=no 5354 fi 5355 rm -f conftest* 5356 5357 fi 5358 5359 if test $ac_cv_header_stdc = yes; then 5360 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5362 /* end confdefs.h. */ 5363 #include <stdlib.h> 5364 5365 _ACEOF 5366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5367 $EGREP "free" >/dev/null 2>&1; then : 5368 5369 else 5370 ac_cv_header_stdc=no 5371 fi 5372 rm -f conftest* 5373 5374 fi 5375 5376 if test $ac_cv_header_stdc = yes; then 5377 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5378 if test "$cross_compiling" = yes; then : 5379 : 5380 else 5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5382 /* end confdefs.h. */ 5383 #include <ctype.h> 5384 #include <stdlib.h> 5385 #if ((' ' & 0x0FF) == 0x020) 5386 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5387 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5388 #else 5389 # define ISLOWER(c) \ 5390 (('a' <= (c) && (c) <= 'i') \ 5391 || ('j' <= (c) && (c) <= 'r') \ 5392 || ('s' <= (c) && (c) <= 'z')) 5393 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5394 #endif 5395 5396 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5397 int 5398 main () 5399 { 5400 int i; 5401 for (i = 0; i < 256; i++) 5402 if (XOR (islower (i), ISLOWER (i)) 5403 || toupper (i) != TOUPPER (i)) 5404 return 2; 5405 return 0; 5406 } 5407 _ACEOF 5408 if ac_fn_c_try_run "$LINENO"; then : 5409 5410 else 5411 ac_cv_header_stdc=no 5412 fi 5413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5414 conftest.$ac_objext conftest.beam conftest.$ac_ext 5415 fi 5416 5417 fi 5418 fi 5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5420 $as_echo "$ac_cv_header_stdc" >&6; } 5421 if test $ac_cv_header_stdc = yes; then 5422 5423 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5424 5425 fi 5426 5427 5428 case `pwd` in 5429 *\ * | *\ *) 5430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5431 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5432 esac 5433 5434 5435 5436 macro_version='2.4.2' 5437 macro_revision='1.3337' 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 ltmain="$ac_aux_dir/ltmain.sh" 5452 5453 # Backslashify metacharacters that are still active within 5454 # double-quoted strings. 5455 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5456 5457 # Same as above, but do not quote variable references. 5458 double_quote_subst='s/\(["`\\]\)/\\\1/g' 5459 5460 # Sed substitution to delay expansion of an escaped shell variable in a 5461 # double_quote_subst'ed string. 5462 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5463 5464 # Sed substitution to delay expansion of an escaped single quote. 5465 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5466 5467 # Sed substitution to avoid accidental globbing in evaled expressions 5468 no_glob_subst='s/\*/\\\*/g' 5469 5470 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5471 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5472 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5473 5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5475 $as_echo_n "checking how to print strings... " >&6; } 5476 # Test print first, because it will be a builtin if present. 5477 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5478 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5479 ECHO='print -r --' 5480 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5481 ECHO='printf %s\n' 5482 else 5483 # Use this function as a fallback that always works. 5484 func_fallback_echo () 5485 { 5486 eval 'cat <<_LTECHO_EOF 5487 $1 5488 _LTECHO_EOF' 5489 } 5490 ECHO='func_fallback_echo' 5491 fi 5492 5493 # func_echo_all arg... 5494 # Invoke $ECHO with all args, space-separated. 5495 func_echo_all () 5496 { 5497 $ECHO "" 5498 } 5499 5500 case "$ECHO" in 5501 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5502 $as_echo "printf" >&6; } ;; 5503 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5504 $as_echo "print -r" >&6; } ;; 5505 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5506 $as_echo "cat" >&6; } ;; 5507 esac 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5523 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 5524 if ${ac_cv_path_SED+:} false; then : 5525 $as_echo_n "(cached) " >&6 5526 else 5527 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5528 for ac_i in 1 2 3 4 5 6 7; do 5529 ac_script="$ac_script$as_nl$ac_script" 5530 done 5531 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5532 { ac_script=; unset ac_script;} 5533 if test -z "$SED"; then 5534 ac_path_SED_found=false 5535 # Loop through the user's path and test for each of PROGNAME-LIST 5536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5537 for as_dir in $PATH 5538 do 5539 IFS=$as_save_IFS 5540 test -z "$as_dir" && as_dir=. 5541 for ac_prog in sed gsed; do 5542 for ac_exec_ext in '' $ac_executable_extensions; do 5543 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5544 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 5545 # Check for GNU ac_path_SED and select it if it is found. 5546 # Check for GNU $ac_path_SED 5547 case `"$ac_path_SED" --version 2>&1` in 5548 *GNU*) 5549 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5550 *) 5551 ac_count=0 5552 $as_echo_n 0123456789 >"conftest.in" 5553 while : 5554 do 5555 cat "conftest.in" "conftest.in" >"conftest.tmp" 5556 mv "conftest.tmp" "conftest.in" 5557 cp "conftest.in" "conftest.nl" 5558 $as_echo '' >> "conftest.nl" 5559 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5560 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5561 as_fn_arith $ac_count + 1 && ac_count=$as_val 5562 if test $ac_count -gt ${ac_path_SED_max-0}; then 5563 # Best one so far, save it but keep looking for a better one 5564 ac_cv_path_SED="$ac_path_SED" 5565 ac_path_SED_max=$ac_count 5566 fi 5567 # 10*(2^10) chars as input seems more than enough 5568 test $ac_count -gt 10 && break 5569 done 5570 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5571 esac 5572 5573 $ac_path_SED_found && break 3 5574 done 5575 done 5576 done 5577 IFS=$as_save_IFS 5578 if test -z "$ac_cv_path_SED"; then 5579 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5580 fi 5581 else 5582 ac_cv_path_SED=$SED 5583 fi 5584 5585 fi 5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5587 $as_echo "$ac_cv_path_SED" >&6; } 5588 SED="$ac_cv_path_SED" 5589 rm -f conftest.sed 5590 5591 test -z "$SED" && SED=sed 5592 Xsed="$SED -e 1s/^X//" 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5605 $as_echo_n "checking for fgrep... " >&6; } 5606 if ${ac_cv_path_FGREP+:} false; then : 5607 $as_echo_n "(cached) " >&6 5608 else 5609 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5610 then ac_cv_path_FGREP="$GREP -F" 5611 else 5612 if test -z "$FGREP"; then 5613 ac_path_FGREP_found=false 5614 # Loop through the user's path and test for each of PROGNAME-LIST 5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5616 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5617 do 5618 IFS=$as_save_IFS 5619 test -z "$as_dir" && as_dir=. 5620 for ac_prog in fgrep; do 5621 for ac_exec_ext in '' $ac_executable_extensions; do 5622 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5623 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5624 # Check for GNU ac_path_FGREP and select it if it is found. 5625 # Check for GNU $ac_path_FGREP 5626 case `"$ac_path_FGREP" --version 2>&1` in 5627 *GNU*) 5628 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5629 *) 5630 ac_count=0 5631 $as_echo_n 0123456789 >"conftest.in" 5632 while : 5633 do 5634 cat "conftest.in" "conftest.in" >"conftest.tmp" 5635 mv "conftest.tmp" "conftest.in" 5636 cp "conftest.in" "conftest.nl" 5637 $as_echo 'FGREP' >> "conftest.nl" 5638 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5639 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5640 as_fn_arith $ac_count + 1 && ac_count=$as_val 5641 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5642 # Best one so far, save it but keep looking for a better one 5643 ac_cv_path_FGREP="$ac_path_FGREP" 5644 ac_path_FGREP_max=$ac_count 5645 fi 5646 # 10*(2^10) chars as input seems more than enough 5647 test $ac_count -gt 10 && break 5648 done 5649 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5650 esac 5651 5652 $ac_path_FGREP_found && break 3 5653 done 5654 done 5655 done 5656 IFS=$as_save_IFS 5657 if test -z "$ac_cv_path_FGREP"; then 5658 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5659 fi 5660 else 5661 ac_cv_path_FGREP=$FGREP 5662 fi 5663 5664 fi 5665 fi 5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5667 $as_echo "$ac_cv_path_FGREP" >&6; } 5668 FGREP="$ac_cv_path_FGREP" 5669 5670 5671 test -z "$GREP" && GREP=grep 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 # Check whether --with-gnu-ld was given. 5692 if test "${with_gnu_ld+set}" = set; then : 5693 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5694 else 5695 with_gnu_ld=no 5696 fi 5697 5698 ac_prog=ld 5699 if test "$GCC" = yes; then 5700 # Check if gcc -print-prog-name=ld gives a path. 5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5702 $as_echo_n "checking for ld used by $CC... " >&6; } 5703 case $host in 5704 *-*-mingw*) 5705 # gcc leaves a trailing carriage return which upsets mingw 5706 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5707 *) 5708 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5709 esac 5710 case $ac_prog in 5711 # Accept absolute paths. 5712 [\\/]* | ?:[\\/]*) 5713 re_direlt='/[^/][^/]*/\.\./' 5714 # Canonicalize the pathname of ld 5715 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5716 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5717 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5718 done 5719 test -z "$LD" && LD="$ac_prog" 5720 ;; 5721 "") 5722 # If it fails, then pretend we aren't using GCC. 5723 ac_prog=ld 5724 ;; 5725 *) 5726 # If it is relative, then search for the first ld in PATH. 5727 with_gnu_ld=unknown 5728 ;; 5729 esac 5730 elif test "$with_gnu_ld" = yes; then 5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5732 $as_echo_n "checking for GNU ld... " >&6; } 5733 else 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5735 $as_echo_n "checking for non-GNU ld... " >&6; } 5736 fi 5737 if ${lt_cv_path_LD+:} false; then : 5738 $as_echo_n "(cached) " >&6 5739 else 5740 if test -z "$LD"; then 5741 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5742 for ac_dir in $PATH; do 5743 IFS="$lt_save_ifs" 5744 test -z "$ac_dir" && ac_dir=. 5745 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5746 lt_cv_path_LD="$ac_dir/$ac_prog" 5747 # Check to see if the program is GNU ld. I'd rather use --version, 5748 # but apparently some variants of GNU ld only accept -v. 5749 # Break only if it was the GNU/non-GNU ld that we prefer. 5750 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5751 *GNU* | *'with BFD'*) 5752 test "$with_gnu_ld" != no && break 5753 ;; 5754 *) 5755 test "$with_gnu_ld" != yes && break 5756 ;; 5757 esac 5758 fi 5759 done 5760 IFS="$lt_save_ifs" 5761 else 5762 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5763 fi 5764 fi 5765 5766 LD="$lt_cv_path_LD" 5767 if test -n "$LD"; then 5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5769 $as_echo "$LD" >&6; } 5770 else 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5772 $as_echo "no" >&6; } 5773 fi 5774 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5776 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5777 if ${lt_cv_prog_gnu_ld+:} false; then : 5778 $as_echo_n "(cached) " >&6 5779 else 5780 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5781 case `$LD -v 2>&1 </dev/null` in 5782 *GNU* | *'with BFD'*) 5783 lt_cv_prog_gnu_ld=yes 5784 ;; 5785 *) 5786 lt_cv_prog_gnu_ld=no 5787 ;; 5788 esac 5789 fi 5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5791 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 5792 with_gnu_ld=$lt_cv_prog_gnu_ld 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5803 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5804 if ${lt_cv_path_NM+:} false; then : 5805 $as_echo_n "(cached) " >&6 5806 else 5807 if test -n "$NM"; then 5808 # Let the user override the test. 5809 lt_cv_path_NM="$NM" 5810 else 5811 lt_nm_to_check="${ac_tool_prefix}nm" 5812 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5813 lt_nm_to_check="$lt_nm_to_check nm" 5814 fi 5815 for lt_tmp_nm in $lt_nm_to_check; do 5816 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5817 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5818 IFS="$lt_save_ifs" 5819 test -z "$ac_dir" && ac_dir=. 5820 tmp_nm="$ac_dir/$lt_tmp_nm" 5821 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5822 # Check to see if the nm accepts a BSD-compat flag. 5823 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5824 # nm: unknown option "B" ignored 5825 # Tru64's nm complains that /dev/null is an invalid object file 5826 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5827 */dev/null* | *'Invalid file or object type'*) 5828 lt_cv_path_NM="$tmp_nm -B" 5829 break 5830 ;; 5831 *) 5832 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5833 */dev/null*) 5834 lt_cv_path_NM="$tmp_nm -p" 5835 break 5836 ;; 5837 *) 5838 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5839 continue # so that we can try to find one that supports BSD flags 5840 ;; 5841 esac 5842 ;; 5843 esac 5844 fi 5845 done 5846 IFS="$lt_save_ifs" 5847 done 5848 : ${lt_cv_path_NM=no} 5849 fi 5850 fi 5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5852 $as_echo "$lt_cv_path_NM" >&6; } 5853 if test "$lt_cv_path_NM" != "no"; then 5854 NM="$lt_cv_path_NM" 5855 else 5856 # Didn't find any BSD compatible name lister, look for dumpbin. 5857 if test -n "$DUMPBIN"; then : 5858 # Let the user override the test. 5859 else 5860 if test -n "$ac_tool_prefix"; then 5861 for ac_prog in dumpbin "link -dump" 5862 do 5863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5866 $as_echo_n "checking for $ac_word... " >&6; } 5867 if ${ac_cv_prog_DUMPBIN+:} false; then : 5868 $as_echo_n "(cached) " >&6 5869 else 5870 if test -n "$DUMPBIN"; then 5871 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5872 else 5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5874 for as_dir in $PATH 5875 do 5876 IFS=$as_save_IFS 5877 test -z "$as_dir" && as_dir=. 5878 for ac_exec_ext in '' $ac_executable_extensions; do 5879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5880 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5882 break 2 5883 fi 5884 done 5885 done 5886 IFS=$as_save_IFS 5887 5888 fi 5889 fi 5890 DUMPBIN=$ac_cv_prog_DUMPBIN 5891 if test -n "$DUMPBIN"; then 5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5893 $as_echo "$DUMPBIN" >&6; } 5894 else 5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5896 $as_echo "no" >&6; } 5897 fi 5898 5899 5900 test -n "$DUMPBIN" && break 5901 done 5902 fi 5903 if test -z "$DUMPBIN"; then 5904 ac_ct_DUMPBIN=$DUMPBIN 5905 for ac_prog in dumpbin "link -dump" 5906 do 5907 # Extract the first word of "$ac_prog", so it can be a program name with args. 5908 set dummy $ac_prog; ac_word=$2 5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5910 $as_echo_n "checking for $ac_word... " >&6; } 5911 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5912 $as_echo_n "(cached) " >&6 5913 else 5914 if test -n "$ac_ct_DUMPBIN"; then 5915 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5916 else 5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5918 for as_dir in $PATH 5919 do 5920 IFS=$as_save_IFS 5921 test -z "$as_dir" && as_dir=. 5922 for ac_exec_ext in '' $ac_executable_extensions; do 5923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5924 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5926 break 2 5927 fi 5928 done 5929 done 5930 IFS=$as_save_IFS 5931 5932 fi 5933 fi 5934 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5935 if test -n "$ac_ct_DUMPBIN"; then 5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5937 $as_echo "$ac_ct_DUMPBIN" >&6; } 5938 else 5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5940 $as_echo "no" >&6; } 5941 fi 5942 5943 5944 test -n "$ac_ct_DUMPBIN" && break 5945 done 5946 5947 if test "x$ac_ct_DUMPBIN" = x; then 5948 DUMPBIN=":" 5949 else 5950 case $cross_compiling:$ac_tool_warned in 5951 yes:) 5952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5954 ac_tool_warned=yes ;; 5955 esac 5956 DUMPBIN=$ac_ct_DUMPBIN 5957 fi 5958 fi 5959 5960 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5961 *COFF*) 5962 DUMPBIN="$DUMPBIN -symbols" 5963 ;; 5964 *) 5965 DUMPBIN=: 5966 ;; 5967 esac 5968 fi 5969 5970 if test "$DUMPBIN" != ":"; then 5971 NM="$DUMPBIN" 5972 fi 5973 fi 5974 test -z "$NM" && NM=nm 5975 5976 5977 5978 5979 5980 5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5982 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 5983 if ${lt_cv_nm_interface+:} false; then : 5984 $as_echo_n "(cached) " >&6 5985 else 5986 lt_cv_nm_interface="BSD nm" 5987 echo "int some_variable = 0;" > conftest.$ac_ext 5988 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5989 (eval "$ac_compile" 2>conftest.err) 5990 cat conftest.err >&5 5991 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5992 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5993 cat conftest.err >&5 5994 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5995 cat conftest.out >&5 5996 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5997 lt_cv_nm_interface="MS dumpbin" 5998 fi 5999 rm -f conftest* 6000 fi 6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6002 $as_echo "$lt_cv_nm_interface" >&6; } 6003 6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6005 $as_echo_n "checking whether ln -s works... " >&6; } 6006 LN_S=$as_ln_s 6007 if test "$LN_S" = "ln -s"; then 6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6009 $as_echo "yes" >&6; } 6010 else 6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6012 $as_echo "no, using $LN_S" >&6; } 6013 fi 6014 6015 # find the maximum length of command line arguments 6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6017 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 6018 if ${lt_cv_sys_max_cmd_len+:} false; then : 6019 $as_echo_n "(cached) " >&6 6020 else 6021 i=0 6022 teststring="ABCD" 6023 6024 case $build_os in 6025 msdosdjgpp*) 6026 # On DJGPP, this test can blow up pretty badly due to problems in libc 6027 # (any single argument exceeding 2000 bytes causes a buffer overrun 6028 # during glob expansion). Even if it were fixed, the result of this 6029 # check would be larger than it should be. 6030 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6031 ;; 6032 6033 gnu*) 6034 # Under GNU Hurd, this test is not required because there is 6035 # no limit to the length of command line arguments. 6036 # Libtool will interpret -1 as no limit whatsoever 6037 lt_cv_sys_max_cmd_len=-1; 6038 ;; 6039 6040 cygwin* | mingw* | cegcc*) 6041 # On Win9x/ME, this test blows up -- it succeeds, but takes 6042 # about 5 minutes as the teststring grows exponentially. 6043 # Worse, since 9x/ME are not pre-emptively multitasking, 6044 # you end up with a "frozen" computer, even though with patience 6045 # the test eventually succeeds (with a max line length of 256k). 6046 # Instead, let's just punt: use the minimum linelength reported by 6047 # all of the supported platforms: 8192 (on NT/2K/XP). 6048 lt_cv_sys_max_cmd_len=8192; 6049 ;; 6050 6051 mint*) 6052 # On MiNT this can take a long time and run out of memory. 6053 lt_cv_sys_max_cmd_len=8192; 6054 ;; 6055 6056 amigaos*) 6057 # On AmigaOS with pdksh, this test takes hours, literally. 6058 # So we just punt and use a minimum line length of 8192. 6059 lt_cv_sys_max_cmd_len=8192; 6060 ;; 6061 6062 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6063 # This has been around since 386BSD, at least. Likely further. 6064 if test -x /sbin/sysctl; then 6065 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6066 elif test -x /usr/sbin/sysctl; then 6067 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6068 else 6069 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6070 fi 6071 # And add a safety zone 6072 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6073 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6074 ;; 6075 6076 interix*) 6077 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6078 lt_cv_sys_max_cmd_len=196608 6079 ;; 6080 6081 os2*) 6082 # The test takes a long time on OS/2. 6083 lt_cv_sys_max_cmd_len=8192 6084 ;; 6085 6086 osf*) 6087 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6088 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6089 # nice to cause kernel panics so lets avoid the loop below. 6090 # First set a reasonable default. 6091 lt_cv_sys_max_cmd_len=16384 6092 # 6093 if test -x /sbin/sysconfig; then 6094 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6095 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6096 esac 6097 fi 6098 ;; 6099 sco3.2v5*) 6100 lt_cv_sys_max_cmd_len=102400 6101 ;; 6102 sysv5* | sco5v6* | sysv4.2uw2*) 6103 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6104 if test -n "$kargmax"; then 6105 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6106 else 6107 lt_cv_sys_max_cmd_len=32768 6108 fi 6109 ;; 6110 *) 6111 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6112 if test -n "$lt_cv_sys_max_cmd_len"; then 6113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6114 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6115 else 6116 # Make teststring a little bigger before we do anything with it. 6117 # a 1K string should be a reasonable start. 6118 for i in 1 2 3 4 5 6 7 8 ; do 6119 teststring=$teststring$teststring 6120 done 6121 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6122 # If test is not a shell built-in, we'll probably end up computing a 6123 # maximum length that is only half of the actual maximum length, but 6124 # we can't tell. 6125 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 6126 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6127 test $i != 17 # 1/2 MB should be enough 6128 do 6129 i=`expr $i + 1` 6130 teststring=$teststring$teststring 6131 done 6132 # Only check the string length outside the loop. 6133 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6134 teststring= 6135 # Add a significant safety factor because C++ compilers can tack on 6136 # massive amounts of additional arguments before passing them to the 6137 # linker. It appears as though 1/2 is a usable value. 6138 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6139 fi 6140 ;; 6141 esac 6142 6143 fi 6144 6145 if test -n $lt_cv_sys_max_cmd_len ; then 6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6147 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6148 else 6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6150 $as_echo "none" >&6; } 6151 fi 6152 max_cmd_len=$lt_cv_sys_max_cmd_len 6153 6154 6155 6156 6157 6158 6159 : ${CP="cp -f"} 6160 : ${MV="mv -f"} 6161 : ${RM="rm -f"} 6162 6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 6164 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 6165 # Try some XSI features 6166 xsi_shell=no 6167 ( _lt_dummy="a/b/c" 6168 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 6169 = c,a/b,b/c, \ 6170 && eval 'test $(( 1 + 1 )) -eq 2 \ 6171 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 6172 && xsi_shell=yes 6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 6174 $as_echo "$xsi_shell" >&6; } 6175 6176 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 6178 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 6179 lt_shell_append=no 6180 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 6181 >/dev/null 2>&1 \ 6182 && lt_shell_append=yes 6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 6184 $as_echo "$lt_shell_append" >&6; } 6185 6186 6187 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6188 lt_unset=unset 6189 else 6190 lt_unset=false 6191 fi 6192 6193 6194 6195 6196 6197 # test EBCDIC or ASCII 6198 case `echo X|tr X '\101'` in 6199 A) # ASCII based system 6200 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6201 lt_SP2NL='tr \040 \012' 6202 lt_NL2SP='tr \015\012 \040\040' 6203 ;; 6204 *) # EBCDIC based system 6205 lt_SP2NL='tr \100 \n' 6206 lt_NL2SP='tr \r\n \100\100' 6207 ;; 6208 esac 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6219 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6220 if ${lt_cv_to_host_file_cmd+:} false; then : 6221 $as_echo_n "(cached) " >&6 6222 else 6223 case $host in 6224 *-*-mingw* ) 6225 case $build in 6226 *-*-mingw* ) # actually msys 6227 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6228 ;; 6229 *-*-cygwin* ) 6230 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6231 ;; 6232 * ) # otherwise, assume *nix 6233 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6234 ;; 6235 esac 6236 ;; 6237 *-*-cygwin* ) 6238 case $build in 6239 *-*-mingw* ) # actually msys 6240 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6241 ;; 6242 *-*-cygwin* ) 6243 lt_cv_to_host_file_cmd=func_convert_file_noop 6244 ;; 6245 * ) # otherwise, assume *nix 6246 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6247 ;; 6248 esac 6249 ;; 6250 * ) # unhandled hosts (and "normal" native builds) 6251 lt_cv_to_host_file_cmd=func_convert_file_noop 6252 ;; 6253 esac 6254 6255 fi 6256 6257 to_host_file_cmd=$lt_cv_to_host_file_cmd 6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6259 $as_echo "$lt_cv_to_host_file_cmd" >&6; } 6260 6261 6262 6263 6264 6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6266 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6267 if ${lt_cv_to_tool_file_cmd+:} false; then : 6268 $as_echo_n "(cached) " >&6 6269 else 6270 #assume ordinary cross tools, or native build. 6271 lt_cv_to_tool_file_cmd=func_convert_file_noop 6272 case $host in 6273 *-*-mingw* ) 6274 case $build in 6275 *-*-mingw* ) # actually msys 6276 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6277 ;; 6278 esac 6279 ;; 6280 esac 6281 6282 fi 6283 6284 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6286 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6287 6288 6289 6290 6291 6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6293 $as_echo_n "checking for $LD option to reload object files... " >&6; } 6294 if ${lt_cv_ld_reload_flag+:} false; then : 6295 $as_echo_n "(cached) " >&6 6296 else 6297 lt_cv_ld_reload_flag='-r' 6298 fi 6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6300 $as_echo "$lt_cv_ld_reload_flag" >&6; } 6301 reload_flag=$lt_cv_ld_reload_flag 6302 case $reload_flag in 6303 "" | " "*) ;; 6304 *) reload_flag=" $reload_flag" ;; 6305 esac 6306 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6307 case $host_os in 6308 cygwin* | mingw* | pw32* | cegcc*) 6309 if test "$GCC" != yes; then 6310 reload_cmds=false 6311 fi 6312 ;; 6313 darwin*) 6314 if test "$GCC" = yes; then 6315 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 6316 else 6317 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6318 fi 6319 ;; 6320 esac 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 if test -n "$ac_tool_prefix"; then 6331 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6332 set dummy ${ac_tool_prefix}objdump; ac_word=$2 6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6334 $as_echo_n "checking for $ac_word... " >&6; } 6335 if ${ac_cv_prog_OBJDUMP+:} false; then : 6336 $as_echo_n "(cached) " >&6 6337 else 6338 if test -n "$OBJDUMP"; then 6339 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6340 else 6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6342 for as_dir in $PATH 6343 do 6344 IFS=$as_save_IFS 6345 test -z "$as_dir" && as_dir=. 6346 for ac_exec_ext in '' $ac_executable_extensions; do 6347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6348 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6350 break 2 6351 fi 6352 done 6353 done 6354 IFS=$as_save_IFS 6355 6356 fi 6357 fi 6358 OBJDUMP=$ac_cv_prog_OBJDUMP 6359 if test -n "$OBJDUMP"; then 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6361 $as_echo "$OBJDUMP" >&6; } 6362 else 6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6364 $as_echo "no" >&6; } 6365 fi 6366 6367 6368 fi 6369 if test -z "$ac_cv_prog_OBJDUMP"; then 6370 ac_ct_OBJDUMP=$OBJDUMP 6371 # Extract the first word of "objdump", so it can be a program name with args. 6372 set dummy objdump; ac_word=$2 6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6374 $as_echo_n "checking for $ac_word... " >&6; } 6375 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6376 $as_echo_n "(cached) " >&6 6377 else 6378 if test -n "$ac_ct_OBJDUMP"; then 6379 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6380 else 6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6382 for as_dir in $PATH 6383 do 6384 IFS=$as_save_IFS 6385 test -z "$as_dir" && as_dir=. 6386 for ac_exec_ext in '' $ac_executable_extensions; do 6387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6388 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6390 break 2 6391 fi 6392 done 6393 done 6394 IFS=$as_save_IFS 6395 6396 fi 6397 fi 6398 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6399 if test -n "$ac_ct_OBJDUMP"; then 6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6401 $as_echo "$ac_ct_OBJDUMP" >&6; } 6402 else 6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6404 $as_echo "no" >&6; } 6405 fi 6406 6407 if test "x$ac_ct_OBJDUMP" = x; then 6408 OBJDUMP="false" 6409 else 6410 case $cross_compiling:$ac_tool_warned in 6411 yes:) 6412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6414 ac_tool_warned=yes ;; 6415 esac 6416 OBJDUMP=$ac_ct_OBJDUMP 6417 fi 6418 else 6419 OBJDUMP="$ac_cv_prog_OBJDUMP" 6420 fi 6421 6422 test -z "$OBJDUMP" && OBJDUMP=objdump 6423 6424 6425 6426 6427 6428 6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6430 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 6431 if ${lt_cv_deplibs_check_method+:} false; then : 6432 $as_echo_n "(cached) " >&6 6433 else 6434 lt_cv_file_magic_cmd='$MAGIC_CMD' 6435 lt_cv_file_magic_test_file= 6436 lt_cv_deplibs_check_method='unknown' 6437 # Need to set the preceding variable on all platforms that support 6438 # interlibrary dependencies. 6439 # 'none' -- dependencies not supported. 6440 # `unknown' -- same as none, but documents that we really don't know. 6441 # 'pass_all' -- all dependencies passed with no checks. 6442 # 'test_compile' -- check by making test program. 6443 # 'file_magic [[regex]]' -- check by looking for files in library path 6444 # which responds to the $file_magic_cmd with a given extended regex. 6445 # If you have `file' or equivalent on your system and you're not sure 6446 # whether `pass_all' will *always* work, you probably want this one. 6447 6448 case $host_os in 6449 aix[4-9]*) 6450 lt_cv_deplibs_check_method=pass_all 6451 ;; 6452 6453 beos*) 6454 lt_cv_deplibs_check_method=pass_all 6455 ;; 6456 6457 bsdi[45]*) 6458 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6459 lt_cv_file_magic_cmd='/usr/bin/file -L' 6460 lt_cv_file_magic_test_file=/shlib/libc.so 6461 ;; 6462 6463 cygwin*) 6464 # func_win32_libid is a shell function defined in ltmain.sh 6465 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6466 lt_cv_file_magic_cmd='func_win32_libid' 6467 ;; 6468 6469 mingw* | pw32*) 6470 # Base MSYS/MinGW do not provide the 'file' command needed by 6471 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6472 # unless we find 'file', for example because we are cross-compiling. 6473 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6474 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 6475 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6476 lt_cv_file_magic_cmd='func_win32_libid' 6477 else 6478 # Keep this pattern in sync with the one in func_win32_libid. 6479 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6480 lt_cv_file_magic_cmd='$OBJDUMP -f' 6481 fi 6482 ;; 6483 6484 cegcc*) 6485 # use the weaker test based on 'objdump'. See mingw*. 6486 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6487 lt_cv_file_magic_cmd='$OBJDUMP -f' 6488 ;; 6489 6490 darwin* | rhapsody*) 6491 lt_cv_deplibs_check_method=pass_all 6492 ;; 6493 6494 freebsd* | dragonfly*) 6495 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6496 case $host_cpu in 6497 i*86 ) 6498 # Not sure whether the presence of OpenBSD here was a mistake. 6499 # Let's accept both of them until this is cleared up. 6500 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6501 lt_cv_file_magic_cmd=/usr/bin/file 6502 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6503 ;; 6504 esac 6505 else 6506 lt_cv_deplibs_check_method=pass_all 6507 fi 6508 ;; 6509 6510 gnu*) 6511 lt_cv_deplibs_check_method=pass_all 6512 ;; 6513 6514 haiku*) 6515 lt_cv_deplibs_check_method=pass_all 6516 ;; 6517 6518 hpux10.20* | hpux11*) 6519 lt_cv_file_magic_cmd=/usr/bin/file 6520 case $host_cpu in 6521 ia64*) 6522 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6523 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6524 ;; 6525 hppa*64*) 6526 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 6527 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6528 ;; 6529 *) 6530 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6531 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6532 ;; 6533 esac 6534 ;; 6535 6536 interix[3-9]*) 6537 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6538 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6539 ;; 6540 6541 irix5* | irix6* | nonstopux*) 6542 case $LD in 6543 *-32|*"-32 ") libmagic=32-bit;; 6544 *-n32|*"-n32 ") libmagic=N32;; 6545 *-64|*"-64 ") libmagic=64-bit;; 6546 *) libmagic=never-match;; 6547 esac 6548 lt_cv_deplibs_check_method=pass_all 6549 ;; 6550 6551 # This must be glibc/ELF. 6552 linux* | k*bsd*-gnu | kopensolaris*-gnu) 6553 lt_cv_deplibs_check_method=pass_all 6554 ;; 6555 6556 netbsd*) 6557 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6558 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6559 else 6560 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6561 fi 6562 ;; 6563 6564 newos6*) 6565 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6566 lt_cv_file_magic_cmd=/usr/bin/file 6567 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6568 ;; 6569 6570 *nto* | *qnx*) 6571 lt_cv_deplibs_check_method=pass_all 6572 ;; 6573 6574 openbsd*) 6575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6576 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6577 else 6578 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6579 fi 6580 ;; 6581 6582 osf3* | osf4* | osf5*) 6583 lt_cv_deplibs_check_method=pass_all 6584 ;; 6585 6586 rdos*) 6587 lt_cv_deplibs_check_method=pass_all 6588 ;; 6589 6590 solaris*) 6591 lt_cv_deplibs_check_method=pass_all 6592 ;; 6593 6594 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6595 lt_cv_deplibs_check_method=pass_all 6596 ;; 6597 6598 sysv4 | sysv4.3*) 6599 case $host_vendor in 6600 motorola) 6601 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 6602 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6603 ;; 6604 ncr) 6605 lt_cv_deplibs_check_method=pass_all 6606 ;; 6607 sequent) 6608 lt_cv_file_magic_cmd='/bin/file' 6609 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6610 ;; 6611 sni) 6612 lt_cv_file_magic_cmd='/bin/file' 6613 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6614 lt_cv_file_magic_test_file=/lib/libc.so 6615 ;; 6616 siemens) 6617 lt_cv_deplibs_check_method=pass_all 6618 ;; 6619 pc) 6620 lt_cv_deplibs_check_method=pass_all 6621 ;; 6622 esac 6623 ;; 6624 6625 tpf*) 6626 lt_cv_deplibs_check_method=pass_all 6627 ;; 6628 esac 6629 6630 fi 6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6632 $as_echo "$lt_cv_deplibs_check_method" >&6; } 6633 6634 file_magic_glob= 6635 want_nocaseglob=no 6636 if test "$build" = "$host"; then 6637 case $host_os in 6638 mingw* | pw32*) 6639 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6640 want_nocaseglob=yes 6641 else 6642 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6643 fi 6644 ;; 6645 esac 6646 fi 6647 6648 file_magic_cmd=$lt_cv_file_magic_cmd 6649 deplibs_check_method=$lt_cv_deplibs_check_method 6650 test -z "$deplibs_check_method" && deplibs_check_method=unknown 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 if test -n "$ac_tool_prefix"; then 6674 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6675 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6677 $as_echo_n "checking for $ac_word... " >&6; } 6678 if ${ac_cv_prog_DLLTOOL+:} false; then : 6679 $as_echo_n "(cached) " >&6 6680 else 6681 if test -n "$DLLTOOL"; then 6682 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6683 else 6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6685 for as_dir in $PATH 6686 do 6687 IFS=$as_save_IFS 6688 test -z "$as_dir" && as_dir=. 6689 for ac_exec_ext in '' $ac_executable_extensions; do 6690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6691 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6693 break 2 6694 fi 6695 done 6696 done 6697 IFS=$as_save_IFS 6698 6699 fi 6700 fi 6701 DLLTOOL=$ac_cv_prog_DLLTOOL 6702 if test -n "$DLLTOOL"; then 6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6704 $as_echo "$DLLTOOL" >&6; } 6705 else 6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6707 $as_echo "no" >&6; } 6708 fi 6709 6710 6711 fi 6712 if test -z "$ac_cv_prog_DLLTOOL"; then 6713 ac_ct_DLLTOOL=$DLLTOOL 6714 # Extract the first word of "dlltool", so it can be a program name with args. 6715 set dummy dlltool; ac_word=$2 6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6717 $as_echo_n "checking for $ac_word... " >&6; } 6718 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6719 $as_echo_n "(cached) " >&6 6720 else 6721 if test -n "$ac_ct_DLLTOOL"; then 6722 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6723 else 6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6725 for as_dir in $PATH 6726 do 6727 IFS=$as_save_IFS 6728 test -z "$as_dir" && as_dir=. 6729 for ac_exec_ext in '' $ac_executable_extensions; do 6730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6731 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6733 break 2 6734 fi 6735 done 6736 done 6737 IFS=$as_save_IFS 6738 6739 fi 6740 fi 6741 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6742 if test -n "$ac_ct_DLLTOOL"; then 6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6744 $as_echo "$ac_ct_DLLTOOL" >&6; } 6745 else 6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6747 $as_echo "no" >&6; } 6748 fi 6749 6750 if test "x$ac_ct_DLLTOOL" = x; then 6751 DLLTOOL="false" 6752 else 6753 case $cross_compiling:$ac_tool_warned in 6754 yes:) 6755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6757 ac_tool_warned=yes ;; 6758 esac 6759 DLLTOOL=$ac_ct_DLLTOOL 6760 fi 6761 else 6762 DLLTOOL="$ac_cv_prog_DLLTOOL" 6763 fi 6764 6765 test -z "$DLLTOOL" && DLLTOOL=dlltool 6766 6767 6768 6769 6770 6771 6772 6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6774 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6775 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6776 $as_echo_n "(cached) " >&6 6777 else 6778 lt_cv_sharedlib_from_linklib_cmd='unknown' 6779 6780 case $host_os in 6781 cygwin* | mingw* | pw32* | cegcc*) 6782 # two different shell functions defined in ltmain.sh 6783 # decide which to use based on capabilities of $DLLTOOL 6784 case `$DLLTOOL --help 2>&1` in 6785 *--identify-strict*) 6786 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6787 ;; 6788 *) 6789 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6790 ;; 6791 esac 6792 ;; 6793 *) 6794 # fallback: assume linklib IS sharedlib 6795 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6796 ;; 6797 esac 6798 6799 fi 6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6801 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6802 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6803 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6804 6805 6806 6807 6808 6809 6810 6811 if test -n "$ac_tool_prefix"; then 6812 for ac_prog in ar 6813 do 6814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6817 $as_echo_n "checking for $ac_word... " >&6; } 6818 if ${ac_cv_prog_AR+:} false; then : 6819 $as_echo_n "(cached) " >&6 6820 else 6821 if test -n "$AR"; then 6822 ac_cv_prog_AR="$AR" # Let the user override the test. 6823 else 6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6825 for as_dir in $PATH 6826 do 6827 IFS=$as_save_IFS 6828 test -z "$as_dir" && as_dir=. 6829 for ac_exec_ext in '' $ac_executable_extensions; do 6830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6831 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6833 break 2 6834 fi 6835 done 6836 done 6837 IFS=$as_save_IFS 6838 6839 fi 6840 fi 6841 AR=$ac_cv_prog_AR 6842 if test -n "$AR"; then 6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6844 $as_echo "$AR" >&6; } 6845 else 6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6847 $as_echo "no" >&6; } 6848 fi 6849 6850 6851 test -n "$AR" && break 6852 done 6853 fi 6854 if test -z "$AR"; then 6855 ac_ct_AR=$AR 6856 for ac_prog in ar 6857 do 6858 # Extract the first word of "$ac_prog", so it can be a program name with args. 6859 set dummy $ac_prog; ac_word=$2 6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6861 $as_echo_n "checking for $ac_word... " >&6; } 6862 if ${ac_cv_prog_ac_ct_AR+:} false; then : 6863 $as_echo_n "(cached) " >&6 6864 else 6865 if test -n "$ac_ct_AR"; then 6866 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6867 else 6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6869 for as_dir in $PATH 6870 do 6871 IFS=$as_save_IFS 6872 test -z "$as_dir" && as_dir=. 6873 for ac_exec_ext in '' $ac_executable_extensions; do 6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6875 ac_cv_prog_ac_ct_AR="$ac_prog" 6876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6877 break 2 6878 fi 6879 done 6880 done 6881 IFS=$as_save_IFS 6882 6883 fi 6884 fi 6885 ac_ct_AR=$ac_cv_prog_ac_ct_AR 6886 if test -n "$ac_ct_AR"; then 6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6888 $as_echo "$ac_ct_AR" >&6; } 6889 else 6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6891 $as_echo "no" >&6; } 6892 fi 6893 6894 6895 test -n "$ac_ct_AR" && break 6896 done 6897 6898 if test "x$ac_ct_AR" = x; then 6899 AR="false" 6900 else 6901 case $cross_compiling:$ac_tool_warned in 6902 yes:) 6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6905 ac_tool_warned=yes ;; 6906 esac 6907 AR=$ac_ct_AR 6908 fi 6909 fi 6910 6911 : ${AR=ar} 6912 : ${AR_FLAGS=cru} 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6925 $as_echo_n "checking for archiver @FILE support... " >&6; } 6926 if ${lt_cv_ar_at_file+:} false; then : 6927 $as_echo_n "(cached) " >&6 6928 else 6929 lt_cv_ar_at_file=no 6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6931 /* end confdefs.h. */ 6932 6933 int 6934 main () 6935 { 6936 6937 ; 6938 return 0; 6939 } 6940 _ACEOF 6941 if ac_fn_c_try_compile "$LINENO"; then : 6942 echo conftest.$ac_objext > conftest.lst 6943 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6944 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6945 (eval $lt_ar_try) 2>&5 6946 ac_status=$? 6947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6948 test $ac_status = 0; } 6949 if test "$ac_status" -eq 0; then 6950 # Ensure the archiver fails upon bogus file names. 6951 rm -f conftest.$ac_objext libconftest.a 6952 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6953 (eval $lt_ar_try) 2>&5 6954 ac_status=$? 6955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6956 test $ac_status = 0; } 6957 if test "$ac_status" -ne 0; then 6958 lt_cv_ar_at_file=@ 6959 fi 6960 fi 6961 rm -f conftest.* libconftest.a 6962 6963 fi 6964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6965 6966 fi 6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6968 $as_echo "$lt_cv_ar_at_file" >&6; } 6969 6970 if test "x$lt_cv_ar_at_file" = xno; then 6971 archiver_list_spec= 6972 else 6973 archiver_list_spec=$lt_cv_ar_at_file 6974 fi 6975 6976 6977 6978 6979 6980 6981 6982 if test -n "$ac_tool_prefix"; then 6983 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6984 set dummy ${ac_tool_prefix}strip; ac_word=$2 6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6986 $as_echo_n "checking for $ac_word... " >&6; } 6987 if ${ac_cv_prog_STRIP+:} false; then : 6988 $as_echo_n "(cached) " >&6 6989 else 6990 if test -n "$STRIP"; then 6991 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6992 else 6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6994 for as_dir in $PATH 6995 do 6996 IFS=$as_save_IFS 6997 test -z "$as_dir" && as_dir=. 6998 for ac_exec_ext in '' $ac_executable_extensions; do 6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7000 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7002 break 2 7003 fi 7004 done 7005 done 7006 IFS=$as_save_IFS 7007 7008 fi 7009 fi 7010 STRIP=$ac_cv_prog_STRIP 7011 if test -n "$STRIP"; then 7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7013 $as_echo "$STRIP" >&6; } 7014 else 7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7016 $as_echo "no" >&6; } 7017 fi 7018 7019 7020 fi 7021 if test -z "$ac_cv_prog_STRIP"; then 7022 ac_ct_STRIP=$STRIP 7023 # Extract the first word of "strip", so it can be a program name with args. 7024 set dummy strip; ac_word=$2 7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7026 $as_echo_n "checking for $ac_word... " >&6; } 7027 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7028 $as_echo_n "(cached) " >&6 7029 else 7030 if test -n "$ac_ct_STRIP"; then 7031 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7032 else 7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7034 for as_dir in $PATH 7035 do 7036 IFS=$as_save_IFS 7037 test -z "$as_dir" && as_dir=. 7038 for ac_exec_ext in '' $ac_executable_extensions; do 7039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7040 ac_cv_prog_ac_ct_STRIP="strip" 7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7042 break 2 7043 fi 7044 done 7045 done 7046 IFS=$as_save_IFS 7047 7048 fi 7049 fi 7050 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7051 if test -n "$ac_ct_STRIP"; then 7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7053 $as_echo "$ac_ct_STRIP" >&6; } 7054 else 7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7056 $as_echo "no" >&6; } 7057 fi 7058 7059 if test "x$ac_ct_STRIP" = x; then 7060 STRIP=":" 7061 else 7062 case $cross_compiling:$ac_tool_warned in 7063 yes:) 7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7066 ac_tool_warned=yes ;; 7067 esac 7068 STRIP=$ac_ct_STRIP 7069 fi 7070 else 7071 STRIP="$ac_cv_prog_STRIP" 7072 fi 7073 7074 test -z "$STRIP" && STRIP=: 7075 7076 7077 7078 7079 7080 7081 if test -n "$ac_tool_prefix"; then 7082 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7083 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7085 $as_echo_n "checking for $ac_word... " >&6; } 7086 if ${ac_cv_prog_RANLIB+:} false; then : 7087 $as_echo_n "(cached) " >&6 7088 else 7089 if test -n "$RANLIB"; then 7090 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7091 else 7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7093 for as_dir in $PATH 7094 do 7095 IFS=$as_save_IFS 7096 test -z "$as_dir" && as_dir=. 7097 for ac_exec_ext in '' $ac_executable_extensions; do 7098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7099 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7101 break 2 7102 fi 7103 done 7104 done 7105 IFS=$as_save_IFS 7106 7107 fi 7108 fi 7109 RANLIB=$ac_cv_prog_RANLIB 7110 if test -n "$RANLIB"; then 7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7112 $as_echo "$RANLIB" >&6; } 7113 else 7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7115 $as_echo "no" >&6; } 7116 fi 7117 7118 7119 fi 7120 if test -z "$ac_cv_prog_RANLIB"; then 7121 ac_ct_RANLIB=$RANLIB 7122 # Extract the first word of "ranlib", so it can be a program name with args. 7123 set dummy ranlib; ac_word=$2 7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7125 $as_echo_n "checking for $ac_word... " >&6; } 7126 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7127 $as_echo_n "(cached) " >&6 7128 else 7129 if test -n "$ac_ct_RANLIB"; then 7130 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7131 else 7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7133 for as_dir in $PATH 7134 do 7135 IFS=$as_save_IFS 7136 test -z "$as_dir" && as_dir=. 7137 for ac_exec_ext in '' $ac_executable_extensions; do 7138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7139 ac_cv_prog_ac_ct_RANLIB="ranlib" 7140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7141 break 2 7142 fi 7143 done 7144 done 7145 IFS=$as_save_IFS 7146 7147 fi 7148 fi 7149 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7150 if test -n "$ac_ct_RANLIB"; then 7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7152 $as_echo "$ac_ct_RANLIB" >&6; } 7153 else 7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7155 $as_echo "no" >&6; } 7156 fi 7157 7158 if test "x$ac_ct_RANLIB" = x; then 7159 RANLIB=":" 7160 else 7161 case $cross_compiling:$ac_tool_warned in 7162 yes:) 7163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7165 ac_tool_warned=yes ;; 7166 esac 7167 RANLIB=$ac_ct_RANLIB 7168 fi 7169 else 7170 RANLIB="$ac_cv_prog_RANLIB" 7171 fi 7172 7173 test -z "$RANLIB" && RANLIB=: 7174 7175 7176 7177 7178 7179 7180 # Determine commands to create old-style static archives. 7181 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7182 old_postinstall_cmds='chmod 644 $oldlib' 7183 old_postuninstall_cmds= 7184 7185 if test -n "$RANLIB"; then 7186 case $host_os in 7187 openbsd*) 7188 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7189 ;; 7190 *) 7191 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7192 ;; 7193 esac 7194 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7195 fi 7196 7197 case $host_os in 7198 darwin*) 7199 lock_old_archive_extraction=yes ;; 7200 *) 7201 lock_old_archive_extraction=no ;; 7202 esac 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 # If no C compiler was specified, use CC. 7243 LTCC=${LTCC-"$CC"} 7244 7245 # If no C compiler flags were specified, use CFLAGS. 7246 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7247 7248 # Allow CC to be a program name with arguments. 7249 compiler=$CC 7250 7251 7252 # Check for command to grab the raw symbol name followed by C symbol from nm. 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7254 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7255 if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7256 $as_echo_n "(cached) " >&6 7257 else 7258 7259 # These are sane defaults that work on at least a few old systems. 7260 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 7261 7262 # Character class describing NM global symbol codes. 7263 symcode='[BCDEGRST]' 7264 7265 # Regexp to match symbols that can be accessed directly from C. 7266 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7267 7268 # Define system-specific variables. 7269 case $host_os in 7270 aix*) 7271 symcode='[BCDT]' 7272 ;; 7273 cygwin* | mingw* | pw32* | cegcc*) 7274 symcode='[ABCDGISTW]' 7275 ;; 7276 hpux*) 7277 if test "$host_cpu" = ia64; then 7278 symcode='[ABCDEGRST]' 7279 fi 7280 ;; 7281 irix* | nonstopux*) 7282 symcode='[BCDEGRST]' 7283 ;; 7284 osf*) 7285 symcode='[BCDEGQRST]' 7286 ;; 7287 solaris*) 7288 symcode='[BDRT]' 7289 ;; 7290 sco3.2v5*) 7291 symcode='[DT]' 7292 ;; 7293 sysv4.2uw2*) 7294 symcode='[DT]' 7295 ;; 7296 sysv5* | sco5v6* | unixware* | OpenUNIX*) 7297 symcode='[ABDT]' 7298 ;; 7299 sysv4) 7300 symcode='[DFNSTU]' 7301 ;; 7302 esac 7303 7304 # If we're using GNU nm, then use its standard symbol codes. 7305 case `$NM -V 2>&1` in 7306 *GNU* | *'with BFD'*) 7307 symcode='[ABCDGIRSTW]' ;; 7308 esac 7309 7310 # Transform an extracted symbol line into a proper C declaration. 7311 # Some systems (esp. on ia64) link data and code symbols differently, 7312 # so use this general approach. 7313 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7314 7315 # Transform an extracted symbol line into symbol name and symbol address 7316 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7317 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 7318 7319 # Handle CRLF in mingw tool chain 7320 opt_cr= 7321 case $build_os in 7322 mingw*) 7323 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7324 ;; 7325 esac 7326 7327 # Try without a prefix underscore, then with it. 7328 for ac_symprfx in "" "_"; do 7329 7330 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7331 symxfrm="\\1 $ac_symprfx\\2 \\2" 7332 7333 # Write the raw and C identifiers. 7334 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7335 # Fake it for dumpbin and say T for any non-static function 7336 # and D for any global variable. 7337 # Also find C++ and __fastcall symbols from MSVC++, 7338 # which start with @ or ?. 7339 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7340 " {last_section=section; section=\$ 3};"\ 7341 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7342 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7343 " \$ 0!~/External *\|/{next};"\ 7344 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7345 " {if(hide[section]) next};"\ 7346 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7347 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7348 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7349 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7350 " ' prfx=^$ac_symprfx" 7351 else 7352 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7353 fi 7354 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7355 7356 # Check to see that the pipe works correctly. 7357 pipe_works=no 7358 7359 rm -f conftest* 7360 cat > conftest.$ac_ext <<_LT_EOF 7361 #ifdef __cplusplus 7362 extern "C" { 7363 #endif 7364 char nm_test_var; 7365 void nm_test_func(void); 7366 void nm_test_func(void){} 7367 #ifdef __cplusplus 7368 } 7369 #endif 7370 int main(){nm_test_var='a';nm_test_func();return(0);} 7371 _LT_EOF 7372 7373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7374 (eval $ac_compile) 2>&5 7375 ac_status=$? 7376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7377 test $ac_status = 0; }; then 7378 # Now try to grab the symbols. 7379 nlist=conftest.nm 7380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7381 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7382 ac_status=$? 7383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7384 test $ac_status = 0; } && test -s "$nlist"; then 7385 # Try sorting and uniquifying the output. 7386 if sort "$nlist" | uniq > "$nlist"T; then 7387 mv -f "$nlist"T "$nlist" 7388 else 7389 rm -f "$nlist"T 7390 fi 7391 7392 # Make sure that we snagged all the symbols we need. 7393 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7394 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7395 cat <<_LT_EOF > conftest.$ac_ext 7396 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7397 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 7398 /* DATA imports from DLLs on WIN32 con't be const, because runtime 7399 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7400 # define LT_DLSYM_CONST 7401 #elif defined(__osf__) 7402 /* This system does not cope well with relocations in const data. */ 7403 # define LT_DLSYM_CONST 7404 #else 7405 # define LT_DLSYM_CONST const 7406 #endif 7407 7408 #ifdef __cplusplus 7409 extern "C" { 7410 #endif 7411 7412 _LT_EOF 7413 # Now generate the symbol file. 7414 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7415 7416 cat <<_LT_EOF >> conftest.$ac_ext 7417 7418 /* The mapping between symbol names and symbols. */ 7419 LT_DLSYM_CONST struct { 7420 const char *name; 7421 void *address; 7422 } 7423 lt__PROGRAM__LTX_preloaded_symbols[] = 7424 { 7425 { "@PROGRAM@", (void *) 0 }, 7426 _LT_EOF 7427 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7428 cat <<\_LT_EOF >> conftest.$ac_ext 7429 {0, (void *) 0} 7430 }; 7431 7432 /* This works around a problem in FreeBSD linker */ 7433 #ifdef FREEBSD_WORKAROUND 7434 static const void *lt_preloaded_setup() { 7435 return lt__PROGRAM__LTX_preloaded_symbols; 7436 } 7437 #endif 7438 7439 #ifdef __cplusplus 7440 } 7441 #endif 7442 _LT_EOF 7443 # Now try linking the two files. 7444 mv conftest.$ac_objext conftstm.$ac_objext 7445 lt_globsym_save_LIBS=$LIBS 7446 lt_globsym_save_CFLAGS=$CFLAGS 7447 LIBS="conftstm.$ac_objext" 7448 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7449 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7450 (eval $ac_link) 2>&5 7451 ac_status=$? 7452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7453 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7454 pipe_works=yes 7455 fi 7456 LIBS=$lt_globsym_save_LIBS 7457 CFLAGS=$lt_globsym_save_CFLAGS 7458 else 7459 echo "cannot find nm_test_func in $nlist" >&5 7460 fi 7461 else 7462 echo "cannot find nm_test_var in $nlist" >&5 7463 fi 7464 else 7465 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7466 fi 7467 else 7468 echo "$progname: failed program was:" >&5 7469 cat conftest.$ac_ext >&5 7470 fi 7471 rm -rf conftest* conftst* 7472 7473 # Do not use the global_symbol_pipe unless it works. 7474 if test "$pipe_works" = yes; then 7475 break 7476 else 7477 lt_cv_sys_global_symbol_pipe= 7478 fi 7479 done 7480 7481 fi 7482 7483 if test -z "$lt_cv_sys_global_symbol_pipe"; then 7484 lt_cv_sys_global_symbol_to_cdecl= 7485 fi 7486 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7488 $as_echo "failed" >&6; } 7489 else 7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7491 $as_echo "ok" >&6; } 7492 fi 7493 7494 # Response file support. 7495 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7496 nm_file_list_spec='@' 7497 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7498 nm_file_list_spec='@' 7499 fi 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7528 $as_echo_n "checking for sysroot... " >&6; } 7529 7530 # Check whether --with-sysroot was given. 7531 if test "${with_sysroot+set}" = set; then : 7532 withval=$with_sysroot; 7533 else 7534 with_sysroot=no 7535 fi 7536 7537 7538 lt_sysroot= 7539 case ${with_sysroot} in #( 7540 yes) 7541 if test "$GCC" = yes; then 7542 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7543 fi 7544 ;; #( 7545 /*) 7546 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7547 ;; #( 7548 no|'') 7549 ;; #( 7550 *) 7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 7552 $as_echo "${with_sysroot}" >&6; } 7553 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7554 ;; 7555 esac 7556 7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7558 $as_echo "${lt_sysroot:-no}" >&6; } 7559 7560 7561 7562 7563 7564 # Check whether --enable-libtool-lock was given. 7565 if test "${enable_libtool_lock+set}" = set; then : 7566 enableval=$enable_libtool_lock; 7567 fi 7568 7569 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7570 7571 # Some flags need to be propagated to the compiler or linker for good 7572 # libtool support. 7573 case $host in 7574 ia64-*-hpux*) 7575 # Find out which ABI we are using. 7576 echo 'int i;' > conftest.$ac_ext 7577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7578 (eval $ac_compile) 2>&5 7579 ac_status=$? 7580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7581 test $ac_status = 0; }; then 7582 case `/usr/bin/file conftest.$ac_objext` in 7583 *ELF-32*) 7584 HPUX_IA64_MODE="32" 7585 ;; 7586 *ELF-64*) 7587 HPUX_IA64_MODE="64" 7588 ;; 7589 esac 7590 fi 7591 rm -rf conftest* 7592 ;; 7593 *-*-irix6*) 7594 # Find out which ABI we are using. 7595 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7597 (eval $ac_compile) 2>&5 7598 ac_status=$? 7599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7600 test $ac_status = 0; }; then 7601 if test "$lt_cv_prog_gnu_ld" = yes; then 7602 case `/usr/bin/file conftest.$ac_objext` in 7603 *32-bit*) 7604 LD="${LD-ld} -melf32bsmip" 7605 ;; 7606 *N32*) 7607 LD="${LD-ld} -melf32bmipn32" 7608 ;; 7609 *64-bit*) 7610 LD="${LD-ld} -melf64bmip" 7611 ;; 7612 esac 7613 else 7614 case `/usr/bin/file conftest.$ac_objext` in 7615 *32-bit*) 7616 LD="${LD-ld} -32" 7617 ;; 7618 *N32*) 7619 LD="${LD-ld} -n32" 7620 ;; 7621 *64-bit*) 7622 LD="${LD-ld} -64" 7623 ;; 7624 esac 7625 fi 7626 fi 7627 rm -rf conftest* 7628 ;; 7629 7630 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 7631 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7632 # Find out which ABI we are using. 7633 echo 'int i;' > conftest.$ac_ext 7634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7635 (eval $ac_compile) 2>&5 7636 ac_status=$? 7637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7638 test $ac_status = 0; }; then 7639 case `/usr/bin/file conftest.o` in 7640 *32-bit*) 7641 case $host in 7642 x86_64-*kfreebsd*-gnu) 7643 LD="${LD-ld} -m elf_i386_fbsd" 7644 ;; 7645 x86_64-*linux*) 7646 LD="${LD-ld} -m elf_i386" 7647 ;; 7648 ppc64-*linux*|powerpc64-*linux*) 7649 LD="${LD-ld} -m elf32ppclinux" 7650 ;; 7651 s390x-*linux*) 7652 LD="${LD-ld} -m elf_s390" 7653 ;; 7654 sparc64-*linux*) 7655 LD="${LD-ld} -m elf32_sparc" 7656 ;; 7657 esac 7658 ;; 7659 *64-bit*) 7660 case $host in 7661 x86_64-*kfreebsd*-gnu) 7662 LD="${LD-ld} -m elf_x86_64_fbsd" 7663 ;; 7664 x86_64-*linux*) 7665 LD="${LD-ld} -m elf_x86_64" 7666 ;; 7667 ppc*-*linux*|powerpc*-*linux*) 7668 LD="${LD-ld} -m elf64ppc" 7669 ;; 7670 s390*-*linux*|s390*-*tpf*) 7671 LD="${LD-ld} -m elf64_s390" 7672 ;; 7673 sparc*-*linux*) 7674 LD="${LD-ld} -m elf64_sparc" 7675 ;; 7676 esac 7677 ;; 7678 esac 7679 fi 7680 rm -rf conftest* 7681 ;; 7682 7683 *-*-sco3.2v5*) 7684 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7685 SAVE_CFLAGS="$CFLAGS" 7686 CFLAGS="$CFLAGS -belf" 7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7688 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7689 if ${lt_cv_cc_needs_belf+:} false; then : 7690 $as_echo_n "(cached) " >&6 7691 else 7692 ac_ext=c 7693 ac_cpp='$CPP $CPPFLAGS' 7694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7696 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7697 7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7699 /* end confdefs.h. */ 7700 7701 int 7702 main () 7703 { 7704 7705 ; 7706 return 0; 7707 } 7708 _ACEOF 7709 if ac_fn_c_try_link "$LINENO"; then : 7710 lt_cv_cc_needs_belf=yes 7711 else 7712 lt_cv_cc_needs_belf=no 7713 fi 7714 rm -f core conftest.err conftest.$ac_objext \ 7715 conftest$ac_exeext conftest.$ac_ext 7716 ac_ext=c 7717 ac_cpp='$CPP $CPPFLAGS' 7718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7720 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7721 7722 fi 7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7724 $as_echo "$lt_cv_cc_needs_belf" >&6; } 7725 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7726 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7727 CFLAGS="$SAVE_CFLAGS" 7728 fi 7729 ;; 7730 *-*solaris*) 7731 # Find out which ABI we are using. 7732 echo 'int i;' > conftest.$ac_ext 7733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7734 (eval $ac_compile) 2>&5 7735 ac_status=$? 7736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7737 test $ac_status = 0; }; then 7738 case `/usr/bin/file conftest.o` in 7739 *64-bit*) 7740 case $lt_cv_prog_gnu_ld in 7741 yes*) 7742 case $host in 7743 i?86-*-solaris*) 7744 LD="${LD-ld} -m elf_x86_64" 7745 ;; 7746 sparc*-*-solaris*) 7747 LD="${LD-ld} -m elf64_sparc" 7748 ;; 7749 esac 7750 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7751 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7752 LD="${LD-ld}_sol2" 7753 fi 7754 ;; 7755 *) 7756 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7757 LD="${LD-ld} -64" 7758 fi 7759 ;; 7760 esac 7761 ;; 7762 esac 7763 fi 7764 rm -rf conftest* 7765 ;; 7766 esac 7767 7768 need_locks="$enable_libtool_lock" 7769 7770 if test -n "$ac_tool_prefix"; then 7771 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7772 set dummy ${ac_tool_prefix}mt; ac_word=$2 7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7774 $as_echo_n "checking for $ac_word... " >&6; } 7775 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7776 $as_echo_n "(cached) " >&6 7777 else 7778 if test -n "$MANIFEST_TOOL"; then 7779 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7780 else 7781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7782 for as_dir in $PATH 7783 do 7784 IFS=$as_save_IFS 7785 test -z "$as_dir" && as_dir=. 7786 for ac_exec_ext in '' $ac_executable_extensions; do 7787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7788 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7790 break 2 7791 fi 7792 done 7793 done 7794 IFS=$as_save_IFS 7795 7796 fi 7797 fi 7798 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7799 if test -n "$MANIFEST_TOOL"; then 7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7801 $as_echo "$MANIFEST_TOOL" >&6; } 7802 else 7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7804 $as_echo "no" >&6; } 7805 fi 7806 7807 7808 fi 7809 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7810 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7811 # Extract the first word of "mt", so it can be a program name with args. 7812 set dummy mt; ac_word=$2 7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7814 $as_echo_n "checking for $ac_word... " >&6; } 7815 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7816 $as_echo_n "(cached) " >&6 7817 else 7818 if test -n "$ac_ct_MANIFEST_TOOL"; then 7819 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7820 else 7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7822 for as_dir in $PATH 7823 do 7824 IFS=$as_save_IFS 7825 test -z "$as_dir" && as_dir=. 7826 for ac_exec_ext in '' $ac_executable_extensions; do 7827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7828 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7830 break 2 7831 fi 7832 done 7833 done 7834 IFS=$as_save_IFS 7835 7836 fi 7837 fi 7838 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7839 if test -n "$ac_ct_MANIFEST_TOOL"; then 7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7841 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7842 else 7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7844 $as_echo "no" >&6; } 7845 fi 7846 7847 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7848 MANIFEST_TOOL=":" 7849 else 7850 case $cross_compiling:$ac_tool_warned in 7851 yes:) 7852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7854 ac_tool_warned=yes ;; 7855 esac 7856 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7857 fi 7858 else 7859 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7860 fi 7861 7862 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7864 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7865 if ${lt_cv_path_mainfest_tool+:} false; then : 7866 $as_echo_n "(cached) " >&6 7867 else 7868 lt_cv_path_mainfest_tool=no 7869 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7870 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7871 cat conftest.err >&5 7872 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7873 lt_cv_path_mainfest_tool=yes 7874 fi 7875 rm -f conftest* 7876 fi 7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7878 $as_echo "$lt_cv_path_mainfest_tool" >&6; } 7879 if test "x$lt_cv_path_mainfest_tool" != xyes; then 7880 MANIFEST_TOOL=: 7881 fi 7882 7883 7884 7885 7886 7887 7888 case $host_os in 7889 rhapsody* | darwin*) 7890 if test -n "$ac_tool_prefix"; then 7891 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7892 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7894 $as_echo_n "checking for $ac_word... " >&6; } 7895 if ${ac_cv_prog_DSYMUTIL+:} false; then : 7896 $as_echo_n "(cached) " >&6 7897 else 7898 if test -n "$DSYMUTIL"; then 7899 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7900 else 7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7902 for as_dir in $PATH 7903 do 7904 IFS=$as_save_IFS 7905 test -z "$as_dir" && as_dir=. 7906 for ac_exec_ext in '' $ac_executable_extensions; do 7907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7908 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7910 break 2 7911 fi 7912 done 7913 done 7914 IFS=$as_save_IFS 7915 7916 fi 7917 fi 7918 DSYMUTIL=$ac_cv_prog_DSYMUTIL 7919 if test -n "$DSYMUTIL"; then 7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7921 $as_echo "$DSYMUTIL" >&6; } 7922 else 7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7924 $as_echo "no" >&6; } 7925 fi 7926 7927 7928 fi 7929 if test -z "$ac_cv_prog_DSYMUTIL"; then 7930 ac_ct_DSYMUTIL=$DSYMUTIL 7931 # Extract the first word of "dsymutil", so it can be a program name with args. 7932 set dummy dsymutil; ac_word=$2 7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7934 $as_echo_n "checking for $ac_word... " >&6; } 7935 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7936 $as_echo_n "(cached) " >&6 7937 else 7938 if test -n "$ac_ct_DSYMUTIL"; then 7939 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7940 else 7941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7942 for as_dir in $PATH 7943 do 7944 IFS=$as_save_IFS 7945 test -z "$as_dir" && as_dir=. 7946 for ac_exec_ext in '' $ac_executable_extensions; do 7947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7948 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7950 break 2 7951 fi 7952 done 7953 done 7954 IFS=$as_save_IFS 7955 7956 fi 7957 fi 7958 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7959 if test -n "$ac_ct_DSYMUTIL"; then 7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7961 $as_echo "$ac_ct_DSYMUTIL" >&6; } 7962 else 7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7964 $as_echo "no" >&6; } 7965 fi 7966 7967 if test "x$ac_ct_DSYMUTIL" = x; then 7968 DSYMUTIL=":" 7969 else 7970 case $cross_compiling:$ac_tool_warned in 7971 yes:) 7972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7974 ac_tool_warned=yes ;; 7975 esac 7976 DSYMUTIL=$ac_ct_DSYMUTIL 7977 fi 7978 else 7979 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7980 fi 7981 7982 if test -n "$ac_tool_prefix"; then 7983 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7984 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7986 $as_echo_n "checking for $ac_word... " >&6; } 7987 if ${ac_cv_prog_NMEDIT+:} false; then : 7988 $as_echo_n "(cached) " >&6 7989 else 7990 if test -n "$NMEDIT"; then 7991 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7992 else 7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7994 for as_dir in $PATH 7995 do 7996 IFS=$as_save_IFS 7997 test -z "$as_dir" && as_dir=. 7998 for ac_exec_ext in '' $ac_executable_extensions; do 7999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8000 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8002 break 2 8003 fi 8004 done 8005 done 8006 IFS=$as_save_IFS 8007 8008 fi 8009 fi 8010 NMEDIT=$ac_cv_prog_NMEDIT 8011 if test -n "$NMEDIT"; then 8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8013 $as_echo "$NMEDIT" >&6; } 8014 else 8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8016 $as_echo "no" >&6; } 8017 fi 8018 8019 8020 fi 8021 if test -z "$ac_cv_prog_NMEDIT"; then 8022 ac_ct_NMEDIT=$NMEDIT 8023 # Extract the first word of "nmedit", so it can be a program name with args. 8024 set dummy nmedit; ac_word=$2 8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8026 $as_echo_n "checking for $ac_word... " >&6; } 8027 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8028 $as_echo_n "(cached) " >&6 8029 else 8030 if test -n "$ac_ct_NMEDIT"; then 8031 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8032 else 8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8034 for as_dir in $PATH 8035 do 8036 IFS=$as_save_IFS 8037 test -z "$as_dir" && as_dir=. 8038 for ac_exec_ext in '' $ac_executable_extensions; do 8039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8040 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8042 break 2 8043 fi 8044 done 8045 done 8046 IFS=$as_save_IFS 8047 8048 fi 8049 fi 8050 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8051 if test -n "$ac_ct_NMEDIT"; then 8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8053 $as_echo "$ac_ct_NMEDIT" >&6; } 8054 else 8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8056 $as_echo "no" >&6; } 8057 fi 8058 8059 if test "x$ac_ct_NMEDIT" = x; then 8060 NMEDIT=":" 8061 else 8062 case $cross_compiling:$ac_tool_warned in 8063 yes:) 8064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8066 ac_tool_warned=yes ;; 8067 esac 8068 NMEDIT=$ac_ct_NMEDIT 8069 fi 8070 else 8071 NMEDIT="$ac_cv_prog_NMEDIT" 8072 fi 8073 8074 if test -n "$ac_tool_prefix"; then 8075 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8076 set dummy ${ac_tool_prefix}lipo; ac_word=$2 8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8078 $as_echo_n "checking for $ac_word... " >&6; } 8079 if ${ac_cv_prog_LIPO+:} false; then : 8080 $as_echo_n "(cached) " >&6 8081 else 8082 if test -n "$LIPO"; then 8083 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8084 else 8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8086 for as_dir in $PATH 8087 do 8088 IFS=$as_save_IFS 8089 test -z "$as_dir" && as_dir=. 8090 for ac_exec_ext in '' $ac_executable_extensions; do 8091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8092 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8094 break 2 8095 fi 8096 done 8097 done 8098 IFS=$as_save_IFS 8099 8100 fi 8101 fi 8102 LIPO=$ac_cv_prog_LIPO 8103 if test -n "$LIPO"; then 8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8105 $as_echo "$LIPO" >&6; } 8106 else 8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8108 $as_echo "no" >&6; } 8109 fi 8110 8111 8112 fi 8113 if test -z "$ac_cv_prog_LIPO"; then 8114 ac_ct_LIPO=$LIPO 8115 # Extract the first word of "lipo", so it can be a program name with args. 8116 set dummy lipo; ac_word=$2 8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8118 $as_echo_n "checking for $ac_word... " >&6; } 8119 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8120 $as_echo_n "(cached) " >&6 8121 else 8122 if test -n "$ac_ct_LIPO"; then 8123 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8124 else 8125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8126 for as_dir in $PATH 8127 do 8128 IFS=$as_save_IFS 8129 test -z "$as_dir" && as_dir=. 8130 for ac_exec_ext in '' $ac_executable_extensions; do 8131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8132 ac_cv_prog_ac_ct_LIPO="lipo" 8133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8134 break 2 8135 fi 8136 done 8137 done 8138 IFS=$as_save_IFS 8139 8140 fi 8141 fi 8142 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8143 if test -n "$ac_ct_LIPO"; then 8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8145 $as_echo "$ac_ct_LIPO" >&6; } 8146 else 8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8148 $as_echo "no" >&6; } 8149 fi 8150 8151 if test "x$ac_ct_LIPO" = x; then 8152 LIPO=":" 8153 else 8154 case $cross_compiling:$ac_tool_warned in 8155 yes:) 8156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8158 ac_tool_warned=yes ;; 8159 esac 8160 LIPO=$ac_ct_LIPO 8161 fi 8162 else 8163 LIPO="$ac_cv_prog_LIPO" 8164 fi 8165 8166 if test -n "$ac_tool_prefix"; then 8167 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8168 set dummy ${ac_tool_prefix}otool; ac_word=$2 8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8170 $as_echo_n "checking for $ac_word... " >&6; } 8171 if ${ac_cv_prog_OTOOL+:} false; then : 8172 $as_echo_n "(cached) " >&6 8173 else 8174 if test -n "$OTOOL"; then 8175 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8176 else 8177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8178 for as_dir in $PATH 8179 do 8180 IFS=$as_save_IFS 8181 test -z "$as_dir" && as_dir=. 8182 for ac_exec_ext in '' $ac_executable_extensions; do 8183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8184 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8186 break 2 8187 fi 8188 done 8189 done 8190 IFS=$as_save_IFS 8191 8192 fi 8193 fi 8194 OTOOL=$ac_cv_prog_OTOOL 8195 if test -n "$OTOOL"; then 8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8197 $as_echo "$OTOOL" >&6; } 8198 else 8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8200 $as_echo "no" >&6; } 8201 fi 8202 8203 8204 fi 8205 if test -z "$ac_cv_prog_OTOOL"; then 8206 ac_ct_OTOOL=$OTOOL 8207 # Extract the first word of "otool", so it can be a program name with args. 8208 set dummy otool; ac_word=$2 8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8210 $as_echo_n "checking for $ac_word... " >&6; } 8211 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8212 $as_echo_n "(cached) " >&6 8213 else 8214 if test -n "$ac_ct_OTOOL"; then 8215 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8216 else 8217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8218 for as_dir in $PATH 8219 do 8220 IFS=$as_save_IFS 8221 test -z "$as_dir" && as_dir=. 8222 for ac_exec_ext in '' $ac_executable_extensions; do 8223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8224 ac_cv_prog_ac_ct_OTOOL="otool" 8225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8226 break 2 8227 fi 8228 done 8229 done 8230 IFS=$as_save_IFS 8231 8232 fi 8233 fi 8234 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8235 if test -n "$ac_ct_OTOOL"; then 8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8237 $as_echo "$ac_ct_OTOOL" >&6; } 8238 else 8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8240 $as_echo "no" >&6; } 8241 fi 8242 8243 if test "x$ac_ct_OTOOL" = x; then 8244 OTOOL=":" 8245 else 8246 case $cross_compiling:$ac_tool_warned in 8247 yes:) 8248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8250 ac_tool_warned=yes ;; 8251 esac 8252 OTOOL=$ac_ct_OTOOL 8253 fi 8254 else 8255 OTOOL="$ac_cv_prog_OTOOL" 8256 fi 8257 8258 if test -n "$ac_tool_prefix"; then 8259 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8260 set dummy ${ac_tool_prefix}otool64; ac_word=$2 8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8262 $as_echo_n "checking for $ac_word... " >&6; } 8263 if ${ac_cv_prog_OTOOL64+:} false; then : 8264 $as_echo_n "(cached) " >&6 8265 else 8266 if test -n "$OTOOL64"; then 8267 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8268 else 8269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8270 for as_dir in $PATH 8271 do 8272 IFS=$as_save_IFS 8273 test -z "$as_dir" && as_dir=. 8274 for ac_exec_ext in '' $ac_executable_extensions; do 8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8276 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8278 break 2 8279 fi 8280 done 8281 done 8282 IFS=$as_save_IFS 8283 8284 fi 8285 fi 8286 OTOOL64=$ac_cv_prog_OTOOL64 8287 if test -n "$OTOOL64"; then 8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8289 $as_echo "$OTOOL64" >&6; } 8290 else 8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8292 $as_echo "no" >&6; } 8293 fi 8294 8295 8296 fi 8297 if test -z "$ac_cv_prog_OTOOL64"; then 8298 ac_ct_OTOOL64=$OTOOL64 8299 # Extract the first word of "otool64", so it can be a program name with args. 8300 set dummy otool64; ac_word=$2 8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8302 $as_echo_n "checking for $ac_word... " >&6; } 8303 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8304 $as_echo_n "(cached) " >&6 8305 else 8306 if test -n "$ac_ct_OTOOL64"; then 8307 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8308 else 8309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8310 for as_dir in $PATH 8311 do 8312 IFS=$as_save_IFS 8313 test -z "$as_dir" && as_dir=. 8314 for ac_exec_ext in '' $ac_executable_extensions; do 8315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8316 ac_cv_prog_ac_ct_OTOOL64="otool64" 8317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8318 break 2 8319 fi 8320 done 8321 done 8322 IFS=$as_save_IFS 8323 8324 fi 8325 fi 8326 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8327 if test -n "$ac_ct_OTOOL64"; then 8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8329 $as_echo "$ac_ct_OTOOL64" >&6; } 8330 else 8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8332 $as_echo "no" >&6; } 8333 fi 8334 8335 if test "x$ac_ct_OTOOL64" = x; then 8336 OTOOL64=":" 8337 else 8338 case $cross_compiling:$ac_tool_warned in 8339 yes:) 8340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8342 ac_tool_warned=yes ;; 8343 esac 8344 OTOOL64=$ac_ct_OTOOL64 8345 fi 8346 else 8347 OTOOL64="$ac_cv_prog_OTOOL64" 8348 fi 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8377 $as_echo_n "checking for -single_module linker flag... " >&6; } 8378 if ${lt_cv_apple_cc_single_mod+:} false; then : 8379 $as_echo_n "(cached) " >&6 8380 else 8381 lt_cv_apple_cc_single_mod=no 8382 if test -z "${LT_MULTI_MODULE}"; then 8383 # By default we will add the -single_module flag. You can override 8384 # by either setting the environment variable LT_MULTI_MODULE 8385 # non-empty at configure time, or by adding -multi_module to the 8386 # link flags. 8387 rm -rf libconftest.dylib* 8388 echo "int foo(void){return 1;}" > conftest.c 8389 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8390 -dynamiclib -Wl,-single_module conftest.c" >&5 8391 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8392 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8393 _lt_result=$? 8394 # If there is a non-empty error log, and "single_module" 8395 # appears in it, assume the flag caused a linker warning 8396 if test -s conftest.err && $GREP single_module conftest.err; then 8397 cat conftest.err >&5 8398 # Otherwise, if the output was created with a 0 exit code from 8399 # the compiler, it worked. 8400 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 8401 lt_cv_apple_cc_single_mod=yes 8402 else 8403 cat conftest.err >&5 8404 fi 8405 rm -rf libconftest.dylib* 8406 rm -f conftest.* 8407 fi 8408 fi 8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8410 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8411 8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8413 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8414 if ${lt_cv_ld_exported_symbols_list+:} false; then : 8415 $as_echo_n "(cached) " >&6 8416 else 8417 lt_cv_ld_exported_symbols_list=no 8418 save_LDFLAGS=$LDFLAGS 8419 echo "_main" > conftest.sym 8420 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8422 /* end confdefs.h. */ 8423 8424 int 8425 main () 8426 { 8427 8428 ; 8429 return 0; 8430 } 8431 _ACEOF 8432 if ac_fn_c_try_link "$LINENO"; then : 8433 lt_cv_ld_exported_symbols_list=yes 8434 else 8435 lt_cv_ld_exported_symbols_list=no 8436 fi 8437 rm -f core conftest.err conftest.$ac_objext \ 8438 conftest$ac_exeext conftest.$ac_ext 8439 LDFLAGS="$save_LDFLAGS" 8440 8441 fi 8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8443 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8444 8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8446 $as_echo_n "checking for -force_load linker flag... " >&6; } 8447 if ${lt_cv_ld_force_load+:} false; then : 8448 $as_echo_n "(cached) " >&6 8449 else 8450 lt_cv_ld_force_load=no 8451 cat > conftest.c << _LT_EOF 8452 int forced_loaded() { return 2;} 8453 _LT_EOF 8454 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8455 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8456 echo "$AR cru libconftest.a conftest.o" >&5 8457 $AR cru libconftest.a conftest.o 2>&5 8458 echo "$RANLIB libconftest.a" >&5 8459 $RANLIB libconftest.a 2>&5 8460 cat > conftest.c << _LT_EOF 8461 int main() { return 0;} 8462 _LT_EOF 8463 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8464 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8465 _lt_result=$? 8466 if test -s conftest.err && $GREP force_load conftest.err; then 8467 cat conftest.err >&5 8468 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 8469 lt_cv_ld_force_load=yes 8470 else 8471 cat conftest.err >&5 8472 fi 8473 rm -f conftest.err libconftest.a conftest conftest.c 8474 rm -rf conftest.dSYM 8475 8476 fi 8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8478 $as_echo "$lt_cv_ld_force_load" >&6; } 8479 case $host_os in 8480 rhapsody* | darwin1.[012]) 8481 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8482 darwin1.*) 8483 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8484 darwin*) # darwin 5.x on 8485 # if running on 10.5 or later, the deployment target defaults 8486 # to the OS version, if on x86, and 10.4, the deployment 8487 # target defaults to 10.4. Don't you love it? 8488 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8489 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8490 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8491 10.[012]*) 8492 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8493 10.*) 8494 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8495 esac 8496 ;; 8497 esac 8498 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8499 _lt_dar_single_mod='$single_module' 8500 fi 8501 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8502 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8503 else 8504 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8505 fi 8506 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 8507 _lt_dsymutil='~$DSYMUTIL $lib || :' 8508 else 8509 _lt_dsymutil= 8510 fi 8511 ;; 8512 esac 8513 8514 for ac_header in dlfcn.h 8515 do : 8516 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8517 " 8518 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8519 cat >>confdefs.h <<_ACEOF 8520 #define HAVE_DLFCN_H 1 8521 _ACEOF 8522 8523 fi 8524 8525 done 8526 8527 8528 8529 8530 8531 # Set options 8532 enable_win32_dll=yes 8533 8534 case $host in 8535 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8536 if test -n "$ac_tool_prefix"; then 8537 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8538 set dummy ${ac_tool_prefix}as; ac_word=$2 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8540 $as_echo_n "checking for $ac_word... " >&6; } 8541 if ${ac_cv_prog_AS+:} false; then : 8542 $as_echo_n "(cached) " >&6 8543 else 8544 if test -n "$AS"; then 8545 ac_cv_prog_AS="$AS" # Let the user override the test. 8546 else 8547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8548 for as_dir in $PATH 8549 do 8550 IFS=$as_save_IFS 8551 test -z "$as_dir" && as_dir=. 8552 for ac_exec_ext in '' $ac_executable_extensions; do 8553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8554 ac_cv_prog_AS="${ac_tool_prefix}as" 8555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8556 break 2 8557 fi 8558 done 8559 done 8560 IFS=$as_save_IFS 8561 8562 fi 8563 fi 8564 AS=$ac_cv_prog_AS 8565 if test -n "$AS"; then 8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8567 $as_echo "$AS" >&6; } 8568 else 8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8570 $as_echo "no" >&6; } 8571 fi 8572 8573 8574 fi 8575 if test -z "$ac_cv_prog_AS"; then 8576 ac_ct_AS=$AS 8577 # Extract the first word of "as", so it can be a program name with args. 8578 set dummy as; ac_word=$2 8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8580 $as_echo_n "checking for $ac_word... " >&6; } 8581 if ${ac_cv_prog_ac_ct_AS+:} false; then : 8582 $as_echo_n "(cached) " >&6 8583 else 8584 if test -n "$ac_ct_AS"; then 8585 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8586 else 8587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8588 for as_dir in $PATH 8589 do 8590 IFS=$as_save_IFS 8591 test -z "$as_dir" && as_dir=. 8592 for ac_exec_ext in '' $ac_executable_extensions; do 8593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8594 ac_cv_prog_ac_ct_AS="as" 8595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8596 break 2 8597 fi 8598 done 8599 done 8600 IFS=$as_save_IFS 8601 8602 fi 8603 fi 8604 ac_ct_AS=$ac_cv_prog_ac_ct_AS 8605 if test -n "$ac_ct_AS"; then 8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8607 $as_echo "$ac_ct_AS" >&6; } 8608 else 8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8610 $as_echo "no" >&6; } 8611 fi 8612 8613 if test "x$ac_ct_AS" = x; then 8614 AS="false" 8615 else 8616 case $cross_compiling:$ac_tool_warned in 8617 yes:) 8618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8620 ac_tool_warned=yes ;; 8621 esac 8622 AS=$ac_ct_AS 8623 fi 8624 else 8625 AS="$ac_cv_prog_AS" 8626 fi 8627 8628 if test -n "$ac_tool_prefix"; then 8629 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8630 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8632 $as_echo_n "checking for $ac_word... " >&6; } 8633 if ${ac_cv_prog_DLLTOOL+:} false; then : 8634 $as_echo_n "(cached) " >&6 8635 else 8636 if test -n "$DLLTOOL"; then 8637 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8638 else 8639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8640 for as_dir in $PATH 8641 do 8642 IFS=$as_save_IFS 8643 test -z "$as_dir" && as_dir=. 8644 for ac_exec_ext in '' $ac_executable_extensions; do 8645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8646 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8648 break 2 8649 fi 8650 done 8651 done 8652 IFS=$as_save_IFS 8653 8654 fi 8655 fi 8656 DLLTOOL=$ac_cv_prog_DLLTOOL 8657 if test -n "$DLLTOOL"; then 8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8659 $as_echo "$DLLTOOL" >&6; } 8660 else 8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8662 $as_echo "no" >&6; } 8663 fi 8664 8665 8666 fi 8667 if test -z "$ac_cv_prog_DLLTOOL"; then 8668 ac_ct_DLLTOOL=$DLLTOOL 8669 # Extract the first word of "dlltool", so it can be a program name with args. 8670 set dummy dlltool; ac_word=$2 8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8672 $as_echo_n "checking for $ac_word... " >&6; } 8673 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8674 $as_echo_n "(cached) " >&6 8675 else 8676 if test -n "$ac_ct_DLLTOOL"; then 8677 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8678 else 8679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8680 for as_dir in $PATH 8681 do 8682 IFS=$as_save_IFS 8683 test -z "$as_dir" && as_dir=. 8684 for ac_exec_ext in '' $ac_executable_extensions; do 8685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8686 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8688 break 2 8689 fi 8690 done 8691 done 8692 IFS=$as_save_IFS 8693 8694 fi 8695 fi 8696 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8697 if test -n "$ac_ct_DLLTOOL"; then 8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8699 $as_echo "$ac_ct_DLLTOOL" >&6; } 8700 else 8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8702 $as_echo "no" >&6; } 8703 fi 8704 8705 if test "x$ac_ct_DLLTOOL" = x; then 8706 DLLTOOL="false" 8707 else 8708 case $cross_compiling:$ac_tool_warned in 8709 yes:) 8710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8712 ac_tool_warned=yes ;; 8713 esac 8714 DLLTOOL=$ac_ct_DLLTOOL 8715 fi 8716 else 8717 DLLTOOL="$ac_cv_prog_DLLTOOL" 8718 fi 8719 8720 if test -n "$ac_tool_prefix"; then 8721 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8722 set dummy ${ac_tool_prefix}objdump; ac_word=$2 8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8724 $as_echo_n "checking for $ac_word... " >&6; } 8725 if ${ac_cv_prog_OBJDUMP+:} false; then : 8726 $as_echo_n "(cached) " >&6 8727 else 8728 if test -n "$OBJDUMP"; then 8729 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8730 else 8731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8732 for as_dir in $PATH 8733 do 8734 IFS=$as_save_IFS 8735 test -z "$as_dir" && as_dir=. 8736 for ac_exec_ext in '' $ac_executable_extensions; do 8737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8738 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8740 break 2 8741 fi 8742 done 8743 done 8744 IFS=$as_save_IFS 8745 8746 fi 8747 fi 8748 OBJDUMP=$ac_cv_prog_OBJDUMP 8749 if test -n "$OBJDUMP"; then 8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8751 $as_echo "$OBJDUMP" >&6; } 8752 else 8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8754 $as_echo "no" >&6; } 8755 fi 8756 8757 8758 fi 8759 if test -z "$ac_cv_prog_OBJDUMP"; then 8760 ac_ct_OBJDUMP=$OBJDUMP 8761 # Extract the first word of "objdump", so it can be a program name with args. 8762 set dummy objdump; ac_word=$2 8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8764 $as_echo_n "checking for $ac_word... " >&6; } 8765 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8766 $as_echo_n "(cached) " >&6 8767 else 8768 if test -n "$ac_ct_OBJDUMP"; then 8769 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8770 else 8771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8772 for as_dir in $PATH 8773 do 8774 IFS=$as_save_IFS 8775 test -z "$as_dir" && as_dir=. 8776 for ac_exec_ext in '' $ac_executable_extensions; do 8777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8778 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8780 break 2 8781 fi 8782 done 8783 done 8784 IFS=$as_save_IFS 8785 8786 fi 8787 fi 8788 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8789 if test -n "$ac_ct_OBJDUMP"; then 8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8791 $as_echo "$ac_ct_OBJDUMP" >&6; } 8792 else 8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8794 $as_echo "no" >&6; } 8795 fi 8796 8797 if test "x$ac_ct_OBJDUMP" = x; then 8798 OBJDUMP="false" 8799 else 8800 case $cross_compiling:$ac_tool_warned in 8801 yes:) 8802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8804 ac_tool_warned=yes ;; 8805 esac 8806 OBJDUMP=$ac_ct_OBJDUMP 8807 fi 8808 else 8809 OBJDUMP="$ac_cv_prog_OBJDUMP" 8810 fi 8811 8812 ;; 8813 esac 8814 8815 test -z "$AS" && AS=as 8816 8817 8818 8819 8820 8821 test -z "$DLLTOOL" && DLLTOOL=dlltool 8822 8823 8824 8825 8826 8827 test -z "$OBJDUMP" && OBJDUMP=objdump 8828 8829 8830 8831 8832 8833 8834 8835 enable_dlopen=no 8836 8837 8838 8839 # Check whether --enable-shared was given. 8840 if test "${enable_shared+set}" = set; then : 8841 enableval=$enable_shared; p=${PACKAGE-default} 8842 case $enableval in 8843 yes) enable_shared=yes ;; 8844 no) enable_shared=no ;; 8845 *) 8846 enable_shared=no 8847 # Look at the argument we got. We use all the common list separators. 8848 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8849 for pkg in $enableval; do 8850 IFS="$lt_save_ifs" 8851 if test "X$pkg" = "X$p"; then 8852 enable_shared=yes 8853 fi 8854 done 8855 IFS="$lt_save_ifs" 8856 ;; 8857 esac 8858 else 8859 enable_shared=yes 8860 fi 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 # Check whether --enable-static was given. 8871 if test "${enable_static+set}" = set; then : 8872 enableval=$enable_static; p=${PACKAGE-default} 8873 case $enableval in 8874 yes) enable_static=yes ;; 8875 no) enable_static=no ;; 8876 *) 8877 enable_static=no 8878 # Look at the argument we got. We use all the common list separators. 8879 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8880 for pkg in $enableval; do 8881 IFS="$lt_save_ifs" 8882 if test "X$pkg" = "X$p"; then 8883 enable_static=yes 8884 fi 8885 done 8886 IFS="$lt_save_ifs" 8887 ;; 8888 esac 8889 else 8890 enable_static=yes 8891 fi 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 # Check whether --with-pic was given. 8903 if test "${with_pic+set}" = set; then : 8904 withval=$with_pic; lt_p=${PACKAGE-default} 8905 case $withval in 8906 yes|no) pic_mode=$withval ;; 8907 *) 8908 pic_mode=default 8909 # Look at the argument we got. We use all the common list separators. 8910 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8911 for lt_pkg in $withval; do 8912 IFS="$lt_save_ifs" 8913 if test "X$lt_pkg" = "X$lt_p"; then 8914 pic_mode=yes 8915 fi 8916 done 8917 IFS="$lt_save_ifs" 8918 ;; 8919 esac 8920 else 8921 pic_mode=default 8922 fi 8923 8924 8925 test -z "$pic_mode" && pic_mode=default 8926 8927 8928 8929 8930 8931 8932 8933 # Check whether --enable-fast-install was given. 8934 if test "${enable_fast_install+set}" = set; then : 8935 enableval=$enable_fast_install; p=${PACKAGE-default} 8936 case $enableval in 8937 yes) enable_fast_install=yes ;; 8938 no) enable_fast_install=no ;; 8939 *) 8940 enable_fast_install=no 8941 # Look at the argument we got. We use all the common list separators. 8942 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8943 for pkg in $enableval; do 8944 IFS="$lt_save_ifs" 8945 if test "X$pkg" = "X$p"; then 8946 enable_fast_install=yes 8947 fi 8948 done 8949 IFS="$lt_save_ifs" 8950 ;; 8951 esac 8952 else 8953 enable_fast_install=yes 8954 fi 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 # This can be used to rebuild libtool when needed 8967 LIBTOOL_DEPS="$ltmain" 8968 8969 # Always use our own libtool. 8970 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 test -z "$LN_S" && LN_S="ln -s" 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 if test -n "${ZSH_VERSION+set}" ; then 9017 setopt NO_GLOB_SUBST 9018 fi 9019 9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9021 $as_echo_n "checking for objdir... " >&6; } 9022 if ${lt_cv_objdir+:} false; then : 9023 $as_echo_n "(cached) " >&6 9024 else 9025 rm -f .libs 2>/dev/null 9026 mkdir .libs 2>/dev/null 9027 if test -d .libs; then 9028 lt_cv_objdir=.libs 9029 else 9030 # MS-DOS does not allow filenames that begin with a dot. 9031 lt_cv_objdir=_libs 9032 fi 9033 rmdir .libs 2>/dev/null 9034 fi 9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9036 $as_echo "$lt_cv_objdir" >&6; } 9037 objdir=$lt_cv_objdir 9038 9039 9040 9041 9042 9043 cat >>confdefs.h <<_ACEOF 9044 #define LT_OBJDIR "$lt_cv_objdir/" 9045 _ACEOF 9046 9047 9048 9049 9050 case $host_os in 9051 aix3*) 9052 # AIX sometimes has problems with the GCC collect2 program. For some 9053 # reason, if we set the COLLECT_NAMES environment variable, the problems 9054 # vanish in a puff of smoke. 9055 if test "X${COLLECT_NAMES+set}" != Xset; then 9056 COLLECT_NAMES= 9057 export COLLECT_NAMES 9058 fi 9059 ;; 9060 esac 9061 9062 # Global variables: 9063 ofile=libtool 9064 can_build_shared=yes 9065 9066 # All known linkers require a `.a' archive for static linking (except MSVC, 9067 # which needs '.lib'). 9068 libext=a 9069 9070 with_gnu_ld="$lt_cv_prog_gnu_ld" 9071 9072 old_CC="$CC" 9073 old_CFLAGS="$CFLAGS" 9074 9075 # Set sane defaults for various variables 9076 test -z "$CC" && CC=cc 9077 test -z "$LTCC" && LTCC=$CC 9078 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9079 test -z "$LD" && LD=ld 9080 test -z "$ac_objext" && ac_objext=o 9081 9082 for cc_temp in $compiler""; do 9083 case $cc_temp in 9084 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9085 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9086 \-*) ;; 9087 *) break;; 9088 esac 9089 done 9090 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 9091 9092 9093 # Only perform the check for file, if the check method requires it 9094 test -z "$MAGIC_CMD" && MAGIC_CMD=file 9095 case $deplibs_check_method in 9096 file_magic*) 9097 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9099 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9100 if ${lt_cv_path_MAGIC_CMD+:} false; then : 9101 $as_echo_n "(cached) " >&6 9102 else 9103 case $MAGIC_CMD in 9104 [\\/*] | ?:[\\/]*) 9105 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9106 ;; 9107 *) 9108 lt_save_MAGIC_CMD="$MAGIC_CMD" 9109 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9110 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9111 for ac_dir in $ac_dummy; do 9112 IFS="$lt_save_ifs" 9113 test -z "$ac_dir" && ac_dir=. 9114 if test -f $ac_dir/${ac_tool_prefix}file; then 9115 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 9116 if test -n "$file_magic_test_file"; then 9117 case $deplibs_check_method in 9118 "file_magic "*) 9119 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9120 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9121 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9122 $EGREP "$file_magic_regex" > /dev/null; then 9123 : 9124 else 9125 cat <<_LT_EOF 1>&2 9126 9127 *** Warning: the command libtool uses to detect shared libraries, 9128 *** $file_magic_cmd, produces output that libtool cannot recognize. 9129 *** The result is that libtool may fail to recognize shared libraries 9130 *** as such. This will affect the creation of libtool libraries that 9131 *** depend on shared libraries, but programs linked with such libtool 9132 *** libraries will work regardless of this problem. Nevertheless, you 9133 *** may want to report the problem to your system manager and/or to 9134 *** bug-libtool@gnu.org 9135 9136 _LT_EOF 9137 fi ;; 9138 esac 9139 fi 9140 break 9141 fi 9142 done 9143 IFS="$lt_save_ifs" 9144 MAGIC_CMD="$lt_save_MAGIC_CMD" 9145 ;; 9146 esac 9147 fi 9148 9149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9150 if test -n "$MAGIC_CMD"; then 9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9152 $as_echo "$MAGIC_CMD" >&6; } 9153 else 9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9155 $as_echo "no" >&6; } 9156 fi 9157 9158 9159 9160 9161 9162 if test -z "$lt_cv_path_MAGIC_CMD"; then 9163 if test -n "$ac_tool_prefix"; then 9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9165 $as_echo_n "checking for file... " >&6; } 9166 if ${lt_cv_path_MAGIC_CMD+:} false; then : 9167 $as_echo_n "(cached) " >&6 9168 else 9169 case $MAGIC_CMD in 9170 [\\/*] | ?:[\\/]*) 9171 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9172 ;; 9173 *) 9174 lt_save_MAGIC_CMD="$MAGIC_CMD" 9175 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9176 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9177 for ac_dir in $ac_dummy; do 9178 IFS="$lt_save_ifs" 9179 test -z "$ac_dir" && ac_dir=. 9180 if test -f $ac_dir/file; then 9181 lt_cv_path_MAGIC_CMD="$ac_dir/file" 9182 if test -n "$file_magic_test_file"; then 9183 case $deplibs_check_method in 9184 "file_magic "*) 9185 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9186 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9187 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9188 $EGREP "$file_magic_regex" > /dev/null; then 9189 : 9190 else 9191 cat <<_LT_EOF 1>&2 9192 9193 *** Warning: the command libtool uses to detect shared libraries, 9194 *** $file_magic_cmd, produces output that libtool cannot recognize. 9195 *** The result is that libtool may fail to recognize shared libraries 9196 *** as such. This will affect the creation of libtool libraries that 9197 *** depend on shared libraries, but programs linked with such libtool 9198 *** libraries will work regardless of this problem. Nevertheless, you 9199 *** may want to report the problem to your system manager and/or to 9200 *** bug-libtool@gnu.org 9201 9202 _LT_EOF 9203 fi ;; 9204 esac 9205 fi 9206 break 9207 fi 9208 done 9209 IFS="$lt_save_ifs" 9210 MAGIC_CMD="$lt_save_MAGIC_CMD" 9211 ;; 9212 esac 9213 fi 9214 9215 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9216 if test -n "$MAGIC_CMD"; then 9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9218 $as_echo "$MAGIC_CMD" >&6; } 9219 else 9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9221 $as_echo "no" >&6; } 9222 fi 9223 9224 9225 else 9226 MAGIC_CMD=: 9227 fi 9228 fi 9229 9230 fi 9231 ;; 9232 esac 9233 9234 # Use C for the default configuration in the libtool script 9235 9236 lt_save_CC="$CC" 9237 ac_ext=c 9238 ac_cpp='$CPP $CPPFLAGS' 9239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9241 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9242 9243 9244 # Source file extension for C test sources. 9245 ac_ext=c 9246 9247 # Object file extension for compiled C test sources. 9248 objext=o 9249 objext=$objext 9250 9251 # Code to be used in simple compile tests 9252 lt_simple_compile_test_code="int some_variable = 0;" 9253 9254 # Code to be used in simple link tests 9255 lt_simple_link_test_code='int main(){return(0);}' 9256 9257 9258 9259 9260 9261 9262 9263 # If no C compiler was specified, use CC. 9264 LTCC=${LTCC-"$CC"} 9265 9266 # If no C compiler flags were specified, use CFLAGS. 9267 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9268 9269 # Allow CC to be a program name with arguments. 9270 compiler=$CC 9271 9272 # Save the default compiler, since it gets overwritten when the other 9273 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9274 compiler_DEFAULT=$CC 9275 9276 # save warnings/boilerplate of simple test code 9277 ac_outfile=conftest.$ac_objext 9278 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9279 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9280 _lt_compiler_boilerplate=`cat conftest.err` 9281 $RM conftest* 9282 9283 ac_outfile=conftest.$ac_objext 9284 echo "$lt_simple_link_test_code" >conftest.$ac_ext 9285 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9286 _lt_linker_boilerplate=`cat conftest.err` 9287 $RM -r conftest* 9288 9289 9290 if test -n "$compiler"; then 9291 9292 lt_prog_compiler_no_builtin_flag= 9293 9294 if test "$GCC" = yes; then 9295 case $cc_basename in 9296 nvcc*) 9297 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9298 *) 9299 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9300 esac 9301 9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9303 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9304 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9305 $as_echo_n "(cached) " >&6 9306 else 9307 lt_cv_prog_compiler_rtti_exceptions=no 9308 ac_outfile=conftest.$ac_objext 9309 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9310 lt_compiler_flag="-fno-rtti -fno-exceptions" 9311 # Insert the option either (1) after the last *FLAGS variable, or 9312 # (2) before a word containing "conftest.", or (3) at the end. 9313 # Note that $ac_compile itself does not contain backslashes and begins 9314 # with a dollar sign (not a hyphen), so the echo should work correctly. 9315 # The option is referenced via a variable to avoid confusing sed. 9316 lt_compile=`echo "$ac_compile" | $SED \ 9317 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9318 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9319 -e 's:$: $lt_compiler_flag:'` 9320 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9321 (eval "$lt_compile" 2>conftest.err) 9322 ac_status=$? 9323 cat conftest.err >&5 9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9325 if (exit $ac_status) && test -s "$ac_outfile"; then 9326 # The compiler can only warn and ignore the option if not recognized 9327 # So say no if there are warnings other than the usual output. 9328 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9329 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9330 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9331 lt_cv_prog_compiler_rtti_exceptions=yes 9332 fi 9333 fi 9334 $RM conftest* 9335 9336 fi 9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9338 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9339 9340 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9341 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9342 else 9343 : 9344 fi 9345 9346 fi 9347 9348 9349 9350 9351 9352 9353 lt_prog_compiler_wl= 9354 lt_prog_compiler_pic= 9355 lt_prog_compiler_static= 9356 9357 9358 if test "$GCC" = yes; then 9359 lt_prog_compiler_wl='-Wl,' 9360 lt_prog_compiler_static='-static' 9361 9362 case $host_os in 9363 aix*) 9364 # All AIX code is PIC. 9365 if test "$host_cpu" = ia64; then 9366 # AIX 5 now supports IA64 processor 9367 lt_prog_compiler_static='-Bstatic' 9368 fi 9369 ;; 9370 9371 amigaos*) 9372 case $host_cpu in 9373 powerpc) 9374 # see comment about AmigaOS4 .so support 9375 lt_prog_compiler_pic='-fPIC' 9376 ;; 9377 m68k) 9378 # FIXME: we need at least 68020 code to build shared libraries, but 9379 # adding the `-m68020' flag to GCC prevents building anything better, 9380 # like `-m68040'. 9381 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9382 ;; 9383 esac 9384 ;; 9385 9386 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9387 # PIC is the default for these OSes. 9388 ;; 9389 9390 mingw* | cygwin* | pw32* | os2* | cegcc*) 9391 # This hack is so that the source file can tell whether it is being 9392 # built for inclusion in a dll (and should export symbols for example). 9393 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9394 # (--disable-auto-import) libraries 9395 lt_prog_compiler_pic='-DDLL_EXPORT' 9396 ;; 9397 9398 darwin* | rhapsody*) 9399 # PIC is the default on this platform 9400 # Common symbols not allowed in MH_DYLIB files 9401 lt_prog_compiler_pic='-fno-common' 9402 ;; 9403 9404 haiku*) 9405 # PIC is the default for Haiku. 9406 # The "-static" flag exists, but is broken. 9407 lt_prog_compiler_static= 9408 ;; 9409 9410 hpux*) 9411 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9412 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9413 # sets the default TLS model and affects inlining. 9414 case $host_cpu in 9415 hppa*64*) 9416 # +Z the default 9417 ;; 9418 *) 9419 lt_prog_compiler_pic='-fPIC' 9420 ;; 9421 esac 9422 ;; 9423 9424 interix[3-9]*) 9425 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9426 # Instead, we relocate shared libraries at runtime. 9427 ;; 9428 9429 msdosdjgpp*) 9430 # Just because we use GCC doesn't mean we suddenly get shared libraries 9431 # on systems that don't support them. 9432 lt_prog_compiler_can_build_shared=no 9433 enable_shared=no 9434 ;; 9435 9436 *nto* | *qnx*) 9437 # QNX uses GNU C++, but need to define -shared option too, otherwise 9438 # it will coredump. 9439 lt_prog_compiler_pic='-fPIC -shared' 9440 ;; 9441 9442 sysv4*MP*) 9443 if test -d /usr/nec; then 9444 lt_prog_compiler_pic=-Kconform_pic 9445 fi 9446 ;; 9447 9448 *) 9449 lt_prog_compiler_pic='-fPIC' 9450 ;; 9451 esac 9452 9453 case $cc_basename in 9454 nvcc*) # Cuda Compiler Driver 2.2 9455 lt_prog_compiler_wl='-Xlinker ' 9456 if test -n "$lt_prog_compiler_pic"; then 9457 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9458 fi 9459 ;; 9460 esac 9461 else 9462 # PORTME Check for flag to pass linker flags through the system compiler. 9463 case $host_os in 9464 aix*) 9465 lt_prog_compiler_wl='-Wl,' 9466 if test "$host_cpu" = ia64; then 9467 # AIX 5 now supports IA64 processor 9468 lt_prog_compiler_static='-Bstatic' 9469 else 9470 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9471 fi 9472 ;; 9473 9474 mingw* | cygwin* | pw32* | os2* | cegcc*) 9475 # This hack is so that the source file can tell whether it is being 9476 # built for inclusion in a dll (and should export symbols for example). 9477 lt_prog_compiler_pic='-DDLL_EXPORT' 9478 ;; 9479 9480 hpux9* | hpux10* | hpux11*) 9481 lt_prog_compiler_wl='-Wl,' 9482 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9483 # not for PA HP-UX. 9484 case $host_cpu in 9485 hppa*64*|ia64*) 9486 # +Z the default 9487 ;; 9488 *) 9489 lt_prog_compiler_pic='+Z' 9490 ;; 9491 esac 9492 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9493 lt_prog_compiler_static='${wl}-a ${wl}archive' 9494 ;; 9495 9496 irix5* | irix6* | nonstopux*) 9497 lt_prog_compiler_wl='-Wl,' 9498 # PIC (with -KPIC) is the default. 9499 lt_prog_compiler_static='-non_shared' 9500 ;; 9501 9502 linux* | k*bsd*-gnu | kopensolaris*-gnu) 9503 case $cc_basename in 9504 # old Intel for x86_64 which still supported -KPIC. 9505 ecc*) 9506 lt_prog_compiler_wl='-Wl,' 9507 lt_prog_compiler_pic='-KPIC' 9508 lt_prog_compiler_static='-static' 9509 ;; 9510 # icc used to be incompatible with GCC. 9511 # ICC 10 doesn't accept -KPIC any more. 9512 icc* | ifort*) 9513 lt_prog_compiler_wl='-Wl,' 9514 lt_prog_compiler_pic='-fPIC' 9515 lt_prog_compiler_static='-static' 9516 ;; 9517 # Lahey Fortran 8.1. 9518 lf95*) 9519 lt_prog_compiler_wl='-Wl,' 9520 lt_prog_compiler_pic='--shared' 9521 lt_prog_compiler_static='--static' 9522 ;; 9523 nagfor*) 9524 # NAG Fortran compiler 9525 lt_prog_compiler_wl='-Wl,-Wl,,' 9526 lt_prog_compiler_pic='-PIC' 9527 lt_prog_compiler_static='-Bstatic' 9528 ;; 9529 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9530 # Portland Group compilers (*not* the Pentium gcc compiler, 9531 # which looks to be a dead project) 9532 lt_prog_compiler_wl='-Wl,' 9533 lt_prog_compiler_pic='-fpic' 9534 lt_prog_compiler_static='-Bstatic' 9535 ;; 9536 ccc*) 9537 lt_prog_compiler_wl='-Wl,' 9538 # All Alpha code is PIC. 9539 lt_prog_compiler_static='-non_shared' 9540 ;; 9541 xl* | bgxl* | bgf* | mpixl*) 9542 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9543 lt_prog_compiler_wl='-Wl,' 9544 lt_prog_compiler_pic='-qpic' 9545 lt_prog_compiler_static='-qstaticlink' 9546 ;; 9547 *) 9548 case `$CC -V 2>&1 | sed 5q` in 9549 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9550 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9551 lt_prog_compiler_pic='-KPIC' 9552 lt_prog_compiler_static='-Bstatic' 9553 lt_prog_compiler_wl='' 9554 ;; 9555 *Sun\ F* | *Sun*Fortran*) 9556 lt_prog_compiler_pic='-KPIC' 9557 lt_prog_compiler_static='-Bstatic' 9558 lt_prog_compiler_wl='-Qoption ld ' 9559 ;; 9560 *Sun\ C*) 9561 # Sun C 5.9 9562 lt_prog_compiler_pic='-KPIC' 9563 lt_prog_compiler_static='-Bstatic' 9564 lt_prog_compiler_wl='-Wl,' 9565 ;; 9566 *Intel*\ [CF]*Compiler*) 9567 lt_prog_compiler_wl='-Wl,' 9568 lt_prog_compiler_pic='-fPIC' 9569 lt_prog_compiler_static='-static' 9570 ;; 9571 *Portland\ Group*) 9572 lt_prog_compiler_wl='-Wl,' 9573 lt_prog_compiler_pic='-fpic' 9574 lt_prog_compiler_static='-Bstatic' 9575 ;; 9576 esac 9577 ;; 9578 esac 9579 ;; 9580 9581 newsos6) 9582 lt_prog_compiler_pic='-KPIC' 9583 lt_prog_compiler_static='-Bstatic' 9584 ;; 9585 9586 *nto* | *qnx*) 9587 # QNX uses GNU C++, but need to define -shared option too, otherwise 9588 # it will coredump. 9589 lt_prog_compiler_pic='-fPIC -shared' 9590 ;; 9591 9592 osf3* | osf4* | osf5*) 9593 lt_prog_compiler_wl='-Wl,' 9594 # All OSF/1 code is PIC. 9595 lt_prog_compiler_static='-non_shared' 9596 ;; 9597 9598 rdos*) 9599 lt_prog_compiler_static='-non_shared' 9600 ;; 9601 9602 solaris*) 9603 lt_prog_compiler_pic='-KPIC' 9604 lt_prog_compiler_static='-Bstatic' 9605 case $cc_basename in 9606 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9607 lt_prog_compiler_wl='-Qoption ld ';; 9608 *) 9609 lt_prog_compiler_wl='-Wl,';; 9610 esac 9611 ;; 9612 9613 sunos4*) 9614 lt_prog_compiler_wl='-Qoption ld ' 9615 lt_prog_compiler_pic='-PIC' 9616 lt_prog_compiler_static='-Bstatic' 9617 ;; 9618 9619 sysv4 | sysv4.2uw2* | sysv4.3*) 9620 lt_prog_compiler_wl='-Wl,' 9621 lt_prog_compiler_pic='-KPIC' 9622 lt_prog_compiler_static='-Bstatic' 9623 ;; 9624 9625 sysv4*MP*) 9626 if test -d /usr/nec ;then 9627 lt_prog_compiler_pic='-Kconform_pic' 9628 lt_prog_compiler_static='-Bstatic' 9629 fi 9630 ;; 9631 9632 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9633 lt_prog_compiler_wl='-Wl,' 9634 lt_prog_compiler_pic='-KPIC' 9635 lt_prog_compiler_static='-Bstatic' 9636 ;; 9637 9638 unicos*) 9639 lt_prog_compiler_wl='-Wl,' 9640 lt_prog_compiler_can_build_shared=no 9641 ;; 9642 9643 uts4*) 9644 lt_prog_compiler_pic='-pic' 9645 lt_prog_compiler_static='-Bstatic' 9646 ;; 9647 9648 *) 9649 lt_prog_compiler_can_build_shared=no 9650 ;; 9651 esac 9652 fi 9653 9654 case $host_os in 9655 # For platforms which do not support PIC, -DPIC is meaningless: 9656 *djgpp*) 9657 lt_prog_compiler_pic= 9658 ;; 9659 *) 9660 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9661 ;; 9662 esac 9663 9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9665 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9666 if ${lt_cv_prog_compiler_pic+:} false; then : 9667 $as_echo_n "(cached) " >&6 9668 else 9669 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9670 fi 9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9672 $as_echo "$lt_cv_prog_compiler_pic" >&6; } 9673 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9674 9675 # 9676 # Check to make sure the PIC flag actually works. 9677 # 9678 if test -n "$lt_prog_compiler_pic"; then 9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9680 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9681 if ${lt_cv_prog_compiler_pic_works+:} false; then : 9682 $as_echo_n "(cached) " >&6 9683 else 9684 lt_cv_prog_compiler_pic_works=no 9685 ac_outfile=conftest.$ac_objext 9686 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9687 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9688 # Insert the option either (1) after the last *FLAGS variable, or 9689 # (2) before a word containing "conftest.", or (3) at the end. 9690 # Note that $ac_compile itself does not contain backslashes and begins 9691 # with a dollar sign (not a hyphen), so the echo should work correctly. 9692 # The option is referenced via a variable to avoid confusing sed. 9693 lt_compile=`echo "$ac_compile" | $SED \ 9694 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9695 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9696 -e 's:$: $lt_compiler_flag:'` 9697 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9698 (eval "$lt_compile" 2>conftest.err) 9699 ac_status=$? 9700 cat conftest.err >&5 9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9702 if (exit $ac_status) && test -s "$ac_outfile"; then 9703 # The compiler can only warn and ignore the option if not recognized 9704 # So say no if there are warnings other than the usual output. 9705 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9706 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9707 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9708 lt_cv_prog_compiler_pic_works=yes 9709 fi 9710 fi 9711 $RM conftest* 9712 9713 fi 9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9715 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9716 9717 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9718 case $lt_prog_compiler_pic in 9719 "" | " "*) ;; 9720 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9721 esac 9722 else 9723 lt_prog_compiler_pic= 9724 lt_prog_compiler_can_build_shared=no 9725 fi 9726 9727 fi 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 # 9740 # Check to make sure the static flag actually works. 9741 # 9742 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9744 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9745 if ${lt_cv_prog_compiler_static_works+:} false; then : 9746 $as_echo_n "(cached) " >&6 9747 else 9748 lt_cv_prog_compiler_static_works=no 9749 save_LDFLAGS="$LDFLAGS" 9750 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9751 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9752 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9753 # The linker can only warn and ignore the option if not recognized 9754 # So say no if there are warnings 9755 if test -s conftest.err; then 9756 # Append any errors to the config.log. 9757 cat conftest.err 1>&5 9758 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9759 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9760 if diff conftest.exp conftest.er2 >/dev/null; then 9761 lt_cv_prog_compiler_static_works=yes 9762 fi 9763 else 9764 lt_cv_prog_compiler_static_works=yes 9765 fi 9766 fi 9767 $RM -r conftest* 9768 LDFLAGS="$save_LDFLAGS" 9769 9770 fi 9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9772 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9773 9774 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9775 : 9776 else 9777 lt_prog_compiler_static= 9778 fi 9779 9780 9781 9782 9783 9784 9785 9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9787 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9788 if ${lt_cv_prog_compiler_c_o+:} false; then : 9789 $as_echo_n "(cached) " >&6 9790 else 9791 lt_cv_prog_compiler_c_o=no 9792 $RM -r conftest 2>/dev/null 9793 mkdir conftest 9794 cd conftest 9795 mkdir out 9796 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9797 9798 lt_compiler_flag="-o out/conftest2.$ac_objext" 9799 # Insert the option either (1) after the last *FLAGS variable, or 9800 # (2) before a word containing "conftest.", or (3) at the end. 9801 # Note that $ac_compile itself does not contain backslashes and begins 9802 # with a dollar sign (not a hyphen), so the echo should work correctly. 9803 lt_compile=`echo "$ac_compile" | $SED \ 9804 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9805 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9806 -e 's:$: $lt_compiler_flag:'` 9807 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9808 (eval "$lt_compile" 2>out/conftest.err) 9809 ac_status=$? 9810 cat out/conftest.err >&5 9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9812 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9813 then 9814 # The compiler can only warn and ignore the option if not recognized 9815 # So say no if there are warnings 9816 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9817 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9818 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9819 lt_cv_prog_compiler_c_o=yes 9820 fi 9821 fi 9822 chmod u+w . 2>&5 9823 $RM conftest* 9824 # SGI C++ compiler will create directory out/ii_files/ for 9825 # template instantiation 9826 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9827 $RM out/* && rmdir out 9828 cd .. 9829 $RM -r conftest 9830 $RM conftest* 9831 9832 fi 9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9834 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9835 9836 9837 9838 9839 9840 9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9842 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9843 if ${lt_cv_prog_compiler_c_o+:} false; then : 9844 $as_echo_n "(cached) " >&6 9845 else 9846 lt_cv_prog_compiler_c_o=no 9847 $RM -r conftest 2>/dev/null 9848 mkdir conftest 9849 cd conftest 9850 mkdir out 9851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9852 9853 lt_compiler_flag="-o out/conftest2.$ac_objext" 9854 # Insert the option either (1) after the last *FLAGS variable, or 9855 # (2) before a word containing "conftest.", or (3) at the end. 9856 # Note that $ac_compile itself does not contain backslashes and begins 9857 # with a dollar sign (not a hyphen), so the echo should work correctly. 9858 lt_compile=`echo "$ac_compile" | $SED \ 9859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9861 -e 's:$: $lt_compiler_flag:'` 9862 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9863 (eval "$lt_compile" 2>out/conftest.err) 9864 ac_status=$? 9865 cat out/conftest.err >&5 9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9867 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9868 then 9869 # The compiler can only warn and ignore the option if not recognized 9870 # So say no if there are warnings 9871 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9872 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9873 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9874 lt_cv_prog_compiler_c_o=yes 9875 fi 9876 fi 9877 chmod u+w . 2>&5 9878 $RM conftest* 9879 # SGI C++ compiler will create directory out/ii_files/ for 9880 # template instantiation 9881 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9882 $RM out/* && rmdir out 9883 cd .. 9884 $RM -r conftest 9885 $RM conftest* 9886 9887 fi 9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9889 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9890 9891 9892 9893 9894 hard_links="nottested" 9895 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9896 # do not overwrite the value of need_locks provided by the user 9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9898 $as_echo_n "checking if we can lock with hard links... " >&6; } 9899 hard_links=yes 9900 $RM conftest* 9901 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9902 touch conftest.a 9903 ln conftest.a conftest.b 2>&5 || hard_links=no 9904 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9906 $as_echo "$hard_links" >&6; } 9907 if test "$hard_links" = no; then 9908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9909 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9910 need_locks=warn 9911 fi 9912 else 9913 need_locks=no 9914 fi 9915 9916 9917 9918 9919 9920 9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9922 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9923 9924 runpath_var= 9925 allow_undefined_flag= 9926 always_export_symbols=no 9927 archive_cmds= 9928 archive_expsym_cmds= 9929 compiler_needs_object=no 9930 enable_shared_with_static_runtimes=no 9931 export_dynamic_flag_spec= 9932 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9933 hardcode_automatic=no 9934 hardcode_direct=no 9935 hardcode_direct_absolute=no 9936 hardcode_libdir_flag_spec= 9937 hardcode_libdir_separator= 9938 hardcode_minus_L=no 9939 hardcode_shlibpath_var=unsupported 9940 inherit_rpath=no 9941 link_all_deplibs=unknown 9942 module_cmds= 9943 module_expsym_cmds= 9944 old_archive_from_new_cmds= 9945 old_archive_from_expsyms_cmds= 9946 thread_safe_flag_spec= 9947 whole_archive_flag_spec= 9948 # include_expsyms should be a list of space-separated symbols to be *always* 9949 # included in the symbol list 9950 include_expsyms= 9951 # exclude_expsyms can be an extended regexp of symbols to exclude 9952 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9953 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9954 # as well as any symbol that contains `d'. 9955 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9956 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9957 # platforms (ab)use it in PIC code, but their linkers get confused if 9958 # the symbol is explicitly referenced. Since portable code cannot 9959 # rely on this symbol name, it's probably fine to never include it in 9960 # preloaded symbol tables. 9961 # Exclude shared library initialization/finalization symbols. 9962 extract_expsyms_cmds= 9963 9964 case $host_os in 9965 cygwin* | mingw* | pw32* | cegcc*) 9966 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9967 # When not using gcc, we currently assume that we are using 9968 # Microsoft Visual C++. 9969 if test "$GCC" != yes; then 9970 with_gnu_ld=no 9971 fi 9972 ;; 9973 interix*) 9974 # we just hope/assume this is gcc and not c89 (= MSVC++) 9975 with_gnu_ld=yes 9976 ;; 9977 openbsd*) 9978 with_gnu_ld=no 9979 ;; 9980 esac 9981 9982 ld_shlibs=yes 9983 9984 # On some targets, GNU ld is compatible enough with the native linker 9985 # that we're better off using the native interface for both. 9986 lt_use_gnu_ld_interface=no 9987 if test "$with_gnu_ld" = yes; then 9988 case $host_os in 9989 aix*) 9990 # The AIX port of GNU ld has always aspired to compatibility 9991 # with the native linker. However, as the warning in the GNU ld 9992 # block says, versions before 2.19.5* couldn't really create working 9993 # shared libraries, regardless of the interface used. 9994 case `$LD -v 2>&1` in 9995 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9996 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9997 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9998 *) 9999 lt_use_gnu_ld_interface=yes 10000 ;; 10001 esac 10002 ;; 10003 *) 10004 lt_use_gnu_ld_interface=yes 10005 ;; 10006 esac 10007 fi 10008 10009 if test "$lt_use_gnu_ld_interface" = yes; then 10010 # If archive_cmds runs LD, not CC, wlarc should be empty 10011 wlarc='${wl}' 10012 10013 # Set some defaults for GNU ld with shared library support. These 10014 # are reset later if shared libraries are not supported. Putting them 10015 # here allows them to be overridden if necessary. 10016 runpath_var=LD_RUN_PATH 10017 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10018 export_dynamic_flag_spec='${wl}--export-dynamic' 10019 # ancient GNU ld didn't support --whole-archive et. al. 10020 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10021 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 10022 else 10023 whole_archive_flag_spec= 10024 fi 10025 supports_anon_versioning=no 10026 case `$LD -v 2>&1` in 10027 *GNU\ gold*) supports_anon_versioning=yes ;; 10028 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10029 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10030 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10031 *\ 2.11.*) ;; # other 2.11 versions 10032 *) supports_anon_versioning=yes ;; 10033 esac 10034 10035 # See if GNU ld supports shared libraries. 10036 case $host_os in 10037 aix[3-9]*) 10038 # On AIX/PPC, the GNU linker is very broken 10039 if test "$host_cpu" != ia64; then 10040 ld_shlibs=no 10041 cat <<_LT_EOF 1>&2 10042 10043 *** Warning: the GNU linker, at least up to release 2.19, is reported 10044 *** to be unable to reliably create shared libraries on AIX. 10045 *** Therefore, libtool is disabling shared libraries support. If you 10046 *** really care for shared libraries, you may want to install binutils 10047 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10048 *** You will then need to restart the configuration process. 10049 10050 _LT_EOF 10051 fi 10052 ;; 10053 10054 amigaos*) 10055 case $host_cpu in 10056 powerpc) 10057 # see comment about AmigaOS4 .so support 10058 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10059 archive_expsym_cmds='' 10060 ;; 10061 m68k) 10062 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 10063 hardcode_libdir_flag_spec='-L$libdir' 10064 hardcode_minus_L=yes 10065 ;; 10066 esac 10067 ;; 10068 10069 beos*) 10070 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10071 allow_undefined_flag=unsupported 10072 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10073 # support --undefined. This deserves some investigation. FIXME 10074 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10075 else 10076 ld_shlibs=no 10077 fi 10078 ;; 10079 10080 cygwin* | mingw* | pw32* | cegcc*) 10081 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10082 # as there is no search path for DLLs. 10083 hardcode_libdir_flag_spec='-L$libdir' 10084 export_dynamic_flag_spec='${wl}--export-all-symbols' 10085 allow_undefined_flag=unsupported 10086 always_export_symbols=no 10087 enable_shared_with_static_runtimes=yes 10088 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 10089 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10090 10091 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10092 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10093 # If the export-symbols file already is a .def file (1st line 10094 # is EXPORTS), use it as is; otherwise, prepend... 10095 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10096 cp $export_symbols $output_objdir/$soname.def; 10097 else 10098 echo EXPORTS > $output_objdir/$soname.def; 10099 cat $export_symbols >> $output_objdir/$soname.def; 10100 fi~ 10101 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10102 else 10103 ld_shlibs=no 10104 fi 10105 ;; 10106 10107 haiku*) 10108 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10109 link_all_deplibs=yes 10110 ;; 10111 10112 interix[3-9]*) 10113 hardcode_direct=no 10114 hardcode_shlibpath_var=no 10115 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10116 export_dynamic_flag_spec='${wl}-E' 10117 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10118 # Instead, shared libraries are loaded at an image base (0x10000000 by 10119 # default) and relocated if they conflict, which is a slow very memory 10120 # consuming and fragmenting process. To avoid this, we pick a random, 10121 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10122 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10123 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10124 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10125 ;; 10126 10127 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10128 tmp_diet=no 10129 if test "$host_os" = linux-dietlibc; then 10130 case $cc_basename in 10131 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10132 esac 10133 fi 10134 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10135 && test "$tmp_diet" = no 10136 then 10137 tmp_addflag=' $pic_flag' 10138 tmp_sharedflag='-shared' 10139 case $cc_basename,$host_cpu in 10140 pgcc*) # Portland Group C compiler 10141 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 10142 tmp_addflag=' $pic_flag' 10143 ;; 10144 pgf77* | pgf90* | pgf95* | pgfortran*) 10145 # Portland Group f77 and f90 compilers 10146 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 10147 tmp_addflag=' $pic_flag -Mnomain' ;; 10148 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10149 tmp_addflag=' -i_dynamic' ;; 10150 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10151 tmp_addflag=' -i_dynamic -nofor_main' ;; 10152 ifc* | ifort*) # Intel Fortran compiler 10153 tmp_addflag=' -nofor_main' ;; 10154 lf95*) # Lahey Fortran 8.1 10155 whole_archive_flag_spec= 10156 tmp_sharedflag='--shared' ;; 10157 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10158 tmp_sharedflag='-qmkshrobj' 10159 tmp_addflag= ;; 10160 nvcc*) # Cuda Compiler Driver 2.2 10161 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 10162 compiler_needs_object=yes 10163 ;; 10164 esac 10165 case `$CC -V 2>&1 | sed 5q` in 10166 *Sun\ C*) # Sun C 5.9 10167 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 10168 compiler_needs_object=yes 10169 tmp_sharedflag='-G' ;; 10170 *Sun\ F*) # Sun Fortran 8.3 10171 tmp_sharedflag='-G' ;; 10172 esac 10173 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10174 10175 if test "x$supports_anon_versioning" = xyes; then 10176 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10177 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10178 echo "local: *; };" >> $output_objdir/$libname.ver~ 10179 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 10180 fi 10181 10182 case $cc_basename in 10183 xlf* | bgf* | bgxlf* | mpixlf*) 10184 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10185 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10187 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10188 if test "x$supports_anon_versioning" = xyes; then 10189 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10190 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10191 echo "local: *; };" >> $output_objdir/$libname.ver~ 10192 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10193 fi 10194 ;; 10195 esac 10196 else 10197 ld_shlibs=no 10198 fi 10199 ;; 10200 10201 netbsd*) 10202 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10203 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10204 wlarc= 10205 else 10206 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10207 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10208 fi 10209 ;; 10210 10211 solaris*) 10212 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10213 ld_shlibs=no 10214 cat <<_LT_EOF 1>&2 10215 10216 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 10217 *** create shared libraries on Solaris systems. Therefore, libtool 10218 *** is disabling shared libraries support. We urge you to upgrade GNU 10219 *** binutils to release 2.9.1 or newer. Another option is to modify 10220 *** your PATH or compiler configuration so that the native linker is 10221 *** used, and then restart. 10222 10223 _LT_EOF 10224 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10225 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10226 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10227 else 10228 ld_shlibs=no 10229 fi 10230 ;; 10231 10232 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10233 case `$LD -v 2>&1` in 10234 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10235 ld_shlibs=no 10236 cat <<_LT_EOF 1>&2 10237 10238 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 10239 *** reliably create shared libraries on SCO systems. Therefore, libtool 10240 *** is disabling shared libraries support. We urge you to upgrade GNU 10241 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10242 *** your PATH or compiler configuration so that the native linker is 10243 *** used, and then restart. 10244 10245 _LT_EOF 10246 ;; 10247 *) 10248 # For security reasons, it is highly recommended that you always 10249 # use absolute paths for naming shared libraries, and exclude the 10250 # DT_RUNPATH tag from executables and libraries. But doing so 10251 # requires that you compile everything twice, which is a pain. 10252 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10253 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10254 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10255 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10256 else 10257 ld_shlibs=no 10258 fi 10259 ;; 10260 esac 10261 ;; 10262 10263 sunos4*) 10264 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10265 wlarc= 10266 hardcode_direct=yes 10267 hardcode_shlibpath_var=no 10268 ;; 10269 10270 *) 10271 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10272 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10273 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10274 else 10275 ld_shlibs=no 10276 fi 10277 ;; 10278 esac 10279 10280 if test "$ld_shlibs" = no; then 10281 runpath_var= 10282 hardcode_libdir_flag_spec= 10283 export_dynamic_flag_spec= 10284 whole_archive_flag_spec= 10285 fi 10286 else 10287 # PORTME fill in a description of your system's linker (not GNU ld) 10288 case $host_os in 10289 aix3*) 10290 allow_undefined_flag=unsupported 10291 always_export_symbols=yes 10292 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 10293 # Note: this linker hardcodes the directories in LIBPATH if there 10294 # are no directories specified by -L. 10295 hardcode_minus_L=yes 10296 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 10297 # Neither direct hardcoding nor static linking is supported with a 10298 # broken collect2. 10299 hardcode_direct=unsupported 10300 fi 10301 ;; 10302 10303 aix[4-9]*) 10304 if test "$host_cpu" = ia64; then 10305 # On IA64, the linker does run time linking by default, so we don't 10306 # have to do anything special. 10307 aix_use_runtimelinking=no 10308 exp_sym_flag='-Bexport' 10309 no_entry_flag="" 10310 else 10311 # If we're using GNU nm, then we don't want the "-C" option. 10312 # -C means demangle to AIX nm, but means don't demangle with GNU nm 10313 # Also, AIX nm treats weak defined symbols like other global 10314 # defined symbols, whereas GNU nm marks them as "W". 10315 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10316 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 10317 else 10318 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 10319 fi 10320 aix_use_runtimelinking=no 10321 10322 # Test if we are trying to use run time linking or normal 10323 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10324 # need to do runtime linking. 10325 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10326 for ld_flag in $LDFLAGS; do 10327 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 10328 aix_use_runtimelinking=yes 10329 break 10330 fi 10331 done 10332 ;; 10333 esac 10334 10335 exp_sym_flag='-bexport' 10336 no_entry_flag='-bnoentry' 10337 fi 10338 10339 # When large executables or shared objects are built, AIX ld can 10340 # have problems creating the table of contents. If linking a library 10341 # or program results in "error TOC overflow" add -mminimal-toc to 10342 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10343 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10344 10345 archive_cmds='' 10346 hardcode_direct=yes 10347 hardcode_direct_absolute=yes 10348 hardcode_libdir_separator=':' 10349 link_all_deplibs=yes 10350 file_list_spec='${wl}-f,' 10351 10352 if test "$GCC" = yes; then 10353 case $host_os in aix4.[012]|aix4.[012].*) 10354 # We only want to do this on AIX 4.2 and lower, the check 10355 # below for broken collect2 doesn't work under 4.3+ 10356 collect2name=`${CC} -print-prog-name=collect2` 10357 if test -f "$collect2name" && 10358 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10359 then 10360 # We have reworked collect2 10361 : 10362 else 10363 # We have old collect2 10364 hardcode_direct=unsupported 10365 # It fails to find uninstalled libraries when the uninstalled 10366 # path is not listed in the libpath. Setting hardcode_minus_L 10367 # to unsupported forces relinking 10368 hardcode_minus_L=yes 10369 hardcode_libdir_flag_spec='-L$libdir' 10370 hardcode_libdir_separator= 10371 fi 10372 ;; 10373 esac 10374 shared_flag='-shared' 10375 if test "$aix_use_runtimelinking" = yes; then 10376 shared_flag="$shared_flag "'${wl}-G' 10377 fi 10378 else 10379 # not using gcc 10380 if test "$host_cpu" = ia64; then 10381 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10382 # chokes on -Wl,-G. The following line is correct: 10383 shared_flag='-G' 10384 else 10385 if test "$aix_use_runtimelinking" = yes; then 10386 shared_flag='${wl}-G' 10387 else 10388 shared_flag='${wl}-bM:SRE' 10389 fi 10390 fi 10391 fi 10392 10393 export_dynamic_flag_spec='${wl}-bexpall' 10394 # It seems that -bexpall does not export symbols beginning with 10395 # underscore (_), so it is better to generate a list of symbols to export. 10396 always_export_symbols=yes 10397 if test "$aix_use_runtimelinking" = yes; then 10398 # Warning - without using the other runtime loading flags (-brtl), 10399 # -berok will link without error, but may produce a broken library. 10400 allow_undefined_flag='-berok' 10401 # Determine the default libpath from the value encoded in an 10402 # empty executable. 10403 if test "${lt_cv_aix_libpath+set}" = set; then 10404 aix_libpath=$lt_cv_aix_libpath 10405 else 10406 if ${lt_cv_aix_libpath_+:} false; then : 10407 $as_echo_n "(cached) " >&6 10408 else 10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10410 /* end confdefs.h. */ 10411 10412 int 10413 main () 10414 { 10415 10416 ; 10417 return 0; 10418 } 10419 _ACEOF 10420 if ac_fn_c_try_link "$LINENO"; then : 10421 10422 lt_aix_libpath_sed=' 10423 /Import File Strings/,/^$/ { 10424 /^0/ { 10425 s/^0 *\([^ ]*\) *$/\1/ 10426 p 10427 } 10428 }' 10429 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10430 # Check for a 64-bit object if we didn't find anything. 10431 if test -z "$lt_cv_aix_libpath_"; then 10432 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10433 fi 10434 fi 10435 rm -f core conftest.err conftest.$ac_objext \ 10436 conftest$ac_exeext conftest.$ac_ext 10437 if test -z "$lt_cv_aix_libpath_"; then 10438 lt_cv_aix_libpath_="/usr/lib:/lib" 10439 fi 10440 10441 fi 10442 10443 aix_libpath=$lt_cv_aix_libpath_ 10444 fi 10445 10446 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10447 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 10448 else 10449 if test "$host_cpu" = ia64; then 10450 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10451 allow_undefined_flag="-z nodefs" 10452 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 10453 else 10454 # Determine the default libpath from the value encoded in an 10455 # empty executable. 10456 if test "${lt_cv_aix_libpath+set}" = set; then 10457 aix_libpath=$lt_cv_aix_libpath 10458 else 10459 if ${lt_cv_aix_libpath_+:} false; then : 10460 $as_echo_n "(cached) " >&6 10461 else 10462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10463 /* end confdefs.h. */ 10464 10465 int 10466 main () 10467 { 10468 10469 ; 10470 return 0; 10471 } 10472 _ACEOF 10473 if ac_fn_c_try_link "$LINENO"; then : 10474 10475 lt_aix_libpath_sed=' 10476 /Import File Strings/,/^$/ { 10477 /^0/ { 10478 s/^0 *\([^ ]*\) *$/\1/ 10479 p 10480 } 10481 }' 10482 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10483 # Check for a 64-bit object if we didn't find anything. 10484 if test -z "$lt_cv_aix_libpath_"; then 10485 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10486 fi 10487 fi 10488 rm -f core conftest.err conftest.$ac_objext \ 10489 conftest$ac_exeext conftest.$ac_ext 10490 if test -z "$lt_cv_aix_libpath_"; then 10491 lt_cv_aix_libpath_="/usr/lib:/lib" 10492 fi 10493 10494 fi 10495 10496 aix_libpath=$lt_cv_aix_libpath_ 10497 fi 10498 10499 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10500 # Warning - without using the other run time loading flags, 10501 # -berok will link without error, but may produce a broken library. 10502 no_undefined_flag=' ${wl}-bernotok' 10503 allow_undefined_flag=' ${wl}-berok' 10504 if test "$with_gnu_ld" = yes; then 10505 # We only use this code for GNU lds that support --whole-archive. 10506 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 10507 else 10508 # Exported symbols can be pulled into shared objects from archives 10509 whole_archive_flag_spec='$convenience' 10510 fi 10511 archive_cmds_need_lc=yes 10512 # This is similar to how AIX traditionally builds its shared libraries. 10513 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 10514 fi 10515 fi 10516 ;; 10517 10518 amigaos*) 10519 case $host_cpu in 10520 powerpc) 10521 # see comment about AmigaOS4 .so support 10522 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10523 archive_expsym_cmds='' 10524 ;; 10525 m68k) 10526 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 10527 hardcode_libdir_flag_spec='-L$libdir' 10528 hardcode_minus_L=yes 10529 ;; 10530 esac 10531 ;; 10532 10533 bsdi[45]*) 10534 export_dynamic_flag_spec=-rdynamic 10535 ;; 10536 10537 cygwin* | mingw* | pw32* | cegcc*) 10538 # When not using gcc, we currently assume that we are using 10539 # Microsoft Visual C++. 10540 # hardcode_libdir_flag_spec is actually meaningless, as there is 10541 # no search path for DLLs. 10542 case $cc_basename in 10543 cl*) 10544 # Native MSVC 10545 hardcode_libdir_flag_spec=' ' 10546 allow_undefined_flag=unsupported 10547 always_export_symbols=yes 10548 file_list_spec='@' 10549 # Tell ltmain to make .lib files, not .a files. 10550 libext=lib 10551 # Tell ltmain to make .dll files, not .so files. 10552 shrext_cmds=".dll" 10553 # FIXME: Setting linknames here is a bad hack. 10554 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 10555 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10556 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 10557 else 10558 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 10559 fi~ 10560 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10561 linknames=' 10562 # The linker will not automatically build a static lib if we build a DLL. 10563 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10564 enable_shared_with_static_runtimes=yes 10565 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10566 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10567 # Don't use ranlib 10568 old_postinstall_cmds='chmod 644 $oldlib' 10569 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10570 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10571 case $lt_outputfile in 10572 *.exe|*.EXE) ;; 10573 *) 10574 lt_outputfile="$lt_outputfile.exe" 10575 lt_tool_outputfile="$lt_tool_outputfile.exe" 10576 ;; 10577 esac~ 10578 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 10579 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10580 $RM "$lt_outputfile.manifest"; 10581 fi' 10582 ;; 10583 *) 10584 # Assume MSVC wrapper 10585 hardcode_libdir_flag_spec=' ' 10586 allow_undefined_flag=unsupported 10587 # Tell ltmain to make .lib files, not .a files. 10588 libext=lib 10589 # Tell ltmain to make .dll files, not .so files. 10590 shrext_cmds=".dll" 10591 # FIXME: Setting linknames here is a bad hack. 10592 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10593 # The linker will automatically build a .lib file if we build a DLL. 10594 old_archive_from_new_cmds='true' 10595 # FIXME: Should let the user specify the lib program. 10596 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10597 enable_shared_with_static_runtimes=yes 10598 ;; 10599 esac 10600 ;; 10601 10602 darwin* | rhapsody*) 10603 10604 10605 archive_cmds_need_lc=no 10606 hardcode_direct=no 10607 hardcode_automatic=yes 10608 hardcode_shlibpath_var=unsupported 10609 if test "$lt_cv_ld_force_load" = "yes"; then 10610 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 10611 10612 else 10613 whole_archive_flag_spec='' 10614 fi 10615 link_all_deplibs=yes 10616 allow_undefined_flag="$_lt_dar_allow_undefined" 10617 case $cc_basename in 10618 ifort*) _lt_dar_can_shared=yes ;; 10619 *) _lt_dar_can_shared=$GCC ;; 10620 esac 10621 if test "$_lt_dar_can_shared" = "yes"; then 10622 output_verbose_link_cmd=func_echo_all 10623 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10624 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10625 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 10626 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 10627 10628 else 10629 ld_shlibs=no 10630 fi 10631 10632 ;; 10633 10634 dgux*) 10635 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10636 hardcode_libdir_flag_spec='-L$libdir' 10637 hardcode_shlibpath_var=no 10638 ;; 10639 10640 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10641 # support. Future versions do this automatically, but an explicit c++rt0.o 10642 # does not break anything, and helps significantly (at the cost of a little 10643 # extra space). 10644 freebsd2.2*) 10645 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10646 hardcode_libdir_flag_spec='-R$libdir' 10647 hardcode_direct=yes 10648 hardcode_shlibpath_var=no 10649 ;; 10650 10651 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10652 freebsd2.*) 10653 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10654 hardcode_direct=yes 10655 hardcode_minus_L=yes 10656 hardcode_shlibpath_var=no 10657 ;; 10658 10659 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10660 freebsd* | dragonfly*) 10661 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10662 hardcode_libdir_flag_spec='-R$libdir' 10663 hardcode_direct=yes 10664 hardcode_shlibpath_var=no 10665 ;; 10666 10667 hpux9*) 10668 if test "$GCC" = yes; then 10669 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 10670 else 10671 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 10672 fi 10673 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10674 hardcode_libdir_separator=: 10675 hardcode_direct=yes 10676 10677 # hardcode_minus_L: Not really in the search PATH, 10678 # but as the default location of the library. 10679 hardcode_minus_L=yes 10680 export_dynamic_flag_spec='${wl}-E' 10681 ;; 10682 10683 hpux10*) 10684 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10685 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10686 else 10687 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10688 fi 10689 if test "$with_gnu_ld" = no; then 10690 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10691 hardcode_libdir_separator=: 10692 hardcode_direct=yes 10693 hardcode_direct_absolute=yes 10694 export_dynamic_flag_spec='${wl}-E' 10695 # hardcode_minus_L: Not really in the search PATH, 10696 # but as the default location of the library. 10697 hardcode_minus_L=yes 10698 fi 10699 ;; 10700 10701 hpux11*) 10702 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10703 case $host_cpu in 10704 hppa*64*) 10705 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10706 ;; 10707 ia64*) 10708 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10709 ;; 10710 *) 10711 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10712 ;; 10713 esac 10714 else 10715 case $host_cpu in 10716 hppa*64*) 10717 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10718 ;; 10719 ia64*) 10720 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10721 ;; 10722 *) 10723 10724 # Older versions of the 11.00 compiler do not understand -b yet 10725 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10727 $as_echo_n "checking if $CC understands -b... " >&6; } 10728 if ${lt_cv_prog_compiler__b+:} false; then : 10729 $as_echo_n "(cached) " >&6 10730 else 10731 lt_cv_prog_compiler__b=no 10732 save_LDFLAGS="$LDFLAGS" 10733 LDFLAGS="$LDFLAGS -b" 10734 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10735 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10736 # The linker can only warn and ignore the option if not recognized 10737 # So say no if there are warnings 10738 if test -s conftest.err; then 10739 # Append any errors to the config.log. 10740 cat conftest.err 1>&5 10741 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10742 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10743 if diff conftest.exp conftest.er2 >/dev/null; then 10744 lt_cv_prog_compiler__b=yes 10745 fi 10746 else 10747 lt_cv_prog_compiler__b=yes 10748 fi 10749 fi 10750 $RM -r conftest* 10751 LDFLAGS="$save_LDFLAGS" 10752 10753 fi 10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10755 $as_echo "$lt_cv_prog_compiler__b" >&6; } 10756 10757 if test x"$lt_cv_prog_compiler__b" = xyes; then 10758 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10759 else 10760 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10761 fi 10762 10763 ;; 10764 esac 10765 fi 10766 if test "$with_gnu_ld" = no; then 10767 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10768 hardcode_libdir_separator=: 10769 10770 case $host_cpu in 10771 hppa*64*|ia64*) 10772 hardcode_direct=no 10773 hardcode_shlibpath_var=no 10774 ;; 10775 *) 10776 hardcode_direct=yes 10777 hardcode_direct_absolute=yes 10778 export_dynamic_flag_spec='${wl}-E' 10779 10780 # hardcode_minus_L: Not really in the search PATH, 10781 # but as the default location of the library. 10782 hardcode_minus_L=yes 10783 ;; 10784 esac 10785 fi 10786 ;; 10787 10788 irix5* | irix6* | nonstopux*) 10789 if test "$GCC" = yes; then 10790 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10791 # Try to use the -exported_symbol ld option, if it does not 10792 # work, assume that -exports_file does not work either and 10793 # implicitly export all symbols. 10794 # This should be the same for all languages, so no per-tag cache variable. 10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10796 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10797 if ${lt_cv_irix_exported_symbol+:} false; then : 10798 $as_echo_n "(cached) " >&6 10799 else 10800 save_LDFLAGS="$LDFLAGS" 10801 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10803 /* end confdefs.h. */ 10804 int foo (void) { return 0; } 10805 _ACEOF 10806 if ac_fn_c_try_link "$LINENO"; then : 10807 lt_cv_irix_exported_symbol=yes 10808 else 10809 lt_cv_irix_exported_symbol=no 10810 fi 10811 rm -f core conftest.err conftest.$ac_objext \ 10812 conftest$ac_exeext conftest.$ac_ext 10813 LDFLAGS="$save_LDFLAGS" 10814 fi 10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10816 $as_echo "$lt_cv_irix_exported_symbol" >&6; } 10817 if test "$lt_cv_irix_exported_symbol" = yes; then 10818 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 10819 fi 10820 else 10821 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 10822 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 10823 fi 10824 archive_cmds_need_lc='no' 10825 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10826 hardcode_libdir_separator=: 10827 inherit_rpath=yes 10828 link_all_deplibs=yes 10829 ;; 10830 10831 netbsd*) 10832 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10833 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10834 else 10835 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10836 fi 10837 hardcode_libdir_flag_spec='-R$libdir' 10838 hardcode_direct=yes 10839 hardcode_shlibpath_var=no 10840 ;; 10841 10842 newsos6) 10843 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10844 hardcode_direct=yes 10845 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10846 hardcode_libdir_separator=: 10847 hardcode_shlibpath_var=no 10848 ;; 10849 10850 *nto* | *qnx*) 10851 ;; 10852 10853 openbsd*) 10854 if test -f /usr/libexec/ld.so; then 10855 hardcode_direct=yes 10856 hardcode_shlibpath_var=no 10857 hardcode_direct_absolute=yes 10858 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10859 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10860 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10861 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10862 export_dynamic_flag_spec='${wl}-E' 10863 else 10864 case $host_os in 10865 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10866 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10867 hardcode_libdir_flag_spec='-R$libdir' 10868 ;; 10869 *) 10870 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10871 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10872 ;; 10873 esac 10874 fi 10875 else 10876 ld_shlibs=no 10877 fi 10878 ;; 10879 10880 os2*) 10881 hardcode_libdir_flag_spec='-L$libdir' 10882 hardcode_minus_L=yes 10883 allow_undefined_flag=unsupported 10884 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 10885 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10886 ;; 10887 10888 osf3*) 10889 if test "$GCC" = yes; then 10890 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10891 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10892 else 10893 allow_undefined_flag=' -expect_unresolved \*' 10894 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 10895 fi 10896 archive_cmds_need_lc='no' 10897 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10898 hardcode_libdir_separator=: 10899 ;; 10900 10901 osf4* | osf5*) # as osf3* with the addition of -msym flag 10902 if test "$GCC" = yes; then 10903 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10904 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10905 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10906 else 10907 allow_undefined_flag=' -expect_unresolved \*' 10908 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 10909 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 10910 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 10911 10912 # Both c and cxx compiler support -rpath directly 10913 hardcode_libdir_flag_spec='-rpath $libdir' 10914 fi 10915 archive_cmds_need_lc='no' 10916 hardcode_libdir_separator=: 10917 ;; 10918 10919 solaris*) 10920 no_undefined_flag=' -z defs' 10921 if test "$GCC" = yes; then 10922 wlarc='${wl}' 10923 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10924 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10925 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10926 else 10927 case `$CC -V 2>&1` in 10928 *"Compilers 5.0"*) 10929 wlarc='' 10930 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10931 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10932 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10933 ;; 10934 *) 10935 wlarc='${wl}' 10936 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10937 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10938 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10939 ;; 10940 esac 10941 fi 10942 hardcode_libdir_flag_spec='-R$libdir' 10943 hardcode_shlibpath_var=no 10944 case $host_os in 10945 solaris2.[0-5] | solaris2.[0-5].*) ;; 10946 *) 10947 # The compiler driver will combine and reorder linker options, 10948 # but understands `-z linker_flag'. GCC discards it without `$wl', 10949 # but is careful enough not to reorder. 10950 # Supported since Solaris 2.6 (maybe 2.5.1?) 10951 if test "$GCC" = yes; then 10952 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10953 else 10954 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10955 fi 10956 ;; 10957 esac 10958 link_all_deplibs=yes 10959 ;; 10960 10961 sunos4*) 10962 if test "x$host_vendor" = xsequent; then 10963 # Use $CC to link under sequent, because it throws in some extra .o 10964 # files that make .init and .fini sections work. 10965 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10966 else 10967 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10968 fi 10969 hardcode_libdir_flag_spec='-L$libdir' 10970 hardcode_direct=yes 10971 hardcode_minus_L=yes 10972 hardcode_shlibpath_var=no 10973 ;; 10974 10975 sysv4) 10976 case $host_vendor in 10977 sni) 10978 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10979 hardcode_direct=yes # is this really true??? 10980 ;; 10981 siemens) 10982 ## LD is ld it makes a PLAMLIB 10983 ## CC just makes a GrossModule. 10984 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10985 reload_cmds='$CC -r -o $output$reload_objs' 10986 hardcode_direct=no 10987 ;; 10988 motorola) 10989 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10990 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10991 ;; 10992 esac 10993 runpath_var='LD_RUN_PATH' 10994 hardcode_shlibpath_var=no 10995 ;; 10996 10997 sysv4.3*) 10998 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10999 hardcode_shlibpath_var=no 11000 export_dynamic_flag_spec='-Bexport' 11001 ;; 11002 11003 sysv4*MP*) 11004 if test -d /usr/nec; then 11005 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11006 hardcode_shlibpath_var=no 11007 runpath_var=LD_RUN_PATH 11008 hardcode_runpath_var=yes 11009 ld_shlibs=yes 11010 fi 11011 ;; 11012 11013 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11014 no_undefined_flag='${wl}-z,text' 11015 archive_cmds_need_lc=no 11016 hardcode_shlibpath_var=no 11017 runpath_var='LD_RUN_PATH' 11018 11019 if test "$GCC" = yes; then 11020 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11021 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11022 else 11023 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11024 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11025 fi 11026 ;; 11027 11028 sysv5* | sco3.2v5* | sco5v6*) 11029 # Note: We can NOT use -z defs as we might desire, because we do not 11030 # link with -lc, and that would cause any symbols used from libc to 11031 # always be unresolved, which means just about no library would 11032 # ever link correctly. If we're not using GNU ld we use -z text 11033 # though, which does catch some bad symbols but isn't as heavy-handed 11034 # as -z defs. 11035 no_undefined_flag='${wl}-z,text' 11036 allow_undefined_flag='${wl}-z,nodefs' 11037 archive_cmds_need_lc=no 11038 hardcode_shlibpath_var=no 11039 hardcode_libdir_flag_spec='${wl}-R,$libdir' 11040 hardcode_libdir_separator=':' 11041 link_all_deplibs=yes 11042 export_dynamic_flag_spec='${wl}-Bexport' 11043 runpath_var='LD_RUN_PATH' 11044 11045 if test "$GCC" = yes; then 11046 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11047 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11048 else 11049 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11050 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11051 fi 11052 ;; 11053 11054 uts4*) 11055 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11056 hardcode_libdir_flag_spec='-L$libdir' 11057 hardcode_shlibpath_var=no 11058 ;; 11059 11060 *) 11061 ld_shlibs=no 11062 ;; 11063 esac 11064 11065 if test x$host_vendor = xsni; then 11066 case $host in 11067 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11068 export_dynamic_flag_spec='${wl}-Blargedynsym' 11069 ;; 11070 esac 11071 fi 11072 fi 11073 11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11075 $as_echo "$ld_shlibs" >&6; } 11076 test "$ld_shlibs" = no && can_build_shared=no 11077 11078 with_gnu_ld=$with_gnu_ld 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 # 11095 # Do we need to explicitly link libc? 11096 # 11097 case "x$archive_cmds_need_lc" in 11098 x|xyes) 11099 # Assume -lc should be added 11100 archive_cmds_need_lc=yes 11101 11102 if test "$enable_shared" = yes && test "$GCC" = yes; then 11103 case $archive_cmds in 11104 *'~'*) 11105 # FIXME: we may have to deal with multi-command sequences. 11106 ;; 11107 '$CC '*) 11108 # Test whether the compiler implicitly links with -lc since on some 11109 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11110 # to ld, don't add -lc before -lgcc. 11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11112 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11113 if ${lt_cv_archive_cmds_need_lc+:} false; then : 11114 $as_echo_n "(cached) " >&6 11115 else 11116 $RM conftest* 11117 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11118 11119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11120 (eval $ac_compile) 2>&5 11121 ac_status=$? 11122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11123 test $ac_status = 0; } 2>conftest.err; then 11124 soname=conftest 11125 lib=conftest 11126 libobjs=conftest.$ac_objext 11127 deplibs= 11128 wl=$lt_prog_compiler_wl 11129 pic_flag=$lt_prog_compiler_pic 11130 compiler_flags=-v 11131 linker_flags=-v 11132 verstring= 11133 output_objdir=. 11134 libname=conftest 11135 lt_save_allow_undefined_flag=$allow_undefined_flag 11136 allow_undefined_flag= 11137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11138 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11139 ac_status=$? 11140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11141 test $ac_status = 0; } 11142 then 11143 lt_cv_archive_cmds_need_lc=no 11144 else 11145 lt_cv_archive_cmds_need_lc=yes 11146 fi 11147 allow_undefined_flag=$lt_save_allow_undefined_flag 11148 else 11149 cat conftest.err 1>&5 11150 fi 11151 $RM conftest* 11152 11153 fi 11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11155 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11156 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11157 ;; 11158 esac 11159 fi 11160 ;; 11161 esac 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11315 $as_echo_n "checking dynamic linker characteristics... " >&6; } 11316 11317 if test "$GCC" = yes; then 11318 case $host_os in 11319 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 11320 *) lt_awk_arg="/^libraries:/" ;; 11321 esac 11322 case $host_os in 11323 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 11324 *) lt_sed_strip_eq="s,=/,/,g" ;; 11325 esac 11326 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11327 case $lt_search_path_spec in 11328 *\;*) 11329 # if the path contains ";" then we assume it to be the separator 11330 # otherwise default to the standard path separator (i.e. ":") - it is 11331 # assumed that no part of a normal pathname contains ";" but that should 11332 # okay in the real world where ";" in dirpaths is itself problematic. 11333 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11334 ;; 11335 *) 11336 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11337 ;; 11338 esac 11339 # Ok, now we have the path, separated by spaces, we can step through it 11340 # and add multilib dir if necessary. 11341 lt_tmp_lt_search_path_spec= 11342 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11343 for lt_sys_path in $lt_search_path_spec; do 11344 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11345 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 11346 else 11347 test -d "$lt_sys_path" && \ 11348 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11349 fi 11350 done 11351 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11352 BEGIN {RS=" "; FS="/|\n";} { 11353 lt_foo=""; 11354 lt_count=0; 11355 for (lt_i = NF; lt_i > 0; lt_i--) { 11356 if ($lt_i != "" && $lt_i != ".") { 11357 if ($lt_i == "..") { 11358 lt_count++; 11359 } else { 11360 if (lt_count == 0) { 11361 lt_foo="/" $lt_i lt_foo; 11362 } else { 11363 lt_count--; 11364 } 11365 } 11366 } 11367 } 11368 if (lt_foo != "") { lt_freq[lt_foo]++; } 11369 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11370 }'` 11371 # AWK program above erroneously prepends '/' to C:/dos/paths 11372 # for these hosts. 11373 case $host_os in 11374 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11375 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 11376 esac 11377 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11378 else 11379 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11380 fi 11381 library_names_spec= 11382 libname_spec='lib$name' 11383 soname_spec= 11384 shrext_cmds=".so" 11385 postinstall_cmds= 11386 postuninstall_cmds= 11387 finish_cmds= 11388 finish_eval= 11389 shlibpath_var= 11390 shlibpath_overrides_runpath=unknown 11391 version_type=none 11392 dynamic_linker="$host_os ld.so" 11393 sys_lib_dlsearch_path_spec="/lib /usr/lib" 11394 need_lib_prefix=unknown 11395 hardcode_into_libs=no 11396 11397 # when you set need_version to no, make sure it does not cause -set_version 11398 # flags to be left without arguments 11399 need_version=unknown 11400 11401 case $host_os in 11402 aix3*) 11403 version_type=linux # correct to gnu/linux during the next big refactor 11404 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11405 shlibpath_var=LIBPATH 11406 11407 # AIX 3 has no versioning support, so we append a major version to the name. 11408 soname_spec='${libname}${release}${shared_ext}$major' 11409 ;; 11410 11411 aix[4-9]*) 11412 version_type=linux # correct to gnu/linux during the next big refactor 11413 need_lib_prefix=no 11414 need_version=no 11415 hardcode_into_libs=yes 11416 if test "$host_cpu" = ia64; then 11417 # AIX 5 supports IA64 11418 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11419 shlibpath_var=LD_LIBRARY_PATH 11420 else 11421 # With GCC up to 2.95.x, collect2 would create an import file 11422 # for dependence libraries. The import file would start with 11423 # the line `#! .'. This would cause the generated library to 11424 # depend on `.', always an invalid library. This was fixed in 11425 # development snapshots of GCC prior to 3.0. 11426 case $host_os in 11427 aix4 | aix4.[01] | aix4.[01].*) 11428 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11429 echo ' yes ' 11430 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11431 : 11432 else 11433 can_build_shared=no 11434 fi 11435 ;; 11436 esac 11437 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11438 # soname into executable. Probably we can add versioning support to 11439 # collect2, so additional links can be useful in future. 11440 if test "$aix_use_runtimelinking" = yes; then 11441 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11442 # instead of lib<name>.a to let people know that these are not 11443 # typical AIX shared libraries. 11444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11445 else 11446 # We preserve .a as extension for shared libraries through AIX4.2 11447 # and later when we are not doing run time linking. 11448 library_names_spec='${libname}${release}.a $libname.a' 11449 soname_spec='${libname}${release}${shared_ext}$major' 11450 fi 11451 shlibpath_var=LIBPATH 11452 fi 11453 ;; 11454 11455 amigaos*) 11456 case $host_cpu in 11457 powerpc) 11458 # Since July 2007 AmigaOS4 officially supports .so libraries. 11459 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11461 ;; 11462 m68k) 11463 library_names_spec='$libname.ixlibrary $libname.a' 11464 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11465 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 11466 ;; 11467 esac 11468 ;; 11469 11470 beos*) 11471 library_names_spec='${libname}${shared_ext}' 11472 dynamic_linker="$host_os ld.so" 11473 shlibpath_var=LIBRARY_PATH 11474 ;; 11475 11476 bsdi[45]*) 11477 version_type=linux # correct to gnu/linux during the next big refactor 11478 need_version=no 11479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11480 soname_spec='${libname}${release}${shared_ext}$major' 11481 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11482 shlibpath_var=LD_LIBRARY_PATH 11483 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11484 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11485 # the default ld.so.conf also contains /usr/contrib/lib and 11486 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11487 # libtool to hard-code these into programs 11488 ;; 11489 11490 cygwin* | mingw* | pw32* | cegcc*) 11491 version_type=windows 11492 shrext_cmds=".dll" 11493 need_version=no 11494 need_lib_prefix=no 11495 11496 case $GCC,$cc_basename in 11497 yes,*) 11498 # gcc 11499 library_names_spec='$libname.dll.a' 11500 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11501 postinstall_cmds='base_file=`basename \${file}`~ 11502 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11503 dldir=$destdir/`dirname \$dlpath`~ 11504 test -d \$dldir || mkdir -p \$dldir~ 11505 $install_prog $dir/$dlname \$dldir/$dlname~ 11506 chmod a+x \$dldir/$dlname~ 11507 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11508 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11509 fi' 11510 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11511 dlpath=$dir/\$dldll~ 11512 $RM \$dlpath' 11513 shlibpath_overrides_runpath=yes 11514 11515 case $host_os in 11516 cygwin*) 11517 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11518 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11519 11520 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11521 ;; 11522 mingw* | cegcc*) 11523 # MinGW DLLs use traditional 'lib' prefix 11524 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11525 ;; 11526 pw32*) 11527 # pw32 DLLs use 'pw' prefix rather than 'lib' 11528 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11529 ;; 11530 esac 11531 dynamic_linker='Win32 ld.exe' 11532 ;; 11533 11534 *,cl*) 11535 # Native MSVC 11536 libname_spec='$name' 11537 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11538 library_names_spec='${libname}.dll.lib' 11539 11540 case $build_os in 11541 mingw*) 11542 sys_lib_search_path_spec= 11543 lt_save_ifs=$IFS 11544 IFS=';' 11545 for lt_path in $LIB 11546 do 11547 IFS=$lt_save_ifs 11548 # Let DOS variable expansion print the short 8.3 style file name. 11549 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11550 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11551 done 11552 IFS=$lt_save_ifs 11553 # Convert to MSYS style. 11554 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11555 ;; 11556 cygwin*) 11557 # Convert to unix form, then to dos form, then back to unix form 11558 # but this time dos style (no spaces!) so that the unix form looks 11559 # like /cygdrive/c/PROGRA~1:/cygdr... 11560 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11561 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11562 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11563 ;; 11564 *) 11565 sys_lib_search_path_spec="$LIB" 11566 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11567 # It is most probably a Windows format PATH. 11568 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11569 else 11570 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11571 fi 11572 # FIXME: find the short name or the path components, as spaces are 11573 # common. (e.g. "Program Files" -> "PROGRA~1") 11574 ;; 11575 esac 11576 11577 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11578 postinstall_cmds='base_file=`basename \${file}`~ 11579 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11580 dldir=$destdir/`dirname \$dlpath`~ 11581 test -d \$dldir || mkdir -p \$dldir~ 11582 $install_prog $dir/$dlname \$dldir/$dlname' 11583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11584 dlpath=$dir/\$dldll~ 11585 $RM \$dlpath' 11586 shlibpath_overrides_runpath=yes 11587 dynamic_linker='Win32 link.exe' 11588 ;; 11589 11590 *) 11591 # Assume MSVC wrapper 11592 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11593 dynamic_linker='Win32 ld.exe' 11594 ;; 11595 esac 11596 # FIXME: first we should search . and the directory the executable is in 11597 shlibpath_var=PATH 11598 ;; 11599 11600 darwin* | rhapsody*) 11601 dynamic_linker="$host_os dyld" 11602 version_type=darwin 11603 need_lib_prefix=no 11604 need_version=no 11605 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11606 soname_spec='${libname}${release}${major}$shared_ext' 11607 shlibpath_overrides_runpath=yes 11608 shlibpath_var=DYLD_LIBRARY_PATH 11609 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11610 11611 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11612 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11613 ;; 11614 11615 dgux*) 11616 version_type=linux # correct to gnu/linux during the next big refactor 11617 need_lib_prefix=no 11618 need_version=no 11619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11620 soname_spec='${libname}${release}${shared_ext}$major' 11621 shlibpath_var=LD_LIBRARY_PATH 11622 ;; 11623 11624 freebsd* | dragonfly*) 11625 # DragonFly does not have aout. When/if they implement a new 11626 # versioning mechanism, adjust this. 11627 if test -x /usr/bin/objformat; then 11628 objformat=`/usr/bin/objformat` 11629 else 11630 case $host_os in 11631 freebsd[23].*) objformat=aout ;; 11632 *) objformat=elf ;; 11633 esac 11634 fi 11635 version_type=freebsd-$objformat 11636 case $version_type in 11637 freebsd-elf*) 11638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11639 need_version=no 11640 need_lib_prefix=no 11641 ;; 11642 freebsd-*) 11643 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11644 need_version=yes 11645 ;; 11646 esac 11647 shlibpath_var=LD_LIBRARY_PATH 11648 case $host_os in 11649 freebsd2.*) 11650 shlibpath_overrides_runpath=yes 11651 ;; 11652 freebsd3.[01]* | freebsdelf3.[01]*) 11653 shlibpath_overrides_runpath=yes 11654 hardcode_into_libs=yes 11655 ;; 11656 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11657 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11658 shlibpath_overrides_runpath=no 11659 hardcode_into_libs=yes 11660 ;; 11661 *) # from 4.6 on, and DragonFly 11662 shlibpath_overrides_runpath=yes 11663 hardcode_into_libs=yes 11664 ;; 11665 esac 11666 ;; 11667 11668 gnu*) 11669 version_type=linux # correct to gnu/linux during the next big refactor 11670 need_lib_prefix=no 11671 need_version=no 11672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11673 soname_spec='${libname}${release}${shared_ext}$major' 11674 shlibpath_var=LD_LIBRARY_PATH 11675 shlibpath_overrides_runpath=no 11676 hardcode_into_libs=yes 11677 ;; 11678 11679 haiku*) 11680 version_type=linux # correct to gnu/linux during the next big refactor 11681 need_lib_prefix=no 11682 need_version=no 11683 dynamic_linker="$host_os runtime_loader" 11684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11685 soname_spec='${libname}${release}${shared_ext}$major' 11686 shlibpath_var=LIBRARY_PATH 11687 shlibpath_overrides_runpath=yes 11688 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11689 hardcode_into_libs=yes 11690 ;; 11691 11692 hpux9* | hpux10* | hpux11*) 11693 # Give a soname corresponding to the major version so that dld.sl refuses to 11694 # link against other versions. 11695 version_type=sunos 11696 need_lib_prefix=no 11697 need_version=no 11698 case $host_cpu in 11699 ia64*) 11700 shrext_cmds='.so' 11701 hardcode_into_libs=yes 11702 dynamic_linker="$host_os dld.so" 11703 shlibpath_var=LD_LIBRARY_PATH 11704 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11706 soname_spec='${libname}${release}${shared_ext}$major' 11707 if test "X$HPUX_IA64_MODE" = X32; then 11708 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11709 else 11710 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11711 fi 11712 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11713 ;; 11714 hppa*64*) 11715 shrext_cmds='.sl' 11716 hardcode_into_libs=yes 11717 dynamic_linker="$host_os dld.sl" 11718 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11719 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11721 soname_spec='${libname}${release}${shared_ext}$major' 11722 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11723 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11724 ;; 11725 *) 11726 shrext_cmds='.sl' 11727 dynamic_linker="$host_os dld.sl" 11728 shlibpath_var=SHLIB_PATH 11729 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11731 soname_spec='${libname}${release}${shared_ext}$major' 11732 ;; 11733 esac 11734 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11735 postinstall_cmds='chmod 555 $lib' 11736 # or fails outright, so override atomically: 11737 install_override_mode=555 11738 ;; 11739 11740 interix[3-9]*) 11741 version_type=linux # correct to gnu/linux during the next big refactor 11742 need_lib_prefix=no 11743 need_version=no 11744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11745 soname_spec='${libname}${release}${shared_ext}$major' 11746 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11747 shlibpath_var=LD_LIBRARY_PATH 11748 shlibpath_overrides_runpath=no 11749 hardcode_into_libs=yes 11750 ;; 11751 11752 irix5* | irix6* | nonstopux*) 11753 case $host_os in 11754 nonstopux*) version_type=nonstopux ;; 11755 *) 11756 if test "$lt_cv_prog_gnu_ld" = yes; then 11757 version_type=linux # correct to gnu/linux during the next big refactor 11758 else 11759 version_type=irix 11760 fi ;; 11761 esac 11762 need_lib_prefix=no 11763 need_version=no 11764 soname_spec='${libname}${release}${shared_ext}$major' 11765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11766 case $host_os in 11767 irix5* | nonstopux*) 11768 libsuff= shlibsuff= 11769 ;; 11770 *) 11771 case $LD in # libtool.m4 will add one of these switches to LD 11772 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11773 libsuff= shlibsuff= libmagic=32-bit;; 11774 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11775 libsuff=32 shlibsuff=N32 libmagic=N32;; 11776 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11777 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11778 *) libsuff= shlibsuff= libmagic=never-match;; 11779 esac 11780 ;; 11781 esac 11782 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11783 shlibpath_overrides_runpath=no 11784 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11785 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11786 hardcode_into_libs=yes 11787 ;; 11788 11789 # No shared lib support for Linux oldld, aout, or coff. 11790 linux*oldld* | linux*aout* | linux*coff*) 11791 dynamic_linker=no 11792 ;; 11793 11794 # This must be glibc/ELF. 11795 linux* | k*bsd*-gnu | kopensolaris*-gnu) 11796 version_type=linux # correct to gnu/linux during the next big refactor 11797 need_lib_prefix=no 11798 need_version=no 11799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11800 soname_spec='${libname}${release}${shared_ext}$major' 11801 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11802 shlibpath_var=LD_LIBRARY_PATH 11803 shlibpath_overrides_runpath=no 11804 11805 # Some binutils ld are patched to set DT_RUNPATH 11806 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11807 $as_echo_n "(cached) " >&6 11808 else 11809 lt_cv_shlibpath_overrides_runpath=no 11810 save_LDFLAGS=$LDFLAGS 11811 save_libdir=$libdir 11812 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11813 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11815 /* end confdefs.h. */ 11816 11817 int 11818 main () 11819 { 11820 11821 ; 11822 return 0; 11823 } 11824 _ACEOF 11825 if ac_fn_c_try_link "$LINENO"; then : 11826 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11827 lt_cv_shlibpath_overrides_runpath=yes 11828 fi 11829 fi 11830 rm -f core conftest.err conftest.$ac_objext \ 11831 conftest$ac_exeext conftest.$ac_ext 11832 LDFLAGS=$save_LDFLAGS 11833 libdir=$save_libdir 11834 11835 fi 11836 11837 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11838 11839 # This implies no fast_install, which is unacceptable. 11840 # Some rework will be needed to allow for fast_install 11841 # before this can be enabled. 11842 hardcode_into_libs=yes 11843 11844 # Add ABI-specific directories to the system library path. 11845 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11846 11847 # Append ld.so.conf contents to the search path 11848 if test -f /etc/ld.so.conf; then 11849 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 11850 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11851 11852 fi 11853 11854 # We used to test for /lib/ld.so.1 and disable shared libraries on 11855 # powerpc, because MkLinux only supported shared libraries with the 11856 # GNU dynamic linker. Since this was broken with cross compilers, 11857 # most powerpc-linux boxes support dynamic linking these days and 11858 # people can always --disable-shared, the test was removed, and we 11859 # assume the GNU/Linux dynamic linker is in use. 11860 dynamic_linker='GNU/Linux ld.so' 11861 ;; 11862 11863 netbsd*) 11864 version_type=sunos 11865 need_lib_prefix=no 11866 need_version=no 11867 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11869 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11870 dynamic_linker='NetBSD (a.out) ld.so' 11871 else 11872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11873 soname_spec='${libname}${release}${shared_ext}$major' 11874 dynamic_linker='NetBSD ld.elf_so' 11875 fi 11876 shlibpath_var=LD_LIBRARY_PATH 11877 shlibpath_overrides_runpath=yes 11878 hardcode_into_libs=yes 11879 ;; 11880 11881 newsos6) 11882 version_type=linux # correct to gnu/linux during the next big refactor 11883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11884 shlibpath_var=LD_LIBRARY_PATH 11885 shlibpath_overrides_runpath=yes 11886 ;; 11887 11888 *nto* | *qnx*) 11889 version_type=qnx 11890 need_lib_prefix=no 11891 need_version=no 11892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11893 soname_spec='${libname}${release}${shared_ext}$major' 11894 shlibpath_var=LD_LIBRARY_PATH 11895 shlibpath_overrides_runpath=no 11896 hardcode_into_libs=yes 11897 dynamic_linker='ldqnx.so' 11898 ;; 11899 11900 openbsd*) 11901 version_type=sunos 11902 sys_lib_dlsearch_path_spec="/usr/lib" 11903 need_lib_prefix=no 11904 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11905 case $host_os in 11906 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11907 *) need_version=no ;; 11908 esac 11909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11910 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11911 shlibpath_var=LD_LIBRARY_PATH 11912 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11913 case $host_os in 11914 openbsd2.[89] | openbsd2.[89].*) 11915 shlibpath_overrides_runpath=no 11916 ;; 11917 *) 11918 shlibpath_overrides_runpath=yes 11919 ;; 11920 esac 11921 else 11922 shlibpath_overrides_runpath=yes 11923 fi 11924 ;; 11925 11926 os2*) 11927 libname_spec='$name' 11928 shrext_cmds=".dll" 11929 need_lib_prefix=no 11930 library_names_spec='$libname${shared_ext} $libname.a' 11931 dynamic_linker='OS/2 ld.exe' 11932 shlibpath_var=LIBPATH 11933 ;; 11934 11935 osf3* | osf4* | osf5*) 11936 version_type=osf 11937 need_lib_prefix=no 11938 need_version=no 11939 soname_spec='${libname}${release}${shared_ext}$major' 11940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11941 shlibpath_var=LD_LIBRARY_PATH 11942 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11943 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11944 ;; 11945 11946 rdos*) 11947 dynamic_linker=no 11948 ;; 11949 11950 solaris*) 11951 version_type=linux # correct to gnu/linux during the next big refactor 11952 need_lib_prefix=no 11953 need_version=no 11954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11955 soname_spec='${libname}${release}${shared_ext}$major' 11956 shlibpath_var=LD_LIBRARY_PATH 11957 shlibpath_overrides_runpath=yes 11958 hardcode_into_libs=yes 11959 # ldd complains unless libraries are executable 11960 postinstall_cmds='chmod +x $lib' 11961 ;; 11962 11963 sunos4*) 11964 version_type=sunos 11965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11966 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11967 shlibpath_var=LD_LIBRARY_PATH 11968 shlibpath_overrides_runpath=yes 11969 if test "$with_gnu_ld" = yes; then 11970 need_lib_prefix=no 11971 fi 11972 need_version=yes 11973 ;; 11974 11975 sysv4 | sysv4.3*) 11976 version_type=linux # correct to gnu/linux during the next big refactor 11977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11978 soname_spec='${libname}${release}${shared_ext}$major' 11979 shlibpath_var=LD_LIBRARY_PATH 11980 case $host_vendor in 11981 sni) 11982 shlibpath_overrides_runpath=no 11983 need_lib_prefix=no 11984 runpath_var=LD_RUN_PATH 11985 ;; 11986 siemens) 11987 need_lib_prefix=no 11988 ;; 11989 motorola) 11990 need_lib_prefix=no 11991 need_version=no 11992 shlibpath_overrides_runpath=no 11993 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11994 ;; 11995 esac 11996 ;; 11997 11998 sysv4*MP*) 11999 if test -d /usr/nec ;then 12000 version_type=linux # correct to gnu/linux during the next big refactor 12001 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 12002 soname_spec='$libname${shared_ext}.$major' 12003 shlibpath_var=LD_LIBRARY_PATH 12004 fi 12005 ;; 12006 12007 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12008 version_type=freebsd-elf 12009 need_lib_prefix=no 12010 need_version=no 12011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12012 soname_spec='${libname}${release}${shared_ext}$major' 12013 shlibpath_var=LD_LIBRARY_PATH 12014 shlibpath_overrides_runpath=yes 12015 hardcode_into_libs=yes 12016 if test "$with_gnu_ld" = yes; then 12017 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12018 else 12019 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12020 case $host_os in 12021 sco3.2v5*) 12022 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12023 ;; 12024 esac 12025 fi 12026 sys_lib_dlsearch_path_spec='/usr/lib' 12027 ;; 12028 12029 tpf*) 12030 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12031 version_type=linux # correct to gnu/linux during the next big refactor 12032 need_lib_prefix=no 12033 need_version=no 12034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12035 shlibpath_var=LD_LIBRARY_PATH 12036 shlibpath_overrides_runpath=no 12037 hardcode_into_libs=yes 12038 ;; 12039 12040 uts4*) 12041 version_type=linux # correct to gnu/linux during the next big refactor 12042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12043 soname_spec='${libname}${release}${shared_ext}$major' 12044 shlibpath_var=LD_LIBRARY_PATH 12045 ;; 12046 12047 *) 12048 dynamic_linker=no 12049 ;; 12050 esac 12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12052 $as_echo "$dynamic_linker" >&6; } 12053 test "$dynamic_linker" = no && can_build_shared=no 12054 12055 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12056 if test "$GCC" = yes; then 12057 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12058 fi 12059 12060 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 12061 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 12062 fi 12063 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 12064 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 12065 fi 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12159 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12160 hardcode_action= 12161 if test -n "$hardcode_libdir_flag_spec" || 12162 test -n "$runpath_var" || 12163 test "X$hardcode_automatic" = "Xyes" ; then 12164 12165 # We can hardcode non-existent directories. 12166 if test "$hardcode_direct" != no && 12167 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12168 # have to relink, otherwise we might link with an installed library 12169 # when we should be linking with a yet-to-be-installed one 12170 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 12171 test "$hardcode_minus_L" != no; then 12172 # Linking always hardcodes the temporary library directory. 12173 hardcode_action=relink 12174 else 12175 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12176 hardcode_action=immediate 12177 fi 12178 else 12179 # We cannot hardcode anything, or else we can only hardcode existing 12180 # directories. 12181 hardcode_action=unsupported 12182 fi 12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12184 $as_echo "$hardcode_action" >&6; } 12185 12186 if test "$hardcode_action" = relink || 12187 test "$inherit_rpath" = yes; then 12188 # Fast installation is not supported 12189 enable_fast_install=no 12190 elif test "$shlibpath_overrides_runpath" = yes || 12191 test "$enable_shared" = no; then 12192 # Fast installation is not necessary 12193 enable_fast_install=needless 12194 fi 12195 12196 12197 12198 12199 12200 12201 if test "x$enable_dlopen" != xyes; then 12202 enable_dlopen=unknown 12203 enable_dlopen_self=unknown 12204 enable_dlopen_self_static=unknown 12205 else 12206 lt_cv_dlopen=no 12207 lt_cv_dlopen_libs= 12208 12209 case $host_os in 12210 beos*) 12211 lt_cv_dlopen="load_add_on" 12212 lt_cv_dlopen_libs= 12213 lt_cv_dlopen_self=yes 12214 ;; 12215 12216 mingw* | pw32* | cegcc*) 12217 lt_cv_dlopen="LoadLibrary" 12218 lt_cv_dlopen_libs= 12219 ;; 12220 12221 cygwin*) 12222 lt_cv_dlopen="dlopen" 12223 lt_cv_dlopen_libs= 12224 ;; 12225 12226 darwin*) 12227 # if libdl is installed we need to link against it 12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12229 $as_echo_n "checking for dlopen in -ldl... " >&6; } 12230 if ${ac_cv_lib_dl_dlopen+:} false; then : 12231 $as_echo_n "(cached) " >&6 12232 else 12233 ac_check_lib_save_LIBS=$LIBS 12234 LIBS="-ldl $LIBS" 12235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12236 /* end confdefs.h. */ 12237 12238 /* Override any GCC internal prototype to avoid an error. 12239 Use char because int might match the return type of a GCC 12240 builtin and then its argument prototype would still apply. */ 12241 #ifdef __cplusplus 12242 extern "C" 12243 #endif 12244 char dlopen (); 12245 int 12246 main () 12247 { 12248 return dlopen (); 12249 ; 12250 return 0; 12251 } 12252 _ACEOF 12253 if ac_fn_c_try_link "$LINENO"; then : 12254 ac_cv_lib_dl_dlopen=yes 12255 else 12256 ac_cv_lib_dl_dlopen=no 12257 fi 12258 rm -f core conftest.err conftest.$ac_objext \ 12259 conftest$ac_exeext conftest.$ac_ext 12260 LIBS=$ac_check_lib_save_LIBS 12261 fi 12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12263 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12264 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12265 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12266 else 12267 12268 lt_cv_dlopen="dyld" 12269 lt_cv_dlopen_libs= 12270 lt_cv_dlopen_self=yes 12271 12272 fi 12273 12274 ;; 12275 12276 *) 12277 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12278 if test "x$ac_cv_func_shl_load" = xyes; then : 12279 lt_cv_dlopen="shl_load" 12280 else 12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12282 $as_echo_n "checking for shl_load in -ldld... " >&6; } 12283 if ${ac_cv_lib_dld_shl_load+:} false; then : 12284 $as_echo_n "(cached) " >&6 12285 else 12286 ac_check_lib_save_LIBS=$LIBS 12287 LIBS="-ldld $LIBS" 12288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12289 /* end confdefs.h. */ 12290 12291 /* Override any GCC internal prototype to avoid an error. 12292 Use char because int might match the return type of a GCC 12293 builtin and then its argument prototype would still apply. */ 12294 #ifdef __cplusplus 12295 extern "C" 12296 #endif 12297 char shl_load (); 12298 int 12299 main () 12300 { 12301 return shl_load (); 12302 ; 12303 return 0; 12304 } 12305 _ACEOF 12306 if ac_fn_c_try_link "$LINENO"; then : 12307 ac_cv_lib_dld_shl_load=yes 12308 else 12309 ac_cv_lib_dld_shl_load=no 12310 fi 12311 rm -f core conftest.err conftest.$ac_objext \ 12312 conftest$ac_exeext conftest.$ac_ext 12313 LIBS=$ac_check_lib_save_LIBS 12314 fi 12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12316 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12317 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12318 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 12319 else 12320 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12321 if test "x$ac_cv_func_dlopen" = xyes; then : 12322 lt_cv_dlopen="dlopen" 12323 else 12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12325 $as_echo_n "checking for dlopen in -ldl... " >&6; } 12326 if ${ac_cv_lib_dl_dlopen+:} false; then : 12327 $as_echo_n "(cached) " >&6 12328 else 12329 ac_check_lib_save_LIBS=$LIBS 12330 LIBS="-ldl $LIBS" 12331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12332 /* end confdefs.h. */ 12333 12334 /* Override any GCC internal prototype to avoid an error. 12335 Use char because int might match the return type of a GCC 12336 builtin and then its argument prototype would still apply. */ 12337 #ifdef __cplusplus 12338 extern "C" 12339 #endif 12340 char dlopen (); 12341 int 12342 main () 12343 { 12344 return dlopen (); 12345 ; 12346 return 0; 12347 } 12348 _ACEOF 12349 if ac_fn_c_try_link "$LINENO"; then : 12350 ac_cv_lib_dl_dlopen=yes 12351 else 12352 ac_cv_lib_dl_dlopen=no 12353 fi 12354 rm -f core conftest.err conftest.$ac_objext \ 12355 conftest$ac_exeext conftest.$ac_ext 12356 LIBS=$ac_check_lib_save_LIBS 12357 fi 12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12359 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12360 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12361 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12362 else 12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12364 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 12365 if ${ac_cv_lib_svld_dlopen+:} false; then : 12366 $as_echo_n "(cached) " >&6 12367 else 12368 ac_check_lib_save_LIBS=$LIBS 12369 LIBS="-lsvld $LIBS" 12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12371 /* end confdefs.h. */ 12372 12373 /* Override any GCC internal prototype to avoid an error. 12374 Use char because int might match the return type of a GCC 12375 builtin and then its argument prototype would still apply. */ 12376 #ifdef __cplusplus 12377 extern "C" 12378 #endif 12379 char dlopen (); 12380 int 12381 main () 12382 { 12383 return dlopen (); 12384 ; 12385 return 0; 12386 } 12387 _ACEOF 12388 if ac_fn_c_try_link "$LINENO"; then : 12389 ac_cv_lib_svld_dlopen=yes 12390 else 12391 ac_cv_lib_svld_dlopen=no 12392 fi 12393 rm -f core conftest.err conftest.$ac_objext \ 12394 conftest$ac_exeext conftest.$ac_ext 12395 LIBS=$ac_check_lib_save_LIBS 12396 fi 12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12398 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12399 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12401 else 12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12403 $as_echo_n "checking for dld_link in -ldld... " >&6; } 12404 if ${ac_cv_lib_dld_dld_link+:} false; then : 12405 $as_echo_n "(cached) " >&6 12406 else 12407 ac_check_lib_save_LIBS=$LIBS 12408 LIBS="-ldld $LIBS" 12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12410 /* end confdefs.h. */ 12411 12412 /* Override any GCC internal prototype to avoid an error. 12413 Use char because int might match the return type of a GCC 12414 builtin and then its argument prototype would still apply. */ 12415 #ifdef __cplusplus 12416 extern "C" 12417 #endif 12418 char dld_link (); 12419 int 12420 main () 12421 { 12422 return dld_link (); 12423 ; 12424 return 0; 12425 } 12426 _ACEOF 12427 if ac_fn_c_try_link "$LINENO"; then : 12428 ac_cv_lib_dld_dld_link=yes 12429 else 12430 ac_cv_lib_dld_dld_link=no 12431 fi 12432 rm -f core conftest.err conftest.$ac_objext \ 12433 conftest$ac_exeext conftest.$ac_ext 12434 LIBS=$ac_check_lib_save_LIBS 12435 fi 12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12437 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12438 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12439 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12440 fi 12441 12442 12443 fi 12444 12445 12446 fi 12447 12448 12449 fi 12450 12451 12452 fi 12453 12454 12455 fi 12456 12457 ;; 12458 esac 12459 12460 if test "x$lt_cv_dlopen" != xno; then 12461 enable_dlopen=yes 12462 else 12463 enable_dlopen=no 12464 fi 12465 12466 case $lt_cv_dlopen in 12467 dlopen) 12468 save_CPPFLAGS="$CPPFLAGS" 12469 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12470 12471 save_LDFLAGS="$LDFLAGS" 12472 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12473 12474 save_LIBS="$LIBS" 12475 LIBS="$lt_cv_dlopen_libs $LIBS" 12476 12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12478 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 12479 if ${lt_cv_dlopen_self+:} false; then : 12480 $as_echo_n "(cached) " >&6 12481 else 12482 if test "$cross_compiling" = yes; then : 12483 lt_cv_dlopen_self=cross 12484 else 12485 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12486 lt_status=$lt_dlunknown 12487 cat > conftest.$ac_ext <<_LT_EOF 12488 #line $LINENO "configure" 12489 #include "confdefs.h" 12490 12491 #if HAVE_DLFCN_H 12492 #include <dlfcn.h> 12493 #endif 12494 12495 #include <stdio.h> 12496 12497 #ifdef RTLD_GLOBAL 12498 # define LT_DLGLOBAL RTLD_GLOBAL 12499 #else 12500 # ifdef DL_GLOBAL 12501 # define LT_DLGLOBAL DL_GLOBAL 12502 # else 12503 # define LT_DLGLOBAL 0 12504 # endif 12505 #endif 12506 12507 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12508 find out it does not work in some platform. */ 12509 #ifndef LT_DLLAZY_OR_NOW 12510 # ifdef RTLD_LAZY 12511 # define LT_DLLAZY_OR_NOW RTLD_LAZY 12512 # else 12513 # ifdef DL_LAZY 12514 # define LT_DLLAZY_OR_NOW DL_LAZY 12515 # else 12516 # ifdef RTLD_NOW 12517 # define LT_DLLAZY_OR_NOW RTLD_NOW 12518 # else 12519 # ifdef DL_NOW 12520 # define LT_DLLAZY_OR_NOW DL_NOW 12521 # else 12522 # define LT_DLLAZY_OR_NOW 0 12523 # endif 12524 # endif 12525 # endif 12526 # endif 12527 #endif 12528 12529 /* When -fvisbility=hidden is used, assume the code has been annotated 12530 correspondingly for the symbols needed. */ 12531 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12532 int fnord () __attribute__((visibility("default"))); 12533 #endif 12534 12535 int fnord () { return 42; } 12536 int main () 12537 { 12538 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12539 int status = $lt_dlunknown; 12540 12541 if (self) 12542 { 12543 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12544 else 12545 { 12546 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12547 else puts (dlerror ()); 12548 } 12549 /* dlclose (self); */ 12550 } 12551 else 12552 puts (dlerror ()); 12553 12554 return status; 12555 } 12556 _LT_EOF 12557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12558 (eval $ac_link) 2>&5 12559 ac_status=$? 12560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12561 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12562 (./conftest; exit; ) >&5 2>/dev/null 12563 lt_status=$? 12564 case x$lt_status in 12565 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12566 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12567 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12568 esac 12569 else : 12570 # compilation failed 12571 lt_cv_dlopen_self=no 12572 fi 12573 fi 12574 rm -fr conftest* 12575 12576 12577 fi 12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12579 $as_echo "$lt_cv_dlopen_self" >&6; } 12580 12581 if test "x$lt_cv_dlopen_self" = xyes; then 12582 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12584 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12585 if ${lt_cv_dlopen_self_static+:} false; then : 12586 $as_echo_n "(cached) " >&6 12587 else 12588 if test "$cross_compiling" = yes; then : 12589 lt_cv_dlopen_self_static=cross 12590 else 12591 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12592 lt_status=$lt_dlunknown 12593 cat > conftest.$ac_ext <<_LT_EOF 12594 #line $LINENO "configure" 12595 #include "confdefs.h" 12596 12597 #if HAVE_DLFCN_H 12598 #include <dlfcn.h> 12599 #endif 12600 12601 #include <stdio.h> 12602 12603 #ifdef RTLD_GLOBAL 12604 # define LT_DLGLOBAL RTLD_GLOBAL 12605 #else 12606 # ifdef DL_GLOBAL 12607 # define LT_DLGLOBAL DL_GLOBAL 12608 # else 12609 # define LT_DLGLOBAL 0 12610 # endif 12611 #endif 12612 12613 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12614 find out it does not work in some platform. */ 12615 #ifndef LT_DLLAZY_OR_NOW 12616 # ifdef RTLD_LAZY 12617 # define LT_DLLAZY_OR_NOW RTLD_LAZY 12618 # else 12619 # ifdef DL_LAZY 12620 # define LT_DLLAZY_OR_NOW DL_LAZY 12621 # else 12622 # ifdef RTLD_NOW 12623 # define LT_DLLAZY_OR_NOW RTLD_NOW 12624 # else 12625 # ifdef DL_NOW 12626 # define LT_DLLAZY_OR_NOW DL_NOW 12627 # else 12628 # define LT_DLLAZY_OR_NOW 0 12629 # endif 12630 # endif 12631 # endif 12632 # endif 12633 #endif 12634 12635 /* When -fvisbility=hidden is used, assume the code has been annotated 12636 correspondingly for the symbols needed. */ 12637 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12638 int fnord () __attribute__((visibility("default"))); 12639 #endif 12640 12641 int fnord () { return 42; } 12642 int main () 12643 { 12644 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12645 int status = $lt_dlunknown; 12646 12647 if (self) 12648 { 12649 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12650 else 12651 { 12652 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12653 else puts (dlerror ()); 12654 } 12655 /* dlclose (self); */ 12656 } 12657 else 12658 puts (dlerror ()); 12659 12660 return status; 12661 } 12662 _LT_EOF 12663 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12664 (eval $ac_link) 2>&5 12665 ac_status=$? 12666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12667 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12668 (./conftest; exit; ) >&5 2>/dev/null 12669 lt_status=$? 12670 case x$lt_status in 12671 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12672 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12673 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12674 esac 12675 else : 12676 # compilation failed 12677 lt_cv_dlopen_self_static=no 12678 fi 12679 fi 12680 rm -fr conftest* 12681 12682 12683 fi 12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12685 $as_echo "$lt_cv_dlopen_self_static" >&6; } 12686 fi 12687 12688 CPPFLAGS="$save_CPPFLAGS" 12689 LDFLAGS="$save_LDFLAGS" 12690 LIBS="$save_LIBS" 12691 ;; 12692 esac 12693 12694 case $lt_cv_dlopen_self in 12695 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12696 *) enable_dlopen_self=unknown ;; 12697 esac 12698 12699 case $lt_cv_dlopen_self_static in 12700 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12701 *) enable_dlopen_self_static=unknown ;; 12702 esac 12703 fi 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 striplib= 12722 old_striplib= 12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12724 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 12725 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12726 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12727 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12729 $as_echo "yes" >&6; } 12730 else 12731 # FIXME - insert some real tests, host_os isn't really good enough 12732 case $host_os in 12733 darwin*) 12734 if test -n "$STRIP" ; then 12735 striplib="$STRIP -x" 12736 old_striplib="$STRIP -S" 12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12738 $as_echo "yes" >&6; } 12739 else 12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12741 $as_echo "no" >&6; } 12742 fi 12743 ;; 12744 *) 12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12746 $as_echo "no" >&6; } 12747 ;; 12748 esac 12749 fi 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 # Report which library types will actually be built 12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12764 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12766 $as_echo "$can_build_shared" >&6; } 12767 12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12769 $as_echo_n "checking whether to build shared libraries... " >&6; } 12770 test "$can_build_shared" = "no" && enable_shared=no 12771 12772 # On AIX, shared libraries and static libraries use the same namespace, and 12773 # are all built from PIC. 12774 case $host_os in 12775 aix3*) 12776 test "$enable_shared" = yes && enable_static=no 12777 if test -n "$RANLIB"; then 12778 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12779 postinstall_cmds='$RANLIB $lib' 12780 fi 12781 ;; 12782 12783 aix[4-9]*) 12784 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12785 test "$enable_shared" = yes && enable_static=no 12786 fi 12787 ;; 12788 esac 12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12790 $as_echo "$enable_shared" >&6; } 12791 12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12793 $as_echo_n "checking whether to build static libraries... " >&6; } 12794 # Make sure either enable_shared or enable_static is yes. 12795 test "$enable_shared" = yes || enable_static=yes 12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12797 $as_echo "$enable_static" >&6; } 12798 12799 12800 12801 12802 fi 12803 ac_ext=c 12804 ac_cpp='$CPP $CPPFLAGS' 12805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12807 ac_compiler_gnu=$ac_cv_c_compiler_gnu 12808 12809 CC="$lt_save_CC" 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 ac_config_commands="$ac_config_commands libtool" 12826 12827 12828 12829 12830 # Only expand once: 12831 12832 12833 12834 12835 for ac_header in sys/types.h sys/time.h stdlib.h unistd.h string.h 12836 do : 12837 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12838 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12840 cat >>confdefs.h <<_ACEOF 12841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12842 _ACEOF 12843 12844 fi 12845 12846 done 12847 12848 12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to pass version script to the linker ($LD)" >&5 12850 $as_echo_n "checking how to pass version script to the linker ($LD)... " >&6; } 12851 VERSION_SCRIPT_FLAGS=none 12852 if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then 12853 VERSION_SCRIPT_FLAGS=-Wl,--version-script= 12854 elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then 12855 VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," 12856 fi 12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VERSION_SCRIPT_FLAGS" >&5 12858 $as_echo "$VERSION_SCRIPT_FLAGS" >&6; } 12859 12860 if test "$VERSION_SCRIPT_FLAGS" != none; then 12861 USE_VERSION_SCRIPT_TRUE= 12862 USE_VERSION_SCRIPT_FALSE='#' 12863 else 12864 USE_VERSION_SCRIPT_TRUE='#' 12865 USE_VERSION_SCRIPT_FALSE= 12866 fi 12867 12868 12869 case $host in 12870 *-mingw*) ;; 12871 *) 12872 THREAD_LIBS="" 12873 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 12874 if test "x$ac_cv_header_pthread_h" = xyes; then : 12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 12876 $as_echo_n "checking for pthread_join in -lpthread... " >&6; } 12877 if ${ac_cv_lib_pthread_pthread_join+:} false; then : 12878 $as_echo_n "(cached) " >&6 12879 else 12880 ac_check_lib_save_LIBS=$LIBS 12881 LIBS="-lpthread $LIBS" 12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12883 /* end confdefs.h. */ 12884 12885 /* Override any GCC internal prototype to avoid an error. 12886 Use char because int might match the return type of a GCC 12887 builtin and then its argument prototype would still apply. */ 12888 #ifdef __cplusplus 12889 extern "C" 12890 #endif 12891 char pthread_join (); 12892 int 12893 main () 12894 { 12895 return pthread_join (); 12896 ; 12897 return 0; 12898 } 12899 _ACEOF 12900 if ac_fn_c_try_link "$LINENO"; then : 12901 ac_cv_lib_pthread_pthread_join=yes 12902 else 12903 ac_cv_lib_pthread_pthread_join=no 12904 fi 12905 rm -f core conftest.err conftest.$ac_objext \ 12906 conftest$ac_exeext conftest.$ac_ext 12907 LIBS=$ac_check_lib_save_LIBS 12908 fi 12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 12910 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 12911 if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 12912 12913 12914 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h 12915 12916 12917 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h 12918 12919 THREAD_LIBS="-lpthread" 12920 fi 12921 12922 fi 12923 12924 12925 ;; 12926 esac 12927 12928 12929 12930 12931 XSLT_LOCALE_XLOCALE=0 12932 XSLT_LOCALE_WINAPI=0 12933 12934 for ac_header in locale.h xlocale.h 12935 do : 12936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12937 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12938 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12939 cat >>confdefs.h <<_ACEOF 12940 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12941 _ACEOF 12942 12943 fi 12944 12945 done 12946 12947 if test $ac_cv_header_xlocale_h = yes; then 12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if xlocale program link" >&5 12949 $as_echo_n "checking if xlocale program link... " >&6; } 12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12951 /* end confdefs.h. */ 12952 12953 #ifdef HAVE_LOCALE_H 12954 #include <locale.h> 12955 #endif 12956 #ifdef HAVE_XLOCALE_H 12957 #include <xlocale.h> 12958 #endif 12959 #ifdef HAVE_STRING_H 12960 #include <string.h> 12961 #endif 12962 #ifdef HAVE_STDLIB_H 12963 #include <stdlib.h> 12964 #endif 12965 12966 #ifdef __GLIBC__ 12967 typedef __locale_t xsltLocale; 12968 #else 12969 typedef locale_t xsltLocale; 12970 #endif 12971 #if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ <= 2 12972 #define newlocale __newlocale 12973 #define freelocale __freelocale 12974 #define strxfrm_l __strxfrm_l 12975 #define LC_COLLATE_MASK (1 << LC_COLLATE) 12976 #endif 12977 12978 int 12979 main () 12980 { 12981 12982 xsltLocale locale; 12983 const char *src[[2]] = { "\xc3\x84rger", "Zeppelin" }; 12984 char *dst[[2]]; 12985 size_t len, r; 12986 int i; 12987 12988 locale = newlocale(LC_COLLATE_MASK, "en_US.utf8", NULL); 12989 if (locale == NULL) exit(1); 12990 for (i=0; i<2; ++i) { 12991 len = strxfrm_l(NULL, src[[i]], 0, locale) + 1; 12992 dst[[i]] = malloc(len); 12993 if(dst[[i]] == NULL) exit(1); 12994 r = strxfrm_l(dst[[i]], src[[i]], len, locale); 12995 if(r >= len) exit(1); 12996 } 12997 if (strcmp(dst[[0]], dst[[1]]) >= 0) exit(1); 12998 12999 exit(0); 13000 return(0); 13001 13002 ; 13003 return 0; 13004 } 13005 _ACEOF 13006 if ac_fn_c_try_link "$LINENO"; then : 13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13008 $as_echo "yes" >&6; }; XSLT_LOCALE_XLOCALE=1 13009 else 13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13011 $as_echo "no" >&6; } 13012 13013 fi 13014 rm -f core conftest.err conftest.$ac_objext \ 13015 conftest$ac_exeext conftest.$ac_ext 13016 else 13017 case "$host" in 13018 *-*-mingw*) 13019 { $as_echo "$as_me:${as_lineno-$LINENO}: using winapi locale" >&5 13020 $as_echo "$as_me: using winapi locale" >&6;} 13021 XSLT_LOCALE_WINAPI=1;; 13022 esac 13023 fi 13024 13025 13026 13027 13028 13029 for ac_header in ieeefp.h nan.h math.h fp_class.h float.h ansidecl.h 13030 do : 13031 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13032 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13033 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13034 cat >>confdefs.h <<_ACEOF 13035 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13036 _ACEOF 13037 13038 fi 13039 13040 done 13041 13042 for ac_header in sys/timeb.h time.h sys/stat.h sys/select.h stdarg.h 13043 do : 13044 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13045 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13046 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13047 cat >>confdefs.h <<_ACEOF 13048 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13049 _ACEOF 13050 13051 fi 13052 13053 done 13054 13055 for ac_func in stat _stat 13056 do : 13057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13059 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13060 cat >>confdefs.h <<_ACEOF 13061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13062 _ACEOF 13063 13064 fi 13065 done 13066 13067 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" 13068 if test "x$ac_cv_func_pow" = xyes; then : 13069 13070 else 13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 13072 $as_echo_n "checking for pow in -lm... " >&6; } 13073 if ${ac_cv_lib_m_pow+:} false; then : 13074 $as_echo_n "(cached) " >&6 13075 else 13076 ac_check_lib_save_LIBS=$LIBS 13077 LIBS="-lm $LIBS" 13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13079 /* end confdefs.h. */ 13080 13081 /* Override any GCC internal prototype to avoid an error. 13082 Use char because int might match the return type of a GCC 13083 builtin and then its argument prototype would still apply. */ 13084 #ifdef __cplusplus 13085 extern "C" 13086 #endif 13087 char pow (); 13088 int 13089 main () 13090 { 13091 return pow (); 13092 ; 13093 return 0; 13094 } 13095 _ACEOF 13096 if ac_fn_c_try_link "$LINENO"; then : 13097 ac_cv_lib_m_pow=yes 13098 else 13099 ac_cv_lib_m_pow=no 13100 fi 13101 rm -f core conftest.err conftest.$ac_objext \ 13102 conftest$ac_exeext conftest.$ac_ext 13103 LIBS=$ac_check_lib_save_LIBS 13104 fi 13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 13106 $as_echo "$ac_cv_lib_m_pow" >&6; } 13107 if test "x$ac_cv_lib_m_pow" = xyes; then : 13108 M_LIBS="-lm"; 13109 $as_echo "#define HAVE_POW /**/" >>confdefs.h 13110 13111 fi 13112 13113 fi 13114 13115 13116 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor" 13117 if test "x$ac_cv_func_floor" = xyes; then : 13118 13119 else 13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5 13121 $as_echo_n "checking for floor in -lm... " >&6; } 13122 if ${ac_cv_lib_m_floor+:} false; then : 13123 $as_echo_n "(cached) " >&6 13124 else 13125 ac_check_lib_save_LIBS=$LIBS 13126 LIBS="-lm $LIBS" 13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13128 /* end confdefs.h. */ 13129 13130 /* Override any GCC internal prototype to avoid an error. 13131 Use char because int might match the return type of a GCC 13132 builtin and then its argument prototype would still apply. */ 13133 #ifdef __cplusplus 13134 extern "C" 13135 #endif 13136 char floor (); 13137 int 13138 main () 13139 { 13140 return floor (); 13141 ; 13142 return 0; 13143 } 13144 _ACEOF 13145 if ac_fn_c_try_link "$LINENO"; then : 13146 ac_cv_lib_m_floor=yes 13147 else 13148 ac_cv_lib_m_floor=no 13149 fi 13150 rm -f core conftest.err conftest.$ac_objext \ 13151 conftest$ac_exeext conftest.$ac_ext 13152 LIBS=$ac_check_lib_save_LIBS 13153 fi 13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5 13155 $as_echo "$ac_cv_lib_m_floor" >&6; } 13156 if test "x$ac_cv_lib_m_floor" = xyes; then : 13157 M_LIBS="-lm"; 13158 $as_echo "#define HAVE_FLOOR /**/" >>confdefs.h 13159 13160 fi 13161 13162 fi 13163 13164 13165 ac_fn_c_check_func "$LINENO" "fabs" "ac_cv_func_fabs" 13166 if test "x$ac_cv_func_fabs" = xyes; then : 13167 13168 else 13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5 13170 $as_echo_n "checking for fabs in -lm... " >&6; } 13171 if ${ac_cv_lib_m_fabs+:} false; then : 13172 $as_echo_n "(cached) " >&6 13173 else 13174 ac_check_lib_save_LIBS=$LIBS 13175 LIBS="-lm $LIBS" 13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13177 /* end confdefs.h. */ 13178 13179 /* Override any GCC internal prototype to avoid an error. 13180 Use char because int might match the return type of a GCC 13181 builtin and then its argument prototype would still apply. */ 13182 #ifdef __cplusplus 13183 extern "C" 13184 #endif 13185 char fabs (); 13186 int 13187 main () 13188 { 13189 return fabs (); 13190 ; 13191 return 0; 13192 } 13193 _ACEOF 13194 if ac_fn_c_try_link "$LINENO"; then : 13195 ac_cv_lib_m_fabs=yes 13196 else 13197 ac_cv_lib_m_fabs=no 13198 fi 13199 rm -f core conftest.err conftest.$ac_objext \ 13200 conftest$ac_exeext conftest.$ac_ext 13201 LIBS=$ac_check_lib_save_LIBS 13202 fi 13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5 13204 $as_echo "$ac_cv_lib_m_fabs" >&6; } 13205 if test "x$ac_cv_lib_m_fabs" = xyes; then : 13206 M_LIBS="-lm"; 13207 $as_echo "#define HAVE_FABS /**/" >>confdefs.h 13208 13209 fi 13210 13211 fi 13212 13213 13214 13215 for ac_func in gettimeofday 13216 do : 13217 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 13218 if test "x$ac_cv_func_gettimeofday" = xyes; then : 13219 cat >>confdefs.h <<_ACEOF 13220 #define HAVE_GETTIMEOFDAY 1 13221 _ACEOF 13222 13223 fi 13224 done 13225 13226 for ac_func in mktime localtime localtime_r asctime time gmtime gmtime_r ftime 13227 do : 13228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13230 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13231 cat >>confdefs.h <<_ACEOF 13232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13233 _ACEOF 13234 13235 fi 13236 done 13237 13238 13239 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf 13240 do : 13241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13244 cat >>confdefs.h <<_ACEOF 13245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13246 _ACEOF 13247 13248 else 13249 NEED_TRIO=1 13250 fi 13251 done 13252 13253 13254 for ac_func in clock_gettime 13255 do : 13256 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 13257 if test "x$ac_cv_func_clock_gettime" = xyes; then : 13258 cat >>confdefs.h <<_ACEOF 13259 #define HAVE_CLOCK_GETTIME 1 13260 _ACEOF 13261 13262 else 13263 13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 13265 $as_echo_n "checking for clock_gettime in -lrt... " >&6; } 13266 if ${ac_cv_lib_rt_clock_gettime+:} false; then : 13267 $as_echo_n "(cached) " >&6 13268 else 13269 ac_check_lib_save_LIBS=$LIBS 13270 LIBS="-lrt $LIBS" 13271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13272 /* end confdefs.h. */ 13273 13274 /* Override any GCC internal prototype to avoid an error. 13275 Use char because int might match the return type of a GCC 13276 builtin and then its argument prototype would still apply. */ 13277 #ifdef __cplusplus 13278 extern "C" 13279 #endif 13280 char clock_gettime (); 13281 int 13282 main () 13283 { 13284 return clock_gettime (); 13285 ; 13286 return 0; 13287 } 13288 _ACEOF 13289 if ac_fn_c_try_link "$LINENO"; then : 13290 ac_cv_lib_rt_clock_gettime=yes 13291 else 13292 ac_cv_lib_rt_clock_gettime=no 13293 fi 13294 rm -f core conftest.err conftest.$ac_objext \ 13295 conftest$ac_exeext conftest.$ac_ext 13296 LIBS=$ac_check_lib_save_LIBS 13297 fi 13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 13299 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 13300 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : 13301 13302 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h 13303 13304 EXTRA_LIBS="$EXTRA_LIBS -lrt" 13305 13306 fi 13307 13308 13309 fi 13310 done 13311 13312 13313 13314 if test "${NEED_TRIO}" = "1" ; then 13315 echo Reusing trio library for string functions 13316 WITH_TRIO=1 13317 else 13318 WITH_TRIO=0 13319 fi 13320 13321 13322 13323 13324 13325 # Extract the first word of "perl", so it can be a program name with args. 13326 set dummy perl; ac_word=$2 13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13328 $as_echo_n "checking for $ac_word... " >&6; } 13329 if ${ac_cv_prog_PERL+:} false; then : 13330 $as_echo_n "(cached) " >&6 13331 else 13332 if test -n "$PERL"; then 13333 ac_cv_prog_PERL="$PERL" # Let the user override the test. 13334 else 13335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13336 for as_dir in $PATH 13337 do 13338 IFS=$as_save_IFS 13339 test -z "$as_dir" && as_dir=. 13340 for ac_exec_ext in '' $ac_executable_extensions; do 13341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13342 ac_cv_prog_PERL="perl" 13343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13344 break 2 13345 fi 13346 done 13347 done 13348 IFS=$as_save_IFS 13349 13350 test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="false" 13351 fi 13352 fi 13353 PERL=$ac_cv_prog_PERL 13354 if test -n "$PERL"; then 13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 13356 $as_echo "$PERL" >&6; } 13357 else 13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13359 $as_echo "no" >&6; } 13360 fi 13361 13362 13363 if test "$PERL" != "false"; then 13364 WITH_PERL_TRUE= 13365 WITH_PERL_FALSE='#' 13366 else 13367 WITH_PERL_TRUE='#' 13368 WITH_PERL_FALSE= 13369 fi 13370 13371 13372 13373 PYTHON_VERSION= 13374 PYTHON_INCLUDES= 13375 PYTHON_SITE_PACKAGES= 13376 pythondir= 13377 13378 # Check whether --with-python was given. 13379 if test "${with_python+set}" = set; then : 13380 withval=$with_python; 13381 fi 13382 13383 if test "$with_python" != "no" ; then 13384 if test -x "$with_python/bin/python" 13385 then 13386 echo Found python in $with_python/bin/python 13387 PYTHON="$with_python/bin/python" 13388 else 13389 if test -x "$with_python" 13390 then 13391 echo Found python in $with_python 13392 PYTHON="$with_python" 13393 else 13394 if test -x "$PYTHON" 13395 then 13396 echo Found python in environment PYTHON=$PYTHON 13397 with_python=`$PYTHON -c "import sys; print sys.exec_prefix"` 13398 else 13399 # Extract the first word of "python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 13400 set dummy python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13402 $as_echo_n "checking for $ac_word... " >&6; } 13403 if ${ac_cv_path_PYTHON+:} false; then : 13404 $as_echo_n "(cached) " >&6 13405 else 13406 case $PYTHON in 13407 [\\/]* | ?:[\\/]*) 13408 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 13409 ;; 13410 *) 13411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13412 for as_dir in $PATH 13413 do 13414 IFS=$as_save_IFS 13415 test -z "$as_dir" && as_dir=. 13416 for ac_exec_ext in '' $ac_executable_extensions; do 13417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13418 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 13419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13420 break 2 13421 fi 13422 done 13423 done 13424 IFS=$as_save_IFS 13425 13426 ;; 13427 esac 13428 fi 13429 PYTHON=$ac_cv_path_PYTHON 13430 if test -n "$PYTHON"; then 13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 13432 $as_echo "$PYTHON" >&6; } 13433 else 13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13435 $as_echo "no" >&6; } 13436 fi 13437 13438 13439 fi 13440 fi 13441 fi 13442 if test "$PYTHON" != "" 13443 then 13444 echo "PYTHON is pointing at $PYTHON" 13445 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"` 13446 echo Found Python version $PYTHON_VERSION 13447 LIBXML2_PYTHON=`$PYTHON -c "try : import libxml2 ; print 1 13448 except: print 0"` 13449 if test "$LIBXML2_PYTHON" = "1" 13450 then 13451 echo Found libxml2-python module 13452 else 13453 echo Warning: Missing libxml2-python 13454 fi 13455 fi 13456 if test "$PYTHON_VERSION" != "" 13457 then 13458 if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \ 13459 -d $with_python/lib/python$PYTHON_VERSION/site-packages 13460 then 13461 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION 13462 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages' 13463 else 13464 if test -r $prefix/include/python$PYTHON_VERSION/Python.h 13465 then 13466 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION 13467 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages' 13468 else 13469 if test -r /usr/include/python$PYTHON_VERSION/Python.h 13470 then 13471 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION 13472 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages' 13473 else 13474 echo could not find python$PYTHON_VERSION/Python.h 13475 fi 13476 fi 13477 if test ! -d "$PYTHON_SITE_PACKAGES" 13478 then 13479 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` 13480 fi 13481 fi 13482 PYTHON_LIBS=`python$PYTHON_VERSION-config --libs` 13483 fi 13484 if test "$with_python" != "" 13485 then 13486 pythondir='$(PYTHON_SITE_PACKAGES)' 13487 else 13488 pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages' 13489 fi 13490 fi 13491 if test "$PYTHON_INCLUDES" != ""; then 13492 WITH_PYTHON_TRUE= 13493 WITH_PYTHON_FALSE='#' 13494 else 13495 WITH_PYTHON_TRUE='#' 13496 WITH_PYTHON_FALSE= 13497 fi 13498 13499 if test "$PYTHON_INCLUDES" != "" 13500 then 13501 PYTHON_SUBDIR=python 13502 else 13503 PYTHON_SUBDIR= 13504 fi 13505 13506 13507 13508 13509 13510 # Check whether --with-crypto was given. 13511 if test "${with_crypto+set}" = set; then : 13512 withval=$with_crypto; 13513 fi 13514 13515 WITH_CRYPTO=0 13516 if test "$with_crypto" = "no" ; then 13517 echo Disabling crypto support 13518 LIBGCRYPT_CFLAGS="" 13519 LIBGCRYPT_LIBS="" 13520 else 13521 case $host in 13522 *-mingw*) 13523 WITH_CRYPTO=1 13524 ;; 13525 *) 13526 # Extract the first word of "libgcrypt-config", so it can be a program name with args. 13527 set dummy libgcrypt-config; ac_word=$2 13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13529 $as_echo_n "checking for $ac_word... " >&6; } 13530 if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then : 13531 $as_echo_n "(cached) " >&6 13532 else 13533 case $LIBGCRYPT_CONFIG in 13534 [\\/]* | ?:[\\/]*) 13535 ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path. 13536 ;; 13537 *) 13538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13539 for as_dir in $PATH 13540 do 13541 IFS=$as_save_IFS 13542 test -z "$as_dir" && as_dir=. 13543 for ac_exec_ext in '' $ac_executable_extensions; do 13544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13545 ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13547 break 2 13548 fi 13549 done 13550 done 13551 IFS=$as_save_IFS 13552 13553 test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no" 13554 ;; 13555 esac 13556 fi 13557 LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG 13558 if test -n "$LIBGCRYPT_CONFIG"; then 13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5 13560 $as_echo "$LIBGCRYPT_CONFIG" >&6; } 13561 else 13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13563 $as_echo "no" >&6; } 13564 fi 13565 13566 13567 if test "$LIBGCRYPT_CONFIG" != "no" ; then 13568 LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version` 13569 if test `echo $LIBGCRYPT_VERSION | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -lt `echo "1.1.42" | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` 13570 then 13571 LIBGCRYPT_CFLAGS="" 13572 LIBGCRYPT_LIBS="" 13573 echo 'gcrypt library version < 1.1.42 - Crypto extensions will not be available.' 13574 else 13575 LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags` 13576 LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs` 13577 13578 $as_echo "#define HAVE_GCRYPT 1" >>confdefs.h 13579 13580 echo 'Crypto extensions will be available.' 13581 WITH_CRYPTO=1 13582 fi 13583 else 13584 LIBGCRYPT_CFLAGS="" 13585 LIBGCRYPT_LIBS="" 13586 echo 'Crypto extensions will not be available. Install libgcrypt and reconfigure to make available.' 13587 fi 13588 esac 13589 fi 13590 13591 13592 13593 13594 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ] || \ 13595 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxslt" ] 13596 then 13597 if test "${with_mem_debug}" = "" ; 13598 then 13599 with_mem_debug="yes" 13600 fi 13601 CFLAGS="-Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline " 13602 fi 13603 13604 13605 # Check whether --with-debug was given. 13606 if test "${with_debug+set}" = set; then : 13607 withval=$with_debug; 13608 fi 13609 13610 if test "$with_debug" = "no" ; then 13611 echo Disabling debug support 13612 WITH_XSLT_DEBUG=0 13613 else 13614 WITH_XSLT_DEBUG=1 13615 fi 13616 13617 13618 13619 # Check whether --with-mem_debug was given. 13620 if test "${with_mem_debug+set}" = set; then : 13621 withval=$with_mem_debug; 13622 fi 13623 13624 if test "$with_mem_debug" = "yes" ; then 13625 echo Enabling memory debug support 13626 WITH_MEM_DEBUG=1 13627 else 13628 WITH_MEM_DEBUG=0 13629 fi 13630 13631 13632 13633 # Check whether --with-debugger was given. 13634 if test "${with_debugger+set}" = set; then : 13635 withval=$with_debugger; 13636 fi 13637 13638 if test "$with_debugger" = "no" ; then 13639 echo Disabling debugger 13640 WITH_DEBUGGER=0 13641 else 13642 echo Enabling debugger 13643 WITH_DEBUGGER=1 13644 13645 $as_echo "#define WITH_DEBUGGER /**/" >>confdefs.h 13646 13647 fi 13648 13649 13650 13651 LIBXML_CONFIG_PREFIX="" 13652 LIBXML_SRC="" 13653 13654 13655 # Check whether --with-libxml-prefix was given. 13656 if test "${with_libxml_prefix+set}" = set; then : 13657 withval=$with_libxml_prefix; LIBXML_CONFIG_PREFIX=$withval 13658 13659 fi 13660 13661 13662 13663 # Check whether --with-libxml-include-prefix was given. 13664 if test "${with_libxml_include_prefix+set}" = set; then : 13665 withval=$with_libxml_include_prefix; LIBXML_CFLAGS="-I$withval" 13666 13667 fi 13668 13669 13670 13671 # Check whether --with-libxml-libs-prefix was given. 13672 if test "${with_libxml_libs_prefix+set}" = set; then : 13673 withval=$with_libxml_libs_prefix; LIBXML_LIBS="-L$withval" 13674 13675 fi 13676 13677 13678 13679 # Check whether --with-libxml-src was given. 13680 if test "${with_libxml_src+set}" = set; then : 13681 withval=$with_libxml_src; LIBXML_SRC="$withval" 13682 13683 fi 13684 13685 13686 13687 13688 13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml libraries >= $LIBXML_REQUIRED_VERSION" >&5 13690 $as_echo_n "checking for libxml libraries >= $LIBXML_REQUIRED_VERSION... " >&6; } 13691 if test "x$LIBXML_CONFIG_PREFIX" != "x" 13692 then 13693 XML_CONFIG=${LIBXML_CONFIG_PREFIX}/bin/xml2-config 13694 else 13695 XML_CONFIG=xml2-config 13696 fi 13697 13698 if test "${GCC}" != "yes" ; then 13699 case "${host}" in 13700 *-*-hpux* ) 13701 CFLAGS="${CFLAGS} -Wp,-H30000" 13702 ;; 13703 *-dec-osf* ) 13704 CFLAGS="${CFLAGS} -ieee" 13705 ;; 13706 esac 13707 else 13708 CFLAGS="${CFLAGS} -Wall" 13709 case "${host}" in 13710 alpha*-*-linux* ) 13711 CFLAGS="${CFLAGS} -mieee" 13712 ;; 13713 alpha*-*-osf* ) 13714 CFLAGS="${CFLAGS} -mieee" 13715 ;; 13716 esac 13717 fi 13718 13719 13720 if test "x$LIBXML_SRC" != "x" 13721 then 13722 CWD=`pwd` 13723 if cd $LIBXML_SRC 13724 then 13725 SRC_DIR=`pwd` 13726 XML_CONFIG=${SRC_DIR}/xml2-config 13727 LIBXML_CFLAGS="-I${SRC_DIR}/include" 13728 LIBXML_LIBS="-L${SRC_DIR}" 13729 cd $CWD 13730 else 13731 as_fn_error $? "libxml source dir not found (${LIBXML_SRC}), typo?" "$LINENO" 5 13732 fi 13733 fi 13734 13735 13736 if ${XML_CONFIG} --libs print > /dev/null 2>&1 13737 then 13738 XMLVERS=`$XML_CONFIG --version` 13739 if test `echo $XMLVERS | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -ge `echo $LIBXML_REQUIRED_VERSION | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` 13740 then 13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLVERS found" >&5 13742 $as_echo "$XMLVERS found" >&6; } 13743 else 13744 as_fn_error $? "Version $XMLVERS found. You need at least libxml2 $LIBXML_REQUIRED_VERSION for this version of libxslt" "$LINENO" 5 13745 fi 13746 LIBXML_LIBS="$LIBXML_LIBS `$XML_CONFIG --libs`" 13747 if test "x$LIBXML_SRC" = "x"; then 13748 LIBXML_CFLAGS="$LIBXML_CFLAGS `$XML_CONFIG --cflags`" 13749 fi 13750 else 13751 as_fn_error $? "Could not find libxml2 anywhere, check ftp://xmlsoft.org/." "$LINENO" 5 13752 fi 13753 13754 13755 13756 13757 13758 13759 13760 # Check whether --with-plugins was given. 13761 if test "${with_plugins+set}" = set; then : 13762 withval=$with_plugins; 13763 fi 13764 13765 if test "$with_plugins" = "" 13766 then 13767 with_plugins=yes 13768 fi 13769 13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shared libraries will be built (required for plugins)" >&5 13771 $as_echo_n "checking whether shared libraries will be built (required for plugins)... " >&6; } 13772 if test "$enable_shared" = "no" -a "$with_plugins" = "yes"; then 13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13774 $as_echo "no" >&6; } 13775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling plugin support." >&5 13776 $as_echo "$as_me: WARNING: Disabling plugin support." >&2;} 13777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Plugins require that shared libraries be built." >&5 13778 $as_echo "$as_me: WARNING: Plugins require that shared libraries be built." >&2;} 13779 with_plugins=no 13780 else 13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13782 $as_echo "yes" >&6; } 13783 fi 13784 13785 if test "$with_plugins" = "yes" ; then 13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libxml2 module support" >&5 13787 $as_echo_n "checking libxml2 module support... " >&6; } 13788 WITH_MODULES="`$XML_CONFIG --modules`" 13789 if test "${WITH_MODULES}" = "1"; then 13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13791 $as_echo "yes" >&6; } 13792 else 13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13794 $as_echo "no" >&6; } 13795 WITH_MODULES="0" 13796 fi 13797 else 13798 WITH_MODULES="0" 13799 fi 13800 13801 13802 if test "$WITH_MODULES" = "1"; then 13803 WITH_MODULES_TRUE= 13804 WITH_MODULES_FALSE='#' 13805 else 13806 WITH_MODULES_TRUE='#' 13807 WITH_MODULES_FALSE= 13808 fi 13809 13810 13811 module_prefix=$prefix 13812 test "x$module_prefix" = xNONE && module_prefix=$ac_default_prefix 13813 LIBXSLT_DEFAULT_PLUGINS_PATH="$module_prefix/lib/libxslt-plugins" 13814 13815 13816 WIN32_EXTRA_LIBADD= 13817 WIN32_EXTRA_LDFLAGS= 13818 case "$host" in 13819 *-*-cygwin*) 13820 WIN32_EXTRA_LDFLAGS="-no-undefined" 13821 ;; 13822 *-*-mingw*) 13823 WIN32_EXTRA_LIBADD="-lwsock32" 13824 WIN32_EXTRA_LDFLAGS="-no-undefined" 13825 13826 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h 13827 13828 13829 $as_echo "#define snprintf _snprintf" >>confdefs.h 13830 13831 13832 $as_echo "#define vsnprintf _vsnprintf" >>confdefs.h 13833 13834 ;; 13835 esac 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 XSLT_LIBDIR='-L${libdir}' 13851 XSLT_INCLUDEDIR='-I${includedir}' 13852 XSLT_LIBS="-lxslt $LIBXML_LIBS $M_LIBS" 13853 13854 13855 13856 13857 EXSLT_LIBDIR='-L${libdir}' 13858 EXSLT_INCLUDEDIR='-I${includedir}' 13859 EXSLT_LIBS="-lexslt $XSLT_LIBS $LIBGCRYPT_LIBS" 13860 13861 13862 13863 13864 13865 13866 13867 13868 RELDATE=`date +'%a %b %e %Y'` 13869 13870 13871 rm -f COPYING.LIB COPYING 2>/dev/null && $LN_S $srcdir/Copyright COPYING 13872 13873 13874 ac_config_files="$ac_config_files Makefile libxslt.pc libexslt.pc libxslt/Makefile libxslt/xsltconfig.h libxslt/xsltwin32config.h libexslt/Makefile libexslt/exsltconfig.h xsltproc/Makefile python/Makefile python/tests/Makefile tests/Makefile tests/docs/Makefile tests/REC1/Makefile tests/REC2/Makefile tests/REC/Makefile tests/general/Makefile tests/reports/Makefile tests/extensions/Makefile tests/namespaces/Makefile tests/keys/Makefile tests/numbers/Makefile tests/documents/Makefile tests/xmlspec/Makefile tests/multiple/Makefile tests/xinclude/Makefile tests/XSLTMark/Makefile tests/docbook/Makefile tests/exslt/Makefile tests/exslt/common/Makefile tests/exslt/functions/Makefile tests/exslt/math/Makefile tests/exslt/sets/Makefile tests/exslt/strings/Makefile tests/exslt/date/Makefile tests/exslt/dynamic/Makefile tests/plugins/Makefile doc/Makefile xslt-config libxslt.spec" 13875 13876 13877 cat >confcache <<\_ACEOF 13878 # This file is a shell script that caches the results of configure 13879 # tests run on this system so they can be shared between configure 13880 # scripts and configure runs, see configure's option --config-cache. 13881 # It is not useful on other systems. If it contains results you don't 13882 # want to keep, you may remove or edit it. 13883 # 13884 # config.status only pays attention to the cache file if you give it 13885 # the --recheck option to rerun configure. 13886 # 13887 # `ac_cv_env_foo' variables (set or unset) will be overridden when 13888 # loading this file, other *unset* `ac_cv_foo' will be assigned the 13889 # following values. 13890 13891 _ACEOF 13892 13893 # The following way of writing the cache mishandles newlines in values, 13894 # but we know of no workaround that is simple, portable, and efficient. 13895 # So, we kill variables containing newlines. 13896 # Ultrix sh set writes to stderr and can't be redirected directly, 13897 # and sets the high bit in the cache file unless we assign to the vars. 13898 ( 13899 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13900 eval ac_val=\$$ac_var 13901 case $ac_val in #( 13902 *${as_nl}*) 13903 case $ac_var in #( 13904 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13905 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13906 esac 13907 case $ac_var in #( 13908 _ | IFS | as_nl) ;; #( 13909 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13910 *) { eval $ac_var=; unset $ac_var;} ;; 13911 esac ;; 13912 esac 13913 done 13914 13915 (set) 2>&1 | 13916 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13917 *${as_nl}ac_space=\ *) 13918 # `set' does not quote correctly, so add quotes: double-quote 13919 # substitution turns \\\\ into \\, and sed turns \\ into \. 13920 sed -n \ 13921 "s/'/'\\\\''/g; 13922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13923 ;; #( 13924 *) 13925 # `set' quotes correctly as required by POSIX, so do not add quotes. 13926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13927 ;; 13928 esac | 13929 sort 13930 ) | 13931 sed ' 13932 /^ac_cv_env_/b end 13933 t clear 13934 :clear 13935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13936 t end 13937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13938 :end' >>confcache 13939 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13940 if test -w "$cache_file"; then 13941 if test "x$cache_file" != "x/dev/null"; then 13942 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13943 $as_echo "$as_me: updating cache $cache_file" >&6;} 13944 if test ! -f "$cache_file" || test -h "$cache_file"; then 13945 cat confcache >"$cache_file" 13946 else 13947 case $cache_file in #( 13948 */* | ?:*) 13949 mv -f confcache "$cache_file"$$ && 13950 mv -f "$cache_file"$$ "$cache_file" ;; #( 13951 *) 13952 mv -f confcache "$cache_file" ;; 13953 esac 13954 fi 13955 fi 13956 else 13957 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13958 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13959 fi 13960 fi 13961 rm -f confcache 13962 13963 test "x$prefix" = xNONE && prefix=$ac_default_prefix 13964 # Let make expand exec_prefix. 13965 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13966 13967 DEFS=-DHAVE_CONFIG_H 13968 13969 ac_libobjs= 13970 ac_ltlibobjs= 13971 U= 13972 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13973 # 1. Remove the extension, and $U if already installed. 13974 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13975 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13976 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13977 # will be set to the directory where LIBOBJS objects are built. 13978 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13979 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13980 done 13981 LIBOBJS=$ac_libobjs 13982 13983 LTLIBOBJS=$ac_ltlibobjs 13984 13985 13986 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13987 as_fn_error $? "conditional \"AMDEP\" was never defined. 13988 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13989 fi 13990 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13991 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13992 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13993 fi 13994 if test -n "$EXEEXT"; then 13995 am__EXEEXT_TRUE= 13996 am__EXEEXT_FALSE='#' 13997 else 13998 am__EXEEXT_TRUE='#' 13999 am__EXEEXT_FALSE= 14000 fi 14001 14002 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then 14003 as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined. 14004 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14005 fi 14006 if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then 14007 as_fn_error $? "conditional \"WITH_PERL\" was never defined. 14008 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14009 fi 14010 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then 14011 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined. 14012 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14013 fi 14014 if test -z "${WITH_MODULES_TRUE}" && test -z "${WITH_MODULES_FALSE}"; then 14015 as_fn_error $? "conditional \"WITH_MODULES\" was never defined. 14016 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14017 fi 14018 14019 : "${CONFIG_STATUS=./config.status}" 14020 ac_write_fail=0 14021 ac_clean_files_save=$ac_clean_files 14022 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14023 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 14024 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14025 as_write_fail=0 14026 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 14027 #! $SHELL 14028 # Generated by $as_me. 14029 # Run this file to recreate the current configuration. 14030 # Compiler output produced by configure, useful for debugging 14031 # configure, is in config.log if it exists. 14032 14033 debug=false 14034 ac_cs_recheck=false 14035 ac_cs_silent=false 14036 14037 SHELL=\${CONFIG_SHELL-$SHELL} 14038 export SHELL 14039 _ASEOF 14040 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 14041 ## -------------------- ## 14042 ## M4sh Initialization. ## 14043 ## -------------------- ## 14044 14045 # Be more Bourne compatible 14046 DUALCASE=1; export DUALCASE # for MKS sh 14047 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14048 emulate sh 14049 NULLCMD=: 14050 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14051 # is contrary to our usage. Disable this feature. 14052 alias -g '${1+"$@"}'='"$@"' 14053 setopt NO_GLOB_SUBST 14054 else 14055 case `(set -o) 2>/dev/null` in #( 14056 *posix*) : 14057 set -o posix ;; #( 14058 *) : 14059 ;; 14060 esac 14061 fi 14062 14063 14064 as_nl=' 14065 ' 14066 export as_nl 14067 # Printing a long string crashes Solaris 7 /usr/bin/printf. 14068 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14069 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14070 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14071 # Prefer a ksh shell builtin over an external printf program on Solaris, 14072 # but without wasting forks for bash or zsh. 14073 if test -z "$BASH_VERSION$ZSH_VERSION" \ 14074 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 14075 as_echo='print -r --' 14076 as_echo_n='print -rn --' 14077 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14078 as_echo='printf %s\n' 14079 as_echo_n='printf %s' 14080 else 14081 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 14082 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 14083 as_echo_n='/usr/ucb/echo -n' 14084 else 14085 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14086 as_echo_n_body='eval 14087 arg=$1; 14088 case $arg in #( 14089 *"$as_nl"*) 14090 expr "X$arg" : "X\\(.*\\)$as_nl"; 14091 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14092 esac; 14093 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 14094 ' 14095 export as_echo_n_body 14096 as_echo_n='sh -c $as_echo_n_body as_echo' 14097 fi 14098 export as_echo_body 14099 as_echo='sh -c $as_echo_body as_echo' 14100 fi 14101 14102 # The user is always right. 14103 if test "${PATH_SEPARATOR+set}" != set; then 14104 PATH_SEPARATOR=: 14105 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 14106 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 14107 PATH_SEPARATOR=';' 14108 } 14109 fi 14110 14111 14112 # IFS 14113 # We need space, tab and new line, in precisely that order. Quoting is 14114 # there to prevent editors from complaining about space-tab. 14115 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 14116 # splitting by setting IFS to empty value.) 14117 IFS=" "" $as_nl" 14118 14119 # Find who we are. Look in the path if we contain no directory separator. 14120 as_myself= 14121 case $0 in #(( 14122 *[\\/]* ) as_myself=$0 ;; 14123 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14124 for as_dir in $PATH 14125 do 14126 IFS=$as_save_IFS 14127 test -z "$as_dir" && as_dir=. 14128 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14129 done 14130 IFS=$as_save_IFS 14131 14132 ;; 14133 esac 14134 # We did not find ourselves, most probably we were run as `sh COMMAND' 14135 # in which case we are not to be found in the path. 14136 if test "x$as_myself" = x; then 14137 as_myself=$0 14138 fi 14139 if test ! -f "$as_myself"; then 14140 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14141 exit 1 14142 fi 14143 14144 # Unset variables that we do not need and which cause bugs (e.g. in 14145 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 14146 # suppresses any "Segmentation fault" message there. '((' could 14147 # trigger a bug in pdksh 5.2.14. 14148 for as_var in BASH_ENV ENV MAIL MAILPATH 14149 do eval test x\${$as_var+set} = xset \ 14150 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 14151 done 14152 PS1='$ ' 14153 PS2='> ' 14154 PS4='+ ' 14155 14156 # NLS nuisances. 14157 LC_ALL=C 14158 export LC_ALL 14159 LANGUAGE=C 14160 export LANGUAGE 14161 14162 # CDPATH. 14163 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14164 14165 14166 # as_fn_error STATUS ERROR [LINENO LOG_FD] 14167 # ---------------------------------------- 14168 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14169 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14170 # script with STATUS, using 1 if that was 0. 14171 as_fn_error () 14172 { 14173 as_status=$1; test $as_status -eq 0 && as_status=1 14174 if test "$4"; then 14175 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14176 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14177 fi 14178 $as_echo "$as_me: error: $2" >&2 14179 as_fn_exit $as_status 14180 } # as_fn_error 14181 14182 14183 # as_fn_set_status STATUS 14184 # ----------------------- 14185 # Set $? to STATUS, without forking. 14186 as_fn_set_status () 14187 { 14188 return $1 14189 } # as_fn_set_status 14190 14191 # as_fn_exit STATUS 14192 # ----------------- 14193 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14194 as_fn_exit () 14195 { 14196 set +e 14197 as_fn_set_status $1 14198 exit $1 14199 } # as_fn_exit 14200 14201 # as_fn_unset VAR 14202 # --------------- 14203 # Portably unset VAR. 14204 as_fn_unset () 14205 { 14206 { eval $1=; unset $1;} 14207 } 14208 as_unset=as_fn_unset 14209 # as_fn_append VAR VALUE 14210 # ---------------------- 14211 # Append the text in VALUE to the end of the definition contained in VAR. Take 14212 # advantage of any shell optimizations that allow amortized linear growth over 14213 # repeated appends, instead of the typical quadratic growth present in naive 14214 # implementations. 14215 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 14216 eval 'as_fn_append () 14217 { 14218 eval $1+=\$2 14219 }' 14220 else 14221 as_fn_append () 14222 { 14223 eval $1=\$$1\$2 14224 } 14225 fi # as_fn_append 14226 14227 # as_fn_arith ARG... 14228 # ------------------ 14229 # Perform arithmetic evaluation on the ARGs, and store the result in the 14230 # global $as_val. Take advantage of shells that can avoid forks. The arguments 14231 # must be portable across $(()) and expr. 14232 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14233 eval 'as_fn_arith () 14234 { 14235 as_val=$(( $* )) 14236 }' 14237 else 14238 as_fn_arith () 14239 { 14240 as_val=`expr "$@" || test $? -eq 1` 14241 } 14242 fi # as_fn_arith 14243 14244 14245 if expr a : '\(a\)' >/dev/null 2>&1 && 14246 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14247 as_expr=expr 14248 else 14249 as_expr=false 14250 fi 14251 14252 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14253 as_basename=basename 14254 else 14255 as_basename=false 14256 fi 14257 14258 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14259 as_dirname=dirname 14260 else 14261 as_dirname=false 14262 fi 14263 14264 as_me=`$as_basename -- "$0" || 14265 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14266 X"$0" : 'X\(//\)$' \| \ 14267 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14268 $as_echo X/"$0" | 14269 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14270 s//\1/ 14271 q 14272 } 14273 /^X\/\(\/\/\)$/{ 14274 s//\1/ 14275 q 14276 } 14277 /^X\/\(\/\).*/{ 14278 s//\1/ 14279 q 14280 } 14281 s/.*/./; q'` 14282 14283 # Avoid depending upon Character Ranges. 14284 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14285 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14286 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14287 as_cr_digits='0123456789' 14288 as_cr_alnum=$as_cr_Letters$as_cr_digits 14289 14290 ECHO_C= ECHO_N= ECHO_T= 14291 case `echo -n x` in #((((( 14292 -n*) 14293 case `echo 'xy\c'` in 14294 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14295 xy) ECHO_C='\c';; 14296 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14297 ECHO_T=' ';; 14298 esac;; 14299 *) 14300 ECHO_N='-n';; 14301 esac 14302 14303 rm -f conf$$ conf$$.exe conf$$.file 14304 if test -d conf$$.dir; then 14305 rm -f conf$$.dir/conf$$.file 14306 else 14307 rm -f conf$$.dir 14308 mkdir conf$$.dir 2>/dev/null 14309 fi 14310 if (echo >conf$$.file) 2>/dev/null; then 14311 if ln -s conf$$.file conf$$ 2>/dev/null; then 14312 as_ln_s='ln -s' 14313 # ... but there are two gotchas: 14314 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14315 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14316 # In both cases, we have to default to `cp -p'. 14317 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14318 as_ln_s='cp -p' 14319 elif ln conf$$.file conf$$ 2>/dev/null; then 14320 as_ln_s=ln 14321 else 14322 as_ln_s='cp -p' 14323 fi 14324 else 14325 as_ln_s='cp -p' 14326 fi 14327 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14328 rmdir conf$$.dir 2>/dev/null 14329 14330 14331 # as_fn_mkdir_p 14332 # ------------- 14333 # Create "$as_dir" as a directory, including parents if necessary. 14334 as_fn_mkdir_p () 14335 { 14336 14337 case $as_dir in #( 14338 -*) as_dir=./$as_dir;; 14339 esac 14340 test -d "$as_dir" || eval $as_mkdir_p || { 14341 as_dirs= 14342 while :; do 14343 case $as_dir in #( 14344 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14345 *) as_qdir=$as_dir;; 14346 esac 14347 as_dirs="'$as_qdir' $as_dirs" 14348 as_dir=`$as_dirname -- "$as_dir" || 14349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14350 X"$as_dir" : 'X\(//\)[^/]' \| \ 14351 X"$as_dir" : 'X\(//\)$' \| \ 14352 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14353 $as_echo X"$as_dir" | 14354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14355 s//\1/ 14356 q 14357 } 14358 /^X\(\/\/\)[^/].*/{ 14359 s//\1/ 14360 q 14361 } 14362 /^X\(\/\/\)$/{ 14363 s//\1/ 14364 q 14365 } 14366 /^X\(\/\).*/{ 14367 s//\1/ 14368 q 14369 } 14370 s/.*/./; q'` 14371 test -d "$as_dir" && break 14372 done 14373 test -z "$as_dirs" || eval "mkdir $as_dirs" 14374 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14375 14376 14377 } # as_fn_mkdir_p 14378 if mkdir -p . 2>/dev/null; then 14379 as_mkdir_p='mkdir -p "$as_dir"' 14380 else 14381 test -d ./-p && rmdir ./-p 14382 as_mkdir_p=false 14383 fi 14384 14385 if test -x / >/dev/null 2>&1; then 14386 as_test_x='test -x' 14387 else 14388 if ls -dL / >/dev/null 2>&1; then 14389 as_ls_L_option=L 14390 else 14391 as_ls_L_option= 14392 fi 14393 as_test_x=' 14394 eval sh -c '\'' 14395 if test -d "$1"; then 14396 test -d "$1/."; 14397 else 14398 case $1 in #( 14399 -*)set "./$1";; 14400 esac; 14401 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 14402 ???[sx]*):;;*)false;;esac;fi 14403 '\'' sh 14404 ' 14405 fi 14406 as_executable_p=$as_test_x 14407 14408 # Sed expression to map a string onto a valid CPP name. 14409 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14410 14411 # Sed expression to map a string onto a valid variable name. 14412 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14413 14414 14415 exec 6>&1 14416 ## ----------------------------------- ## 14417 ## Main body of $CONFIG_STATUS script. ## 14418 ## ----------------------------------- ## 14419 _ASEOF 14420 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14421 14422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14423 # Save the log message, to keep $0 and so on meaningful, and to 14424 # report actual input values of CONFIG_FILES etc. instead of their 14425 # values after options handling. 14426 ac_log=" 14427 This file was extended by $as_me, which was 14428 generated by GNU Autoconf 2.68. Invocation command line was 14429 14430 CONFIG_FILES = $CONFIG_FILES 14431 CONFIG_HEADERS = $CONFIG_HEADERS 14432 CONFIG_LINKS = $CONFIG_LINKS 14433 CONFIG_COMMANDS = $CONFIG_COMMANDS 14434 $ $0 $@ 14435 14436 on `(hostname || uname -n) 2>/dev/null | sed 1q` 14437 " 14438 14439 _ACEOF 14440 14441 case $ac_config_files in *" 14442 "*) set x $ac_config_files; shift; ac_config_files=$*;; 14443 esac 14444 14445 case $ac_config_headers in *" 14446 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14447 esac 14448 14449 14450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14451 # Files that config.status was made for. 14452 config_files="$ac_config_files" 14453 config_headers="$ac_config_headers" 14454 config_commands="$ac_config_commands" 14455 14456 _ACEOF 14457 14458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14459 ac_cs_usage="\ 14460 \`$as_me' instantiates files and other configuration actions 14461 from templates according to the current configuration. Unless the files 14462 and actions are specified as TAGs, all are instantiated by default. 14463 14464 Usage: $0 [OPTION]... [TAG]... 14465 14466 -h, --help print this help, then exit 14467 -V, --version print version number and configuration settings, then exit 14468 --config print configuration, then exit 14469 -q, --quiet, --silent 14470 do not print progress messages 14471 -d, --debug don't remove temporary files 14472 --recheck update $as_me by reconfiguring in the same conditions 14473 --file=FILE[:TEMPLATE] 14474 instantiate the configuration file FILE 14475 --header=FILE[:TEMPLATE] 14476 instantiate the configuration header FILE 14477 14478 Configuration files: 14479 $config_files 14480 14481 Configuration headers: 14482 $config_headers 14483 14484 Configuration commands: 14485 $config_commands 14486 14487 Report bugs to the package provider." 14488 14489 _ACEOF 14490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14491 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14492 ac_cs_version="\\ 14493 config.status 14494 configured by $0, generated by GNU Autoconf 2.68, 14495 with options \\"\$ac_cs_config\\" 14496 14497 Copyright (C) 2010 Free Software Foundation, Inc. 14498 This config.status script is free software; the Free Software Foundation 14499 gives unlimited permission to copy, distribute and modify it." 14500 14501 ac_pwd='$ac_pwd' 14502 srcdir='$srcdir' 14503 INSTALL='$INSTALL' 14504 MKDIR_P='$MKDIR_P' 14505 AWK='$AWK' 14506 test -n "\$AWK" || AWK=awk 14507 _ACEOF 14508 14509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14510 # The default lists apply if the user does not specify any file. 14511 ac_need_defaults=: 14512 while test $# != 0 14513 do 14514 case $1 in 14515 --*=?*) 14516 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14517 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14518 ac_shift=: 14519 ;; 14520 --*=) 14521 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14522 ac_optarg= 14523 ac_shift=: 14524 ;; 14525 *) 14526 ac_option=$1 14527 ac_optarg=$2 14528 ac_shift=shift 14529 ;; 14530 esac 14531 14532 case $ac_option in 14533 # Handling of the options. 14534 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14535 ac_cs_recheck=: ;; 14536 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14537 $as_echo "$ac_cs_version"; exit ;; 14538 --config | --confi | --conf | --con | --co | --c ) 14539 $as_echo "$ac_cs_config"; exit ;; 14540 --debug | --debu | --deb | --de | --d | -d ) 14541 debug=: ;; 14542 --file | --fil | --fi | --f ) 14543 $ac_shift 14544 case $ac_optarg in 14545 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14546 '') as_fn_error $? "missing file argument" ;; 14547 esac 14548 as_fn_append CONFIG_FILES " '$ac_optarg'" 14549 ac_need_defaults=false;; 14550 --header | --heade | --head | --hea ) 14551 $ac_shift 14552 case $ac_optarg in 14553 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14554 esac 14555 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14556 ac_need_defaults=false;; 14557 --he | --h) 14558 # Conflict between --help and --header 14559 as_fn_error $? "ambiguous option: \`$1' 14560 Try \`$0 --help' for more information.";; 14561 --help | --hel | -h ) 14562 $as_echo "$ac_cs_usage"; exit ;; 14563 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14564 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14565 ac_cs_silent=: ;; 14566 14567 # This is an error. 14568 -*) as_fn_error $? "unrecognized option: \`$1' 14569 Try \`$0 --help' for more information." ;; 14570 14571 *) as_fn_append ac_config_targets " $1" 14572 ac_need_defaults=false ;; 14573 14574 esac 14575 shift 14576 done 14577 14578 ac_configure_extra_args= 14579 14580 if $ac_cs_silent; then 14581 exec 6>/dev/null 14582 ac_configure_extra_args="$ac_configure_extra_args --silent" 14583 fi 14584 14585 _ACEOF 14586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14587 if \$ac_cs_recheck; then 14588 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14589 shift 14590 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14591 CONFIG_SHELL='$SHELL' 14592 export CONFIG_SHELL 14593 exec "\$@" 14594 fi 14595 14596 _ACEOF 14597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14598 exec 5>>config.log 14599 { 14600 echo 14601 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14602 ## Running $as_me. ## 14603 _ASBOX 14604 $as_echo "$ac_log" 14605 } >&5 14606 14607 _ACEOF 14608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14609 # 14610 # INIT-COMMANDS 14611 # 14612 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14613 14614 14615 # The HP-UX ksh and POSIX shell print the target directory to stdout 14616 # if CDPATH is set. 14617 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14618 14619 sed_quote_subst='$sed_quote_subst' 14620 double_quote_subst='$double_quote_subst' 14621 delay_variable_subst='$delay_variable_subst' 14622 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14623 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14624 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 14625 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14626 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14627 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14628 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14629 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14630 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14631 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14632 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14633 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14634 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14635 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14636 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14637 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14638 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14639 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14640 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14641 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14642 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14643 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14644 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14645 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14646 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14647 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14648 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14649 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14650 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14651 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14652 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14653 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14654 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14655 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14656 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14657 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14658 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14659 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14660 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14661 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14662 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14663 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14664 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14665 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14666 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14667 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14668 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14669 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14670 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14671 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14672 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14673 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14674 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14675 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14676 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14677 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14678 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14679 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 14680 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14681 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14682 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14683 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14684 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14685 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14686 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14687 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14688 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14689 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14690 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14691 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14692 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14693 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14694 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14695 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14696 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14697 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14698 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14699 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14700 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14701 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14702 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14703 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14704 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14705 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14706 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14707 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14708 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14709 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14710 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14711 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14712 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14713 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14714 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14715 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14716 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14717 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14718 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14719 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14720 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14721 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14722 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14723 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14724 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14725 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14726 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14727 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14728 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14729 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14730 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14731 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14732 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14733 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14734 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14735 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14736 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14737 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14738 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14739 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14740 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14741 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14742 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14743 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14744 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14745 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14746 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14747 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14748 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14749 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14750 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14751 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14752 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14753 14754 LTCC='$LTCC' 14755 LTCFLAGS='$LTCFLAGS' 14756 compiler='$compiler_DEFAULT' 14757 14758 # A function that is used when there is no print builtin or printf. 14759 func_fallback_echo () 14760 { 14761 eval 'cat <<_LTECHO_EOF 14762 \$1 14763 _LTECHO_EOF' 14764 } 14765 14766 # Quote evaled strings. 14767 for var in AS \ 14768 DLLTOOL \ 14769 OBJDUMP \ 14770 SHELL \ 14771 ECHO \ 14772 PATH_SEPARATOR \ 14773 SED \ 14774 GREP \ 14775 EGREP \ 14776 FGREP \ 14777 LD \ 14778 NM \ 14779 LN_S \ 14780 lt_SP2NL \ 14781 lt_NL2SP \ 14782 reload_flag \ 14783 deplibs_check_method \ 14784 file_magic_cmd \ 14785 file_magic_glob \ 14786 want_nocaseglob \ 14787 sharedlib_from_linklib_cmd \ 14788 AR \ 14789 AR_FLAGS \ 14790 archiver_list_spec \ 14791 STRIP \ 14792 RANLIB \ 14793 CC \ 14794 CFLAGS \ 14795 compiler \ 14796 lt_cv_sys_global_symbol_pipe \ 14797 lt_cv_sys_global_symbol_to_cdecl \ 14798 lt_cv_sys_global_symbol_to_c_name_address \ 14799 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14800 nm_file_list_spec \ 14801 lt_prog_compiler_no_builtin_flag \ 14802 lt_prog_compiler_pic \ 14803 lt_prog_compiler_wl \ 14804 lt_prog_compiler_static \ 14805 lt_cv_prog_compiler_c_o \ 14806 need_locks \ 14807 MANIFEST_TOOL \ 14808 DSYMUTIL \ 14809 NMEDIT \ 14810 LIPO \ 14811 OTOOL \ 14812 OTOOL64 \ 14813 shrext_cmds \ 14814 export_dynamic_flag_spec \ 14815 whole_archive_flag_spec \ 14816 compiler_needs_object \ 14817 with_gnu_ld \ 14818 allow_undefined_flag \ 14819 no_undefined_flag \ 14820 hardcode_libdir_flag_spec \ 14821 hardcode_libdir_separator \ 14822 exclude_expsyms \ 14823 include_expsyms \ 14824 file_list_spec \ 14825 variables_saved_for_relink \ 14826 libname_spec \ 14827 library_names_spec \ 14828 soname_spec \ 14829 install_override_mode \ 14830 finish_eval \ 14831 old_striplib \ 14832 striplib; do 14833 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14834 *[\\\\\\\`\\"\\\$]*) 14835 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14836 ;; 14837 *) 14838 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14839 ;; 14840 esac 14841 done 14842 14843 # Double-quote double-evaled strings. 14844 for var in reload_cmds \ 14845 old_postinstall_cmds \ 14846 old_postuninstall_cmds \ 14847 old_archive_cmds \ 14848 extract_expsyms_cmds \ 14849 old_archive_from_new_cmds \ 14850 old_archive_from_expsyms_cmds \ 14851 archive_cmds \ 14852 archive_expsym_cmds \ 14853 module_cmds \ 14854 module_expsym_cmds \ 14855 export_symbols_cmds \ 14856 prelink_cmds \ 14857 postlink_cmds \ 14858 postinstall_cmds \ 14859 postuninstall_cmds \ 14860 finish_cmds \ 14861 sys_lib_search_path_spec \ 14862 sys_lib_dlsearch_path_spec; do 14863 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14864 *[\\\\\\\`\\"\\\$]*) 14865 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14866 ;; 14867 *) 14868 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14869 ;; 14870 esac 14871 done 14872 14873 ac_aux_dir='$ac_aux_dir' 14874 xsi_shell='$xsi_shell' 14875 lt_shell_append='$lt_shell_append' 14876 14877 # See if we are running on zsh, and set the options which allow our 14878 # commands through without removal of \ escapes INIT. 14879 if test -n "\${ZSH_VERSION+set}" ; then 14880 setopt NO_GLOB_SUBST 14881 fi 14882 14883 14884 PACKAGE='$PACKAGE' 14885 VERSION='$VERSION' 14886 TIMESTAMP='$TIMESTAMP' 14887 RM='$RM' 14888 ofile='$ofile' 14889 14890 14891 14892 14893 _ACEOF 14894 14895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14896 14897 # Handling of arguments. 14898 for ac_config_target in $ac_config_targets 14899 do 14900 case $ac_config_target in 14901 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14902 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14903 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14904 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14905 "libxslt.pc") CONFIG_FILES="$CONFIG_FILES libxslt.pc" ;; 14906 "libexslt.pc") CONFIG_FILES="$CONFIG_FILES libexslt.pc" ;; 14907 "libxslt/Makefile") CONFIG_FILES="$CONFIG_FILES libxslt/Makefile" ;; 14908 "libxslt/xsltconfig.h") CONFIG_FILES="$CONFIG_FILES libxslt/xsltconfig.h" ;; 14909 "libxslt/xsltwin32config.h") CONFIG_FILES="$CONFIG_FILES libxslt/xsltwin32config.h" ;; 14910 "libexslt/Makefile") CONFIG_FILES="$CONFIG_FILES libexslt/Makefile" ;; 14911 "libexslt/exsltconfig.h") CONFIG_FILES="$CONFIG_FILES libexslt/exsltconfig.h" ;; 14912 "xsltproc/Makefile") CONFIG_FILES="$CONFIG_FILES xsltproc/Makefile" ;; 14913 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; 14914 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;; 14915 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 14916 "tests/docs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docs/Makefile" ;; 14917 "tests/REC1/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC1/Makefile" ;; 14918 "tests/REC2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC2/Makefile" ;; 14919 "tests/REC/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC/Makefile" ;; 14920 "tests/general/Makefile") CONFIG_FILES="$CONFIG_FILES tests/general/Makefile" ;; 14921 "tests/reports/Makefile") CONFIG_FILES="$CONFIG_FILES tests/reports/Makefile" ;; 14922 "tests/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES tests/extensions/Makefile" ;; 14923 "tests/namespaces/Makefile") CONFIG_FILES="$CONFIG_FILES tests/namespaces/Makefile" ;; 14924 "tests/keys/Makefile") CONFIG_FILES="$CONFIG_FILES tests/keys/Makefile" ;; 14925 "tests/numbers/Makefile") CONFIG_FILES="$CONFIG_FILES tests/numbers/Makefile" ;; 14926 "tests/documents/Makefile") CONFIG_FILES="$CONFIG_FILES tests/documents/Makefile" ;; 14927 "tests/xmlspec/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xmlspec/Makefile" ;; 14928 "tests/multiple/Makefile") CONFIG_FILES="$CONFIG_FILES tests/multiple/Makefile" ;; 14929 "tests/xinclude/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xinclude/Makefile" ;; 14930 "tests/XSLTMark/Makefile") CONFIG_FILES="$CONFIG_FILES tests/XSLTMark/Makefile" ;; 14931 "tests/docbook/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docbook/Makefile" ;; 14932 "tests/exslt/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/Makefile" ;; 14933 "tests/exslt/common/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/common/Makefile" ;; 14934 "tests/exslt/functions/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/functions/Makefile" ;; 14935 "tests/exslt/math/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/math/Makefile" ;; 14936 "tests/exslt/sets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/sets/Makefile" ;; 14937 "tests/exslt/strings/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/strings/Makefile" ;; 14938 "tests/exslt/date/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/date/Makefile" ;; 14939 "tests/exslt/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/dynamic/Makefile" ;; 14940 "tests/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES tests/plugins/Makefile" ;; 14941 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 14942 "xslt-config") CONFIG_FILES="$CONFIG_FILES xslt-config" ;; 14943 "libxslt.spec") CONFIG_FILES="$CONFIG_FILES libxslt.spec" ;; 14944 14945 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14946 esac 14947 done 14948 14949 14950 # If the user did not use the arguments to specify the items to instantiate, 14951 # then the envvar interface is used. Set only those that are not. 14952 # We use the long form for the default assignment because of an extremely 14953 # bizarre bug on SunOS 4.1.3. 14954 if $ac_need_defaults; then 14955 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14956 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14957 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14958 fi 14959 14960 # Have a temporary directory for convenience. Make it in the build tree 14961 # simply because there is no reason against having it here, and in addition, 14962 # creating and moving files from /tmp can sometimes cause problems. 14963 # Hook for its removal unless debugging. 14964 # Note that there is a small window in which the directory will not be cleaned: 14965 # after its creation but before its name has been assigned to `$tmp'. 14966 $debug || 14967 { 14968 tmp= ac_tmp= 14969 trap 'exit_status=$? 14970 : "${ac_tmp:=$tmp}" 14971 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14972 ' 0 14973 trap 'as_fn_exit 1' 1 2 13 15 14974 } 14975 # Create a (secure) tmp directory for tmp files. 14976 14977 { 14978 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14979 test -d "$tmp" 14980 } || 14981 { 14982 tmp=./conf$$-$RANDOM 14983 (umask 077 && mkdir "$tmp") 14984 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14985 ac_tmp=$tmp 14986 14987 # Set up the scripts for CONFIG_FILES section. 14988 # No need to generate them if there are no CONFIG_FILES. 14989 # This happens for instance with `./config.status config.h'. 14990 if test -n "$CONFIG_FILES"; then 14991 14992 14993 ac_cr=`echo X | tr X '\015'` 14994 # On cygwin, bash can eat \r inside `` if the user requested igncr. 14995 # But we know of no other shell where ac_cr would be empty at this 14996 # point, so we can use a bashism as a fallback. 14997 if test "x$ac_cr" = x; then 14998 eval ac_cr=\$\'\\r\' 14999 fi 15000 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15001 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15002 ac_cs_awk_cr='\\r' 15003 else 15004 ac_cs_awk_cr=$ac_cr 15005 fi 15006 15007 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 15008 _ACEOF 15009 15010 15011 { 15012 echo "cat >conf$$subs.awk <<_ACEOF" && 15013 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15014 echo "_ACEOF" 15015 } >conf$$subs.sh || 15016 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15017 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15018 ac_delim='%!_!# ' 15019 for ac_last_try in false false false false false :; do 15020 . ./conf$$subs.sh || 15021 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15022 15023 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15024 if test $ac_delim_n = $ac_delim_num; then 15025 break 15026 elif $ac_last_try; then 15027 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15028 else 15029 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15030 fi 15031 done 15032 rm -f conf$$subs.sh 15033 15034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15035 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 15036 _ACEOF 15037 sed -n ' 15038 h 15039 s/^/S["/; s/!.*/"]=/ 15040 p 15041 g 15042 s/^[^!]*!// 15043 :repl 15044 t repl 15045 s/'"$ac_delim"'$// 15046 t delim 15047 :nl 15048 h 15049 s/\(.\{148\}\)..*/\1/ 15050 t more1 15051 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15052 p 15053 n 15054 b repl 15055 :more1 15056 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15057 p 15058 g 15059 s/.\{148\}// 15060 t nl 15061 :delim 15062 h 15063 s/\(.\{148\}\)..*/\1/ 15064 t more2 15065 s/["\\]/\\&/g; s/^/"/; s/$/"/ 15066 p 15067 b 15068 :more2 15069 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15070 p 15071 g 15072 s/.\{148\}// 15073 t delim 15074 ' <conf$$subs.awk | sed ' 15075 /^[^""]/{ 15076 N 15077 s/\n// 15078 } 15079 ' >>$CONFIG_STATUS || ac_write_fail=1 15080 rm -f conf$$subs.awk 15081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15082 _ACAWK 15083 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 15084 for (key in S) S_is_set[key] = 1 15085 FS = "" 15086 15087 } 15088 { 15089 line = $ 0 15090 nfields = split(line, field, "@") 15091 substed = 0 15092 len = length(field[1]) 15093 for (i = 2; i < nfields; i++) { 15094 key = field[i] 15095 keylen = length(key) 15096 if (S_is_set[key]) { 15097 value = S[key] 15098 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15099 len += length(value) + length(field[++i]) 15100 substed = 1 15101 } else 15102 len += 1 + keylen 15103 } 15104 15105 print line 15106 } 15107 15108 _ACAWK 15109 _ACEOF 15110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15111 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15112 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15113 else 15114 cat 15115 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 15116 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15117 _ACEOF 15118 15119 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15120 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15121 # trailing colons and then remove the whole line if VPATH becomes empty 15122 # (actually we leave an empty line to preserve line numbers). 15123 if test "x$srcdir" = x.; then 15124 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15125 h 15126 s/// 15127 s/^/:/ 15128 s/[ ]*$/:/ 15129 s/:\$(srcdir):/:/g 15130 s/:\${srcdir}:/:/g 15131 s/:@srcdir@:/:/g 15132 s/^:*// 15133 s/:*$// 15134 x 15135 s/\(=[ ]*\).*/\1/ 15136 G 15137 s/\n// 15138 s/^[^=]*=[ ]*$// 15139 }' 15140 fi 15141 15142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15143 fi # test -n "$CONFIG_FILES" 15144 15145 # Set up the scripts for CONFIG_HEADERS section. 15146 # No need to generate them if there are no CONFIG_HEADERS. 15147 # This happens for instance with `./config.status Makefile'. 15148 if test -n "$CONFIG_HEADERS"; then 15149 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 15150 BEGIN { 15151 _ACEOF 15152 15153 # Transform confdefs.h into an awk script `defines.awk', embedded as 15154 # here-document in config.status, that substitutes the proper values into 15155 # config.h.in to produce config.h. 15156 15157 # Create a delimiter string that does not exist in confdefs.h, to ease 15158 # handling of long lines. 15159 ac_delim='%!_!# ' 15160 for ac_last_try in false false :; do 15161 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 15162 if test -z "$ac_tt"; then 15163 break 15164 elif $ac_last_try; then 15165 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15166 else 15167 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15168 fi 15169 done 15170 15171 # For the awk script, D is an array of macro values keyed by name, 15172 # likewise P contains macro parameters if any. Preserve backslash 15173 # newline sequences. 15174 15175 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15176 sed -n ' 15177 s/.\{148\}/&'"$ac_delim"'/g 15178 t rset 15179 :rset 15180 s/^[ ]*#[ ]*define[ ][ ]*/ / 15181 t def 15182 d 15183 :def 15184 s/\\$// 15185 t bsnl 15186 s/["\\]/\\&/g 15187 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15188 D["\1"]=" \3"/p 15189 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 15190 d 15191 :bsnl 15192 s/["\\]/\\&/g 15193 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15194 D["\1"]=" \3\\\\\\n"\\/p 15195 t cont 15196 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 15197 t cont 15198 d 15199 :cont 15200 n 15201 s/.\{148\}/&'"$ac_delim"'/g 15202 t clear 15203 :clear 15204 s/\\$// 15205 t bsnlc 15206 s/["\\]/\\&/g; s/^/"/; s/$/"/p 15207 d 15208 :bsnlc 15209 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 15210 b cont 15211 ' <confdefs.h | sed ' 15212 s/'"$ac_delim"'/"\\\ 15213 "/g' >>$CONFIG_STATUS || ac_write_fail=1 15214 15215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15216 for (key in D) D_is_set[key] = 1 15217 FS = "" 15218 } 15219 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 15220 line = \$ 0 15221 split(line, arg, " ") 15222 if (arg[1] == "#") { 15223 defundef = arg[2] 15224 mac1 = arg[3] 15225 } else { 15226 defundef = substr(arg[1], 2) 15227 mac1 = arg[2] 15228 } 15229 split(mac1, mac2, "(") #) 15230 macro = mac2[1] 15231 prefix = substr(line, 1, index(line, defundef) - 1) 15232 if (D_is_set[macro]) { 15233 # Preserve the white space surrounding the "#". 15234 print prefix "define", macro P[macro] D[macro] 15235 next 15236 } else { 15237 # Replace #undef with comments. This is necessary, for example, 15238 # in the case of _POSIX_SOURCE, which is predefined and required 15239 # on some systems where configure will not decide to define it. 15240 if (defundef == "undef") { 15241 print "/*", prefix defundef, macro, "*/" 15242 next 15243 } 15244 } 15245 } 15246 { print } 15247 _ACAWK 15248 _ACEOF 15249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15250 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 15251 fi # test -n "$CONFIG_HEADERS" 15252 15253 15254 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 15255 shift 15256 for ac_tag 15257 do 15258 case $ac_tag in 15259 :[FHLC]) ac_mode=$ac_tag; continue;; 15260 esac 15261 case $ac_mode$ac_tag in 15262 :[FHL]*:*);; 15263 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 15264 :[FH]-) ac_tag=-:-;; 15265 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15266 esac 15267 ac_save_IFS=$IFS 15268 IFS=: 15269 set x $ac_tag 15270 IFS=$ac_save_IFS 15271 shift 15272 ac_file=$1 15273 shift 15274 15275 case $ac_mode in 15276 :L) ac_source=$1;; 15277 :[FH]) 15278 ac_file_inputs= 15279 for ac_f 15280 do 15281 case $ac_f in 15282 -) ac_f="$ac_tmp/stdin";; 15283 *) # Look for the file first in the build tree, then in the source tree 15284 # (if the path is not absolute). The absolute path cannot be DOS-style, 15285 # because $ac_f cannot contain `:'. 15286 test -f "$ac_f" || 15287 case $ac_f in 15288 [\\/$]*) false;; 15289 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15290 esac || 15291 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15292 esac 15293 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15294 as_fn_append ac_file_inputs " '$ac_f'" 15295 done 15296 15297 # Let's still pretend it is `configure' which instantiates (i.e., don't 15298 # use $as_me), people would be surprised to read: 15299 # /* config.h. Generated by config.status. */ 15300 configure_input='Generated from '` 15301 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15302 `' by configure.' 15303 if test x"$ac_file" != x-; then 15304 configure_input="$ac_file. $configure_input" 15305 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 15306 $as_echo "$as_me: creating $ac_file" >&6;} 15307 fi 15308 # Neutralize special characters interpreted by sed in replacement strings. 15309 case $configure_input in #( 15310 *\&* | *\|* | *\\* ) 15311 ac_sed_conf_input=`$as_echo "$configure_input" | 15312 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15313 *) ac_sed_conf_input=$configure_input;; 15314 esac 15315 15316 case $ac_tag in 15317 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 15318 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 15319 esac 15320 ;; 15321 esac 15322 15323 ac_dir=`$as_dirname -- "$ac_file" || 15324 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15325 X"$ac_file" : 'X\(//\)[^/]' \| \ 15326 X"$ac_file" : 'X\(//\)$' \| \ 15327 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15328 $as_echo X"$ac_file" | 15329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15330 s//\1/ 15331 q 15332 } 15333 /^X\(\/\/\)[^/].*/{ 15334 s//\1/ 15335 q 15336 } 15337 /^X\(\/\/\)$/{ 15338 s//\1/ 15339 q 15340 } 15341 /^X\(\/\).*/{ 15342 s//\1/ 15343 q 15344 } 15345 s/.*/./; q'` 15346 as_dir="$ac_dir"; as_fn_mkdir_p 15347 ac_builddir=. 15348 15349 case "$ac_dir" in 15350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15351 *) 15352 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15353 # A ".." for each directory in $ac_dir_suffix. 15354 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15355 case $ac_top_builddir_sub in 15356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15358 esac ;; 15359 esac 15360 ac_abs_top_builddir=$ac_pwd 15361 ac_abs_builddir=$ac_pwd$ac_dir_suffix 15362 # for backward compatibility: 15363 ac_top_builddir=$ac_top_build_prefix 15364 15365 case $srcdir in 15366 .) # We are building in place. 15367 ac_srcdir=. 15368 ac_top_srcdir=$ac_top_builddir_sub 15369 ac_abs_top_srcdir=$ac_pwd ;; 15370 [\\/]* | ?:[\\/]* ) # Absolute name. 15371 ac_srcdir=$srcdir$ac_dir_suffix; 15372 ac_top_srcdir=$srcdir 15373 ac_abs_top_srcdir=$srcdir ;; 15374 *) # Relative name. 15375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15376 ac_top_srcdir=$ac_top_build_prefix$srcdir 15377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15378 esac 15379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15380 15381 15382 case $ac_mode in 15383 :F) 15384 # 15385 # CONFIG_FILE 15386 # 15387 15388 case $INSTALL in 15389 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15390 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15391 esac 15392 ac_MKDIR_P=$MKDIR_P 15393 case $MKDIR_P in 15394 [\\/$]* | ?:[\\/]* ) ;; 15395 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15396 esac 15397 _ACEOF 15398 15399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15400 # If the template does not know about datarootdir, expand it. 15401 # FIXME: This hack should be removed a few years after 2.60. 15402 ac_datarootdir_hack=; ac_datarootdir_seen= 15403 ac_sed_dataroot=' 15404 /datarootdir/ { 15405 p 15406 q 15407 } 15408 /@datadir@/p 15409 /@docdir@/p 15410 /@infodir@/p 15411 /@localedir@/p 15412 /@mandir@/p' 15413 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15414 *datarootdir*) ac_datarootdir_seen=yes;; 15415 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15417 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15418 _ACEOF 15419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15420 ac_datarootdir_hack=' 15421 s&@datadir@&$datadir&g 15422 s&@docdir@&$docdir&g 15423 s&@infodir@&$infodir&g 15424 s&@localedir@&$localedir&g 15425 s&@mandir@&$mandir&g 15426 s&\\\${datarootdir}&$datarootdir&g' ;; 15427 esac 15428 _ACEOF 15429 15430 # Neutralize VPATH when `$srcdir' = `.'. 15431 # Shell code in configure.ac might set extrasub. 15432 # FIXME: do we really want to maintain this feature? 15433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15434 ac_sed_extra="$ac_vpsub 15435 $extrasub 15436 _ACEOF 15437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15438 :t 15439 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15440 s|@configure_input@|$ac_sed_conf_input|;t t 15441 s&@top_builddir@&$ac_top_builddir_sub&;t t 15442 s&@top_build_prefix@&$ac_top_build_prefix&;t t 15443 s&@srcdir@&$ac_srcdir&;t t 15444 s&@abs_srcdir@&$ac_abs_srcdir&;t t 15445 s&@top_srcdir@&$ac_top_srcdir&;t t 15446 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15447 s&@builddir@&$ac_builddir&;t t 15448 s&@abs_builddir@&$ac_abs_builddir&;t t 15449 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15450 s&@INSTALL@&$ac_INSTALL&;t t 15451 s&@MKDIR_P@&$ac_MKDIR_P&;t t 15452 $ac_datarootdir_hack 15453 " 15454 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 15455 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15456 15457 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15458 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 15459 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 15460 "$ac_tmp/out"`; test -z "$ac_out"; } && 15461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15462 which seems to be undefined. Please make sure it is defined" >&5 15463 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15464 which seems to be undefined. Please make sure it is defined" >&2;} 15465 15466 rm -f "$ac_tmp/stdin" 15467 case $ac_file in 15468 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 15469 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 15470 esac \ 15471 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15472 ;; 15473 :H) 15474 # 15475 # CONFIG_HEADER 15476 # 15477 if test x"$ac_file" != x-; then 15478 { 15479 $as_echo "/* $configure_input */" \ 15480 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 15481 } >"$ac_tmp/config.h" \ 15482 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15483 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 15484 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15485 $as_echo "$as_me: $ac_file is unchanged" >&6;} 15486 else 15487 rm -f "$ac_file" 15488 mv "$ac_tmp/config.h" "$ac_file" \ 15489 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15490 fi 15491 else 15492 $as_echo "/* $configure_input */" \ 15493 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 15494 || as_fn_error $? "could not create -" "$LINENO" 5 15495 fi 15496 # Compute "$ac_file"'s index in $config_headers. 15497 _am_arg="$ac_file" 15498 _am_stamp_count=1 15499 for _am_header in $config_headers :; do 15500 case $_am_header in 15501 $_am_arg | $_am_arg:* ) 15502 break ;; 15503 * ) 15504 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15505 esac 15506 done 15507 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 15508 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15509 X"$_am_arg" : 'X\(//\)[^/]' \| \ 15510 X"$_am_arg" : 'X\(//\)$' \| \ 15511 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15512 $as_echo X"$_am_arg" | 15513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15514 s//\1/ 15515 q 15516 } 15517 /^X\(\/\/\)[^/].*/{ 15518 s//\1/ 15519 q 15520 } 15521 /^X\(\/\/\)$/{ 15522 s//\1/ 15523 q 15524 } 15525 /^X\(\/\).*/{ 15526 s//\1/ 15527 q 15528 } 15529 s/.*/./; q'`/stamp-h$_am_stamp_count 15530 ;; 15531 15532 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15533 $as_echo "$as_me: executing $ac_file commands" >&6;} 15534 ;; 15535 esac 15536 15537 15538 case $ac_file$ac_mode in 15539 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15540 # Autoconf 2.62 quotes --file arguments for eval, but not when files 15541 # are listed without --file. Let's play safe and only enable the eval 15542 # if we detect the quoting. 15543 case $CONFIG_FILES in 15544 *\'*) eval set x "$CONFIG_FILES" ;; 15545 *) set x $CONFIG_FILES ;; 15546 esac 15547 shift 15548 for mf 15549 do 15550 # Strip MF so we end up with the name of the file. 15551 mf=`echo "$mf" | sed -e 's/:.*$//'` 15552 # Check whether this is an Automake generated Makefile or not. 15553 # We used to match only the files named `Makefile.in', but 15554 # some people rename them; so instead we look at the file content. 15555 # Grep'ing the first line is not enough: some people post-process 15556 # each Makefile.in and add a new line on top of each file to say so. 15557 # Grep'ing the whole file is not good either: AIX grep has a line 15558 # limit of 2048, but all sed's we know have understand at least 4000. 15559 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15560 dirpart=`$as_dirname -- "$mf" || 15561 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15562 X"$mf" : 'X\(//\)[^/]' \| \ 15563 X"$mf" : 'X\(//\)$' \| \ 15564 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15565 $as_echo X"$mf" | 15566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15567 s//\1/ 15568 q 15569 } 15570 /^X\(\/\/\)[^/].*/{ 15571 s//\1/ 15572 q 15573 } 15574 /^X\(\/\/\)$/{ 15575 s//\1/ 15576 q 15577 } 15578 /^X\(\/\).*/{ 15579 s//\1/ 15580 q 15581 } 15582 s/.*/./; q'` 15583 else 15584 continue 15585 fi 15586 # Extract the definition of DEPDIR, am__include, and am__quote 15587 # from the Makefile without running `make'. 15588 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15589 test -z "$DEPDIR" && continue 15590 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15591 test -z "am__include" && continue 15592 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15593 # When using ansi2knr, U may be empty or an underscore; expand it 15594 U=`sed -n 's/^U = //p' < "$mf"` 15595 # Find all dependency output files, they are included files with 15596 # $(DEPDIR) in their names. We invoke sed twice because it is the 15597 # simplest approach to changing $(DEPDIR) to its actual value in the 15598 # expansion. 15599 for file in `sed -n " 15600 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15601 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 15602 # Make sure the directory exists. 15603 test -f "$dirpart/$file" && continue 15604 fdir=`$as_dirname -- "$file" || 15605 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15606 X"$file" : 'X\(//\)[^/]' \| \ 15607 X"$file" : 'X\(//\)$' \| \ 15608 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15609 $as_echo X"$file" | 15610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15611 s//\1/ 15612 q 15613 } 15614 /^X\(\/\/\)[^/].*/{ 15615 s//\1/ 15616 q 15617 } 15618 /^X\(\/\/\)$/{ 15619 s//\1/ 15620 q 15621 } 15622 /^X\(\/\).*/{ 15623 s//\1/ 15624 q 15625 } 15626 s/.*/./; q'` 15627 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15628 # echo "creating $dirpart/$file" 15629 echo '# dummy' > "$dirpart/$file" 15630 done 15631 done 15632 } 15633 ;; 15634 "libtool":C) 15635 15636 # See if we are running on zsh, and set the options which allow our 15637 # commands through without removal of \ escapes. 15638 if test -n "${ZSH_VERSION+set}" ; then 15639 setopt NO_GLOB_SUBST 15640 fi 15641 15642 cfgfile="${ofile}T" 15643 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15644 $RM "$cfgfile" 15645 15646 cat <<_LT_EOF >> "$cfgfile" 15647 #! $SHELL 15648 15649 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15650 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15651 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15652 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 15653 # 15654 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15655 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software 15656 # Foundation, Inc. 15657 # Written by Gordon Matzigkeit, 1996 15658 # 15659 # This file is part of GNU Libtool. 15660 # 15661 # GNU Libtool is free software; you can redistribute it and/or 15662 # modify it under the terms of the GNU General Public License as 15663 # published by the Free Software Foundation; either version 2 of 15664 # the License, or (at your option) any later version. 15665 # 15666 # As a special exception to the GNU General Public License, 15667 # if you distribute this file as part of a program or library that 15668 # is built using GNU Libtool, you may include this file under the 15669 # same distribution terms that you use for the rest of that program. 15670 # 15671 # GNU Libtool is distributed in the hope that it will be useful, 15672 # but WITHOUT ANY WARRANTY; without even the implied warranty of 15673 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15674 # GNU General Public License for more details. 15675 # 15676 # You should have received a copy of the GNU General Public License 15677 # along with GNU Libtool; see the file COPYING. If not, a copy 15678 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15679 # obtained by writing to the Free Software Foundation, Inc., 15680 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15681 15682 15683 # The names of the tagged configurations supported by this script. 15684 available_tags="" 15685 15686 # ### BEGIN LIBTOOL CONFIG 15687 15688 # Which release of libtool.m4 was used? 15689 macro_version=$macro_version 15690 macro_revision=$macro_revision 15691 15692 # Assembler program. 15693 AS=$lt_AS 15694 15695 # DLL creation program. 15696 DLLTOOL=$lt_DLLTOOL 15697 15698 # Object dumper program. 15699 OBJDUMP=$lt_OBJDUMP 15700 15701 # Whether or not to build shared libraries. 15702 build_libtool_libs=$enable_shared 15703 15704 # Whether or not to build static libraries. 15705 build_old_libs=$enable_static 15706 15707 # What type of objects to build. 15708 pic_mode=$pic_mode 15709 15710 # Whether or not to optimize for fast installation. 15711 fast_install=$enable_fast_install 15712 15713 # Shell to use when invoking shell scripts. 15714 SHELL=$lt_SHELL 15715 15716 # An echo program that protects backslashes. 15717 ECHO=$lt_ECHO 15718 15719 # The PATH separator for the build system. 15720 PATH_SEPARATOR=$lt_PATH_SEPARATOR 15721 15722 # The host system. 15723 host_alias=$host_alias 15724 host=$host 15725 host_os=$host_os 15726 15727 # The build system. 15728 build_alias=$build_alias 15729 build=$build 15730 build_os=$build_os 15731 15732 # A sed program that does not truncate output. 15733 SED=$lt_SED 15734 15735 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 15736 Xsed="\$SED -e 1s/^X//" 15737 15738 # A grep program that handles long lines. 15739 GREP=$lt_GREP 15740 15741 # An ERE matcher. 15742 EGREP=$lt_EGREP 15743 15744 # A literal string matcher. 15745 FGREP=$lt_FGREP 15746 15747 # A BSD- or MS-compatible name lister. 15748 NM=$lt_NM 15749 15750 # Whether we need soft or hard links. 15751 LN_S=$lt_LN_S 15752 15753 # What is the maximum length of a command? 15754 max_cmd_len=$max_cmd_len 15755 15756 # Object file suffix (normally "o"). 15757 objext=$ac_objext 15758 15759 # Executable file suffix (normally ""). 15760 exeext=$exeext 15761 15762 # whether the shell understands "unset". 15763 lt_unset=$lt_unset 15764 15765 # turn spaces into newlines. 15766 SP2NL=$lt_lt_SP2NL 15767 15768 # turn newlines into spaces. 15769 NL2SP=$lt_lt_NL2SP 15770 15771 # convert \$build file names to \$host format. 15772 to_host_file_cmd=$lt_cv_to_host_file_cmd 15773 15774 # convert \$build files to toolchain format. 15775 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15776 15777 # Method to check whether dependent libraries are shared objects. 15778 deplibs_check_method=$lt_deplibs_check_method 15779 15780 # Command to use when deplibs_check_method = "file_magic". 15781 file_magic_cmd=$lt_file_magic_cmd 15782 15783 # How to find potential files when deplibs_check_method = "file_magic". 15784 file_magic_glob=$lt_file_magic_glob 15785 15786 # Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15787 want_nocaseglob=$lt_want_nocaseglob 15788 15789 # Command to associate shared and link libraries. 15790 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15791 15792 # The archiver. 15793 AR=$lt_AR 15794 15795 # Flags to create an archive. 15796 AR_FLAGS=$lt_AR_FLAGS 15797 15798 # How to feed a file listing to the archiver. 15799 archiver_list_spec=$lt_archiver_list_spec 15800 15801 # A symbol stripping program. 15802 STRIP=$lt_STRIP 15803 15804 # Commands used to install an old-style archive. 15805 RANLIB=$lt_RANLIB 15806 old_postinstall_cmds=$lt_old_postinstall_cmds 15807 old_postuninstall_cmds=$lt_old_postuninstall_cmds 15808 15809 # Whether to use a lock for old archive extraction. 15810 lock_old_archive_extraction=$lock_old_archive_extraction 15811 15812 # A C compiler. 15813 LTCC=$lt_CC 15814 15815 # LTCC compiler flags. 15816 LTCFLAGS=$lt_CFLAGS 15817 15818 # Take the output of nm and produce a listing of raw symbols and C names. 15819 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15820 15821 # Transform the output of nm in a proper C declaration. 15822 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15823 15824 # Transform the output of nm in a C name address pair. 15825 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15826 15827 # Transform the output of nm in a C name address pair when lib prefix is needed. 15828 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15829 15830 # Specify filename containing input files for \$NM. 15831 nm_file_list_spec=$lt_nm_file_list_spec 15832 15833 # The root where to search for dependent libraries,and in which our libraries should be installed. 15834 lt_sysroot=$lt_sysroot 15835 15836 # The name of the directory that contains temporary libtool files. 15837 objdir=$objdir 15838 15839 # Used to examine libraries when file_magic_cmd begins with "file". 15840 MAGIC_CMD=$MAGIC_CMD 15841 15842 # Must we lock files when doing compilation? 15843 need_locks=$lt_need_locks 15844 15845 # Manifest tool. 15846 MANIFEST_TOOL=$lt_MANIFEST_TOOL 15847 15848 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15849 DSYMUTIL=$lt_DSYMUTIL 15850 15851 # Tool to change global to local symbols on Mac OS X. 15852 NMEDIT=$lt_NMEDIT 15853 15854 # Tool to manipulate fat objects and archives on Mac OS X. 15855 LIPO=$lt_LIPO 15856 15857 # ldd/readelf like tool for Mach-O binaries on Mac OS X. 15858 OTOOL=$lt_OTOOL 15859 15860 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15861 OTOOL64=$lt_OTOOL64 15862 15863 # Old archive suffix (normally "a"). 15864 libext=$libext 15865 15866 # Shared library suffix (normally ".so"). 15867 shrext_cmds=$lt_shrext_cmds 15868 15869 # The commands to extract the exported symbol list from a shared archive. 15870 extract_expsyms_cmds=$lt_extract_expsyms_cmds 15871 15872 # Variables whose values should be saved in libtool wrapper scripts and 15873 # restored at link time. 15874 variables_saved_for_relink=$lt_variables_saved_for_relink 15875 15876 # Do we need the "lib" prefix for modules? 15877 need_lib_prefix=$need_lib_prefix 15878 15879 # Do we need a version for libraries? 15880 need_version=$need_version 15881 15882 # Library versioning type. 15883 version_type=$version_type 15884 15885 # Shared library runtime path variable. 15886 runpath_var=$runpath_var 15887 15888 # Shared library path variable. 15889 shlibpath_var=$shlibpath_var 15890 15891 # Is shlibpath searched before the hard-coded library search path? 15892 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15893 15894 # Format of library name prefix. 15895 libname_spec=$lt_libname_spec 15896 15897 # List of archive names. First name is the real one, the rest are links. 15898 # The last name is the one that the linker finds with -lNAME 15899 library_names_spec=$lt_library_names_spec 15900 15901 # The coded name of the library, if different from the real name. 15902 soname_spec=$lt_soname_spec 15903 15904 # Permission mode override for installation of shared libraries. 15905 install_override_mode=$lt_install_override_mode 15906 15907 # Command to use after installation of a shared archive. 15908 postinstall_cmds=$lt_postinstall_cmds 15909 15910 # Command to use after uninstallation of a shared archive. 15911 postuninstall_cmds=$lt_postuninstall_cmds 15912 15913 # Commands used to finish a libtool library installation in a directory. 15914 finish_cmds=$lt_finish_cmds 15915 15916 # As "finish_cmds", except a single script fragment to be evaled but 15917 # not shown. 15918 finish_eval=$lt_finish_eval 15919 15920 # Whether we should hardcode library paths into libraries. 15921 hardcode_into_libs=$hardcode_into_libs 15922 15923 # Compile-time system search path for libraries. 15924 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15925 15926 # Run-time system search path for libraries. 15927 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15928 15929 # Whether dlopen is supported. 15930 dlopen_support=$enable_dlopen 15931 15932 # Whether dlopen of programs is supported. 15933 dlopen_self=$enable_dlopen_self 15934 15935 # Whether dlopen of statically linked programs is supported. 15936 dlopen_self_static=$enable_dlopen_self_static 15937 15938 # Commands to strip libraries. 15939 old_striplib=$lt_old_striplib 15940 striplib=$lt_striplib 15941 15942 15943 # The linker used to build libraries. 15944 LD=$lt_LD 15945 15946 # How to create reloadable object files. 15947 reload_flag=$lt_reload_flag 15948 reload_cmds=$lt_reload_cmds 15949 15950 # Commands used to build an old-style archive. 15951 old_archive_cmds=$lt_old_archive_cmds 15952 15953 # A language specific compiler. 15954 CC=$lt_compiler 15955 15956 # Is the compiler the GNU compiler? 15957 with_gcc=$GCC 15958 15959 # Compiler flag to turn off builtin functions. 15960 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15961 15962 # Additional compiler flags for building library objects. 15963 pic_flag=$lt_lt_prog_compiler_pic 15964 15965 # How to pass a linker flag through the compiler. 15966 wl=$lt_lt_prog_compiler_wl 15967 15968 # Compiler flag to prevent dynamic linking. 15969 link_static_flag=$lt_lt_prog_compiler_static 15970 15971 # Does compiler simultaneously support -c and -o options? 15972 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15973 15974 # Whether or not to add -lc for building shared libraries. 15975 build_libtool_need_lc=$archive_cmds_need_lc 15976 15977 # Whether or not to disallow shared libs when runtime libs are static. 15978 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15979 15980 # Compiler flag to allow reflexive dlopens. 15981 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15982 15983 # Compiler flag to generate shared objects directly from archives. 15984 whole_archive_flag_spec=$lt_whole_archive_flag_spec 15985 15986 # Whether the compiler copes with passing no objects directly. 15987 compiler_needs_object=$lt_compiler_needs_object 15988 15989 # Create an old-style archive from a shared archive. 15990 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15991 15992 # Create a temporary old-style archive to link instead of a shared archive. 15993 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15994 15995 # Commands used to build a shared archive. 15996 archive_cmds=$lt_archive_cmds 15997 archive_expsym_cmds=$lt_archive_expsym_cmds 15998 15999 # Commands used to build a loadable module if different from building 16000 # a shared archive. 16001 module_cmds=$lt_module_cmds 16002 module_expsym_cmds=$lt_module_expsym_cmds 16003 16004 # Whether we are building with GNU ld or not. 16005 with_gnu_ld=$lt_with_gnu_ld 16006 16007 # Flag that allows shared libraries with undefined symbols to be built. 16008 allow_undefined_flag=$lt_allow_undefined_flag 16009 16010 # Flag that enforces no undefined symbols. 16011 no_undefined_flag=$lt_no_undefined_flag 16012 16013 # Flag to hardcode \$libdir into a binary during linking. 16014 # This must work even if \$libdir does not exist 16015 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 16016 16017 # Whether we need a single "-rpath" flag with a separated argument. 16018 hardcode_libdir_separator=$lt_hardcode_libdir_separator 16019 16020 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16021 # DIR into the resulting binary. 16022 hardcode_direct=$hardcode_direct 16023 16024 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16025 # DIR into the resulting binary and the resulting library dependency is 16026 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 16027 # library is relocated. 16028 hardcode_direct_absolute=$hardcode_direct_absolute 16029 16030 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16031 # into the resulting binary. 16032 hardcode_minus_L=$hardcode_minus_L 16033 16034 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 16035 # into the resulting binary. 16036 hardcode_shlibpath_var=$hardcode_shlibpath_var 16037 16038 # Set to "yes" if building a shared library automatically hardcodes DIR 16039 # into the library and all subsequent libraries and executables linked 16040 # against it. 16041 hardcode_automatic=$hardcode_automatic 16042 16043 # Set to yes if linker adds runtime paths of dependent libraries 16044 # to runtime path list. 16045 inherit_rpath=$inherit_rpath 16046 16047 # Whether libtool must link a program against all its dependency libraries. 16048 link_all_deplibs=$link_all_deplibs 16049 16050 # Set to "yes" if exported symbols are required. 16051 always_export_symbols=$always_export_symbols 16052 16053 # The commands to list exported symbols. 16054 export_symbols_cmds=$lt_export_symbols_cmds 16055 16056 # Symbols that should not be listed in the preloaded symbols. 16057 exclude_expsyms=$lt_exclude_expsyms 16058 16059 # Symbols that must always be exported. 16060 include_expsyms=$lt_include_expsyms 16061 16062 # Commands necessary for linking programs (against libraries) with templates. 16063 prelink_cmds=$lt_prelink_cmds 16064 16065 # Commands necessary for finishing linking programs. 16066 postlink_cmds=$lt_postlink_cmds 16067 16068 # Specify filename containing input files. 16069 file_list_spec=$lt_file_list_spec 16070 16071 # How to hardcode a shared library path into an executable. 16072 hardcode_action=$hardcode_action 16073 16074 # ### END LIBTOOL CONFIG 16075 16076 _LT_EOF 16077 16078 case $host_os in 16079 aix3*) 16080 cat <<\_LT_EOF >> "$cfgfile" 16081 # AIX sometimes has problems with the GCC collect2 program. For some 16082 # reason, if we set the COLLECT_NAMES environment variable, the problems 16083 # vanish in a puff of smoke. 16084 if test "X${COLLECT_NAMES+set}" != Xset; then 16085 COLLECT_NAMES= 16086 export COLLECT_NAMES 16087 fi 16088 _LT_EOF 16089 ;; 16090 esac 16091 16092 16093 ltmain="$ac_aux_dir/ltmain.sh" 16094 16095 16096 # We use sed instead of cat because bash on DJGPP gets confused if 16097 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16098 # text mode, it properly converts lines to CR/LF. This bash problem 16099 # is reportedly fixed, but why not run on old versions too? 16100 sed '$q' "$ltmain" >> "$cfgfile" \ 16101 || (rm -f "$cfgfile"; exit 1) 16102 16103 if test x"$xsi_shell" = xyes; then 16104 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 16105 func_dirname ()\ 16106 {\ 16107 \ case ${1} in\ 16108 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 16109 \ * ) func_dirname_result="${3}" ;;\ 16110 \ esac\ 16111 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 16112 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16113 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16114 test 0 -eq $? || _lt_function_replace_fail=: 16115 16116 16117 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 16118 func_basename ()\ 16119 {\ 16120 \ func_basename_result="${1##*/}"\ 16121 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 16122 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16123 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16124 test 0 -eq $? || _lt_function_replace_fail=: 16125 16126 16127 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 16128 func_dirname_and_basename ()\ 16129 {\ 16130 \ case ${1} in\ 16131 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 16132 \ * ) func_dirname_result="${3}" ;;\ 16133 \ esac\ 16134 \ func_basename_result="${1##*/}"\ 16135 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 16136 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16137 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16138 test 0 -eq $? || _lt_function_replace_fail=: 16139 16140 16141 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 16142 func_stripname ()\ 16143 {\ 16144 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 16145 \ # positional parameters, so assign one to ordinary parameter first.\ 16146 \ func_stripname_result=${3}\ 16147 \ func_stripname_result=${func_stripname_result#"${1}"}\ 16148 \ func_stripname_result=${func_stripname_result%"${2}"}\ 16149 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 16150 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16151 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16152 test 0 -eq $? || _lt_function_replace_fail=: 16153 16154 16155 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 16156 func_split_long_opt ()\ 16157 {\ 16158 \ func_split_long_opt_name=${1%%=*}\ 16159 \ func_split_long_opt_arg=${1#*=}\ 16160 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 16161 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16162 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16163 test 0 -eq $? || _lt_function_replace_fail=: 16164 16165 16166 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 16167 func_split_short_opt ()\ 16168 {\ 16169 \ func_split_short_opt_arg=${1#??}\ 16170 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 16171 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 16172 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16173 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16174 test 0 -eq $? || _lt_function_replace_fail=: 16175 16176 16177 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 16178 func_lo2o ()\ 16179 {\ 16180 \ case ${1} in\ 16181 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 16182 \ *) func_lo2o_result=${1} ;;\ 16183 \ esac\ 16184 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 16185 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16186 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16187 test 0 -eq $? || _lt_function_replace_fail=: 16188 16189 16190 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 16191 func_xform ()\ 16192 {\ 16193 func_xform_result=${1%.*}.lo\ 16194 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 16195 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16196 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16197 test 0 -eq $? || _lt_function_replace_fail=: 16198 16199 16200 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 16201 func_arith ()\ 16202 {\ 16203 func_arith_result=$(( $* ))\ 16204 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 16205 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16206 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16207 test 0 -eq $? || _lt_function_replace_fail=: 16208 16209 16210 sed -e '/^func_len ()$/,/^} # func_len /c\ 16211 func_len ()\ 16212 {\ 16213 func_len_result=${#1}\ 16214 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 16215 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16216 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16217 test 0 -eq $? || _lt_function_replace_fail=: 16218 16219 fi 16220 16221 if test x"$lt_shell_append" = xyes; then 16222 sed -e '/^func_append ()$/,/^} # func_append /c\ 16223 func_append ()\ 16224 {\ 16225 eval "${1}+=\\${2}"\ 16226 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 16227 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16228 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16229 test 0 -eq $? || _lt_function_replace_fail=: 16230 16231 16232 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 16233 func_append_quoted ()\ 16234 {\ 16235 \ func_quote_for_eval "${2}"\ 16236 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 16237 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 16238 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16239 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16240 test 0 -eq $? || _lt_function_replace_fail=: 16241 16242 16243 # Save a `func_append' function call where possible by direct use of '+=' 16244 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 16245 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16246 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16247 test 0 -eq $? || _lt_function_replace_fail=: 16248 else 16249 # Save a `func_append' function call even when '+=' is not available 16250 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 16251 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16252 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16253 test 0 -eq $? || _lt_function_replace_fail=: 16254 fi 16255 16256 if test x"$_lt_function_replace_fail" = x":"; then 16257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 16258 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 16259 fi 16260 16261 16262 mv -f "$cfgfile" "$ofile" || 16263 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16264 chmod +x "$ofile" 16265 16266 ;; 16267 16268 esac 16269 done # for ac_tag 16270 16271 16272 as_fn_exit 0 16273 _ACEOF 16274 ac_clean_files=$ac_clean_files_save 16275 16276 test $ac_write_fail = 0 || 16277 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16278 16279 16280 # configure is writing to config.log, and then calls config.status. 16281 # config.status does its own redirection, appending to config.log. 16282 # Unfortunately, on DOS this fails, as config.log is still kept open 16283 # by configure, so config.status won't be able to write to it; its 16284 # output is simply discarded. So we exec the FD to /dev/null, 16285 # effectively closing config.log, so it can be properly (re)opened and 16286 # appended to by config.status. When coming back to configure, we 16287 # need to make the FD available again. 16288 if test "$no_create" != yes; then 16289 ac_cs_success=: 16290 ac_config_status_args= 16291 test "$silent" = yes && 16292 ac_config_status_args="$ac_config_status_args --quiet" 16293 exec 5>/dev/null 16294 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16295 exec 5>>config.log 16296 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16297 # would make configure fail if this is the last instruction. 16298 $ac_cs_success || as_fn_exit 1 16299 fi 16300 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16302 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16303 fi 16304