1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for libnetfilter_conntrack 1.0.6. 4 # 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 9 # This configure script is free software; the Free Software Foundation 10 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 14 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24 else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30 esac 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 72 # The user is always right. 73 if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 82 # IFS 83 # We need space, tab and new line, in precisely that order. Quoting is 84 # there to prevent editors from complaining about space-tab. 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 86 # splitting by setting IFS to empty value.) 87 IFS=" "" $as_nl" 88 89 # Find who we are. Look in the path if we contain no directory separator. 90 as_myself= 91 case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94 for as_dir in $PATH 95 do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100 IFS=$as_save_IFS 101 102 ;; 103 esac 104 # We did not find ourselves, most probably we were run as `sh COMMAND' 105 # in which case we are not to be found in the path. 106 if test "x$as_myself" = x; then 107 as_myself=$0 108 fi 109 if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121 done 122 PS1='$ ' 123 PS2='> ' 124 PS4='+ ' 125 126 # NLS nuisances. 127 LC_ALL=C 128 export LC_ALL 129 LANGUAGE=C 130 export LANGUAGE 131 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207 test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210 else 211 as_have_required=no 212 fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215 else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217 as_found=false 218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233 fi 234 fi 235 done;; 236 esac 237 as_found=false 238 done 239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242 fi; } 243 IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249 # neutralization value for shells without unset; and this also 250 # works around shells that cannot unset nonexistent variables. 251 # Preserve -v and -x to the replacement shell. 252 BASH_ENV=/dev/null 253 ENV=/dev/null 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255 case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260 esac 261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262 # Admittedly, this is quite paranoid, since all the known shells bail 263 # out after a failed `exec'. 264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265 exit 255 266 fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system, 276 $0: including any error possibly output before this 277 $0: message. Then install a modern shell, or manually run 278 $0: the script under such a shell if you do have one." 279 fi 280 exit 1 281 fi 282 fi 283 fi 284 SHELL=${CONFIG_SHELL-/bin/sh} 285 export SHELL 286 # Unset more variables known to interfere with behavior of common tools. 287 CLICOLOR_FORCE= GREP_OPTIONS= 288 unset CLICOLOR_FORCE GREP_OPTIONS 289 290 ## --------------------- ## 291 ## M4sh Shell Functions. ## 292 ## --------------------- ## 293 # as_fn_unset VAR 294 # --------------- 295 # Portably unset VAR. 296 as_fn_unset () 297 { 298 { eval $1=; unset $1;} 299 } 300 as_unset=as_fn_unset 301 302 # as_fn_set_status STATUS 303 # ----------------------- 304 # Set $? to STATUS, without forking. 305 as_fn_set_status () 306 { 307 return $1 308 } # as_fn_set_status 309 310 # as_fn_exit STATUS 311 # ----------------- 312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313 as_fn_exit () 314 { 315 set +e 316 as_fn_set_status $1 317 exit $1 318 } # as_fn_exit 319 320 # as_fn_mkdir_p 321 # ------------- 322 # Create "$as_dir" as a directory, including parents if necessary. 323 as_fn_mkdir_p () 324 { 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342 $as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366 } # as_fn_mkdir_p 367 368 # as_fn_executable_p FILE 369 # ----------------------- 370 # Test if FILE is an executable regular file. 371 as_fn_executable_p () 372 { 373 test -f "$1" && test -x "$1" 374 } # as_fn_executable_p 375 # as_fn_append VAR VALUE 376 # ---------------------- 377 # Append the text in VALUE to the end of the definition contained in VAR. Take 378 # advantage of any shell optimizations that allow amortized linear growth over 379 # repeated appends, instead of the typical quadratic growth present in naive 380 # implementations. 381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386 else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391 fi # as_fn_append 392 393 # as_fn_arith ARG... 394 # ------------------ 395 # Perform arithmetic evaluation on the ARGs, and store the result in the 396 # global $as_val. Take advantage of shells that can avoid forks. The arguments 397 # must be portable across $(()) and expr. 398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403 else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408 fi # as_fn_arith 409 410 411 # as_fn_error STATUS ERROR [LINENO LOG_FD] 412 # ---------------------------------------- 413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415 # script with STATUS, using 1 if that was 0. 416 as_fn_error () 417 { 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425 } # as_fn_error 426 427 if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430 else 431 as_expr=false 432 fi 433 434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436 else 437 as_basename=false 438 fi 439 440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442 else 443 as_dirname=false 444 fi 445 446 as_me=`$as_basename -- "$0" || 447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450 $as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465 # Avoid depending upon Character Ranges. 466 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469 as_cr_digits='0123456789' 470 as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506 } 507 508 ECHO_C= ECHO_N= ECHO_T= 509 case `echo -n x` in #((((( 510 -n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517 *) 518 ECHO_N='-n';; 519 esac 520 521 rm -f conf$$ conf$$.exe conf$$.file 522 if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524 else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527 fi 528 if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542 else 543 as_ln_s='cp -pR' 544 fi 545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546 rmdir conf$$.dir 2>/dev/null 547 548 if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550 else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553 fi 554 555 as_test_x='test -x' 556 as_executable_p=as_fn_executable_p 557 558 # Sed expression to map a string onto a valid CPP name. 559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561 # Sed expression to map a string onto a valid variable name. 562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564 SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567 test -n "$DJDIR" || exec 7<&0 </dev/null 568 exec 6>&1 569 570 # Name of the host. 571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572 # so uname gets run too. 573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575 # 576 # Initializations. 577 # 578 ac_default_prefix=/usr/local 579 ac_clean_files= 580 ac_config_libobj_dir=. 581 LIBOBJS= 582 cross_compiling=no 583 subdirs= 584 MFLAGS= 585 MAKEFLAGS= 586 587 # Identity of this package. 588 PACKAGE_NAME='libnetfilter_conntrack' 589 PACKAGE_TARNAME='libnetfilter_conntrack' 590 PACKAGE_VERSION='1.0.6' 591 PACKAGE_STRING='libnetfilter_conntrack 1.0.6' 592 PACKAGE_BUGREPORT='' 593 PACKAGE_URL='' 594 595 # Factoring default headers for most tests. 596 ac_includes_default="\ 597 #include <stdio.h> 598 #ifdef HAVE_SYS_TYPES_H 599 # include <sys/types.h> 600 #endif 601 #ifdef HAVE_SYS_STAT_H 602 # include <sys/stat.h> 603 #endif 604 #ifdef STDC_HEADERS 605 # include <stdlib.h> 606 # include <stddef.h> 607 #else 608 # ifdef HAVE_STDLIB_H 609 # include <stdlib.h> 610 # endif 611 #endif 612 #ifdef HAVE_STRING_H 613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 614 # include <memory.h> 615 # endif 616 # include <string.h> 617 #endif 618 #ifdef HAVE_STRINGS_H 619 # include <strings.h> 620 #endif 621 #ifdef HAVE_INTTYPES_H 622 # include <inttypes.h> 623 #endif 624 #ifdef HAVE_STDINT_H 625 # include <stdint.h> 626 #endif 627 #ifdef HAVE_UNISTD_H 628 # include <unistd.h> 629 #endif" 630 631 ac_subst_vars='am__EXEEXT_FALSE 632 am__EXEEXT_TRUE 633 LTLIBOBJS 634 LIBOBJS 635 LIBMNL_LIBS 636 LIBMNL_CFLAGS 637 LIBNFNETLINK_LIBS 638 LIBNFNETLINK_CFLAGS 639 PKG_CONFIG_LIBDIR 640 PKG_CONFIG_PATH 641 PKG_CONFIG 642 CPP 643 OTOOL64 644 OTOOL 645 LIPO 646 NMEDIT 647 DSYMUTIL 648 MANIFEST_TOOL 649 RANLIB 650 DLLTOOL 651 OBJDUMP 652 LN_S 653 NM 654 ac_ct_DUMPBIN 655 DUMPBIN 656 LD 657 FGREP 658 EGREP 659 GREP 660 SED 661 LIBTOOL 662 am__fastdepCC_FALSE 663 am__fastdepCC_TRUE 664 CCDEPMODE 665 am__nodep 666 AMDEPBACKSLASH 667 AMDEP_FALSE 668 AMDEP_TRUE 669 am__quote 670 am__include 671 DEPDIR 672 OBJEXT 673 EXEEXT 674 ac_ct_CC 675 CPPFLAGS 676 LDFLAGS 677 CFLAGS 678 CC 679 ac_ct_AR 680 AR 681 AM_BACKSLASH 682 AM_DEFAULT_VERBOSITY 683 AM_DEFAULT_V 684 AM_V 685 am__untar 686 am__tar 687 AMTAR 688 am__leading_dot 689 SET_MAKE 690 AWK 691 mkdir_p 692 MKDIR_P 693 INSTALL_STRIP_PROGRAM 694 STRIP 695 install_sh 696 MAKEINFO 697 AUTOHEADER 698 AUTOMAKE 699 AUTOCONF 700 ACLOCAL 701 VERSION 702 PACKAGE 703 CYGPATH_W 704 am__isrc 705 INSTALL_DATA 706 INSTALL_SCRIPT 707 INSTALL_PROGRAM 708 host_os 709 host_vendor 710 host_cpu 711 host 712 build_os 713 build_vendor 714 build_cpu 715 build 716 target_alias 717 host_alias 718 build_alias 719 LIBS 720 ECHO_T 721 ECHO_N 722 ECHO_C 723 DEFS 724 mandir 725 localedir 726 libdir 727 psdir 728 pdfdir 729 dvidir 730 htmldir 731 infodir 732 docdir 733 oldincludedir 734 includedir 735 localstatedir 736 sharedstatedir 737 sysconfdir 738 datadir 739 datarootdir 740 libexecdir 741 sbindir 742 bindir 743 program_transform_name 744 prefix 745 exec_prefix 746 PACKAGE_URL 747 PACKAGE_BUGREPORT 748 PACKAGE_STRING 749 PACKAGE_VERSION 750 PACKAGE_TARNAME 751 PACKAGE_NAME 752 PATH_SEPARATOR 753 SHELL' 754 ac_subst_files='' 755 ac_user_opts=' 756 enable_option_checking 757 enable_silent_rules 758 enable_dependency_tracking 759 enable_static 760 enable_shared 761 with_pic 762 enable_fast_install 763 with_gnu_ld 764 with_sysroot 765 enable_libtool_lock 766 ' 767 ac_precious_vars='build_alias 768 host_alias 769 target_alias 770 CC 771 CFLAGS 772 LDFLAGS 773 LIBS 774 CPPFLAGS 775 CPP 776 PKG_CONFIG 777 PKG_CONFIG_PATH 778 PKG_CONFIG_LIBDIR 779 LIBNFNETLINK_CFLAGS 780 LIBNFNETLINK_LIBS 781 LIBMNL_CFLAGS 782 LIBMNL_LIBS' 783 784 785 # Initialize some variables set by options. 786 ac_init_help= 787 ac_init_version=false 788 ac_unrecognized_opts= 789 ac_unrecognized_sep= 790 # The variables have the same names as the options, with 791 # dashes changed to underlines. 792 cache_file=/dev/null 793 exec_prefix=NONE 794 no_create= 795 no_recursion= 796 prefix=NONE 797 program_prefix=NONE 798 program_suffix=NONE 799 program_transform_name=s,x,x, 800 silent= 801 site= 802 srcdir= 803 verbose= 804 x_includes=NONE 805 x_libraries=NONE 806 807 # Installation directory options. 808 # These are left unexpanded so users can "make install exec_prefix=/foo" 809 # and all the variables that are supposed to be based on exec_prefix 810 # by default will actually change. 811 # Use braces instead of parens because sh, perl, etc. also accept them. 812 # (The list follows the same order as the GNU Coding Standards.) 813 bindir='${exec_prefix}/bin' 814 sbindir='${exec_prefix}/sbin' 815 libexecdir='${exec_prefix}/libexec' 816 datarootdir='${prefix}/share' 817 datadir='${datarootdir}' 818 sysconfdir='${prefix}/etc' 819 sharedstatedir='${prefix}/com' 820 localstatedir='${prefix}/var' 821 includedir='${prefix}/include' 822 oldincludedir='/usr/include' 823 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 824 infodir='${datarootdir}/info' 825 htmldir='${docdir}' 826 dvidir='${docdir}' 827 pdfdir='${docdir}' 828 psdir='${docdir}' 829 libdir='${exec_prefix}/lib' 830 localedir='${datarootdir}/locale' 831 mandir='${datarootdir}/man' 832 833 ac_prev= 834 ac_dashdash= 835 for ac_option 836 do 837 # If the previous option needs an argument, assign it. 838 if test -n "$ac_prev"; then 839 eval $ac_prev=\$ac_option 840 ac_prev= 841 continue 842 fi 843 844 case $ac_option in 845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 846 *=) ac_optarg= ;; 847 *) ac_optarg=yes ;; 848 esac 849 850 # Accept the important Cygnus configure options, so we can diagnose typos. 851 852 case $ac_dashdash$ac_option in 853 --) 854 ac_dashdash=yes ;; 855 856 -bindir | --bindir | --bindi | --bind | --bin | --bi) 857 ac_prev=bindir ;; 858 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 859 bindir=$ac_optarg ;; 860 861 -build | --build | --buil | --bui | --bu) 862 ac_prev=build_alias ;; 863 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 864 build_alias=$ac_optarg ;; 865 866 -cache-file | --cache-file | --cache-fil | --cache-fi \ 867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 868 ac_prev=cache_file ;; 869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 871 cache_file=$ac_optarg ;; 872 873 --config-cache | -C) 874 cache_file=config.cache ;; 875 876 -datadir | --datadir | --datadi | --datad) 877 ac_prev=datadir ;; 878 -datadir=* | --datadir=* | --datadi=* | --datad=*) 879 datadir=$ac_optarg ;; 880 881 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 882 | --dataroo | --dataro | --datar) 883 ac_prev=datarootdir ;; 884 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 885 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 886 datarootdir=$ac_optarg ;; 887 888 -disable-* | --disable-*) 889 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 890 # Reject names that are not valid shell variable names. 891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 892 as_fn_error $? "invalid feature name: $ac_useropt" 893 ac_useropt_orig=$ac_useropt 894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 895 case $ac_user_opts in 896 *" 897 "enable_$ac_useropt" 898 "*) ;; 899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 900 ac_unrecognized_sep=', ';; 901 esac 902 eval enable_$ac_useropt=no ;; 903 904 -docdir | --docdir | --docdi | --doc | --do) 905 ac_prev=docdir ;; 906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 907 docdir=$ac_optarg ;; 908 909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 910 ac_prev=dvidir ;; 911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 912 dvidir=$ac_optarg ;; 913 914 -enable-* | --enable-*) 915 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 916 # Reject names that are not valid shell variable names. 917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 918 as_fn_error $? "invalid feature name: $ac_useropt" 919 ac_useropt_orig=$ac_useropt 920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 921 case $ac_user_opts in 922 *" 923 "enable_$ac_useropt" 924 "*) ;; 925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 926 ac_unrecognized_sep=', ';; 927 esac 928 eval enable_$ac_useropt=\$ac_optarg ;; 929 930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 932 | --exec | --exe | --ex) 933 ac_prev=exec_prefix ;; 934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 936 | --exec=* | --exe=* | --ex=*) 937 exec_prefix=$ac_optarg ;; 938 939 -gas | --gas | --ga | --g) 940 # Obsolete; use --with-gas. 941 with_gas=yes ;; 942 943 -help | --help | --hel | --he | -h) 944 ac_init_help=long ;; 945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 946 ac_init_help=recursive ;; 947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 948 ac_init_help=short ;; 949 950 -host | --host | --hos | --ho) 951 ac_prev=host_alias ;; 952 -host=* | --host=* | --hos=* | --ho=*) 953 host_alias=$ac_optarg ;; 954 955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 956 ac_prev=htmldir ;; 957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 958 | --ht=*) 959 htmldir=$ac_optarg ;; 960 961 -includedir | --includedir | --includedi | --included | --include \ 962 | --includ | --inclu | --incl | --inc) 963 ac_prev=includedir ;; 964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 965 | --includ=* | --inclu=* | --incl=* | --inc=*) 966 includedir=$ac_optarg ;; 967 968 -infodir | --infodir | --infodi | --infod | --info | --inf) 969 ac_prev=infodir ;; 970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 971 infodir=$ac_optarg ;; 972 973 -libdir | --libdir | --libdi | --libd) 974 ac_prev=libdir ;; 975 -libdir=* | --libdir=* | --libdi=* | --libd=*) 976 libdir=$ac_optarg ;; 977 978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 979 | --libexe | --libex | --libe) 980 ac_prev=libexecdir ;; 981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 982 | --libexe=* | --libex=* | --libe=*) 983 libexecdir=$ac_optarg ;; 984 985 -localedir | --localedir | --localedi | --localed | --locale) 986 ac_prev=localedir ;; 987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 988 localedir=$ac_optarg ;; 989 990 -localstatedir | --localstatedir | --localstatedi | --localstated \ 991 | --localstate | --localstat | --localsta | --localst | --locals) 992 ac_prev=localstatedir ;; 993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 995 localstatedir=$ac_optarg ;; 996 997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 998 ac_prev=mandir ;; 999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1000 mandir=$ac_optarg ;; 1001 1002 -nfp | --nfp | --nf) 1003 # Obsolete; use --without-fp. 1004 with_fp=no ;; 1005 1006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1007 | --no-cr | --no-c | -n) 1008 no_create=yes ;; 1009 1010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1012 no_recursion=yes ;; 1013 1014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1016 | --oldin | --oldi | --old | --ol | --o) 1017 ac_prev=oldincludedir ;; 1018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1021 oldincludedir=$ac_optarg ;; 1022 1023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1024 ac_prev=prefix ;; 1025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1026 prefix=$ac_optarg ;; 1027 1028 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1029 | --program-pre | --program-pr | --program-p) 1030 ac_prev=program_prefix ;; 1031 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1033 program_prefix=$ac_optarg ;; 1034 1035 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1036 | --program-suf | --program-su | --program-s) 1037 ac_prev=program_suffix ;; 1038 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1040 program_suffix=$ac_optarg ;; 1041 1042 -program-transform-name | --program-transform-name \ 1043 | --program-transform-nam | --program-transform-na \ 1044 | --program-transform-n | --program-transform- \ 1045 | --program-transform | --program-transfor \ 1046 | --program-transfo | --program-transf \ 1047 | --program-trans | --program-tran \ 1048 | --progr-tra | --program-tr | --program-t) 1049 ac_prev=program_transform_name ;; 1050 -program-transform-name=* | --program-transform-name=* \ 1051 | --program-transform-nam=* | --program-transform-na=* \ 1052 | --program-transform-n=* | --program-transform-=* \ 1053 | --program-transform=* | --program-transfor=* \ 1054 | --program-transfo=* | --program-transf=* \ 1055 | --program-trans=* | --program-tran=* \ 1056 | --progr-tra=* | --program-tr=* | --program-t=*) 1057 program_transform_name=$ac_optarg ;; 1058 1059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1060 ac_prev=pdfdir ;; 1061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1062 pdfdir=$ac_optarg ;; 1063 1064 -psdir | --psdir | --psdi | --psd | --ps) 1065 ac_prev=psdir ;; 1066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1067 psdir=$ac_optarg ;; 1068 1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1070 | -silent | --silent | --silen | --sile | --sil) 1071 silent=yes ;; 1072 1073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1074 ac_prev=sbindir ;; 1075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1076 | --sbi=* | --sb=*) 1077 sbindir=$ac_optarg ;; 1078 1079 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1081 | --sharedst | --shareds | --shared | --share | --shar \ 1082 | --sha | --sh) 1083 ac_prev=sharedstatedir ;; 1084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1087 | --sha=* | --sh=*) 1088 sharedstatedir=$ac_optarg ;; 1089 1090 -site | --site | --sit) 1091 ac_prev=site ;; 1092 -site=* | --site=* | --sit=*) 1093 site=$ac_optarg ;; 1094 1095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1096 ac_prev=srcdir ;; 1097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1098 srcdir=$ac_optarg ;; 1099 1100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1101 | --syscon | --sysco | --sysc | --sys | --sy) 1102 ac_prev=sysconfdir ;; 1103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1105 sysconfdir=$ac_optarg ;; 1106 1107 -target | --target | --targe | --targ | --tar | --ta | --t) 1108 ac_prev=target_alias ;; 1109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1110 target_alias=$ac_optarg ;; 1111 1112 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1113 verbose=yes ;; 1114 1115 -version | --version | --versio | --versi | --vers | -V) 1116 ac_init_version=: ;; 1117 1118 -with-* | --with-*) 1119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1120 # Reject names that are not valid shell variable names. 1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1122 as_fn_error $? "invalid package name: $ac_useropt" 1123 ac_useropt_orig=$ac_useropt 1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1125 case $ac_user_opts in 1126 *" 1127 "with_$ac_useropt" 1128 "*) ;; 1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1130 ac_unrecognized_sep=', ';; 1131 esac 1132 eval with_$ac_useropt=\$ac_optarg ;; 1133 1134 -without-* | --without-*) 1135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1136 # Reject names that are not valid shell variable names. 1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1138 as_fn_error $? "invalid package name: $ac_useropt" 1139 ac_useropt_orig=$ac_useropt 1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1141 case $ac_user_opts in 1142 *" 1143 "with_$ac_useropt" 1144 "*) ;; 1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1146 ac_unrecognized_sep=', ';; 1147 esac 1148 eval with_$ac_useropt=no ;; 1149 1150 --x) 1151 # Obsolete; use --with-x. 1152 with_x=yes ;; 1153 1154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1155 | --x-incl | --x-inc | --x-in | --x-i) 1156 ac_prev=x_includes ;; 1157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1159 x_includes=$ac_optarg ;; 1160 1161 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1163 ac_prev=x_libraries ;; 1164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1166 x_libraries=$ac_optarg ;; 1167 1168 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1169 Try \`$0 --help' for more information" 1170 ;; 1171 1172 *=*) 1173 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1174 # Reject names that are not valid shell variable names. 1175 case $ac_envvar in #( 1176 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1177 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1178 esac 1179 eval $ac_envvar=\$ac_optarg 1180 export $ac_envvar ;; 1181 1182 *) 1183 # FIXME: should be removed in autoconf 3.0. 1184 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1186 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1188 ;; 1189 1190 esac 1191 done 1192 1193 if test -n "$ac_prev"; then 1194 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1195 as_fn_error $? "missing argument to $ac_option" 1196 fi 1197 1198 if test -n "$ac_unrecognized_opts"; then 1199 case $enable_option_checking in 1200 no) ;; 1201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1203 esac 1204 fi 1205 1206 # Check all directory arguments for consistency. 1207 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1208 datadir sysconfdir sharedstatedir localstatedir includedir \ 1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1210 libdir localedir mandir 1211 do 1212 eval ac_val=\$$ac_var 1213 # Remove trailing slashes. 1214 case $ac_val in 1215 */ ) 1216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1217 eval $ac_var=\$ac_val;; 1218 esac 1219 # Be sure to have absolute directory names. 1220 case $ac_val in 1221 [\\/$]* | ?:[\\/]* ) continue;; 1222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1223 esac 1224 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1225 done 1226 1227 # There might be people who depend on the old broken behavior: `$host' 1228 # used to hold the argument of --host etc. 1229 # FIXME: To remove some day. 1230 build=$build_alias 1231 host=$host_alias 1232 target=$target_alias 1233 1234 # FIXME: To remove some day. 1235 if test "x$host_alias" != x; then 1236 if test "x$build_alias" = x; then 1237 cross_compiling=maybe 1238 elif test "x$build_alias" != "x$host_alias"; then 1239 cross_compiling=yes 1240 fi 1241 fi 1242 1243 ac_tool_prefix= 1244 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1245 1246 test "$silent" = yes && exec 6>/dev/null 1247 1248 1249 ac_pwd=`pwd` && test -n "$ac_pwd" && 1250 ac_ls_di=`ls -di .` && 1251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1252 as_fn_error $? "working directory cannot be determined" 1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1254 as_fn_error $? "pwd does not report name of working directory" 1255 1256 1257 # Find the source files, if location was not specified. 1258 if test -z "$srcdir"; then 1259 ac_srcdir_defaulted=yes 1260 # Try the directory containing this script, then the parent directory. 1261 ac_confdir=`$as_dirname -- "$as_myself" || 1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1263 X"$as_myself" : 'X\(//\)[^/]' \| \ 1264 X"$as_myself" : 'X\(//\)$' \| \ 1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1266 $as_echo X"$as_myself" | 1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1268 s//\1/ 1269 q 1270 } 1271 /^X\(\/\/\)[^/].*/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)$/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\).*/{ 1280 s//\1/ 1281 q 1282 } 1283 s/.*/./; q'` 1284 srcdir=$ac_confdir 1285 if test ! -r "$srcdir/$ac_unique_file"; then 1286 srcdir=.. 1287 fi 1288 else 1289 ac_srcdir_defaulted=no 1290 fi 1291 if test ! -r "$srcdir/$ac_unique_file"; then 1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1294 fi 1295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1296 ac_abs_confdir=`( 1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1298 pwd)` 1299 # When building in place, set srcdir=. 1300 if test "$ac_abs_confdir" = "$ac_pwd"; then 1301 srcdir=. 1302 fi 1303 # Remove unnecessary trailing slashes from srcdir. 1304 # Double slashes in file names in object file debugging info 1305 # mess up M-x gdb in Emacs. 1306 case $srcdir in 1307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1308 esac 1309 for ac_var in $ac_precious_vars; do 1310 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1311 eval ac_env_${ac_var}_value=\$${ac_var} 1312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1313 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1314 done 1315 1316 # 1317 # Report the --help message. 1318 # 1319 if test "$ac_init_help" = "long"; then 1320 # Omit some internal or obsolete options to make the list less imposing. 1321 # This message is too long to be a string in the A/UX 3.1 sh. 1322 cat <<_ACEOF 1323 \`configure' configures libnetfilter_conntrack 1.0.6 to adapt to many kinds of systems. 1324 1325 Usage: $0 [OPTION]... [VAR=VALUE]... 1326 1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1328 VAR=VALUE. See below for descriptions of some of the useful variables. 1329 1330 Defaults for the options are specified in brackets. 1331 1332 Configuration: 1333 -h, --help display this help and exit 1334 --help=short display options specific to this package 1335 --help=recursive display the short help of all the included packages 1336 -V, --version display version information and exit 1337 -q, --quiet, --silent do not print \`checking ...' messages 1338 --cache-file=FILE cache test results in FILE [disabled] 1339 -C, --config-cache alias for \`--cache-file=config.cache' 1340 -n, --no-create do not create output files 1341 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1342 1343 Installation directories: 1344 --prefix=PREFIX install architecture-independent files in PREFIX 1345 [$ac_default_prefix] 1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1347 [PREFIX] 1348 1349 By default, \`make install' will install all the files in 1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1352 for instance \`--prefix=\$HOME'. 1353 1354 For better control, use the options below. 1355 1356 Fine tuning of the installation directories: 1357 --bindir=DIR user executables [EPREFIX/bin] 1358 --sbindir=DIR system admin executables [EPREFIX/sbin] 1359 --libexecdir=DIR program executables [EPREFIX/libexec] 1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1363 --libdir=DIR object code libraries [EPREFIX/lib] 1364 --includedir=DIR C header files [PREFIX/include] 1365 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1368 --infodir=DIR info documentation [DATAROOTDIR/info] 1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1370 --mandir=DIR man documentation [DATAROOTDIR/man] 1371 --docdir=DIR documentation root 1372 [DATAROOTDIR/doc/libnetfilter_conntrack] 1373 --htmldir=DIR html documentation [DOCDIR] 1374 --dvidir=DIR dvi documentation [DOCDIR] 1375 --pdfdir=DIR pdf documentation [DOCDIR] 1376 --psdir=DIR ps documentation [DOCDIR] 1377 _ACEOF 1378 1379 cat <<\_ACEOF 1380 1381 Program names: 1382 --program-prefix=PREFIX prepend PREFIX to installed program names 1383 --program-suffix=SUFFIX append SUFFIX to installed program names 1384 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1385 1386 System types: 1387 --build=BUILD configure for building on BUILD [guessed] 1388 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1389 _ACEOF 1390 fi 1391 1392 if test -n "$ac_init_help"; then 1393 case $ac_init_help in 1394 short | recursive ) echo "Configuration of libnetfilter_conntrack 1.0.6:";; 1395 esac 1396 cat <<\_ACEOF 1397 1398 Optional Features: 1399 --disable-option-checking ignore unrecognized --enable/--with options 1400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1402 --enable-silent-rules less verbose build output (undo: "make V=1") 1403 --disable-silent-rules verbose build output (undo: "make V=0") 1404 --enable-dependency-tracking 1405 do not reject slow dependency extractors 1406 --disable-dependency-tracking 1407 speeds up one-time build 1408 --enable-static[=PKGS] build static libraries [default=no] 1409 --enable-shared[=PKGS] build shared libraries [default=yes] 1410 --enable-fast-install[=PKGS] 1411 optimize for fast installation [default=yes] 1412 --disable-libtool-lock avoid locking (might break parallel builds) 1413 1414 Optional Packages: 1415 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1416 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1417 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1418 both] 1419 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1420 --with-sysroot=DIR Search for dependent libraries within DIR 1421 (or the compiler's sysroot if not specified). 1422 1423 Some influential environment variables: 1424 CC C compiler command 1425 CFLAGS C compiler flags 1426 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1427 nonstandard directory <lib dir> 1428 LIBS libraries to pass to the linker, e.g. -l<library> 1429 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1430 you have headers in a nonstandard directory <include dir> 1431 CPP C preprocessor 1432 PKG_CONFIG path to pkg-config utility 1433 PKG_CONFIG_PATH 1434 directories to add to pkg-config's search path 1435 PKG_CONFIG_LIBDIR 1436 path overriding pkg-config's built-in search path 1437 LIBNFNETLINK_CFLAGS 1438 C compiler flags for LIBNFNETLINK, overriding pkg-config 1439 LIBNFNETLINK_LIBS 1440 linker flags for LIBNFNETLINK, overriding pkg-config 1441 LIBMNL_CFLAGS 1442 C compiler flags for LIBMNL, overriding pkg-config 1443 LIBMNL_LIBS linker flags for LIBMNL, overriding pkg-config 1444 1445 Use these variables to override the choices made by `configure' or to help 1446 it to find libraries and programs with nonstandard names/locations. 1447 1448 Report bugs to the package provider. 1449 _ACEOF 1450 ac_status=$? 1451 fi 1452 1453 if test "$ac_init_help" = "recursive"; then 1454 # If there are subdirs, report their specific --help. 1455 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1456 test -d "$ac_dir" || 1457 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1458 continue 1459 ac_builddir=. 1460 1461 case "$ac_dir" in 1462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1463 *) 1464 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1465 # A ".." for each directory in $ac_dir_suffix. 1466 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1467 case $ac_top_builddir_sub in 1468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1470 esac ;; 1471 esac 1472 ac_abs_top_builddir=$ac_pwd 1473 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1474 # for backward compatibility: 1475 ac_top_builddir=$ac_top_build_prefix 1476 1477 case $srcdir in 1478 .) # We are building in place. 1479 ac_srcdir=. 1480 ac_top_srcdir=$ac_top_builddir_sub 1481 ac_abs_top_srcdir=$ac_pwd ;; 1482 [\\/]* | ?:[\\/]* ) # Absolute name. 1483 ac_srcdir=$srcdir$ac_dir_suffix; 1484 ac_top_srcdir=$srcdir 1485 ac_abs_top_srcdir=$srcdir ;; 1486 *) # Relative name. 1487 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1488 ac_top_srcdir=$ac_top_build_prefix$srcdir 1489 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1490 esac 1491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1492 1493 cd "$ac_dir" || { ac_status=$?; continue; } 1494 # Check for guested configure. 1495 if test -f "$ac_srcdir/configure.gnu"; then 1496 echo && 1497 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1498 elif test -f "$ac_srcdir/configure"; then 1499 echo && 1500 $SHELL "$ac_srcdir/configure" --help=recursive 1501 else 1502 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1503 fi || ac_status=$? 1504 cd "$ac_pwd" || { ac_status=$?; break; } 1505 done 1506 fi 1507 1508 test -n "$ac_init_help" && exit $ac_status 1509 if $ac_init_version; then 1510 cat <<\_ACEOF 1511 libnetfilter_conntrack configure 1.0.6 1512 generated by GNU Autoconf 2.69 1513 1514 Copyright (C) 2012 Free Software Foundation, Inc. 1515 This configure script is free software; the Free Software Foundation 1516 gives unlimited permission to copy, distribute and modify it. 1517 _ACEOF 1518 exit 1519 fi 1520 1521 ## ------------------------ ## 1522 ## Autoconf initialization. ## 1523 ## ------------------------ ## 1524 1525 # ac_fn_c_try_compile LINENO 1526 # -------------------------- 1527 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1528 ac_fn_c_try_compile () 1529 { 1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1531 rm -f conftest.$ac_objext 1532 if { { ac_try="$ac_compile" 1533 case "(($ac_try" in 1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1535 *) ac_try_echo=$ac_try;; 1536 esac 1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1538 $as_echo "$ac_try_echo"; } >&5 1539 (eval "$ac_compile") 2>conftest.err 1540 ac_status=$? 1541 if test -s conftest.err; then 1542 grep -v '^ *+' conftest.err >conftest.er1 1543 cat conftest.er1 >&5 1544 mv -f conftest.er1 conftest.err 1545 fi 1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1547 test $ac_status = 0; } && { 1548 test -z "$ac_c_werror_flag" || 1549 test ! -s conftest.err 1550 } && test -s conftest.$ac_objext; then : 1551 ac_retval=0 1552 else 1553 $as_echo "$as_me: failed program was:" >&5 1554 sed 's/^/| /' conftest.$ac_ext >&5 1555 1556 ac_retval=1 1557 fi 1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1559 as_fn_set_status $ac_retval 1560 1561 } # ac_fn_c_try_compile 1562 1563 # ac_fn_c_try_link LINENO 1564 # ----------------------- 1565 # Try to link conftest.$ac_ext, and return whether this succeeded. 1566 ac_fn_c_try_link () 1567 { 1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1569 rm -f conftest.$ac_objext conftest$ac_exeext 1570 if { { ac_try="$ac_link" 1571 case "(($ac_try" in 1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1573 *) ac_try_echo=$ac_try;; 1574 esac 1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1576 $as_echo "$ac_try_echo"; } >&5 1577 (eval "$ac_link") 2>conftest.err 1578 ac_status=$? 1579 if test -s conftest.err; then 1580 grep -v '^ *+' conftest.err >conftest.er1 1581 cat conftest.er1 >&5 1582 mv -f conftest.er1 conftest.err 1583 fi 1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1585 test $ac_status = 0; } && { 1586 test -z "$ac_c_werror_flag" || 1587 test ! -s conftest.err 1588 } && test -s conftest$ac_exeext && { 1589 test "$cross_compiling" = yes || 1590 test -x conftest$ac_exeext 1591 }; then : 1592 ac_retval=0 1593 else 1594 $as_echo "$as_me: failed program was:" >&5 1595 sed 's/^/| /' conftest.$ac_ext >&5 1596 1597 ac_retval=1 1598 fi 1599 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1600 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1601 # interfere with the next link command; also delete a directory that is 1602 # left behind by Apple's compiler. We do this before executing the actions. 1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1605 as_fn_set_status $ac_retval 1606 1607 } # ac_fn_c_try_link 1608 1609 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1610 # ------------------------------------------------------- 1611 # Tests whether HEADER exists and can be compiled using the include files in 1612 # INCLUDES, setting the cache variable VAR accordingly. 1613 ac_fn_c_check_header_compile () 1614 { 1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1617 $as_echo_n "checking for $2... " >&6; } 1618 if eval \${$3+:} false; then : 1619 $as_echo_n "(cached) " >&6 1620 else 1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1622 /* end confdefs.h. */ 1623 $4 1624 #include <$2> 1625 _ACEOF 1626 if ac_fn_c_try_compile "$LINENO"; then : 1627 eval "$3=yes" 1628 else 1629 eval "$3=no" 1630 fi 1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1632 fi 1633 eval ac_res=\$$3 1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1635 $as_echo "$ac_res" >&6; } 1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1637 1638 } # ac_fn_c_check_header_compile 1639 1640 # ac_fn_c_try_cpp LINENO 1641 # ---------------------- 1642 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1643 ac_fn_c_try_cpp () 1644 { 1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1646 if { { ac_try="$ac_cpp conftest.$ac_ext" 1647 case "(($ac_try" in 1648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1649 *) ac_try_echo=$ac_try;; 1650 esac 1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1652 $as_echo "$ac_try_echo"; } >&5 1653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1654 ac_status=$? 1655 if test -s conftest.err; then 1656 grep -v '^ *+' conftest.err >conftest.er1 1657 cat conftest.er1 >&5 1658 mv -f conftest.er1 conftest.err 1659 fi 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 test $ac_status = 0; } > conftest.i && { 1662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1663 test ! -s conftest.err 1664 }; then : 1665 ac_retval=0 1666 else 1667 $as_echo "$as_me: failed program was:" >&5 1668 sed 's/^/| /' conftest.$ac_ext >&5 1669 1670 ac_retval=1 1671 fi 1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1673 as_fn_set_status $ac_retval 1674 1675 } # ac_fn_c_try_cpp 1676 1677 # ac_fn_c_try_run LINENO 1678 # ---------------------- 1679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1680 # that executables *can* be run. 1681 ac_fn_c_try_run () 1682 { 1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1684 if { { ac_try="$ac_link" 1685 case "(($ac_try" in 1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1687 *) ac_try_echo=$ac_try;; 1688 esac 1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1690 $as_echo "$ac_try_echo"; } >&5 1691 (eval "$ac_link") 2>&5 1692 ac_status=$? 1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1695 { { case "(($ac_try" in 1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1697 *) ac_try_echo=$ac_try;; 1698 esac 1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1700 $as_echo "$ac_try_echo"; } >&5 1701 (eval "$ac_try") 2>&5 1702 ac_status=$? 1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1704 test $ac_status = 0; }; }; then : 1705 ac_retval=0 1706 else 1707 $as_echo "$as_me: program exited with status $ac_status" >&5 1708 $as_echo "$as_me: failed program was:" >&5 1709 sed 's/^/| /' conftest.$ac_ext >&5 1710 1711 ac_retval=$ac_status 1712 fi 1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1715 as_fn_set_status $ac_retval 1716 1717 } # ac_fn_c_try_run 1718 1719 # ac_fn_c_check_func LINENO FUNC VAR 1720 # ---------------------------------- 1721 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1722 ac_fn_c_check_func () 1723 { 1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1726 $as_echo_n "checking for $2... " >&6; } 1727 if eval \${$3+:} false; then : 1728 $as_echo_n "(cached) " >&6 1729 else 1730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1731 /* end confdefs.h. */ 1732 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1733 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1734 #define $2 innocuous_$2 1735 1736 /* System header to define __stub macros and hopefully few prototypes, 1737 which can conflict with char $2 (); below. 1738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1739 <limits.h> exists even on freestanding compilers. */ 1740 1741 #ifdef __STDC__ 1742 # include <limits.h> 1743 #else 1744 # include <assert.h> 1745 #endif 1746 1747 #undef $2 1748 1749 /* Override any GCC internal prototype to avoid an error. 1750 Use char because int might match the return type of a GCC 1751 builtin and then its argument prototype would still apply. */ 1752 #ifdef __cplusplus 1753 extern "C" 1754 #endif 1755 char $2 (); 1756 /* The GNU C library defines this for functions which it implements 1757 to always fail with ENOSYS. Some functions are actually named 1758 something starting with __ and the normal name is an alias. */ 1759 #if defined __stub_$2 || defined __stub___$2 1760 choke me 1761 #endif 1762 1763 int 1764 main () 1765 { 1766 return $2 (); 1767 ; 1768 return 0; 1769 } 1770 _ACEOF 1771 if ac_fn_c_try_link "$LINENO"; then : 1772 eval "$3=yes" 1773 else 1774 eval "$3=no" 1775 fi 1776 rm -f core conftest.err conftest.$ac_objext \ 1777 conftest$ac_exeext conftest.$ac_ext 1778 fi 1779 eval ac_res=\$$3 1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1781 $as_echo "$ac_res" >&6; } 1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1783 1784 } # ac_fn_c_check_func 1785 1786 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1787 # ------------------------------------------------------- 1788 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1789 # the include files in INCLUDES and setting the cache variable VAR 1790 # accordingly. 1791 ac_fn_c_check_header_mongrel () 1792 { 1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1794 if eval \${$3+:} false; then : 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1796 $as_echo_n "checking for $2... " >&6; } 1797 if eval \${$3+:} false; then : 1798 $as_echo_n "(cached) " >&6 1799 fi 1800 eval ac_res=\$$3 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1802 $as_echo "$ac_res" >&6; } 1803 else 1804 # Is the header compilable? 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1806 $as_echo_n "checking $2 usability... " >&6; } 1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1808 /* end confdefs.h. */ 1809 $4 1810 #include <$2> 1811 _ACEOF 1812 if ac_fn_c_try_compile "$LINENO"; then : 1813 ac_header_compiler=yes 1814 else 1815 ac_header_compiler=no 1816 fi 1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1819 $as_echo "$ac_header_compiler" >&6; } 1820 1821 # Is the header present? 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1823 $as_echo_n "checking $2 presence... " >&6; } 1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1825 /* end confdefs.h. */ 1826 #include <$2> 1827 _ACEOF 1828 if ac_fn_c_try_cpp "$LINENO"; then : 1829 ac_header_preproc=yes 1830 else 1831 ac_header_preproc=no 1832 fi 1833 rm -f conftest.err conftest.i conftest.$ac_ext 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1835 $as_echo "$ac_header_preproc" >&6; } 1836 1837 # So? What about this header? 1838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1839 yes:no: ) 1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1841 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1843 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1844 ;; 1845 no:yes:* ) 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1847 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1849 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1851 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1853 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1855 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1856 ;; 1857 esac 1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1859 $as_echo_n "checking for $2... " >&6; } 1860 if eval \${$3+:} false; then : 1861 $as_echo_n "(cached) " >&6 1862 else 1863 eval "$3=\$ac_header_compiler" 1864 fi 1865 eval ac_res=\$$3 1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1867 $as_echo "$ac_res" >&6; } 1868 fi 1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1870 1871 } # ac_fn_c_check_header_mongrel 1872 cat >config.log <<_ACEOF 1873 This file contains any messages produced by compilers while 1874 running configure, to aid debugging if configure makes a mistake. 1875 1876 It was created by libnetfilter_conntrack $as_me 1.0.6, which was 1877 generated by GNU Autoconf 2.69. Invocation command line was 1878 1879 $ $0 $@ 1880 1881 _ACEOF 1882 exec 5>>config.log 1883 { 1884 cat <<_ASUNAME 1885 ## --------- ## 1886 ## Platform. ## 1887 ## --------- ## 1888 1889 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1890 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1891 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1892 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1893 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1894 1895 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1896 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1897 1898 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1899 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1900 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1901 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1902 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1903 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1904 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1905 1906 _ASUNAME 1907 1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1909 for as_dir in $PATH 1910 do 1911 IFS=$as_save_IFS 1912 test -z "$as_dir" && as_dir=. 1913 $as_echo "PATH: $as_dir" 1914 done 1915 IFS=$as_save_IFS 1916 1917 } >&5 1918 1919 cat >&5 <<_ACEOF 1920 1921 1922 ## ----------- ## 1923 ## Core tests. ## 1924 ## ----------- ## 1925 1926 _ACEOF 1927 1928 1929 # Keep a trace of the command line. 1930 # Strip out --no-create and --no-recursion so they do not pile up. 1931 # Strip out --silent because we don't want to record it for future runs. 1932 # Also quote any args containing shell meta-characters. 1933 # Make two passes to allow for proper duplicate-argument suppression. 1934 ac_configure_args= 1935 ac_configure_args0= 1936 ac_configure_args1= 1937 ac_must_keep_next=false 1938 for ac_pass in 1 2 1939 do 1940 for ac_arg 1941 do 1942 case $ac_arg in 1943 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1945 | -silent | --silent | --silen | --sile | --sil) 1946 continue ;; 1947 *\'*) 1948 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1949 esac 1950 case $ac_pass in 1951 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1952 2) 1953 as_fn_append ac_configure_args1 " '$ac_arg'" 1954 if test $ac_must_keep_next = true; then 1955 ac_must_keep_next=false # Got value, back to normal. 1956 else 1957 case $ac_arg in 1958 *=* | --config-cache | -C | -disable-* | --disable-* \ 1959 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1960 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1961 | -with-* | --with-* | -without-* | --without-* | --x) 1962 case "$ac_configure_args0 " in 1963 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1964 esac 1965 ;; 1966 -* ) ac_must_keep_next=true ;; 1967 esac 1968 fi 1969 as_fn_append ac_configure_args " '$ac_arg'" 1970 ;; 1971 esac 1972 done 1973 done 1974 { ac_configure_args0=; unset ac_configure_args0;} 1975 { ac_configure_args1=; unset ac_configure_args1;} 1976 1977 # When interrupted or exit'd, cleanup temporary files, and complete 1978 # config.log. We remove comments because anyway the quotes in there 1979 # would cause problems or look ugly. 1980 # WARNING: Use '\'' to represent an apostrophe within the trap. 1981 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1982 trap 'exit_status=$? 1983 # Save into config.log some information that might help in debugging. 1984 { 1985 echo 1986 1987 $as_echo "## ---------------- ## 1988 ## Cache variables. ## 1989 ## ---------------- ##" 1990 echo 1991 # The following way of writing the cache mishandles newlines in values, 1992 ( 1993 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1994 eval ac_val=\$$ac_var 1995 case $ac_val in #( 1996 *${as_nl}*) 1997 case $ac_var in #( 1998 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2000 esac 2001 case $ac_var in #( 2002 _ | IFS | as_nl) ;; #( 2003 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2004 *) { eval $ac_var=; unset $ac_var;} ;; 2005 esac ;; 2006 esac 2007 done 2008 (set) 2>&1 | 2009 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2010 *${as_nl}ac_space=\ *) 2011 sed -n \ 2012 "s/'\''/'\''\\\\'\'''\''/g; 2013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2014 ;; #( 2015 *) 2016 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2017 ;; 2018 esac | 2019 sort 2020 ) 2021 echo 2022 2023 $as_echo "## ----------------- ## 2024 ## Output variables. ## 2025 ## ----------------- ##" 2026 echo 2027 for ac_var in $ac_subst_vars 2028 do 2029 eval ac_val=\$$ac_var 2030 case $ac_val in 2031 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2032 esac 2033 $as_echo "$ac_var='\''$ac_val'\''" 2034 done | sort 2035 echo 2036 2037 if test -n "$ac_subst_files"; then 2038 $as_echo "## ------------------- ## 2039 ## File substitutions. ## 2040 ## ------------------- ##" 2041 echo 2042 for ac_var in $ac_subst_files 2043 do 2044 eval ac_val=\$$ac_var 2045 case $ac_val in 2046 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2047 esac 2048 $as_echo "$ac_var='\''$ac_val'\''" 2049 done | sort 2050 echo 2051 fi 2052 2053 if test -s confdefs.h; then 2054 $as_echo "## ----------- ## 2055 ## confdefs.h. ## 2056 ## ----------- ##" 2057 echo 2058 cat confdefs.h 2059 echo 2060 fi 2061 test "$ac_signal" != 0 && 2062 $as_echo "$as_me: caught signal $ac_signal" 2063 $as_echo "$as_me: exit $exit_status" 2064 } >&5 2065 rm -f core *.core core.conftest.* && 2066 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2067 exit $exit_status 2068 ' 0 2069 for ac_signal in 1 2 13 15; do 2070 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2071 done 2072 ac_signal=0 2073 2074 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2075 rm -f -r conftest* confdefs.h 2076 2077 $as_echo "/* confdefs.h */" > confdefs.h 2078 2079 # Predefined preprocessor variables. 2080 2081 cat >>confdefs.h <<_ACEOF 2082 #define PACKAGE_NAME "$PACKAGE_NAME" 2083 _ACEOF 2084 2085 cat >>confdefs.h <<_ACEOF 2086 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2087 _ACEOF 2088 2089 cat >>confdefs.h <<_ACEOF 2090 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2091 _ACEOF 2092 2093 cat >>confdefs.h <<_ACEOF 2094 #define PACKAGE_STRING "$PACKAGE_STRING" 2095 _ACEOF 2096 2097 cat >>confdefs.h <<_ACEOF 2098 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2099 _ACEOF 2100 2101 cat >>confdefs.h <<_ACEOF 2102 #define PACKAGE_URL "$PACKAGE_URL" 2103 _ACEOF 2104 2105 2106 # Let the site file select an alternate cache file if it wants to. 2107 # Prefer an explicitly selected file to automatically selected ones. 2108 ac_site_file1=NONE 2109 ac_site_file2=NONE 2110 if test -n "$CONFIG_SITE"; then 2111 # We do not want a PATH search for config.site. 2112 case $CONFIG_SITE in #(( 2113 -*) ac_site_file1=./$CONFIG_SITE;; 2114 */*) ac_site_file1=$CONFIG_SITE;; 2115 *) ac_site_file1=./$CONFIG_SITE;; 2116 esac 2117 elif test "x$prefix" != xNONE; then 2118 ac_site_file1=$prefix/share/config.site 2119 ac_site_file2=$prefix/etc/config.site 2120 else 2121 ac_site_file1=$ac_default_prefix/share/config.site 2122 ac_site_file2=$ac_default_prefix/etc/config.site 2123 fi 2124 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2125 do 2126 test "x$ac_site_file" = xNONE && continue 2127 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2129 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2130 sed 's/^/| /' "$ac_site_file" >&5 2131 . "$ac_site_file" \ 2132 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2134 as_fn_error $? "failed to load site script $ac_site_file 2135 See \`config.log' for more details" "$LINENO" 5; } 2136 fi 2137 done 2138 2139 if test -r "$cache_file"; then 2140 # Some versions of bash will fail to source /dev/null (special files 2141 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2142 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2143 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2144 $as_echo "$as_me: loading cache $cache_file" >&6;} 2145 case $cache_file in 2146 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2147 *) . "./$cache_file";; 2148 esac 2149 fi 2150 else 2151 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2152 $as_echo "$as_me: creating cache $cache_file" >&6;} 2153 >$cache_file 2154 fi 2155 2156 # Check that the precious variables saved in the cache have kept the same 2157 # value. 2158 ac_cache_corrupted=false 2159 for ac_var in $ac_precious_vars; do 2160 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2161 eval ac_new_set=\$ac_env_${ac_var}_set 2162 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2163 eval ac_new_val=\$ac_env_${ac_var}_value 2164 case $ac_old_set,$ac_new_set in 2165 set,) 2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2167 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2168 ac_cache_corrupted=: ;; 2169 ,set) 2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2171 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2172 ac_cache_corrupted=: ;; 2173 ,);; 2174 *) 2175 if test "x$ac_old_val" != "x$ac_new_val"; then 2176 # differences in whitespace do not lead to failure. 2177 ac_old_val_w=`echo x $ac_old_val` 2178 ac_new_val_w=`echo x $ac_new_val` 2179 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2181 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2182 ac_cache_corrupted=: 2183 else 2184 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2185 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2186 eval $ac_var=\$ac_old_val 2187 fi 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2189 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2190 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2191 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2192 fi;; 2193 esac 2194 # Pass precious variables to config.status. 2195 if test "$ac_new_set" = set; then 2196 case $ac_new_val in 2197 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2198 *) ac_arg=$ac_var=$ac_new_val ;; 2199 esac 2200 case " $ac_configure_args " in 2201 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2202 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2203 esac 2204 fi 2205 done 2206 if $ac_cache_corrupted; then 2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2210 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2211 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2212 fi 2213 ## -------------------- ## 2214 ## Main body of script. ## 2215 ## -------------------- ## 2216 2217 ac_ext=c 2218 ac_cpp='$CPP $CPPFLAGS' 2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2222 2223 2224 ac_aux_dir= 2225 for ac_dir in build-aux "$srcdir"/build-aux; do 2226 if test -f "$ac_dir/install-sh"; then 2227 ac_aux_dir=$ac_dir 2228 ac_install_sh="$ac_aux_dir/install-sh -c" 2229 break 2230 elif test -f "$ac_dir/install.sh"; then 2231 ac_aux_dir=$ac_dir 2232 ac_install_sh="$ac_aux_dir/install.sh -c" 2233 break 2234 elif test -f "$ac_dir/shtool"; then 2235 ac_aux_dir=$ac_dir 2236 ac_install_sh="$ac_aux_dir/shtool install -c" 2237 break 2238 fi 2239 done 2240 if test -z "$ac_aux_dir"; then 2241 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2242 fi 2243 2244 # These three variables are undocumented and unsupported, 2245 # and are intended to be withdrawn in a future Autoconf release. 2246 # They can cause serious problems if a builder's source tree is in a directory 2247 # whose full name contains unusual characters. 2248 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2249 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2250 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2251 2252 2253 # Make sure we can run config.sub. 2254 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2255 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2256 2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2258 $as_echo_n "checking build system type... " >&6; } 2259 if ${ac_cv_build+:} false; then : 2260 $as_echo_n "(cached) " >&6 2261 else 2262 ac_build_alias=$build_alias 2263 test "x$ac_build_alias" = x && 2264 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2265 test "x$ac_build_alias" = x && 2266 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2267 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2268 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2269 2270 fi 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2272 $as_echo "$ac_cv_build" >&6; } 2273 case $ac_cv_build in 2274 *-*-*) ;; 2275 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2276 esac 2277 build=$ac_cv_build 2278 ac_save_IFS=$IFS; IFS='-' 2279 set x $ac_cv_build 2280 shift 2281 build_cpu=$1 2282 build_vendor=$2 2283 shift; shift 2284 # Remember, the first character of IFS is used to create $*, 2285 # except with old shells: 2286 build_os=$* 2287 IFS=$ac_save_IFS 2288 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2289 2290 2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2292 $as_echo_n "checking host system type... " >&6; } 2293 if ${ac_cv_host+:} false; then : 2294 $as_echo_n "(cached) " >&6 2295 else 2296 if test "x$host_alias" = x; then 2297 ac_cv_host=$ac_cv_build 2298 else 2299 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2300 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2301 fi 2302 2303 fi 2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2305 $as_echo "$ac_cv_host" >&6; } 2306 case $ac_cv_host in 2307 *-*-*) ;; 2308 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2309 esac 2310 host=$ac_cv_host 2311 ac_save_IFS=$IFS; IFS='-' 2312 set x $ac_cv_host 2313 shift 2314 host_cpu=$1 2315 host_vendor=$2 2316 shift; shift 2317 # Remember, the first character of IFS is used to create $*, 2318 # except with old shells: 2319 host_os=$* 2320 IFS=$ac_save_IFS 2321 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2322 2323 2324 ac_config_headers="$ac_config_headers config.h" 2325 2326 2327 2328 am__api_version='1.14' 2329 2330 # Find a good install program. We prefer a C program (faster), 2331 # so one script is as good as another. But avoid the broken or 2332 # incompatible versions: 2333 # SysV /etc/install, /usr/sbin/install 2334 # SunOS /usr/etc/install 2335 # IRIX /sbin/install 2336 # AIX /bin/install 2337 # AmigaOS /C/install, which installs bootblocks on floppy discs 2338 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2339 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2340 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2341 # OS/2's system install, which has a completely different semantic 2342 # ./install, which can be erroneously created by make from ./install.sh. 2343 # Reject install programs that cannot install multiple files. 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2345 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2346 if test -z "$INSTALL"; then 2347 if ${ac_cv_path_install+:} false; then : 2348 $as_echo_n "(cached) " >&6 2349 else 2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2351 for as_dir in $PATH 2352 do 2353 IFS=$as_save_IFS 2354 test -z "$as_dir" && as_dir=. 2355 # Account for people who put trailing slashes in PATH elements. 2356 case $as_dir/ in #(( 2357 ./ | .// | /[cC]/* | \ 2358 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2359 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2360 /usr/ucb/* ) ;; 2361 *) 2362 # OSF1 and SCO ODT 3.0 have their own names for install. 2363 # Don't use installbsd from OSF since it installs stuff as root 2364 # by default. 2365 for ac_prog in ginstall scoinst install; do 2366 for ac_exec_ext in '' $ac_executable_extensions; do 2367 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2368 if test $ac_prog = install && 2369 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2370 # AIX install. It has an incompatible calling convention. 2371 : 2372 elif test $ac_prog = install && 2373 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2374 # program-specific install script used by HP pwplus--don't use. 2375 : 2376 else 2377 rm -rf conftest.one conftest.two conftest.dir 2378 echo one > conftest.one 2379 echo two > conftest.two 2380 mkdir conftest.dir 2381 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2382 test -s conftest.one && test -s conftest.two && 2383 test -s conftest.dir/conftest.one && 2384 test -s conftest.dir/conftest.two 2385 then 2386 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2387 break 3 2388 fi 2389 fi 2390 fi 2391 done 2392 done 2393 ;; 2394 esac 2395 2396 done 2397 IFS=$as_save_IFS 2398 2399 rm -rf conftest.one conftest.two conftest.dir 2400 2401 fi 2402 if test "${ac_cv_path_install+set}" = set; then 2403 INSTALL=$ac_cv_path_install 2404 else 2405 # As a last resort, use the slow shell script. Don't cache a 2406 # value for INSTALL within a source directory, because that will 2407 # break other packages using the cache if that directory is 2408 # removed, or if the value is a relative name. 2409 INSTALL=$ac_install_sh 2410 fi 2411 fi 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2413 $as_echo "$INSTALL" >&6; } 2414 2415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2416 # It thinks the first close brace ends the variable substitution. 2417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2418 2419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2420 2421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2422 2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2424 $as_echo_n "checking whether build environment is sane... " >&6; } 2425 # Reject unsafe characters in $srcdir or the absolute working directory 2426 # name. Accept space and tab only in the latter. 2427 am_lf=' 2428 ' 2429 case `pwd` in 2430 *[\\\"\#\$\&\'\`$am_lf]*) 2431 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2432 esac 2433 case $srcdir in 2434 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2435 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2436 esac 2437 2438 # Do 'set' in a subshell so we don't clobber the current shell's 2439 # arguments. Must try -L first in case configure is actually a 2440 # symlink; some systems play weird games with the mod time of symlinks 2441 # (eg FreeBSD returns the mod time of the symlink's containing 2442 # directory). 2443 if ( 2444 am_has_slept=no 2445 for am_try in 1 2; do 2446 echo "timestamp, slept: $am_has_slept" > conftest.file 2447 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2448 if test "$*" = "X"; then 2449 # -L didn't work. 2450 set X `ls -t "$srcdir/configure" conftest.file` 2451 fi 2452 if test "$*" != "X $srcdir/configure conftest.file" \ 2453 && test "$*" != "X conftest.file $srcdir/configure"; then 2454 2455 # If neither matched, then we have a broken ls. This can happen 2456 # if, for instance, CONFIG_SHELL is bash and it inherits a 2457 # broken ls alias from the environment. This has actually 2458 # happened. Such a system could not be considered "sane". 2459 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2460 alias in your environment" "$LINENO" 5 2461 fi 2462 if test "$2" = conftest.file || test $am_try -eq 2; then 2463 break 2464 fi 2465 # Just in case. 2466 sleep 1 2467 am_has_slept=yes 2468 done 2469 test "$2" = conftest.file 2470 ) 2471 then 2472 # Ok. 2473 : 2474 else 2475 as_fn_error $? "newly created file is older than distributed files! 2476 Check your system clock" "$LINENO" 5 2477 fi 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2479 $as_echo "yes" >&6; } 2480 # If we didn't sleep, we still need to ensure time stamps of config.status and 2481 # generated files are strictly newer. 2482 am_sleep_pid= 2483 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2484 ( sleep 1 ) & 2485 am_sleep_pid=$! 2486 fi 2487 2488 rm -f conftest.file 2489 2490 test "$program_prefix" != NONE && 2491 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2492 # Use a double $ so make ignores it. 2493 test "$program_suffix" != NONE && 2494 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2495 # Double any \ or $. 2496 # By default was `s,x,x', remove it if useless. 2497 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2498 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2499 2500 # Expand $ac_aux_dir to an absolute path. 2501 am_aux_dir=`cd "$ac_aux_dir" && pwd` 2502 2503 if test x"${MISSING+set}" != xset; then 2504 case $am_aux_dir in 2505 *\ * | *\ *) 2506 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2507 *) 2508 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2509 esac 2510 fi 2511 # Use eval to expand $SHELL 2512 if eval "$MISSING --is-lightweight"; then 2513 am_missing_run="$MISSING " 2514 else 2515 am_missing_run= 2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2517 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2518 fi 2519 2520 if test x"${install_sh}" != xset; then 2521 case $am_aux_dir in 2522 *\ * | *\ *) 2523 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2524 *) 2525 install_sh="\${SHELL} $am_aux_dir/install-sh" 2526 esac 2527 fi 2528 2529 # Installed binaries are usually stripped using 'strip' when the user 2530 # run "make install-strip". However 'strip' might not be the right 2531 # tool to use in cross-compilation environments, therefore Automake 2532 # will honor the 'STRIP' environment variable to overrule this program. 2533 if test "$cross_compiling" != no; then 2534 if test -n "$ac_tool_prefix"; then 2535 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2536 set dummy ${ac_tool_prefix}strip; ac_word=$2 2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2538 $as_echo_n "checking for $ac_word... " >&6; } 2539 if ${ac_cv_prog_STRIP+:} false; then : 2540 $as_echo_n "(cached) " >&6 2541 else 2542 if test -n "$STRIP"; then 2543 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2544 else 2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2546 for as_dir in $PATH 2547 do 2548 IFS=$as_save_IFS 2549 test -z "$as_dir" && as_dir=. 2550 for ac_exec_ext in '' $ac_executable_extensions; do 2551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2552 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2554 break 2 2555 fi 2556 done 2557 done 2558 IFS=$as_save_IFS 2559 2560 fi 2561 fi 2562 STRIP=$ac_cv_prog_STRIP 2563 if test -n "$STRIP"; then 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2565 $as_echo "$STRIP" >&6; } 2566 else 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2568 $as_echo "no" >&6; } 2569 fi 2570 2571 2572 fi 2573 if test -z "$ac_cv_prog_STRIP"; then 2574 ac_ct_STRIP=$STRIP 2575 # Extract the first word of "strip", so it can be a program name with args. 2576 set dummy strip; ac_word=$2 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2578 $as_echo_n "checking for $ac_word... " >&6; } 2579 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2580 $as_echo_n "(cached) " >&6 2581 else 2582 if test -n "$ac_ct_STRIP"; then 2583 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2584 else 2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2586 for as_dir in $PATH 2587 do 2588 IFS=$as_save_IFS 2589 test -z "$as_dir" && as_dir=. 2590 for ac_exec_ext in '' $ac_executable_extensions; do 2591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2592 ac_cv_prog_ac_ct_STRIP="strip" 2593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2594 break 2 2595 fi 2596 done 2597 done 2598 IFS=$as_save_IFS 2599 2600 fi 2601 fi 2602 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2603 if test -n "$ac_ct_STRIP"; then 2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2605 $as_echo "$ac_ct_STRIP" >&6; } 2606 else 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2608 $as_echo "no" >&6; } 2609 fi 2610 2611 if test "x$ac_ct_STRIP" = x; then 2612 STRIP=":" 2613 else 2614 case $cross_compiling:$ac_tool_warned in 2615 yes:) 2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2618 ac_tool_warned=yes ;; 2619 esac 2620 STRIP=$ac_ct_STRIP 2621 fi 2622 else 2623 STRIP="$ac_cv_prog_STRIP" 2624 fi 2625 2626 fi 2627 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2628 2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2630 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2631 if test -z "$MKDIR_P"; then 2632 if ${ac_cv_path_mkdir+:} false; then : 2633 $as_echo_n "(cached) " >&6 2634 else 2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2636 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2637 do 2638 IFS=$as_save_IFS 2639 test -z "$as_dir" && as_dir=. 2640 for ac_prog in mkdir gmkdir; do 2641 for ac_exec_ext in '' $ac_executable_extensions; do 2642 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2643 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2644 'mkdir (GNU coreutils) '* | \ 2645 'mkdir (coreutils) '* | \ 2646 'mkdir (fileutils) '4.1*) 2647 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2648 break 3;; 2649 esac 2650 done 2651 done 2652 done 2653 IFS=$as_save_IFS 2654 2655 fi 2656 2657 test -d ./--version && rmdir ./--version 2658 if test "${ac_cv_path_mkdir+set}" = set; then 2659 MKDIR_P="$ac_cv_path_mkdir -p" 2660 else 2661 # As a last resort, use the slow shell script. Don't cache a 2662 # value for MKDIR_P within a source directory, because that will 2663 # break other packages using the cache if that directory is 2664 # removed, or if the value is a relative name. 2665 MKDIR_P="$ac_install_sh -d" 2666 fi 2667 fi 2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2669 $as_echo "$MKDIR_P" >&6; } 2670 2671 for ac_prog in gawk mawk nawk awk 2672 do 2673 # Extract the first word of "$ac_prog", so it can be a program name with args. 2674 set dummy $ac_prog; ac_word=$2 2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2676 $as_echo_n "checking for $ac_word... " >&6; } 2677 if ${ac_cv_prog_AWK+:} false; then : 2678 $as_echo_n "(cached) " >&6 2679 else 2680 if test -n "$AWK"; then 2681 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2682 else 2683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2684 for as_dir in $PATH 2685 do 2686 IFS=$as_save_IFS 2687 test -z "$as_dir" && as_dir=. 2688 for ac_exec_ext in '' $ac_executable_extensions; do 2689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2690 ac_cv_prog_AWK="$ac_prog" 2691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2692 break 2 2693 fi 2694 done 2695 done 2696 IFS=$as_save_IFS 2697 2698 fi 2699 fi 2700 AWK=$ac_cv_prog_AWK 2701 if test -n "$AWK"; then 2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2703 $as_echo "$AWK" >&6; } 2704 else 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2706 $as_echo "no" >&6; } 2707 fi 2708 2709 2710 test -n "$AWK" && break 2711 done 2712 2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2714 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2715 set x ${MAKE-make} 2716 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2717 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2718 $as_echo_n "(cached) " >&6 2719 else 2720 cat >conftest.make <<\_ACEOF 2721 SHELL = /bin/sh 2722 all: 2723 @echo '@@@%%%=$(MAKE)=@@@%%%' 2724 _ACEOF 2725 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2726 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2727 *@@@%%%=?*=@@@%%%*) 2728 eval ac_cv_prog_make_${ac_make}_set=yes;; 2729 *) 2730 eval ac_cv_prog_make_${ac_make}_set=no;; 2731 esac 2732 rm -f conftest.make 2733 fi 2734 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2736 $as_echo "yes" >&6; } 2737 SET_MAKE= 2738 else 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2740 $as_echo "no" >&6; } 2741 SET_MAKE="MAKE=${MAKE-make}" 2742 fi 2743 2744 rm -rf .tst 2>/dev/null 2745 mkdir .tst 2>/dev/null 2746 if test -d .tst; then 2747 am__leading_dot=. 2748 else 2749 am__leading_dot=_ 2750 fi 2751 rmdir .tst 2>/dev/null 2752 2753 # Check whether --enable-silent-rules was given. 2754 if test "${enable_silent_rules+set}" = set; then : 2755 enableval=$enable_silent_rules; 2756 fi 2757 2758 case $enable_silent_rules in # ((( 2759 yes) AM_DEFAULT_VERBOSITY=0;; 2760 no) AM_DEFAULT_VERBOSITY=1;; 2761 *) AM_DEFAULT_VERBOSITY=1;; 2762 esac 2763 am_make=${MAKE-make} 2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2765 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2766 if ${am_cv_make_support_nested_variables+:} false; then : 2767 $as_echo_n "(cached) " >&6 2768 else 2769 if $as_echo 'TRUE=$(BAR$(V)) 2770 BAR0=false 2771 BAR1=true 2772 V=1 2773 am__doit: 2774 @$(TRUE) 2775 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2776 am_cv_make_support_nested_variables=yes 2777 else 2778 am_cv_make_support_nested_variables=no 2779 fi 2780 fi 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2782 $as_echo "$am_cv_make_support_nested_variables" >&6; } 2783 if test $am_cv_make_support_nested_variables = yes; then 2784 AM_V='$(V)' 2785 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2786 else 2787 AM_V=$AM_DEFAULT_VERBOSITY 2788 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2789 fi 2790 AM_BACKSLASH='\' 2791 2792 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2793 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2794 # is not polluted with repeated "-I." 2795 am__isrc=' -I$(srcdir)' 2796 # test to see if srcdir already configured 2797 if test -f $srcdir/config.status; then 2798 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2799 fi 2800 fi 2801 2802 # test whether we have cygpath 2803 if test -z "$CYGPATH_W"; then 2804 if (cygpath --version) >/dev/null 2>/dev/null; then 2805 CYGPATH_W='cygpath -w' 2806 else 2807 CYGPATH_W=echo 2808 fi 2809 fi 2810 2811 2812 # Define the identity of the package. 2813 PACKAGE='libnetfilter_conntrack' 2814 VERSION='1.0.6' 2815 2816 2817 cat >>confdefs.h <<_ACEOF 2818 #define PACKAGE "$PACKAGE" 2819 _ACEOF 2820 2821 2822 cat >>confdefs.h <<_ACEOF 2823 #define VERSION "$VERSION" 2824 _ACEOF 2825 2826 # Some tools Automake needs. 2827 2828 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2829 2830 2831 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2832 2833 2834 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2835 2836 2837 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2838 2839 2840 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2841 2842 # For better backward compatibility. To be removed once Automake 1.9.x 2843 # dies out for good. For more background, see: 2844 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2845 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2846 mkdir_p='$(MKDIR_P)' 2847 2848 # We need awk for the "check" target. The system "awk" is bad on 2849 # some platforms. 2850 # Always define AMTAR for backward compatibility. Yes, it's still used 2851 # in the wild :-( We should find a proper way to deprecate it ... 2852 AMTAR='$${TAR-tar}' 2853 2854 2855 # We'll loop over all known methods to create a tar archive until one works. 2856 _am_tools='gnutar pax cpio none' 2857 2858 2859 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 2861 $as_echo_n "checking how to create a pax tar archive... " >&6; } 2862 2863 # Go ahead even if we have the value already cached. We do so because we 2864 # need to set the values for the 'am__tar' and 'am__untar' variables. 2865 _am_tools=${am_cv_prog_tar_pax-$_am_tools} 2866 2867 for _am_tool in $_am_tools; do 2868 case $_am_tool in 2869 gnutar) 2870 for _am_tar in tar gnutar gtar; do 2871 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2872 ($_am_tar --version) >&5 2>&5 2873 ac_status=$? 2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2875 (exit $ac_status); } && break 2876 done 2877 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' 2878 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' 2879 am__untar="$_am_tar -xf -" 2880 ;; 2881 plaintar) 2882 # Must skip GNU tar: if it does not support --format= it doesn't create 2883 # ustar tarball either. 2884 (tar --version) >/dev/null 2>&1 && continue 2885 am__tar='tar chf - "$$tardir"' 2886 am__tar_='tar chf - "$tardir"' 2887 am__untar='tar xf -' 2888 ;; 2889 pax) 2890 am__tar='pax -L -x pax -w "$$tardir"' 2891 am__tar_='pax -L -x pax -w "$tardir"' 2892 am__untar='pax -r' 2893 ;; 2894 cpio) 2895 am__tar='find "$$tardir" -print | cpio -o -H pax -L' 2896 am__tar_='find "$tardir" -print | cpio -o -H pax -L' 2897 am__untar='cpio -i -H pax -d' 2898 ;; 2899 none) 2900 am__tar=false 2901 am__tar_=false 2902 am__untar=false 2903 ;; 2904 esac 2905 2906 # If the value was cached, stop now. We just wanted to have am__tar 2907 # and am__untar set. 2908 test -n "${am_cv_prog_tar_pax}" && break 2909 2910 # tar/untar a dummy directory, and stop if the command works. 2911 rm -rf conftest.dir 2912 mkdir conftest.dir 2913 echo GrepMe > conftest.dir/file 2914 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2915 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2916 ac_status=$? 2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2918 (exit $ac_status); } 2919 rm -rf conftest.dir 2920 if test -s conftest.tar; then 2921 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2922 ($am__untar <conftest.tar) >&5 2>&5 2923 ac_status=$? 2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2925 (exit $ac_status); } 2926 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 2927 (cat conftest.dir/file) >&5 2>&5 2928 ac_status=$? 2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2930 (exit $ac_status); } 2931 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2932 fi 2933 done 2934 rm -rf conftest.dir 2935 2936 if ${am_cv_prog_tar_pax+:} false; then : 2937 $as_echo_n "(cached) " >&6 2938 else 2939 am_cv_prog_tar_pax=$_am_tool 2940 fi 2941 2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 2943 $as_echo "$am_cv_prog_tar_pax" >&6; } 2944 2945 2946 2947 2948 2949 2950 # POSIX will say in a future version that running "rm -f" with no argument 2951 # is OK; and we want to be able to make that assumption in our Makefile 2952 # recipes. So use an aggressive probe to check that the usage we want is 2953 # actually supported "in the wild" to an acceptable degree. 2954 # See automake bug#10828. 2955 # To make any issue more visible, cause the running configure to be aborted 2956 # by default if the 'rm' program in use doesn't match our expectations; the 2957 # user can still override this though. 2958 if rm -f && rm -fr && rm -rf; then : OK; else 2959 cat >&2 <<'END' 2960 Oops! 2961 2962 Your 'rm' program seems unable to run without file operands specified 2963 on the command line, even when the '-f' option is present. This is contrary 2964 to the behaviour of most rm programs out there, and not conforming with 2965 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2966 2967 Please tell bug-automake@gnu.org about your system, including the value 2968 of your $PATH and any error possibly output before this message. This 2969 can help us improve future automake versions. 2970 2971 END 2972 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2973 echo 'Configuration will proceed anyway, since you have set the' >&2 2974 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2975 echo >&2 2976 else 2977 cat >&2 <<'END' 2978 Aborting the configuration process, to ensure you take notice of the issue. 2979 2980 You can download and install GNU coreutils to get an 'rm' implementation 2981 that behaves properly: <http://www.gnu.org/software/coreutils/>. 2982 2983 If you want to complete the configuration process using your problematic 2984 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2985 to "yes", and re-run configure. 2986 2987 END 2988 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2989 fi 2990 fi 2991 2992 DEPDIR="${am__leading_dot}deps" 2993 2994 ac_config_commands="$ac_config_commands depfiles" 2995 2996 2997 am_make=${MAKE-make} 2998 cat > confinc << 'END' 2999 am__doit: 3000 @echo this is the am__doit target 3001 .PHONY: am__doit 3002 END 3003 # If we don't find an include directive, just comment out the code. 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3005 $as_echo_n "checking for style of include used by $am_make... " >&6; } 3006 am__include="#" 3007 am__quote= 3008 _am_result=none 3009 # First try GNU make style include. 3010 echo "include confinc" > confmf 3011 # Ignore all kinds of additional output from 'make'. 3012 case `$am_make -s -f confmf 2> /dev/null` in #( 3013 *the\ am__doit\ target*) 3014 am__include=include 3015 am__quote= 3016 _am_result=GNU 3017 ;; 3018 esac 3019 # Now try BSD make style include. 3020 if test "$am__include" = "#"; then 3021 echo '.include "confinc"' > confmf 3022 case `$am_make -s -f confmf 2> /dev/null` in #( 3023 *the\ am__doit\ target*) 3024 am__include=.include 3025 am__quote="\"" 3026 _am_result=BSD 3027 ;; 3028 esac 3029 fi 3030 3031 3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3033 $as_echo "$_am_result" >&6; } 3034 rm -f confinc confmf 3035 3036 # Check whether --enable-dependency-tracking was given. 3037 if test "${enable_dependency_tracking+set}" = set; then : 3038 enableval=$enable_dependency_tracking; 3039 fi 3040 3041 if test "x$enable_dependency_tracking" != xno; then 3042 am_depcomp="$ac_aux_dir/depcomp" 3043 AMDEPBACKSLASH='\' 3044 am__nodep='_no' 3045 fi 3046 if test "x$enable_dependency_tracking" != xno; then 3047 AMDEP_TRUE= 3048 AMDEP_FALSE='#' 3049 else 3050 AMDEP_TRUE='#' 3051 AMDEP_FALSE= 3052 fi 3053 3054 3055 ac_ext=c 3056 ac_cpp='$CPP $CPPFLAGS' 3057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3059 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3060 if test -n "$ac_tool_prefix"; then 3061 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3062 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3064 $as_echo_n "checking for $ac_word... " >&6; } 3065 if ${ac_cv_prog_CC+:} false; then : 3066 $as_echo_n "(cached) " >&6 3067 else 3068 if test -n "$CC"; then 3069 ac_cv_prog_CC="$CC" # Let the user override the test. 3070 else 3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3072 for as_dir in $PATH 3073 do 3074 IFS=$as_save_IFS 3075 test -z "$as_dir" && as_dir=. 3076 for ac_exec_ext in '' $ac_executable_extensions; do 3077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3078 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3080 break 2 3081 fi 3082 done 3083 done 3084 IFS=$as_save_IFS 3085 3086 fi 3087 fi 3088 CC=$ac_cv_prog_CC 3089 if test -n "$CC"; then 3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3091 $as_echo "$CC" >&6; } 3092 else 3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3094 $as_echo "no" >&6; } 3095 fi 3096 3097 3098 fi 3099 if test -z "$ac_cv_prog_CC"; then 3100 ac_ct_CC=$CC 3101 # Extract the first word of "gcc", so it can be a program name with args. 3102 set dummy gcc; ac_word=$2 3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3104 $as_echo_n "checking for $ac_word... " >&6; } 3105 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3106 $as_echo_n "(cached) " >&6 3107 else 3108 if test -n "$ac_ct_CC"; then 3109 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3110 else 3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3112 for as_dir in $PATH 3113 do 3114 IFS=$as_save_IFS 3115 test -z "$as_dir" && as_dir=. 3116 for ac_exec_ext in '' $ac_executable_extensions; do 3117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3118 ac_cv_prog_ac_ct_CC="gcc" 3119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3120 break 2 3121 fi 3122 done 3123 done 3124 IFS=$as_save_IFS 3125 3126 fi 3127 fi 3128 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3129 if test -n "$ac_ct_CC"; then 3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3131 $as_echo "$ac_ct_CC" >&6; } 3132 else 3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3134 $as_echo "no" >&6; } 3135 fi 3136 3137 if test "x$ac_ct_CC" = x; then 3138 CC="" 3139 else 3140 case $cross_compiling:$ac_tool_warned in 3141 yes:) 3142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3144 ac_tool_warned=yes ;; 3145 esac 3146 CC=$ac_ct_CC 3147 fi 3148 else 3149 CC="$ac_cv_prog_CC" 3150 fi 3151 3152 if test -z "$CC"; then 3153 if test -n "$ac_tool_prefix"; then 3154 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3155 set dummy ${ac_tool_prefix}cc; ac_word=$2 3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3157 $as_echo_n "checking for $ac_word... " >&6; } 3158 if ${ac_cv_prog_CC+:} false; then : 3159 $as_echo_n "(cached) " >&6 3160 else 3161 if test -n "$CC"; then 3162 ac_cv_prog_CC="$CC" # Let the user override the test. 3163 else 3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3165 for as_dir in $PATH 3166 do 3167 IFS=$as_save_IFS 3168 test -z "$as_dir" && as_dir=. 3169 for ac_exec_ext in '' $ac_executable_extensions; do 3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3171 ac_cv_prog_CC="${ac_tool_prefix}cc" 3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3173 break 2 3174 fi 3175 done 3176 done 3177 IFS=$as_save_IFS 3178 3179 fi 3180 fi 3181 CC=$ac_cv_prog_CC 3182 if test -n "$CC"; then 3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3184 $as_echo "$CC" >&6; } 3185 else 3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3187 $as_echo "no" >&6; } 3188 fi 3189 3190 3191 fi 3192 fi 3193 if test -z "$CC"; then 3194 # Extract the first word of "cc", so it can be a program name with args. 3195 set dummy cc; ac_word=$2 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3197 $as_echo_n "checking for $ac_word... " >&6; } 3198 if ${ac_cv_prog_CC+:} false; then : 3199 $as_echo_n "(cached) " >&6 3200 else 3201 if test -n "$CC"; then 3202 ac_cv_prog_CC="$CC" # Let the user override the test. 3203 else 3204 ac_prog_rejected=no 3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3206 for as_dir in $PATH 3207 do 3208 IFS=$as_save_IFS 3209 test -z "$as_dir" && as_dir=. 3210 for ac_exec_ext in '' $ac_executable_extensions; do 3211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3212 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3213 ac_prog_rejected=yes 3214 continue 3215 fi 3216 ac_cv_prog_CC="cc" 3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3218 break 2 3219 fi 3220 done 3221 done 3222 IFS=$as_save_IFS 3223 3224 if test $ac_prog_rejected = yes; then 3225 # We found a bogon in the path, so make sure we never use it. 3226 set dummy $ac_cv_prog_CC 3227 shift 3228 if test $# != 0; then 3229 # We chose a different compiler from the bogus one. 3230 # However, it has the same basename, so the bogon will be chosen 3231 # first if we set CC to just the basename; use the full file name. 3232 shift 3233 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3234 fi 3235 fi 3236 fi 3237 fi 3238 CC=$ac_cv_prog_CC 3239 if test -n "$CC"; then 3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3241 $as_echo "$CC" >&6; } 3242 else 3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3244 $as_echo "no" >&6; } 3245 fi 3246 3247 3248 fi 3249 if test -z "$CC"; then 3250 if test -n "$ac_tool_prefix"; then 3251 for ac_prog in cl.exe 3252 do 3253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3254 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3256 $as_echo_n "checking for $ac_word... " >&6; } 3257 if ${ac_cv_prog_CC+:} false; then : 3258 $as_echo_n "(cached) " >&6 3259 else 3260 if test -n "$CC"; then 3261 ac_cv_prog_CC="$CC" # Let the user override the test. 3262 else 3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3264 for as_dir in $PATH 3265 do 3266 IFS=$as_save_IFS 3267 test -z "$as_dir" && as_dir=. 3268 for ac_exec_ext in '' $ac_executable_extensions; do 3269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3270 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3272 break 2 3273 fi 3274 done 3275 done 3276 IFS=$as_save_IFS 3277 3278 fi 3279 fi 3280 CC=$ac_cv_prog_CC 3281 if test -n "$CC"; then 3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3283 $as_echo "$CC" >&6; } 3284 else 3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3286 $as_echo "no" >&6; } 3287 fi 3288 3289 3290 test -n "$CC" && break 3291 done 3292 fi 3293 if test -z "$CC"; then 3294 ac_ct_CC=$CC 3295 for ac_prog in cl.exe 3296 do 3297 # Extract the first word of "$ac_prog", so it can be a program name with args. 3298 set dummy $ac_prog; ac_word=$2 3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3300 $as_echo_n "checking for $ac_word... " >&6; } 3301 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3302 $as_echo_n "(cached) " >&6 3303 else 3304 if test -n "$ac_ct_CC"; then 3305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3306 else 3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3308 for as_dir in $PATH 3309 do 3310 IFS=$as_save_IFS 3311 test -z "$as_dir" && as_dir=. 3312 for ac_exec_ext in '' $ac_executable_extensions; do 3313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3314 ac_cv_prog_ac_ct_CC="$ac_prog" 3315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3316 break 2 3317 fi 3318 done 3319 done 3320 IFS=$as_save_IFS 3321 3322 fi 3323 fi 3324 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3325 if test -n "$ac_ct_CC"; then 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3327 $as_echo "$ac_ct_CC" >&6; } 3328 else 3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3330 $as_echo "no" >&6; } 3331 fi 3332 3333 3334 test -n "$ac_ct_CC" && break 3335 done 3336 3337 if test "x$ac_ct_CC" = x; then 3338 CC="" 3339 else 3340 case $cross_compiling:$ac_tool_warned in 3341 yes:) 3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3344 ac_tool_warned=yes ;; 3345 esac 3346 CC=$ac_ct_CC 3347 fi 3348 fi 3349 3350 fi 3351 3352 3353 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3355 as_fn_error $? "no acceptable C compiler found in \$PATH 3356 See \`config.log' for more details" "$LINENO" 5; } 3357 3358 # Provide some information about the compiler. 3359 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3360 set X $ac_compile 3361 ac_compiler=$2 3362 for ac_option in --version -v -V -qversion; do 3363 { { ac_try="$ac_compiler $ac_option >&5" 3364 case "(($ac_try" in 3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3366 *) ac_try_echo=$ac_try;; 3367 esac 3368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3369 $as_echo "$ac_try_echo"; } >&5 3370 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3371 ac_status=$? 3372 if test -s conftest.err; then 3373 sed '10a\ 3374 ... rest of stderr output deleted ... 3375 10q' conftest.err >conftest.er1 3376 cat conftest.er1 >&5 3377 fi 3378 rm -f conftest.er1 conftest.err 3379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3380 test $ac_status = 0; } 3381 done 3382 3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3384 /* end confdefs.h. */ 3385 3386 int 3387 main () 3388 { 3389 3390 ; 3391 return 0; 3392 } 3393 _ACEOF 3394 ac_clean_files_save=$ac_clean_files 3395 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3396 # Try to create an executable without -o first, disregard a.out. 3397 # It will help us diagnose broken compilers, and finding out an intuition 3398 # of exeext. 3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3400 $as_echo_n "checking whether the C compiler works... " >&6; } 3401 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3402 3403 # The possible output files: 3404 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3405 3406 ac_rmfiles= 3407 for ac_file in $ac_files 3408 do 3409 case $ac_file in 3410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3411 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3412 esac 3413 done 3414 rm -f $ac_rmfiles 3415 3416 if { { ac_try="$ac_link_default" 3417 case "(($ac_try" in 3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3419 *) ac_try_echo=$ac_try;; 3420 esac 3421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3422 $as_echo "$ac_try_echo"; } >&5 3423 (eval "$ac_link_default") 2>&5 3424 ac_status=$? 3425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3426 test $ac_status = 0; }; then : 3427 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3428 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3429 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3430 # so that the user can short-circuit this test for compilers unknown to 3431 # Autoconf. 3432 for ac_file in $ac_files '' 3433 do 3434 test -f "$ac_file" || continue 3435 case $ac_file in 3436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3437 ;; 3438 [ab].out ) 3439 # We found the default executable, but exeext='' is most 3440 # certainly right. 3441 break;; 3442 *.* ) 3443 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3444 then :; else 3445 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3446 fi 3447 # We set ac_cv_exeext here because the later test for it is not 3448 # safe: cross compilers may not add the suffix if given an `-o' 3449 # argument, so we may need to know it at that point already. 3450 # Even if this section looks crufty: it has the advantage of 3451 # actually working. 3452 break;; 3453 * ) 3454 break;; 3455 esac 3456 done 3457 test "$ac_cv_exeext" = no && ac_cv_exeext= 3458 3459 else 3460 ac_file='' 3461 fi 3462 if test -z "$ac_file"; then : 3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3464 $as_echo "no" >&6; } 3465 $as_echo "$as_me: failed program was:" >&5 3466 sed 's/^/| /' conftest.$ac_ext >&5 3467 3468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3470 as_fn_error 77 "C compiler cannot create executables 3471 See \`config.log' for more details" "$LINENO" 5; } 3472 else 3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3474 $as_echo "yes" >&6; } 3475 fi 3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3477 $as_echo_n "checking for C compiler default output file name... " >&6; } 3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3479 $as_echo "$ac_file" >&6; } 3480 ac_exeext=$ac_cv_exeext 3481 3482 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3483 ac_clean_files=$ac_clean_files_save 3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3485 $as_echo_n "checking for suffix of executables... " >&6; } 3486 if { { ac_try="$ac_link" 3487 case "(($ac_try" in 3488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3489 *) ac_try_echo=$ac_try;; 3490 esac 3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3492 $as_echo "$ac_try_echo"; } >&5 3493 (eval "$ac_link") 2>&5 3494 ac_status=$? 3495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3496 test $ac_status = 0; }; then : 3497 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3498 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3499 # work properly (i.e., refer to `conftest.exe'), while it won't with 3500 # `rm'. 3501 for ac_file in conftest.exe conftest conftest.*; do 3502 test -f "$ac_file" || continue 3503 case $ac_file in 3504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3505 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3506 break;; 3507 * ) break;; 3508 esac 3509 done 3510 else 3511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3513 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3514 See \`config.log' for more details" "$LINENO" 5; } 3515 fi 3516 rm -f conftest conftest$ac_cv_exeext 3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3518 $as_echo "$ac_cv_exeext" >&6; } 3519 3520 rm -f conftest.$ac_ext 3521 EXEEXT=$ac_cv_exeext 3522 ac_exeext=$EXEEXT 3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3524 /* end confdefs.h. */ 3525 #include <stdio.h> 3526 int 3527 main () 3528 { 3529 FILE *f = fopen ("conftest.out", "w"); 3530 return ferror (f) || fclose (f) != 0; 3531 3532 ; 3533 return 0; 3534 } 3535 _ACEOF 3536 ac_clean_files="$ac_clean_files conftest.out" 3537 # Check that the compiler produces executables we can run. If not, either 3538 # the compiler is broken, or we cross compile. 3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3540 $as_echo_n "checking whether we are cross compiling... " >&6; } 3541 if test "$cross_compiling" != yes; then 3542 { { ac_try="$ac_link" 3543 case "(($ac_try" in 3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3545 *) ac_try_echo=$ac_try;; 3546 esac 3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3548 $as_echo "$ac_try_echo"; } >&5 3549 (eval "$ac_link") 2>&5 3550 ac_status=$? 3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3552 test $ac_status = 0; } 3553 if { ac_try='./conftest$ac_cv_exeext' 3554 { { case "(($ac_try" in 3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3556 *) ac_try_echo=$ac_try;; 3557 esac 3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3559 $as_echo "$ac_try_echo"; } >&5 3560 (eval "$ac_try") 2>&5 3561 ac_status=$? 3562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3563 test $ac_status = 0; }; }; then 3564 cross_compiling=no 3565 else 3566 if test "$cross_compiling" = maybe; then 3567 cross_compiling=yes 3568 else 3569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3571 as_fn_error $? "cannot run C compiled programs. 3572 If you meant to cross compile, use \`--host'. 3573 See \`config.log' for more details" "$LINENO" 5; } 3574 fi 3575 fi 3576 fi 3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3578 $as_echo "$cross_compiling" >&6; } 3579 3580 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3581 ac_clean_files=$ac_clean_files_save 3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3583 $as_echo_n "checking for suffix of object files... " >&6; } 3584 if ${ac_cv_objext+:} false; then : 3585 $as_echo_n "(cached) " >&6 3586 else 3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3588 /* end confdefs.h. */ 3589 3590 int 3591 main () 3592 { 3593 3594 ; 3595 return 0; 3596 } 3597 _ACEOF 3598 rm -f conftest.o conftest.obj 3599 if { { ac_try="$ac_compile" 3600 case "(($ac_try" in 3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3602 *) ac_try_echo=$ac_try;; 3603 esac 3604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3605 $as_echo "$ac_try_echo"; } >&5 3606 (eval "$ac_compile") 2>&5 3607 ac_status=$? 3608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3609 test $ac_status = 0; }; then : 3610 for ac_file in conftest.o conftest.obj conftest.*; do 3611 test -f "$ac_file" || continue; 3612 case $ac_file in 3613 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3614 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3615 break;; 3616 esac 3617 done 3618 else 3619 $as_echo "$as_me: failed program was:" >&5 3620 sed 's/^/| /' conftest.$ac_ext >&5 3621 3622 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3624 as_fn_error $? "cannot compute suffix of object files: cannot compile 3625 See \`config.log' for more details" "$LINENO" 5; } 3626 fi 3627 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3628 fi 3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3630 $as_echo "$ac_cv_objext" >&6; } 3631 OBJEXT=$ac_cv_objext 3632 ac_objext=$OBJEXT 3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3634 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3635 if ${ac_cv_c_compiler_gnu+:} false; then : 3636 $as_echo_n "(cached) " >&6 3637 else 3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3639 /* end confdefs.h. */ 3640 3641 int 3642 main () 3643 { 3644 #ifndef __GNUC__ 3645 choke me 3646 #endif 3647 3648 ; 3649 return 0; 3650 } 3651 _ACEOF 3652 if ac_fn_c_try_compile "$LINENO"; then : 3653 ac_compiler_gnu=yes 3654 else 3655 ac_compiler_gnu=no 3656 fi 3657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3658 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3659 3660 fi 3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3662 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3663 if test $ac_compiler_gnu = yes; then 3664 GCC=yes 3665 else 3666 GCC= 3667 fi 3668 ac_test_CFLAGS=${CFLAGS+set} 3669 ac_save_CFLAGS=$CFLAGS 3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3671 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3672 if ${ac_cv_prog_cc_g+:} false; then : 3673 $as_echo_n "(cached) " >&6 3674 else 3675 ac_save_c_werror_flag=$ac_c_werror_flag 3676 ac_c_werror_flag=yes 3677 ac_cv_prog_cc_g=no 3678 CFLAGS="-g" 3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3680 /* end confdefs.h. */ 3681 3682 int 3683 main () 3684 { 3685 3686 ; 3687 return 0; 3688 } 3689 _ACEOF 3690 if ac_fn_c_try_compile "$LINENO"; then : 3691 ac_cv_prog_cc_g=yes 3692 else 3693 CFLAGS="" 3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3695 /* end confdefs.h. */ 3696 3697 int 3698 main () 3699 { 3700 3701 ; 3702 return 0; 3703 } 3704 _ACEOF 3705 if ac_fn_c_try_compile "$LINENO"; then : 3706 3707 else 3708 ac_c_werror_flag=$ac_save_c_werror_flag 3709 CFLAGS="-g" 3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3711 /* end confdefs.h. */ 3712 3713 int 3714 main () 3715 { 3716 3717 ; 3718 return 0; 3719 } 3720 _ACEOF 3721 if ac_fn_c_try_compile "$LINENO"; then : 3722 ac_cv_prog_cc_g=yes 3723 fi 3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3725 fi 3726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3727 fi 3728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3729 ac_c_werror_flag=$ac_save_c_werror_flag 3730 fi 3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3732 $as_echo "$ac_cv_prog_cc_g" >&6; } 3733 if test "$ac_test_CFLAGS" = set; then 3734 CFLAGS=$ac_save_CFLAGS 3735 elif test $ac_cv_prog_cc_g = yes; then 3736 if test "$GCC" = yes; then 3737 CFLAGS="-g -O2" 3738 else 3739 CFLAGS="-g" 3740 fi 3741 else 3742 if test "$GCC" = yes; then 3743 CFLAGS="-O2" 3744 else 3745 CFLAGS= 3746 fi 3747 fi 3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3749 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3750 if ${ac_cv_prog_cc_c89+:} false; then : 3751 $as_echo_n "(cached) " >&6 3752 else 3753 ac_cv_prog_cc_c89=no 3754 ac_save_CC=$CC 3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3756 /* end confdefs.h. */ 3757 #include <stdarg.h> 3758 #include <stdio.h> 3759 struct stat; 3760 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3761 struct buf { int x; }; 3762 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3763 static char *e (p, i) 3764 char **p; 3765 int i; 3766 { 3767 return p[i]; 3768 } 3769 static char *f (char * (*g) (char **, int), char **p, ...) 3770 { 3771 char *s; 3772 va_list v; 3773 va_start (v,p); 3774 s = g (p, va_arg (v,int)); 3775 va_end (v); 3776 return s; 3777 } 3778 3779 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3780 function prototypes and stuff, but not '\xHH' hex character constants. 3781 These don't provoke an error unfortunately, instead are silently treated 3782 as 'x'. The following induces an error, until -std is added to get 3783 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3784 array size at least. It's necessary to write '\x00'==0 to get something 3785 that's true only with -std. */ 3786 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3787 3788 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3789 inside strings and character constants. */ 3790 #define FOO(x) 'x' 3791 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3792 3793 int test (int i, double x); 3794 struct s1 {int (*f) (int a);}; 3795 struct s2 {int (*f) (double a);}; 3796 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3797 int argc; 3798 char **argv; 3799 int 3800 main () 3801 { 3802 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3803 ; 3804 return 0; 3805 } 3806 _ACEOF 3807 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3808 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3809 do 3810 CC="$ac_save_CC $ac_arg" 3811 if ac_fn_c_try_compile "$LINENO"; then : 3812 ac_cv_prog_cc_c89=$ac_arg 3813 fi 3814 rm -f core conftest.err conftest.$ac_objext 3815 test "x$ac_cv_prog_cc_c89" != "xno" && break 3816 done 3817 rm -f conftest.$ac_ext 3818 CC=$ac_save_CC 3819 3820 fi 3821 # AC_CACHE_VAL 3822 case "x$ac_cv_prog_cc_c89" in 3823 x) 3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3825 $as_echo "none needed" >&6; } ;; 3826 xno) 3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3828 $as_echo "unsupported" >&6; } ;; 3829 *) 3830 CC="$CC $ac_cv_prog_cc_c89" 3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3832 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3833 esac 3834 if test "x$ac_cv_prog_cc_c89" != xno; then : 3835 3836 fi 3837 3838 ac_ext=c 3839 ac_cpp='$CPP $CPPFLAGS' 3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3843 3844 ac_ext=c 3845 ac_cpp='$CPP $CPPFLAGS' 3846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3848 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3850 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3851 if ${am_cv_prog_cc_c_o+:} false; then : 3852 $as_echo_n "(cached) " >&6 3853 else 3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3855 /* end confdefs.h. */ 3856 3857 int 3858 main () 3859 { 3860 3861 ; 3862 return 0; 3863 } 3864 _ACEOF 3865 # Make sure it works both with $CC and with simple cc. 3866 # Following AC_PROG_CC_C_O, we do the test twice because some 3867 # compilers refuse to overwrite an existing .o file with -o, 3868 # though they will create one. 3869 am_cv_prog_cc_c_o=yes 3870 for am_i in 1 2; do 3871 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3872 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3873 ac_status=$? 3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3875 (exit $ac_status); } \ 3876 && test -f conftest2.$ac_objext; then 3877 : OK 3878 else 3879 am_cv_prog_cc_c_o=no 3880 break 3881 fi 3882 done 3883 rm -f core conftest* 3884 unset am_i 3885 fi 3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3887 $as_echo "$am_cv_prog_cc_c_o" >&6; } 3888 if test "$am_cv_prog_cc_c_o" != yes; then 3889 # Losing compiler, so override with the script. 3890 # FIXME: It is wrong to rewrite CC. 3891 # But if we don't then we get into trouble of one sort or another. 3892 # A longer-term fix would be to have automake use am__CC in this case, 3893 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3894 CC="$am_aux_dir/compile $CC" 3895 fi 3896 ac_ext=c 3897 ac_cpp='$CPP $CPPFLAGS' 3898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3900 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3901 3902 3903 depcc="$CC" am_compiler_list= 3904 3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3906 $as_echo_n "checking dependency style of $depcc... " >&6; } 3907 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3908 $as_echo_n "(cached) " >&6 3909 else 3910 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3911 # We make a subdir and do the tests there. Otherwise we can end up 3912 # making bogus files that we don't know about and never remove. For 3913 # instance it was reported that on HP-UX the gcc test will end up 3914 # making a dummy file named 'D' -- because '-MD' means "put the output 3915 # in D". 3916 rm -rf conftest.dir 3917 mkdir conftest.dir 3918 # Copy depcomp to subdir because otherwise we won't find it if we're 3919 # using a relative directory. 3920 cp "$am_depcomp" conftest.dir 3921 cd conftest.dir 3922 # We will build objects and dependencies in a subdirectory because 3923 # it helps to detect inapplicable dependency modes. For instance 3924 # both Tru64's cc and ICC support -MD to output dependencies as a 3925 # side effect of compilation, but ICC will put the dependencies in 3926 # the current directory while Tru64 will put them in the object 3927 # directory. 3928 mkdir sub 3929 3930 am_cv_CC_dependencies_compiler_type=none 3931 if test "$am_compiler_list" = ""; then 3932 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3933 fi 3934 am__universal=false 3935 case " $depcc " in #( 3936 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3937 esac 3938 3939 for depmode in $am_compiler_list; do 3940 # Setup a source with many dependencies, because some compilers 3941 # like to wrap large dependency lists on column 80 (with \), and 3942 # we should not choose a depcomp mode which is confused by this. 3943 # 3944 # We need to recreate these files for each test, as the compiler may 3945 # overwrite some of them when testing with obscure command lines. 3946 # This happens at least with the AIX C compiler. 3947 : > sub/conftest.c 3948 for i in 1 2 3 4 5 6; do 3949 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3950 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3951 # Solaris 10 /bin/sh. 3952 echo '/* dummy */' > sub/conftst$i.h 3953 done 3954 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3955 3956 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3957 # mode. It turns out that the SunPro C++ compiler does not properly 3958 # handle '-M -o', and we need to detect this. Also, some Intel 3959 # versions had trouble with output in subdirs. 3960 am__obj=sub/conftest.${OBJEXT-o} 3961 am__minus_obj="-o $am__obj" 3962 case $depmode in 3963 gcc) 3964 # This depmode causes a compiler race in universal mode. 3965 test "$am__universal" = false || continue 3966 ;; 3967 nosideeffect) 3968 # After this tag, mechanisms are not by side-effect, so they'll 3969 # only be used when explicitly requested. 3970 if test "x$enable_dependency_tracking" = xyes; then 3971 continue 3972 else 3973 break 3974 fi 3975 ;; 3976 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3977 # This compiler won't grok '-c -o', but also, the minuso test has 3978 # not run yet. These depmodes are late enough in the game, and 3979 # so weak that their functioning should not be impacted. 3980 am__obj=conftest.${OBJEXT-o} 3981 am__minus_obj= 3982 ;; 3983 none) break ;; 3984 esac 3985 if depmode=$depmode \ 3986 source=sub/conftest.c object=$am__obj \ 3987 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3988 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3989 >/dev/null 2>conftest.err && 3990 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3991 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3992 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3993 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3994 # icc doesn't choke on unknown options, it will just issue warnings 3995 # or remarks (even with -Werror). So we grep stderr for any message 3996 # that says an option was ignored or not supported. 3997 # When given -MP, icc 7.0 and 7.1 complain thusly: 3998 # icc: Command line warning: ignoring option '-M'; no argument required 3999 # The diagnosis changed in icc 8.0: 4000 # icc: Command line remark: option '-MP' not supported 4001 if (grep 'ignoring option' conftest.err || 4002 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4003 am_cv_CC_dependencies_compiler_type=$depmode 4004 break 4005 fi 4006 fi 4007 done 4008 4009 cd .. 4010 rm -rf conftest.dir 4011 else 4012 am_cv_CC_dependencies_compiler_type=none 4013 fi 4014 4015 fi 4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4017 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4018 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4019 4020 if 4021 test "x$enable_dependency_tracking" != xno \ 4022 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4023 am__fastdepCC_TRUE= 4024 am__fastdepCC_FALSE='#' 4025 else 4026 am__fastdepCC_TRUE='#' 4027 am__fastdepCC_FALSE= 4028 fi 4029 4030 4031 4032 if test -n "$ac_tool_prefix"; then 4033 for ac_prog in ar lib "link -lib" 4034 do 4035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4038 $as_echo_n "checking for $ac_word... " >&6; } 4039 if ${ac_cv_prog_AR+:} false; then : 4040 $as_echo_n "(cached) " >&6 4041 else 4042 if test -n "$AR"; then 4043 ac_cv_prog_AR="$AR" # Let the user override the test. 4044 else 4045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4046 for as_dir in $PATH 4047 do 4048 IFS=$as_save_IFS 4049 test -z "$as_dir" && as_dir=. 4050 for ac_exec_ext in '' $ac_executable_extensions; do 4051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4052 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4054 break 2 4055 fi 4056 done 4057 done 4058 IFS=$as_save_IFS 4059 4060 fi 4061 fi 4062 AR=$ac_cv_prog_AR 4063 if test -n "$AR"; then 4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4065 $as_echo "$AR" >&6; } 4066 else 4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4068 $as_echo "no" >&6; } 4069 fi 4070 4071 4072 test -n "$AR" && break 4073 done 4074 fi 4075 if test -z "$AR"; then 4076 ac_ct_AR=$AR 4077 for ac_prog in ar lib "link -lib" 4078 do 4079 # Extract the first word of "$ac_prog", so it can be a program name with args. 4080 set dummy $ac_prog; ac_word=$2 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4082 $as_echo_n "checking for $ac_word... " >&6; } 4083 if ${ac_cv_prog_ac_ct_AR+:} false; then : 4084 $as_echo_n "(cached) " >&6 4085 else 4086 if test -n "$ac_ct_AR"; then 4087 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4088 else 4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4090 for as_dir in $PATH 4091 do 4092 IFS=$as_save_IFS 4093 test -z "$as_dir" && as_dir=. 4094 for ac_exec_ext in '' $ac_executable_extensions; do 4095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4096 ac_cv_prog_ac_ct_AR="$ac_prog" 4097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4098 break 2 4099 fi 4100 done 4101 done 4102 IFS=$as_save_IFS 4103 4104 fi 4105 fi 4106 ac_ct_AR=$ac_cv_prog_ac_ct_AR 4107 if test -n "$ac_ct_AR"; then 4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4109 $as_echo "$ac_ct_AR" >&6; } 4110 else 4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4112 $as_echo "no" >&6; } 4113 fi 4114 4115 4116 test -n "$ac_ct_AR" && break 4117 done 4118 4119 if test "x$ac_ct_AR" = x; then 4120 AR="false" 4121 else 4122 case $cross_compiling:$ac_tool_warned in 4123 yes:) 4124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4126 ac_tool_warned=yes ;; 4127 esac 4128 AR=$ac_ct_AR 4129 fi 4130 fi 4131 4132 : ${AR=ar} 4133 4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4135 $as_echo_n "checking the archiver ($AR) interface... " >&6; } 4136 if ${am_cv_ar_interface+:} false; then : 4137 $as_echo_n "(cached) " >&6 4138 else 4139 ac_ext=c 4140 ac_cpp='$CPP $CPPFLAGS' 4141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4143 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4144 4145 am_cv_ar_interface=ar 4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4147 /* end confdefs.h. */ 4148 int some_variable = 0; 4149 _ACEOF 4150 if ac_fn_c_try_compile "$LINENO"; then : 4151 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4152 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4153 (eval $am_ar_try) 2>&5 4154 ac_status=$? 4155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4156 test $ac_status = 0; } 4157 if test "$ac_status" -eq 0; then 4158 am_cv_ar_interface=ar 4159 else 4160 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4161 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4162 (eval $am_ar_try) 2>&5 4163 ac_status=$? 4164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4165 test $ac_status = 0; } 4166 if test "$ac_status" -eq 0; then 4167 am_cv_ar_interface=lib 4168 else 4169 am_cv_ar_interface=unknown 4170 fi 4171 fi 4172 rm -f conftest.lib libconftest.a 4173 4174 fi 4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4176 ac_ext=c 4177 ac_cpp='$CPP $CPPFLAGS' 4178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4180 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4181 4182 fi 4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4184 $as_echo "$am_cv_ar_interface" >&6; } 4185 4186 case $am_cv_ar_interface in 4187 ar) 4188 ;; 4189 lib) 4190 # Microsoft lib, so override with the ar-lib wrapper script. 4191 # FIXME: It is wrong to rewrite AR. 4192 # But if we don't then we get into trouble of one sort or another. 4193 # A longer-term fix would be to have automake use am__AR in this case, 4194 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4195 # similar. 4196 AR="$am_aux_dir/ar-lib $AR" 4197 ;; 4198 unknown) 4199 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4200 ;; 4201 esac 4202 4203 4204 # Check whether --enable-silent-rules was given. 4205 if test "${enable_silent_rules+set}" = set; then : 4206 enableval=$enable_silent_rules; 4207 fi 4208 4209 case $enable_silent_rules in # ((( 4210 yes) AM_DEFAULT_VERBOSITY=0;; 4211 no) AM_DEFAULT_VERBOSITY=1;; 4212 *) AM_DEFAULT_VERBOSITY=0;; 4213 esac 4214 am_make=${MAKE-make} 4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 4216 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 4217 if ${am_cv_make_support_nested_variables+:} false; then : 4218 $as_echo_n "(cached) " >&6 4219 else 4220 if $as_echo 'TRUE=$(BAR$(V)) 4221 BAR0=false 4222 BAR1=true 4223 V=1 4224 am__doit: 4225 @$(TRUE) 4226 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 4227 am_cv_make_support_nested_variables=yes 4228 else 4229 am_cv_make_support_nested_variables=no 4230 fi 4231 fi 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 4233 $as_echo "$am_cv_make_support_nested_variables" >&6; } 4234 if test $am_cv_make_support_nested_variables = yes; then 4235 AM_V='$(V)' 4236 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 4237 else 4238 AM_V=$AM_DEFAULT_VERBOSITY 4239 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 4240 fi 4241 AM_BACKSLASH='\' 4242 4243 4244 ac_ext=c 4245 ac_cpp='$CPP $CPPFLAGS' 4246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4248 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4249 if test -n "$ac_tool_prefix"; then 4250 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4251 set dummy ${ac_tool_prefix}gcc; ac_word=$2 4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4253 $as_echo_n "checking for $ac_word... " >&6; } 4254 if ${ac_cv_prog_CC+:} false; then : 4255 $as_echo_n "(cached) " >&6 4256 else 4257 if test -n "$CC"; then 4258 ac_cv_prog_CC="$CC" # Let the user override the test. 4259 else 4260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4261 for as_dir in $PATH 4262 do 4263 IFS=$as_save_IFS 4264 test -z "$as_dir" && as_dir=. 4265 for ac_exec_ext in '' $ac_executable_extensions; do 4266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4267 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4269 break 2 4270 fi 4271 done 4272 done 4273 IFS=$as_save_IFS 4274 4275 fi 4276 fi 4277 CC=$ac_cv_prog_CC 4278 if test -n "$CC"; then 4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4280 $as_echo "$CC" >&6; } 4281 else 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4283 $as_echo "no" >&6; } 4284 fi 4285 4286 4287 fi 4288 if test -z "$ac_cv_prog_CC"; then 4289 ac_ct_CC=$CC 4290 # Extract the first word of "gcc", so it can be a program name with args. 4291 set dummy gcc; ac_word=$2 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4293 $as_echo_n "checking for $ac_word... " >&6; } 4294 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4295 $as_echo_n "(cached) " >&6 4296 else 4297 if test -n "$ac_ct_CC"; then 4298 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4299 else 4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4301 for as_dir in $PATH 4302 do 4303 IFS=$as_save_IFS 4304 test -z "$as_dir" && as_dir=. 4305 for ac_exec_ext in '' $ac_executable_extensions; do 4306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4307 ac_cv_prog_ac_ct_CC="gcc" 4308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4309 break 2 4310 fi 4311 done 4312 done 4313 IFS=$as_save_IFS 4314 4315 fi 4316 fi 4317 ac_ct_CC=$ac_cv_prog_ac_ct_CC 4318 if test -n "$ac_ct_CC"; then 4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4320 $as_echo "$ac_ct_CC" >&6; } 4321 else 4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4323 $as_echo "no" >&6; } 4324 fi 4325 4326 if test "x$ac_ct_CC" = x; then 4327 CC="" 4328 else 4329 case $cross_compiling:$ac_tool_warned in 4330 yes:) 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4333 ac_tool_warned=yes ;; 4334 esac 4335 CC=$ac_ct_CC 4336 fi 4337 else 4338 CC="$ac_cv_prog_CC" 4339 fi 4340 4341 if test -z "$CC"; then 4342 if test -n "$ac_tool_prefix"; then 4343 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4344 set dummy ${ac_tool_prefix}cc; ac_word=$2 4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4346 $as_echo_n "checking for $ac_word... " >&6; } 4347 if ${ac_cv_prog_CC+:} false; then : 4348 $as_echo_n "(cached) " >&6 4349 else 4350 if test -n "$CC"; then 4351 ac_cv_prog_CC="$CC" # Let the user override the test. 4352 else 4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4354 for as_dir in $PATH 4355 do 4356 IFS=$as_save_IFS 4357 test -z "$as_dir" && as_dir=. 4358 for ac_exec_ext in '' $ac_executable_extensions; do 4359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4360 ac_cv_prog_CC="${ac_tool_prefix}cc" 4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4362 break 2 4363 fi 4364 done 4365 done 4366 IFS=$as_save_IFS 4367 4368 fi 4369 fi 4370 CC=$ac_cv_prog_CC 4371 if test -n "$CC"; then 4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4373 $as_echo "$CC" >&6; } 4374 else 4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4376 $as_echo "no" >&6; } 4377 fi 4378 4379 4380 fi 4381 fi 4382 if test -z "$CC"; then 4383 # Extract the first word of "cc", so it can be a program name with args. 4384 set dummy cc; ac_word=$2 4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4386 $as_echo_n "checking for $ac_word... " >&6; } 4387 if ${ac_cv_prog_CC+:} false; then : 4388 $as_echo_n "(cached) " >&6 4389 else 4390 if test -n "$CC"; then 4391 ac_cv_prog_CC="$CC" # Let the user override the test. 4392 else 4393 ac_prog_rejected=no 4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4395 for as_dir in $PATH 4396 do 4397 IFS=$as_save_IFS 4398 test -z "$as_dir" && as_dir=. 4399 for ac_exec_ext in '' $ac_executable_extensions; do 4400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4401 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4402 ac_prog_rejected=yes 4403 continue 4404 fi 4405 ac_cv_prog_CC="cc" 4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4407 break 2 4408 fi 4409 done 4410 done 4411 IFS=$as_save_IFS 4412 4413 if test $ac_prog_rejected = yes; then 4414 # We found a bogon in the path, so make sure we never use it. 4415 set dummy $ac_cv_prog_CC 4416 shift 4417 if test $# != 0; then 4418 # We chose a different compiler from the bogus one. 4419 # However, it has the same basename, so the bogon will be chosen 4420 # first if we set CC to just the basename; use the full file name. 4421 shift 4422 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4423 fi 4424 fi 4425 fi 4426 fi 4427 CC=$ac_cv_prog_CC 4428 if test -n "$CC"; then 4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4430 $as_echo "$CC" >&6; } 4431 else 4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4433 $as_echo "no" >&6; } 4434 fi 4435 4436 4437 fi 4438 if test -z "$CC"; then 4439 if test -n "$ac_tool_prefix"; then 4440 for ac_prog in cl.exe 4441 do 4442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4445 $as_echo_n "checking for $ac_word... " >&6; } 4446 if ${ac_cv_prog_CC+:} false; then : 4447 $as_echo_n "(cached) " >&6 4448 else 4449 if test -n "$CC"; then 4450 ac_cv_prog_CC="$CC" # Let the user override the test. 4451 else 4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4453 for as_dir in $PATH 4454 do 4455 IFS=$as_save_IFS 4456 test -z "$as_dir" && as_dir=. 4457 for ac_exec_ext in '' $ac_executable_extensions; do 4458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4459 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4461 break 2 4462 fi 4463 done 4464 done 4465 IFS=$as_save_IFS 4466 4467 fi 4468 fi 4469 CC=$ac_cv_prog_CC 4470 if test -n "$CC"; then 4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4472 $as_echo "$CC" >&6; } 4473 else 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4475 $as_echo "no" >&6; } 4476 fi 4477 4478 4479 test -n "$CC" && break 4480 done 4481 fi 4482 if test -z "$CC"; then 4483 ac_ct_CC=$CC 4484 for ac_prog in cl.exe 4485 do 4486 # Extract the first word of "$ac_prog", so it can be a program name with args. 4487 set dummy $ac_prog; ac_word=$2 4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4489 $as_echo_n "checking for $ac_word... " >&6; } 4490 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4491 $as_echo_n "(cached) " >&6 4492 else 4493 if test -n "$ac_ct_CC"; then 4494 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4495 else 4496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4497 for as_dir in $PATH 4498 do 4499 IFS=$as_save_IFS 4500 test -z "$as_dir" && as_dir=. 4501 for ac_exec_ext in '' $ac_executable_extensions; do 4502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4503 ac_cv_prog_ac_ct_CC="$ac_prog" 4504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4505 break 2 4506 fi 4507 done 4508 done 4509 IFS=$as_save_IFS 4510 4511 fi 4512 fi 4513 ac_ct_CC=$ac_cv_prog_ac_ct_CC 4514 if test -n "$ac_ct_CC"; then 4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4516 $as_echo "$ac_ct_CC" >&6; } 4517 else 4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4519 $as_echo "no" >&6; } 4520 fi 4521 4522 4523 test -n "$ac_ct_CC" && break 4524 done 4525 4526 if test "x$ac_ct_CC" = x; then 4527 CC="" 4528 else 4529 case $cross_compiling:$ac_tool_warned in 4530 yes:) 4531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4533 ac_tool_warned=yes ;; 4534 esac 4535 CC=$ac_ct_CC 4536 fi 4537 fi 4538 4539 fi 4540 4541 4542 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4544 as_fn_error $? "no acceptable C compiler found in \$PATH 4545 See \`config.log' for more details" "$LINENO" 5; } 4546 4547 # Provide some information about the compiler. 4548 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4549 set X $ac_compile 4550 ac_compiler=$2 4551 for ac_option in --version -v -V -qversion; do 4552 { { ac_try="$ac_compiler $ac_option >&5" 4553 case "(($ac_try" in 4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4555 *) ac_try_echo=$ac_try;; 4556 esac 4557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4558 $as_echo "$ac_try_echo"; } >&5 4559 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4560 ac_status=$? 4561 if test -s conftest.err; then 4562 sed '10a\ 4563 ... rest of stderr output deleted ... 4564 10q' conftest.err >conftest.er1 4565 cat conftest.er1 >&5 4566 fi 4567 rm -f conftest.er1 conftest.err 4568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4569 test $ac_status = 0; } 4570 done 4571 4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4573 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4574 if ${ac_cv_c_compiler_gnu+:} false; then : 4575 $as_echo_n "(cached) " >&6 4576 else 4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4578 /* end confdefs.h. */ 4579 4580 int 4581 main () 4582 { 4583 #ifndef __GNUC__ 4584 choke me 4585 #endif 4586 4587 ; 4588 return 0; 4589 } 4590 _ACEOF 4591 if ac_fn_c_try_compile "$LINENO"; then : 4592 ac_compiler_gnu=yes 4593 else 4594 ac_compiler_gnu=no 4595 fi 4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4597 ac_cv_c_compiler_gnu=$ac_compiler_gnu 4598 4599 fi 4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4601 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4602 if test $ac_compiler_gnu = yes; then 4603 GCC=yes 4604 else 4605 GCC= 4606 fi 4607 ac_test_CFLAGS=${CFLAGS+set} 4608 ac_save_CFLAGS=$CFLAGS 4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4610 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4611 if ${ac_cv_prog_cc_g+:} false; then : 4612 $as_echo_n "(cached) " >&6 4613 else 4614 ac_save_c_werror_flag=$ac_c_werror_flag 4615 ac_c_werror_flag=yes 4616 ac_cv_prog_cc_g=no 4617 CFLAGS="-g" 4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4619 /* end confdefs.h. */ 4620 4621 int 4622 main () 4623 { 4624 4625 ; 4626 return 0; 4627 } 4628 _ACEOF 4629 if ac_fn_c_try_compile "$LINENO"; then : 4630 ac_cv_prog_cc_g=yes 4631 else 4632 CFLAGS="" 4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4634 /* end confdefs.h. */ 4635 4636 int 4637 main () 4638 { 4639 4640 ; 4641 return 0; 4642 } 4643 _ACEOF 4644 if ac_fn_c_try_compile "$LINENO"; then : 4645 4646 else 4647 ac_c_werror_flag=$ac_save_c_werror_flag 4648 CFLAGS="-g" 4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4650 /* end confdefs.h. */ 4651 4652 int 4653 main () 4654 { 4655 4656 ; 4657 return 0; 4658 } 4659 _ACEOF 4660 if ac_fn_c_try_compile "$LINENO"; then : 4661 ac_cv_prog_cc_g=yes 4662 fi 4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4664 fi 4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4666 fi 4667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4668 ac_c_werror_flag=$ac_save_c_werror_flag 4669 fi 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4671 $as_echo "$ac_cv_prog_cc_g" >&6; } 4672 if test "$ac_test_CFLAGS" = set; then 4673 CFLAGS=$ac_save_CFLAGS 4674 elif test $ac_cv_prog_cc_g = yes; then 4675 if test "$GCC" = yes; then 4676 CFLAGS="-g -O2" 4677 else 4678 CFLAGS="-g" 4679 fi 4680 else 4681 if test "$GCC" = yes; then 4682 CFLAGS="-O2" 4683 else 4684 CFLAGS= 4685 fi 4686 fi 4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4688 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4689 if ${ac_cv_prog_cc_c89+:} false; then : 4690 $as_echo_n "(cached) " >&6 4691 else 4692 ac_cv_prog_cc_c89=no 4693 ac_save_CC=$CC 4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4695 /* end confdefs.h. */ 4696 #include <stdarg.h> 4697 #include <stdio.h> 4698 struct stat; 4699 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4700 struct buf { int x; }; 4701 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4702 static char *e (p, i) 4703 char **p; 4704 int i; 4705 { 4706 return p[i]; 4707 } 4708 static char *f (char * (*g) (char **, int), char **p, ...) 4709 { 4710 char *s; 4711 va_list v; 4712 va_start (v,p); 4713 s = g (p, va_arg (v,int)); 4714 va_end (v); 4715 return s; 4716 } 4717 4718 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4719 function prototypes and stuff, but not '\xHH' hex character constants. 4720 These don't provoke an error unfortunately, instead are silently treated 4721 as 'x'. The following induces an error, until -std is added to get 4722 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4723 array size at least. It's necessary to write '\x00'==0 to get something 4724 that's true only with -std. */ 4725 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4726 4727 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4728 inside strings and character constants. */ 4729 #define FOO(x) 'x' 4730 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4731 4732 int test (int i, double x); 4733 struct s1 {int (*f) (int a);}; 4734 struct s2 {int (*f) (double a);}; 4735 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4736 int argc; 4737 char **argv; 4738 int 4739 main () 4740 { 4741 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4742 ; 4743 return 0; 4744 } 4745 _ACEOF 4746 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4747 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4748 do 4749 CC="$ac_save_CC $ac_arg" 4750 if ac_fn_c_try_compile "$LINENO"; then : 4751 ac_cv_prog_cc_c89=$ac_arg 4752 fi 4753 rm -f core conftest.err conftest.$ac_objext 4754 test "x$ac_cv_prog_cc_c89" != "xno" && break 4755 done 4756 rm -f conftest.$ac_ext 4757 CC=$ac_save_CC 4758 4759 fi 4760 # AC_CACHE_VAL 4761 case "x$ac_cv_prog_cc_c89" in 4762 x) 4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4764 $as_echo "none needed" >&6; } ;; 4765 xno) 4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4767 $as_echo "unsupported" >&6; } ;; 4768 *) 4769 CC="$CC $ac_cv_prog_cc_c89" 4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4771 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4772 esac 4773 if test "x$ac_cv_prog_cc_c89" != xno; then : 4774 4775 fi 4776 4777 ac_ext=c 4778 ac_cpp='$CPP $CPPFLAGS' 4779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4781 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4782 4783 ac_ext=c 4784 ac_cpp='$CPP $CPPFLAGS' 4785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4787 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4789 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4790 if ${am_cv_prog_cc_c_o+:} false; then : 4791 $as_echo_n "(cached) " >&6 4792 else 4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4794 /* end confdefs.h. */ 4795 4796 int 4797 main () 4798 { 4799 4800 ; 4801 return 0; 4802 } 4803 _ACEOF 4804 # Make sure it works both with $CC and with simple cc. 4805 # Following AC_PROG_CC_C_O, we do the test twice because some 4806 # compilers refuse to overwrite an existing .o file with -o, 4807 # though they will create one. 4808 am_cv_prog_cc_c_o=yes 4809 for am_i in 1 2; do 4810 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4811 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4812 ac_status=$? 4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4814 (exit $ac_status); } \ 4815 && test -f conftest2.$ac_objext; then 4816 : OK 4817 else 4818 am_cv_prog_cc_c_o=no 4819 break 4820 fi 4821 done 4822 rm -f core conftest* 4823 unset am_i 4824 fi 4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4826 $as_echo "$am_cv_prog_cc_c_o" >&6; } 4827 if test "$am_cv_prog_cc_c_o" != yes; then 4828 # Losing compiler, so override with the script. 4829 # FIXME: It is wrong to rewrite CC. 4830 # But if we don't then we get into trouble of one sort or another. 4831 # A longer-term fix would be to have automake use am__CC in this case, 4832 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4833 CC="$am_aux_dir/compile $CC" 4834 fi 4835 ac_ext=c 4836 ac_cpp='$CPP $CPPFLAGS' 4837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4839 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4840 4841 4842 depcc="$CC" am_compiler_list= 4843 4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4845 $as_echo_n "checking dependency style of $depcc... " >&6; } 4846 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4847 $as_echo_n "(cached) " >&6 4848 else 4849 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4850 # We make a subdir and do the tests there. Otherwise we can end up 4851 # making bogus files that we don't know about and never remove. For 4852 # instance it was reported that on HP-UX the gcc test will end up 4853 # making a dummy file named 'D' -- because '-MD' means "put the output 4854 # in D". 4855 rm -rf conftest.dir 4856 mkdir conftest.dir 4857 # Copy depcomp to subdir because otherwise we won't find it if we're 4858 # using a relative directory. 4859 cp "$am_depcomp" conftest.dir 4860 cd conftest.dir 4861 # We will build objects and dependencies in a subdirectory because 4862 # it helps to detect inapplicable dependency modes. For instance 4863 # both Tru64's cc and ICC support -MD to output dependencies as a 4864 # side effect of compilation, but ICC will put the dependencies in 4865 # the current directory while Tru64 will put them in the object 4866 # directory. 4867 mkdir sub 4868 4869 am_cv_CC_dependencies_compiler_type=none 4870 if test "$am_compiler_list" = ""; then 4871 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4872 fi 4873 am__universal=false 4874 case " $depcc " in #( 4875 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4876 esac 4877 4878 for depmode in $am_compiler_list; do 4879 # Setup a source with many dependencies, because some compilers 4880 # like to wrap large dependency lists on column 80 (with \), and 4881 # we should not choose a depcomp mode which is confused by this. 4882 # 4883 # We need to recreate these files for each test, as the compiler may 4884 # overwrite some of them when testing with obscure command lines. 4885 # This happens at least with the AIX C compiler. 4886 : > sub/conftest.c 4887 for i in 1 2 3 4 5 6; do 4888 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4889 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4890 # Solaris 10 /bin/sh. 4891 echo '/* dummy */' > sub/conftst$i.h 4892 done 4893 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4894 4895 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4896 # mode. It turns out that the SunPro C++ compiler does not properly 4897 # handle '-M -o', and we need to detect this. Also, some Intel 4898 # versions had trouble with output in subdirs. 4899 am__obj=sub/conftest.${OBJEXT-o} 4900 am__minus_obj="-o $am__obj" 4901 case $depmode in 4902 gcc) 4903 # This depmode causes a compiler race in universal mode. 4904 test "$am__universal" = false || continue 4905 ;; 4906 nosideeffect) 4907 # After this tag, mechanisms are not by side-effect, so they'll 4908 # only be used when explicitly requested. 4909 if test "x$enable_dependency_tracking" = xyes; then 4910 continue 4911 else 4912 break 4913 fi 4914 ;; 4915 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4916 # This compiler won't grok '-c -o', but also, the minuso test has 4917 # not run yet. These depmodes are late enough in the game, and 4918 # so weak that their functioning should not be impacted. 4919 am__obj=conftest.${OBJEXT-o} 4920 am__minus_obj= 4921 ;; 4922 none) break ;; 4923 esac 4924 if depmode=$depmode \ 4925 source=sub/conftest.c object=$am__obj \ 4926 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4927 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4928 >/dev/null 2>conftest.err && 4929 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4930 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4931 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4932 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4933 # icc doesn't choke on unknown options, it will just issue warnings 4934 # or remarks (even with -Werror). So we grep stderr for any message 4935 # that says an option was ignored or not supported. 4936 # When given -MP, icc 7.0 and 7.1 complain thusly: 4937 # icc: Command line warning: ignoring option '-M'; no argument required 4938 # The diagnosis changed in icc 8.0: 4939 # icc: Command line remark: option '-MP' not supported 4940 if (grep 'ignoring option' conftest.err || 4941 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4942 am_cv_CC_dependencies_compiler_type=$depmode 4943 break 4944 fi 4945 fi 4946 done 4947 4948 cd .. 4949 rm -rf conftest.dir 4950 else 4951 am_cv_CC_dependencies_compiler_type=none 4952 fi 4953 4954 fi 4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4956 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4957 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4958 4959 if 4960 test "x$enable_dependency_tracking" != xno \ 4961 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4962 am__fastdepCC_TRUE= 4963 am__fastdepCC_FALSE='#' 4964 else 4965 am__fastdepCC_TRUE='#' 4966 am__fastdepCC_FALSE= 4967 fi 4968 4969 4970 # Check whether --enable-static was given. 4971 if test "${enable_static+set}" = set; then : 4972 enableval=$enable_static; p=${PACKAGE-default} 4973 case $enableval in 4974 yes) enable_static=yes ;; 4975 no) enable_static=no ;; 4976 *) 4977 enable_static=no 4978 # Look at the argument we got. We use all the common list separators. 4979 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4980 for pkg in $enableval; do 4981 IFS="$lt_save_ifs" 4982 if test "X$pkg" = "X$p"; then 4983 enable_static=yes 4984 fi 4985 done 4986 IFS="$lt_save_ifs" 4987 ;; 4988 esac 4989 else 4990 enable_static=no 4991 fi 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 case `pwd` in 5002 *\ * | *\ *) 5003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5004 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5005 esac 5006 5007 5008 5009 macro_version='2.4.2' 5010 macro_revision='1.3337' 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 ltmain="$ac_aux_dir/ltmain.sh" 5025 5026 # Backslashify metacharacters that are still active within 5027 # double-quoted strings. 5028 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5029 5030 # Same as above, but do not quote variable references. 5031 double_quote_subst='s/\(["`\\]\)/\\\1/g' 5032 5033 # Sed substitution to delay expansion of an escaped shell variable in a 5034 # double_quote_subst'ed string. 5035 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5036 5037 # Sed substitution to delay expansion of an escaped single quote. 5038 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5039 5040 # Sed substitution to avoid accidental globbing in evaled expressions 5041 no_glob_subst='s/\*/\\\*/g' 5042 5043 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5044 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5045 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5046 5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5048 $as_echo_n "checking how to print strings... " >&6; } 5049 # Test print first, because it will be a builtin if present. 5050 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5051 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5052 ECHO='print -r --' 5053 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5054 ECHO='printf %s\n' 5055 else 5056 # Use this function as a fallback that always works. 5057 func_fallback_echo () 5058 { 5059 eval 'cat <<_LTECHO_EOF 5060 $1 5061 _LTECHO_EOF' 5062 } 5063 ECHO='func_fallback_echo' 5064 fi 5065 5066 # func_echo_all arg... 5067 # Invoke $ECHO with all args, space-separated. 5068 func_echo_all () 5069 { 5070 $ECHO "" 5071 } 5072 5073 case "$ECHO" in 5074 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5075 $as_echo "printf" >&6; } ;; 5076 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5077 $as_echo "print -r" >&6; } ;; 5078 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5079 $as_echo "cat" >&6; } ;; 5080 esac 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5096 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 5097 if ${ac_cv_path_SED+:} false; then : 5098 $as_echo_n "(cached) " >&6 5099 else 5100 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5101 for ac_i in 1 2 3 4 5 6 7; do 5102 ac_script="$ac_script$as_nl$ac_script" 5103 done 5104 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5105 { ac_script=; unset ac_script;} 5106 if test -z "$SED"; then 5107 ac_path_SED_found=false 5108 # Loop through the user's path and test for each of PROGNAME-LIST 5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5110 for as_dir in $PATH 5111 do 5112 IFS=$as_save_IFS 5113 test -z "$as_dir" && as_dir=. 5114 for ac_prog in sed gsed; do 5115 for ac_exec_ext in '' $ac_executable_extensions; do 5116 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5117 as_fn_executable_p "$ac_path_SED" || continue 5118 # Check for GNU ac_path_SED and select it if it is found. 5119 # Check for GNU $ac_path_SED 5120 case `"$ac_path_SED" --version 2>&1` in 5121 *GNU*) 5122 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5123 *) 5124 ac_count=0 5125 $as_echo_n 0123456789 >"conftest.in" 5126 while : 5127 do 5128 cat "conftest.in" "conftest.in" >"conftest.tmp" 5129 mv "conftest.tmp" "conftest.in" 5130 cp "conftest.in" "conftest.nl" 5131 $as_echo '' >> "conftest.nl" 5132 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5133 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5134 as_fn_arith $ac_count + 1 && ac_count=$as_val 5135 if test $ac_count -gt ${ac_path_SED_max-0}; then 5136 # Best one so far, save it but keep looking for a better one 5137 ac_cv_path_SED="$ac_path_SED" 5138 ac_path_SED_max=$ac_count 5139 fi 5140 # 10*(2^10) chars as input seems more than enough 5141 test $ac_count -gt 10 && break 5142 done 5143 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5144 esac 5145 5146 $ac_path_SED_found && break 3 5147 done 5148 done 5149 done 5150 IFS=$as_save_IFS 5151 if test -z "$ac_cv_path_SED"; then 5152 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5153 fi 5154 else 5155 ac_cv_path_SED=$SED 5156 fi 5157 5158 fi 5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5160 $as_echo "$ac_cv_path_SED" >&6; } 5161 SED="$ac_cv_path_SED" 5162 rm -f conftest.sed 5163 5164 test -z "$SED" && SED=sed 5165 Xsed="$SED -e 1s/^X//" 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5178 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5179 if ${ac_cv_path_GREP+:} false; then : 5180 $as_echo_n "(cached) " >&6 5181 else 5182 if test -z "$GREP"; then 5183 ac_path_GREP_found=false 5184 # Loop through the user's path and test for each of PROGNAME-LIST 5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5187 do 5188 IFS=$as_save_IFS 5189 test -z "$as_dir" && as_dir=. 5190 for ac_prog in grep ggrep; do 5191 for ac_exec_ext in '' $ac_executable_extensions; do 5192 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5193 as_fn_executable_p "$ac_path_GREP" || continue 5194 # Check for GNU ac_path_GREP and select it if it is found. 5195 # Check for GNU $ac_path_GREP 5196 case `"$ac_path_GREP" --version 2>&1` in 5197 *GNU*) 5198 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5199 *) 5200 ac_count=0 5201 $as_echo_n 0123456789 >"conftest.in" 5202 while : 5203 do 5204 cat "conftest.in" "conftest.in" >"conftest.tmp" 5205 mv "conftest.tmp" "conftest.in" 5206 cp "conftest.in" "conftest.nl" 5207 $as_echo 'GREP' >> "conftest.nl" 5208 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5209 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5210 as_fn_arith $ac_count + 1 && ac_count=$as_val 5211 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5212 # Best one so far, save it but keep looking for a better one 5213 ac_cv_path_GREP="$ac_path_GREP" 5214 ac_path_GREP_max=$ac_count 5215 fi 5216 # 10*(2^10) chars as input seems more than enough 5217 test $ac_count -gt 10 && break 5218 done 5219 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5220 esac 5221 5222 $ac_path_GREP_found && break 3 5223 done 5224 done 5225 done 5226 IFS=$as_save_IFS 5227 if test -z "$ac_cv_path_GREP"; then 5228 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5229 fi 5230 else 5231 ac_cv_path_GREP=$GREP 5232 fi 5233 5234 fi 5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5236 $as_echo "$ac_cv_path_GREP" >&6; } 5237 GREP="$ac_cv_path_GREP" 5238 5239 5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5241 $as_echo_n "checking for egrep... " >&6; } 5242 if ${ac_cv_path_EGREP+:} false; then : 5243 $as_echo_n "(cached) " >&6 5244 else 5245 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5246 then ac_cv_path_EGREP="$GREP -E" 5247 else 5248 if test -z "$EGREP"; then 5249 ac_path_EGREP_found=false 5250 # Loop through the user's path and test for each of PROGNAME-LIST 5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5252 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5253 do 5254 IFS=$as_save_IFS 5255 test -z "$as_dir" && as_dir=. 5256 for ac_prog in egrep; do 5257 for ac_exec_ext in '' $ac_executable_extensions; do 5258 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5259 as_fn_executable_p "$ac_path_EGREP" || continue 5260 # Check for GNU ac_path_EGREP and select it if it is found. 5261 # Check for GNU $ac_path_EGREP 5262 case `"$ac_path_EGREP" --version 2>&1` in 5263 *GNU*) 5264 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5265 *) 5266 ac_count=0 5267 $as_echo_n 0123456789 >"conftest.in" 5268 while : 5269 do 5270 cat "conftest.in" "conftest.in" >"conftest.tmp" 5271 mv "conftest.tmp" "conftest.in" 5272 cp "conftest.in" "conftest.nl" 5273 $as_echo 'EGREP' >> "conftest.nl" 5274 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5275 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5276 as_fn_arith $ac_count + 1 && ac_count=$as_val 5277 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5278 # Best one so far, save it but keep looking for a better one 5279 ac_cv_path_EGREP="$ac_path_EGREP" 5280 ac_path_EGREP_max=$ac_count 5281 fi 5282 # 10*(2^10) chars as input seems more than enough 5283 test $ac_count -gt 10 && break 5284 done 5285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5286 esac 5287 5288 $ac_path_EGREP_found && break 3 5289 done 5290 done 5291 done 5292 IFS=$as_save_IFS 5293 if test -z "$ac_cv_path_EGREP"; then 5294 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5295 fi 5296 else 5297 ac_cv_path_EGREP=$EGREP 5298 fi 5299 5300 fi 5301 fi 5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5303 $as_echo "$ac_cv_path_EGREP" >&6; } 5304 EGREP="$ac_cv_path_EGREP" 5305 5306 5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5308 $as_echo_n "checking for fgrep... " >&6; } 5309 if ${ac_cv_path_FGREP+:} false; then : 5310 $as_echo_n "(cached) " >&6 5311 else 5312 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5313 then ac_cv_path_FGREP="$GREP -F" 5314 else 5315 if test -z "$FGREP"; then 5316 ac_path_FGREP_found=false 5317 # Loop through the user's path and test for each of PROGNAME-LIST 5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5320 do 5321 IFS=$as_save_IFS 5322 test -z "$as_dir" && as_dir=. 5323 for ac_prog in fgrep; do 5324 for ac_exec_ext in '' $ac_executable_extensions; do 5325 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5326 as_fn_executable_p "$ac_path_FGREP" || continue 5327 # Check for GNU ac_path_FGREP and select it if it is found. 5328 # Check for GNU $ac_path_FGREP 5329 case `"$ac_path_FGREP" --version 2>&1` in 5330 *GNU*) 5331 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5332 *) 5333 ac_count=0 5334 $as_echo_n 0123456789 >"conftest.in" 5335 while : 5336 do 5337 cat "conftest.in" "conftest.in" >"conftest.tmp" 5338 mv "conftest.tmp" "conftest.in" 5339 cp "conftest.in" "conftest.nl" 5340 $as_echo 'FGREP' >> "conftest.nl" 5341 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5342 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5343 as_fn_arith $ac_count + 1 && ac_count=$as_val 5344 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5345 # Best one so far, save it but keep looking for a better one 5346 ac_cv_path_FGREP="$ac_path_FGREP" 5347 ac_path_FGREP_max=$ac_count 5348 fi 5349 # 10*(2^10) chars as input seems more than enough 5350 test $ac_count -gt 10 && break 5351 done 5352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5353 esac 5354 5355 $ac_path_FGREP_found && break 3 5356 done 5357 done 5358 done 5359 IFS=$as_save_IFS 5360 if test -z "$ac_cv_path_FGREP"; then 5361 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5362 fi 5363 else 5364 ac_cv_path_FGREP=$FGREP 5365 fi 5366 5367 fi 5368 fi 5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5370 $as_echo "$ac_cv_path_FGREP" >&6; } 5371 FGREP="$ac_cv_path_FGREP" 5372 5373 5374 test -z "$GREP" && GREP=grep 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 # Check whether --with-gnu-ld was given. 5395 if test "${with_gnu_ld+set}" = set; then : 5396 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5397 else 5398 with_gnu_ld=no 5399 fi 5400 5401 ac_prog=ld 5402 if test "$GCC" = yes; then 5403 # Check if gcc -print-prog-name=ld gives a path. 5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5405 $as_echo_n "checking for ld used by $CC... " >&6; } 5406 case $host in 5407 *-*-mingw*) 5408 # gcc leaves a trailing carriage return which upsets mingw 5409 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5410 *) 5411 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5412 esac 5413 case $ac_prog in 5414 # Accept absolute paths. 5415 [\\/]* | ?:[\\/]*) 5416 re_direlt='/[^/][^/]*/\.\./' 5417 # Canonicalize the pathname of ld 5418 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5419 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5420 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5421 done 5422 test -z "$LD" && LD="$ac_prog" 5423 ;; 5424 "") 5425 # If it fails, then pretend we aren't using GCC. 5426 ac_prog=ld 5427 ;; 5428 *) 5429 # If it is relative, then search for the first ld in PATH. 5430 with_gnu_ld=unknown 5431 ;; 5432 esac 5433 elif test "$with_gnu_ld" = yes; then 5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5435 $as_echo_n "checking for GNU ld... " >&6; } 5436 else 5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5438 $as_echo_n "checking for non-GNU ld... " >&6; } 5439 fi 5440 if ${lt_cv_path_LD+:} false; then : 5441 $as_echo_n "(cached) " >&6 5442 else 5443 if test -z "$LD"; then 5444 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5445 for ac_dir in $PATH; do 5446 IFS="$lt_save_ifs" 5447 test -z "$ac_dir" && ac_dir=. 5448 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5449 lt_cv_path_LD="$ac_dir/$ac_prog" 5450 # Check to see if the program is GNU ld. I'd rather use --version, 5451 # but apparently some variants of GNU ld only accept -v. 5452 # Break only if it was the GNU/non-GNU ld that we prefer. 5453 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5454 *GNU* | *'with BFD'*) 5455 test "$with_gnu_ld" != no && break 5456 ;; 5457 *) 5458 test "$with_gnu_ld" != yes && break 5459 ;; 5460 esac 5461 fi 5462 done 5463 IFS="$lt_save_ifs" 5464 else 5465 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5466 fi 5467 fi 5468 5469 LD="$lt_cv_path_LD" 5470 if test -n "$LD"; then 5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5472 $as_echo "$LD" >&6; } 5473 else 5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5475 $as_echo "no" >&6; } 5476 fi 5477 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5479 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5480 if ${lt_cv_prog_gnu_ld+:} false; then : 5481 $as_echo_n "(cached) " >&6 5482 else 5483 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5484 case `$LD -v 2>&1 </dev/null` in 5485 *GNU* | *'with BFD'*) 5486 lt_cv_prog_gnu_ld=yes 5487 ;; 5488 *) 5489 lt_cv_prog_gnu_ld=no 5490 ;; 5491 esac 5492 fi 5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5494 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 5495 with_gnu_ld=$lt_cv_prog_gnu_ld 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5506 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5507 if ${lt_cv_path_NM+:} false; then : 5508 $as_echo_n "(cached) " >&6 5509 else 5510 if test -n "$NM"; then 5511 # Let the user override the test. 5512 lt_cv_path_NM="$NM" 5513 else 5514 lt_nm_to_check="${ac_tool_prefix}nm" 5515 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5516 lt_nm_to_check="$lt_nm_to_check nm" 5517 fi 5518 for lt_tmp_nm in $lt_nm_to_check; do 5519 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5520 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5521 IFS="$lt_save_ifs" 5522 test -z "$ac_dir" && ac_dir=. 5523 tmp_nm="$ac_dir/$lt_tmp_nm" 5524 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5525 # Check to see if the nm accepts a BSD-compat flag. 5526 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5527 # nm: unknown option "B" ignored 5528 # Tru64's nm complains that /dev/null is an invalid object file 5529 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5530 */dev/null* | *'Invalid file or object type'*) 5531 lt_cv_path_NM="$tmp_nm -B" 5532 break 5533 ;; 5534 *) 5535 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5536 */dev/null*) 5537 lt_cv_path_NM="$tmp_nm -p" 5538 break 5539 ;; 5540 *) 5541 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5542 continue # so that we can try to find one that supports BSD flags 5543 ;; 5544 esac 5545 ;; 5546 esac 5547 fi 5548 done 5549 IFS="$lt_save_ifs" 5550 done 5551 : ${lt_cv_path_NM=no} 5552 fi 5553 fi 5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5555 $as_echo "$lt_cv_path_NM" >&6; } 5556 if test "$lt_cv_path_NM" != "no"; then 5557 NM="$lt_cv_path_NM" 5558 else 5559 # Didn't find any BSD compatible name lister, look for dumpbin. 5560 if test -n "$DUMPBIN"; then : 5561 # Let the user override the test. 5562 else 5563 if test -n "$ac_tool_prefix"; then 5564 for ac_prog in dumpbin "link -dump" 5565 do 5566 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5567 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5569 $as_echo_n "checking for $ac_word... " >&6; } 5570 if ${ac_cv_prog_DUMPBIN+:} false; then : 5571 $as_echo_n "(cached) " >&6 5572 else 5573 if test -n "$DUMPBIN"; then 5574 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5575 else 5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5577 for as_dir in $PATH 5578 do 5579 IFS=$as_save_IFS 5580 test -z "$as_dir" && as_dir=. 5581 for ac_exec_ext in '' $ac_executable_extensions; do 5582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5583 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5585 break 2 5586 fi 5587 done 5588 done 5589 IFS=$as_save_IFS 5590 5591 fi 5592 fi 5593 DUMPBIN=$ac_cv_prog_DUMPBIN 5594 if test -n "$DUMPBIN"; then 5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5596 $as_echo "$DUMPBIN" >&6; } 5597 else 5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5599 $as_echo "no" >&6; } 5600 fi 5601 5602 5603 test -n "$DUMPBIN" && break 5604 done 5605 fi 5606 if test -z "$DUMPBIN"; then 5607 ac_ct_DUMPBIN=$DUMPBIN 5608 for ac_prog in dumpbin "link -dump" 5609 do 5610 # Extract the first word of "$ac_prog", so it can be a program name with args. 5611 set dummy $ac_prog; ac_word=$2 5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5613 $as_echo_n "checking for $ac_word... " >&6; } 5614 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5615 $as_echo_n "(cached) " >&6 5616 else 5617 if test -n "$ac_ct_DUMPBIN"; then 5618 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5619 else 5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5621 for as_dir in $PATH 5622 do 5623 IFS=$as_save_IFS 5624 test -z "$as_dir" && as_dir=. 5625 for ac_exec_ext in '' $ac_executable_extensions; do 5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5627 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5629 break 2 5630 fi 5631 done 5632 done 5633 IFS=$as_save_IFS 5634 5635 fi 5636 fi 5637 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5638 if test -n "$ac_ct_DUMPBIN"; then 5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5640 $as_echo "$ac_ct_DUMPBIN" >&6; } 5641 else 5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5643 $as_echo "no" >&6; } 5644 fi 5645 5646 5647 test -n "$ac_ct_DUMPBIN" && break 5648 done 5649 5650 if test "x$ac_ct_DUMPBIN" = x; then 5651 DUMPBIN=":" 5652 else 5653 case $cross_compiling:$ac_tool_warned in 5654 yes:) 5655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5657 ac_tool_warned=yes ;; 5658 esac 5659 DUMPBIN=$ac_ct_DUMPBIN 5660 fi 5661 fi 5662 5663 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5664 *COFF*) 5665 DUMPBIN="$DUMPBIN -symbols" 5666 ;; 5667 *) 5668 DUMPBIN=: 5669 ;; 5670 esac 5671 fi 5672 5673 if test "$DUMPBIN" != ":"; then 5674 NM="$DUMPBIN" 5675 fi 5676 fi 5677 test -z "$NM" && NM=nm 5678 5679 5680 5681 5682 5683 5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5685 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 5686 if ${lt_cv_nm_interface+:} false; then : 5687 $as_echo_n "(cached) " >&6 5688 else 5689 lt_cv_nm_interface="BSD nm" 5690 echo "int some_variable = 0;" > conftest.$ac_ext 5691 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5692 (eval "$ac_compile" 2>conftest.err) 5693 cat conftest.err >&5 5694 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5695 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5696 cat conftest.err >&5 5697 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5698 cat conftest.out >&5 5699 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5700 lt_cv_nm_interface="MS dumpbin" 5701 fi 5702 rm -f conftest* 5703 fi 5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5705 $as_echo "$lt_cv_nm_interface" >&6; } 5706 5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5708 $as_echo_n "checking whether ln -s works... " >&6; } 5709 LN_S=$as_ln_s 5710 if test "$LN_S" = "ln -s"; then 5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5712 $as_echo "yes" >&6; } 5713 else 5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5715 $as_echo "no, using $LN_S" >&6; } 5716 fi 5717 5718 # find the maximum length of command line arguments 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5720 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 5721 if ${lt_cv_sys_max_cmd_len+:} false; then : 5722 $as_echo_n "(cached) " >&6 5723 else 5724 i=0 5725 teststring="ABCD" 5726 5727 case $build_os in 5728 msdosdjgpp*) 5729 # On DJGPP, this test can blow up pretty badly due to problems in libc 5730 # (any single argument exceeding 2000 bytes causes a buffer overrun 5731 # during glob expansion). Even if it were fixed, the result of this 5732 # check would be larger than it should be. 5733 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5734 ;; 5735 5736 gnu*) 5737 # Under GNU Hurd, this test is not required because there is 5738 # no limit to the length of command line arguments. 5739 # Libtool will interpret -1 as no limit whatsoever 5740 lt_cv_sys_max_cmd_len=-1; 5741 ;; 5742 5743 cygwin* | mingw* | cegcc*) 5744 # On Win9x/ME, this test blows up -- it succeeds, but takes 5745 # about 5 minutes as the teststring grows exponentially. 5746 # Worse, since 9x/ME are not pre-emptively multitasking, 5747 # you end up with a "frozen" computer, even though with patience 5748 # the test eventually succeeds (with a max line length of 256k). 5749 # Instead, let's just punt: use the minimum linelength reported by 5750 # all of the supported platforms: 8192 (on NT/2K/XP). 5751 lt_cv_sys_max_cmd_len=8192; 5752 ;; 5753 5754 mint*) 5755 # On MiNT this can take a long time and run out of memory. 5756 lt_cv_sys_max_cmd_len=8192; 5757 ;; 5758 5759 amigaos*) 5760 # On AmigaOS with pdksh, this test takes hours, literally. 5761 # So we just punt and use a minimum line length of 8192. 5762 lt_cv_sys_max_cmd_len=8192; 5763 ;; 5764 5765 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5766 # This has been around since 386BSD, at least. Likely further. 5767 if test -x /sbin/sysctl; then 5768 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5769 elif test -x /usr/sbin/sysctl; then 5770 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5771 else 5772 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5773 fi 5774 # And add a safety zone 5775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5777 ;; 5778 5779 interix*) 5780 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5781 lt_cv_sys_max_cmd_len=196608 5782 ;; 5783 5784 os2*) 5785 # The test takes a long time on OS/2. 5786 lt_cv_sys_max_cmd_len=8192 5787 ;; 5788 5789 osf*) 5790 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5791 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5792 # nice to cause kernel panics so lets avoid the loop below. 5793 # First set a reasonable default. 5794 lt_cv_sys_max_cmd_len=16384 5795 # 5796 if test -x /sbin/sysconfig; then 5797 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5798 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5799 esac 5800 fi 5801 ;; 5802 sco3.2v5*) 5803 lt_cv_sys_max_cmd_len=102400 5804 ;; 5805 sysv5* | sco5v6* | sysv4.2uw2*) 5806 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5807 if test -n "$kargmax"; then 5808 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5809 else 5810 lt_cv_sys_max_cmd_len=32768 5811 fi 5812 ;; 5813 *) 5814 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5815 if test -n "$lt_cv_sys_max_cmd_len" && \ 5816 test undefined != "$lt_cv_sys_max_cmd_len"; then 5817 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5818 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5819 else 5820 # Make teststring a little bigger before we do anything with it. 5821 # a 1K string should be a reasonable start. 5822 for i in 1 2 3 4 5 6 7 8 ; do 5823 teststring=$teststring$teststring 5824 done 5825 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5826 # If test is not a shell built-in, we'll probably end up computing a 5827 # maximum length that is only half of the actual maximum length, but 5828 # we can't tell. 5829 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5830 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5831 test $i != 17 # 1/2 MB should be enough 5832 do 5833 i=`expr $i + 1` 5834 teststring=$teststring$teststring 5835 done 5836 # Only check the string length outside the loop. 5837 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5838 teststring= 5839 # Add a significant safety factor because C++ compilers can tack on 5840 # massive amounts of additional arguments before passing them to the 5841 # linker. It appears as though 1/2 is a usable value. 5842 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5843 fi 5844 ;; 5845 esac 5846 5847 fi 5848 5849 if test -n $lt_cv_sys_max_cmd_len ; then 5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5851 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5852 else 5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5854 $as_echo "none" >&6; } 5855 fi 5856 max_cmd_len=$lt_cv_sys_max_cmd_len 5857 5858 5859 5860 5861 5862 5863 : ${CP="cp -f"} 5864 : ${MV="mv -f"} 5865 : ${RM="rm -f"} 5866 5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5868 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5869 # Try some XSI features 5870 xsi_shell=no 5871 ( _lt_dummy="a/b/c" 5872 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5873 = c,a/b,b/c, \ 5874 && eval 'test $(( 1 + 1 )) -eq 2 \ 5875 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5876 && xsi_shell=yes 5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5878 $as_echo "$xsi_shell" >&6; } 5879 5880 5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5882 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5883 lt_shell_append=no 5884 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5885 >/dev/null 2>&1 \ 5886 && lt_shell_append=yes 5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5888 $as_echo "$lt_shell_append" >&6; } 5889 5890 5891 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5892 lt_unset=unset 5893 else 5894 lt_unset=false 5895 fi 5896 5897 5898 5899 5900 5901 # test EBCDIC or ASCII 5902 case `echo X|tr X '\101'` in 5903 A) # ASCII based system 5904 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5905 lt_SP2NL='tr \040 \012' 5906 lt_NL2SP='tr \015\012 \040\040' 5907 ;; 5908 *) # EBCDIC based system 5909 lt_SP2NL='tr \100 \n' 5910 lt_NL2SP='tr \r\n \100\100' 5911 ;; 5912 esac 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5923 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5924 if ${lt_cv_to_host_file_cmd+:} false; then : 5925 $as_echo_n "(cached) " >&6 5926 else 5927 case $host in 5928 *-*-mingw* ) 5929 case $build in 5930 *-*-mingw* ) # actually msys 5931 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5932 ;; 5933 *-*-cygwin* ) 5934 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5935 ;; 5936 * ) # otherwise, assume *nix 5937 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5938 ;; 5939 esac 5940 ;; 5941 *-*-cygwin* ) 5942 case $build in 5943 *-*-mingw* ) # actually msys 5944 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5945 ;; 5946 *-*-cygwin* ) 5947 lt_cv_to_host_file_cmd=func_convert_file_noop 5948 ;; 5949 * ) # otherwise, assume *nix 5950 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5951 ;; 5952 esac 5953 ;; 5954 * ) # unhandled hosts (and "normal" native builds) 5955 lt_cv_to_host_file_cmd=func_convert_file_noop 5956 ;; 5957 esac 5958 5959 fi 5960 5961 to_host_file_cmd=$lt_cv_to_host_file_cmd 5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5963 $as_echo "$lt_cv_to_host_file_cmd" >&6; } 5964 5965 5966 5967 5968 5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5970 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5971 if ${lt_cv_to_tool_file_cmd+:} false; then : 5972 $as_echo_n "(cached) " >&6 5973 else 5974 #assume ordinary cross tools, or native build. 5975 lt_cv_to_tool_file_cmd=func_convert_file_noop 5976 case $host in 5977 *-*-mingw* ) 5978 case $build in 5979 *-*-mingw* ) # actually msys 5980 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5981 ;; 5982 esac 5983 ;; 5984 esac 5985 5986 fi 5987 5988 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5990 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5991 5992 5993 5994 5995 5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5997 $as_echo_n "checking for $LD option to reload object files... " >&6; } 5998 if ${lt_cv_ld_reload_flag+:} false; then : 5999 $as_echo_n "(cached) " >&6 6000 else 6001 lt_cv_ld_reload_flag='-r' 6002 fi 6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6004 $as_echo "$lt_cv_ld_reload_flag" >&6; } 6005 reload_flag=$lt_cv_ld_reload_flag 6006 case $reload_flag in 6007 "" | " "*) ;; 6008 *) reload_flag=" $reload_flag" ;; 6009 esac 6010 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6011 case $host_os in 6012 cygwin* | mingw* | pw32* | cegcc*) 6013 if test "$GCC" != yes; then 6014 reload_cmds=false 6015 fi 6016 ;; 6017 darwin*) 6018 if test "$GCC" = yes; then 6019 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 6020 else 6021 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6022 fi 6023 ;; 6024 esac 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 if test -n "$ac_tool_prefix"; then 6035 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6036 set dummy ${ac_tool_prefix}objdump; ac_word=$2 6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6038 $as_echo_n "checking for $ac_word... " >&6; } 6039 if ${ac_cv_prog_OBJDUMP+:} false; then : 6040 $as_echo_n "(cached) " >&6 6041 else 6042 if test -n "$OBJDUMP"; then 6043 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6044 else 6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6046 for as_dir in $PATH 6047 do 6048 IFS=$as_save_IFS 6049 test -z "$as_dir" && as_dir=. 6050 for ac_exec_ext in '' $ac_executable_extensions; do 6051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6052 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6054 break 2 6055 fi 6056 done 6057 done 6058 IFS=$as_save_IFS 6059 6060 fi 6061 fi 6062 OBJDUMP=$ac_cv_prog_OBJDUMP 6063 if test -n "$OBJDUMP"; then 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6065 $as_echo "$OBJDUMP" >&6; } 6066 else 6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6068 $as_echo "no" >&6; } 6069 fi 6070 6071 6072 fi 6073 if test -z "$ac_cv_prog_OBJDUMP"; then 6074 ac_ct_OBJDUMP=$OBJDUMP 6075 # Extract the first word of "objdump", so it can be a program name with args. 6076 set dummy objdump; ac_word=$2 6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6078 $as_echo_n "checking for $ac_word... " >&6; } 6079 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6080 $as_echo_n "(cached) " >&6 6081 else 6082 if test -n "$ac_ct_OBJDUMP"; then 6083 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6084 else 6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6086 for as_dir in $PATH 6087 do 6088 IFS=$as_save_IFS 6089 test -z "$as_dir" && as_dir=. 6090 for ac_exec_ext in '' $ac_executable_extensions; do 6091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6092 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6094 break 2 6095 fi 6096 done 6097 done 6098 IFS=$as_save_IFS 6099 6100 fi 6101 fi 6102 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6103 if test -n "$ac_ct_OBJDUMP"; then 6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6105 $as_echo "$ac_ct_OBJDUMP" >&6; } 6106 else 6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6108 $as_echo "no" >&6; } 6109 fi 6110 6111 if test "x$ac_ct_OBJDUMP" = x; then 6112 OBJDUMP="false" 6113 else 6114 case $cross_compiling:$ac_tool_warned in 6115 yes:) 6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6118 ac_tool_warned=yes ;; 6119 esac 6120 OBJDUMP=$ac_ct_OBJDUMP 6121 fi 6122 else 6123 OBJDUMP="$ac_cv_prog_OBJDUMP" 6124 fi 6125 6126 test -z "$OBJDUMP" && OBJDUMP=objdump 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6137 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 6138 if ${lt_cv_deplibs_check_method+:} false; then : 6139 $as_echo_n "(cached) " >&6 6140 else 6141 lt_cv_file_magic_cmd='$MAGIC_CMD' 6142 lt_cv_file_magic_test_file= 6143 lt_cv_deplibs_check_method='unknown' 6144 # Need to set the preceding variable on all platforms that support 6145 # interlibrary dependencies. 6146 # 'none' -- dependencies not supported. 6147 # `unknown' -- same as none, but documents that we really don't know. 6148 # 'pass_all' -- all dependencies passed with no checks. 6149 # 'test_compile' -- check by making test program. 6150 # 'file_magic [[regex]]' -- check by looking for files in library path 6151 # which responds to the $file_magic_cmd with a given extended regex. 6152 # If you have `file' or equivalent on your system and you're not sure 6153 # whether `pass_all' will *always* work, you probably want this one. 6154 6155 case $host_os in 6156 aix[4-9]*) 6157 lt_cv_deplibs_check_method=pass_all 6158 ;; 6159 6160 beos*) 6161 lt_cv_deplibs_check_method=pass_all 6162 ;; 6163 6164 bsdi[45]*) 6165 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6166 lt_cv_file_magic_cmd='/usr/bin/file -L' 6167 lt_cv_file_magic_test_file=/shlib/libc.so 6168 ;; 6169 6170 cygwin*) 6171 # func_win32_libid is a shell function defined in ltmain.sh 6172 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6173 lt_cv_file_magic_cmd='func_win32_libid' 6174 ;; 6175 6176 mingw* | pw32*) 6177 # Base MSYS/MinGW do not provide the 'file' command needed by 6178 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6179 # unless we find 'file', for example because we are cross-compiling. 6180 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6181 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 6182 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6183 lt_cv_file_magic_cmd='func_win32_libid' 6184 else 6185 # Keep this pattern in sync with the one in func_win32_libid. 6186 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6187 lt_cv_file_magic_cmd='$OBJDUMP -f' 6188 fi 6189 ;; 6190 6191 cegcc*) 6192 # use the weaker test based on 'objdump'. See mingw*. 6193 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6194 lt_cv_file_magic_cmd='$OBJDUMP -f' 6195 ;; 6196 6197 darwin* | rhapsody*) 6198 lt_cv_deplibs_check_method=pass_all 6199 ;; 6200 6201 freebsd* | dragonfly*) 6202 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6203 case $host_cpu in 6204 i*86 ) 6205 # Not sure whether the presence of OpenBSD here was a mistake. 6206 # Let's accept both of them until this is cleared up. 6207 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6208 lt_cv_file_magic_cmd=/usr/bin/file 6209 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6210 ;; 6211 esac 6212 else 6213 lt_cv_deplibs_check_method=pass_all 6214 fi 6215 ;; 6216 6217 haiku*) 6218 lt_cv_deplibs_check_method=pass_all 6219 ;; 6220 6221 hpux10.20* | hpux11*) 6222 lt_cv_file_magic_cmd=/usr/bin/file 6223 case $host_cpu in 6224 ia64*) 6225 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6226 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6227 ;; 6228 hppa*64*) 6229 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]' 6230 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6231 ;; 6232 *) 6233 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6234 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6235 ;; 6236 esac 6237 ;; 6238 6239 interix[3-9]*) 6240 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6241 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6242 ;; 6243 6244 irix5* | irix6* | nonstopux*) 6245 case $LD in 6246 *-32|*"-32 ") libmagic=32-bit;; 6247 *-n32|*"-n32 ") libmagic=N32;; 6248 *-64|*"-64 ") libmagic=64-bit;; 6249 *) libmagic=never-match;; 6250 esac 6251 lt_cv_deplibs_check_method=pass_all 6252 ;; 6253 6254 # This must be glibc/ELF. 6255 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6256 lt_cv_deplibs_check_method=pass_all 6257 ;; 6258 6259 netbsd* | netbsdelf*-gnu) 6260 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6262 else 6263 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6264 fi 6265 ;; 6266 6267 newos6*) 6268 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6269 lt_cv_file_magic_cmd=/usr/bin/file 6270 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6271 ;; 6272 6273 *nto* | *qnx*) 6274 lt_cv_deplibs_check_method=pass_all 6275 ;; 6276 6277 openbsd*) 6278 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6280 else 6281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6282 fi 6283 ;; 6284 6285 osf3* | osf4* | osf5*) 6286 lt_cv_deplibs_check_method=pass_all 6287 ;; 6288 6289 rdos*) 6290 lt_cv_deplibs_check_method=pass_all 6291 ;; 6292 6293 solaris*) 6294 lt_cv_deplibs_check_method=pass_all 6295 ;; 6296 6297 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6298 lt_cv_deplibs_check_method=pass_all 6299 ;; 6300 6301 sysv4 | sysv4.3*) 6302 case $host_vendor in 6303 motorola) 6304 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]' 6305 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6306 ;; 6307 ncr) 6308 lt_cv_deplibs_check_method=pass_all 6309 ;; 6310 sequent) 6311 lt_cv_file_magic_cmd='/bin/file' 6312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6313 ;; 6314 sni) 6315 lt_cv_file_magic_cmd='/bin/file' 6316 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6317 lt_cv_file_magic_test_file=/lib/libc.so 6318 ;; 6319 siemens) 6320 lt_cv_deplibs_check_method=pass_all 6321 ;; 6322 pc) 6323 lt_cv_deplibs_check_method=pass_all 6324 ;; 6325 esac 6326 ;; 6327 6328 tpf*) 6329 lt_cv_deplibs_check_method=pass_all 6330 ;; 6331 esac 6332 6333 fi 6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6335 $as_echo "$lt_cv_deplibs_check_method" >&6; } 6336 6337 file_magic_glob= 6338 want_nocaseglob=no 6339 if test "$build" = "$host"; then 6340 case $host_os in 6341 mingw* | pw32*) 6342 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6343 want_nocaseglob=yes 6344 else 6345 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6346 fi 6347 ;; 6348 esac 6349 fi 6350 6351 file_magic_cmd=$lt_cv_file_magic_cmd 6352 deplibs_check_method=$lt_cv_deplibs_check_method 6353 test -z "$deplibs_check_method" && deplibs_check_method=unknown 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 if test -n "$ac_tool_prefix"; then 6377 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6378 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6380 $as_echo_n "checking for $ac_word... " >&6; } 6381 if ${ac_cv_prog_DLLTOOL+:} false; then : 6382 $as_echo_n "(cached) " >&6 6383 else 6384 if test -n "$DLLTOOL"; then 6385 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6386 else 6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6388 for as_dir in $PATH 6389 do 6390 IFS=$as_save_IFS 6391 test -z "$as_dir" && as_dir=. 6392 for ac_exec_ext in '' $ac_executable_extensions; do 6393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6394 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6396 break 2 6397 fi 6398 done 6399 done 6400 IFS=$as_save_IFS 6401 6402 fi 6403 fi 6404 DLLTOOL=$ac_cv_prog_DLLTOOL 6405 if test -n "$DLLTOOL"; then 6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6407 $as_echo "$DLLTOOL" >&6; } 6408 else 6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6410 $as_echo "no" >&6; } 6411 fi 6412 6413 6414 fi 6415 if test -z "$ac_cv_prog_DLLTOOL"; then 6416 ac_ct_DLLTOOL=$DLLTOOL 6417 # Extract the first word of "dlltool", so it can be a program name with args. 6418 set dummy dlltool; ac_word=$2 6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6420 $as_echo_n "checking for $ac_word... " >&6; } 6421 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6422 $as_echo_n "(cached) " >&6 6423 else 6424 if test -n "$ac_ct_DLLTOOL"; then 6425 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6426 else 6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6428 for as_dir in $PATH 6429 do 6430 IFS=$as_save_IFS 6431 test -z "$as_dir" && as_dir=. 6432 for ac_exec_ext in '' $ac_executable_extensions; do 6433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6434 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6436 break 2 6437 fi 6438 done 6439 done 6440 IFS=$as_save_IFS 6441 6442 fi 6443 fi 6444 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6445 if test -n "$ac_ct_DLLTOOL"; then 6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6447 $as_echo "$ac_ct_DLLTOOL" >&6; } 6448 else 6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6450 $as_echo "no" >&6; } 6451 fi 6452 6453 if test "x$ac_ct_DLLTOOL" = x; then 6454 DLLTOOL="false" 6455 else 6456 case $cross_compiling:$ac_tool_warned in 6457 yes:) 6458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6460 ac_tool_warned=yes ;; 6461 esac 6462 DLLTOOL=$ac_ct_DLLTOOL 6463 fi 6464 else 6465 DLLTOOL="$ac_cv_prog_DLLTOOL" 6466 fi 6467 6468 test -z "$DLLTOOL" && DLLTOOL=dlltool 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6480 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6481 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6482 $as_echo_n "(cached) " >&6 6483 else 6484 lt_cv_sharedlib_from_linklib_cmd='unknown' 6485 6486 case $host_os in 6487 cygwin* | mingw* | pw32* | cegcc*) 6488 # two different shell functions defined in ltmain.sh 6489 # decide which to use based on capabilities of $DLLTOOL 6490 case `$DLLTOOL --help 2>&1` in 6491 *--identify-strict*) 6492 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6493 ;; 6494 *) 6495 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6496 ;; 6497 esac 6498 ;; 6499 *) 6500 # fallback: assume linklib IS sharedlib 6501 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6502 ;; 6503 esac 6504 6505 fi 6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6507 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6508 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6509 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6510 6511 6512 6513 6514 6515 6516 6517 if test -n "$ac_tool_prefix"; then 6518 for ac_prog in ar 6519 do 6520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6523 $as_echo_n "checking for $ac_word... " >&6; } 6524 if ${ac_cv_prog_AR+:} false; then : 6525 $as_echo_n "(cached) " >&6 6526 else 6527 if test -n "$AR"; then 6528 ac_cv_prog_AR="$AR" # Let the user override the test. 6529 else 6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6531 for as_dir in $PATH 6532 do 6533 IFS=$as_save_IFS 6534 test -z "$as_dir" && as_dir=. 6535 for ac_exec_ext in '' $ac_executable_extensions; do 6536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6537 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6539 break 2 6540 fi 6541 done 6542 done 6543 IFS=$as_save_IFS 6544 6545 fi 6546 fi 6547 AR=$ac_cv_prog_AR 6548 if test -n "$AR"; then 6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6550 $as_echo "$AR" >&6; } 6551 else 6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6553 $as_echo "no" >&6; } 6554 fi 6555 6556 6557 test -n "$AR" && break 6558 done 6559 fi 6560 if test -z "$AR"; then 6561 ac_ct_AR=$AR 6562 for ac_prog in ar 6563 do 6564 # Extract the first word of "$ac_prog", so it can be a program name with args. 6565 set dummy $ac_prog; ac_word=$2 6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6567 $as_echo_n "checking for $ac_word... " >&6; } 6568 if ${ac_cv_prog_ac_ct_AR+:} false; then : 6569 $as_echo_n "(cached) " >&6 6570 else 6571 if test -n "$ac_ct_AR"; then 6572 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6573 else 6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6575 for as_dir in $PATH 6576 do 6577 IFS=$as_save_IFS 6578 test -z "$as_dir" && as_dir=. 6579 for ac_exec_ext in '' $ac_executable_extensions; do 6580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6581 ac_cv_prog_ac_ct_AR="$ac_prog" 6582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6583 break 2 6584 fi 6585 done 6586 done 6587 IFS=$as_save_IFS 6588 6589 fi 6590 fi 6591 ac_ct_AR=$ac_cv_prog_ac_ct_AR 6592 if test -n "$ac_ct_AR"; then 6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6594 $as_echo "$ac_ct_AR" >&6; } 6595 else 6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6597 $as_echo "no" >&6; } 6598 fi 6599 6600 6601 test -n "$ac_ct_AR" && break 6602 done 6603 6604 if test "x$ac_ct_AR" = x; then 6605 AR="false" 6606 else 6607 case $cross_compiling:$ac_tool_warned in 6608 yes:) 6609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6611 ac_tool_warned=yes ;; 6612 esac 6613 AR=$ac_ct_AR 6614 fi 6615 fi 6616 6617 : ${AR=ar} 6618 : ${AR_FLAGS=cru} 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6631 $as_echo_n "checking for archiver @FILE support... " >&6; } 6632 if ${lt_cv_ar_at_file+:} false; then : 6633 $as_echo_n "(cached) " >&6 6634 else 6635 lt_cv_ar_at_file=no 6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6637 /* end confdefs.h. */ 6638 6639 int 6640 main () 6641 { 6642 6643 ; 6644 return 0; 6645 } 6646 _ACEOF 6647 if ac_fn_c_try_compile "$LINENO"; then : 6648 echo conftest.$ac_objext > conftest.lst 6649 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6650 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6651 (eval $lt_ar_try) 2>&5 6652 ac_status=$? 6653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6654 test $ac_status = 0; } 6655 if test "$ac_status" -eq 0; then 6656 # Ensure the archiver fails upon bogus file names. 6657 rm -f conftest.$ac_objext libconftest.a 6658 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6659 (eval $lt_ar_try) 2>&5 6660 ac_status=$? 6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6662 test $ac_status = 0; } 6663 if test "$ac_status" -ne 0; then 6664 lt_cv_ar_at_file=@ 6665 fi 6666 fi 6667 rm -f conftest.* libconftest.a 6668 6669 fi 6670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6671 6672 fi 6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6674 $as_echo "$lt_cv_ar_at_file" >&6; } 6675 6676 if test "x$lt_cv_ar_at_file" = xno; then 6677 archiver_list_spec= 6678 else 6679 archiver_list_spec=$lt_cv_ar_at_file 6680 fi 6681 6682 6683 6684 6685 6686 6687 6688 if test -n "$ac_tool_prefix"; then 6689 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6690 set dummy ${ac_tool_prefix}strip; ac_word=$2 6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6692 $as_echo_n "checking for $ac_word... " >&6; } 6693 if ${ac_cv_prog_STRIP+:} false; then : 6694 $as_echo_n "(cached) " >&6 6695 else 6696 if test -n "$STRIP"; then 6697 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6698 else 6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6700 for as_dir in $PATH 6701 do 6702 IFS=$as_save_IFS 6703 test -z "$as_dir" && as_dir=. 6704 for ac_exec_ext in '' $ac_executable_extensions; do 6705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6706 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6708 break 2 6709 fi 6710 done 6711 done 6712 IFS=$as_save_IFS 6713 6714 fi 6715 fi 6716 STRIP=$ac_cv_prog_STRIP 6717 if test -n "$STRIP"; then 6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6719 $as_echo "$STRIP" >&6; } 6720 else 6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6722 $as_echo "no" >&6; } 6723 fi 6724 6725 6726 fi 6727 if test -z "$ac_cv_prog_STRIP"; then 6728 ac_ct_STRIP=$STRIP 6729 # Extract the first word of "strip", so it can be a program name with args. 6730 set dummy strip; ac_word=$2 6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6732 $as_echo_n "checking for $ac_word... " >&6; } 6733 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6734 $as_echo_n "(cached) " >&6 6735 else 6736 if test -n "$ac_ct_STRIP"; then 6737 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6738 else 6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6740 for as_dir in $PATH 6741 do 6742 IFS=$as_save_IFS 6743 test -z "$as_dir" && as_dir=. 6744 for ac_exec_ext in '' $ac_executable_extensions; do 6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6746 ac_cv_prog_ac_ct_STRIP="strip" 6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6748 break 2 6749 fi 6750 done 6751 done 6752 IFS=$as_save_IFS 6753 6754 fi 6755 fi 6756 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6757 if test -n "$ac_ct_STRIP"; then 6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6759 $as_echo "$ac_ct_STRIP" >&6; } 6760 else 6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6762 $as_echo "no" >&6; } 6763 fi 6764 6765 if test "x$ac_ct_STRIP" = x; then 6766 STRIP=":" 6767 else 6768 case $cross_compiling:$ac_tool_warned in 6769 yes:) 6770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6772 ac_tool_warned=yes ;; 6773 esac 6774 STRIP=$ac_ct_STRIP 6775 fi 6776 else 6777 STRIP="$ac_cv_prog_STRIP" 6778 fi 6779 6780 test -z "$STRIP" && STRIP=: 6781 6782 6783 6784 6785 6786 6787 if test -n "$ac_tool_prefix"; then 6788 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6789 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6791 $as_echo_n "checking for $ac_word... " >&6; } 6792 if ${ac_cv_prog_RANLIB+:} false; then : 6793 $as_echo_n "(cached) " >&6 6794 else 6795 if test -n "$RANLIB"; then 6796 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6797 else 6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6799 for as_dir in $PATH 6800 do 6801 IFS=$as_save_IFS 6802 test -z "$as_dir" && as_dir=. 6803 for ac_exec_ext in '' $ac_executable_extensions; do 6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6805 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6807 break 2 6808 fi 6809 done 6810 done 6811 IFS=$as_save_IFS 6812 6813 fi 6814 fi 6815 RANLIB=$ac_cv_prog_RANLIB 6816 if test -n "$RANLIB"; then 6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6818 $as_echo "$RANLIB" >&6; } 6819 else 6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6821 $as_echo "no" >&6; } 6822 fi 6823 6824 6825 fi 6826 if test -z "$ac_cv_prog_RANLIB"; then 6827 ac_ct_RANLIB=$RANLIB 6828 # Extract the first word of "ranlib", so it can be a program name with args. 6829 set dummy ranlib; ac_word=$2 6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6831 $as_echo_n "checking for $ac_word... " >&6; } 6832 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6833 $as_echo_n "(cached) " >&6 6834 else 6835 if test -n "$ac_ct_RANLIB"; then 6836 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6837 else 6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6839 for as_dir in $PATH 6840 do 6841 IFS=$as_save_IFS 6842 test -z "$as_dir" && as_dir=. 6843 for ac_exec_ext in '' $ac_executable_extensions; do 6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6845 ac_cv_prog_ac_ct_RANLIB="ranlib" 6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6847 break 2 6848 fi 6849 done 6850 done 6851 IFS=$as_save_IFS 6852 6853 fi 6854 fi 6855 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6856 if test -n "$ac_ct_RANLIB"; then 6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6858 $as_echo "$ac_ct_RANLIB" >&6; } 6859 else 6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6861 $as_echo "no" >&6; } 6862 fi 6863 6864 if test "x$ac_ct_RANLIB" = x; then 6865 RANLIB=":" 6866 else 6867 case $cross_compiling:$ac_tool_warned in 6868 yes:) 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6871 ac_tool_warned=yes ;; 6872 esac 6873 RANLIB=$ac_ct_RANLIB 6874 fi 6875 else 6876 RANLIB="$ac_cv_prog_RANLIB" 6877 fi 6878 6879 test -z "$RANLIB" && RANLIB=: 6880 6881 6882 6883 6884 6885 6886 # Determine commands to create old-style static archives. 6887 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6888 old_postinstall_cmds='chmod 644 $oldlib' 6889 old_postuninstall_cmds= 6890 6891 if test -n "$RANLIB"; then 6892 case $host_os in 6893 openbsd*) 6894 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6895 ;; 6896 *) 6897 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6898 ;; 6899 esac 6900 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6901 fi 6902 6903 case $host_os in 6904 darwin*) 6905 lock_old_archive_extraction=yes ;; 6906 *) 6907 lock_old_archive_extraction=no ;; 6908 esac 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 # If no C compiler was specified, use CC. 6949 LTCC=${LTCC-"$CC"} 6950 6951 # If no C compiler flags were specified, use CFLAGS. 6952 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6953 6954 # Allow CC to be a program name with arguments. 6955 compiler=$CC 6956 6957 6958 # Check for command to grab the raw symbol name followed by C symbol from nm. 6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6960 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6961 if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6962 $as_echo_n "(cached) " >&6 6963 else 6964 6965 # These are sane defaults that work on at least a few old systems. 6966 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 6967 6968 # Character class describing NM global symbol codes. 6969 symcode='[BCDEGRST]' 6970 6971 # Regexp to match symbols that can be accessed directly from C. 6972 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6973 6974 # Define system-specific variables. 6975 case $host_os in 6976 aix*) 6977 symcode='[BCDT]' 6978 ;; 6979 cygwin* | mingw* | pw32* | cegcc*) 6980 symcode='[ABCDGISTW]' 6981 ;; 6982 hpux*) 6983 if test "$host_cpu" = ia64; then 6984 symcode='[ABCDEGRST]' 6985 fi 6986 ;; 6987 irix* | nonstopux*) 6988 symcode='[BCDEGRST]' 6989 ;; 6990 osf*) 6991 symcode='[BCDEGQRST]' 6992 ;; 6993 solaris*) 6994 symcode='[BDRT]' 6995 ;; 6996 sco3.2v5*) 6997 symcode='[DT]' 6998 ;; 6999 sysv4.2uw2*) 7000 symcode='[DT]' 7001 ;; 7002 sysv5* | sco5v6* | unixware* | OpenUNIX*) 7003 symcode='[ABDT]' 7004 ;; 7005 sysv4) 7006 symcode='[DFNSTU]' 7007 ;; 7008 esac 7009 7010 # If we're using GNU nm, then use its standard symbol codes. 7011 case `$NM -V 2>&1` in 7012 *GNU* | *'with BFD'*) 7013 symcode='[ABCDGIRSTW]' ;; 7014 esac 7015 7016 # Transform an extracted symbol line into a proper C declaration. 7017 # Some systems (esp. on ia64) link data and code symbols differently, 7018 # so use this general approach. 7019 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7020 7021 # Transform an extracted symbol line into symbol name and symbol address 7022 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7023 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'" 7024 7025 # Handle CRLF in mingw tool chain 7026 opt_cr= 7027 case $build_os in 7028 mingw*) 7029 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7030 ;; 7031 esac 7032 7033 # Try without a prefix underscore, then with it. 7034 for ac_symprfx in "" "_"; do 7035 7036 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7037 symxfrm="\\1 $ac_symprfx\\2 \\2" 7038 7039 # Write the raw and C identifiers. 7040 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7041 # Fake it for dumpbin and say T for any non-static function 7042 # and D for any global variable. 7043 # Also find C++ and __fastcall symbols from MSVC++, 7044 # which start with @ or ?. 7045 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7046 " {last_section=section; section=\$ 3};"\ 7047 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7048 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7049 " \$ 0!~/External *\|/{next};"\ 7050 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7051 " {if(hide[section]) next};"\ 7052 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7053 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7054 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7055 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7056 " ' prfx=^$ac_symprfx" 7057 else 7058 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7059 fi 7060 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7061 7062 # Check to see that the pipe works correctly. 7063 pipe_works=no 7064 7065 rm -f conftest* 7066 cat > conftest.$ac_ext <<_LT_EOF 7067 #ifdef __cplusplus 7068 extern "C" { 7069 #endif 7070 char nm_test_var; 7071 void nm_test_func(void); 7072 void nm_test_func(void){} 7073 #ifdef __cplusplus 7074 } 7075 #endif 7076 int main(){nm_test_var='a';nm_test_func();return(0);} 7077 _LT_EOF 7078 7079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7080 (eval $ac_compile) 2>&5 7081 ac_status=$? 7082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7083 test $ac_status = 0; }; then 7084 # Now try to grab the symbols. 7085 nlist=conftest.nm 7086 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7087 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7088 ac_status=$? 7089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7090 test $ac_status = 0; } && test -s "$nlist"; then 7091 # Try sorting and uniquifying the output. 7092 if sort "$nlist" | uniq > "$nlist"T; then 7093 mv -f "$nlist"T "$nlist" 7094 else 7095 rm -f "$nlist"T 7096 fi 7097 7098 # Make sure that we snagged all the symbols we need. 7099 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7100 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7101 cat <<_LT_EOF > conftest.$ac_ext 7102 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7103 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 7104 /* DATA imports from DLLs on WIN32 con't be const, because runtime 7105 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7106 # define LT_DLSYM_CONST 7107 #elif defined(__osf__) 7108 /* This system does not cope well with relocations in const data. */ 7109 # define LT_DLSYM_CONST 7110 #else 7111 # define LT_DLSYM_CONST const 7112 #endif 7113 7114 #ifdef __cplusplus 7115 extern "C" { 7116 #endif 7117 7118 _LT_EOF 7119 # Now generate the symbol file. 7120 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7121 7122 cat <<_LT_EOF >> conftest.$ac_ext 7123 7124 /* The mapping between symbol names and symbols. */ 7125 LT_DLSYM_CONST struct { 7126 const char *name; 7127 void *address; 7128 } 7129 lt__PROGRAM__LTX_preloaded_symbols[] = 7130 { 7131 { "@PROGRAM@", (void *) 0 }, 7132 _LT_EOF 7133 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7134 cat <<\_LT_EOF >> conftest.$ac_ext 7135 {0, (void *) 0} 7136 }; 7137 7138 /* This works around a problem in FreeBSD linker */ 7139 #ifdef FREEBSD_WORKAROUND 7140 static const void *lt_preloaded_setup() { 7141 return lt__PROGRAM__LTX_preloaded_symbols; 7142 } 7143 #endif 7144 7145 #ifdef __cplusplus 7146 } 7147 #endif 7148 _LT_EOF 7149 # Now try linking the two files. 7150 mv conftest.$ac_objext conftstm.$ac_objext 7151 lt_globsym_save_LIBS=$LIBS 7152 lt_globsym_save_CFLAGS=$CFLAGS 7153 LIBS="conftstm.$ac_objext" 7154 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7156 (eval $ac_link) 2>&5 7157 ac_status=$? 7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7159 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7160 pipe_works=yes 7161 fi 7162 LIBS=$lt_globsym_save_LIBS 7163 CFLAGS=$lt_globsym_save_CFLAGS 7164 else 7165 echo "cannot find nm_test_func in $nlist" >&5 7166 fi 7167 else 7168 echo "cannot find nm_test_var in $nlist" >&5 7169 fi 7170 else 7171 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7172 fi 7173 else 7174 echo "$progname: failed program was:" >&5 7175 cat conftest.$ac_ext >&5 7176 fi 7177 rm -rf conftest* conftst* 7178 7179 # Do not use the global_symbol_pipe unless it works. 7180 if test "$pipe_works" = yes; then 7181 break 7182 else 7183 lt_cv_sys_global_symbol_pipe= 7184 fi 7185 done 7186 7187 fi 7188 7189 if test -z "$lt_cv_sys_global_symbol_pipe"; then 7190 lt_cv_sys_global_symbol_to_cdecl= 7191 fi 7192 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7194 $as_echo "failed" >&6; } 7195 else 7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7197 $as_echo "ok" >&6; } 7198 fi 7199 7200 # Response file support. 7201 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7202 nm_file_list_spec='@' 7203 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7204 nm_file_list_spec='@' 7205 fi 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7234 $as_echo_n "checking for sysroot... " >&6; } 7235 7236 # Check whether --with-sysroot was given. 7237 if test "${with_sysroot+set}" = set; then : 7238 withval=$with_sysroot; 7239 else 7240 with_sysroot=no 7241 fi 7242 7243 7244 lt_sysroot= 7245 case ${with_sysroot} in #( 7246 yes) 7247 if test "$GCC" = yes; then 7248 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7249 fi 7250 ;; #( 7251 /*) 7252 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7253 ;; #( 7254 no|'') 7255 ;; #( 7256 *) 7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 7258 $as_echo "${with_sysroot}" >&6; } 7259 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7260 ;; 7261 esac 7262 7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7264 $as_echo "${lt_sysroot:-no}" >&6; } 7265 7266 7267 7268 7269 7270 # Check whether --enable-libtool-lock was given. 7271 if test "${enable_libtool_lock+set}" = set; then : 7272 enableval=$enable_libtool_lock; 7273 fi 7274 7275 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7276 7277 # Some flags need to be propagated to the compiler or linker for good 7278 # libtool support. 7279 case $host in 7280 ia64-*-hpux*) 7281 # Find out which ABI we are using. 7282 echo 'int i;' > conftest.$ac_ext 7283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7284 (eval $ac_compile) 2>&5 7285 ac_status=$? 7286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7287 test $ac_status = 0; }; then 7288 case `/usr/bin/file conftest.$ac_objext` in 7289 *ELF-32*) 7290 HPUX_IA64_MODE="32" 7291 ;; 7292 *ELF-64*) 7293 HPUX_IA64_MODE="64" 7294 ;; 7295 esac 7296 fi 7297 rm -rf conftest* 7298 ;; 7299 *-*-irix6*) 7300 # Find out which ABI we are using. 7301 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7303 (eval $ac_compile) 2>&5 7304 ac_status=$? 7305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7306 test $ac_status = 0; }; then 7307 if test "$lt_cv_prog_gnu_ld" = yes; then 7308 case `/usr/bin/file conftest.$ac_objext` in 7309 *32-bit*) 7310 LD="${LD-ld} -melf32bsmip" 7311 ;; 7312 *N32*) 7313 LD="${LD-ld} -melf32bmipn32" 7314 ;; 7315 *64-bit*) 7316 LD="${LD-ld} -melf64bmip" 7317 ;; 7318 esac 7319 else 7320 case `/usr/bin/file conftest.$ac_objext` in 7321 *32-bit*) 7322 LD="${LD-ld} -32" 7323 ;; 7324 *N32*) 7325 LD="${LD-ld} -n32" 7326 ;; 7327 *64-bit*) 7328 LD="${LD-ld} -64" 7329 ;; 7330 esac 7331 fi 7332 fi 7333 rm -rf conftest* 7334 ;; 7335 7336 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7337 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7338 # Find out which ABI we are using. 7339 echo 'int i;' > conftest.$ac_ext 7340 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7341 (eval $ac_compile) 2>&5 7342 ac_status=$? 7343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7344 test $ac_status = 0; }; then 7345 case `/usr/bin/file conftest.o` in 7346 *32-bit*) 7347 case $host in 7348 x86_64-*kfreebsd*-gnu) 7349 LD="${LD-ld} -m elf_i386_fbsd" 7350 ;; 7351 x86_64-*linux*) 7352 case `/usr/bin/file conftest.o` in 7353 *x86-64*) 7354 LD="${LD-ld} -m elf32_x86_64" 7355 ;; 7356 *) 7357 LD="${LD-ld} -m elf_i386" 7358 ;; 7359 esac 7360 ;; 7361 powerpc64le-*) 7362 LD="${LD-ld} -m elf32lppclinux" 7363 ;; 7364 powerpc64-*) 7365 LD="${LD-ld} -m elf32ppclinux" 7366 ;; 7367 s390x-*linux*) 7368 LD="${LD-ld} -m elf_s390" 7369 ;; 7370 sparc64-*linux*) 7371 LD="${LD-ld} -m elf32_sparc" 7372 ;; 7373 esac 7374 ;; 7375 *64-bit*) 7376 case $host in 7377 x86_64-*kfreebsd*-gnu) 7378 LD="${LD-ld} -m elf_x86_64_fbsd" 7379 ;; 7380 x86_64-*linux*) 7381 LD="${LD-ld} -m elf_x86_64" 7382 ;; 7383 powerpcle-*) 7384 LD="${LD-ld} -m elf64lppc" 7385 ;; 7386 powerpc-*) 7387 LD="${LD-ld} -m elf64ppc" 7388 ;; 7389 s390*-*linux*|s390*-*tpf*) 7390 LD="${LD-ld} -m elf64_s390" 7391 ;; 7392 sparc*-*linux*) 7393 LD="${LD-ld} -m elf64_sparc" 7394 ;; 7395 esac 7396 ;; 7397 esac 7398 fi 7399 rm -rf conftest* 7400 ;; 7401 7402 *-*-sco3.2v5*) 7403 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7404 SAVE_CFLAGS="$CFLAGS" 7405 CFLAGS="$CFLAGS -belf" 7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7407 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7408 if ${lt_cv_cc_needs_belf+:} false; then : 7409 $as_echo_n "(cached) " >&6 7410 else 7411 ac_ext=c 7412 ac_cpp='$CPP $CPPFLAGS' 7413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7415 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7416 7417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7418 /* end confdefs.h. */ 7419 7420 int 7421 main () 7422 { 7423 7424 ; 7425 return 0; 7426 } 7427 _ACEOF 7428 if ac_fn_c_try_link "$LINENO"; then : 7429 lt_cv_cc_needs_belf=yes 7430 else 7431 lt_cv_cc_needs_belf=no 7432 fi 7433 rm -f core conftest.err conftest.$ac_objext \ 7434 conftest$ac_exeext conftest.$ac_ext 7435 ac_ext=c 7436 ac_cpp='$CPP $CPPFLAGS' 7437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7439 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7440 7441 fi 7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7443 $as_echo "$lt_cv_cc_needs_belf" >&6; } 7444 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7445 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7446 CFLAGS="$SAVE_CFLAGS" 7447 fi 7448 ;; 7449 *-*solaris*) 7450 # Find out which ABI we are using. 7451 echo 'int i;' > conftest.$ac_ext 7452 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7453 (eval $ac_compile) 2>&5 7454 ac_status=$? 7455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7456 test $ac_status = 0; }; then 7457 case `/usr/bin/file conftest.o` in 7458 *64-bit*) 7459 case $lt_cv_prog_gnu_ld in 7460 yes*) 7461 case $host in 7462 i?86-*-solaris*) 7463 LD="${LD-ld} -m elf_x86_64" 7464 ;; 7465 sparc*-*-solaris*) 7466 LD="${LD-ld} -m elf64_sparc" 7467 ;; 7468 esac 7469 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7470 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7471 LD="${LD-ld}_sol2" 7472 fi 7473 ;; 7474 *) 7475 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7476 LD="${LD-ld} -64" 7477 fi 7478 ;; 7479 esac 7480 ;; 7481 esac 7482 fi 7483 rm -rf conftest* 7484 ;; 7485 esac 7486 7487 need_locks="$enable_libtool_lock" 7488 7489 if test -n "$ac_tool_prefix"; then 7490 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7491 set dummy ${ac_tool_prefix}mt; ac_word=$2 7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7493 $as_echo_n "checking for $ac_word... " >&6; } 7494 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7495 $as_echo_n "(cached) " >&6 7496 else 7497 if test -n "$MANIFEST_TOOL"; then 7498 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7499 else 7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7501 for as_dir in $PATH 7502 do 7503 IFS=$as_save_IFS 7504 test -z "$as_dir" && as_dir=. 7505 for ac_exec_ext in '' $ac_executable_extensions; do 7506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7507 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7509 break 2 7510 fi 7511 done 7512 done 7513 IFS=$as_save_IFS 7514 7515 fi 7516 fi 7517 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7518 if test -n "$MANIFEST_TOOL"; then 7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7520 $as_echo "$MANIFEST_TOOL" >&6; } 7521 else 7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7523 $as_echo "no" >&6; } 7524 fi 7525 7526 7527 fi 7528 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7529 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7530 # Extract the first word of "mt", so it can be a program name with args. 7531 set dummy mt; ac_word=$2 7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7533 $as_echo_n "checking for $ac_word... " >&6; } 7534 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7535 $as_echo_n "(cached) " >&6 7536 else 7537 if test -n "$ac_ct_MANIFEST_TOOL"; then 7538 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7539 else 7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7541 for as_dir in $PATH 7542 do 7543 IFS=$as_save_IFS 7544 test -z "$as_dir" && as_dir=. 7545 for ac_exec_ext in '' $ac_executable_extensions; do 7546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7547 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7549 break 2 7550 fi 7551 done 7552 done 7553 IFS=$as_save_IFS 7554 7555 fi 7556 fi 7557 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7558 if test -n "$ac_ct_MANIFEST_TOOL"; then 7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7560 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7561 else 7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7563 $as_echo "no" >&6; } 7564 fi 7565 7566 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7567 MANIFEST_TOOL=":" 7568 else 7569 case $cross_compiling:$ac_tool_warned in 7570 yes:) 7571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7573 ac_tool_warned=yes ;; 7574 esac 7575 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7576 fi 7577 else 7578 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7579 fi 7580 7581 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7583 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7584 if ${lt_cv_path_mainfest_tool+:} false; then : 7585 $as_echo_n "(cached) " >&6 7586 else 7587 lt_cv_path_mainfest_tool=no 7588 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7589 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7590 cat conftest.err >&5 7591 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7592 lt_cv_path_mainfest_tool=yes 7593 fi 7594 rm -f conftest* 7595 fi 7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7597 $as_echo "$lt_cv_path_mainfest_tool" >&6; } 7598 if test "x$lt_cv_path_mainfest_tool" != xyes; then 7599 MANIFEST_TOOL=: 7600 fi 7601 7602 7603 7604 7605 7606 7607 case $host_os in 7608 rhapsody* | darwin*) 7609 if test -n "$ac_tool_prefix"; then 7610 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7611 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7613 $as_echo_n "checking for $ac_word... " >&6; } 7614 if ${ac_cv_prog_DSYMUTIL+:} false; then : 7615 $as_echo_n "(cached) " >&6 7616 else 7617 if test -n "$DSYMUTIL"; then 7618 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7619 else 7620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7621 for as_dir in $PATH 7622 do 7623 IFS=$as_save_IFS 7624 test -z "$as_dir" && as_dir=. 7625 for ac_exec_ext in '' $ac_executable_extensions; do 7626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7627 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7629 break 2 7630 fi 7631 done 7632 done 7633 IFS=$as_save_IFS 7634 7635 fi 7636 fi 7637 DSYMUTIL=$ac_cv_prog_DSYMUTIL 7638 if test -n "$DSYMUTIL"; then 7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7640 $as_echo "$DSYMUTIL" >&6; } 7641 else 7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7643 $as_echo "no" >&6; } 7644 fi 7645 7646 7647 fi 7648 if test -z "$ac_cv_prog_DSYMUTIL"; then 7649 ac_ct_DSYMUTIL=$DSYMUTIL 7650 # Extract the first word of "dsymutil", so it can be a program name with args. 7651 set dummy dsymutil; ac_word=$2 7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7653 $as_echo_n "checking for $ac_word... " >&6; } 7654 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7655 $as_echo_n "(cached) " >&6 7656 else 7657 if test -n "$ac_ct_DSYMUTIL"; then 7658 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7659 else 7660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7661 for as_dir in $PATH 7662 do 7663 IFS=$as_save_IFS 7664 test -z "$as_dir" && as_dir=. 7665 for ac_exec_ext in '' $ac_executable_extensions; do 7666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7667 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7669 break 2 7670 fi 7671 done 7672 done 7673 IFS=$as_save_IFS 7674 7675 fi 7676 fi 7677 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7678 if test -n "$ac_ct_DSYMUTIL"; then 7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7680 $as_echo "$ac_ct_DSYMUTIL" >&6; } 7681 else 7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7683 $as_echo "no" >&6; } 7684 fi 7685 7686 if test "x$ac_ct_DSYMUTIL" = x; then 7687 DSYMUTIL=":" 7688 else 7689 case $cross_compiling:$ac_tool_warned in 7690 yes:) 7691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7693 ac_tool_warned=yes ;; 7694 esac 7695 DSYMUTIL=$ac_ct_DSYMUTIL 7696 fi 7697 else 7698 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7699 fi 7700 7701 if test -n "$ac_tool_prefix"; then 7702 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7703 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7705 $as_echo_n "checking for $ac_word... " >&6; } 7706 if ${ac_cv_prog_NMEDIT+:} false; then : 7707 $as_echo_n "(cached) " >&6 7708 else 7709 if test -n "$NMEDIT"; then 7710 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7711 else 7712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7713 for as_dir in $PATH 7714 do 7715 IFS=$as_save_IFS 7716 test -z "$as_dir" && as_dir=. 7717 for ac_exec_ext in '' $ac_executable_extensions; do 7718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7719 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7721 break 2 7722 fi 7723 done 7724 done 7725 IFS=$as_save_IFS 7726 7727 fi 7728 fi 7729 NMEDIT=$ac_cv_prog_NMEDIT 7730 if test -n "$NMEDIT"; then 7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7732 $as_echo "$NMEDIT" >&6; } 7733 else 7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7735 $as_echo "no" >&6; } 7736 fi 7737 7738 7739 fi 7740 if test -z "$ac_cv_prog_NMEDIT"; then 7741 ac_ct_NMEDIT=$NMEDIT 7742 # Extract the first word of "nmedit", so it can be a program name with args. 7743 set dummy nmedit; ac_word=$2 7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7745 $as_echo_n "checking for $ac_word... " >&6; } 7746 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7747 $as_echo_n "(cached) " >&6 7748 else 7749 if test -n "$ac_ct_NMEDIT"; then 7750 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7751 else 7752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7753 for as_dir in $PATH 7754 do 7755 IFS=$as_save_IFS 7756 test -z "$as_dir" && as_dir=. 7757 for ac_exec_ext in '' $ac_executable_extensions; do 7758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7759 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7761 break 2 7762 fi 7763 done 7764 done 7765 IFS=$as_save_IFS 7766 7767 fi 7768 fi 7769 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7770 if test -n "$ac_ct_NMEDIT"; then 7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7772 $as_echo "$ac_ct_NMEDIT" >&6; } 7773 else 7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7775 $as_echo "no" >&6; } 7776 fi 7777 7778 if test "x$ac_ct_NMEDIT" = x; then 7779 NMEDIT=":" 7780 else 7781 case $cross_compiling:$ac_tool_warned in 7782 yes:) 7783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7785 ac_tool_warned=yes ;; 7786 esac 7787 NMEDIT=$ac_ct_NMEDIT 7788 fi 7789 else 7790 NMEDIT="$ac_cv_prog_NMEDIT" 7791 fi 7792 7793 if test -n "$ac_tool_prefix"; then 7794 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7795 set dummy ${ac_tool_prefix}lipo; ac_word=$2 7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7797 $as_echo_n "checking for $ac_word... " >&6; } 7798 if ${ac_cv_prog_LIPO+:} false; then : 7799 $as_echo_n "(cached) " >&6 7800 else 7801 if test -n "$LIPO"; then 7802 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7803 else 7804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7805 for as_dir in $PATH 7806 do 7807 IFS=$as_save_IFS 7808 test -z "$as_dir" && as_dir=. 7809 for ac_exec_ext in '' $ac_executable_extensions; do 7810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7811 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7813 break 2 7814 fi 7815 done 7816 done 7817 IFS=$as_save_IFS 7818 7819 fi 7820 fi 7821 LIPO=$ac_cv_prog_LIPO 7822 if test -n "$LIPO"; then 7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7824 $as_echo "$LIPO" >&6; } 7825 else 7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7827 $as_echo "no" >&6; } 7828 fi 7829 7830 7831 fi 7832 if test -z "$ac_cv_prog_LIPO"; then 7833 ac_ct_LIPO=$LIPO 7834 # Extract the first word of "lipo", so it can be a program name with args. 7835 set dummy lipo; ac_word=$2 7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7837 $as_echo_n "checking for $ac_word... " >&6; } 7838 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7839 $as_echo_n "(cached) " >&6 7840 else 7841 if test -n "$ac_ct_LIPO"; then 7842 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7843 else 7844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7845 for as_dir in $PATH 7846 do 7847 IFS=$as_save_IFS 7848 test -z "$as_dir" && as_dir=. 7849 for ac_exec_ext in '' $ac_executable_extensions; do 7850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7851 ac_cv_prog_ac_ct_LIPO="lipo" 7852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7853 break 2 7854 fi 7855 done 7856 done 7857 IFS=$as_save_IFS 7858 7859 fi 7860 fi 7861 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7862 if test -n "$ac_ct_LIPO"; then 7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7864 $as_echo "$ac_ct_LIPO" >&6; } 7865 else 7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7867 $as_echo "no" >&6; } 7868 fi 7869 7870 if test "x$ac_ct_LIPO" = x; then 7871 LIPO=":" 7872 else 7873 case $cross_compiling:$ac_tool_warned in 7874 yes:) 7875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7877 ac_tool_warned=yes ;; 7878 esac 7879 LIPO=$ac_ct_LIPO 7880 fi 7881 else 7882 LIPO="$ac_cv_prog_LIPO" 7883 fi 7884 7885 if test -n "$ac_tool_prefix"; then 7886 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7887 set dummy ${ac_tool_prefix}otool; ac_word=$2 7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7889 $as_echo_n "checking for $ac_word... " >&6; } 7890 if ${ac_cv_prog_OTOOL+:} false; then : 7891 $as_echo_n "(cached) " >&6 7892 else 7893 if test -n "$OTOOL"; then 7894 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7895 else 7896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7897 for as_dir in $PATH 7898 do 7899 IFS=$as_save_IFS 7900 test -z "$as_dir" && as_dir=. 7901 for ac_exec_ext in '' $ac_executable_extensions; do 7902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7903 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7905 break 2 7906 fi 7907 done 7908 done 7909 IFS=$as_save_IFS 7910 7911 fi 7912 fi 7913 OTOOL=$ac_cv_prog_OTOOL 7914 if test -n "$OTOOL"; then 7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7916 $as_echo "$OTOOL" >&6; } 7917 else 7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7919 $as_echo "no" >&6; } 7920 fi 7921 7922 7923 fi 7924 if test -z "$ac_cv_prog_OTOOL"; then 7925 ac_ct_OTOOL=$OTOOL 7926 # Extract the first word of "otool", so it can be a program name with args. 7927 set dummy otool; ac_word=$2 7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7929 $as_echo_n "checking for $ac_word... " >&6; } 7930 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7931 $as_echo_n "(cached) " >&6 7932 else 7933 if test -n "$ac_ct_OTOOL"; then 7934 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7935 else 7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7937 for as_dir in $PATH 7938 do 7939 IFS=$as_save_IFS 7940 test -z "$as_dir" && as_dir=. 7941 for ac_exec_ext in '' $ac_executable_extensions; do 7942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7943 ac_cv_prog_ac_ct_OTOOL="otool" 7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7945 break 2 7946 fi 7947 done 7948 done 7949 IFS=$as_save_IFS 7950 7951 fi 7952 fi 7953 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7954 if test -n "$ac_ct_OTOOL"; then 7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7956 $as_echo "$ac_ct_OTOOL" >&6; } 7957 else 7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7959 $as_echo "no" >&6; } 7960 fi 7961 7962 if test "x$ac_ct_OTOOL" = x; then 7963 OTOOL=":" 7964 else 7965 case $cross_compiling:$ac_tool_warned in 7966 yes:) 7967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7969 ac_tool_warned=yes ;; 7970 esac 7971 OTOOL=$ac_ct_OTOOL 7972 fi 7973 else 7974 OTOOL="$ac_cv_prog_OTOOL" 7975 fi 7976 7977 if test -n "$ac_tool_prefix"; then 7978 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7979 set dummy ${ac_tool_prefix}otool64; ac_word=$2 7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7981 $as_echo_n "checking for $ac_word... " >&6; } 7982 if ${ac_cv_prog_OTOOL64+:} false; then : 7983 $as_echo_n "(cached) " >&6 7984 else 7985 if test -n "$OTOOL64"; then 7986 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7987 else 7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7989 for as_dir in $PATH 7990 do 7991 IFS=$as_save_IFS 7992 test -z "$as_dir" && as_dir=. 7993 for ac_exec_ext in '' $ac_executable_extensions; do 7994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7995 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7997 break 2 7998 fi 7999 done 8000 done 8001 IFS=$as_save_IFS 8002 8003 fi 8004 fi 8005 OTOOL64=$ac_cv_prog_OTOOL64 8006 if test -n "$OTOOL64"; then 8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8008 $as_echo "$OTOOL64" >&6; } 8009 else 8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8011 $as_echo "no" >&6; } 8012 fi 8013 8014 8015 fi 8016 if test -z "$ac_cv_prog_OTOOL64"; then 8017 ac_ct_OTOOL64=$OTOOL64 8018 # Extract the first word of "otool64", so it can be a program name with args. 8019 set dummy otool64; ac_word=$2 8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8021 $as_echo_n "checking for $ac_word... " >&6; } 8022 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8023 $as_echo_n "(cached) " >&6 8024 else 8025 if test -n "$ac_ct_OTOOL64"; then 8026 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8027 else 8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8029 for as_dir in $PATH 8030 do 8031 IFS=$as_save_IFS 8032 test -z "$as_dir" && as_dir=. 8033 for ac_exec_ext in '' $ac_executable_extensions; do 8034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8035 ac_cv_prog_ac_ct_OTOOL64="otool64" 8036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8037 break 2 8038 fi 8039 done 8040 done 8041 IFS=$as_save_IFS 8042 8043 fi 8044 fi 8045 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8046 if test -n "$ac_ct_OTOOL64"; then 8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8048 $as_echo "$ac_ct_OTOOL64" >&6; } 8049 else 8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8051 $as_echo "no" >&6; } 8052 fi 8053 8054 if test "x$ac_ct_OTOOL64" = x; then 8055 OTOOL64=":" 8056 else 8057 case $cross_compiling:$ac_tool_warned in 8058 yes:) 8059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8061 ac_tool_warned=yes ;; 8062 esac 8063 OTOOL64=$ac_ct_OTOOL64 8064 fi 8065 else 8066 OTOOL64="$ac_cv_prog_OTOOL64" 8067 fi 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8096 $as_echo_n "checking for -single_module linker flag... " >&6; } 8097 if ${lt_cv_apple_cc_single_mod+:} false; then : 8098 $as_echo_n "(cached) " >&6 8099 else 8100 lt_cv_apple_cc_single_mod=no 8101 if test -z "${LT_MULTI_MODULE}"; then 8102 # By default we will add the -single_module flag. You can override 8103 # by either setting the environment variable LT_MULTI_MODULE 8104 # non-empty at configure time, or by adding -multi_module to the 8105 # link flags. 8106 rm -rf libconftest.dylib* 8107 echo "int foo(void){return 1;}" > conftest.c 8108 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8109 -dynamiclib -Wl,-single_module conftest.c" >&5 8110 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8111 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8112 _lt_result=$? 8113 # If there is a non-empty error log, and "single_module" 8114 # appears in it, assume the flag caused a linker warning 8115 if test -s conftest.err && $GREP single_module conftest.err; then 8116 cat conftest.err >&5 8117 # Otherwise, if the output was created with a 0 exit code from 8118 # the compiler, it worked. 8119 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 8120 lt_cv_apple_cc_single_mod=yes 8121 else 8122 cat conftest.err >&5 8123 fi 8124 rm -rf libconftest.dylib* 8125 rm -f conftest.* 8126 fi 8127 fi 8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8129 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8130 8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8132 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8133 if ${lt_cv_ld_exported_symbols_list+:} false; then : 8134 $as_echo_n "(cached) " >&6 8135 else 8136 lt_cv_ld_exported_symbols_list=no 8137 save_LDFLAGS=$LDFLAGS 8138 echo "_main" > conftest.sym 8139 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8141 /* end confdefs.h. */ 8142 8143 int 8144 main () 8145 { 8146 8147 ; 8148 return 0; 8149 } 8150 _ACEOF 8151 if ac_fn_c_try_link "$LINENO"; then : 8152 lt_cv_ld_exported_symbols_list=yes 8153 else 8154 lt_cv_ld_exported_symbols_list=no 8155 fi 8156 rm -f core conftest.err conftest.$ac_objext \ 8157 conftest$ac_exeext conftest.$ac_ext 8158 LDFLAGS="$save_LDFLAGS" 8159 8160 fi 8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8162 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8163 8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8165 $as_echo_n "checking for -force_load linker flag... " >&6; } 8166 if ${lt_cv_ld_force_load+:} false; then : 8167 $as_echo_n "(cached) " >&6 8168 else 8169 lt_cv_ld_force_load=no 8170 cat > conftest.c << _LT_EOF 8171 int forced_loaded() { return 2;} 8172 _LT_EOF 8173 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8174 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8175 echo "$AR cru libconftest.a conftest.o" >&5 8176 $AR cru libconftest.a conftest.o 2>&5 8177 echo "$RANLIB libconftest.a" >&5 8178 $RANLIB libconftest.a 2>&5 8179 cat > conftest.c << _LT_EOF 8180 int main() { return 0;} 8181 _LT_EOF 8182 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8183 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8184 _lt_result=$? 8185 if test -s conftest.err && $GREP force_load conftest.err; then 8186 cat conftest.err >&5 8187 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 8188 lt_cv_ld_force_load=yes 8189 else 8190 cat conftest.err >&5 8191 fi 8192 rm -f conftest.err libconftest.a conftest conftest.c 8193 rm -rf conftest.dSYM 8194 8195 fi 8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8197 $as_echo "$lt_cv_ld_force_load" >&6; } 8198 case $host_os in 8199 rhapsody* | darwin1.[012]) 8200 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8201 darwin1.*) 8202 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8203 darwin*) # darwin 5.x on 8204 # if running on 10.5 or later, the deployment target defaults 8205 # to the OS version, if on x86, and 10.4, the deployment 8206 # target defaults to 10.4. Don't you love it? 8207 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8208 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8209 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8210 10.[012]*) 8211 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8212 10.*) 8213 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8214 esac 8215 ;; 8216 esac 8217 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8218 _lt_dar_single_mod='$single_module' 8219 fi 8220 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8221 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8222 else 8223 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8224 fi 8225 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 8226 _lt_dsymutil='~$DSYMUTIL $lib || :' 8227 else 8228 _lt_dsymutil= 8229 fi 8230 ;; 8231 esac 8232 8233 ac_ext=c 8234 ac_cpp='$CPP $CPPFLAGS' 8235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8237 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8239 $as_echo_n "checking how to run the C preprocessor... " >&6; } 8240 # On Suns, sometimes $CPP names a directory. 8241 if test -n "$CPP" && test -d "$CPP"; then 8242 CPP= 8243 fi 8244 if test -z "$CPP"; then 8245 if ${ac_cv_prog_CPP+:} false; then : 8246 $as_echo_n "(cached) " >&6 8247 else 8248 # Double quotes because CPP needs to be expanded 8249 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8250 do 8251 ac_preproc_ok=false 8252 for ac_c_preproc_warn_flag in '' yes 8253 do 8254 # Use a header file that comes with gcc, so configuring glibc 8255 # with a fresh cross-compiler works. 8256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8257 # <limits.h> exists even on freestanding compilers. 8258 # On the NeXT, cc -E runs the code through the compiler's parser, 8259 # not just through cpp. "Syntax error" is here to catch this case. 8260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8261 /* end confdefs.h. */ 8262 #ifdef __STDC__ 8263 # include <limits.h> 8264 #else 8265 # include <assert.h> 8266 #endif 8267 Syntax error 8268 _ACEOF 8269 if ac_fn_c_try_cpp "$LINENO"; then : 8270 8271 else 8272 # Broken: fails on valid input. 8273 continue 8274 fi 8275 rm -f conftest.err conftest.i conftest.$ac_ext 8276 8277 # OK, works on sane cases. Now check whether nonexistent headers 8278 # can be detected and how. 8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8280 /* end confdefs.h. */ 8281 #include <ac_nonexistent.h> 8282 _ACEOF 8283 if ac_fn_c_try_cpp "$LINENO"; then : 8284 # Broken: success on invalid input. 8285 continue 8286 else 8287 # Passes both tests. 8288 ac_preproc_ok=: 8289 break 8290 fi 8291 rm -f conftest.err conftest.i conftest.$ac_ext 8292 8293 done 8294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8295 rm -f conftest.i conftest.err conftest.$ac_ext 8296 if $ac_preproc_ok; then : 8297 break 8298 fi 8299 8300 done 8301 ac_cv_prog_CPP=$CPP 8302 8303 fi 8304 CPP=$ac_cv_prog_CPP 8305 else 8306 ac_cv_prog_CPP=$CPP 8307 fi 8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8309 $as_echo "$CPP" >&6; } 8310 ac_preproc_ok=false 8311 for ac_c_preproc_warn_flag in '' yes 8312 do 8313 # Use a header file that comes with gcc, so configuring glibc 8314 # with a fresh cross-compiler works. 8315 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8316 # <limits.h> exists even on freestanding compilers. 8317 # On the NeXT, cc -E runs the code through the compiler's parser, 8318 # not just through cpp. "Syntax error" is here to catch this case. 8319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8320 /* end confdefs.h. */ 8321 #ifdef __STDC__ 8322 # include <limits.h> 8323 #else 8324 # include <assert.h> 8325 #endif 8326 Syntax error 8327 _ACEOF 8328 if ac_fn_c_try_cpp "$LINENO"; then : 8329 8330 else 8331 # Broken: fails on valid input. 8332 continue 8333 fi 8334 rm -f conftest.err conftest.i conftest.$ac_ext 8335 8336 # OK, works on sane cases. Now check whether nonexistent headers 8337 # can be detected and how. 8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8339 /* end confdefs.h. */ 8340 #include <ac_nonexistent.h> 8341 _ACEOF 8342 if ac_fn_c_try_cpp "$LINENO"; then : 8343 # Broken: success on invalid input. 8344 continue 8345 else 8346 # Passes both tests. 8347 ac_preproc_ok=: 8348 break 8349 fi 8350 rm -f conftest.err conftest.i conftest.$ac_ext 8351 8352 done 8353 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8354 rm -f conftest.i conftest.err conftest.$ac_ext 8355 if $ac_preproc_ok; then : 8356 8357 else 8358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8360 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8361 See \`config.log' for more details" "$LINENO" 5; } 8362 fi 8363 8364 ac_ext=c 8365 ac_cpp='$CPP $CPPFLAGS' 8366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8368 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8369 8370 8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8372 $as_echo_n "checking for ANSI C header files... " >&6; } 8373 if ${ac_cv_header_stdc+:} false; then : 8374 $as_echo_n "(cached) " >&6 8375 else 8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8377 /* end confdefs.h. */ 8378 #include <stdlib.h> 8379 #include <stdarg.h> 8380 #include <string.h> 8381 #include <float.h> 8382 8383 int 8384 main () 8385 { 8386 8387 ; 8388 return 0; 8389 } 8390 _ACEOF 8391 if ac_fn_c_try_compile "$LINENO"; then : 8392 ac_cv_header_stdc=yes 8393 else 8394 ac_cv_header_stdc=no 8395 fi 8396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8397 8398 if test $ac_cv_header_stdc = yes; then 8399 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8401 /* end confdefs.h. */ 8402 #include <string.h> 8403 8404 _ACEOF 8405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8406 $EGREP "memchr" >/dev/null 2>&1; then : 8407 8408 else 8409 ac_cv_header_stdc=no 8410 fi 8411 rm -f conftest* 8412 8413 fi 8414 8415 if test $ac_cv_header_stdc = yes; then 8416 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8418 /* end confdefs.h. */ 8419 #include <stdlib.h> 8420 8421 _ACEOF 8422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8423 $EGREP "free" >/dev/null 2>&1; then : 8424 8425 else 8426 ac_cv_header_stdc=no 8427 fi 8428 rm -f conftest* 8429 8430 fi 8431 8432 if test $ac_cv_header_stdc = yes; then 8433 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8434 if test "$cross_compiling" = yes; then : 8435 : 8436 else 8437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8438 /* end confdefs.h. */ 8439 #include <ctype.h> 8440 #include <stdlib.h> 8441 #if ((' ' & 0x0FF) == 0x020) 8442 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8443 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8444 #else 8445 # define ISLOWER(c) \ 8446 (('a' <= (c) && (c) <= 'i') \ 8447 || ('j' <= (c) && (c) <= 'r') \ 8448 || ('s' <= (c) && (c) <= 'z')) 8449 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8450 #endif 8451 8452 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8453 int 8454 main () 8455 { 8456 int i; 8457 for (i = 0; i < 256; i++) 8458 if (XOR (islower (i), ISLOWER (i)) 8459 || toupper (i) != TOUPPER (i)) 8460 return 2; 8461 return 0; 8462 } 8463 _ACEOF 8464 if ac_fn_c_try_run "$LINENO"; then : 8465 8466 else 8467 ac_cv_header_stdc=no 8468 fi 8469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8470 conftest.$ac_objext conftest.beam conftest.$ac_ext 8471 fi 8472 8473 fi 8474 fi 8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8476 $as_echo "$ac_cv_header_stdc" >&6; } 8477 if test $ac_cv_header_stdc = yes; then 8478 8479 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 8480 8481 fi 8482 8483 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 8484 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8485 inttypes.h stdint.h unistd.h 8486 do : 8487 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8488 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8489 " 8490 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8491 cat >>confdefs.h <<_ACEOF 8492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8493 _ACEOF 8494 8495 fi 8496 8497 done 8498 8499 8500 for ac_header in dlfcn.h 8501 do : 8502 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8503 " 8504 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8505 cat >>confdefs.h <<_ACEOF 8506 #define HAVE_DLFCN_H 1 8507 _ACEOF 8508 8509 fi 8510 8511 done 8512 8513 8514 8515 8516 8517 # Set options 8518 8519 8520 8521 enable_dlopen=no 8522 8523 8524 enable_win32_dll=no 8525 8526 8527 # Check whether --enable-shared was given. 8528 if test "${enable_shared+set}" = set; then : 8529 enableval=$enable_shared; p=${PACKAGE-default} 8530 case $enableval in 8531 yes) enable_shared=yes ;; 8532 no) enable_shared=no ;; 8533 *) 8534 enable_shared=no 8535 # Look at the argument we got. We use all the common list separators. 8536 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8537 for pkg in $enableval; do 8538 IFS="$lt_save_ifs" 8539 if test "X$pkg" = "X$p"; then 8540 enable_shared=yes 8541 fi 8542 done 8543 IFS="$lt_save_ifs" 8544 ;; 8545 esac 8546 else 8547 enable_shared=yes 8548 fi 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 # Check whether --with-pic was given. 8561 if test "${with_pic+set}" = set; then : 8562 withval=$with_pic; lt_p=${PACKAGE-default} 8563 case $withval in 8564 yes|no) pic_mode=$withval ;; 8565 *) 8566 pic_mode=default 8567 # Look at the argument we got. We use all the common list separators. 8568 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8569 for lt_pkg in $withval; do 8570 IFS="$lt_save_ifs" 8571 if test "X$lt_pkg" = "X$lt_p"; then 8572 pic_mode=yes 8573 fi 8574 done 8575 IFS="$lt_save_ifs" 8576 ;; 8577 esac 8578 else 8579 pic_mode=default 8580 fi 8581 8582 8583 test -z "$pic_mode" && pic_mode=default 8584 8585 8586 8587 8588 8589 8590 8591 # Check whether --enable-fast-install was given. 8592 if test "${enable_fast_install+set}" = set; then : 8593 enableval=$enable_fast_install; p=${PACKAGE-default} 8594 case $enableval in 8595 yes) enable_fast_install=yes ;; 8596 no) enable_fast_install=no ;; 8597 *) 8598 enable_fast_install=no 8599 # Look at the argument we got. We use all the common list separators. 8600 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8601 for pkg in $enableval; do 8602 IFS="$lt_save_ifs" 8603 if test "X$pkg" = "X$p"; then 8604 enable_fast_install=yes 8605 fi 8606 done 8607 IFS="$lt_save_ifs" 8608 ;; 8609 esac 8610 else 8611 enable_fast_install=yes 8612 fi 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 # This can be used to rebuild libtool when needed 8625 LIBTOOL_DEPS="$ltmain" 8626 8627 # Always use our own libtool. 8628 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 test -z "$LN_S" && LN_S="ln -s" 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 if test -n "${ZSH_VERSION+set}" ; then 8675 setopt NO_GLOB_SUBST 8676 fi 8677 8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8679 $as_echo_n "checking for objdir... " >&6; } 8680 if ${lt_cv_objdir+:} false; then : 8681 $as_echo_n "(cached) " >&6 8682 else 8683 rm -f .libs 2>/dev/null 8684 mkdir .libs 2>/dev/null 8685 if test -d .libs; then 8686 lt_cv_objdir=.libs 8687 else 8688 # MS-DOS does not allow filenames that begin with a dot. 8689 lt_cv_objdir=_libs 8690 fi 8691 rmdir .libs 2>/dev/null 8692 fi 8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8694 $as_echo "$lt_cv_objdir" >&6; } 8695 objdir=$lt_cv_objdir 8696 8697 8698 8699 8700 8701 cat >>confdefs.h <<_ACEOF 8702 #define LT_OBJDIR "$lt_cv_objdir/" 8703 _ACEOF 8704 8705 8706 8707 8708 case $host_os in 8709 aix3*) 8710 # AIX sometimes has problems with the GCC collect2 program. For some 8711 # reason, if we set the COLLECT_NAMES environment variable, the problems 8712 # vanish in a puff of smoke. 8713 if test "X${COLLECT_NAMES+set}" != Xset; then 8714 COLLECT_NAMES= 8715 export COLLECT_NAMES 8716 fi 8717 ;; 8718 esac 8719 8720 # Global variables: 8721 ofile=libtool 8722 can_build_shared=yes 8723 8724 # All known linkers require a `.a' archive for static linking (except MSVC, 8725 # which needs '.lib'). 8726 libext=a 8727 8728 with_gnu_ld="$lt_cv_prog_gnu_ld" 8729 8730 old_CC="$CC" 8731 old_CFLAGS="$CFLAGS" 8732 8733 # Set sane defaults for various variables 8734 test -z "$CC" && CC=cc 8735 test -z "$LTCC" && LTCC=$CC 8736 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8737 test -z "$LD" && LD=ld 8738 test -z "$ac_objext" && ac_objext=o 8739 8740 for cc_temp in $compiler""; do 8741 case $cc_temp in 8742 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8743 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8744 \-*) ;; 8745 *) break;; 8746 esac 8747 done 8748 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8749 8750 8751 # Only perform the check for file, if the check method requires it 8752 test -z "$MAGIC_CMD" && MAGIC_CMD=file 8753 case $deplibs_check_method in 8754 file_magic*) 8755 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8757 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8758 if ${lt_cv_path_MAGIC_CMD+:} false; then : 8759 $as_echo_n "(cached) " >&6 8760 else 8761 case $MAGIC_CMD in 8762 [\\/*] | ?:[\\/]*) 8763 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8764 ;; 8765 *) 8766 lt_save_MAGIC_CMD="$MAGIC_CMD" 8767 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8768 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8769 for ac_dir in $ac_dummy; do 8770 IFS="$lt_save_ifs" 8771 test -z "$ac_dir" && ac_dir=. 8772 if test -f $ac_dir/${ac_tool_prefix}file; then 8773 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8774 if test -n "$file_magic_test_file"; then 8775 case $deplibs_check_method in 8776 "file_magic "*) 8777 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8778 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8779 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8780 $EGREP "$file_magic_regex" > /dev/null; then 8781 : 8782 else 8783 cat <<_LT_EOF 1>&2 8784 8785 *** Warning: the command libtool uses to detect shared libraries, 8786 *** $file_magic_cmd, produces output that libtool cannot recognize. 8787 *** The result is that libtool may fail to recognize shared libraries 8788 *** as such. This will affect the creation of libtool libraries that 8789 *** depend on shared libraries, but programs linked with such libtool 8790 *** libraries will work regardless of this problem. Nevertheless, you 8791 *** may want to report the problem to your system manager and/or to 8792 *** bug-libtool@gnu.org 8793 8794 _LT_EOF 8795 fi ;; 8796 esac 8797 fi 8798 break 8799 fi 8800 done 8801 IFS="$lt_save_ifs" 8802 MAGIC_CMD="$lt_save_MAGIC_CMD" 8803 ;; 8804 esac 8805 fi 8806 8807 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8808 if test -n "$MAGIC_CMD"; then 8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8810 $as_echo "$MAGIC_CMD" >&6; } 8811 else 8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8813 $as_echo "no" >&6; } 8814 fi 8815 8816 8817 8818 8819 8820 if test -z "$lt_cv_path_MAGIC_CMD"; then 8821 if test -n "$ac_tool_prefix"; then 8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8823 $as_echo_n "checking for file... " >&6; } 8824 if ${lt_cv_path_MAGIC_CMD+:} false; then : 8825 $as_echo_n "(cached) " >&6 8826 else 8827 case $MAGIC_CMD in 8828 [\\/*] | ?:[\\/]*) 8829 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8830 ;; 8831 *) 8832 lt_save_MAGIC_CMD="$MAGIC_CMD" 8833 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8834 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8835 for ac_dir in $ac_dummy; do 8836 IFS="$lt_save_ifs" 8837 test -z "$ac_dir" && ac_dir=. 8838 if test -f $ac_dir/file; then 8839 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8840 if test -n "$file_magic_test_file"; then 8841 case $deplibs_check_method in 8842 "file_magic "*) 8843 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8844 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8845 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8846 $EGREP "$file_magic_regex" > /dev/null; then 8847 : 8848 else 8849 cat <<_LT_EOF 1>&2 8850 8851 *** Warning: the command libtool uses to detect shared libraries, 8852 *** $file_magic_cmd, produces output that libtool cannot recognize. 8853 *** The result is that libtool may fail to recognize shared libraries 8854 *** as such. This will affect the creation of libtool libraries that 8855 *** depend on shared libraries, but programs linked with such libtool 8856 *** libraries will work regardless of this problem. Nevertheless, you 8857 *** may want to report the problem to your system manager and/or to 8858 *** bug-libtool@gnu.org 8859 8860 _LT_EOF 8861 fi ;; 8862 esac 8863 fi 8864 break 8865 fi 8866 done 8867 IFS="$lt_save_ifs" 8868 MAGIC_CMD="$lt_save_MAGIC_CMD" 8869 ;; 8870 esac 8871 fi 8872 8873 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8874 if test -n "$MAGIC_CMD"; then 8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8876 $as_echo "$MAGIC_CMD" >&6; } 8877 else 8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8879 $as_echo "no" >&6; } 8880 fi 8881 8882 8883 else 8884 MAGIC_CMD=: 8885 fi 8886 fi 8887 8888 fi 8889 ;; 8890 esac 8891 8892 # Use C for the default configuration in the libtool script 8893 8894 lt_save_CC="$CC" 8895 ac_ext=c 8896 ac_cpp='$CPP $CPPFLAGS' 8897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8899 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8900 8901 8902 # Source file extension for C test sources. 8903 ac_ext=c 8904 8905 # Object file extension for compiled C test sources. 8906 objext=o 8907 objext=$objext 8908 8909 # Code to be used in simple compile tests 8910 lt_simple_compile_test_code="int some_variable = 0;" 8911 8912 # Code to be used in simple link tests 8913 lt_simple_link_test_code='int main(){return(0);}' 8914 8915 8916 8917 8918 8919 8920 8921 # If no C compiler was specified, use CC. 8922 LTCC=${LTCC-"$CC"} 8923 8924 # If no C compiler flags were specified, use CFLAGS. 8925 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8926 8927 # Allow CC to be a program name with arguments. 8928 compiler=$CC 8929 8930 # Save the default compiler, since it gets overwritten when the other 8931 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8932 compiler_DEFAULT=$CC 8933 8934 # save warnings/boilerplate of simple test code 8935 ac_outfile=conftest.$ac_objext 8936 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8937 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8938 _lt_compiler_boilerplate=`cat conftest.err` 8939 $RM conftest* 8940 8941 ac_outfile=conftest.$ac_objext 8942 echo "$lt_simple_link_test_code" >conftest.$ac_ext 8943 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8944 _lt_linker_boilerplate=`cat conftest.err` 8945 $RM -r conftest* 8946 8947 8948 ## CAVEAT EMPTOR: 8949 ## There is no encapsulation within the following macros, do not change 8950 ## the running order or otherwise move them around unless you know exactly 8951 ## what you are doing... 8952 if test -n "$compiler"; then 8953 8954 lt_prog_compiler_no_builtin_flag= 8955 8956 if test "$GCC" = yes; then 8957 case $cc_basename in 8958 nvcc*) 8959 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8960 *) 8961 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8962 esac 8963 8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8965 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8966 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8967 $as_echo_n "(cached) " >&6 8968 else 8969 lt_cv_prog_compiler_rtti_exceptions=no 8970 ac_outfile=conftest.$ac_objext 8971 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8972 lt_compiler_flag="-fno-rtti -fno-exceptions" 8973 # Insert the option either (1) after the last *FLAGS variable, or 8974 # (2) before a word containing "conftest.", or (3) at the end. 8975 # Note that $ac_compile itself does not contain backslashes and begins 8976 # with a dollar sign (not a hyphen), so the echo should work correctly. 8977 # The option is referenced via a variable to avoid confusing sed. 8978 lt_compile=`echo "$ac_compile" | $SED \ 8979 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8980 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8981 -e 's:$: $lt_compiler_flag:'` 8982 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8983 (eval "$lt_compile" 2>conftest.err) 8984 ac_status=$? 8985 cat conftest.err >&5 8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8987 if (exit $ac_status) && test -s "$ac_outfile"; then 8988 # The compiler can only warn and ignore the option if not recognized 8989 # So say no if there are warnings other than the usual output. 8990 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8991 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8992 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8993 lt_cv_prog_compiler_rtti_exceptions=yes 8994 fi 8995 fi 8996 $RM conftest* 8997 8998 fi 8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9000 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9001 9002 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9003 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9004 else 9005 : 9006 fi 9007 9008 fi 9009 9010 9011 9012 9013 9014 9015 lt_prog_compiler_wl= 9016 lt_prog_compiler_pic= 9017 lt_prog_compiler_static= 9018 9019 9020 if test "$GCC" = yes; then 9021 lt_prog_compiler_wl='-Wl,' 9022 lt_prog_compiler_static='-static' 9023 9024 case $host_os in 9025 aix*) 9026 # All AIX code is PIC. 9027 if test "$host_cpu" = ia64; then 9028 # AIX 5 now supports IA64 processor 9029 lt_prog_compiler_static='-Bstatic' 9030 fi 9031 ;; 9032 9033 amigaos*) 9034 case $host_cpu in 9035 powerpc) 9036 # see comment about AmigaOS4 .so support 9037 lt_prog_compiler_pic='-fPIC' 9038 ;; 9039 m68k) 9040 # FIXME: we need at least 68020 code to build shared libraries, but 9041 # adding the `-m68020' flag to GCC prevents building anything better, 9042 # like `-m68040'. 9043 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9044 ;; 9045 esac 9046 ;; 9047 9048 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9049 # PIC is the default for these OSes. 9050 ;; 9051 9052 mingw* | cygwin* | pw32* | os2* | cegcc*) 9053 # This hack is so that the source file can tell whether it is being 9054 # built for inclusion in a dll (and should export symbols for example). 9055 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9056 # (--disable-auto-import) libraries 9057 lt_prog_compiler_pic='-DDLL_EXPORT' 9058 ;; 9059 9060 darwin* | rhapsody*) 9061 # PIC is the default on this platform 9062 # Common symbols not allowed in MH_DYLIB files 9063 lt_prog_compiler_pic='-fno-common' 9064 ;; 9065 9066 haiku*) 9067 # PIC is the default for Haiku. 9068 # The "-static" flag exists, but is broken. 9069 lt_prog_compiler_static= 9070 ;; 9071 9072 hpux*) 9073 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9074 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9075 # sets the default TLS model and affects inlining. 9076 case $host_cpu in 9077 hppa*64*) 9078 # +Z the default 9079 ;; 9080 *) 9081 lt_prog_compiler_pic='-fPIC' 9082 ;; 9083 esac 9084 ;; 9085 9086 interix[3-9]*) 9087 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9088 # Instead, we relocate shared libraries at runtime. 9089 ;; 9090 9091 msdosdjgpp*) 9092 # Just because we use GCC doesn't mean we suddenly get shared libraries 9093 # on systems that don't support them. 9094 lt_prog_compiler_can_build_shared=no 9095 enable_shared=no 9096 ;; 9097 9098 *nto* | *qnx*) 9099 # QNX uses GNU C++, but need to define -shared option too, otherwise 9100 # it will coredump. 9101 lt_prog_compiler_pic='-fPIC -shared' 9102 ;; 9103 9104 sysv4*MP*) 9105 if test -d /usr/nec; then 9106 lt_prog_compiler_pic=-Kconform_pic 9107 fi 9108 ;; 9109 9110 *) 9111 lt_prog_compiler_pic='-fPIC' 9112 ;; 9113 esac 9114 9115 case $cc_basename in 9116 nvcc*) # Cuda Compiler Driver 2.2 9117 lt_prog_compiler_wl='-Xlinker ' 9118 if test -n "$lt_prog_compiler_pic"; then 9119 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9120 fi 9121 ;; 9122 esac 9123 else 9124 # PORTME Check for flag to pass linker flags through the system compiler. 9125 case $host_os in 9126 aix*) 9127 lt_prog_compiler_wl='-Wl,' 9128 if test "$host_cpu" = ia64; then 9129 # AIX 5 now supports IA64 processor 9130 lt_prog_compiler_static='-Bstatic' 9131 else 9132 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9133 fi 9134 ;; 9135 9136 mingw* | cygwin* | pw32* | os2* | cegcc*) 9137 # This hack is so that the source file can tell whether it is being 9138 # built for inclusion in a dll (and should export symbols for example). 9139 lt_prog_compiler_pic='-DDLL_EXPORT' 9140 ;; 9141 9142 hpux9* | hpux10* | hpux11*) 9143 lt_prog_compiler_wl='-Wl,' 9144 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9145 # not for PA HP-UX. 9146 case $host_cpu in 9147 hppa*64*|ia64*) 9148 # +Z the default 9149 ;; 9150 *) 9151 lt_prog_compiler_pic='+Z' 9152 ;; 9153 esac 9154 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9155 lt_prog_compiler_static='${wl}-a ${wl}archive' 9156 ;; 9157 9158 irix5* | irix6* | nonstopux*) 9159 lt_prog_compiler_wl='-Wl,' 9160 # PIC (with -KPIC) is the default. 9161 lt_prog_compiler_static='-non_shared' 9162 ;; 9163 9164 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9165 case $cc_basename in 9166 # old Intel for x86_64 which still supported -KPIC. 9167 ecc*) 9168 lt_prog_compiler_wl='-Wl,' 9169 lt_prog_compiler_pic='-KPIC' 9170 lt_prog_compiler_static='-static' 9171 ;; 9172 # icc used to be incompatible with GCC. 9173 # ICC 10 doesn't accept -KPIC any more. 9174 icc* | ifort*) 9175 lt_prog_compiler_wl='-Wl,' 9176 lt_prog_compiler_pic='-fPIC' 9177 lt_prog_compiler_static='-static' 9178 ;; 9179 # Lahey Fortran 8.1. 9180 lf95*) 9181 lt_prog_compiler_wl='-Wl,' 9182 lt_prog_compiler_pic='--shared' 9183 lt_prog_compiler_static='--static' 9184 ;; 9185 nagfor*) 9186 # NAG Fortran compiler 9187 lt_prog_compiler_wl='-Wl,-Wl,,' 9188 lt_prog_compiler_pic='-PIC' 9189 lt_prog_compiler_static='-Bstatic' 9190 ;; 9191 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9192 # Portland Group compilers (*not* the Pentium gcc compiler, 9193 # which looks to be a dead project) 9194 lt_prog_compiler_wl='-Wl,' 9195 lt_prog_compiler_pic='-fpic' 9196 lt_prog_compiler_static='-Bstatic' 9197 ;; 9198 ccc*) 9199 lt_prog_compiler_wl='-Wl,' 9200 # All Alpha code is PIC. 9201 lt_prog_compiler_static='-non_shared' 9202 ;; 9203 xl* | bgxl* | bgf* | mpixl*) 9204 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9205 lt_prog_compiler_wl='-Wl,' 9206 lt_prog_compiler_pic='-qpic' 9207 lt_prog_compiler_static='-qstaticlink' 9208 ;; 9209 *) 9210 case `$CC -V 2>&1 | sed 5q` in 9211 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9212 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9213 lt_prog_compiler_pic='-KPIC' 9214 lt_prog_compiler_static='-Bstatic' 9215 lt_prog_compiler_wl='' 9216 ;; 9217 *Sun\ F* | *Sun*Fortran*) 9218 lt_prog_compiler_pic='-KPIC' 9219 lt_prog_compiler_static='-Bstatic' 9220 lt_prog_compiler_wl='-Qoption ld ' 9221 ;; 9222 *Sun\ C*) 9223 # Sun C 5.9 9224 lt_prog_compiler_pic='-KPIC' 9225 lt_prog_compiler_static='-Bstatic' 9226 lt_prog_compiler_wl='-Wl,' 9227 ;; 9228 *Intel*\ [CF]*Compiler*) 9229 lt_prog_compiler_wl='-Wl,' 9230 lt_prog_compiler_pic='-fPIC' 9231 lt_prog_compiler_static='-static' 9232 ;; 9233 *Portland\ Group*) 9234 lt_prog_compiler_wl='-Wl,' 9235 lt_prog_compiler_pic='-fpic' 9236 lt_prog_compiler_static='-Bstatic' 9237 ;; 9238 esac 9239 ;; 9240 esac 9241 ;; 9242 9243 newsos6) 9244 lt_prog_compiler_pic='-KPIC' 9245 lt_prog_compiler_static='-Bstatic' 9246 ;; 9247 9248 *nto* | *qnx*) 9249 # QNX uses GNU C++, but need to define -shared option too, otherwise 9250 # it will coredump. 9251 lt_prog_compiler_pic='-fPIC -shared' 9252 ;; 9253 9254 osf3* | osf4* | osf5*) 9255 lt_prog_compiler_wl='-Wl,' 9256 # All OSF/1 code is PIC. 9257 lt_prog_compiler_static='-non_shared' 9258 ;; 9259 9260 rdos*) 9261 lt_prog_compiler_static='-non_shared' 9262 ;; 9263 9264 solaris*) 9265 lt_prog_compiler_pic='-KPIC' 9266 lt_prog_compiler_static='-Bstatic' 9267 case $cc_basename in 9268 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9269 lt_prog_compiler_wl='-Qoption ld ';; 9270 *) 9271 lt_prog_compiler_wl='-Wl,';; 9272 esac 9273 ;; 9274 9275 sunos4*) 9276 lt_prog_compiler_wl='-Qoption ld ' 9277 lt_prog_compiler_pic='-PIC' 9278 lt_prog_compiler_static='-Bstatic' 9279 ;; 9280 9281 sysv4 | sysv4.2uw2* | sysv4.3*) 9282 lt_prog_compiler_wl='-Wl,' 9283 lt_prog_compiler_pic='-KPIC' 9284 lt_prog_compiler_static='-Bstatic' 9285 ;; 9286 9287 sysv4*MP*) 9288 if test -d /usr/nec ;then 9289 lt_prog_compiler_pic='-Kconform_pic' 9290 lt_prog_compiler_static='-Bstatic' 9291 fi 9292 ;; 9293 9294 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9295 lt_prog_compiler_wl='-Wl,' 9296 lt_prog_compiler_pic='-KPIC' 9297 lt_prog_compiler_static='-Bstatic' 9298 ;; 9299 9300 unicos*) 9301 lt_prog_compiler_wl='-Wl,' 9302 lt_prog_compiler_can_build_shared=no 9303 ;; 9304 9305 uts4*) 9306 lt_prog_compiler_pic='-pic' 9307 lt_prog_compiler_static='-Bstatic' 9308 ;; 9309 9310 *) 9311 lt_prog_compiler_can_build_shared=no 9312 ;; 9313 esac 9314 fi 9315 9316 case $host_os in 9317 # For platforms which do not support PIC, -DPIC is meaningless: 9318 *djgpp*) 9319 lt_prog_compiler_pic= 9320 ;; 9321 *) 9322 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9323 ;; 9324 esac 9325 9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9327 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9328 if ${lt_cv_prog_compiler_pic+:} false; then : 9329 $as_echo_n "(cached) " >&6 9330 else 9331 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9332 fi 9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9334 $as_echo "$lt_cv_prog_compiler_pic" >&6; } 9335 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9336 9337 # 9338 # Check to make sure the PIC flag actually works. 9339 # 9340 if test -n "$lt_prog_compiler_pic"; then 9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9342 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9343 if ${lt_cv_prog_compiler_pic_works+:} false; then : 9344 $as_echo_n "(cached) " >&6 9345 else 9346 lt_cv_prog_compiler_pic_works=no 9347 ac_outfile=conftest.$ac_objext 9348 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9349 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9350 # Insert the option either (1) after the last *FLAGS variable, or 9351 # (2) before a word containing "conftest.", or (3) at the end. 9352 # Note that $ac_compile itself does not contain backslashes and begins 9353 # with a dollar sign (not a hyphen), so the echo should work correctly. 9354 # The option is referenced via a variable to avoid confusing sed. 9355 lt_compile=`echo "$ac_compile" | $SED \ 9356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9358 -e 's:$: $lt_compiler_flag:'` 9359 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9360 (eval "$lt_compile" 2>conftest.err) 9361 ac_status=$? 9362 cat conftest.err >&5 9363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9364 if (exit $ac_status) && test -s "$ac_outfile"; then 9365 # The compiler can only warn and ignore the option if not recognized 9366 # So say no if there are warnings other than the usual output. 9367 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9368 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9369 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9370 lt_cv_prog_compiler_pic_works=yes 9371 fi 9372 fi 9373 $RM conftest* 9374 9375 fi 9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9377 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9378 9379 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9380 case $lt_prog_compiler_pic in 9381 "" | " "*) ;; 9382 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9383 esac 9384 else 9385 lt_prog_compiler_pic= 9386 lt_prog_compiler_can_build_shared=no 9387 fi 9388 9389 fi 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 # 9402 # Check to make sure the static flag actually works. 9403 # 9404 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9406 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9407 if ${lt_cv_prog_compiler_static_works+:} false; then : 9408 $as_echo_n "(cached) " >&6 9409 else 9410 lt_cv_prog_compiler_static_works=no 9411 save_LDFLAGS="$LDFLAGS" 9412 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9413 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9414 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9415 # The linker can only warn and ignore the option if not recognized 9416 # So say no if there are warnings 9417 if test -s conftest.err; then 9418 # Append any errors to the config.log. 9419 cat conftest.err 1>&5 9420 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9421 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9422 if diff conftest.exp conftest.er2 >/dev/null; then 9423 lt_cv_prog_compiler_static_works=yes 9424 fi 9425 else 9426 lt_cv_prog_compiler_static_works=yes 9427 fi 9428 fi 9429 $RM -r conftest* 9430 LDFLAGS="$save_LDFLAGS" 9431 9432 fi 9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9434 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9435 9436 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9437 : 9438 else 9439 lt_prog_compiler_static= 9440 fi 9441 9442 9443 9444 9445 9446 9447 9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9449 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9450 if ${lt_cv_prog_compiler_c_o+:} false; then : 9451 $as_echo_n "(cached) " >&6 9452 else 9453 lt_cv_prog_compiler_c_o=no 9454 $RM -r conftest 2>/dev/null 9455 mkdir conftest 9456 cd conftest 9457 mkdir out 9458 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9459 9460 lt_compiler_flag="-o out/conftest2.$ac_objext" 9461 # Insert the option either (1) after the last *FLAGS variable, or 9462 # (2) before a word containing "conftest.", or (3) at the end. 9463 # Note that $ac_compile itself does not contain backslashes and begins 9464 # with a dollar sign (not a hyphen), so the echo should work correctly. 9465 lt_compile=`echo "$ac_compile" | $SED \ 9466 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9467 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9468 -e 's:$: $lt_compiler_flag:'` 9469 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9470 (eval "$lt_compile" 2>out/conftest.err) 9471 ac_status=$? 9472 cat out/conftest.err >&5 9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9474 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9475 then 9476 # The compiler can only warn and ignore the option if not recognized 9477 # So say no if there are warnings 9478 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9479 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9480 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9481 lt_cv_prog_compiler_c_o=yes 9482 fi 9483 fi 9484 chmod u+w . 2>&5 9485 $RM conftest* 9486 # SGI C++ compiler will create directory out/ii_files/ for 9487 # template instantiation 9488 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9489 $RM out/* && rmdir out 9490 cd .. 9491 $RM -r conftest 9492 $RM conftest* 9493 9494 fi 9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9496 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9497 9498 9499 9500 9501 9502 9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9504 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9505 if ${lt_cv_prog_compiler_c_o+:} false; then : 9506 $as_echo_n "(cached) " >&6 9507 else 9508 lt_cv_prog_compiler_c_o=no 9509 $RM -r conftest 2>/dev/null 9510 mkdir conftest 9511 cd conftest 9512 mkdir out 9513 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9514 9515 lt_compiler_flag="-o out/conftest2.$ac_objext" 9516 # Insert the option either (1) after the last *FLAGS variable, or 9517 # (2) before a word containing "conftest.", or (3) at the end. 9518 # Note that $ac_compile itself does not contain backslashes and begins 9519 # with a dollar sign (not a hyphen), so the echo should work correctly. 9520 lt_compile=`echo "$ac_compile" | $SED \ 9521 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9522 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9523 -e 's:$: $lt_compiler_flag:'` 9524 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9525 (eval "$lt_compile" 2>out/conftest.err) 9526 ac_status=$? 9527 cat out/conftest.err >&5 9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9529 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9530 then 9531 # The compiler can only warn and ignore the option if not recognized 9532 # So say no if there are warnings 9533 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9534 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9535 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9536 lt_cv_prog_compiler_c_o=yes 9537 fi 9538 fi 9539 chmod u+w . 2>&5 9540 $RM conftest* 9541 # SGI C++ compiler will create directory out/ii_files/ for 9542 # template instantiation 9543 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9544 $RM out/* && rmdir out 9545 cd .. 9546 $RM -r conftest 9547 $RM conftest* 9548 9549 fi 9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9551 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9552 9553 9554 9555 9556 hard_links="nottested" 9557 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9558 # do not overwrite the value of need_locks provided by the user 9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9560 $as_echo_n "checking if we can lock with hard links... " >&6; } 9561 hard_links=yes 9562 $RM conftest* 9563 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9564 touch conftest.a 9565 ln conftest.a conftest.b 2>&5 || hard_links=no 9566 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9568 $as_echo "$hard_links" >&6; } 9569 if test "$hard_links" = no; then 9570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9571 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9572 need_locks=warn 9573 fi 9574 else 9575 need_locks=no 9576 fi 9577 9578 9579 9580 9581 9582 9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9584 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9585 9586 runpath_var= 9587 allow_undefined_flag= 9588 always_export_symbols=no 9589 archive_cmds= 9590 archive_expsym_cmds= 9591 compiler_needs_object=no 9592 enable_shared_with_static_runtimes=no 9593 export_dynamic_flag_spec= 9594 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9595 hardcode_automatic=no 9596 hardcode_direct=no 9597 hardcode_direct_absolute=no 9598 hardcode_libdir_flag_spec= 9599 hardcode_libdir_separator= 9600 hardcode_minus_L=no 9601 hardcode_shlibpath_var=unsupported 9602 inherit_rpath=no 9603 link_all_deplibs=unknown 9604 module_cmds= 9605 module_expsym_cmds= 9606 old_archive_from_new_cmds= 9607 old_archive_from_expsyms_cmds= 9608 thread_safe_flag_spec= 9609 whole_archive_flag_spec= 9610 # include_expsyms should be a list of space-separated symbols to be *always* 9611 # included in the symbol list 9612 include_expsyms= 9613 # exclude_expsyms can be an extended regexp of symbols to exclude 9614 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9615 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9616 # as well as any symbol that contains `d'. 9617 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9618 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9619 # platforms (ab)use it in PIC code, but their linkers get confused if 9620 # the symbol is explicitly referenced. Since portable code cannot 9621 # rely on this symbol name, it's probably fine to never include it in 9622 # preloaded symbol tables. 9623 # Exclude shared library initialization/finalization symbols. 9624 extract_expsyms_cmds= 9625 9626 case $host_os in 9627 cygwin* | mingw* | pw32* | cegcc*) 9628 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9629 # When not using gcc, we currently assume that we are using 9630 # Microsoft Visual C++. 9631 if test "$GCC" != yes; then 9632 with_gnu_ld=no 9633 fi 9634 ;; 9635 interix*) 9636 # we just hope/assume this is gcc and not c89 (= MSVC++) 9637 with_gnu_ld=yes 9638 ;; 9639 openbsd*) 9640 with_gnu_ld=no 9641 ;; 9642 linux* | k*bsd*-gnu | gnu*) 9643 link_all_deplibs=no 9644 ;; 9645 esac 9646 9647 ld_shlibs=yes 9648 9649 # On some targets, GNU ld is compatible enough with the native linker 9650 # that we're better off using the native interface for both. 9651 lt_use_gnu_ld_interface=no 9652 if test "$with_gnu_ld" = yes; then 9653 case $host_os in 9654 aix*) 9655 # The AIX port of GNU ld has always aspired to compatibility 9656 # with the native linker. However, as the warning in the GNU ld 9657 # block says, versions before 2.19.5* couldn't really create working 9658 # shared libraries, regardless of the interface used. 9659 case `$LD -v 2>&1` in 9660 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9661 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9662 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9663 *) 9664 lt_use_gnu_ld_interface=yes 9665 ;; 9666 esac 9667 ;; 9668 *) 9669 lt_use_gnu_ld_interface=yes 9670 ;; 9671 esac 9672 fi 9673 9674 if test "$lt_use_gnu_ld_interface" = yes; then 9675 # If archive_cmds runs LD, not CC, wlarc should be empty 9676 wlarc='${wl}' 9677 9678 # Set some defaults for GNU ld with shared library support. These 9679 # are reset later if shared libraries are not supported. Putting them 9680 # here allows them to be overridden if necessary. 9681 runpath_var=LD_RUN_PATH 9682 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9683 export_dynamic_flag_spec='${wl}--export-dynamic' 9684 # ancient GNU ld didn't support --whole-archive et. al. 9685 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9686 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9687 else 9688 whole_archive_flag_spec= 9689 fi 9690 supports_anon_versioning=no 9691 case `$LD -v 2>&1` in 9692 *GNU\ gold*) supports_anon_versioning=yes ;; 9693 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9694 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9695 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9696 *\ 2.11.*) ;; # other 2.11 versions 9697 *) supports_anon_versioning=yes ;; 9698 esac 9699 9700 # See if GNU ld supports shared libraries. 9701 case $host_os in 9702 aix[3-9]*) 9703 # On AIX/PPC, the GNU linker is very broken 9704 if test "$host_cpu" != ia64; then 9705 ld_shlibs=no 9706 cat <<_LT_EOF 1>&2 9707 9708 *** Warning: the GNU linker, at least up to release 2.19, is reported 9709 *** to be unable to reliably create shared libraries on AIX. 9710 *** Therefore, libtool is disabling shared libraries support. If you 9711 *** really care for shared libraries, you may want to install binutils 9712 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9713 *** You will then need to restart the configuration process. 9714 9715 _LT_EOF 9716 fi 9717 ;; 9718 9719 amigaos*) 9720 case $host_cpu in 9721 powerpc) 9722 # see comment about AmigaOS4 .so support 9723 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9724 archive_expsym_cmds='' 9725 ;; 9726 m68k) 9727 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)' 9728 hardcode_libdir_flag_spec='-L$libdir' 9729 hardcode_minus_L=yes 9730 ;; 9731 esac 9732 ;; 9733 9734 beos*) 9735 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9736 allow_undefined_flag=unsupported 9737 # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc 9738 # support --undefined. This deserves some investigation. FIXME 9739 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9740 else 9741 ld_shlibs=no 9742 fi 9743 ;; 9744 9745 cygwin* | mingw* | pw32* | cegcc*) 9746 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9747 # as there is no search path for DLLs. 9748 hardcode_libdir_flag_spec='-L$libdir' 9749 export_dynamic_flag_spec='${wl}--export-all-symbols' 9750 allow_undefined_flag=unsupported 9751 always_export_symbols=no 9752 enable_shared_with_static_runtimes=yes 9753 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' 9754 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9755 9756 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9757 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9758 # If the export-symbols file already is a .def file (1st line 9759 # is EXPORTS), use it as is; otherwise, prepend... 9760 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9761 cp $export_symbols $output_objdir/$soname.def; 9762 else 9763 echo EXPORTS > $output_objdir/$soname.def; 9764 cat $export_symbols >> $output_objdir/$soname.def; 9765 fi~ 9766 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9767 else 9768 ld_shlibs=no 9769 fi 9770 ;; 9771 9772 haiku*) 9773 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9774 link_all_deplibs=yes 9775 ;; 9776 9777 interix[3-9]*) 9778 hardcode_direct=no 9779 hardcode_shlibpath_var=no 9780 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9781 export_dynamic_flag_spec='${wl}-E' 9782 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9783 # Instead, shared libraries are loaded at an image base (0x10000000 by 9784 # default) and relocated if they conflict, which is a slow very memory 9785 # consuming and fragmenting process. To avoid this, we pick a random, 9786 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9787 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9788 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9789 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' 9790 ;; 9791 9792 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9793 tmp_diet=no 9794 if test "$host_os" = linux-dietlibc; then 9795 case $cc_basename in 9796 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9797 esac 9798 fi 9799 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9800 && test "$tmp_diet" = no 9801 then 9802 tmp_addflag=' $pic_flag' 9803 tmp_sharedflag='-shared' 9804 case $cc_basename,$host_cpu in 9805 pgcc*) # Portland Group C compiler 9806 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' 9807 tmp_addflag=' $pic_flag' 9808 ;; 9809 pgf77* | pgf90* | pgf95* | pgfortran*) 9810 # Portland Group f77 and f90 compilers 9811 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' 9812 tmp_addflag=' $pic_flag -Mnomain' ;; 9813 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9814 tmp_addflag=' -i_dynamic' ;; 9815 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9816 tmp_addflag=' -i_dynamic -nofor_main' ;; 9817 ifc* | ifort*) # Intel Fortran compiler 9818 tmp_addflag=' -nofor_main' ;; 9819 lf95*) # Lahey Fortran 8.1 9820 whole_archive_flag_spec= 9821 tmp_sharedflag='--shared' ;; 9822 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9823 tmp_sharedflag='-qmkshrobj' 9824 tmp_addflag= ;; 9825 nvcc*) # Cuda Compiler Driver 2.2 9826 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' 9827 compiler_needs_object=yes 9828 ;; 9829 esac 9830 case `$CC -V 2>&1 | sed 5q` in 9831 *Sun\ C*) # Sun C 5.9 9832 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' 9833 compiler_needs_object=yes 9834 tmp_sharedflag='-G' ;; 9835 *Sun\ F*) # Sun Fortran 8.3 9836 tmp_sharedflag='-G' ;; 9837 esac 9838 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9839 9840 if test "x$supports_anon_versioning" = xyes; then 9841 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9842 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9843 echo "local: *; };" >> $output_objdir/$libname.ver~ 9844 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9845 fi 9846 9847 case $cc_basename in 9848 xlf* | bgf* | bgxlf* | mpixlf*) 9849 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9850 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9851 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9852 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9853 if test "x$supports_anon_versioning" = xyes; then 9854 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9855 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9856 echo "local: *; };" >> $output_objdir/$libname.ver~ 9857 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9858 fi 9859 ;; 9860 esac 9861 else 9862 ld_shlibs=no 9863 fi 9864 ;; 9865 9866 netbsd* | netbsdelf*-gnu) 9867 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9868 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9869 wlarc= 9870 else 9871 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9872 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9873 fi 9874 ;; 9875 9876 solaris*) 9877 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9878 ld_shlibs=no 9879 cat <<_LT_EOF 1>&2 9880 9881 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 9882 *** create shared libraries on Solaris systems. Therefore, libtool 9883 *** is disabling shared libraries support. We urge you to upgrade GNU 9884 *** binutils to release 2.9.1 or newer. Another option is to modify 9885 *** your PATH or compiler configuration so that the native linker is 9886 *** used, and then restart. 9887 9888 _LT_EOF 9889 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9890 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9891 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9892 else 9893 ld_shlibs=no 9894 fi 9895 ;; 9896 9897 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9898 case `$LD -v 2>&1` in 9899 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9900 ld_shlibs=no 9901 cat <<_LT_EOF 1>&2 9902 9903 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9904 *** reliably create shared libraries on SCO systems. Therefore, libtool 9905 *** is disabling shared libraries support. We urge you to upgrade GNU 9906 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9907 *** your PATH or compiler configuration so that the native linker is 9908 *** used, and then restart. 9909 9910 _LT_EOF 9911 ;; 9912 *) 9913 # For security reasons, it is highly recommended that you always 9914 # use absolute paths for naming shared libraries, and exclude the 9915 # DT_RUNPATH tag from executables and libraries. But doing so 9916 # requires that you compile everything twice, which is a pain. 9917 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9918 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9919 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9920 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9921 else 9922 ld_shlibs=no 9923 fi 9924 ;; 9925 esac 9926 ;; 9927 9928 sunos4*) 9929 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9930 wlarc= 9931 hardcode_direct=yes 9932 hardcode_shlibpath_var=no 9933 ;; 9934 9935 *) 9936 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9937 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9938 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9939 else 9940 ld_shlibs=no 9941 fi 9942 ;; 9943 esac 9944 9945 if test "$ld_shlibs" = no; then 9946 runpath_var= 9947 hardcode_libdir_flag_spec= 9948 export_dynamic_flag_spec= 9949 whole_archive_flag_spec= 9950 fi 9951 else 9952 # PORTME fill in a description of your system's linker (not GNU ld) 9953 case $host_os in 9954 aix3*) 9955 allow_undefined_flag=unsupported 9956 always_export_symbols=yes 9957 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' 9958 # Note: this linker hardcodes the directories in LIBPATH if there 9959 # are no directories specified by -L. 9960 hardcode_minus_L=yes 9961 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9962 # Neither direct hardcoding nor static linking is supported with a 9963 # broken collect2. 9964 hardcode_direct=unsupported 9965 fi 9966 ;; 9967 9968 aix[4-9]*) 9969 if test "$host_cpu" = ia64; then 9970 # On IA64, the linker does run time linking by default, so we don't 9971 # have to do anything special. 9972 aix_use_runtimelinking=no 9973 exp_sym_flag='-Bexport' 9974 no_entry_flag="" 9975 else 9976 # If we're using GNU nm, then we don't want the "-C" option. 9977 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9978 # Also, AIX nm treats weak defined symbols like other global 9979 # defined symbols, whereas GNU nm marks them as "W". 9980 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9981 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' 9982 else 9983 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' 9984 fi 9985 aix_use_runtimelinking=no 9986 9987 # Test if we are trying to use run time linking or normal 9988 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9989 # need to do runtime linking. 9990 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9991 for ld_flag in $LDFLAGS; do 9992 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9993 aix_use_runtimelinking=yes 9994 break 9995 fi 9996 done 9997 ;; 9998 esac 9999 10000 exp_sym_flag='-bexport' 10001 no_entry_flag='-bnoentry' 10002 fi 10003 10004 # When large executables or shared objects are built, AIX ld can 10005 # have problems creating the table of contents. If linking a library 10006 # or program results in "error TOC overflow" add -mminimal-toc to 10007 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10008 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10009 10010 archive_cmds='' 10011 hardcode_direct=yes 10012 hardcode_direct_absolute=yes 10013 hardcode_libdir_separator=':' 10014 link_all_deplibs=yes 10015 file_list_spec='${wl}-f,' 10016 10017 if test "$GCC" = yes; then 10018 case $host_os in aix4.[012]|aix4.[012].*) 10019 # We only want to do this on AIX 4.2 and lower, the check 10020 # below for broken collect2 doesn't work under 4.3+ 10021 collect2name=`${CC} -print-prog-name=collect2` 10022 if test -f "$collect2name" && 10023 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10024 then 10025 # We have reworked collect2 10026 : 10027 else 10028 # We have old collect2 10029 hardcode_direct=unsupported 10030 # It fails to find uninstalled libraries when the uninstalled 10031 # path is not listed in the libpath. Setting hardcode_minus_L 10032 # to unsupported forces relinking 10033 hardcode_minus_L=yes 10034 hardcode_libdir_flag_spec='-L$libdir' 10035 hardcode_libdir_separator= 10036 fi 10037 ;; 10038 esac 10039 shared_flag='-shared' 10040 if test "$aix_use_runtimelinking" = yes; then 10041 shared_flag="$shared_flag "'${wl}-G' 10042 fi 10043 link_all_deplibs=no 10044 else 10045 # not using gcc 10046 if test "$host_cpu" = ia64; then 10047 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10048 # chokes on -Wl,-G. The following line is correct: 10049 shared_flag='-G' 10050 else 10051 if test "$aix_use_runtimelinking" = yes; then 10052 shared_flag='${wl}-G' 10053 else 10054 shared_flag='${wl}-bM:SRE' 10055 fi 10056 fi 10057 fi 10058 10059 export_dynamic_flag_spec='${wl}-bexpall' 10060 # It seems that -bexpall does not export symbols beginning with 10061 # underscore (_), so it is better to generate a list of symbols to export. 10062 always_export_symbols=yes 10063 if test "$aix_use_runtimelinking" = yes; then 10064 # Warning - without using the other runtime loading flags (-brtl), 10065 # -berok will link without error, but may produce a broken library. 10066 allow_undefined_flag='-berok' 10067 # Determine the default libpath from the value encoded in an 10068 # empty executable. 10069 if test "${lt_cv_aix_libpath+set}" = set; then 10070 aix_libpath=$lt_cv_aix_libpath 10071 else 10072 if ${lt_cv_aix_libpath_+:} false; then : 10073 $as_echo_n "(cached) " >&6 10074 else 10075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10076 /* end confdefs.h. */ 10077 10078 int 10079 main () 10080 { 10081 10082 ; 10083 return 0; 10084 } 10085 _ACEOF 10086 if ac_fn_c_try_link "$LINENO"; then : 10087 10088 lt_aix_libpath_sed=' 10089 /Import File Strings/,/^$/ { 10090 /^0/ { 10091 s/^0 *\([^ ]*\) *$/\1/ 10092 p 10093 } 10094 }' 10095 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10096 # Check for a 64-bit object if we didn't find anything. 10097 if test -z "$lt_cv_aix_libpath_"; then 10098 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10099 fi 10100 fi 10101 rm -f core conftest.err conftest.$ac_objext \ 10102 conftest$ac_exeext conftest.$ac_ext 10103 if test -z "$lt_cv_aix_libpath_"; then 10104 lt_cv_aix_libpath_="/usr/lib:/lib" 10105 fi 10106 10107 fi 10108 10109 aix_libpath=$lt_cv_aix_libpath_ 10110 fi 10111 10112 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10113 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" 10114 else 10115 if test "$host_cpu" = ia64; then 10116 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10117 allow_undefined_flag="-z nodefs" 10118 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" 10119 else 10120 # Determine the default libpath from the value encoded in an 10121 # empty executable. 10122 if test "${lt_cv_aix_libpath+set}" = set; then 10123 aix_libpath=$lt_cv_aix_libpath 10124 else 10125 if ${lt_cv_aix_libpath_+:} false; then : 10126 $as_echo_n "(cached) " >&6 10127 else 10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10129 /* end confdefs.h. */ 10130 10131 int 10132 main () 10133 { 10134 10135 ; 10136 return 0; 10137 } 10138 _ACEOF 10139 if ac_fn_c_try_link "$LINENO"; then : 10140 10141 lt_aix_libpath_sed=' 10142 /Import File Strings/,/^$/ { 10143 /^0/ { 10144 s/^0 *\([^ ]*\) *$/\1/ 10145 p 10146 } 10147 }' 10148 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10149 # Check for a 64-bit object if we didn't find anything. 10150 if test -z "$lt_cv_aix_libpath_"; then 10151 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10152 fi 10153 fi 10154 rm -f core conftest.err conftest.$ac_objext \ 10155 conftest$ac_exeext conftest.$ac_ext 10156 if test -z "$lt_cv_aix_libpath_"; then 10157 lt_cv_aix_libpath_="/usr/lib:/lib" 10158 fi 10159 10160 fi 10161 10162 aix_libpath=$lt_cv_aix_libpath_ 10163 fi 10164 10165 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10166 # Warning - without using the other run time loading flags, 10167 # -berok will link without error, but may produce a broken library. 10168 no_undefined_flag=' ${wl}-bernotok' 10169 allow_undefined_flag=' ${wl}-berok' 10170 if test "$with_gnu_ld" = yes; then 10171 # We only use this code for GNU lds that support --whole-archive. 10172 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 10173 else 10174 # Exported symbols can be pulled into shared objects from archives 10175 whole_archive_flag_spec='$convenience' 10176 fi 10177 archive_cmds_need_lc=yes 10178 # This is similar to how AIX traditionally builds its shared libraries. 10179 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' 10180 fi 10181 fi 10182 ;; 10183 10184 amigaos*) 10185 case $host_cpu in 10186 powerpc) 10187 # see comment about AmigaOS4 .so support 10188 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10189 archive_expsym_cmds='' 10190 ;; 10191 m68k) 10192 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)' 10193 hardcode_libdir_flag_spec='-L$libdir' 10194 hardcode_minus_L=yes 10195 ;; 10196 esac 10197 ;; 10198 10199 bsdi[45]*) 10200 export_dynamic_flag_spec=-rdynamic 10201 ;; 10202 10203 cygwin* | mingw* | pw32* | cegcc*) 10204 # When not using gcc, we currently assume that we are using 10205 # Microsoft Visual C++. 10206 # hardcode_libdir_flag_spec is actually meaningless, as there is 10207 # no search path for DLLs. 10208 case $cc_basename in 10209 cl*) 10210 # Native MSVC 10211 hardcode_libdir_flag_spec=' ' 10212 allow_undefined_flag=unsupported 10213 always_export_symbols=yes 10214 file_list_spec='@' 10215 # Tell ltmain to make .lib files, not .a files. 10216 libext=lib 10217 # Tell ltmain to make .dll files, not .so files. 10218 shrext_cmds=".dll" 10219 # FIXME: Setting linknames here is a bad hack. 10220 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 10221 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10222 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 10223 else 10224 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 10225 fi~ 10226 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10227 linknames=' 10228 # The linker will not automatically build a static lib if we build a DLL. 10229 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10230 enable_shared_with_static_runtimes=yes 10231 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10232 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10233 # Don't use ranlib 10234 old_postinstall_cmds='chmod 644 $oldlib' 10235 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10236 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10237 case $lt_outputfile in 10238 *.exe|*.EXE) ;; 10239 *) 10240 lt_outputfile="$lt_outputfile.exe" 10241 lt_tool_outputfile="$lt_tool_outputfile.exe" 10242 ;; 10243 esac~ 10244 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 10245 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10246 $RM "$lt_outputfile.manifest"; 10247 fi' 10248 ;; 10249 *) 10250 # Assume MSVC wrapper 10251 hardcode_libdir_flag_spec=' ' 10252 allow_undefined_flag=unsupported 10253 # Tell ltmain to make .lib files, not .a files. 10254 libext=lib 10255 # Tell ltmain to make .dll files, not .so files. 10256 shrext_cmds=".dll" 10257 # FIXME: Setting linknames here is a bad hack. 10258 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10259 # The linker will automatically build a .lib file if we build a DLL. 10260 old_archive_from_new_cmds='true' 10261 # FIXME: Should let the user specify the lib program. 10262 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10263 enable_shared_with_static_runtimes=yes 10264 ;; 10265 esac 10266 ;; 10267 10268 darwin* | rhapsody*) 10269 10270 10271 archive_cmds_need_lc=no 10272 hardcode_direct=no 10273 hardcode_automatic=yes 10274 hardcode_shlibpath_var=unsupported 10275 if test "$lt_cv_ld_force_load" = "yes"; then 10276 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\"`' 10277 10278 else 10279 whole_archive_flag_spec='' 10280 fi 10281 link_all_deplibs=yes 10282 allow_undefined_flag="$_lt_dar_allow_undefined" 10283 case $cc_basename in 10284 ifort*) _lt_dar_can_shared=yes ;; 10285 *) _lt_dar_can_shared=$GCC ;; 10286 esac 10287 if test "$_lt_dar_can_shared" = "yes"; then 10288 output_verbose_link_cmd=func_echo_all 10289 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10290 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10291 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}" 10292 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}" 10293 10294 else 10295 ld_shlibs=no 10296 fi 10297 10298 ;; 10299 10300 dgux*) 10301 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10302 hardcode_libdir_flag_spec='-L$libdir' 10303 hardcode_shlibpath_var=no 10304 ;; 10305 10306 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10307 # support. Future versions do this automatically, but an explicit c++rt0.o 10308 # does not break anything, and helps significantly (at the cost of a little 10309 # extra space). 10310 freebsd2.2*) 10311 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10312 hardcode_libdir_flag_spec='-R$libdir' 10313 hardcode_direct=yes 10314 hardcode_shlibpath_var=no 10315 ;; 10316 10317 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10318 freebsd2.*) 10319 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10320 hardcode_direct=yes 10321 hardcode_minus_L=yes 10322 hardcode_shlibpath_var=no 10323 ;; 10324 10325 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10326 freebsd* | dragonfly*) 10327 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10328 hardcode_libdir_flag_spec='-R$libdir' 10329 hardcode_direct=yes 10330 hardcode_shlibpath_var=no 10331 ;; 10332 10333 hpux9*) 10334 if test "$GCC" = yes; then 10335 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' 10336 else 10337 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' 10338 fi 10339 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10340 hardcode_libdir_separator=: 10341 hardcode_direct=yes 10342 10343 # hardcode_minus_L: Not really in the search PATH, 10344 # but as the default location of the library. 10345 hardcode_minus_L=yes 10346 export_dynamic_flag_spec='${wl}-E' 10347 ;; 10348 10349 hpux10*) 10350 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10351 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10352 else 10353 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10354 fi 10355 if test "$with_gnu_ld" = no; then 10356 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10357 hardcode_libdir_separator=: 10358 hardcode_direct=yes 10359 hardcode_direct_absolute=yes 10360 export_dynamic_flag_spec='${wl}-E' 10361 # hardcode_minus_L: Not really in the search PATH, 10362 # but as the default location of the library. 10363 hardcode_minus_L=yes 10364 fi 10365 ;; 10366 10367 hpux11*) 10368 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10369 case $host_cpu in 10370 hppa*64*) 10371 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10372 ;; 10373 ia64*) 10374 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10375 ;; 10376 *) 10377 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10378 ;; 10379 esac 10380 else 10381 case $host_cpu in 10382 hppa*64*) 10383 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10384 ;; 10385 ia64*) 10386 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10387 ;; 10388 *) 10389 10390 # Older versions of the 11.00 compiler do not understand -b yet 10391 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10393 $as_echo_n "checking if $CC understands -b... " >&6; } 10394 if ${lt_cv_prog_compiler__b+:} false; then : 10395 $as_echo_n "(cached) " >&6 10396 else 10397 lt_cv_prog_compiler__b=no 10398 save_LDFLAGS="$LDFLAGS" 10399 LDFLAGS="$LDFLAGS -b" 10400 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10401 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10402 # The linker can only warn and ignore the option if not recognized 10403 # So say no if there are warnings 10404 if test -s conftest.err; then 10405 # Append any errors to the config.log. 10406 cat conftest.err 1>&5 10407 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10408 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10409 if diff conftest.exp conftest.er2 >/dev/null; then 10410 lt_cv_prog_compiler__b=yes 10411 fi 10412 else 10413 lt_cv_prog_compiler__b=yes 10414 fi 10415 fi 10416 $RM -r conftest* 10417 LDFLAGS="$save_LDFLAGS" 10418 10419 fi 10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10421 $as_echo "$lt_cv_prog_compiler__b" >&6; } 10422 10423 if test x"$lt_cv_prog_compiler__b" = xyes; then 10424 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10425 else 10426 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10427 fi 10428 10429 ;; 10430 esac 10431 fi 10432 if test "$with_gnu_ld" = no; then 10433 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10434 hardcode_libdir_separator=: 10435 10436 case $host_cpu in 10437 hppa*64*|ia64*) 10438 hardcode_direct=no 10439 hardcode_shlibpath_var=no 10440 ;; 10441 *) 10442 hardcode_direct=yes 10443 hardcode_direct_absolute=yes 10444 export_dynamic_flag_spec='${wl}-E' 10445 10446 # hardcode_minus_L: Not really in the search PATH, 10447 # but as the default location of the library. 10448 hardcode_minus_L=yes 10449 ;; 10450 esac 10451 fi 10452 ;; 10453 10454 irix5* | irix6* | nonstopux*) 10455 if test "$GCC" = yes; then 10456 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' 10457 # Try to use the -exported_symbol ld option, if it does not 10458 # work, assume that -exports_file does not work either and 10459 # implicitly export all symbols. 10460 # This should be the same for all languages, so no per-tag cache variable. 10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10462 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10463 if ${lt_cv_irix_exported_symbol+:} false; then : 10464 $as_echo_n "(cached) " >&6 10465 else 10466 save_LDFLAGS="$LDFLAGS" 10467 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10469 /* end confdefs.h. */ 10470 int foo (void) { return 0; } 10471 _ACEOF 10472 if ac_fn_c_try_link "$LINENO"; then : 10473 lt_cv_irix_exported_symbol=yes 10474 else 10475 lt_cv_irix_exported_symbol=no 10476 fi 10477 rm -f core conftest.err conftest.$ac_objext \ 10478 conftest$ac_exeext conftest.$ac_ext 10479 LDFLAGS="$save_LDFLAGS" 10480 fi 10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10482 $as_echo "$lt_cv_irix_exported_symbol" >&6; } 10483 if test "$lt_cv_irix_exported_symbol" = yes; then 10484 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' 10485 fi 10486 else 10487 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' 10488 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' 10489 fi 10490 archive_cmds_need_lc='no' 10491 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10492 hardcode_libdir_separator=: 10493 inherit_rpath=yes 10494 link_all_deplibs=yes 10495 ;; 10496 10497 netbsd* | netbsdelf*-gnu) 10498 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10499 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10500 else 10501 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10502 fi 10503 hardcode_libdir_flag_spec='-R$libdir' 10504 hardcode_direct=yes 10505 hardcode_shlibpath_var=no 10506 ;; 10507 10508 newsos6) 10509 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10510 hardcode_direct=yes 10511 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10512 hardcode_libdir_separator=: 10513 hardcode_shlibpath_var=no 10514 ;; 10515 10516 *nto* | *qnx*) 10517 ;; 10518 10519 openbsd*) 10520 if test -f /usr/libexec/ld.so; then 10521 hardcode_direct=yes 10522 hardcode_shlibpath_var=no 10523 hardcode_direct_absolute=yes 10524 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10525 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10526 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10527 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10528 export_dynamic_flag_spec='${wl}-E' 10529 else 10530 case $host_os in 10531 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10532 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10533 hardcode_libdir_flag_spec='-R$libdir' 10534 ;; 10535 *) 10536 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10537 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10538 ;; 10539 esac 10540 fi 10541 else 10542 ld_shlibs=no 10543 fi 10544 ;; 10545 10546 os2*) 10547 hardcode_libdir_flag_spec='-L$libdir' 10548 hardcode_minus_L=yes 10549 allow_undefined_flag=unsupported 10550 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' 10551 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10552 ;; 10553 10554 osf3*) 10555 if test "$GCC" = yes; then 10556 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10557 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' 10558 else 10559 allow_undefined_flag=' -expect_unresolved \*' 10560 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' 10561 fi 10562 archive_cmds_need_lc='no' 10563 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10564 hardcode_libdir_separator=: 10565 ;; 10566 10567 osf4* | osf5*) # as osf3* with the addition of -msym flag 10568 if test "$GCC" = yes; then 10569 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10570 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' 10571 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10572 else 10573 allow_undefined_flag=' -expect_unresolved \*' 10574 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' 10575 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~ 10576 $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' 10577 10578 # Both c and cxx compiler support -rpath directly 10579 hardcode_libdir_flag_spec='-rpath $libdir' 10580 fi 10581 archive_cmds_need_lc='no' 10582 hardcode_libdir_separator=: 10583 ;; 10584 10585 solaris*) 10586 no_undefined_flag=' -z defs' 10587 if test "$GCC" = yes; then 10588 wlarc='${wl}' 10589 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10590 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10591 $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' 10592 else 10593 case `$CC -V 2>&1` in 10594 *"Compilers 5.0"*) 10595 wlarc='' 10596 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10597 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10598 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10599 ;; 10600 *) 10601 wlarc='${wl}' 10602 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10603 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10604 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10605 ;; 10606 esac 10607 fi 10608 hardcode_libdir_flag_spec='-R$libdir' 10609 hardcode_shlibpath_var=no 10610 case $host_os in 10611 solaris2.[0-5] | solaris2.[0-5].*) ;; 10612 *) 10613 # The compiler driver will combine and reorder linker options, 10614 # but understands `-z linker_flag'. GCC discards it without `$wl', 10615 # but is careful enough not to reorder. 10616 # Supported since Solaris 2.6 (maybe 2.5.1?) 10617 if test "$GCC" = yes; then 10618 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10619 else 10620 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10621 fi 10622 ;; 10623 esac 10624 link_all_deplibs=yes 10625 ;; 10626 10627 sunos4*) 10628 if test "x$host_vendor" = xsequent; then 10629 # Use $CC to link under sequent, because it throws in some extra .o 10630 # files that make .init and .fini sections work. 10631 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10632 else 10633 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10634 fi 10635 hardcode_libdir_flag_spec='-L$libdir' 10636 hardcode_direct=yes 10637 hardcode_minus_L=yes 10638 hardcode_shlibpath_var=no 10639 ;; 10640 10641 sysv4) 10642 case $host_vendor in 10643 sni) 10644 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10645 hardcode_direct=yes # is this really true??? 10646 ;; 10647 siemens) 10648 ## LD is ld it makes a PLAMLIB 10649 ## CC just makes a GrossModule. 10650 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10651 reload_cmds='$CC -r -o $output$reload_objs' 10652 hardcode_direct=no 10653 ;; 10654 motorola) 10655 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10656 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10657 ;; 10658 esac 10659 runpath_var='LD_RUN_PATH' 10660 hardcode_shlibpath_var=no 10661 ;; 10662 10663 sysv4.3*) 10664 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10665 hardcode_shlibpath_var=no 10666 export_dynamic_flag_spec='-Bexport' 10667 ;; 10668 10669 sysv4*MP*) 10670 if test -d /usr/nec; then 10671 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10672 hardcode_shlibpath_var=no 10673 runpath_var=LD_RUN_PATH 10674 hardcode_runpath_var=yes 10675 ld_shlibs=yes 10676 fi 10677 ;; 10678 10679 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10680 no_undefined_flag='${wl}-z,text' 10681 archive_cmds_need_lc=no 10682 hardcode_shlibpath_var=no 10683 runpath_var='LD_RUN_PATH' 10684 10685 if test "$GCC" = yes; then 10686 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10687 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10688 else 10689 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10690 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10691 fi 10692 ;; 10693 10694 sysv5* | sco3.2v5* | sco5v6*) 10695 # Note: We can NOT use -z defs as we might desire, because we do not 10696 # link with -lc, and that would cause any symbols used from libc to 10697 # always be unresolved, which means just about no library would 10698 # ever link correctly. If we're not using GNU ld we use -z text 10699 # though, which does catch some bad symbols but isn't as heavy-handed 10700 # as -z defs. 10701 no_undefined_flag='${wl}-z,text' 10702 allow_undefined_flag='${wl}-z,nodefs' 10703 archive_cmds_need_lc=no 10704 hardcode_shlibpath_var=no 10705 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10706 hardcode_libdir_separator=':' 10707 link_all_deplibs=yes 10708 export_dynamic_flag_spec='${wl}-Bexport' 10709 runpath_var='LD_RUN_PATH' 10710 10711 if test "$GCC" = yes; then 10712 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10713 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10714 else 10715 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10716 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10717 fi 10718 ;; 10719 10720 uts4*) 10721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10722 hardcode_libdir_flag_spec='-L$libdir' 10723 hardcode_shlibpath_var=no 10724 ;; 10725 10726 *) 10727 ld_shlibs=no 10728 ;; 10729 esac 10730 10731 if test x$host_vendor = xsni; then 10732 case $host in 10733 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10734 export_dynamic_flag_spec='${wl}-Blargedynsym' 10735 ;; 10736 esac 10737 fi 10738 fi 10739 10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10741 $as_echo "$ld_shlibs" >&6; } 10742 test "$ld_shlibs" = no && can_build_shared=no 10743 10744 with_gnu_ld=$with_gnu_ld 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 # 10761 # Do we need to explicitly link libc? 10762 # 10763 case "x$archive_cmds_need_lc" in 10764 x|xyes) 10765 # Assume -lc should be added 10766 archive_cmds_need_lc=yes 10767 10768 if test "$enable_shared" = yes && test "$GCC" = yes; then 10769 case $archive_cmds in 10770 *'~'*) 10771 # FIXME: we may have to deal with multi-command sequences. 10772 ;; 10773 '$CC '*) 10774 # Test whether the compiler implicitly links with -lc since on some 10775 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10776 # to ld, don't add -lc before -lgcc. 10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10778 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10779 if ${lt_cv_archive_cmds_need_lc+:} false; then : 10780 $as_echo_n "(cached) " >&6 10781 else 10782 $RM conftest* 10783 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10784 10785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10786 (eval $ac_compile) 2>&5 10787 ac_status=$? 10788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10789 test $ac_status = 0; } 2>conftest.err; then 10790 soname=conftest 10791 lib=conftest 10792 libobjs=conftest.$ac_objext 10793 deplibs= 10794 wl=$lt_prog_compiler_wl 10795 pic_flag=$lt_prog_compiler_pic 10796 compiler_flags=-v 10797 linker_flags=-v 10798 verstring= 10799 output_objdir=. 10800 libname=conftest 10801 lt_save_allow_undefined_flag=$allow_undefined_flag 10802 allow_undefined_flag= 10803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10804 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10805 ac_status=$? 10806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10807 test $ac_status = 0; } 10808 then 10809 lt_cv_archive_cmds_need_lc=no 10810 else 10811 lt_cv_archive_cmds_need_lc=yes 10812 fi 10813 allow_undefined_flag=$lt_save_allow_undefined_flag 10814 else 10815 cat conftest.err 1>&5 10816 fi 10817 $RM conftest* 10818 10819 fi 10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10821 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10822 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10823 ;; 10824 esac 10825 fi 10826 ;; 10827 esac 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10981 $as_echo_n "checking dynamic linker characteristics... " >&6; } 10982 10983 if test "$GCC" = yes; then 10984 case $host_os in 10985 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10986 *) lt_awk_arg="/^libraries:/" ;; 10987 esac 10988 case $host_os in 10989 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10990 *) lt_sed_strip_eq="s,=/,/,g" ;; 10991 esac 10992 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10993 case $lt_search_path_spec in 10994 *\;*) 10995 # if the path contains ";" then we assume it to be the separator 10996 # otherwise default to the standard path separator (i.e. ":") - it is 10997 # assumed that no part of a normal pathname contains ";" but that should 10998 # okay in the real world where ";" in dirpaths is itself problematic. 10999 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11000 ;; 11001 *) 11002 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11003 ;; 11004 esac 11005 # Ok, now we have the path, separated by spaces, we can step through it 11006 # and add multilib dir if necessary. 11007 lt_tmp_lt_search_path_spec= 11008 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11009 for lt_sys_path in $lt_search_path_spec; do 11010 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11011 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 11012 else 11013 test -d "$lt_sys_path" && \ 11014 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11015 fi 11016 done 11017 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11018 BEGIN {RS=" "; FS="/|\n";} { 11019 lt_foo=""; 11020 lt_count=0; 11021 for (lt_i = NF; lt_i > 0; lt_i--) { 11022 if ($lt_i != "" && $lt_i != ".") { 11023 if ($lt_i == "..") { 11024 lt_count++; 11025 } else { 11026 if (lt_count == 0) { 11027 lt_foo="/" $lt_i lt_foo; 11028 } else { 11029 lt_count--; 11030 } 11031 } 11032 } 11033 } 11034 if (lt_foo != "") { lt_freq[lt_foo]++; } 11035 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11036 }'` 11037 # AWK program above erroneously prepends '/' to C:/dos/paths 11038 # for these hosts. 11039 case $host_os in 11040 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11041 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 11042 esac 11043 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11044 else 11045 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11046 fi 11047 library_names_spec= 11048 libname_spec='lib$name' 11049 soname_spec= 11050 shrext_cmds=".so" 11051 postinstall_cmds= 11052 postuninstall_cmds= 11053 finish_cmds= 11054 finish_eval= 11055 shlibpath_var= 11056 shlibpath_overrides_runpath=unknown 11057 version_type=none 11058 dynamic_linker="$host_os ld.so" 11059 sys_lib_dlsearch_path_spec="/lib /usr/lib" 11060 need_lib_prefix=unknown 11061 hardcode_into_libs=no 11062 11063 # when you set need_version to no, make sure it does not cause -set_version 11064 # flags to be left without arguments 11065 need_version=unknown 11066 11067 case $host_os in 11068 aix3*) 11069 version_type=linux # correct to gnu/linux during the next big refactor 11070 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11071 shlibpath_var=LIBPATH 11072 11073 # AIX 3 has no versioning support, so we append a major version to the name. 11074 soname_spec='${libname}${release}${shared_ext}$major' 11075 ;; 11076 11077 aix[4-9]*) 11078 version_type=linux # correct to gnu/linux during the next big refactor 11079 need_lib_prefix=no 11080 need_version=no 11081 hardcode_into_libs=yes 11082 if test "$host_cpu" = ia64; then 11083 # AIX 5 supports IA64 11084 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11085 shlibpath_var=LD_LIBRARY_PATH 11086 else 11087 # With GCC up to 2.95.x, collect2 would create an import file 11088 # for dependence libraries. The import file would start with 11089 # the line `#! .'. This would cause the generated library to 11090 # depend on `.', always an invalid library. This was fixed in 11091 # development snapshots of GCC prior to 3.0. 11092 case $host_os in 11093 aix4 | aix4.[01] | aix4.[01].*) 11094 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11095 echo ' yes ' 11096 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11097 : 11098 else 11099 can_build_shared=no 11100 fi 11101 ;; 11102 esac 11103 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11104 # soname into executable. Probably we can add versioning support to 11105 # collect2, so additional links can be useful in future. 11106 if test "$aix_use_runtimelinking" = yes; then 11107 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11108 # instead of lib<name>.a to let people know that these are not 11109 # typical AIX shared libraries. 11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11111 else 11112 # We preserve .a as extension for shared libraries through AIX4.2 11113 # and later when we are not doing run time linking. 11114 library_names_spec='${libname}${release}.a $libname.a' 11115 soname_spec='${libname}${release}${shared_ext}$major' 11116 fi 11117 shlibpath_var=LIBPATH 11118 fi 11119 ;; 11120 11121 amigaos*) 11122 case $host_cpu in 11123 powerpc) 11124 # Since July 2007 AmigaOS4 officially supports .so libraries. 11125 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11127 ;; 11128 m68k) 11129 library_names_spec='$libname.ixlibrary $libname.a' 11130 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11131 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' 11132 ;; 11133 esac 11134 ;; 11135 11136 beos*) 11137 library_names_spec='${libname}${shared_ext}' 11138 dynamic_linker="$host_os ld.so" 11139 shlibpath_var=LIBRARY_PATH 11140 ;; 11141 11142 bsdi[45]*) 11143 version_type=linux # correct to gnu/linux during the next big refactor 11144 need_version=no 11145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11146 soname_spec='${libname}${release}${shared_ext}$major' 11147 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11148 shlibpath_var=LD_LIBRARY_PATH 11149 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11150 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11151 # the default ld.so.conf also contains /usr/contrib/lib and 11152 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11153 # libtool to hard-code these into programs 11154 ;; 11155 11156 cygwin* | mingw* | pw32* | cegcc*) 11157 version_type=windows 11158 shrext_cmds=".dll" 11159 need_version=no 11160 need_lib_prefix=no 11161 11162 case $GCC,$cc_basename in 11163 yes,*) 11164 # gcc 11165 library_names_spec='$libname.dll.a' 11166 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11167 postinstall_cmds='base_file=`basename \${file}`~ 11168 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11169 dldir=$destdir/`dirname \$dlpath`~ 11170 test -d \$dldir || mkdir -p \$dldir~ 11171 $install_prog $dir/$dlname \$dldir/$dlname~ 11172 chmod a+x \$dldir/$dlname~ 11173 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11174 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11175 fi' 11176 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11177 dlpath=$dir/\$dldll~ 11178 $RM \$dlpath' 11179 shlibpath_overrides_runpath=yes 11180 11181 case $host_os in 11182 cygwin*) 11183 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11184 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11185 11186 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11187 ;; 11188 mingw* | cegcc*) 11189 # MinGW DLLs use traditional 'lib' prefix 11190 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11191 ;; 11192 pw32*) 11193 # pw32 DLLs use 'pw' prefix rather than 'lib' 11194 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11195 ;; 11196 esac 11197 dynamic_linker='Win32 ld.exe' 11198 ;; 11199 11200 *,cl*) 11201 # Native MSVC 11202 libname_spec='$name' 11203 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11204 library_names_spec='${libname}.dll.lib' 11205 11206 case $build_os in 11207 mingw*) 11208 sys_lib_search_path_spec= 11209 lt_save_ifs=$IFS 11210 IFS=';' 11211 for lt_path in $LIB 11212 do 11213 IFS=$lt_save_ifs 11214 # Let DOS variable expansion print the short 8.3 style file name. 11215 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11216 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11217 done 11218 IFS=$lt_save_ifs 11219 # Convert to MSYS style. 11220 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11221 ;; 11222 cygwin*) 11223 # Convert to unix form, then to dos form, then back to unix form 11224 # but this time dos style (no spaces!) so that the unix form looks 11225 # like /cygdrive/c/PROGRA~1:/cygdr... 11226 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11227 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11228 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11229 ;; 11230 *) 11231 sys_lib_search_path_spec="$LIB" 11232 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11233 # It is most probably a Windows format PATH. 11234 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11235 else 11236 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11237 fi 11238 # FIXME: find the short name or the path components, as spaces are 11239 # common. (e.g. "Program Files" -> "PROGRA~1") 11240 ;; 11241 esac 11242 11243 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11244 postinstall_cmds='base_file=`basename \${file}`~ 11245 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11246 dldir=$destdir/`dirname \$dlpath`~ 11247 test -d \$dldir || mkdir -p \$dldir~ 11248 $install_prog $dir/$dlname \$dldir/$dlname' 11249 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11250 dlpath=$dir/\$dldll~ 11251 $RM \$dlpath' 11252 shlibpath_overrides_runpath=yes 11253 dynamic_linker='Win32 link.exe' 11254 ;; 11255 11256 *) 11257 # Assume MSVC wrapper 11258 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11259 dynamic_linker='Win32 ld.exe' 11260 ;; 11261 esac 11262 # FIXME: first we should search . and the directory the executable is in 11263 shlibpath_var=PATH 11264 ;; 11265 11266 darwin* | rhapsody*) 11267 dynamic_linker="$host_os dyld" 11268 version_type=darwin 11269 need_lib_prefix=no 11270 need_version=no 11271 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11272 soname_spec='${libname}${release}${major}$shared_ext' 11273 shlibpath_overrides_runpath=yes 11274 shlibpath_var=DYLD_LIBRARY_PATH 11275 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11276 11277 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11278 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11279 ;; 11280 11281 dgux*) 11282 version_type=linux # correct to gnu/linux during the next big refactor 11283 need_lib_prefix=no 11284 need_version=no 11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11286 soname_spec='${libname}${release}${shared_ext}$major' 11287 shlibpath_var=LD_LIBRARY_PATH 11288 ;; 11289 11290 freebsd* | dragonfly*) 11291 # DragonFly does not have aout. When/if they implement a new 11292 # versioning mechanism, adjust this. 11293 if test -x /usr/bin/objformat; then 11294 objformat=`/usr/bin/objformat` 11295 else 11296 case $host_os in 11297 freebsd[23].*) objformat=aout ;; 11298 *) objformat=elf ;; 11299 esac 11300 fi 11301 version_type=freebsd-$objformat 11302 case $version_type in 11303 freebsd-elf*) 11304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11305 need_version=no 11306 need_lib_prefix=no 11307 ;; 11308 freebsd-*) 11309 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11310 need_version=yes 11311 ;; 11312 esac 11313 shlibpath_var=LD_LIBRARY_PATH 11314 case $host_os in 11315 freebsd2.*) 11316 shlibpath_overrides_runpath=yes 11317 ;; 11318 freebsd3.[01]* | freebsdelf3.[01]*) 11319 shlibpath_overrides_runpath=yes 11320 hardcode_into_libs=yes 11321 ;; 11322 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11323 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11324 shlibpath_overrides_runpath=no 11325 hardcode_into_libs=yes 11326 ;; 11327 *) # from 4.6 on, and DragonFly 11328 shlibpath_overrides_runpath=yes 11329 hardcode_into_libs=yes 11330 ;; 11331 esac 11332 ;; 11333 11334 haiku*) 11335 version_type=linux # correct to gnu/linux during the next big refactor 11336 need_lib_prefix=no 11337 need_version=no 11338 dynamic_linker="$host_os runtime_loader" 11339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11340 soname_spec='${libname}${release}${shared_ext}$major' 11341 shlibpath_var=LIBRARY_PATH 11342 shlibpath_overrides_runpath=yes 11343 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11344 hardcode_into_libs=yes 11345 ;; 11346 11347 hpux9* | hpux10* | hpux11*) 11348 # Give a soname corresponding to the major version so that dld.sl refuses to 11349 # link against other versions. 11350 version_type=sunos 11351 need_lib_prefix=no 11352 need_version=no 11353 case $host_cpu in 11354 ia64*) 11355 shrext_cmds='.so' 11356 hardcode_into_libs=yes 11357 dynamic_linker="$host_os dld.so" 11358 shlibpath_var=LD_LIBRARY_PATH 11359 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11361 soname_spec='${libname}${release}${shared_ext}$major' 11362 if test "X$HPUX_IA64_MODE" = X32; then 11363 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11364 else 11365 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11366 fi 11367 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11368 ;; 11369 hppa*64*) 11370 shrext_cmds='.sl' 11371 hardcode_into_libs=yes 11372 dynamic_linker="$host_os dld.sl" 11373 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11374 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11376 soname_spec='${libname}${release}${shared_ext}$major' 11377 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11378 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11379 ;; 11380 *) 11381 shrext_cmds='.sl' 11382 dynamic_linker="$host_os dld.sl" 11383 shlibpath_var=SHLIB_PATH 11384 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11386 soname_spec='${libname}${release}${shared_ext}$major' 11387 ;; 11388 esac 11389 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11390 postinstall_cmds='chmod 555 $lib' 11391 # or fails outright, so override atomically: 11392 install_override_mode=555 11393 ;; 11394 11395 interix[3-9]*) 11396 version_type=linux # correct to gnu/linux during the next big refactor 11397 need_lib_prefix=no 11398 need_version=no 11399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11400 soname_spec='${libname}${release}${shared_ext}$major' 11401 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11402 shlibpath_var=LD_LIBRARY_PATH 11403 shlibpath_overrides_runpath=no 11404 hardcode_into_libs=yes 11405 ;; 11406 11407 irix5* | irix6* | nonstopux*) 11408 case $host_os in 11409 nonstopux*) version_type=nonstopux ;; 11410 *) 11411 if test "$lt_cv_prog_gnu_ld" = yes; then 11412 version_type=linux # correct to gnu/linux during the next big refactor 11413 else 11414 version_type=irix 11415 fi ;; 11416 esac 11417 need_lib_prefix=no 11418 need_version=no 11419 soname_spec='${libname}${release}${shared_ext}$major' 11420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11421 case $host_os in 11422 irix5* | nonstopux*) 11423 libsuff= shlibsuff= 11424 ;; 11425 *) 11426 case $LD in # libtool.m4 will add one of these switches to LD 11427 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11428 libsuff= shlibsuff= libmagic=32-bit;; 11429 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11430 libsuff=32 shlibsuff=N32 libmagic=N32;; 11431 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11432 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11433 *) libsuff= shlibsuff= libmagic=never-match;; 11434 esac 11435 ;; 11436 esac 11437 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11438 shlibpath_overrides_runpath=no 11439 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11440 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11441 hardcode_into_libs=yes 11442 ;; 11443 11444 # No shared lib support for Linux oldld, aout, or coff. 11445 linux*oldld* | linux*aout* | linux*coff*) 11446 dynamic_linker=no 11447 ;; 11448 11449 # This must be glibc/ELF. 11450 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11451 version_type=linux # correct to gnu/linux during the next big refactor 11452 need_lib_prefix=no 11453 need_version=no 11454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11455 soname_spec='${libname}${release}${shared_ext}$major' 11456 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11457 shlibpath_var=LD_LIBRARY_PATH 11458 shlibpath_overrides_runpath=no 11459 11460 # Some binutils ld are patched to set DT_RUNPATH 11461 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11462 $as_echo_n "(cached) " >&6 11463 else 11464 lt_cv_shlibpath_overrides_runpath=no 11465 save_LDFLAGS=$LDFLAGS 11466 save_libdir=$libdir 11467 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11468 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11470 /* end confdefs.h. */ 11471 11472 int 11473 main () 11474 { 11475 11476 ; 11477 return 0; 11478 } 11479 _ACEOF 11480 if ac_fn_c_try_link "$LINENO"; then : 11481 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11482 lt_cv_shlibpath_overrides_runpath=yes 11483 fi 11484 fi 11485 rm -f core conftest.err conftest.$ac_objext \ 11486 conftest$ac_exeext conftest.$ac_ext 11487 LDFLAGS=$save_LDFLAGS 11488 libdir=$save_libdir 11489 11490 fi 11491 11492 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11493 11494 # This implies no fast_install, which is unacceptable. 11495 # Some rework will be needed to allow for fast_install 11496 # before this can be enabled. 11497 hardcode_into_libs=yes 11498 11499 # Append ld.so.conf contents to the search path 11500 if test -f /etc/ld.so.conf; then 11501 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' ' '` 11502 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11503 fi 11504 11505 # We used to test for /lib/ld.so.1 and disable shared libraries on 11506 # powerpc, because MkLinux only supported shared libraries with the 11507 # GNU dynamic linker. Since this was broken with cross compilers, 11508 # most powerpc-linux boxes support dynamic linking these days and 11509 # people can always --disable-shared, the test was removed, and we 11510 # assume the GNU/Linux dynamic linker is in use. 11511 dynamic_linker='GNU/Linux ld.so' 11512 ;; 11513 11514 netbsdelf*-gnu) 11515 version_type=linux 11516 need_lib_prefix=no 11517 need_version=no 11518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11519 soname_spec='${libname}${release}${shared_ext}$major' 11520 shlibpath_var=LD_LIBRARY_PATH 11521 shlibpath_overrides_runpath=no 11522 hardcode_into_libs=yes 11523 dynamic_linker='NetBSD ld.elf_so' 11524 ;; 11525 11526 netbsd*) 11527 version_type=sunos 11528 need_lib_prefix=no 11529 need_version=no 11530 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11532 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11533 dynamic_linker='NetBSD (a.out) ld.so' 11534 else 11535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11536 soname_spec='${libname}${release}${shared_ext}$major' 11537 dynamic_linker='NetBSD ld.elf_so' 11538 fi 11539 shlibpath_var=LD_LIBRARY_PATH 11540 shlibpath_overrides_runpath=yes 11541 hardcode_into_libs=yes 11542 ;; 11543 11544 newsos6) 11545 version_type=linux # correct to gnu/linux during the next big refactor 11546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11547 shlibpath_var=LD_LIBRARY_PATH 11548 shlibpath_overrides_runpath=yes 11549 ;; 11550 11551 *nto* | *qnx*) 11552 version_type=qnx 11553 need_lib_prefix=no 11554 need_version=no 11555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11556 soname_spec='${libname}${release}${shared_ext}$major' 11557 shlibpath_var=LD_LIBRARY_PATH 11558 shlibpath_overrides_runpath=no 11559 hardcode_into_libs=yes 11560 dynamic_linker='ldqnx.so' 11561 ;; 11562 11563 openbsd*) 11564 version_type=sunos 11565 sys_lib_dlsearch_path_spec="/usr/lib" 11566 need_lib_prefix=no 11567 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11568 case $host_os in 11569 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11570 *) need_version=no ;; 11571 esac 11572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11574 shlibpath_var=LD_LIBRARY_PATH 11575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11576 case $host_os in 11577 openbsd2.[89] | openbsd2.[89].*) 11578 shlibpath_overrides_runpath=no 11579 ;; 11580 *) 11581 shlibpath_overrides_runpath=yes 11582 ;; 11583 esac 11584 else 11585 shlibpath_overrides_runpath=yes 11586 fi 11587 ;; 11588 11589 os2*) 11590 libname_spec='$name' 11591 shrext_cmds=".dll" 11592 need_lib_prefix=no 11593 library_names_spec='$libname${shared_ext} $libname.a' 11594 dynamic_linker='OS/2 ld.exe' 11595 shlibpath_var=LIBPATH 11596 ;; 11597 11598 osf3* | osf4* | osf5*) 11599 version_type=osf 11600 need_lib_prefix=no 11601 need_version=no 11602 soname_spec='${libname}${release}${shared_ext}$major' 11603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11604 shlibpath_var=LD_LIBRARY_PATH 11605 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11606 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11607 ;; 11608 11609 rdos*) 11610 dynamic_linker=no 11611 ;; 11612 11613 solaris*) 11614 version_type=linux # correct to gnu/linux during the next big refactor 11615 need_lib_prefix=no 11616 need_version=no 11617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11618 soname_spec='${libname}${release}${shared_ext}$major' 11619 shlibpath_var=LD_LIBRARY_PATH 11620 shlibpath_overrides_runpath=yes 11621 hardcode_into_libs=yes 11622 # ldd complains unless libraries are executable 11623 postinstall_cmds='chmod +x $lib' 11624 ;; 11625 11626 sunos4*) 11627 version_type=sunos 11628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11629 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11630 shlibpath_var=LD_LIBRARY_PATH 11631 shlibpath_overrides_runpath=yes 11632 if test "$with_gnu_ld" = yes; then 11633 need_lib_prefix=no 11634 fi 11635 need_version=yes 11636 ;; 11637 11638 sysv4 | sysv4.3*) 11639 version_type=linux # correct to gnu/linux during the next big refactor 11640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11641 soname_spec='${libname}${release}${shared_ext}$major' 11642 shlibpath_var=LD_LIBRARY_PATH 11643 case $host_vendor in 11644 sni) 11645 shlibpath_overrides_runpath=no 11646 need_lib_prefix=no 11647 runpath_var=LD_RUN_PATH 11648 ;; 11649 siemens) 11650 need_lib_prefix=no 11651 ;; 11652 motorola) 11653 need_lib_prefix=no 11654 need_version=no 11655 shlibpath_overrides_runpath=no 11656 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11657 ;; 11658 esac 11659 ;; 11660 11661 sysv4*MP*) 11662 if test -d /usr/nec ;then 11663 version_type=linux # correct to gnu/linux during the next big refactor 11664 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11665 soname_spec='$libname${shared_ext}.$major' 11666 shlibpath_var=LD_LIBRARY_PATH 11667 fi 11668 ;; 11669 11670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11671 version_type=freebsd-elf 11672 need_lib_prefix=no 11673 need_version=no 11674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11675 soname_spec='${libname}${release}${shared_ext}$major' 11676 shlibpath_var=LD_LIBRARY_PATH 11677 shlibpath_overrides_runpath=yes 11678 hardcode_into_libs=yes 11679 if test "$with_gnu_ld" = yes; then 11680 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11681 else 11682 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11683 case $host_os in 11684 sco3.2v5*) 11685 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11686 ;; 11687 esac 11688 fi 11689 sys_lib_dlsearch_path_spec='/usr/lib' 11690 ;; 11691 11692 tpf*) 11693 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11694 version_type=linux # correct to gnu/linux during the next big refactor 11695 need_lib_prefix=no 11696 need_version=no 11697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11698 shlibpath_var=LD_LIBRARY_PATH 11699 shlibpath_overrides_runpath=no 11700 hardcode_into_libs=yes 11701 ;; 11702 11703 uts4*) 11704 version_type=linux # correct to gnu/linux during the next big refactor 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 shlibpath_var=LD_LIBRARY_PATH 11708 ;; 11709 11710 *) 11711 dynamic_linker=no 11712 ;; 11713 esac 11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11715 $as_echo "$dynamic_linker" >&6; } 11716 test "$dynamic_linker" = no && can_build_shared=no 11717 11718 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11719 if test "$GCC" = yes; then 11720 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11721 fi 11722 11723 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11724 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11725 fi 11726 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11727 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11728 fi 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11822 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11823 hardcode_action= 11824 if test -n "$hardcode_libdir_flag_spec" || 11825 test -n "$runpath_var" || 11826 test "X$hardcode_automatic" = "Xyes" ; then 11827 11828 # We can hardcode non-existent directories. 11829 if test "$hardcode_direct" != no && 11830 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11831 # have to relink, otherwise we might link with an installed library 11832 # when we should be linking with a yet-to-be-installed one 11833 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11834 test "$hardcode_minus_L" != no; then 11835 # Linking always hardcodes the temporary library directory. 11836 hardcode_action=relink 11837 else 11838 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11839 hardcode_action=immediate 11840 fi 11841 else 11842 # We cannot hardcode anything, or else we can only hardcode existing 11843 # directories. 11844 hardcode_action=unsupported 11845 fi 11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11847 $as_echo "$hardcode_action" >&6; } 11848 11849 if test "$hardcode_action" = relink || 11850 test "$inherit_rpath" = yes; then 11851 # Fast installation is not supported 11852 enable_fast_install=no 11853 elif test "$shlibpath_overrides_runpath" = yes || 11854 test "$enable_shared" = no; then 11855 # Fast installation is not necessary 11856 enable_fast_install=needless 11857 fi 11858 11859 11860 11861 11862 11863 11864 if test "x$enable_dlopen" != xyes; then 11865 enable_dlopen=unknown 11866 enable_dlopen_self=unknown 11867 enable_dlopen_self_static=unknown 11868 else 11869 lt_cv_dlopen=no 11870 lt_cv_dlopen_libs= 11871 11872 case $host_os in 11873 beos*) 11874 lt_cv_dlopen="load_add_on" 11875 lt_cv_dlopen_libs= 11876 lt_cv_dlopen_self=yes 11877 ;; 11878 11879 mingw* | pw32* | cegcc*) 11880 lt_cv_dlopen="LoadLibrary" 11881 lt_cv_dlopen_libs= 11882 ;; 11883 11884 cygwin*) 11885 lt_cv_dlopen="dlopen" 11886 lt_cv_dlopen_libs= 11887 ;; 11888 11889 darwin*) 11890 # if libdl is installed we need to link against it 11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11892 $as_echo_n "checking for dlopen in -ldl... " >&6; } 11893 if ${ac_cv_lib_dl_dlopen+:} false; then : 11894 $as_echo_n "(cached) " >&6 11895 else 11896 ac_check_lib_save_LIBS=$LIBS 11897 LIBS="-ldl $LIBS" 11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11899 /* end confdefs.h. */ 11900 11901 /* Override any GCC internal prototype to avoid an error. 11902 Use char because int might match the return type of a GCC 11903 builtin and then its argument prototype would still apply. */ 11904 #ifdef __cplusplus 11905 extern "C" 11906 #endif 11907 char dlopen (); 11908 int 11909 main () 11910 { 11911 return dlopen (); 11912 ; 11913 return 0; 11914 } 11915 _ACEOF 11916 if ac_fn_c_try_link "$LINENO"; then : 11917 ac_cv_lib_dl_dlopen=yes 11918 else 11919 ac_cv_lib_dl_dlopen=no 11920 fi 11921 rm -f core conftest.err conftest.$ac_objext \ 11922 conftest$ac_exeext conftest.$ac_ext 11923 LIBS=$ac_check_lib_save_LIBS 11924 fi 11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11926 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11927 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11928 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11929 else 11930 11931 lt_cv_dlopen="dyld" 11932 lt_cv_dlopen_libs= 11933 lt_cv_dlopen_self=yes 11934 11935 fi 11936 11937 ;; 11938 11939 *) 11940 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11941 if test "x$ac_cv_func_shl_load" = xyes; then : 11942 lt_cv_dlopen="shl_load" 11943 else 11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11945 $as_echo_n "checking for shl_load in -ldld... " >&6; } 11946 if ${ac_cv_lib_dld_shl_load+:} false; then : 11947 $as_echo_n "(cached) " >&6 11948 else 11949 ac_check_lib_save_LIBS=$LIBS 11950 LIBS="-ldld $LIBS" 11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11952 /* end confdefs.h. */ 11953 11954 /* Override any GCC internal prototype to avoid an error. 11955 Use char because int might match the return type of a GCC 11956 builtin and then its argument prototype would still apply. */ 11957 #ifdef __cplusplus 11958 extern "C" 11959 #endif 11960 char shl_load (); 11961 int 11962 main () 11963 { 11964 return shl_load (); 11965 ; 11966 return 0; 11967 } 11968 _ACEOF 11969 if ac_fn_c_try_link "$LINENO"; then : 11970 ac_cv_lib_dld_shl_load=yes 11971 else 11972 ac_cv_lib_dld_shl_load=no 11973 fi 11974 rm -f core conftest.err conftest.$ac_objext \ 11975 conftest$ac_exeext conftest.$ac_ext 11976 LIBS=$ac_check_lib_save_LIBS 11977 fi 11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11979 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11980 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11981 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11982 else 11983 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11984 if test "x$ac_cv_func_dlopen" = xyes; then : 11985 lt_cv_dlopen="dlopen" 11986 else 11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11988 $as_echo_n "checking for dlopen in -ldl... " >&6; } 11989 if ${ac_cv_lib_dl_dlopen+:} false; then : 11990 $as_echo_n "(cached) " >&6 11991 else 11992 ac_check_lib_save_LIBS=$LIBS 11993 LIBS="-ldl $LIBS" 11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11995 /* end confdefs.h. */ 11996 11997 /* Override any GCC internal prototype to avoid an error. 11998 Use char because int might match the return type of a GCC 11999 builtin and then its argument prototype would still apply. */ 12000 #ifdef __cplusplus 12001 extern "C" 12002 #endif 12003 char dlopen (); 12004 int 12005 main () 12006 { 12007 return dlopen (); 12008 ; 12009 return 0; 12010 } 12011 _ACEOF 12012 if ac_fn_c_try_link "$LINENO"; then : 12013 ac_cv_lib_dl_dlopen=yes 12014 else 12015 ac_cv_lib_dl_dlopen=no 12016 fi 12017 rm -f core conftest.err conftest.$ac_objext \ 12018 conftest$ac_exeext conftest.$ac_ext 12019 LIBS=$ac_check_lib_save_LIBS 12020 fi 12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12022 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12023 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12024 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12025 else 12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12027 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 12028 if ${ac_cv_lib_svld_dlopen+:} false; then : 12029 $as_echo_n "(cached) " >&6 12030 else 12031 ac_check_lib_save_LIBS=$LIBS 12032 LIBS="-lsvld $LIBS" 12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12034 /* end confdefs.h. */ 12035 12036 /* Override any GCC internal prototype to avoid an error. 12037 Use char because int might match the return type of a GCC 12038 builtin and then its argument prototype would still apply. */ 12039 #ifdef __cplusplus 12040 extern "C" 12041 #endif 12042 char dlopen (); 12043 int 12044 main () 12045 { 12046 return dlopen (); 12047 ; 12048 return 0; 12049 } 12050 _ACEOF 12051 if ac_fn_c_try_link "$LINENO"; then : 12052 ac_cv_lib_svld_dlopen=yes 12053 else 12054 ac_cv_lib_svld_dlopen=no 12055 fi 12056 rm -f core conftest.err conftest.$ac_objext \ 12057 conftest$ac_exeext conftest.$ac_ext 12058 LIBS=$ac_check_lib_save_LIBS 12059 fi 12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12061 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12062 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12063 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12064 else 12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12066 $as_echo_n "checking for dld_link in -ldld... " >&6; } 12067 if ${ac_cv_lib_dld_dld_link+:} false; then : 12068 $as_echo_n "(cached) " >&6 12069 else 12070 ac_check_lib_save_LIBS=$LIBS 12071 LIBS="-ldld $LIBS" 12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12073 /* end confdefs.h. */ 12074 12075 /* Override any GCC internal prototype to avoid an error. 12076 Use char because int might match the return type of a GCC 12077 builtin and then its argument prototype would still apply. */ 12078 #ifdef __cplusplus 12079 extern "C" 12080 #endif 12081 char dld_link (); 12082 int 12083 main () 12084 { 12085 return dld_link (); 12086 ; 12087 return 0; 12088 } 12089 _ACEOF 12090 if ac_fn_c_try_link "$LINENO"; then : 12091 ac_cv_lib_dld_dld_link=yes 12092 else 12093 ac_cv_lib_dld_dld_link=no 12094 fi 12095 rm -f core conftest.err conftest.$ac_objext \ 12096 conftest$ac_exeext conftest.$ac_ext 12097 LIBS=$ac_check_lib_save_LIBS 12098 fi 12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12100 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12101 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12102 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12103 fi 12104 12105 12106 fi 12107 12108 12109 fi 12110 12111 12112 fi 12113 12114 12115 fi 12116 12117 12118 fi 12119 12120 ;; 12121 esac 12122 12123 if test "x$lt_cv_dlopen" != xno; then 12124 enable_dlopen=yes 12125 else 12126 enable_dlopen=no 12127 fi 12128 12129 case $lt_cv_dlopen in 12130 dlopen) 12131 save_CPPFLAGS="$CPPFLAGS" 12132 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12133 12134 save_LDFLAGS="$LDFLAGS" 12135 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12136 12137 save_LIBS="$LIBS" 12138 LIBS="$lt_cv_dlopen_libs $LIBS" 12139 12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12141 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 12142 if ${lt_cv_dlopen_self+:} false; then : 12143 $as_echo_n "(cached) " >&6 12144 else 12145 if test "$cross_compiling" = yes; then : 12146 lt_cv_dlopen_self=cross 12147 else 12148 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12149 lt_status=$lt_dlunknown 12150 cat > conftest.$ac_ext <<_LT_EOF 12151 #line $LINENO "configure" 12152 #include "confdefs.h" 12153 12154 #if HAVE_DLFCN_H 12155 #include <dlfcn.h> 12156 #endif 12157 12158 #include <stdio.h> 12159 12160 #ifdef RTLD_GLOBAL 12161 # define LT_DLGLOBAL RTLD_GLOBAL 12162 #else 12163 # ifdef DL_GLOBAL 12164 # define LT_DLGLOBAL DL_GLOBAL 12165 # else 12166 # define LT_DLGLOBAL 0 12167 # endif 12168 #endif 12169 12170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12171 find out it does not work in some platform. */ 12172 #ifndef LT_DLLAZY_OR_NOW 12173 # ifdef RTLD_LAZY 12174 # define LT_DLLAZY_OR_NOW RTLD_LAZY 12175 # else 12176 # ifdef DL_LAZY 12177 # define LT_DLLAZY_OR_NOW DL_LAZY 12178 # else 12179 # ifdef RTLD_NOW 12180 # define LT_DLLAZY_OR_NOW RTLD_NOW 12181 # else 12182 # ifdef DL_NOW 12183 # define LT_DLLAZY_OR_NOW DL_NOW 12184 # else 12185 # define LT_DLLAZY_OR_NOW 0 12186 # endif 12187 # endif 12188 # endif 12189 # endif 12190 #endif 12191 12192 /* When -fvisbility=hidden is used, assume the code has been annotated 12193 correspondingly for the symbols needed. */ 12194 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12195 int fnord () __attribute__((visibility("default"))); 12196 #endif 12197 12198 int fnord () { return 42; } 12199 int main () 12200 { 12201 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12202 int status = $lt_dlunknown; 12203 12204 if (self) 12205 { 12206 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12207 else 12208 { 12209 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12210 else puts (dlerror ()); 12211 } 12212 /* dlclose (self); */ 12213 } 12214 else 12215 puts (dlerror ()); 12216 12217 return status; 12218 } 12219 _LT_EOF 12220 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12221 (eval $ac_link) 2>&5 12222 ac_status=$? 12223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12224 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12225 (./conftest; exit; ) >&5 2>/dev/null 12226 lt_status=$? 12227 case x$lt_status in 12228 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12229 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12230 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12231 esac 12232 else : 12233 # compilation failed 12234 lt_cv_dlopen_self=no 12235 fi 12236 fi 12237 rm -fr conftest* 12238 12239 12240 fi 12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12242 $as_echo "$lt_cv_dlopen_self" >&6; } 12243 12244 if test "x$lt_cv_dlopen_self" = xyes; then 12245 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12247 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12248 if ${lt_cv_dlopen_self_static+:} false; then : 12249 $as_echo_n "(cached) " >&6 12250 else 12251 if test "$cross_compiling" = yes; then : 12252 lt_cv_dlopen_self_static=cross 12253 else 12254 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12255 lt_status=$lt_dlunknown 12256 cat > conftest.$ac_ext <<_LT_EOF 12257 #line $LINENO "configure" 12258 #include "confdefs.h" 12259 12260 #if HAVE_DLFCN_H 12261 #include <dlfcn.h> 12262 #endif 12263 12264 #include <stdio.h> 12265 12266 #ifdef RTLD_GLOBAL 12267 # define LT_DLGLOBAL RTLD_GLOBAL 12268 #else 12269 # ifdef DL_GLOBAL 12270 # define LT_DLGLOBAL DL_GLOBAL 12271 # else 12272 # define LT_DLGLOBAL 0 12273 # endif 12274 #endif 12275 12276 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12277 find out it does not work in some platform. */ 12278 #ifndef LT_DLLAZY_OR_NOW 12279 # ifdef RTLD_LAZY 12280 # define LT_DLLAZY_OR_NOW RTLD_LAZY 12281 # else 12282 # ifdef DL_LAZY 12283 # define LT_DLLAZY_OR_NOW DL_LAZY 12284 # else 12285 # ifdef RTLD_NOW 12286 # define LT_DLLAZY_OR_NOW RTLD_NOW 12287 # else 12288 # ifdef DL_NOW 12289 # define LT_DLLAZY_OR_NOW DL_NOW 12290 # else 12291 # define LT_DLLAZY_OR_NOW 0 12292 # endif 12293 # endif 12294 # endif 12295 # endif 12296 #endif 12297 12298 /* When -fvisbility=hidden is used, assume the code has been annotated 12299 correspondingly for the symbols needed. */ 12300 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12301 int fnord () __attribute__((visibility("default"))); 12302 #endif 12303 12304 int fnord () { return 42; } 12305 int main () 12306 { 12307 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12308 int status = $lt_dlunknown; 12309 12310 if (self) 12311 { 12312 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12313 else 12314 { 12315 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12316 else puts (dlerror ()); 12317 } 12318 /* dlclose (self); */ 12319 } 12320 else 12321 puts (dlerror ()); 12322 12323 return status; 12324 } 12325 _LT_EOF 12326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12327 (eval $ac_link) 2>&5 12328 ac_status=$? 12329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12330 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12331 (./conftest; exit; ) >&5 2>/dev/null 12332 lt_status=$? 12333 case x$lt_status in 12334 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12335 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12336 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12337 esac 12338 else : 12339 # compilation failed 12340 lt_cv_dlopen_self_static=no 12341 fi 12342 fi 12343 rm -fr conftest* 12344 12345 12346 fi 12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12348 $as_echo "$lt_cv_dlopen_self_static" >&6; } 12349 fi 12350 12351 CPPFLAGS="$save_CPPFLAGS" 12352 LDFLAGS="$save_LDFLAGS" 12353 LIBS="$save_LIBS" 12354 ;; 12355 esac 12356 12357 case $lt_cv_dlopen_self in 12358 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12359 *) enable_dlopen_self=unknown ;; 12360 esac 12361 12362 case $lt_cv_dlopen_self_static in 12363 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12364 *) enable_dlopen_self_static=unknown ;; 12365 esac 12366 fi 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 striplib= 12385 old_striplib= 12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12387 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 12388 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12389 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12390 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12392 $as_echo "yes" >&6; } 12393 else 12394 # FIXME - insert some real tests, host_os isn't really good enough 12395 case $host_os in 12396 darwin*) 12397 if test -n "$STRIP" ; then 12398 striplib="$STRIP -x" 12399 old_striplib="$STRIP -S" 12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12401 $as_echo "yes" >&6; } 12402 else 12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12404 $as_echo "no" >&6; } 12405 fi 12406 ;; 12407 *) 12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12409 $as_echo "no" >&6; } 12410 ;; 12411 esac 12412 fi 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 # Report which library types will actually be built 12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12427 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12429 $as_echo "$can_build_shared" >&6; } 12430 12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12432 $as_echo_n "checking whether to build shared libraries... " >&6; } 12433 test "$can_build_shared" = "no" && enable_shared=no 12434 12435 # On AIX, shared libraries and static libraries use the same namespace, and 12436 # are all built from PIC. 12437 case $host_os in 12438 aix3*) 12439 test "$enable_shared" = yes && enable_static=no 12440 if test -n "$RANLIB"; then 12441 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12442 postinstall_cmds='$RANLIB $lib' 12443 fi 12444 ;; 12445 12446 aix[4-9]*) 12447 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12448 test "$enable_shared" = yes && enable_static=no 12449 fi 12450 ;; 12451 esac 12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12453 $as_echo "$enable_shared" >&6; } 12454 12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12456 $as_echo_n "checking whether to build static libraries... " >&6; } 12457 # Make sure either enable_shared or enable_static is yes. 12458 test "$enable_shared" = yes || enable_static=yes 12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12460 $as_echo "$enable_static" >&6; } 12461 12462 12463 12464 12465 fi 12466 ac_ext=c 12467 ac_cpp='$CPP $CPPFLAGS' 12468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12470 ac_compiler_gnu=$ac_cv_c_compiler_gnu 12471 12472 CC="$lt_save_CC" 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 ac_config_commands="$ac_config_commands libtool" 12489 12490 12491 12492 12493 # Only expand once: 12494 12495 12496 12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 12498 $as_echo_n "checking whether ln -s works... " >&6; } 12499 LN_S=$as_ln_s 12500 if test "$LN_S" = "ln -s"; then 12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12502 $as_echo "yes" >&6; } 12503 else 12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 12505 $as_echo "no, using $LN_S" >&6; } 12506 fi 12507 12508 12509 case "$host" in 12510 *-*-linux* | *-*-uclinux*) ;; 12511 *) as_fn_error $? "Linux only, dude!" "$LINENO" 5;; 12512 esac 12513 12514 12515 12516 12517 12518 12519 12520 12521 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12522 if test -n "$ac_tool_prefix"; then 12523 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12524 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12526 $as_echo_n "checking for $ac_word... " >&6; } 12527 if ${ac_cv_path_PKG_CONFIG+:} false; then : 12528 $as_echo_n "(cached) " >&6 12529 else 12530 case $PKG_CONFIG in 12531 [\\/]* | ?:[\\/]*) 12532 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12533 ;; 12534 *) 12535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12536 for as_dir in $PATH 12537 do 12538 IFS=$as_save_IFS 12539 test -z "$as_dir" && as_dir=. 12540 for ac_exec_ext in '' $ac_executable_extensions; do 12541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12542 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12544 break 2 12545 fi 12546 done 12547 done 12548 IFS=$as_save_IFS 12549 12550 ;; 12551 esac 12552 fi 12553 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12554 if test -n "$PKG_CONFIG"; then 12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12556 $as_echo "$PKG_CONFIG" >&6; } 12557 else 12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12559 $as_echo "no" >&6; } 12560 fi 12561 12562 12563 fi 12564 if test -z "$ac_cv_path_PKG_CONFIG"; then 12565 ac_pt_PKG_CONFIG=$PKG_CONFIG 12566 # Extract the first word of "pkg-config", so it can be a program name with args. 12567 set dummy pkg-config; ac_word=$2 12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12569 $as_echo_n "checking for $ac_word... " >&6; } 12570 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12571 $as_echo_n "(cached) " >&6 12572 else 12573 case $ac_pt_PKG_CONFIG in 12574 [\\/]* | ?:[\\/]*) 12575 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12576 ;; 12577 *) 12578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12579 for as_dir in $PATH 12580 do 12581 IFS=$as_save_IFS 12582 test -z "$as_dir" && as_dir=. 12583 for ac_exec_ext in '' $ac_executable_extensions; do 12584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12585 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12587 break 2 12588 fi 12589 done 12590 done 12591 IFS=$as_save_IFS 12592 12593 ;; 12594 esac 12595 fi 12596 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12597 if test -n "$ac_pt_PKG_CONFIG"; then 12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12599 $as_echo "$ac_pt_PKG_CONFIG" >&6; } 12600 else 12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12602 $as_echo "no" >&6; } 12603 fi 12604 12605 if test "x$ac_pt_PKG_CONFIG" = x; then 12606 PKG_CONFIG="" 12607 else 12608 case $cross_compiling:$ac_tool_warned in 12609 yes:) 12610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12612 ac_tool_warned=yes ;; 12613 esac 12614 PKG_CONFIG=$ac_pt_PKG_CONFIG 12615 fi 12616 else 12617 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12618 fi 12619 12620 fi 12621 if test -n "$PKG_CONFIG"; then 12622 _pkg_min_version=0.9.0 12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12624 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12625 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12627 $as_echo "yes" >&6; } 12628 else 12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12630 $as_echo "no" >&6; } 12631 PKG_CONFIG="" 12632 fi 12633 fi 12634 12635 pkg_failed=no 12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNFNETLINK" >&5 12637 $as_echo_n "checking for LIBNFNETLINK... " >&6; } 12638 12639 if test -n "$LIBNFNETLINK_CFLAGS"; then 12640 pkg_cv_LIBNFNETLINK_CFLAGS="$LIBNFNETLINK_CFLAGS" 12641 elif test -n "$PKG_CONFIG"; then 12642 if test -n "$PKG_CONFIG" && \ 12643 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0.0\""; } >&5 12644 ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.0") 2>&5 12645 ac_status=$? 12646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12647 test $ac_status = 0; }; then 12648 pkg_cv_LIBNFNETLINK_CFLAGS=`$PKG_CONFIG --cflags "libnfnetlink >= 1.0.0" 2>/dev/null` 12649 test "x$?" != "x0" && pkg_failed=yes 12650 else 12651 pkg_failed=yes 12652 fi 12653 else 12654 pkg_failed=untried 12655 fi 12656 if test -n "$LIBNFNETLINK_LIBS"; then 12657 pkg_cv_LIBNFNETLINK_LIBS="$LIBNFNETLINK_LIBS" 12658 elif test -n "$PKG_CONFIG"; then 12659 if test -n "$PKG_CONFIG" && \ 12660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0.0\""; } >&5 12661 ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.0") 2>&5 12662 ac_status=$? 12663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12664 test $ac_status = 0; }; then 12665 pkg_cv_LIBNFNETLINK_LIBS=`$PKG_CONFIG --libs "libnfnetlink >= 1.0.0" 2>/dev/null` 12666 test "x$?" != "x0" && pkg_failed=yes 12667 else 12668 pkg_failed=yes 12669 fi 12670 else 12671 pkg_failed=untried 12672 fi 12673 12674 12675 12676 if test $pkg_failed = yes; then 12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12678 $as_echo "no" >&6; } 12679 12680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12681 _pkg_short_errors_supported=yes 12682 else 12683 _pkg_short_errors_supported=no 12684 fi 12685 if test $_pkg_short_errors_supported = yes; then 12686 LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnfnetlink >= 1.0.0" 2>&1` 12687 else 12688 LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnfnetlink >= 1.0.0" 2>&1` 12689 fi 12690 # Put the nasty error message in config.log where it belongs 12691 echo "$LIBNFNETLINK_PKG_ERRORS" >&5 12692 12693 as_fn_error $? "Package requirements (libnfnetlink >= 1.0.0) were not met: 12694 12695 $LIBNFNETLINK_PKG_ERRORS 12696 12697 Consider adjusting the PKG_CONFIG_PATH environment variable if you 12698 installed software in a non-standard prefix. 12699 12700 Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS 12701 and LIBNFNETLINK_LIBS to avoid the need to call pkg-config. 12702 See the pkg-config man page for more details." "$LINENO" 5 12703 elif test $pkg_failed = untried; then 12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12705 $as_echo "no" >&6; } 12706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12708 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12709 is in your PATH or set the PKG_CONFIG environment variable to the full 12710 path to pkg-config. 12711 12712 Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS 12713 and LIBNFNETLINK_LIBS to avoid the need to call pkg-config. 12714 See the pkg-config man page for more details. 12715 12716 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12717 See \`config.log' for more details" "$LINENO" 5; } 12718 else 12719 LIBNFNETLINK_CFLAGS=$pkg_cv_LIBNFNETLINK_CFLAGS 12720 LIBNFNETLINK_LIBS=$pkg_cv_LIBNFNETLINK_LIBS 12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12722 $as_echo "yes" >&6; } 12723 12724 fi 12725 12726 pkg_failed=no 12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMNL" >&5 12728 $as_echo_n "checking for LIBMNL... " >&6; } 12729 12730 if test -n "$LIBMNL_CFLAGS"; then 12731 pkg_cv_LIBMNL_CFLAGS="$LIBMNL_CFLAGS" 12732 elif test -n "$PKG_CONFIG"; then 12733 if test -n "$PKG_CONFIG" && \ 12734 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmnl >= 1.0.3\""; } >&5 12735 ($PKG_CONFIG --exists --print-errors "libmnl >= 1.0.3") 2>&5 12736 ac_status=$? 12737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12738 test $ac_status = 0; }; then 12739 pkg_cv_LIBMNL_CFLAGS=`$PKG_CONFIG --cflags "libmnl >= 1.0.3" 2>/dev/null` 12740 test "x$?" != "x0" && pkg_failed=yes 12741 else 12742 pkg_failed=yes 12743 fi 12744 else 12745 pkg_failed=untried 12746 fi 12747 if test -n "$LIBMNL_LIBS"; then 12748 pkg_cv_LIBMNL_LIBS="$LIBMNL_LIBS" 12749 elif test -n "$PKG_CONFIG"; then 12750 if test -n "$PKG_CONFIG" && \ 12751 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmnl >= 1.0.3\""; } >&5 12752 ($PKG_CONFIG --exists --print-errors "libmnl >= 1.0.3") 2>&5 12753 ac_status=$? 12754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12755 test $ac_status = 0; }; then 12756 pkg_cv_LIBMNL_LIBS=`$PKG_CONFIG --libs "libmnl >= 1.0.3" 2>/dev/null` 12757 test "x$?" != "x0" && pkg_failed=yes 12758 else 12759 pkg_failed=yes 12760 fi 12761 else 12762 pkg_failed=untried 12763 fi 12764 12765 12766 12767 if test $pkg_failed = yes; then 12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12769 $as_echo "no" >&6; } 12770 12771 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12772 _pkg_short_errors_supported=yes 12773 else 12774 _pkg_short_errors_supported=no 12775 fi 12776 if test $_pkg_short_errors_supported = yes; then 12777 LIBMNL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmnl >= 1.0.3" 2>&1` 12778 else 12779 LIBMNL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmnl >= 1.0.3" 2>&1` 12780 fi 12781 # Put the nasty error message in config.log where it belongs 12782 echo "$LIBMNL_PKG_ERRORS" >&5 12783 12784 as_fn_error $? "Package requirements (libmnl >= 1.0.3) were not met: 12785 12786 $LIBMNL_PKG_ERRORS 12787 12788 Consider adjusting the PKG_CONFIG_PATH environment variable if you 12789 installed software in a non-standard prefix. 12790 12791 Alternatively, you may set the environment variables LIBMNL_CFLAGS 12792 and LIBMNL_LIBS to avoid the need to call pkg-config. 12793 See the pkg-config man page for more details." "$LINENO" 5 12794 elif test $pkg_failed = untried; then 12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12796 $as_echo "no" >&6; } 12797 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12799 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 12800 is in your PATH or set the PKG_CONFIG environment variable to the full 12801 path to pkg-config. 12802 12803 Alternatively, you may set the environment variables LIBMNL_CFLAGS 12804 and LIBMNL_LIBS to avoid the need to call pkg-config. 12805 See the pkg-config man page for more details. 12806 12807 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12808 See \`config.log' for more details" "$LINENO" 5; } 12809 else 12810 LIBMNL_CFLAGS=$pkg_cv_LIBMNL_CFLAGS 12811 LIBMNL_LIBS=$pkg_cv_LIBMNL_LIBS 12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12813 $as_echo "yes" >&6; } 12814 12815 fi 12816 12817 for ac_header in arpa/inet.h 12818 do : 12819 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 12820 if test "x$ac_cv_header_arpa_inet_h" = xyes; then : 12821 cat >>confdefs.h <<_ACEOF 12822 #define HAVE_ARPA_INET_H 1 12823 _ACEOF 12824 12825 fi 12826 12827 done 12828 12829 for ac_func in inet_ntop 12830 do : 12831 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" 12832 if test "x$ac_cv_func_inet_ntop" = xyes; then : 12833 cat >>confdefs.h <<_ACEOF 12834 #define HAVE_INET_NTOP 1 12835 _ACEOF 12836 12837 fi 12838 done 12839 12840 for ac_func in setns 12841 do : 12842 ac_fn_c_check_func "$LINENO" "setns" "ac_cv_func_setns" 12843 if test "x$ac_cv_func_setns" = xyes; then : 12844 cat >>confdefs.h <<_ACEOF 12845 #define HAVE_SETNS 1 12846 _ACEOF 12847 12848 fi 12849 done 12850 12851 if test "$ac_cv_func_inet_ntop" = "yes" ; then 12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop supports IPv6" >&5 12853 $as_echo_n "checking if inet_ntop supports IPv6... " >&6; } 12854 if test "$cross_compiling" = yes; then : 12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12856 $as_echo "no" >&6; } 12857 else 12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12859 /* end confdefs.h. */ 12860 12861 #ifdef HAVE_SYS_TYPES_H 12862 #include <sys/types.h> 12863 #endif 12864 #ifdef HAVE_SYS_SOCKET_H 12865 #include <sys/socket.h> 12866 #endif 12867 #ifdef HAVE_NETINET_IN_H 12868 #include <netinet/in.h> 12869 #endif 12870 #ifdef HAVE_ARPA_INET_H 12871 #include <arpa/inet.h> 12872 #endif 12873 #include <errno.h> 12874 int main() 12875 { 12876 struct in6_addr addr6; 12877 char buf[128]; 12878 if (inet_ntop(AF_INET6, &addr6, buf, 128) == 0 && errno == EAFNOSUPPORT) 12879 exit(1); 12880 else 12881 exit(0); 12882 } 12883 12884 _ACEOF 12885 if ac_fn_c_try_run "$LINENO"; then : 12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12887 $as_echo "yes" >&6; } 12888 12889 cat >>confdefs.h <<_ACEOF 12890 #define HAVE_INET_NTOP_IPV6 1 12891 _ACEOF 12892 12893 12894 else 12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12896 $as_echo "no" >&6; } 12897 fi 12898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12899 conftest.$ac_objext conftest.beam conftest.$ac_ext 12900 fi 12901 12902 fi 12903 12904 ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile utils/Makefile examples/Makefile qa/Makefile include/libnetfilter_conntrack/Makefile include/internal/Makefile src/conntrack/Makefile src/expect/Makefile libnetfilter_conntrack.pc doxygen.cfg" 12905 12906 cat >confcache <<\_ACEOF 12907 # This file is a shell script that caches the results of configure 12908 # tests run on this system so they can be shared between configure 12909 # scripts and configure runs, see configure's option --config-cache. 12910 # It is not useful on other systems. If it contains results you don't 12911 # want to keep, you may remove or edit it. 12912 # 12913 # config.status only pays attention to the cache file if you give it 12914 # the --recheck option to rerun configure. 12915 # 12916 # `ac_cv_env_foo' variables (set or unset) will be overridden when 12917 # loading this file, other *unset* `ac_cv_foo' will be assigned the 12918 # following values. 12919 12920 _ACEOF 12921 12922 # The following way of writing the cache mishandles newlines in values, 12923 # but we know of no workaround that is simple, portable, and efficient. 12924 # So, we kill variables containing newlines. 12925 # Ultrix sh set writes to stderr and can't be redirected directly, 12926 # and sets the high bit in the cache file unless we assign to the vars. 12927 ( 12928 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12929 eval ac_val=\$$ac_var 12930 case $ac_val in #( 12931 *${as_nl}*) 12932 case $ac_var in #( 12933 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12934 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12935 esac 12936 case $ac_var in #( 12937 _ | IFS | as_nl) ;; #( 12938 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12939 *) { eval $ac_var=; unset $ac_var;} ;; 12940 esac ;; 12941 esac 12942 done 12943 12944 (set) 2>&1 | 12945 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12946 *${as_nl}ac_space=\ *) 12947 # `set' does not quote correctly, so add quotes: double-quote 12948 # substitution turns \\\\ into \\, and sed turns \\ into \. 12949 sed -n \ 12950 "s/'/'\\\\''/g; 12951 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12952 ;; #( 12953 *) 12954 # `set' quotes correctly as required by POSIX, so do not add quotes. 12955 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12956 ;; 12957 esac | 12958 sort 12959 ) | 12960 sed ' 12961 /^ac_cv_env_/b end 12962 t clear 12963 :clear 12964 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12965 t end 12966 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12967 :end' >>confcache 12968 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12969 if test -w "$cache_file"; then 12970 if test "x$cache_file" != "x/dev/null"; then 12971 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12972 $as_echo "$as_me: updating cache $cache_file" >&6;} 12973 if test ! -f "$cache_file" || test -h "$cache_file"; then 12974 cat confcache >"$cache_file" 12975 else 12976 case $cache_file in #( 12977 */* | ?:*) 12978 mv -f confcache "$cache_file"$$ && 12979 mv -f "$cache_file"$$ "$cache_file" ;; #( 12980 *) 12981 mv -f confcache "$cache_file" ;; 12982 esac 12983 fi 12984 fi 12985 else 12986 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12987 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12988 fi 12989 fi 12990 rm -f confcache 12991 12992 test "x$prefix" = xNONE && prefix=$ac_default_prefix 12993 # Let make expand exec_prefix. 12994 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12995 12996 DEFS=-DHAVE_CONFIG_H 12997 12998 ac_libobjs= 12999 ac_ltlibobjs= 13000 U= 13001 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13002 # 1. Remove the extension, and $U if already installed. 13003 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13004 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13005 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13006 # will be set to the directory where LIBOBJS objects are built. 13007 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13008 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13009 done 13010 LIBOBJS=$ac_libobjs 13011 13012 LTLIBOBJS=$ac_ltlibobjs 13013 13014 13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 13016 $as_echo_n "checking that generated files are newer than configure... " >&6; } 13017 if test -n "$am_sleep_pid"; then 13018 # Hide warnings about reused PIDs. 13019 wait $am_sleep_pid 2>/dev/null 13020 fi 13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 13022 $as_echo "done" >&6; } 13023 if test -n "$EXEEXT"; then 13024 am__EXEEXT_TRUE= 13025 am__EXEEXT_FALSE='#' 13026 else 13027 am__EXEEXT_TRUE='#' 13028 am__EXEEXT_FALSE= 13029 fi 13030 13031 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13032 as_fn_error $? "conditional \"AMDEP\" was never defined. 13033 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13034 fi 13035 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13036 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13037 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13038 fi 13039 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13040 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13041 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13042 fi 13043 13044 : "${CONFIG_STATUS=./config.status}" 13045 ac_write_fail=0 13046 ac_clean_files_save=$ac_clean_files 13047 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13048 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13049 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13050 as_write_fail=0 13051 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13052 #! $SHELL 13053 # Generated by $as_me. 13054 # Run this file to recreate the current configuration. 13055 # Compiler output produced by configure, useful for debugging 13056 # configure, is in config.log if it exists. 13057 13058 debug=false 13059 ac_cs_recheck=false 13060 ac_cs_silent=false 13061 13062 SHELL=\${CONFIG_SHELL-$SHELL} 13063 export SHELL 13064 _ASEOF 13065 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13066 ## -------------------- ## 13067 ## M4sh Initialization. ## 13068 ## -------------------- ## 13069 13070 # Be more Bourne compatible 13071 DUALCASE=1; export DUALCASE # for MKS sh 13072 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13073 emulate sh 13074 NULLCMD=: 13075 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13076 # is contrary to our usage. Disable this feature. 13077 alias -g '${1+"$@"}'='"$@"' 13078 setopt NO_GLOB_SUBST 13079 else 13080 case `(set -o) 2>/dev/null` in #( 13081 *posix*) : 13082 set -o posix ;; #( 13083 *) : 13084 ;; 13085 esac 13086 fi 13087 13088 13089 as_nl=' 13090 ' 13091 export as_nl 13092 # Printing a long string crashes Solaris 7 /usr/bin/printf. 13093 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13094 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13095 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13096 # Prefer a ksh shell builtin over an external printf program on Solaris, 13097 # but without wasting forks for bash or zsh. 13098 if test -z "$BASH_VERSION$ZSH_VERSION" \ 13099 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13100 as_echo='print -r --' 13101 as_echo_n='print -rn --' 13102 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13103 as_echo='printf %s\n' 13104 as_echo_n='printf %s' 13105 else 13106 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13107 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13108 as_echo_n='/usr/ucb/echo -n' 13109 else 13110 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13111 as_echo_n_body='eval 13112 arg=$1; 13113 case $arg in #( 13114 *"$as_nl"*) 13115 expr "X$arg" : "X\\(.*\\)$as_nl"; 13116 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13117 esac; 13118 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13119 ' 13120 export as_echo_n_body 13121 as_echo_n='sh -c $as_echo_n_body as_echo' 13122 fi 13123 export as_echo_body 13124 as_echo='sh -c $as_echo_body as_echo' 13125 fi 13126 13127 # The user is always right. 13128 if test "${PATH_SEPARATOR+set}" != set; then 13129 PATH_SEPARATOR=: 13130 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13131 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13132 PATH_SEPARATOR=';' 13133 } 13134 fi 13135 13136 13137 # IFS 13138 # We need space, tab and new line, in precisely that order. Quoting is 13139 # there to prevent editors from complaining about space-tab. 13140 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 13141 # splitting by setting IFS to empty value.) 13142 IFS=" "" $as_nl" 13143 13144 # Find who we are. Look in the path if we contain no directory separator. 13145 as_myself= 13146 case $0 in #(( 13147 *[\\/]* ) as_myself=$0 ;; 13148 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13149 for as_dir in $PATH 13150 do 13151 IFS=$as_save_IFS 13152 test -z "$as_dir" && as_dir=. 13153 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13154 done 13155 IFS=$as_save_IFS 13156 13157 ;; 13158 esac 13159 # We did not find ourselves, most probably we were run as `sh COMMAND' 13160 # in which case we are not to be found in the path. 13161 if test "x$as_myself" = x; then 13162 as_myself=$0 13163 fi 13164 if test ! -f "$as_myself"; then 13165 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13166 exit 1 13167 fi 13168 13169 # Unset variables that we do not need and which cause bugs (e.g. in 13170 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13171 # suppresses any "Segmentation fault" message there. '((' could 13172 # trigger a bug in pdksh 5.2.14. 13173 for as_var in BASH_ENV ENV MAIL MAILPATH 13174 do eval test x\${$as_var+set} = xset \ 13175 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13176 done 13177 PS1='$ ' 13178 PS2='> ' 13179 PS4='+ ' 13180 13181 # NLS nuisances. 13182 LC_ALL=C 13183 export LC_ALL 13184 LANGUAGE=C 13185 export LANGUAGE 13186 13187 # CDPATH. 13188 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13189 13190 13191 # as_fn_error STATUS ERROR [LINENO LOG_FD] 13192 # ---------------------------------------- 13193 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13194 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13195 # script with STATUS, using 1 if that was 0. 13196 as_fn_error () 13197 { 13198 as_status=$1; test $as_status -eq 0 && as_status=1 13199 if test "$4"; then 13200 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13201 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13202 fi 13203 $as_echo "$as_me: error: $2" >&2 13204 as_fn_exit $as_status 13205 } # as_fn_error 13206 13207 13208 # as_fn_set_status STATUS 13209 # ----------------------- 13210 # Set $? to STATUS, without forking. 13211 as_fn_set_status () 13212 { 13213 return $1 13214 } # as_fn_set_status 13215 13216 # as_fn_exit STATUS 13217 # ----------------- 13218 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13219 as_fn_exit () 13220 { 13221 set +e 13222 as_fn_set_status $1 13223 exit $1 13224 } # as_fn_exit 13225 13226 # as_fn_unset VAR 13227 # --------------- 13228 # Portably unset VAR. 13229 as_fn_unset () 13230 { 13231 { eval $1=; unset $1;} 13232 } 13233 as_unset=as_fn_unset 13234 # as_fn_append VAR VALUE 13235 # ---------------------- 13236 # Append the text in VALUE to the end of the definition contained in VAR. Take 13237 # advantage of any shell optimizations that allow amortized linear growth over 13238 # repeated appends, instead of the typical quadratic growth present in naive 13239 # implementations. 13240 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13241 eval 'as_fn_append () 13242 { 13243 eval $1+=\$2 13244 }' 13245 else 13246 as_fn_append () 13247 { 13248 eval $1=\$$1\$2 13249 } 13250 fi # as_fn_append 13251 13252 # as_fn_arith ARG... 13253 # ------------------ 13254 # Perform arithmetic evaluation on the ARGs, and store the result in the 13255 # global $as_val. Take advantage of shells that can avoid forks. The arguments 13256 # must be portable across $(()) and expr. 13257 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13258 eval 'as_fn_arith () 13259 { 13260 as_val=$(( $* )) 13261 }' 13262 else 13263 as_fn_arith () 13264 { 13265 as_val=`expr "$@" || test $? -eq 1` 13266 } 13267 fi # as_fn_arith 13268 13269 13270 if expr a : '\(a\)' >/dev/null 2>&1 && 13271 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13272 as_expr=expr 13273 else 13274 as_expr=false 13275 fi 13276 13277 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13278 as_basename=basename 13279 else 13280 as_basename=false 13281 fi 13282 13283 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13284 as_dirname=dirname 13285 else 13286 as_dirname=false 13287 fi 13288 13289 as_me=`$as_basename -- "$0" || 13290 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13291 X"$0" : 'X\(//\)$' \| \ 13292 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13293 $as_echo X/"$0" | 13294 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13295 s//\1/ 13296 q 13297 } 13298 /^X\/\(\/\/\)$/{ 13299 s//\1/ 13300 q 13301 } 13302 /^X\/\(\/\).*/{ 13303 s//\1/ 13304 q 13305 } 13306 s/.*/./; q'` 13307 13308 # Avoid depending upon Character Ranges. 13309 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13310 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13311 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13312 as_cr_digits='0123456789' 13313 as_cr_alnum=$as_cr_Letters$as_cr_digits 13314 13315 ECHO_C= ECHO_N= ECHO_T= 13316 case `echo -n x` in #((((( 13317 -n*) 13318 case `echo 'xy\c'` in 13319 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13320 xy) ECHO_C='\c';; 13321 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13322 ECHO_T=' ';; 13323 esac;; 13324 *) 13325 ECHO_N='-n';; 13326 esac 13327 13328 rm -f conf$$ conf$$.exe conf$$.file 13329 if test -d conf$$.dir; then 13330 rm -f conf$$.dir/conf$$.file 13331 else 13332 rm -f conf$$.dir 13333 mkdir conf$$.dir 2>/dev/null 13334 fi 13335 if (echo >conf$$.file) 2>/dev/null; then 13336 if ln -s conf$$.file conf$$ 2>/dev/null; then 13337 as_ln_s='ln -s' 13338 # ... but there are two gotchas: 13339 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13340 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13341 # In both cases, we have to default to `cp -pR'. 13342 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13343 as_ln_s='cp -pR' 13344 elif ln conf$$.file conf$$ 2>/dev/null; then 13345 as_ln_s=ln 13346 else 13347 as_ln_s='cp -pR' 13348 fi 13349 else 13350 as_ln_s='cp -pR' 13351 fi 13352 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13353 rmdir conf$$.dir 2>/dev/null 13354 13355 13356 # as_fn_mkdir_p 13357 # ------------- 13358 # Create "$as_dir" as a directory, including parents if necessary. 13359 as_fn_mkdir_p () 13360 { 13361 13362 case $as_dir in #( 13363 -*) as_dir=./$as_dir;; 13364 esac 13365 test -d "$as_dir" || eval $as_mkdir_p || { 13366 as_dirs= 13367 while :; do 13368 case $as_dir in #( 13369 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13370 *) as_qdir=$as_dir;; 13371 esac 13372 as_dirs="'$as_qdir' $as_dirs" 13373 as_dir=`$as_dirname -- "$as_dir" || 13374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13375 X"$as_dir" : 'X\(//\)[^/]' \| \ 13376 X"$as_dir" : 'X\(//\)$' \| \ 13377 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13378 $as_echo X"$as_dir" | 13379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13380 s//\1/ 13381 q 13382 } 13383 /^X\(\/\/\)[^/].*/{ 13384 s//\1/ 13385 q 13386 } 13387 /^X\(\/\/\)$/{ 13388 s//\1/ 13389 q 13390 } 13391 /^X\(\/\).*/{ 13392 s//\1/ 13393 q 13394 } 13395 s/.*/./; q'` 13396 test -d "$as_dir" && break 13397 done 13398 test -z "$as_dirs" || eval "mkdir $as_dirs" 13399 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13400 13401 13402 } # as_fn_mkdir_p 13403 if mkdir -p . 2>/dev/null; then 13404 as_mkdir_p='mkdir -p "$as_dir"' 13405 else 13406 test -d ./-p && rmdir ./-p 13407 as_mkdir_p=false 13408 fi 13409 13410 13411 # as_fn_executable_p FILE 13412 # ----------------------- 13413 # Test if FILE is an executable regular file. 13414 as_fn_executable_p () 13415 { 13416 test -f "$1" && test -x "$1" 13417 } # as_fn_executable_p 13418 as_test_x='test -x' 13419 as_executable_p=as_fn_executable_p 13420 13421 # Sed expression to map a string onto a valid CPP name. 13422 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13423 13424 # Sed expression to map a string onto a valid variable name. 13425 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13426 13427 13428 exec 6>&1 13429 ## ----------------------------------- ## 13430 ## Main body of $CONFIG_STATUS script. ## 13431 ## ----------------------------------- ## 13432 _ASEOF 13433 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13434 13435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13436 # Save the log message, to keep $0 and so on meaningful, and to 13437 # report actual input values of CONFIG_FILES etc. instead of their 13438 # values after options handling. 13439 ac_log=" 13440 This file was extended by libnetfilter_conntrack $as_me 1.0.6, which was 13441 generated by GNU Autoconf 2.69. Invocation command line was 13442 13443 CONFIG_FILES = $CONFIG_FILES 13444 CONFIG_HEADERS = $CONFIG_HEADERS 13445 CONFIG_LINKS = $CONFIG_LINKS 13446 CONFIG_COMMANDS = $CONFIG_COMMANDS 13447 $ $0 $@ 13448 13449 on `(hostname || uname -n) 2>/dev/null | sed 1q` 13450 " 13451 13452 _ACEOF 13453 13454 case $ac_config_files in *" 13455 "*) set x $ac_config_files; shift; ac_config_files=$*;; 13456 esac 13457 13458 case $ac_config_headers in *" 13459 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13460 esac 13461 13462 13463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13464 # Files that config.status was made for. 13465 config_files="$ac_config_files" 13466 config_headers="$ac_config_headers" 13467 config_commands="$ac_config_commands" 13468 13469 _ACEOF 13470 13471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13472 ac_cs_usage="\ 13473 \`$as_me' instantiates files and other configuration actions 13474 from templates according to the current configuration. Unless the files 13475 and actions are specified as TAGs, all are instantiated by default. 13476 13477 Usage: $0 [OPTION]... [TAG]... 13478 13479 -h, --help print this help, then exit 13480 -V, --version print version number and configuration settings, then exit 13481 --config print configuration, then exit 13482 -q, --quiet, --silent 13483 do not print progress messages 13484 -d, --debug don't remove temporary files 13485 --recheck update $as_me by reconfiguring in the same conditions 13486 --file=FILE[:TEMPLATE] 13487 instantiate the configuration file FILE 13488 --header=FILE[:TEMPLATE] 13489 instantiate the configuration header FILE 13490 13491 Configuration files: 13492 $config_files 13493 13494 Configuration headers: 13495 $config_headers 13496 13497 Configuration commands: 13498 $config_commands 13499 13500 Report bugs to the package provider." 13501 13502 _ACEOF 13503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13504 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13505 ac_cs_version="\\ 13506 libnetfilter_conntrack config.status 1.0.6 13507 configured by $0, generated by GNU Autoconf 2.69, 13508 with options \\"\$ac_cs_config\\" 13509 13510 Copyright (C) 2012 Free Software Foundation, Inc. 13511 This config.status script is free software; the Free Software Foundation 13512 gives unlimited permission to copy, distribute and modify it." 13513 13514 ac_pwd='$ac_pwd' 13515 srcdir='$srcdir' 13516 INSTALL='$INSTALL' 13517 MKDIR_P='$MKDIR_P' 13518 AWK='$AWK' 13519 test -n "\$AWK" || AWK=awk 13520 _ACEOF 13521 13522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13523 # The default lists apply if the user does not specify any file. 13524 ac_need_defaults=: 13525 while test $# != 0 13526 do 13527 case $1 in 13528 --*=?*) 13529 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13530 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13531 ac_shift=: 13532 ;; 13533 --*=) 13534 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13535 ac_optarg= 13536 ac_shift=: 13537 ;; 13538 *) 13539 ac_option=$1 13540 ac_optarg=$2 13541 ac_shift=shift 13542 ;; 13543 esac 13544 13545 case $ac_option in 13546 # Handling of the options. 13547 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13548 ac_cs_recheck=: ;; 13549 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13550 $as_echo "$ac_cs_version"; exit ;; 13551 --config | --confi | --conf | --con | --co | --c ) 13552 $as_echo "$ac_cs_config"; exit ;; 13553 --debug | --debu | --deb | --de | --d | -d ) 13554 debug=: ;; 13555 --file | --fil | --fi | --f ) 13556 $ac_shift 13557 case $ac_optarg in 13558 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13559 '') as_fn_error $? "missing file argument" ;; 13560 esac 13561 as_fn_append CONFIG_FILES " '$ac_optarg'" 13562 ac_need_defaults=false;; 13563 --header | --heade | --head | --hea ) 13564 $ac_shift 13565 case $ac_optarg in 13566 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13567 esac 13568 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13569 ac_need_defaults=false;; 13570 --he | --h) 13571 # Conflict between --help and --header 13572 as_fn_error $? "ambiguous option: \`$1' 13573 Try \`$0 --help' for more information.";; 13574 --help | --hel | -h ) 13575 $as_echo "$ac_cs_usage"; exit ;; 13576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13577 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13578 ac_cs_silent=: ;; 13579 13580 # This is an error. 13581 -*) as_fn_error $? "unrecognized option: \`$1' 13582 Try \`$0 --help' for more information." ;; 13583 13584 *) as_fn_append ac_config_targets " $1" 13585 ac_need_defaults=false ;; 13586 13587 esac 13588 shift 13589 done 13590 13591 ac_configure_extra_args= 13592 13593 if $ac_cs_silent; then 13594 exec 6>/dev/null 13595 ac_configure_extra_args="$ac_configure_extra_args --silent" 13596 fi 13597 13598 _ACEOF 13599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13600 if \$ac_cs_recheck; then 13601 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13602 shift 13603 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13604 CONFIG_SHELL='$SHELL' 13605 export CONFIG_SHELL 13606 exec "\$@" 13607 fi 13608 13609 _ACEOF 13610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13611 exec 5>>config.log 13612 { 13613 echo 13614 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13615 ## Running $as_me. ## 13616 _ASBOX 13617 $as_echo "$ac_log" 13618 } >&5 13619 13620 _ACEOF 13621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13622 # 13623 # INIT-COMMANDS 13624 # 13625 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13626 13627 13628 # The HP-UX ksh and POSIX shell print the target directory to stdout 13629 # if CDPATH is set. 13630 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13631 13632 sed_quote_subst='$sed_quote_subst' 13633 double_quote_subst='$double_quote_subst' 13634 delay_variable_subst='$delay_variable_subst' 13635 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13636 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13637 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13638 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13639 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13640 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13641 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13642 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13643 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13644 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13645 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13646 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13647 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13648 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13649 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13650 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13651 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13652 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13653 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13654 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13655 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13656 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13657 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13658 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13659 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13660 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13661 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13662 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13663 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13664 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13665 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13666 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13667 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13668 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13669 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13670 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13671 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13672 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13673 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13674 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13675 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13676 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13677 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13678 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13679 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13680 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13681 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13682 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13683 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13684 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13685 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13686 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13687 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13688 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13689 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13690 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13691 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"`' 13692 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13693 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13694 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13695 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13696 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13697 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13698 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13699 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13700 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13701 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13702 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13703 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13704 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13705 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13706 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13707 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13708 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13709 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13710 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13711 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13712 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13713 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13714 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13715 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13716 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13717 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13718 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13719 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13720 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13721 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13722 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13723 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13724 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13725 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13726 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13727 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13728 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13729 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13730 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13731 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13732 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13733 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13734 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13735 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13736 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13737 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13738 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13739 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13740 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13741 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13742 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13743 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13744 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13745 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13746 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13747 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13748 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13749 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13750 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13751 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13752 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13753 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13754 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13755 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13756 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13757 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13758 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 13759 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13760 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13761 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13762 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13763 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13764 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13765 13766 LTCC='$LTCC' 13767 LTCFLAGS='$LTCFLAGS' 13768 compiler='$compiler_DEFAULT' 13769 13770 # A function that is used when there is no print builtin or printf. 13771 func_fallback_echo () 13772 { 13773 eval 'cat <<_LTECHO_EOF 13774 \$1 13775 _LTECHO_EOF' 13776 } 13777 13778 # Quote evaled strings. 13779 for var in SHELL \ 13780 ECHO \ 13781 PATH_SEPARATOR \ 13782 SED \ 13783 GREP \ 13784 EGREP \ 13785 FGREP \ 13786 LD \ 13787 NM \ 13788 LN_S \ 13789 lt_SP2NL \ 13790 lt_NL2SP \ 13791 reload_flag \ 13792 OBJDUMP \ 13793 deplibs_check_method \ 13794 file_magic_cmd \ 13795 file_magic_glob \ 13796 want_nocaseglob \ 13797 DLLTOOL \ 13798 sharedlib_from_linklib_cmd \ 13799 AR \ 13800 AR_FLAGS \ 13801 archiver_list_spec \ 13802 STRIP \ 13803 RANLIB \ 13804 CC \ 13805 CFLAGS \ 13806 compiler \ 13807 lt_cv_sys_global_symbol_pipe \ 13808 lt_cv_sys_global_symbol_to_cdecl \ 13809 lt_cv_sys_global_symbol_to_c_name_address \ 13810 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13811 nm_file_list_spec \ 13812 lt_prog_compiler_no_builtin_flag \ 13813 lt_prog_compiler_pic \ 13814 lt_prog_compiler_wl \ 13815 lt_prog_compiler_static \ 13816 lt_cv_prog_compiler_c_o \ 13817 need_locks \ 13818 MANIFEST_TOOL \ 13819 DSYMUTIL \ 13820 NMEDIT \ 13821 LIPO \ 13822 OTOOL \ 13823 OTOOL64 \ 13824 shrext_cmds \ 13825 export_dynamic_flag_spec \ 13826 whole_archive_flag_spec \ 13827 compiler_needs_object \ 13828 with_gnu_ld \ 13829 allow_undefined_flag \ 13830 no_undefined_flag \ 13831 hardcode_libdir_flag_spec \ 13832 hardcode_libdir_separator \ 13833 exclude_expsyms \ 13834 include_expsyms \ 13835 file_list_spec \ 13836 variables_saved_for_relink \ 13837 libname_spec \ 13838 library_names_spec \ 13839 soname_spec \ 13840 install_override_mode \ 13841 finish_eval \ 13842 old_striplib \ 13843 striplib; do 13844 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13845 *[\\\\\\\`\\"\\\$]*) 13846 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13847 ;; 13848 *) 13849 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13850 ;; 13851 esac 13852 done 13853 13854 # Double-quote double-evaled strings. 13855 for var in reload_cmds \ 13856 old_postinstall_cmds \ 13857 old_postuninstall_cmds \ 13858 old_archive_cmds \ 13859 extract_expsyms_cmds \ 13860 old_archive_from_new_cmds \ 13861 old_archive_from_expsyms_cmds \ 13862 archive_cmds \ 13863 archive_expsym_cmds \ 13864 module_cmds \ 13865 module_expsym_cmds \ 13866 export_symbols_cmds \ 13867 prelink_cmds \ 13868 postlink_cmds \ 13869 postinstall_cmds \ 13870 postuninstall_cmds \ 13871 finish_cmds \ 13872 sys_lib_search_path_spec \ 13873 sys_lib_dlsearch_path_spec; do 13874 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13875 *[\\\\\\\`\\"\\\$]*) 13876 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13877 ;; 13878 *) 13879 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13880 ;; 13881 esac 13882 done 13883 13884 ac_aux_dir='$ac_aux_dir' 13885 xsi_shell='$xsi_shell' 13886 lt_shell_append='$lt_shell_append' 13887 13888 # See if we are running on zsh, and set the options which allow our 13889 # commands through without removal of \ escapes INIT. 13890 if test -n "\${ZSH_VERSION+set}" ; then 13891 setopt NO_GLOB_SUBST 13892 fi 13893 13894 13895 PACKAGE='$PACKAGE' 13896 VERSION='$VERSION' 13897 TIMESTAMP='$TIMESTAMP' 13898 RM='$RM' 13899 ofile='$ofile' 13900 13901 13902 13903 13904 _ACEOF 13905 13906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13907 13908 # Handling of arguments. 13909 for ac_config_target in $ac_config_targets 13910 do 13911 case $ac_config_target in 13912 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13913 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13914 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13915 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13916 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13917 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 13918 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; 13919 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 13920 "qa/Makefile") CONFIG_FILES="$CONFIG_FILES qa/Makefile" ;; 13921 "include/libnetfilter_conntrack/Makefile") CONFIG_FILES="$CONFIG_FILES include/libnetfilter_conntrack/Makefile" ;; 13922 "include/internal/Makefile") CONFIG_FILES="$CONFIG_FILES include/internal/Makefile" ;; 13923 "src/conntrack/Makefile") CONFIG_FILES="$CONFIG_FILES src/conntrack/Makefile" ;; 13924 "src/expect/Makefile") CONFIG_FILES="$CONFIG_FILES src/expect/Makefile" ;; 13925 "libnetfilter_conntrack.pc") CONFIG_FILES="$CONFIG_FILES libnetfilter_conntrack.pc" ;; 13926 "doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doxygen.cfg" ;; 13927 13928 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13929 esac 13930 done 13931 13932 13933 # If the user did not use the arguments to specify the items to instantiate, 13934 # then the envvar interface is used. Set only those that are not. 13935 # We use the long form for the default assignment because of an extremely 13936 # bizarre bug on SunOS 4.1.3. 13937 if $ac_need_defaults; then 13938 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13939 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13940 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13941 fi 13942 13943 # Have a temporary directory for convenience. Make it in the build tree 13944 # simply because there is no reason against having it here, and in addition, 13945 # creating and moving files from /tmp can sometimes cause problems. 13946 # Hook for its removal unless debugging. 13947 # Note that there is a small window in which the directory will not be cleaned: 13948 # after its creation but before its name has been assigned to `$tmp'. 13949 $debug || 13950 { 13951 tmp= ac_tmp= 13952 trap 'exit_status=$? 13953 : "${ac_tmp:=$tmp}" 13954 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13955 ' 0 13956 trap 'as_fn_exit 1' 1 2 13 15 13957 } 13958 # Create a (secure) tmp directory for tmp files. 13959 13960 { 13961 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13962 test -d "$tmp" 13963 } || 13964 { 13965 tmp=./conf$$-$RANDOM 13966 (umask 077 && mkdir "$tmp") 13967 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13968 ac_tmp=$tmp 13969 13970 # Set up the scripts for CONFIG_FILES section. 13971 # No need to generate them if there are no CONFIG_FILES. 13972 # This happens for instance with `./config.status config.h'. 13973 if test -n "$CONFIG_FILES"; then 13974 13975 13976 ac_cr=`echo X | tr X '\015'` 13977 # On cygwin, bash can eat \r inside `` if the user requested igncr. 13978 # But we know of no other shell where ac_cr would be empty at this 13979 # point, so we can use a bashism as a fallback. 13980 if test "x$ac_cr" = x; then 13981 eval ac_cr=\$\'\\r\' 13982 fi 13983 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13984 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13985 ac_cs_awk_cr='\\r' 13986 else 13987 ac_cs_awk_cr=$ac_cr 13988 fi 13989 13990 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13991 _ACEOF 13992 13993 13994 { 13995 echo "cat >conf$$subs.awk <<_ACEOF" && 13996 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13997 echo "_ACEOF" 13998 } >conf$$subs.sh || 13999 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14000 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14001 ac_delim='%!_!# ' 14002 for ac_last_try in false false false false false :; do 14003 . ./conf$$subs.sh || 14004 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14005 14006 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14007 if test $ac_delim_n = $ac_delim_num; then 14008 break 14009 elif $ac_last_try; then 14010 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14011 else 14012 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14013 fi 14014 done 14015 rm -f conf$$subs.sh 14016 14017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14018 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14019 _ACEOF 14020 sed -n ' 14021 h 14022 s/^/S["/; s/!.*/"]=/ 14023 p 14024 g 14025 s/^[^!]*!// 14026 :repl 14027 t repl 14028 s/'"$ac_delim"'$// 14029 t delim 14030 :nl 14031 h 14032 s/\(.\{148\}\)..*/\1/ 14033 t more1 14034 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14035 p 14036 n 14037 b repl 14038 :more1 14039 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14040 p 14041 g 14042 s/.\{148\}// 14043 t nl 14044 :delim 14045 h 14046 s/\(.\{148\}\)..*/\1/ 14047 t more2 14048 s/["\\]/\\&/g; s/^/"/; s/$/"/ 14049 p 14050 b 14051 :more2 14052 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14053 p 14054 g 14055 s/.\{148\}// 14056 t delim 14057 ' <conf$$subs.awk | sed ' 14058 /^[^""]/{ 14059 N 14060 s/\n// 14061 } 14062 ' >>$CONFIG_STATUS || ac_write_fail=1 14063 rm -f conf$$subs.awk 14064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14065 _ACAWK 14066 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14067 for (key in S) S_is_set[key] = 1 14068 FS = "" 14069 14070 } 14071 { 14072 line = $ 0 14073 nfields = split(line, field, "@") 14074 substed = 0 14075 len = length(field[1]) 14076 for (i = 2; i < nfields; i++) { 14077 key = field[i] 14078 keylen = length(key) 14079 if (S_is_set[key]) { 14080 value = S[key] 14081 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14082 len += length(value) + length(field[++i]) 14083 substed = 1 14084 } else 14085 len += 1 + keylen 14086 } 14087 14088 print line 14089 } 14090 14091 _ACAWK 14092 _ACEOF 14093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14094 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14095 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14096 else 14097 cat 14098 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14099 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14100 _ACEOF 14101 14102 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14103 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14104 # trailing colons and then remove the whole line if VPATH becomes empty 14105 # (actually we leave an empty line to preserve line numbers). 14106 if test "x$srcdir" = x.; then 14107 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14108 h 14109 s/// 14110 s/^/:/ 14111 s/[ ]*$/:/ 14112 s/:\$(srcdir):/:/g 14113 s/:\${srcdir}:/:/g 14114 s/:@srcdir@:/:/g 14115 s/^:*// 14116 s/:*$// 14117 x 14118 s/\(=[ ]*\).*/\1/ 14119 G 14120 s/\n// 14121 s/^[^=]*=[ ]*$// 14122 }' 14123 fi 14124 14125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14126 fi # test -n "$CONFIG_FILES" 14127 14128 # Set up the scripts for CONFIG_HEADERS section. 14129 # No need to generate them if there are no CONFIG_HEADERS. 14130 # This happens for instance with `./config.status Makefile'. 14131 if test -n "$CONFIG_HEADERS"; then 14132 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14133 BEGIN { 14134 _ACEOF 14135 14136 # Transform confdefs.h into an awk script `defines.awk', embedded as 14137 # here-document in config.status, that substitutes the proper values into 14138 # config.h.in to produce config.h. 14139 14140 # Create a delimiter string that does not exist in confdefs.h, to ease 14141 # handling of long lines. 14142 ac_delim='%!_!# ' 14143 for ac_last_try in false false :; do 14144 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14145 if test -z "$ac_tt"; then 14146 break 14147 elif $ac_last_try; then 14148 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14149 else 14150 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14151 fi 14152 done 14153 14154 # For the awk script, D is an array of macro values keyed by name, 14155 # likewise P contains macro parameters if any. Preserve backslash 14156 # newline sequences. 14157 14158 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14159 sed -n ' 14160 s/.\{148\}/&'"$ac_delim"'/g 14161 t rset 14162 :rset 14163 s/^[ ]*#[ ]*define[ ][ ]*/ / 14164 t def 14165 d 14166 :def 14167 s/\\$// 14168 t bsnl 14169 s/["\\]/\\&/g 14170 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14171 D["\1"]=" \3"/p 14172 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14173 d 14174 :bsnl 14175 s/["\\]/\\&/g 14176 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14177 D["\1"]=" \3\\\\\\n"\\/p 14178 t cont 14179 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14180 t cont 14181 d 14182 :cont 14183 n 14184 s/.\{148\}/&'"$ac_delim"'/g 14185 t clear 14186 :clear 14187 s/\\$// 14188 t bsnlc 14189 s/["\\]/\\&/g; s/^/"/; s/$/"/p 14190 d 14191 :bsnlc 14192 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14193 b cont 14194 ' <confdefs.h | sed ' 14195 s/'"$ac_delim"'/"\\\ 14196 "/g' >>$CONFIG_STATUS || ac_write_fail=1 14197 14198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14199 for (key in D) D_is_set[key] = 1 14200 FS = "" 14201 } 14202 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14203 line = \$ 0 14204 split(line, arg, " ") 14205 if (arg[1] == "#") { 14206 defundef = arg[2] 14207 mac1 = arg[3] 14208 } else { 14209 defundef = substr(arg[1], 2) 14210 mac1 = arg[2] 14211 } 14212 split(mac1, mac2, "(") #) 14213 macro = mac2[1] 14214 prefix = substr(line, 1, index(line, defundef) - 1) 14215 if (D_is_set[macro]) { 14216 # Preserve the white space surrounding the "#". 14217 print prefix "define", macro P[macro] D[macro] 14218 next 14219 } else { 14220 # Replace #undef with comments. This is necessary, for example, 14221 # in the case of _POSIX_SOURCE, which is predefined and required 14222 # on some systems where configure will not decide to define it. 14223 if (defundef == "undef") { 14224 print "/*", prefix defundef, macro, "*/" 14225 next 14226 } 14227 } 14228 } 14229 { print } 14230 _ACAWK 14231 _ACEOF 14232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14233 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14234 fi # test -n "$CONFIG_HEADERS" 14235 14236 14237 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14238 shift 14239 for ac_tag 14240 do 14241 case $ac_tag in 14242 :[FHLC]) ac_mode=$ac_tag; continue;; 14243 esac 14244 case $ac_mode$ac_tag in 14245 :[FHL]*:*);; 14246 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14247 :[FH]-) ac_tag=-:-;; 14248 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14249 esac 14250 ac_save_IFS=$IFS 14251 IFS=: 14252 set x $ac_tag 14253 IFS=$ac_save_IFS 14254 shift 14255 ac_file=$1 14256 shift 14257 14258 case $ac_mode in 14259 :L) ac_source=$1;; 14260 :[FH]) 14261 ac_file_inputs= 14262 for ac_f 14263 do 14264 case $ac_f in 14265 -) ac_f="$ac_tmp/stdin";; 14266 *) # Look for the file first in the build tree, then in the source tree 14267 # (if the path is not absolute). The absolute path cannot be DOS-style, 14268 # because $ac_f cannot contain `:'. 14269 test -f "$ac_f" || 14270 case $ac_f in 14271 [\\/$]*) false;; 14272 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14273 esac || 14274 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14275 esac 14276 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14277 as_fn_append ac_file_inputs " '$ac_f'" 14278 done 14279 14280 # Let's still pretend it is `configure' which instantiates (i.e., don't 14281 # use $as_me), people would be surprised to read: 14282 # /* config.h. Generated by config.status. */ 14283 configure_input='Generated from '` 14284 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14285 `' by configure.' 14286 if test x"$ac_file" != x-; then 14287 configure_input="$ac_file. $configure_input" 14288 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14289 $as_echo "$as_me: creating $ac_file" >&6;} 14290 fi 14291 # Neutralize special characters interpreted by sed in replacement strings. 14292 case $configure_input in #( 14293 *\&* | *\|* | *\\* ) 14294 ac_sed_conf_input=`$as_echo "$configure_input" | 14295 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14296 *) ac_sed_conf_input=$configure_input;; 14297 esac 14298 14299 case $ac_tag in 14300 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14301 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14302 esac 14303 ;; 14304 esac 14305 14306 ac_dir=`$as_dirname -- "$ac_file" || 14307 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14308 X"$ac_file" : 'X\(//\)[^/]' \| \ 14309 X"$ac_file" : 'X\(//\)$' \| \ 14310 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14311 $as_echo X"$ac_file" | 14312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14313 s//\1/ 14314 q 14315 } 14316 /^X\(\/\/\)[^/].*/{ 14317 s//\1/ 14318 q 14319 } 14320 /^X\(\/\/\)$/{ 14321 s//\1/ 14322 q 14323 } 14324 /^X\(\/\).*/{ 14325 s//\1/ 14326 q 14327 } 14328 s/.*/./; q'` 14329 as_dir="$ac_dir"; as_fn_mkdir_p 14330 ac_builddir=. 14331 14332 case "$ac_dir" in 14333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14334 *) 14335 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14336 # A ".." for each directory in $ac_dir_suffix. 14337 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14338 case $ac_top_builddir_sub in 14339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14341 esac ;; 14342 esac 14343 ac_abs_top_builddir=$ac_pwd 14344 ac_abs_builddir=$ac_pwd$ac_dir_suffix 14345 # for backward compatibility: 14346 ac_top_builddir=$ac_top_build_prefix 14347 14348 case $srcdir in 14349 .) # We are building in place. 14350 ac_srcdir=. 14351 ac_top_srcdir=$ac_top_builddir_sub 14352 ac_abs_top_srcdir=$ac_pwd ;; 14353 [\\/]* | ?:[\\/]* ) # Absolute name. 14354 ac_srcdir=$srcdir$ac_dir_suffix; 14355 ac_top_srcdir=$srcdir 14356 ac_abs_top_srcdir=$srcdir ;; 14357 *) # Relative name. 14358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14359 ac_top_srcdir=$ac_top_build_prefix$srcdir 14360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14361 esac 14362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14363 14364 14365 case $ac_mode in 14366 :F) 14367 # 14368 # CONFIG_FILE 14369 # 14370 14371 case $INSTALL in 14372 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14373 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14374 esac 14375 ac_MKDIR_P=$MKDIR_P 14376 case $MKDIR_P in 14377 [\\/$]* | ?:[\\/]* ) ;; 14378 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14379 esac 14380 _ACEOF 14381 14382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14383 # If the template does not know about datarootdir, expand it. 14384 # FIXME: This hack should be removed a few years after 2.60. 14385 ac_datarootdir_hack=; ac_datarootdir_seen= 14386 ac_sed_dataroot=' 14387 /datarootdir/ { 14388 p 14389 q 14390 } 14391 /@datadir@/p 14392 /@docdir@/p 14393 /@infodir@/p 14394 /@localedir@/p 14395 /@mandir@/p' 14396 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14397 *datarootdir*) ac_datarootdir_seen=yes;; 14398 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14400 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14401 _ACEOF 14402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14403 ac_datarootdir_hack=' 14404 s&@datadir@&$datadir&g 14405 s&@docdir@&$docdir&g 14406 s&@infodir@&$infodir&g 14407 s&@localedir@&$localedir&g 14408 s&@mandir@&$mandir&g 14409 s&\\\${datarootdir}&$datarootdir&g' ;; 14410 esac 14411 _ACEOF 14412 14413 # Neutralize VPATH when `$srcdir' = `.'. 14414 # Shell code in configure.ac might set extrasub. 14415 # FIXME: do we really want to maintain this feature? 14416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14417 ac_sed_extra="$ac_vpsub 14418 $extrasub 14419 _ACEOF 14420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14421 :t 14422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14423 s|@configure_input@|$ac_sed_conf_input|;t t 14424 s&@top_builddir@&$ac_top_builddir_sub&;t t 14425 s&@top_build_prefix@&$ac_top_build_prefix&;t t 14426 s&@srcdir@&$ac_srcdir&;t t 14427 s&@abs_srcdir@&$ac_abs_srcdir&;t t 14428 s&@top_srcdir@&$ac_top_srcdir&;t t 14429 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14430 s&@builddir@&$ac_builddir&;t t 14431 s&@abs_builddir@&$ac_abs_builddir&;t t 14432 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14433 s&@INSTALL@&$ac_INSTALL&;t t 14434 s&@MKDIR_P@&$ac_MKDIR_P&;t t 14435 $ac_datarootdir_hack 14436 " 14437 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14438 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14439 14440 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14441 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14443 "$ac_tmp/out"`; test -z "$ac_out"; } && 14444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14445 which seems to be undefined. Please make sure it is defined" >&5 14446 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14447 which seems to be undefined. Please make sure it is defined" >&2;} 14448 14449 rm -f "$ac_tmp/stdin" 14450 case $ac_file in 14451 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14452 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14453 esac \ 14454 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14455 ;; 14456 :H) 14457 # 14458 # CONFIG_HEADER 14459 # 14460 if test x"$ac_file" != x-; then 14461 { 14462 $as_echo "/* $configure_input */" \ 14463 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14464 } >"$ac_tmp/config.h" \ 14465 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14466 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14467 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14468 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14469 else 14470 rm -f "$ac_file" 14471 mv "$ac_tmp/config.h" "$ac_file" \ 14472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14473 fi 14474 else 14475 $as_echo "/* $configure_input */" \ 14476 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14477 || as_fn_error $? "could not create -" "$LINENO" 5 14478 fi 14479 # Compute "$ac_file"'s index in $config_headers. 14480 _am_arg="$ac_file" 14481 _am_stamp_count=1 14482 for _am_header in $config_headers :; do 14483 case $_am_header in 14484 $_am_arg | $_am_arg:* ) 14485 break ;; 14486 * ) 14487 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14488 esac 14489 done 14490 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14491 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14492 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14493 X"$_am_arg" : 'X\(//\)$' \| \ 14494 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14495 $as_echo X"$_am_arg" | 14496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14497 s//\1/ 14498 q 14499 } 14500 /^X\(\/\/\)[^/].*/{ 14501 s//\1/ 14502 q 14503 } 14504 /^X\(\/\/\)$/{ 14505 s//\1/ 14506 q 14507 } 14508 /^X\(\/\).*/{ 14509 s//\1/ 14510 q 14511 } 14512 s/.*/./; q'`/stamp-h$_am_stamp_count 14513 ;; 14514 14515 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14516 $as_echo "$as_me: executing $ac_file commands" >&6;} 14517 ;; 14518 esac 14519 14520 14521 case $ac_file$ac_mode in 14522 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14523 # Older Autoconf quotes --file arguments for eval, but not when files 14524 # are listed without --file. Let's play safe and only enable the eval 14525 # if we detect the quoting. 14526 case $CONFIG_FILES in 14527 *\'*) eval set x "$CONFIG_FILES" ;; 14528 *) set x $CONFIG_FILES ;; 14529 esac 14530 shift 14531 for mf 14532 do 14533 # Strip MF so we end up with the name of the file. 14534 mf=`echo "$mf" | sed -e 's/:.*$//'` 14535 # Check whether this is an Automake generated Makefile or not. 14536 # We used to match only the files named 'Makefile.in', but 14537 # some people rename them; so instead we look at the file content. 14538 # Grep'ing the first line is not enough: some people post-process 14539 # each Makefile.in and add a new line on top of each file to say so. 14540 # Grep'ing the whole file is not good either: AIX grep has a line 14541 # limit of 2048, but all sed's we know have understand at least 4000. 14542 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14543 dirpart=`$as_dirname -- "$mf" || 14544 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14545 X"$mf" : 'X\(//\)[^/]' \| \ 14546 X"$mf" : 'X\(//\)$' \| \ 14547 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14548 $as_echo X"$mf" | 14549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14550 s//\1/ 14551 q 14552 } 14553 /^X\(\/\/\)[^/].*/{ 14554 s//\1/ 14555 q 14556 } 14557 /^X\(\/\/\)$/{ 14558 s//\1/ 14559 q 14560 } 14561 /^X\(\/\).*/{ 14562 s//\1/ 14563 q 14564 } 14565 s/.*/./; q'` 14566 else 14567 continue 14568 fi 14569 # Extract the definition of DEPDIR, am__include, and am__quote 14570 # from the Makefile without running 'make'. 14571 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14572 test -z "$DEPDIR" && continue 14573 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14574 test -z "$am__include" && continue 14575 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14576 # Find all dependency output files, they are included files with 14577 # $(DEPDIR) in their names. We invoke sed twice because it is the 14578 # simplest approach to changing $(DEPDIR) to its actual value in the 14579 # expansion. 14580 for file in `sed -n " 14581 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14582 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 14583 # Make sure the directory exists. 14584 test -f "$dirpart/$file" && continue 14585 fdir=`$as_dirname -- "$file" || 14586 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14587 X"$file" : 'X\(//\)[^/]' \| \ 14588 X"$file" : 'X\(//\)$' \| \ 14589 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14590 $as_echo X"$file" | 14591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14592 s//\1/ 14593 q 14594 } 14595 /^X\(\/\/\)[^/].*/{ 14596 s//\1/ 14597 q 14598 } 14599 /^X\(\/\/\)$/{ 14600 s//\1/ 14601 q 14602 } 14603 /^X\(\/\).*/{ 14604 s//\1/ 14605 q 14606 } 14607 s/.*/./; q'` 14608 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14609 # echo "creating $dirpart/$file" 14610 echo '# dummy' > "$dirpart/$file" 14611 done 14612 done 14613 } 14614 ;; 14615 "libtool":C) 14616 14617 # See if we are running on zsh, and set the options which allow our 14618 # commands through without removal of \ escapes. 14619 if test -n "${ZSH_VERSION+set}" ; then 14620 setopt NO_GLOB_SUBST 14621 fi 14622 14623 cfgfile="${ofile}T" 14624 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14625 $RM "$cfgfile" 14626 14627 cat <<_LT_EOF >> "$cfgfile" 14628 #! $SHELL 14629 14630 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14631 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 14632 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14633 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 14634 # 14635 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14636 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software 14637 # Foundation, Inc. 14638 # Written by Gordon Matzigkeit, 1996 14639 # 14640 # This file is part of GNU Libtool. 14641 # 14642 # GNU Libtool is free software; you can redistribute it and/or 14643 # modify it under the terms of the GNU General Public License as 14644 # published by the Free Software Foundation; either version 2 of 14645 # the License, or (at your option) any later version. 14646 # 14647 # As a special exception to the GNU General Public License, 14648 # if you distribute this file as part of a program or library that 14649 # is built using GNU Libtool, you may include this file under the 14650 # same distribution terms that you use for the rest of that program. 14651 # 14652 # GNU Libtool is distributed in the hope that it will be useful, 14653 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14654 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14655 # GNU General Public License for more details. 14656 # 14657 # You should have received a copy of the GNU General Public License 14658 # along with GNU Libtool; see the file COPYING. If not, a copy 14659 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14660 # obtained by writing to the Free Software Foundation, Inc., 14661 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14662 14663 14664 # The names of the tagged configurations supported by this script. 14665 available_tags="" 14666 14667 # ### BEGIN LIBTOOL CONFIG 14668 14669 # Whether or not to build static libraries. 14670 build_old_libs=$enable_static 14671 14672 # Which release of libtool.m4 was used? 14673 macro_version=$macro_version 14674 macro_revision=$macro_revision 14675 14676 # Whether or not to build shared libraries. 14677 build_libtool_libs=$enable_shared 14678 14679 # What type of objects to build. 14680 pic_mode=$pic_mode 14681 14682 # Whether or not to optimize for fast installation. 14683 fast_install=$enable_fast_install 14684 14685 # Shell to use when invoking shell scripts. 14686 SHELL=$lt_SHELL 14687 14688 # An echo program that protects backslashes. 14689 ECHO=$lt_ECHO 14690 14691 # The PATH separator for the build system. 14692 PATH_SEPARATOR=$lt_PATH_SEPARATOR 14693 14694 # The host system. 14695 host_alias=$host_alias 14696 host=$host 14697 host_os=$host_os 14698 14699 # The build system. 14700 build_alias=$build_alias 14701 build=$build 14702 build_os=$build_os 14703 14704 # A sed program that does not truncate output. 14705 SED=$lt_SED 14706 14707 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 14708 Xsed="\$SED -e 1s/^X//" 14709 14710 # A grep program that handles long lines. 14711 GREP=$lt_GREP 14712 14713 # An ERE matcher. 14714 EGREP=$lt_EGREP 14715 14716 # A literal string matcher. 14717 FGREP=$lt_FGREP 14718 14719 # A BSD- or MS-compatible name lister. 14720 NM=$lt_NM 14721 14722 # Whether we need soft or hard links. 14723 LN_S=$lt_LN_S 14724 14725 # What is the maximum length of a command? 14726 max_cmd_len=$max_cmd_len 14727 14728 # Object file suffix (normally "o"). 14729 objext=$ac_objext 14730 14731 # Executable file suffix (normally ""). 14732 exeext=$exeext 14733 14734 # whether the shell understands "unset". 14735 lt_unset=$lt_unset 14736 14737 # turn spaces into newlines. 14738 SP2NL=$lt_lt_SP2NL 14739 14740 # turn newlines into spaces. 14741 NL2SP=$lt_lt_NL2SP 14742 14743 # convert \$build file names to \$host format. 14744 to_host_file_cmd=$lt_cv_to_host_file_cmd 14745 14746 # convert \$build files to toolchain format. 14747 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14748 14749 # An object symbol dumper. 14750 OBJDUMP=$lt_OBJDUMP 14751 14752 # Method to check whether dependent libraries are shared objects. 14753 deplibs_check_method=$lt_deplibs_check_method 14754 14755 # Command to use when deplibs_check_method = "file_magic". 14756 file_magic_cmd=$lt_file_magic_cmd 14757 14758 # How to find potential files when deplibs_check_method = "file_magic". 14759 file_magic_glob=$lt_file_magic_glob 14760 14761 # Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14762 want_nocaseglob=$lt_want_nocaseglob 14763 14764 # DLL creation program. 14765 DLLTOOL=$lt_DLLTOOL 14766 14767 # Command to associate shared and link libraries. 14768 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14769 14770 # The archiver. 14771 AR=$lt_AR 14772 14773 # Flags to create an archive. 14774 AR_FLAGS=$lt_AR_FLAGS 14775 14776 # How to feed a file listing to the archiver. 14777 archiver_list_spec=$lt_archiver_list_spec 14778 14779 # A symbol stripping program. 14780 STRIP=$lt_STRIP 14781 14782 # Commands used to install an old-style archive. 14783 RANLIB=$lt_RANLIB 14784 old_postinstall_cmds=$lt_old_postinstall_cmds 14785 old_postuninstall_cmds=$lt_old_postuninstall_cmds 14786 14787 # Whether to use a lock for old archive extraction. 14788 lock_old_archive_extraction=$lock_old_archive_extraction 14789 14790 # A C compiler. 14791 LTCC=$lt_CC 14792 14793 # LTCC compiler flags. 14794 LTCFLAGS=$lt_CFLAGS 14795 14796 # Take the output of nm and produce a listing of raw symbols and C names. 14797 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14798 14799 # Transform the output of nm in a proper C declaration. 14800 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14801 14802 # Transform the output of nm in a C name address pair. 14803 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14804 14805 # Transform the output of nm in a C name address pair when lib prefix is needed. 14806 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14807 14808 # Specify filename containing input files for \$NM. 14809 nm_file_list_spec=$lt_nm_file_list_spec 14810 14811 # The root where to search for dependent libraries,and in which our libraries should be installed. 14812 lt_sysroot=$lt_sysroot 14813 14814 # The name of the directory that contains temporary libtool files. 14815 objdir=$objdir 14816 14817 # Used to examine libraries when file_magic_cmd begins with "file". 14818 MAGIC_CMD=$MAGIC_CMD 14819 14820 # Must we lock files when doing compilation? 14821 need_locks=$lt_need_locks 14822 14823 # Manifest tool. 14824 MANIFEST_TOOL=$lt_MANIFEST_TOOL 14825 14826 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14827 DSYMUTIL=$lt_DSYMUTIL 14828 14829 # Tool to change global to local symbols on Mac OS X. 14830 NMEDIT=$lt_NMEDIT 14831 14832 # Tool to manipulate fat objects and archives on Mac OS X. 14833 LIPO=$lt_LIPO 14834 14835 # ldd/readelf like tool for Mach-O binaries on Mac OS X. 14836 OTOOL=$lt_OTOOL 14837 14838 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14839 OTOOL64=$lt_OTOOL64 14840 14841 # Old archive suffix (normally "a"). 14842 libext=$libext 14843 14844 # Shared library suffix (normally ".so"). 14845 shrext_cmds=$lt_shrext_cmds 14846 14847 # The commands to extract the exported symbol list from a shared archive. 14848 extract_expsyms_cmds=$lt_extract_expsyms_cmds 14849 14850 # Variables whose values should be saved in libtool wrapper scripts and 14851 # restored at link time. 14852 variables_saved_for_relink=$lt_variables_saved_for_relink 14853 14854 # Do we need the "lib" prefix for modules? 14855 need_lib_prefix=$need_lib_prefix 14856 14857 # Do we need a version for libraries? 14858 need_version=$need_version 14859 14860 # Library versioning type. 14861 version_type=$version_type 14862 14863 # Shared library runtime path variable. 14864 runpath_var=$runpath_var 14865 14866 # Shared library path variable. 14867 shlibpath_var=$shlibpath_var 14868 14869 # Is shlibpath searched before the hard-coded library search path? 14870 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14871 14872 # Format of library name prefix. 14873 libname_spec=$lt_libname_spec 14874 14875 # List of archive names. First name is the real one, the rest are links. 14876 # The last name is the one that the linker finds with -lNAME 14877 library_names_spec=$lt_library_names_spec 14878 14879 # The coded name of the library, if different from the real name. 14880 soname_spec=$lt_soname_spec 14881 14882 # Permission mode override for installation of shared libraries. 14883 install_override_mode=$lt_install_override_mode 14884 14885 # Command to use after installation of a shared archive. 14886 postinstall_cmds=$lt_postinstall_cmds 14887 14888 # Command to use after uninstallation of a shared archive. 14889 postuninstall_cmds=$lt_postuninstall_cmds 14890 14891 # Commands used to finish a libtool library installation in a directory. 14892 finish_cmds=$lt_finish_cmds 14893 14894 # As "finish_cmds", except a single script fragment to be evaled but 14895 # not shown. 14896 finish_eval=$lt_finish_eval 14897 14898 # Whether we should hardcode library paths into libraries. 14899 hardcode_into_libs=$hardcode_into_libs 14900 14901 # Compile-time system search path for libraries. 14902 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14903 14904 # Run-time system search path for libraries. 14905 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14906 14907 # Whether dlopen is supported. 14908 dlopen_support=$enable_dlopen 14909 14910 # Whether dlopen of programs is supported. 14911 dlopen_self=$enable_dlopen_self 14912 14913 # Whether dlopen of statically linked programs is supported. 14914 dlopen_self_static=$enable_dlopen_self_static 14915 14916 # Commands to strip libraries. 14917 old_striplib=$lt_old_striplib 14918 striplib=$lt_striplib 14919 14920 14921 # The linker used to build libraries. 14922 LD=$lt_LD 14923 14924 # How to create reloadable object files. 14925 reload_flag=$lt_reload_flag 14926 reload_cmds=$lt_reload_cmds 14927 14928 # Commands used to build an old-style archive. 14929 old_archive_cmds=$lt_old_archive_cmds 14930 14931 # A language specific compiler. 14932 CC=$lt_compiler 14933 14934 # Is the compiler the GNU compiler? 14935 with_gcc=$GCC 14936 14937 # Compiler flag to turn off builtin functions. 14938 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14939 14940 # Additional compiler flags for building library objects. 14941 pic_flag=$lt_lt_prog_compiler_pic 14942 14943 # How to pass a linker flag through the compiler. 14944 wl=$lt_lt_prog_compiler_wl 14945 14946 # Compiler flag to prevent dynamic linking. 14947 link_static_flag=$lt_lt_prog_compiler_static 14948 14949 # Does compiler simultaneously support -c and -o options? 14950 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14951 14952 # Whether or not to add -lc for building shared libraries. 14953 build_libtool_need_lc=$archive_cmds_need_lc 14954 14955 # Whether or not to disallow shared libs when runtime libs are static. 14956 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14957 14958 # Compiler flag to allow reflexive dlopens. 14959 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14960 14961 # Compiler flag to generate shared objects directly from archives. 14962 whole_archive_flag_spec=$lt_whole_archive_flag_spec 14963 14964 # Whether the compiler copes with passing no objects directly. 14965 compiler_needs_object=$lt_compiler_needs_object 14966 14967 # Create an old-style archive from a shared archive. 14968 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14969 14970 # Create a temporary old-style archive to link instead of a shared archive. 14971 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14972 14973 # Commands used to build a shared archive. 14974 archive_cmds=$lt_archive_cmds 14975 archive_expsym_cmds=$lt_archive_expsym_cmds 14976 14977 # Commands used to build a loadable module if different from building 14978 # a shared archive. 14979 module_cmds=$lt_module_cmds 14980 module_expsym_cmds=$lt_module_expsym_cmds 14981 14982 # Whether we are building with GNU ld or not. 14983 with_gnu_ld=$lt_with_gnu_ld 14984 14985 # Flag that allows shared libraries with undefined symbols to be built. 14986 allow_undefined_flag=$lt_allow_undefined_flag 14987 14988 # Flag that enforces no undefined symbols. 14989 no_undefined_flag=$lt_no_undefined_flag 14990 14991 # Flag to hardcode \$libdir into a binary during linking. 14992 # This must work even if \$libdir does not exist 14993 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14994 14995 # Whether we need a single "-rpath" flag with a separated argument. 14996 hardcode_libdir_separator=$lt_hardcode_libdir_separator 14997 14998 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14999 # DIR into the resulting binary. 15000 hardcode_direct=$hardcode_direct 15001 15002 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15003 # DIR into the resulting binary and the resulting library dependency is 15004 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15005 # library is relocated. 15006 hardcode_direct_absolute=$hardcode_direct_absolute 15007 15008 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15009 # into the resulting binary. 15010 hardcode_minus_L=$hardcode_minus_L 15011 15012 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15013 # into the resulting binary. 15014 hardcode_shlibpath_var=$hardcode_shlibpath_var 15015 15016 # Set to "yes" if building a shared library automatically hardcodes DIR 15017 # into the library and all subsequent libraries and executables linked 15018 # against it. 15019 hardcode_automatic=$hardcode_automatic 15020 15021 # Set to yes if linker adds runtime paths of dependent libraries 15022 # to runtime path list. 15023 inherit_rpath=$inherit_rpath 15024 15025 # Whether libtool must link a program against all its dependency libraries. 15026 link_all_deplibs=$link_all_deplibs 15027 15028 # Set to "yes" if exported symbols are required. 15029 always_export_symbols=$always_export_symbols 15030 15031 # The commands to list exported symbols. 15032 export_symbols_cmds=$lt_export_symbols_cmds 15033 15034 # Symbols that should not be listed in the preloaded symbols. 15035 exclude_expsyms=$lt_exclude_expsyms 15036 15037 # Symbols that must always be exported. 15038 include_expsyms=$lt_include_expsyms 15039 15040 # Commands necessary for linking programs (against libraries) with templates. 15041 prelink_cmds=$lt_prelink_cmds 15042 15043 # Commands necessary for finishing linking programs. 15044 postlink_cmds=$lt_postlink_cmds 15045 15046 # Specify filename containing input files. 15047 file_list_spec=$lt_file_list_spec 15048 15049 # How to hardcode a shared library path into an executable. 15050 hardcode_action=$hardcode_action 15051 15052 # ### END LIBTOOL CONFIG 15053 15054 _LT_EOF 15055 15056 case $host_os in 15057 aix3*) 15058 cat <<\_LT_EOF >> "$cfgfile" 15059 # AIX sometimes has problems with the GCC collect2 program. For some 15060 # reason, if we set the COLLECT_NAMES environment variable, the problems 15061 # vanish in a puff of smoke. 15062 if test "X${COLLECT_NAMES+set}" != Xset; then 15063 COLLECT_NAMES= 15064 export COLLECT_NAMES 15065 fi 15066 _LT_EOF 15067 ;; 15068 esac 15069 15070 15071 ltmain="$ac_aux_dir/ltmain.sh" 15072 15073 15074 # We use sed instead of cat because bash on DJGPP gets confused if 15075 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15076 # text mode, it properly converts lines to CR/LF. This bash problem 15077 # is reportedly fixed, but why not run on old versions too? 15078 sed '$q' "$ltmain" >> "$cfgfile" \ 15079 || (rm -f "$cfgfile"; exit 1) 15080 15081 if test x"$xsi_shell" = xyes; then 15082 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 15083 func_dirname ()\ 15084 {\ 15085 \ case ${1} in\ 15086 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 15087 \ * ) func_dirname_result="${3}" ;;\ 15088 \ esac\ 15089 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 15090 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15091 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15092 test 0 -eq $? || _lt_function_replace_fail=: 15093 15094 15095 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 15096 func_basename ()\ 15097 {\ 15098 \ func_basename_result="${1##*/}"\ 15099 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15100 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15101 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15102 test 0 -eq $? || _lt_function_replace_fail=: 15103 15104 15105 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 15106 func_dirname_and_basename ()\ 15107 {\ 15108 \ case ${1} in\ 15109 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 15110 \ * ) func_dirname_result="${3}" ;;\ 15111 \ esac\ 15112 \ func_basename_result="${1##*/}"\ 15113 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15114 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15115 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15116 test 0 -eq $? || _lt_function_replace_fail=: 15117 15118 15119 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 15120 func_stripname ()\ 15121 {\ 15122 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 15123 \ # positional parameters, so assign one to ordinary parameter first.\ 15124 \ func_stripname_result=${3}\ 15125 \ func_stripname_result=${func_stripname_result#"${1}"}\ 15126 \ func_stripname_result=${func_stripname_result%"${2}"}\ 15127 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 15128 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15129 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15130 test 0 -eq $? || _lt_function_replace_fail=: 15131 15132 15133 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 15134 func_split_long_opt ()\ 15135 {\ 15136 \ func_split_long_opt_name=${1%%=*}\ 15137 \ func_split_long_opt_arg=${1#*=}\ 15138 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15139 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15140 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15141 test 0 -eq $? || _lt_function_replace_fail=: 15142 15143 15144 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 15145 func_split_short_opt ()\ 15146 {\ 15147 \ func_split_short_opt_arg=${1#??}\ 15148 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 15149 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15150 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15151 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15152 test 0 -eq $? || _lt_function_replace_fail=: 15153 15154 15155 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 15156 func_lo2o ()\ 15157 {\ 15158 \ case ${1} in\ 15159 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 15160 \ *) func_lo2o_result=${1} ;;\ 15161 \ esac\ 15162 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 15163 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15164 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15165 test 0 -eq $? || _lt_function_replace_fail=: 15166 15167 15168 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 15169 func_xform ()\ 15170 {\ 15171 func_xform_result=${1%.*}.lo\ 15172 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 15173 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15174 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15175 test 0 -eq $? || _lt_function_replace_fail=: 15176 15177 15178 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 15179 func_arith ()\ 15180 {\ 15181 func_arith_result=$(( $* ))\ 15182 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 15183 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15184 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15185 test 0 -eq $? || _lt_function_replace_fail=: 15186 15187 15188 sed -e '/^func_len ()$/,/^} # func_len /c\ 15189 func_len ()\ 15190 {\ 15191 func_len_result=${#1}\ 15192 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 15193 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15194 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15195 test 0 -eq $? || _lt_function_replace_fail=: 15196 15197 fi 15198 15199 if test x"$lt_shell_append" = xyes; then 15200 sed -e '/^func_append ()$/,/^} # func_append /c\ 15201 func_append ()\ 15202 {\ 15203 eval "${1}+=\\${2}"\ 15204 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 15205 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15206 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15207 test 0 -eq $? || _lt_function_replace_fail=: 15208 15209 15210 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 15211 func_append_quoted ()\ 15212 {\ 15213 \ func_quote_for_eval "${2}"\ 15214 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 15215 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 15216 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15217 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15218 test 0 -eq $? || _lt_function_replace_fail=: 15219 15220 15221 # Save a `func_append' function call where possible by direct use of '+=' 15222 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 15223 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15224 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15225 test 0 -eq $? || _lt_function_replace_fail=: 15226 else 15227 # Save a `func_append' function call even when '+=' is not available 15228 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 15229 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15230 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15231 test 0 -eq $? || _lt_function_replace_fail=: 15232 fi 15233 15234 if test x"$_lt_function_replace_fail" = x":"; then 15235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 15236 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 15237 fi 15238 15239 15240 mv -f "$cfgfile" "$ofile" || 15241 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15242 chmod +x "$ofile" 15243 15244 ;; 15245 15246 esac 15247 done # for ac_tag 15248 15249 15250 as_fn_exit 0 15251 _ACEOF 15252 ac_clean_files=$ac_clean_files_save 15253 15254 test $ac_write_fail = 0 || 15255 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15256 15257 15258 # configure is writing to config.log, and then calls config.status. 15259 # config.status does its own redirection, appending to config.log. 15260 # Unfortunately, on DOS this fails, as config.log is still kept open 15261 # by configure, so config.status won't be able to write to it; its 15262 # output is simply discarded. So we exec the FD to /dev/null, 15263 # effectively closing config.log, so it can be properly (re)opened and 15264 # appended to by config.status. When coming back to configure, we 15265 # need to make the FD available again. 15266 if test "$no_create" != yes; then 15267 ac_cs_success=: 15268 ac_config_status_args= 15269 test "$silent" = yes && 15270 ac_config_status_args="$ac_config_status_args --quiet" 15271 exec 5>/dev/null 15272 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15273 exec 5>>config.log 15274 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15275 # would make configure fail if this is the last instruction. 15276 $ac_cs_success || as_fn_exit 1 15277 fi 15278 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15280 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15281 fi 15282 15283