configure (602660B)
1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for util-vserver 0.30.216-pre3131. 4 # 5 # Report bugs to <vserver@list.linux-vserver.org>. 6 # 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 11 # This configure script is free software; the Free Software Foundation 12 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 as_myself= 93 case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96 for as_dir in $PATH 97 do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102 IFS=$as_save_IFS 103 104 ;; 105 esac 106 # We did not find ourselves, most probably we were run as `sh COMMAND' 107 # in which case we are not to be found in the path. 108 if test "x$as_myself" = x; then 109 as_myself=$0 110 fi 111 if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212 else 213 as_have_required=no 214 fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217 else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219 as_found=false 220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221 do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235 fi 236 fi 237 done;; 238 esac 239 as_found=false 240 done 241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244 fi; } 245 IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251 # neutralization value for shells without unset; and this also 252 # works around shells that cannot unset nonexistent variables. 253 # Preserve -v and -x to the replacement shell. 254 BASH_ENV=/dev/null 255 ENV=/dev/null 256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257 case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262 esac 263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264 # Admittedly, this is quite paranoid, since all the known shells bail 265 # out after a failed `exec'. 266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267 exit 255 268 fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278 $0: vserver@list.linux-vserver.org about your system, 279 $0: including any error possibly output before this 280 $0: message. Then install a modern shell, or manually run 281 $0: the script under such a shell if you do have one." 282 fi 283 exit 1 284 fi 285 fi 286 fi 287 SHELL=${CONFIG_SHELL-/bin/sh} 288 export SHELL 289 # Unset more variables known to interfere with behavior of common tools. 290 CLICOLOR_FORCE= GREP_OPTIONS= 291 unset CLICOLOR_FORCE GREP_OPTIONS 292 293 ## --------------------- ## 294 ## M4sh Shell Functions. ## 295 ## --------------------- ## 296 # as_fn_unset VAR 297 # --------------- 298 # Portably unset VAR. 299 as_fn_unset () 300 { 301 { eval $1=; unset $1;} 302 } 303 as_unset=as_fn_unset 304 305 # as_fn_set_status STATUS 306 # ----------------------- 307 # Set $? to STATUS, without forking. 308 as_fn_set_status () 309 { 310 return $1 311 } # as_fn_set_status 312 313 # as_fn_exit STATUS 314 # ----------------- 315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316 as_fn_exit () 317 { 318 set +e 319 as_fn_set_status $1 320 exit $1 321 } # as_fn_exit 322 323 # as_fn_mkdir_p 324 # ------------- 325 # Create "$as_dir" as a directory, including parents if necessary. 326 as_fn_mkdir_p () 327 { 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345 $as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369 } # as_fn_mkdir_p 370 371 # as_fn_executable_p FILE 372 # ----------------------- 373 # Test if FILE is an executable regular file. 374 as_fn_executable_p () 375 { 376 test -f "$1" && test -x "$1" 377 } # as_fn_executable_p 378 # as_fn_append VAR VALUE 379 # ---------------------- 380 # Append the text in VALUE to the end of the definition contained in VAR. Take 381 # advantage of any shell optimizations that allow amortized linear growth over 382 # repeated appends, instead of the typical quadratic growth present in naive 383 # implementations. 384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389 else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394 fi # as_fn_append 395 396 # as_fn_arith ARG... 397 # ------------------ 398 # Perform arithmetic evaluation on the ARGs, and store the result in the 399 # global $as_val. Take advantage of shells that can avoid forks. The arguments 400 # must be portable across $(()) and expr. 401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406 else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411 fi # as_fn_arith 412 413 414 # as_fn_error STATUS ERROR [LINENO LOG_FD] 415 # ---------------------------------------- 416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418 # script with STATUS, using 1 if that was 0. 419 as_fn_error () 420 { 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428 } # as_fn_error 429 430 if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433 else 434 as_expr=false 435 fi 436 437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439 else 440 as_basename=false 441 fi 442 443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445 else 446 as_dirname=false 447 fi 448 449 as_me=`$as_basename -- "$0" || 450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453 $as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468 # Avoid depending upon Character Ranges. 469 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472 as_cr_digits='0123456789' 473 as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509 } 510 511 ECHO_C= ECHO_N= ECHO_T= 512 case `echo -n x` in #((((( 513 -n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520 *) 521 ECHO_N='-n';; 522 esac 523 524 rm -f conf$$ conf$$.exe conf$$.file 525 if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527 else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530 fi 531 if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545 else 546 as_ln_s='cp -pR' 547 fi 548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549 rmdir conf$$.dir 2>/dev/null 550 551 if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553 else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556 fi 557 558 as_test_x='test -x' 559 as_executable_p=as_fn_executable_p 560 561 # Sed expression to map a string onto a valid CPP name. 562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564 # Sed expression to map a string onto a valid variable name. 565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567 SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570 test -n "$DJDIR" || exec 7<&0 </dev/null 571 exec 6>&1 572 573 # Name of the host. 574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575 # so uname gets run too. 576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578 # 579 # Initializations. 580 # 581 ac_default_prefix=/usr/local 582 ac_clean_files= 583 ac_config_libobj_dir=. 584 LIBOBJS= 585 cross_compiling=no 586 subdirs= 587 MFLAGS= 588 MAKEFLAGS= 589 590 # Identity of this package. 591 PACKAGE_NAME='util-vserver' 592 PACKAGE_TARNAME='util-vserver' 593 PACKAGE_VERSION='0.30.216-pre3131' 594 PACKAGE_STRING='util-vserver 0.30.216-pre3131' 595 PACKAGE_BUGREPORT='vserver@list.linux-vserver.org' 596 PACKAGE_URL='' 597 598 ac_unique_file="src/capchroot.c" 599 # Factoring default headers for most tests. 600 ac_includes_default="\ 601 #include <stdio.h> 602 #ifdef HAVE_SYS_TYPES_H 603 # include <sys/types.h> 604 #endif 605 #ifdef HAVE_SYS_STAT_H 606 # include <sys/stat.h> 607 #endif 608 #ifdef STDC_HEADERS 609 # include <stdlib.h> 610 # include <stddef.h> 611 #else 612 # ifdef HAVE_STDLIB_H 613 # include <stdlib.h> 614 # endif 615 #endif 616 #ifdef HAVE_STRING_H 617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618 # include <memory.h> 619 # endif 620 # include <string.h> 621 #endif 622 #ifdef HAVE_STRINGS_H 623 # include <strings.h> 624 #endif 625 #ifdef HAVE_INTTYPES_H 626 # include <inttypes.h> 627 #endif 628 #ifdef HAVE_STDINT_H 629 # include <stdint.h> 630 #endif 631 #ifdef HAVE_UNISTD_H 632 # include <unistd.h> 633 #endif" 634 635 ac_subst_vars='am__EXEEXT_FALSE 636 am__EXEEXT_TRUE 637 LTLIBOBJS 638 LIBOBJS 639 PKGLIBDIR_IS_PKGLIBEXECDIR_FALSE 640 PKGLIBDIR_IS_PKGLIBEXECDIR_TRUE 641 HAVE_VERSIONING_FALSE 642 HAVE_VERSIONING_TRUE 643 HAVE_PYTHON_FALSE 644 HAVE_PYTHON_TRUE 645 CTAGS 646 PYTHON_LDFLAGS 647 PYTHON_CFLAGS 648 pkgpyexecdir 649 pyexecdir 650 pkgpythondir 651 pythondir 652 PYTHON_PLATFORM 653 PYTHON_EXEC_PREFIX 654 PYTHON_PREFIX 655 PYTHON_VERSION 656 PYTHON 657 SYSTEMD_GENERATORDIR 658 SYSTEMD_UNITDIR 659 SYSTEMD_SYSCTLDIR 660 SYSTEMD_TMPFILESDIR 661 SYSTEMD_LIBS 662 SYSTEMD_CFLAGS 663 HAVE_SYSTEMD_FALSE 664 HAVE_SYSTEMD_TRUE 665 HAVE_SYSV_INIT_FALSE 666 HAVE_SYSV_INIT_TRUE 667 HAVE_GENTOO_INIT_FALSE 668 HAVE_GENTOO_INIT_TRUE 669 ENSC_CRYPTO_LIB 670 ENSC_CRYPTO_CFLAGS 671 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE 672 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE 673 ENSC_HAVE_CRYPTO_FALSE 674 ENSC_HAVE_CRYPTO_TRUE 675 NSS_LIBS 676 NSS_CFLAGS 677 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE 678 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE 679 ENSC_HAVE_BEECRYPT_FALSE 680 ENSC_HAVE_BEECRYPT_TRUE 681 ENSC_ENABLE_INTERNAL_HEADERS_FALSE 682 ENSC_ENABLE_INTERNAL_HEADERS_TRUE 683 HAVE_GIT2CL_FALSE 684 HAVE_GIT2CL_TRUE 685 GIT2CL 686 vserverdir 687 OTOOL64 688 OTOOL 689 LIPO 690 NMEDIT 691 DSYMUTIL 692 MANIFEST_TOOL 693 RANLIB 694 ac_ct_AR 695 AR 696 DLLTOOL 697 OBJDUMP 698 NM 699 ac_ct_DUMPBIN 700 DUMPBIN 701 LD 702 FGREP 703 LIBTOOL 704 ENSC_USE_GLIBC_FALSE 705 ENSC_USE_GLIBC_TRUE 706 ENSC_USE_DIETLIBC_FALSE 707 ENSC_USE_DIETLIBC_TRUE 708 USE_DIETLIBC_COMPAT_FALSE 709 USE_DIETLIBC_COMPAT_TRUE 710 USE_DIETLIBC_FALSE 711 USE_DIETLIBC_TRUE 712 DIETFLAGS 713 DIET 714 CPP 715 RELEASE_CPPFLAGS 716 initrddir 717 ENSC_USE_EXPENSIVE_TESTS 718 LIB_DEBUG_CPPFLAGS 719 VCONFIGOP 720 VCONFIG 721 HAVE_XSLTPROC_FALSE 722 HAVE_XSLTPROC_TRUE 723 HAVE_XSLTP_FALSE 724 HAVE_XSLTP_TRUE 725 XSLTPROC 726 XSLTP 727 DOXYGEN 728 FIND 729 FSCK 730 STRACE 731 RSYNC 732 RESTORE 733 CPIO 734 BZIP2 735 GZIP 736 FILE 737 IONICE 738 WGET 739 RMMOD 740 NOHUP 741 NAMEIF 742 MODPROBE 743 IPTABLES 744 IP 745 WC 746 UMOUNT 747 TTY 748 TOUCH 749 TAR 750 TAC 751 SH 752 SED 753 RMDIR 754 RM 755 PS 756 NICE 757 MV 758 MOUNT 759 MKTEMP 760 MKFIFO 761 MKDIR 762 LN 763 GREP 764 ENV 765 EGREP 766 DIRNAME 767 CP 768 CMP 769 CHOWN 770 CAT 771 ENSC_PATHPROG_SED 772 ENSC_HAVE_C99_COMPILER_FALSE 773 ENSC_HAVE_C99_COMPILER_TRUE 774 PKG_CONFIG_LIBDIR 775 PKG_CONFIG_PATH 776 PKG_CONFIG 777 LN_S 778 am__fastdepCC_FALSE 779 am__fastdepCC_TRUE 780 CCDEPMODE 781 am__nodep 782 AMDEPBACKSLASH 783 AMDEP_FALSE 784 AMDEP_TRUE 785 am__quote 786 am__include 787 DEPDIR 788 OBJEXT 789 EXEEXT 790 ac_ct_CC 791 CPPFLAGS 792 LDFLAGS 793 CFLAGS 794 CC 795 GPG_KEY 796 host_os 797 host_vendor 798 host_cpu 799 host 800 build_os 801 build_vendor 802 build_cpu 803 build 804 MAINT 805 MAINTAINER_MODE_FALSE 806 MAINTAINER_MODE_TRUE 807 AM_BACKSLASH 808 AM_DEFAULT_VERBOSITY 809 AM_DEFAULT_V 810 AM_V 811 am__untar 812 am__tar 813 AMTAR 814 am__leading_dot 815 SET_MAKE 816 AWK 817 mkdir_p 818 MKDIR_P 819 INSTALL_STRIP_PROGRAM 820 STRIP 821 install_sh 822 MAKEINFO 823 AUTOHEADER 824 AUTOMAKE 825 AUTOCONF 826 ACLOCAL 827 VERSION 828 PACKAGE 829 CYGPATH_W 830 am__isrc 831 INSTALL_DATA 832 INSTALL_SCRIPT 833 INSTALL_PROGRAM 834 target_alias 835 host_alias 836 build_alias 837 LIBS 838 ECHO_T 839 ECHO_N 840 ECHO_C 841 DEFS 842 mandir 843 localedir 844 libdir 845 psdir 846 pdfdir 847 dvidir 848 htmldir 849 infodir 850 docdir 851 oldincludedir 852 includedir 853 localstatedir 854 sharedstatedir 855 sysconfdir 856 datadir 857 datarootdir 858 libexecdir 859 sbindir 860 bindir 861 program_transform_name 862 prefix 863 exec_prefix 864 PACKAGE_URL 865 PACKAGE_BUGREPORT 866 PACKAGE_STRING 867 PACKAGE_VERSION 868 PACKAGE_TARNAME 869 PACKAGE_NAME 870 PATH_SEPARATOR 871 SHELL' 872 ac_subst_files='' 873 ac_user_opts=' 874 enable_option_checking 875 enable_silent_rules 876 enable_maintainer_mode 877 enable_dependency_tracking 878 enable_ip_vlan 879 enable_extra_optimizations 880 enable_lib_debug 881 enable_expensive_tests 882 with_initrddir 883 enable_release 884 enable_alternative_syscalls 885 with_syscall 886 enable_dietlibc 887 enable_shared 888 enable_static 889 with_pic 890 enable_fast_install 891 with_gnu_ld 892 with_sysroot 893 enable_libtool_lock 894 with_vrootdir 895 enable_internal_headers 896 enable_apis 897 with_crypto_api 898 with_initscripts 899 enable_systemd 900 enable_versioning 901 ' 902 ac_precious_vars='build_alias 903 host_alias 904 target_alias 905 CC 906 CFLAGS 907 LDFLAGS 908 LIBS 909 CPPFLAGS 910 PKG_CONFIG 911 PKG_CONFIG_PATH 912 PKG_CONFIG_LIBDIR 913 CPP 914 DIET 915 DIETFLAGS 916 NSS_CFLAGS 917 NSS_LIBS 918 SYSTEMD_CFLAGS 919 SYSTEMD_LIBS 920 SYSTEMD_TMPFILESDIR 921 SYSTEMD_SYSCTLDIR 922 SYSTEMD_UNITDIR 923 SYSTEMD_GENERATORDIR 924 PYTHON' 925 926 927 # Initialize some variables set by options. 928 ac_init_help= 929 ac_init_version=false 930 ac_unrecognized_opts= 931 ac_unrecognized_sep= 932 # The variables have the same names as the options, with 933 # dashes changed to underlines. 934 cache_file=/dev/null 935 exec_prefix=NONE 936 no_create= 937 no_recursion= 938 prefix=NONE 939 program_prefix=NONE 940 program_suffix=NONE 941 program_transform_name=s,x,x, 942 silent= 943 site= 944 srcdir= 945 verbose= 946 x_includes=NONE 947 x_libraries=NONE 948 949 # Installation directory options. 950 # These are left unexpanded so users can "make install exec_prefix=/foo" 951 # and all the variables that are supposed to be based on exec_prefix 952 # by default will actually change. 953 # Use braces instead of parens because sh, perl, etc. also accept them. 954 # (The list follows the same order as the GNU Coding Standards.) 955 bindir='${exec_prefix}/bin' 956 sbindir='${exec_prefix}/sbin' 957 libexecdir='${exec_prefix}/libexec' 958 datarootdir='${prefix}/share' 959 datadir='${datarootdir}' 960 sysconfdir='${prefix}/etc' 961 sharedstatedir='${prefix}/com' 962 localstatedir='${prefix}/var' 963 includedir='${prefix}/include' 964 oldincludedir='/usr/include' 965 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 966 infodir='${datarootdir}/info' 967 htmldir='${docdir}' 968 dvidir='${docdir}' 969 pdfdir='${docdir}' 970 psdir='${docdir}' 971 libdir='${exec_prefix}/lib' 972 localedir='${datarootdir}/locale' 973 mandir='${datarootdir}/man' 974 975 ac_prev= 976 ac_dashdash= 977 for ac_option 978 do 979 # If the previous option needs an argument, assign it. 980 if test -n "$ac_prev"; then 981 eval $ac_prev=\$ac_option 982 ac_prev= 983 continue 984 fi 985 986 case $ac_option in 987 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 988 *=) ac_optarg= ;; 989 *) ac_optarg=yes ;; 990 esac 991 992 # Accept the important Cygnus configure options, so we can diagnose typos. 993 994 case $ac_dashdash$ac_option in 995 --) 996 ac_dashdash=yes ;; 997 998 -bindir | --bindir | --bindi | --bind | --bin | --bi) 999 ac_prev=bindir ;; 1000 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1001 bindir=$ac_optarg ;; 1002 1003 -build | --build | --buil | --bui | --bu) 1004 ac_prev=build_alias ;; 1005 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1006 build_alias=$ac_optarg ;; 1007 1008 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1009 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1010 ac_prev=cache_file ;; 1011 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1012 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1013 cache_file=$ac_optarg ;; 1014 1015 --config-cache | -C) 1016 cache_file=config.cache ;; 1017 1018 -datadir | --datadir | --datadi | --datad) 1019 ac_prev=datadir ;; 1020 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1021 datadir=$ac_optarg ;; 1022 1023 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1024 | --dataroo | --dataro | --datar) 1025 ac_prev=datarootdir ;; 1026 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1027 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1028 datarootdir=$ac_optarg ;; 1029 1030 -disable-* | --disable-*) 1031 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1032 # Reject names that are not valid shell variable names. 1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1034 as_fn_error $? "invalid feature name: $ac_useropt" 1035 ac_useropt_orig=$ac_useropt 1036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1037 case $ac_user_opts in 1038 *" 1039 "enable_$ac_useropt" 1040 "*) ;; 1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1042 ac_unrecognized_sep=', ';; 1043 esac 1044 eval enable_$ac_useropt=no ;; 1045 1046 -docdir | --docdir | --docdi | --doc | --do) 1047 ac_prev=docdir ;; 1048 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1049 docdir=$ac_optarg ;; 1050 1051 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1052 ac_prev=dvidir ;; 1053 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1054 dvidir=$ac_optarg ;; 1055 1056 -enable-* | --enable-*) 1057 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1058 # Reject names that are not valid shell variable names. 1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1060 as_fn_error $? "invalid feature name: $ac_useropt" 1061 ac_useropt_orig=$ac_useropt 1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1063 case $ac_user_opts in 1064 *" 1065 "enable_$ac_useropt" 1066 "*) ;; 1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1068 ac_unrecognized_sep=', ';; 1069 esac 1070 eval enable_$ac_useropt=\$ac_optarg ;; 1071 1072 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1073 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1074 | --exec | --exe | --ex) 1075 ac_prev=exec_prefix ;; 1076 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1077 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1078 | --exec=* | --exe=* | --ex=*) 1079 exec_prefix=$ac_optarg ;; 1080 1081 -gas | --gas | --ga | --g) 1082 # Obsolete; use --with-gas. 1083 with_gas=yes ;; 1084 1085 -help | --help | --hel | --he | -h) 1086 ac_init_help=long ;; 1087 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1088 ac_init_help=recursive ;; 1089 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1090 ac_init_help=short ;; 1091 1092 -host | --host | --hos | --ho) 1093 ac_prev=host_alias ;; 1094 -host=* | --host=* | --hos=* | --ho=*) 1095 host_alias=$ac_optarg ;; 1096 1097 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1098 ac_prev=htmldir ;; 1099 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1100 | --ht=*) 1101 htmldir=$ac_optarg ;; 1102 1103 -includedir | --includedir | --includedi | --included | --include \ 1104 | --includ | --inclu | --incl | --inc) 1105 ac_prev=includedir ;; 1106 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1107 | --includ=* | --inclu=* | --incl=* | --inc=*) 1108 includedir=$ac_optarg ;; 1109 1110 -infodir | --infodir | --infodi | --infod | --info | --inf) 1111 ac_prev=infodir ;; 1112 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1113 infodir=$ac_optarg ;; 1114 1115 -libdir | --libdir | --libdi | --libd) 1116 ac_prev=libdir ;; 1117 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1118 libdir=$ac_optarg ;; 1119 1120 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1121 | --libexe | --libex | --libe) 1122 ac_prev=libexecdir ;; 1123 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1124 | --libexe=* | --libex=* | --libe=*) 1125 libexecdir=$ac_optarg ;; 1126 1127 -localedir | --localedir | --localedi | --localed | --locale) 1128 ac_prev=localedir ;; 1129 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1130 localedir=$ac_optarg ;; 1131 1132 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1133 | --localstate | --localstat | --localsta | --localst | --locals) 1134 ac_prev=localstatedir ;; 1135 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1136 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1137 localstatedir=$ac_optarg ;; 1138 1139 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1140 ac_prev=mandir ;; 1141 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1142 mandir=$ac_optarg ;; 1143 1144 -nfp | --nfp | --nf) 1145 # Obsolete; use --without-fp. 1146 with_fp=no ;; 1147 1148 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1149 | --no-cr | --no-c | -n) 1150 no_create=yes ;; 1151 1152 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1153 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1154 no_recursion=yes ;; 1155 1156 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1157 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1158 | --oldin | --oldi | --old | --ol | --o) 1159 ac_prev=oldincludedir ;; 1160 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1161 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1162 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1163 oldincludedir=$ac_optarg ;; 1164 1165 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1166 ac_prev=prefix ;; 1167 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1168 prefix=$ac_optarg ;; 1169 1170 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1171 | --program-pre | --program-pr | --program-p) 1172 ac_prev=program_prefix ;; 1173 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1174 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1175 program_prefix=$ac_optarg ;; 1176 1177 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1178 | --program-suf | --program-su | --program-s) 1179 ac_prev=program_suffix ;; 1180 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1181 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1182 program_suffix=$ac_optarg ;; 1183 1184 -program-transform-name | --program-transform-name \ 1185 | --program-transform-nam | --program-transform-na \ 1186 | --program-transform-n | --program-transform- \ 1187 | --program-transform | --program-transfor \ 1188 | --program-transfo | --program-transf \ 1189 | --program-trans | --program-tran \ 1190 | --progr-tra | --program-tr | --program-t) 1191 ac_prev=program_transform_name ;; 1192 -program-transform-name=* | --program-transform-name=* \ 1193 | --program-transform-nam=* | --program-transform-na=* \ 1194 | --program-transform-n=* | --program-transform-=* \ 1195 | --program-transform=* | --program-transfor=* \ 1196 | --program-transfo=* | --program-transf=* \ 1197 | --program-trans=* | --program-tran=* \ 1198 | --progr-tra=* | --program-tr=* | --program-t=*) 1199 program_transform_name=$ac_optarg ;; 1200 1201 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1202 ac_prev=pdfdir ;; 1203 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1204 pdfdir=$ac_optarg ;; 1205 1206 -psdir | --psdir | --psdi | --psd | --ps) 1207 ac_prev=psdir ;; 1208 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1209 psdir=$ac_optarg ;; 1210 1211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1212 | -silent | --silent | --silen | --sile | --sil) 1213 silent=yes ;; 1214 1215 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1216 ac_prev=sbindir ;; 1217 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1218 | --sbi=* | --sb=*) 1219 sbindir=$ac_optarg ;; 1220 1221 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1222 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1223 | --sharedst | --shareds | --shared | --share | --shar \ 1224 | --sha | --sh) 1225 ac_prev=sharedstatedir ;; 1226 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1227 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1228 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1229 | --sha=* | --sh=*) 1230 sharedstatedir=$ac_optarg ;; 1231 1232 -site | --site | --sit) 1233 ac_prev=site ;; 1234 -site=* | --site=* | --sit=*) 1235 site=$ac_optarg ;; 1236 1237 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1238 ac_prev=srcdir ;; 1239 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1240 srcdir=$ac_optarg ;; 1241 1242 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1243 | --syscon | --sysco | --sysc | --sys | --sy) 1244 ac_prev=sysconfdir ;; 1245 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1246 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1247 sysconfdir=$ac_optarg ;; 1248 1249 -target | --target | --targe | --targ | --tar | --ta | --t) 1250 ac_prev=target_alias ;; 1251 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1252 target_alias=$ac_optarg ;; 1253 1254 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1255 verbose=yes ;; 1256 1257 -version | --version | --versio | --versi | --vers | -V) 1258 ac_init_version=: ;; 1259 1260 -with-* | --with-*) 1261 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1262 # Reject names that are not valid shell variable names. 1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1264 as_fn_error $? "invalid package name: $ac_useropt" 1265 ac_useropt_orig=$ac_useropt 1266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1267 case $ac_user_opts in 1268 *" 1269 "with_$ac_useropt" 1270 "*) ;; 1271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1272 ac_unrecognized_sep=', ';; 1273 esac 1274 eval with_$ac_useropt=\$ac_optarg ;; 1275 1276 -without-* | --without-*) 1277 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1278 # Reject names that are not valid shell variable names. 1279 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1280 as_fn_error $? "invalid package name: $ac_useropt" 1281 ac_useropt_orig=$ac_useropt 1282 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1283 case $ac_user_opts in 1284 *" 1285 "with_$ac_useropt" 1286 "*) ;; 1287 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1288 ac_unrecognized_sep=', ';; 1289 esac 1290 eval with_$ac_useropt=no ;; 1291 1292 --x) 1293 # Obsolete; use --with-x. 1294 with_x=yes ;; 1295 1296 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1297 | --x-incl | --x-inc | --x-in | --x-i) 1298 ac_prev=x_includes ;; 1299 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1300 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1301 x_includes=$ac_optarg ;; 1302 1303 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1304 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1305 ac_prev=x_libraries ;; 1306 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1307 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1308 x_libraries=$ac_optarg ;; 1309 1310 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1311 Try \`$0 --help' for more information" 1312 ;; 1313 1314 *=*) 1315 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1316 # Reject names that are not valid shell variable names. 1317 case $ac_envvar in #( 1318 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1319 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1320 esac 1321 eval $ac_envvar=\$ac_optarg 1322 export $ac_envvar ;; 1323 1324 *) 1325 # FIXME: should be removed in autoconf 3.0. 1326 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1327 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1328 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1329 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1330 ;; 1331 1332 esac 1333 done 1334 1335 if test -n "$ac_prev"; then 1336 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1337 as_fn_error $? "missing argument to $ac_option" 1338 fi 1339 1340 if test -n "$ac_unrecognized_opts"; then 1341 case $enable_option_checking in 1342 no) ;; 1343 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1344 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1345 esac 1346 fi 1347 1348 # Check all directory arguments for consistency. 1349 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1350 datadir sysconfdir sharedstatedir localstatedir includedir \ 1351 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1352 libdir localedir mandir 1353 do 1354 eval ac_val=\$$ac_var 1355 # Remove trailing slashes. 1356 case $ac_val in 1357 */ ) 1358 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1359 eval $ac_var=\$ac_val;; 1360 esac 1361 # Be sure to have absolute directory names. 1362 case $ac_val in 1363 [\\/$]* | ?:[\\/]* ) continue;; 1364 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1365 esac 1366 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1367 done 1368 1369 # There might be people who depend on the old broken behavior: `$host' 1370 # used to hold the argument of --host etc. 1371 # FIXME: To remove some day. 1372 build=$build_alias 1373 host=$host_alias 1374 target=$target_alias 1375 1376 # FIXME: To remove some day. 1377 if test "x$host_alias" != x; then 1378 if test "x$build_alias" = x; then 1379 cross_compiling=maybe 1380 elif test "x$build_alias" != "x$host_alias"; then 1381 cross_compiling=yes 1382 fi 1383 fi 1384 1385 ac_tool_prefix= 1386 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1387 1388 test "$silent" = yes && exec 6>/dev/null 1389 1390 1391 ac_pwd=`pwd` && test -n "$ac_pwd" && 1392 ac_ls_di=`ls -di .` && 1393 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1394 as_fn_error $? "working directory cannot be determined" 1395 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1396 as_fn_error $? "pwd does not report name of working directory" 1397 1398 1399 # Find the source files, if location was not specified. 1400 if test -z "$srcdir"; then 1401 ac_srcdir_defaulted=yes 1402 # Try the directory containing this script, then the parent directory. 1403 ac_confdir=`$as_dirname -- "$as_myself" || 1404 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1405 X"$as_myself" : 'X\(//\)[^/]' \| \ 1406 X"$as_myself" : 'X\(//\)$' \| \ 1407 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1408 $as_echo X"$as_myself" | 1409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1410 s//\1/ 1411 q 1412 } 1413 /^X\(\/\/\)[^/].*/{ 1414 s//\1/ 1415 q 1416 } 1417 /^X\(\/\/\)$/{ 1418 s//\1/ 1419 q 1420 } 1421 /^X\(\/\).*/{ 1422 s//\1/ 1423 q 1424 } 1425 s/.*/./; q'` 1426 srcdir=$ac_confdir 1427 if test ! -r "$srcdir/$ac_unique_file"; then 1428 srcdir=.. 1429 fi 1430 else 1431 ac_srcdir_defaulted=no 1432 fi 1433 if test ! -r "$srcdir/$ac_unique_file"; then 1434 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1435 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1436 fi 1437 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1438 ac_abs_confdir=`( 1439 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1440 pwd)` 1441 # When building in place, set srcdir=. 1442 if test "$ac_abs_confdir" = "$ac_pwd"; then 1443 srcdir=. 1444 fi 1445 # Remove unnecessary trailing slashes from srcdir. 1446 # Double slashes in file names in object file debugging info 1447 # mess up M-x gdb in Emacs. 1448 case $srcdir in 1449 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1450 esac 1451 for ac_var in $ac_precious_vars; do 1452 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1453 eval ac_env_${ac_var}_value=\$${ac_var} 1454 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1455 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1456 done 1457 1458 # 1459 # Report the --help message. 1460 # 1461 if test "$ac_init_help" = "long"; then 1462 # Omit some internal or obsolete options to make the list less imposing. 1463 # This message is too long to be a string in the A/UX 3.1 sh. 1464 cat <<_ACEOF 1465 \`configure' configures util-vserver 0.30.216-pre3131 to adapt to many kinds of systems. 1466 1467 Usage: $0 [OPTION]... [VAR=VALUE]... 1468 1469 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1470 VAR=VALUE. See below for descriptions of some of the useful variables. 1471 1472 Defaults for the options are specified in brackets. 1473 1474 Configuration: 1475 -h, --help display this help and exit 1476 --help=short display options specific to this package 1477 --help=recursive display the short help of all the included packages 1478 -V, --version display version information and exit 1479 -q, --quiet, --silent do not print \`checking ...' messages 1480 --cache-file=FILE cache test results in FILE [disabled] 1481 -C, --config-cache alias for \`--cache-file=config.cache' 1482 -n, --no-create do not create output files 1483 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1484 1485 Installation directories: 1486 --prefix=PREFIX install architecture-independent files in PREFIX 1487 [$ac_default_prefix] 1488 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1489 [PREFIX] 1490 1491 By default, \`make install' will install all the files in 1492 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1493 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1494 for instance \`--prefix=\$HOME'. 1495 1496 For better control, use the options below. 1497 1498 Fine tuning of the installation directories: 1499 --bindir=DIR user executables [EPREFIX/bin] 1500 --sbindir=DIR system admin executables [EPREFIX/sbin] 1501 --libexecdir=DIR program executables [EPREFIX/libexec] 1502 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1503 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1504 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1505 --libdir=DIR object code libraries [EPREFIX/lib] 1506 --includedir=DIR C header files [PREFIX/include] 1507 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1508 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1509 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1510 --infodir=DIR info documentation [DATAROOTDIR/info] 1511 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1512 --mandir=DIR man documentation [DATAROOTDIR/man] 1513 --docdir=DIR documentation root [DATAROOTDIR/doc/util-vserver] 1514 --htmldir=DIR html documentation [DOCDIR] 1515 --dvidir=DIR dvi documentation [DOCDIR] 1516 --pdfdir=DIR pdf documentation [DOCDIR] 1517 --psdir=DIR ps documentation [DOCDIR] 1518 _ACEOF 1519 1520 cat <<\_ACEOF 1521 1522 Program names: 1523 --program-prefix=PREFIX prepend PREFIX to installed program names 1524 --program-suffix=SUFFIX append SUFFIX to installed program names 1525 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1526 1527 System types: 1528 --build=BUILD configure for building on BUILD [guessed] 1529 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1530 _ACEOF 1531 fi 1532 1533 if test -n "$ac_init_help"; then 1534 case $ac_init_help in 1535 short | recursive ) echo "Configuration of util-vserver 0.30.216-pre3131:";; 1536 esac 1537 cat <<\_ACEOF 1538 1539 Optional Features: 1540 --disable-option-checking ignore unrecognized --enable/--with options 1541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1543 --enable-silent-rules less verbose build output (undo: "make V=1") 1544 --disable-silent-rules verbose build output (undo: "make V=0") 1545 --enable-maintainer-mode 1546 enable make rules and dependencies not useful (and 1547 sometimes confusing) to the casual installer 1548 --enable-dependency-tracking 1549 do not reject slow dependency extractors 1550 --disable-dependency-tracking 1551 speeds up one-time build 1552 --disable-ip-vlan disable VLAN setup with 'ip' (default: auto) 1553 --disable-extra-optimizations 1554 disable certain extra optimizations (default: no) 1555 --enable-lib-debug enable additional debug code in library (default: 1556 no) 1557 --enable-expensive-tests 1558 disable tests which might be expensive on some 1559 systems (default: no) 1560 --enable-release enable release mode (default: no) 1561 --disable-alternative-syscalls 1562 do not use the alternative _syscallX macros provided 1563 by Herbert Poetzl (default: use them) 1564 --disable-dietlibc do not use dietlibc resp. enforce its usage (with 1565 --enable-dietlibc) (default: autodetect dietlibc) 1566 --enable-shared[=PKGS] build shared libraries [default=yes] 1567 --enable-static[=PKGS] build static libraries [default=yes] 1568 --enable-fast-install[=PKGS] 1569 optimize for fast installation [default=yes] 1570 --disable-libtool-lock avoid locking (might break parallel builds) 1571 --disable-internal-headers 1572 use vserver specific headers from the kernel instead 1573 of the shipped versions (default: no) 1574 --enable-apis=APIS enable support for the given apis; possible values 1575 are: 1576 legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2 1577 ALL,NOLEGACY (default: v13,net,v21,v22,v23,netv2) 1578 --disable-systemd disable systemd support 1579 --disable-versioning Disable library versioning 1580 1581 Optional Packages: 1582 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1583 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1584 --with-initrddir <DIR> use <DIR> as directory for SysV init-files (default: 1585 $sysconfdir/init.d) 1586 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid 1587 values are 'fast', 'traditional' and 'auto' 1588 (default: auto) 1589 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1590 both] 1591 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1592 --with-sysroot=DIR Search for dependent libraries within DIR 1593 (or the compiler's sysroot if not specified). 1594 --with-vrootdir=DIR place vservers under DIR (default: /vservers) 1595 --with-crypto-api=API select crypto api to be used; possible values are 1596 `none', `nss', `beecrypt', `auto' (default:auto) 1597 --with-initscripts=TYPE force host initscripts; valid values are 'gentoo' 1598 and 'sysv' (default: guess) 1599 1600 Some influential environment variables: 1601 CC C compiler command 1602 CFLAGS C compiler flags 1603 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1604 nonstandard directory <lib dir> 1605 LIBS libraries to pass to the linker, e.g. -l<library> 1606 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1607 you have headers in a nonstandard directory <include dir> 1608 PKG_CONFIG path to pkg-config utility 1609 PKG_CONFIG_PATH 1610 directories to add to pkg-config's search path 1611 PKG_CONFIG_LIBDIR 1612 path overriding pkg-config's built-in search path 1613 CPP C preprocessor 1614 DIET The 'diet' wrapper (default: diet) 1615 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O) 1616 NSS_CFLAGS C compiler flags for NSS, overriding pkg-config 1617 NSS_LIBS linker flags for NSS, overriding pkg-config 1618 SYSTEMD_CFLAGS 1619 C compiler flags for SYSTEMD, overriding pkg-config 1620 SYSTEMD_LIBS 1621 linker flags for SYSTEMD, overriding pkg-config 1622 SYSTEMD_TMPFILESDIR 1623 value of tmpfilesdir for systemd, overriding pkg-config 1624 SYSTEMD_SYSCTLDIR 1625 value of sysctldir for systemd, overriding pkg-config 1626 SYSTEMD_UNITDIR 1627 value of systemdsystemunitdir for systemd, overriding pkg-config 1628 SYSTEMD_GENERATORDIR 1629 value of systemdsystemgeneratordir for systemd, overriding 1630 pkg-config 1631 PYTHON the Python interpreter 1632 1633 Use these variables to override the choices made by `configure' or to help 1634 it to find libraries and programs with nonstandard names/locations. 1635 1636 Report bugs to <vserver@list.linux-vserver.org>. 1637 _ACEOF 1638 ac_status=$? 1639 fi 1640 1641 if test "$ac_init_help" = "recursive"; then 1642 # If there are subdirs, report their specific --help. 1643 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1644 test -d "$ac_dir" || 1645 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1646 continue 1647 ac_builddir=. 1648 1649 case "$ac_dir" in 1650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1651 *) 1652 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1653 # A ".." for each directory in $ac_dir_suffix. 1654 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1655 case $ac_top_builddir_sub in 1656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1658 esac ;; 1659 esac 1660 ac_abs_top_builddir=$ac_pwd 1661 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1662 # for backward compatibility: 1663 ac_top_builddir=$ac_top_build_prefix 1664 1665 case $srcdir in 1666 .) # We are building in place. 1667 ac_srcdir=. 1668 ac_top_srcdir=$ac_top_builddir_sub 1669 ac_abs_top_srcdir=$ac_pwd ;; 1670 [\\/]* | ?:[\\/]* ) # Absolute name. 1671 ac_srcdir=$srcdir$ac_dir_suffix; 1672 ac_top_srcdir=$srcdir 1673 ac_abs_top_srcdir=$srcdir ;; 1674 *) # Relative name. 1675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1676 ac_top_srcdir=$ac_top_build_prefix$srcdir 1677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1678 esac 1679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1680 1681 cd "$ac_dir" || { ac_status=$?; continue; } 1682 # Check for guested configure. 1683 if test -f "$ac_srcdir/configure.gnu"; then 1684 echo && 1685 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1686 elif test -f "$ac_srcdir/configure"; then 1687 echo && 1688 $SHELL "$ac_srcdir/configure" --help=recursive 1689 else 1690 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1691 fi || ac_status=$? 1692 cd "$ac_pwd" || { ac_status=$?; break; } 1693 done 1694 fi 1695 1696 test -n "$ac_init_help" && exit $ac_status 1697 if $ac_init_version; then 1698 cat <<\_ACEOF 1699 util-vserver configure 0.30.216-pre3131 1700 generated by GNU Autoconf 2.69 1701 1702 Copyright (C) 2012 Free Software Foundation, Inc. 1703 This configure script is free software; the Free Software Foundation 1704 gives unlimited permission to copy, distribute and modify it. 1705 _ACEOF 1706 exit 1707 fi 1708 1709 ## ------------------------ ## 1710 ## Autoconf initialization. ## 1711 ## ------------------------ ## 1712 1713 # ac_fn_c_try_compile LINENO 1714 # -------------------------- 1715 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1716 ac_fn_c_try_compile () 1717 { 1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1719 rm -f conftest.$ac_objext 1720 if { { ac_try="$ac_compile" 1721 case "(($ac_try" in 1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1723 *) ac_try_echo=$ac_try;; 1724 esac 1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1726 $as_echo "$ac_try_echo"; } >&5 1727 (eval "$ac_compile") 2>conftest.err 1728 ac_status=$? 1729 if test -s conftest.err; then 1730 grep -v '^ *+' conftest.err >conftest.er1 1731 cat conftest.er1 >&5 1732 mv -f conftest.er1 conftest.err 1733 fi 1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1735 test $ac_status = 0; } && { 1736 test -z "$ac_c_werror_flag" || 1737 test ! -s conftest.err 1738 } && test -s conftest.$ac_objext; then : 1739 ac_retval=0 1740 else 1741 $as_echo "$as_me: failed program was:" >&5 1742 sed 's/^/| /' conftest.$ac_ext >&5 1743 1744 ac_retval=1 1745 fi 1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1747 as_fn_set_status $ac_retval 1748 1749 } # ac_fn_c_try_compile 1750 1751 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1752 # --------------------------------------------- 1753 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1754 # accordingly. 1755 ac_fn_c_check_decl () 1756 { 1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1758 as_decl_name=`echo $2|sed 's/ *(.*//'` 1759 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1761 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1762 if eval \${$3+:} false; then : 1763 $as_echo_n "(cached) " >&6 1764 else 1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1766 /* end confdefs.h. */ 1767 $4 1768 int 1769 main () 1770 { 1771 #ifndef $as_decl_name 1772 #ifdef __cplusplus 1773 (void) $as_decl_use; 1774 #else 1775 (void) $as_decl_name; 1776 #endif 1777 #endif 1778 1779 ; 1780 return 0; 1781 } 1782 _ACEOF 1783 if ac_fn_c_try_compile "$LINENO"; then : 1784 eval "$3=yes" 1785 else 1786 eval "$3=no" 1787 fi 1788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1789 fi 1790 eval ac_res=\$$3 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1792 $as_echo "$ac_res" >&6; } 1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1794 1795 } # ac_fn_c_check_decl 1796 1797 # ac_fn_c_try_cpp LINENO 1798 # ---------------------- 1799 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1800 ac_fn_c_try_cpp () 1801 { 1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1803 if { { ac_try="$ac_cpp conftest.$ac_ext" 1804 case "(($ac_try" in 1805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1806 *) ac_try_echo=$ac_try;; 1807 esac 1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1809 $as_echo "$ac_try_echo"; } >&5 1810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1811 ac_status=$? 1812 if test -s conftest.err; then 1813 grep -v '^ *+' conftest.err >conftest.er1 1814 cat conftest.er1 >&5 1815 mv -f conftest.er1 conftest.err 1816 fi 1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1818 test $ac_status = 0; } > conftest.i && { 1819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1820 test ! -s conftest.err 1821 }; then : 1822 ac_retval=0 1823 else 1824 $as_echo "$as_me: failed program was:" >&5 1825 sed 's/^/| /' conftest.$ac_ext >&5 1826 1827 ac_retval=1 1828 fi 1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1830 as_fn_set_status $ac_retval 1831 1832 } # ac_fn_c_try_cpp 1833 1834 # ac_fn_c_try_link LINENO 1835 # ----------------------- 1836 # Try to link conftest.$ac_ext, and return whether this succeeded. 1837 ac_fn_c_try_link () 1838 { 1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1840 rm -f conftest.$ac_objext conftest$ac_exeext 1841 if { { ac_try="$ac_link" 1842 case "(($ac_try" in 1843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1844 *) ac_try_echo=$ac_try;; 1845 esac 1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1847 $as_echo "$ac_try_echo"; } >&5 1848 (eval "$ac_link") 2>conftest.err 1849 ac_status=$? 1850 if test -s conftest.err; then 1851 grep -v '^ *+' conftest.err >conftest.er1 1852 cat conftest.er1 >&5 1853 mv -f conftest.er1 conftest.err 1854 fi 1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1856 test $ac_status = 0; } && { 1857 test -z "$ac_c_werror_flag" || 1858 test ! -s conftest.err 1859 } && test -s conftest$ac_exeext && { 1860 test "$cross_compiling" = yes || 1861 test -x conftest$ac_exeext 1862 }; then : 1863 ac_retval=0 1864 else 1865 $as_echo "$as_me: failed program was:" >&5 1866 sed 's/^/| /' conftest.$ac_ext >&5 1867 1868 ac_retval=1 1869 fi 1870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1872 # interfere with the next link command; also delete a directory that is 1873 # left behind by Apple's compiler. We do this before executing the actions. 1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1876 as_fn_set_status $ac_retval 1877 1878 } # ac_fn_c_try_link 1879 1880 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1881 # ------------------------------------------------------- 1882 # Tests whether HEADER exists and can be compiled using the include files in 1883 # INCLUDES, setting the cache variable VAR accordingly. 1884 ac_fn_c_check_header_compile () 1885 { 1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1888 $as_echo_n "checking for $2... " >&6; } 1889 if eval \${$3+:} false; then : 1890 $as_echo_n "(cached) " >&6 1891 else 1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1893 /* end confdefs.h. */ 1894 $4 1895 #include <$2> 1896 _ACEOF 1897 if ac_fn_c_try_compile "$LINENO"; then : 1898 eval "$3=yes" 1899 else 1900 eval "$3=no" 1901 fi 1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1903 fi 1904 eval ac_res=\$$3 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1906 $as_echo "$ac_res" >&6; } 1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1908 1909 } # ac_fn_c_check_header_compile 1910 1911 # ac_fn_c_try_run LINENO 1912 # ---------------------- 1913 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1914 # that executables *can* be run. 1915 ac_fn_c_try_run () 1916 { 1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1918 if { { ac_try="$ac_link" 1919 case "(($ac_try" in 1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1921 *) ac_try_echo=$ac_try;; 1922 esac 1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1924 $as_echo "$ac_try_echo"; } >&5 1925 (eval "$ac_link") 2>&5 1926 ac_status=$? 1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1928 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1929 { { case "(($ac_try" in 1930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1931 *) ac_try_echo=$ac_try;; 1932 esac 1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1934 $as_echo "$ac_try_echo"; } >&5 1935 (eval "$ac_try") 2>&5 1936 ac_status=$? 1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1938 test $ac_status = 0; }; }; then : 1939 ac_retval=0 1940 else 1941 $as_echo "$as_me: program exited with status $ac_status" >&5 1942 $as_echo "$as_me: failed program was:" >&5 1943 sed 's/^/| /' conftest.$ac_ext >&5 1944 1945 ac_retval=$ac_status 1946 fi 1947 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1949 as_fn_set_status $ac_retval 1950 1951 } # ac_fn_c_try_run 1952 1953 # ac_fn_c_check_func LINENO FUNC VAR 1954 # ---------------------------------- 1955 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1956 ac_fn_c_check_func () 1957 { 1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1960 $as_echo_n "checking for $2... " >&6; } 1961 if eval \${$3+:} false; then : 1962 $as_echo_n "(cached) " >&6 1963 else 1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1965 /* end confdefs.h. */ 1966 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1967 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1968 #define $2 innocuous_$2 1969 1970 /* System header to define __stub macros and hopefully few prototypes, 1971 which can conflict with char $2 (); below. 1972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1973 <limits.h> exists even on freestanding compilers. */ 1974 1975 #ifdef __STDC__ 1976 # include <limits.h> 1977 #else 1978 # include <assert.h> 1979 #endif 1980 1981 #undef $2 1982 1983 /* Override any GCC internal prototype to avoid an error. 1984 Use char because int might match the return type of a GCC 1985 builtin and then its argument prototype would still apply. */ 1986 #ifdef __cplusplus 1987 extern "C" 1988 #endif 1989 char $2 (); 1990 /* The GNU C library defines this for functions which it implements 1991 to always fail with ENOSYS. Some functions are actually named 1992 something starting with __ and the normal name is an alias. */ 1993 #if defined __stub_$2 || defined __stub___$2 1994 choke me 1995 #endif 1996 1997 int 1998 main () 1999 { 2000 return $2 (); 2001 ; 2002 return 0; 2003 } 2004 _ACEOF 2005 if ac_fn_c_try_link "$LINENO"; then : 2006 eval "$3=yes" 2007 else 2008 eval "$3=no" 2009 fi 2010 rm -f core conftest.err conftest.$ac_objext \ 2011 conftest$ac_exeext conftest.$ac_ext 2012 fi 2013 eval ac_res=\$$3 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2015 $as_echo "$ac_res" >&6; } 2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2017 2018 } # ac_fn_c_check_func 2019 2020 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2021 # ------------------------------------------------------- 2022 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2023 # the include files in INCLUDES and setting the cache variable VAR 2024 # accordingly. 2025 ac_fn_c_check_header_mongrel () 2026 { 2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2028 if eval \${$3+:} false; then : 2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2030 $as_echo_n "checking for $2... " >&6; } 2031 if eval \${$3+:} false; then : 2032 $as_echo_n "(cached) " >&6 2033 fi 2034 eval ac_res=\$$3 2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2036 $as_echo "$ac_res" >&6; } 2037 else 2038 # Is the header compilable? 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2040 $as_echo_n "checking $2 usability... " >&6; } 2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2042 /* end confdefs.h. */ 2043 $4 2044 #include <$2> 2045 _ACEOF 2046 if ac_fn_c_try_compile "$LINENO"; then : 2047 ac_header_compiler=yes 2048 else 2049 ac_header_compiler=no 2050 fi 2051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2053 $as_echo "$ac_header_compiler" >&6; } 2054 2055 # Is the header present? 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2057 $as_echo_n "checking $2 presence... " >&6; } 2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2059 /* end confdefs.h. */ 2060 #include <$2> 2061 _ACEOF 2062 if ac_fn_c_try_cpp "$LINENO"; then : 2063 ac_header_preproc=yes 2064 else 2065 ac_header_preproc=no 2066 fi 2067 rm -f conftest.err conftest.i conftest.$ac_ext 2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2069 $as_echo "$ac_header_preproc" >&6; } 2070 2071 # So? What about this header? 2072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2073 yes:no: ) 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2075 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2077 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2078 ;; 2079 no:yes:* ) 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2081 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2083 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2085 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2087 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2089 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2090 ( $as_echo "## --------------------------------------------- ## 2091 ## Report this to vserver@list.linux-vserver.org ## 2092 ## --------------------------------------------- ##" 2093 ) | sed "s/^/$as_me: WARNING: /" >&2 2094 ;; 2095 esac 2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2097 $as_echo_n "checking for $2... " >&6; } 2098 if eval \${$3+:} false; then : 2099 $as_echo_n "(cached) " >&6 2100 else 2101 eval "$3=\$ac_header_compiler" 2102 fi 2103 eval ac_res=\$$3 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2105 $as_echo "$ac_res" >&6; } 2106 fi 2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2108 2109 } # ac_fn_c_check_header_mongrel 2110 2111 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2112 # ------------------------------------------- 2113 # Tests whether TYPE exists after having included INCLUDES, setting cache 2114 # variable VAR accordingly. 2115 ac_fn_c_check_type () 2116 { 2117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2119 $as_echo_n "checking for $2... " >&6; } 2120 if eval \${$3+:} false; then : 2121 $as_echo_n "(cached) " >&6 2122 else 2123 eval "$3=no" 2124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2125 /* end confdefs.h. */ 2126 $4 2127 int 2128 main () 2129 { 2130 if (sizeof ($2)) 2131 return 0; 2132 ; 2133 return 0; 2134 } 2135 _ACEOF 2136 if ac_fn_c_try_compile "$LINENO"; then : 2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2138 /* end confdefs.h. */ 2139 $4 2140 int 2141 main () 2142 { 2143 if (sizeof (($2))) 2144 return 0; 2145 ; 2146 return 0; 2147 } 2148 _ACEOF 2149 if ac_fn_c_try_compile "$LINENO"; then : 2150 2151 else 2152 eval "$3=yes" 2153 fi 2154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2155 fi 2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2157 fi 2158 eval ac_res=\$$3 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2160 $as_echo "$ac_res" >&6; } 2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2162 2163 } # ac_fn_c_check_type 2164 cat >config.log <<_ACEOF 2165 This file contains any messages produced by compilers while 2166 running configure, to aid debugging if configure makes a mistake. 2167 2168 It was created by util-vserver $as_me 0.30.216-pre3131, which was 2169 generated by GNU Autoconf 2.69. Invocation command line was 2170 2171 $ $0 $@ 2172 2173 _ACEOF 2174 exec 5>>config.log 2175 { 2176 cat <<_ASUNAME 2177 ## --------- ## 2178 ## Platform. ## 2179 ## --------- ## 2180 2181 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2182 uname -m = `(uname -m) 2>/dev/null || echo unknown` 2183 uname -r = `(uname -r) 2>/dev/null || echo unknown` 2184 uname -s = `(uname -s) 2>/dev/null || echo unknown` 2185 uname -v = `(uname -v) 2>/dev/null || echo unknown` 2186 2187 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2188 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2189 2190 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2191 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2192 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2193 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2194 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2195 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2196 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2197 2198 _ASUNAME 2199 2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2201 for as_dir in $PATH 2202 do 2203 IFS=$as_save_IFS 2204 test -z "$as_dir" && as_dir=. 2205 $as_echo "PATH: $as_dir" 2206 done 2207 IFS=$as_save_IFS 2208 2209 } >&5 2210 2211 cat >&5 <<_ACEOF 2212 2213 2214 ## ----------- ## 2215 ## Core tests. ## 2216 ## ----------- ## 2217 2218 _ACEOF 2219 2220 2221 # Keep a trace of the command line. 2222 # Strip out --no-create and --no-recursion so they do not pile up. 2223 # Strip out --silent because we don't want to record it for future runs. 2224 # Also quote any args containing shell meta-characters. 2225 # Make two passes to allow for proper duplicate-argument suppression. 2226 ac_configure_args= 2227 ac_configure_args0= 2228 ac_configure_args1= 2229 ac_must_keep_next=false 2230 for ac_pass in 1 2 2231 do 2232 for ac_arg 2233 do 2234 case $ac_arg in 2235 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2237 | -silent | --silent | --silen | --sile | --sil) 2238 continue ;; 2239 *\'*) 2240 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2241 esac 2242 case $ac_pass in 2243 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2244 2) 2245 as_fn_append ac_configure_args1 " '$ac_arg'" 2246 if test $ac_must_keep_next = true; then 2247 ac_must_keep_next=false # Got value, back to normal. 2248 else 2249 case $ac_arg in 2250 *=* | --config-cache | -C | -disable-* | --disable-* \ 2251 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2252 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2253 | -with-* | --with-* | -without-* | --without-* | --x) 2254 case "$ac_configure_args0 " in 2255 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2256 esac 2257 ;; 2258 -* ) ac_must_keep_next=true ;; 2259 esac 2260 fi 2261 as_fn_append ac_configure_args " '$ac_arg'" 2262 ;; 2263 esac 2264 done 2265 done 2266 { ac_configure_args0=; unset ac_configure_args0;} 2267 { ac_configure_args1=; unset ac_configure_args1;} 2268 2269 # When interrupted or exit'd, cleanup temporary files, and complete 2270 # config.log. We remove comments because anyway the quotes in there 2271 # would cause problems or look ugly. 2272 # WARNING: Use '\'' to represent an apostrophe within the trap. 2273 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2274 trap 'exit_status=$? 2275 # Save into config.log some information that might help in debugging. 2276 { 2277 echo 2278 2279 $as_echo "## ---------------- ## 2280 ## Cache variables. ## 2281 ## ---------------- ##" 2282 echo 2283 # The following way of writing the cache mishandles newlines in values, 2284 ( 2285 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2286 eval ac_val=\$$ac_var 2287 case $ac_val in #( 2288 *${as_nl}*) 2289 case $ac_var in #( 2290 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2291 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2292 esac 2293 case $ac_var in #( 2294 _ | IFS | as_nl) ;; #( 2295 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2296 *) { eval $ac_var=; unset $ac_var;} ;; 2297 esac ;; 2298 esac 2299 done 2300 (set) 2>&1 | 2301 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2302 *${as_nl}ac_space=\ *) 2303 sed -n \ 2304 "s/'\''/'\''\\\\'\'''\''/g; 2305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2306 ;; #( 2307 *) 2308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2309 ;; 2310 esac | 2311 sort 2312 ) 2313 echo 2314 2315 $as_echo "## ----------------- ## 2316 ## Output variables. ## 2317 ## ----------------- ##" 2318 echo 2319 for ac_var in $ac_subst_vars 2320 do 2321 eval ac_val=\$$ac_var 2322 case $ac_val in 2323 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2324 esac 2325 $as_echo "$ac_var='\''$ac_val'\''" 2326 done | sort 2327 echo 2328 2329 if test -n "$ac_subst_files"; then 2330 $as_echo "## ------------------- ## 2331 ## File substitutions. ## 2332 ## ------------------- ##" 2333 echo 2334 for ac_var in $ac_subst_files 2335 do 2336 eval ac_val=\$$ac_var 2337 case $ac_val in 2338 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2339 esac 2340 $as_echo "$ac_var='\''$ac_val'\''" 2341 done | sort 2342 echo 2343 fi 2344 2345 if test -s confdefs.h; then 2346 $as_echo "## ----------- ## 2347 ## confdefs.h. ## 2348 ## ----------- ##" 2349 echo 2350 cat confdefs.h 2351 echo 2352 fi 2353 test "$ac_signal" != 0 && 2354 $as_echo "$as_me: caught signal $ac_signal" 2355 $as_echo "$as_me: exit $exit_status" 2356 } >&5 2357 rm -f core *.core core.conftest.* && 2358 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2359 exit $exit_status 2360 ' 0 2361 for ac_signal in 1 2 13 15; do 2362 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2363 done 2364 ac_signal=0 2365 2366 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2367 rm -f -r conftest* confdefs.h 2368 2369 $as_echo "/* confdefs.h */" > confdefs.h 2370 2371 # Predefined preprocessor variables. 2372 2373 cat >>confdefs.h <<_ACEOF 2374 #define PACKAGE_NAME "$PACKAGE_NAME" 2375 _ACEOF 2376 2377 cat >>confdefs.h <<_ACEOF 2378 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2379 _ACEOF 2380 2381 cat >>confdefs.h <<_ACEOF 2382 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2383 _ACEOF 2384 2385 cat >>confdefs.h <<_ACEOF 2386 #define PACKAGE_STRING "$PACKAGE_STRING" 2387 _ACEOF 2388 2389 cat >>confdefs.h <<_ACEOF 2390 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2391 _ACEOF 2392 2393 cat >>confdefs.h <<_ACEOF 2394 #define PACKAGE_URL "$PACKAGE_URL" 2395 _ACEOF 2396 2397 2398 # Let the site file select an alternate cache file if it wants to. 2399 # Prefer an explicitly selected file to automatically selected ones. 2400 ac_site_file1=NONE 2401 ac_site_file2=NONE 2402 if test -n "$CONFIG_SITE"; then 2403 # We do not want a PATH search for config.site. 2404 case $CONFIG_SITE in #(( 2405 -*) ac_site_file1=./$CONFIG_SITE;; 2406 */*) ac_site_file1=$CONFIG_SITE;; 2407 *) ac_site_file1=./$CONFIG_SITE;; 2408 esac 2409 elif test "x$prefix" != xNONE; then 2410 ac_site_file1=$prefix/share/config.site 2411 ac_site_file2=$prefix/etc/config.site 2412 else 2413 ac_site_file1=$ac_default_prefix/share/config.site 2414 ac_site_file2=$ac_default_prefix/etc/config.site 2415 fi 2416 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2417 do 2418 test "x$ac_site_file" = xNONE && continue 2419 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2420 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2421 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2422 sed 's/^/| /' "$ac_site_file" >&5 2423 . "$ac_site_file" \ 2424 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2426 as_fn_error $? "failed to load site script $ac_site_file 2427 See \`config.log' for more details" "$LINENO" 5; } 2428 fi 2429 done 2430 2431 if test -r "$cache_file"; then 2432 # Some versions of bash will fail to source /dev/null (special files 2433 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2434 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2436 $as_echo "$as_me: loading cache $cache_file" >&6;} 2437 case $cache_file in 2438 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2439 *) . "./$cache_file";; 2440 esac 2441 fi 2442 else 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2444 $as_echo "$as_me: creating cache $cache_file" >&6;} 2445 >$cache_file 2446 fi 2447 2448 # Check that the precious variables saved in the cache have kept the same 2449 # value. 2450 ac_cache_corrupted=false 2451 for ac_var in $ac_precious_vars; do 2452 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2453 eval ac_new_set=\$ac_env_${ac_var}_set 2454 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2455 eval ac_new_val=\$ac_env_${ac_var}_value 2456 case $ac_old_set,$ac_new_set in 2457 set,) 2458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2459 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2460 ac_cache_corrupted=: ;; 2461 ,set) 2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2463 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2464 ac_cache_corrupted=: ;; 2465 ,);; 2466 *) 2467 if test "x$ac_old_val" != "x$ac_new_val"; then 2468 # differences in whitespace do not lead to failure. 2469 ac_old_val_w=`echo x $ac_old_val` 2470 ac_new_val_w=`echo x $ac_new_val` 2471 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2473 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2474 ac_cache_corrupted=: 2475 else 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2477 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2478 eval $ac_var=\$ac_old_val 2479 fi 2480 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2481 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2482 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2483 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2484 fi;; 2485 esac 2486 # Pass precious variables to config.status. 2487 if test "$ac_new_set" = set; then 2488 case $ac_new_val in 2489 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2490 *) ac_arg=$ac_var=$ac_new_val ;; 2491 esac 2492 case " $ac_configure_args " in 2493 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2494 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2495 esac 2496 fi 2497 done 2498 if $ac_cache_corrupted; then 2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2501 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2502 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2503 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2504 fi 2505 ## -------------------- ## 2506 ## Main body of script. ## 2507 ## -------------------- ## 2508 2509 ac_ext=c 2510 ac_cpp='$CPP $CPPFLAGS' 2511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2513 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2514 2515 2516 2517 ac_config_headers="$ac_config_headers config.h" 2518 2519 2520 2521 am__api_version='1.14' 2522 2523 ac_aux_dir= 2524 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2525 if test -f "$ac_dir/install-sh"; then 2526 ac_aux_dir=$ac_dir 2527 ac_install_sh="$ac_aux_dir/install-sh -c" 2528 break 2529 elif test -f "$ac_dir/install.sh"; then 2530 ac_aux_dir=$ac_dir 2531 ac_install_sh="$ac_aux_dir/install.sh -c" 2532 break 2533 elif test -f "$ac_dir/shtool"; then 2534 ac_aux_dir=$ac_dir 2535 ac_install_sh="$ac_aux_dir/shtool install -c" 2536 break 2537 fi 2538 done 2539 if test -z "$ac_aux_dir"; then 2540 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2541 fi 2542 2543 # These three variables are undocumented and unsupported, 2544 # and are intended to be withdrawn in a future Autoconf release. 2545 # They can cause serious problems if a builder's source tree is in a directory 2546 # whose full name contains unusual characters. 2547 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2548 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2549 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2550 2551 2552 # Find a good install program. We prefer a C program (faster), 2553 # so one script is as good as another. But avoid the broken or 2554 # incompatible versions: 2555 # SysV /etc/install, /usr/sbin/install 2556 # SunOS /usr/etc/install 2557 # IRIX /sbin/install 2558 # AIX /bin/install 2559 # AmigaOS /C/install, which installs bootblocks on floppy discs 2560 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2561 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2562 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2563 # OS/2's system install, which has a completely different semantic 2564 # ./install, which can be erroneously created by make from ./install.sh. 2565 # Reject install programs that cannot install multiple files. 2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2567 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2568 if test -z "$INSTALL"; then 2569 if ${ac_cv_path_install+:} false; then : 2570 $as_echo_n "(cached) " >&6 2571 else 2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2573 for as_dir in $PATH 2574 do 2575 IFS=$as_save_IFS 2576 test -z "$as_dir" && as_dir=. 2577 # Account for people who put trailing slashes in PATH elements. 2578 case $as_dir/ in #(( 2579 ./ | .// | /[cC]/* | \ 2580 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2581 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2582 /usr/ucb/* ) ;; 2583 *) 2584 # OSF1 and SCO ODT 3.0 have their own names for install. 2585 # Don't use installbsd from OSF since it installs stuff as root 2586 # by default. 2587 for ac_prog in ginstall scoinst install; do 2588 for ac_exec_ext in '' $ac_executable_extensions; do 2589 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2590 if test $ac_prog = install && 2591 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2592 # AIX install. It has an incompatible calling convention. 2593 : 2594 elif test $ac_prog = install && 2595 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2596 # program-specific install script used by HP pwplus--don't use. 2597 : 2598 else 2599 rm -rf conftest.one conftest.two conftest.dir 2600 echo one > conftest.one 2601 echo two > conftest.two 2602 mkdir conftest.dir 2603 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2604 test -s conftest.one && test -s conftest.two && 2605 test -s conftest.dir/conftest.one && 2606 test -s conftest.dir/conftest.two 2607 then 2608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2609 break 3 2610 fi 2611 fi 2612 fi 2613 done 2614 done 2615 ;; 2616 esac 2617 2618 done 2619 IFS=$as_save_IFS 2620 2621 rm -rf conftest.one conftest.two conftest.dir 2622 2623 fi 2624 if test "${ac_cv_path_install+set}" = set; then 2625 INSTALL=$ac_cv_path_install 2626 else 2627 # As a last resort, use the slow shell script. Don't cache a 2628 # value for INSTALL within a source directory, because that will 2629 # break other packages using the cache if that directory is 2630 # removed, or if the value is a relative name. 2631 INSTALL=$ac_install_sh 2632 fi 2633 fi 2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2635 $as_echo "$INSTALL" >&6; } 2636 2637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2638 # It thinks the first close brace ends the variable substitution. 2639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2640 2641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2642 2643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2644 2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2646 $as_echo_n "checking whether build environment is sane... " >&6; } 2647 # Reject unsafe characters in $srcdir or the absolute working directory 2648 # name. Accept space and tab only in the latter. 2649 am_lf=' 2650 ' 2651 case `pwd` in 2652 *[\\\"\#\$\&\'\`$am_lf]*) 2653 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2654 esac 2655 case $srcdir in 2656 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2657 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2658 esac 2659 2660 # Do 'set' in a subshell so we don't clobber the current shell's 2661 # arguments. Must try -L first in case configure is actually a 2662 # symlink; some systems play weird games with the mod time of symlinks 2663 # (eg FreeBSD returns the mod time of the symlink's containing 2664 # directory). 2665 if ( 2666 am_has_slept=no 2667 for am_try in 1 2; do 2668 echo "timestamp, slept: $am_has_slept" > conftest.file 2669 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2670 if test "$*" = "X"; then 2671 # -L didn't work. 2672 set X `ls -t "$srcdir/configure" conftest.file` 2673 fi 2674 if test "$*" != "X $srcdir/configure conftest.file" \ 2675 && test "$*" != "X conftest.file $srcdir/configure"; then 2676 2677 # If neither matched, then we have a broken ls. This can happen 2678 # if, for instance, CONFIG_SHELL is bash and it inherits a 2679 # broken ls alias from the environment. This has actually 2680 # happened. Such a system could not be considered "sane". 2681 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2682 alias in your environment" "$LINENO" 5 2683 fi 2684 if test "$2" = conftest.file || test $am_try -eq 2; then 2685 break 2686 fi 2687 # Just in case. 2688 sleep 1 2689 am_has_slept=yes 2690 done 2691 test "$2" = conftest.file 2692 ) 2693 then 2694 # Ok. 2695 : 2696 else 2697 as_fn_error $? "newly created file is older than distributed files! 2698 Check your system clock" "$LINENO" 5 2699 fi 2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2701 $as_echo "yes" >&6; } 2702 # If we didn't sleep, we still need to ensure time stamps of config.status and 2703 # generated files are strictly newer. 2704 am_sleep_pid= 2705 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2706 ( sleep 1 ) & 2707 am_sleep_pid=$! 2708 fi 2709 2710 rm -f conftest.file 2711 2712 test "$program_prefix" != NONE && 2713 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2714 # Use a double $ so make ignores it. 2715 test "$program_suffix" != NONE && 2716 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2717 # Double any \ or $. 2718 # By default was `s,x,x', remove it if useless. 2719 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2720 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2721 2722 # Expand $ac_aux_dir to an absolute path. 2723 am_aux_dir=`cd "$ac_aux_dir" && pwd` 2724 2725 if test x"${MISSING+set}" != xset; then 2726 case $am_aux_dir in 2727 *\ * | *\ *) 2728 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2729 *) 2730 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2731 esac 2732 fi 2733 # Use eval to expand $SHELL 2734 if eval "$MISSING --is-lightweight"; then 2735 am_missing_run="$MISSING " 2736 else 2737 am_missing_run= 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2739 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2740 fi 2741 2742 if test x"${install_sh}" != xset; then 2743 case $am_aux_dir in 2744 *\ * | *\ *) 2745 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2746 *) 2747 install_sh="\${SHELL} $am_aux_dir/install-sh" 2748 esac 2749 fi 2750 2751 # Installed binaries are usually stripped using 'strip' when the user 2752 # run "make install-strip". However 'strip' might not be the right 2753 # tool to use in cross-compilation environments, therefore Automake 2754 # will honor the 'STRIP' environment variable to overrule this program. 2755 if test "$cross_compiling" != no; then 2756 if test -n "$ac_tool_prefix"; then 2757 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2758 set dummy ${ac_tool_prefix}strip; ac_word=$2 2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2760 $as_echo_n "checking for $ac_word... " >&6; } 2761 if ${ac_cv_prog_STRIP+:} false; then : 2762 $as_echo_n "(cached) " >&6 2763 else 2764 if test -n "$STRIP"; then 2765 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2766 else 2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2768 for as_dir in $PATH 2769 do 2770 IFS=$as_save_IFS 2771 test -z "$as_dir" && as_dir=. 2772 for ac_exec_ext in '' $ac_executable_extensions; do 2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2774 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2776 break 2 2777 fi 2778 done 2779 done 2780 IFS=$as_save_IFS 2781 2782 fi 2783 fi 2784 STRIP=$ac_cv_prog_STRIP 2785 if test -n "$STRIP"; then 2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2787 $as_echo "$STRIP" >&6; } 2788 else 2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2790 $as_echo "no" >&6; } 2791 fi 2792 2793 2794 fi 2795 if test -z "$ac_cv_prog_STRIP"; then 2796 ac_ct_STRIP=$STRIP 2797 # Extract the first word of "strip", so it can be a program name with args. 2798 set dummy strip; ac_word=$2 2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2800 $as_echo_n "checking for $ac_word... " >&6; } 2801 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2802 $as_echo_n "(cached) " >&6 2803 else 2804 if test -n "$ac_ct_STRIP"; then 2805 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2806 else 2807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2808 for as_dir in $PATH 2809 do 2810 IFS=$as_save_IFS 2811 test -z "$as_dir" && as_dir=. 2812 for ac_exec_ext in '' $ac_executable_extensions; do 2813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2814 ac_cv_prog_ac_ct_STRIP="strip" 2815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2816 break 2 2817 fi 2818 done 2819 done 2820 IFS=$as_save_IFS 2821 2822 fi 2823 fi 2824 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2825 if test -n "$ac_ct_STRIP"; then 2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2827 $as_echo "$ac_ct_STRIP" >&6; } 2828 else 2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2830 $as_echo "no" >&6; } 2831 fi 2832 2833 if test "x$ac_ct_STRIP" = x; then 2834 STRIP=":" 2835 else 2836 case $cross_compiling:$ac_tool_warned in 2837 yes:) 2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2840 ac_tool_warned=yes ;; 2841 esac 2842 STRIP=$ac_ct_STRIP 2843 fi 2844 else 2845 STRIP="$ac_cv_prog_STRIP" 2846 fi 2847 2848 fi 2849 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2850 2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2852 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2853 if test -z "$MKDIR_P"; then 2854 if ${ac_cv_path_mkdir+:} false; then : 2855 $as_echo_n "(cached) " >&6 2856 else 2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2858 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2859 do 2860 IFS=$as_save_IFS 2861 test -z "$as_dir" && as_dir=. 2862 for ac_prog in mkdir gmkdir; do 2863 for ac_exec_ext in '' $ac_executable_extensions; do 2864 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2865 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2866 'mkdir (GNU coreutils) '* | \ 2867 'mkdir (coreutils) '* | \ 2868 'mkdir (fileutils) '4.1*) 2869 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2870 break 3;; 2871 esac 2872 done 2873 done 2874 done 2875 IFS=$as_save_IFS 2876 2877 fi 2878 2879 test -d ./--version && rmdir ./--version 2880 if test "${ac_cv_path_mkdir+set}" = set; then 2881 MKDIR_P="$ac_cv_path_mkdir -p" 2882 else 2883 # As a last resort, use the slow shell script. Don't cache a 2884 # value for MKDIR_P within a source directory, because that will 2885 # break other packages using the cache if that directory is 2886 # removed, or if the value is a relative name. 2887 MKDIR_P="$ac_install_sh -d" 2888 fi 2889 fi 2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2891 $as_echo "$MKDIR_P" >&6; } 2892 2893 for ac_prog in gawk mawk nawk awk 2894 do 2895 # Extract the first word of "$ac_prog", so it can be a program name with args. 2896 set dummy $ac_prog; ac_word=$2 2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2898 $as_echo_n "checking for $ac_word... " >&6; } 2899 if ${ac_cv_prog_AWK+:} false; then : 2900 $as_echo_n "(cached) " >&6 2901 else 2902 if test -n "$AWK"; then 2903 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2904 else 2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2906 for as_dir in $PATH 2907 do 2908 IFS=$as_save_IFS 2909 test -z "$as_dir" && as_dir=. 2910 for ac_exec_ext in '' $ac_executable_extensions; do 2911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2912 ac_cv_prog_AWK="$ac_prog" 2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2914 break 2 2915 fi 2916 done 2917 done 2918 IFS=$as_save_IFS 2919 2920 fi 2921 fi 2922 AWK=$ac_cv_prog_AWK 2923 if test -n "$AWK"; then 2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2925 $as_echo "$AWK" >&6; } 2926 else 2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2928 $as_echo "no" >&6; } 2929 fi 2930 2931 2932 test -n "$AWK" && break 2933 done 2934 2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2936 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2937 set x ${MAKE-make} 2938 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2939 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2940 $as_echo_n "(cached) " >&6 2941 else 2942 cat >conftest.make <<\_ACEOF 2943 SHELL = /bin/sh 2944 all: 2945 @echo '@@@%%%=$(MAKE)=@@@%%%' 2946 _ACEOF 2947 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2948 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2949 *@@@%%%=?*=@@@%%%*) 2950 eval ac_cv_prog_make_${ac_make}_set=yes;; 2951 *) 2952 eval ac_cv_prog_make_${ac_make}_set=no;; 2953 esac 2954 rm -f conftest.make 2955 fi 2956 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2958 $as_echo "yes" >&6; } 2959 SET_MAKE= 2960 else 2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2962 $as_echo "no" >&6; } 2963 SET_MAKE="MAKE=${MAKE-make}" 2964 fi 2965 2966 rm -rf .tst 2>/dev/null 2967 mkdir .tst 2>/dev/null 2968 if test -d .tst; then 2969 am__leading_dot=. 2970 else 2971 am__leading_dot=_ 2972 fi 2973 rmdir .tst 2>/dev/null 2974 2975 # Check whether --enable-silent-rules was given. 2976 if test "${enable_silent_rules+set}" = set; then : 2977 enableval=$enable_silent_rules; 2978 fi 2979 2980 case $enable_silent_rules in # ((( 2981 yes) AM_DEFAULT_VERBOSITY=0;; 2982 no) AM_DEFAULT_VERBOSITY=1;; 2983 *) AM_DEFAULT_VERBOSITY=1;; 2984 esac 2985 am_make=${MAKE-make} 2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2987 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2988 if ${am_cv_make_support_nested_variables+:} false; then : 2989 $as_echo_n "(cached) " >&6 2990 else 2991 if $as_echo 'TRUE=$(BAR$(V)) 2992 BAR0=false 2993 BAR1=true 2994 V=1 2995 am__doit: 2996 @$(TRUE) 2997 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2998 am_cv_make_support_nested_variables=yes 2999 else 3000 am_cv_make_support_nested_variables=no 3001 fi 3002 fi 3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3004 $as_echo "$am_cv_make_support_nested_variables" >&6; } 3005 if test $am_cv_make_support_nested_variables = yes; then 3006 AM_V='$(V)' 3007 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3008 else 3009 AM_V=$AM_DEFAULT_VERBOSITY 3010 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3011 fi 3012 AM_BACKSLASH='\' 3013 3014 if test "`cd $srcdir && pwd`" != "`pwd`"; then 3015 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3016 # is not polluted with repeated "-I." 3017 am__isrc=' -I$(srcdir)' 3018 # test to see if srcdir already configured 3019 if test -f $srcdir/config.status; then 3020 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3021 fi 3022 fi 3023 3024 # test whether we have cygpath 3025 if test -z "$CYGPATH_W"; then 3026 if (cygpath --version) >/dev/null 2>/dev/null; then 3027 CYGPATH_W='cygpath -w' 3028 else 3029 CYGPATH_W=echo 3030 fi 3031 fi 3032 3033 3034 # Define the identity of the package. 3035 PACKAGE='util-vserver' 3036 VERSION='0.30.216-pre3131' 3037 3038 3039 cat >>confdefs.h <<_ACEOF 3040 #define PACKAGE "$PACKAGE" 3041 _ACEOF 3042 3043 3044 cat >>confdefs.h <<_ACEOF 3045 #define VERSION "$VERSION" 3046 _ACEOF 3047 3048 # Some tools Automake needs. 3049 3050 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3051 3052 3053 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3054 3055 3056 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3057 3058 3059 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3060 3061 3062 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3063 3064 # For better backward compatibility. To be removed once Automake 1.9.x 3065 # dies out for good. For more background, see: 3066 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3067 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3068 mkdir_p='$(MKDIR_P)' 3069 3070 # We need awk for the "check" target. The system "awk" is bad on 3071 # some platforms. 3072 # Always define AMTAR for backward compatibility. Yes, it's still used 3073 # in the wild :-( We should find a proper way to deprecate it ... 3074 AMTAR='$${TAR-tar}' 3075 3076 3077 # We'll loop over all known methods to create a tar archive until one works. 3078 _am_tools='gnutar pax cpio none' 3079 3080 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3081 3082 3083 3084 3085 3086 3087 # POSIX will say in a future version that running "rm -f" with no argument 3088 # is OK; and we want to be able to make that assumption in our Makefile 3089 # recipes. So use an aggressive probe to check that the usage we want is 3090 # actually supported "in the wild" to an acceptable degree. 3091 # See automake bug#10828. 3092 # To make any issue more visible, cause the running configure to be aborted 3093 # by default if the 'rm' program in use doesn't match our expectations; the 3094 # user can still override this though. 3095 if rm -f && rm -fr && rm -rf; then : OK; else 3096 cat >&2 <<'END' 3097 Oops! 3098 3099 Your 'rm' program seems unable to run without file operands specified 3100 on the command line, even when the '-f' option is present. This is contrary 3101 to the behaviour of most rm programs out there, and not conforming with 3102 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3103 3104 Please tell bug-automake@gnu.org about your system, including the value 3105 of your $PATH and any error possibly output before this message. This 3106 can help us improve future automake versions. 3107 3108 END 3109 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3110 echo 'Configuration will proceed anyway, since you have set the' >&2 3111 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3112 echo >&2 3113 else 3114 cat >&2 <<'END' 3115 Aborting the configuration process, to ensure you take notice of the issue. 3116 3117 You can download and install GNU coreutils to get an 'rm' implementation 3118 that behaves properly: <http://www.gnu.org/software/coreutils/>. 3119 3120 If you want to complete the configuration process using your problematic 3121 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3122 to "yes", and re-run configure. 3123 3124 END 3125 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3126 fi 3127 fi 3128 3129 3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3131 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3132 # Check whether --enable-maintainer-mode was given. 3133 if test "${enable_maintainer_mode+set}" = set; then : 3134 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3135 else 3136 USE_MAINTAINER_MODE=no 3137 fi 3138 3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3140 $as_echo "$USE_MAINTAINER_MODE" >&6; } 3141 if test $USE_MAINTAINER_MODE = yes; then 3142 MAINTAINER_MODE_TRUE= 3143 MAINTAINER_MODE_FALSE='#' 3144 else 3145 MAINTAINER_MODE_TRUE='#' 3146 MAINTAINER_MODE_FALSE= 3147 fi 3148 3149 MAINT=$MAINTAINER_MODE_TRUE 3150 3151 3152 3153 # Make sure we can run config.sub. 3154 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3155 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3156 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3158 $as_echo_n "checking build system type... " >&6; } 3159 if ${ac_cv_build+:} false; then : 3160 $as_echo_n "(cached) " >&6 3161 else 3162 ac_build_alias=$build_alias 3163 test "x$ac_build_alias" = x && 3164 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3165 test "x$ac_build_alias" = x && 3166 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3167 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3169 3170 fi 3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3172 $as_echo "$ac_cv_build" >&6; } 3173 case $ac_cv_build in 3174 *-*-*) ;; 3175 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3176 esac 3177 build=$ac_cv_build 3178 ac_save_IFS=$IFS; IFS='-' 3179 set x $ac_cv_build 3180 shift 3181 build_cpu=$1 3182 build_vendor=$2 3183 shift; shift 3184 # Remember, the first character of IFS is used to create $*, 3185 # except with old shells: 3186 build_os=$* 3187 IFS=$ac_save_IFS 3188 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3189 3190 3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3192 $as_echo_n "checking host system type... " >&6; } 3193 if ${ac_cv_host+:} false; then : 3194 $as_echo_n "(cached) " >&6 3195 else 3196 if test "x$host_alias" = x; then 3197 ac_cv_host=$ac_cv_build 3198 else 3199 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3200 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3201 fi 3202 3203 fi 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3205 $as_echo "$ac_cv_host" >&6; } 3206 case $ac_cv_host in 3207 *-*-*) ;; 3208 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3209 esac 3210 host=$ac_cv_host 3211 ac_save_IFS=$IFS; IFS='-' 3212 set x $ac_cv_host 3213 shift 3214 host_cpu=$1 3215 host_vendor=$2 3216 shift; shift 3217 # Remember, the first character of IFS is used to create $*, 3218 # except with old shells: 3219 host_os=$* 3220 IFS=$ac_save_IFS 3221 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3222 3223 3224 3225 GPG_KEY="0xFFD316AC53ACA43A!" 3226 3227 3228 # Checks for programs. 3229 ac_ext=c 3230 ac_cpp='$CPP $CPPFLAGS' 3231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3233 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3234 if test -n "$ac_tool_prefix"; then 3235 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3236 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3238 $as_echo_n "checking for $ac_word... " >&6; } 3239 if ${ac_cv_prog_CC+:} false; then : 3240 $as_echo_n "(cached) " >&6 3241 else 3242 if test -n "$CC"; then 3243 ac_cv_prog_CC="$CC" # Let the user override the test. 3244 else 3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3246 for as_dir in $PATH 3247 do 3248 IFS=$as_save_IFS 3249 test -z "$as_dir" && as_dir=. 3250 for ac_exec_ext in '' $ac_executable_extensions; do 3251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3252 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3254 break 2 3255 fi 3256 done 3257 done 3258 IFS=$as_save_IFS 3259 3260 fi 3261 fi 3262 CC=$ac_cv_prog_CC 3263 if test -n "$CC"; then 3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3265 $as_echo "$CC" >&6; } 3266 else 3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3268 $as_echo "no" >&6; } 3269 fi 3270 3271 3272 fi 3273 if test -z "$ac_cv_prog_CC"; then 3274 ac_ct_CC=$CC 3275 # Extract the first word of "gcc", so it can be a program name with args. 3276 set dummy gcc; ac_word=$2 3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3278 $as_echo_n "checking for $ac_word... " >&6; } 3279 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3280 $as_echo_n "(cached) " >&6 3281 else 3282 if test -n "$ac_ct_CC"; then 3283 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3284 else 3285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3286 for as_dir in $PATH 3287 do 3288 IFS=$as_save_IFS 3289 test -z "$as_dir" && as_dir=. 3290 for ac_exec_ext in '' $ac_executable_extensions; do 3291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3292 ac_cv_prog_ac_ct_CC="gcc" 3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3294 break 2 3295 fi 3296 done 3297 done 3298 IFS=$as_save_IFS 3299 3300 fi 3301 fi 3302 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3303 if test -n "$ac_ct_CC"; then 3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3305 $as_echo "$ac_ct_CC" >&6; } 3306 else 3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3308 $as_echo "no" >&6; } 3309 fi 3310 3311 if test "x$ac_ct_CC" = x; then 3312 CC="" 3313 else 3314 case $cross_compiling:$ac_tool_warned in 3315 yes:) 3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3318 ac_tool_warned=yes ;; 3319 esac 3320 CC=$ac_ct_CC 3321 fi 3322 else 3323 CC="$ac_cv_prog_CC" 3324 fi 3325 3326 if test -z "$CC"; then 3327 if test -n "$ac_tool_prefix"; then 3328 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3329 set dummy ${ac_tool_prefix}cc; ac_word=$2 3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3331 $as_echo_n "checking for $ac_word... " >&6; } 3332 if ${ac_cv_prog_CC+:} false; then : 3333 $as_echo_n "(cached) " >&6 3334 else 3335 if test -n "$CC"; then 3336 ac_cv_prog_CC="$CC" # Let the user override the test. 3337 else 3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3339 for as_dir in $PATH 3340 do 3341 IFS=$as_save_IFS 3342 test -z "$as_dir" && as_dir=. 3343 for ac_exec_ext in '' $ac_executable_extensions; do 3344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3345 ac_cv_prog_CC="${ac_tool_prefix}cc" 3346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3347 break 2 3348 fi 3349 done 3350 done 3351 IFS=$as_save_IFS 3352 3353 fi 3354 fi 3355 CC=$ac_cv_prog_CC 3356 if test -n "$CC"; then 3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3358 $as_echo "$CC" >&6; } 3359 else 3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3361 $as_echo "no" >&6; } 3362 fi 3363 3364 3365 fi 3366 fi 3367 if test -z "$CC"; then 3368 # Extract the first word of "cc", so it can be a program name with args. 3369 set dummy cc; ac_word=$2 3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3371 $as_echo_n "checking for $ac_word... " >&6; } 3372 if ${ac_cv_prog_CC+:} false; then : 3373 $as_echo_n "(cached) " >&6 3374 else 3375 if test -n "$CC"; then 3376 ac_cv_prog_CC="$CC" # Let the user override the test. 3377 else 3378 ac_prog_rejected=no 3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3380 for as_dir in $PATH 3381 do 3382 IFS=$as_save_IFS 3383 test -z "$as_dir" && as_dir=. 3384 for ac_exec_ext in '' $ac_executable_extensions; do 3385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3386 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3387 ac_prog_rejected=yes 3388 continue 3389 fi 3390 ac_cv_prog_CC="cc" 3391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3392 break 2 3393 fi 3394 done 3395 done 3396 IFS=$as_save_IFS 3397 3398 if test $ac_prog_rejected = yes; then 3399 # We found a bogon in the path, so make sure we never use it. 3400 set dummy $ac_cv_prog_CC 3401 shift 3402 if test $# != 0; then 3403 # We chose a different compiler from the bogus one. 3404 # However, it has the same basename, so the bogon will be chosen 3405 # first if we set CC to just the basename; use the full file name. 3406 shift 3407 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3408 fi 3409 fi 3410 fi 3411 fi 3412 CC=$ac_cv_prog_CC 3413 if test -n "$CC"; then 3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3415 $as_echo "$CC" >&6; } 3416 else 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3418 $as_echo "no" >&6; } 3419 fi 3420 3421 3422 fi 3423 if test -z "$CC"; then 3424 if test -n "$ac_tool_prefix"; then 3425 for ac_prog in cl.exe 3426 do 3427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3430 $as_echo_n "checking for $ac_word... " >&6; } 3431 if ${ac_cv_prog_CC+:} false; then : 3432 $as_echo_n "(cached) " >&6 3433 else 3434 if test -n "$CC"; then 3435 ac_cv_prog_CC="$CC" # Let the user override the test. 3436 else 3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3438 for as_dir in $PATH 3439 do 3440 IFS=$as_save_IFS 3441 test -z "$as_dir" && as_dir=. 3442 for ac_exec_ext in '' $ac_executable_extensions; do 3443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3444 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3446 break 2 3447 fi 3448 done 3449 done 3450 IFS=$as_save_IFS 3451 3452 fi 3453 fi 3454 CC=$ac_cv_prog_CC 3455 if test -n "$CC"; then 3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3457 $as_echo "$CC" >&6; } 3458 else 3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3460 $as_echo "no" >&6; } 3461 fi 3462 3463 3464 test -n "$CC" && break 3465 done 3466 fi 3467 if test -z "$CC"; then 3468 ac_ct_CC=$CC 3469 for ac_prog in cl.exe 3470 do 3471 # Extract the first word of "$ac_prog", so it can be a program name with args. 3472 set dummy $ac_prog; ac_word=$2 3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3474 $as_echo_n "checking for $ac_word... " >&6; } 3475 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3476 $as_echo_n "(cached) " >&6 3477 else 3478 if test -n "$ac_ct_CC"; then 3479 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3480 else 3481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3482 for as_dir in $PATH 3483 do 3484 IFS=$as_save_IFS 3485 test -z "$as_dir" && as_dir=. 3486 for ac_exec_ext in '' $ac_executable_extensions; do 3487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3488 ac_cv_prog_ac_ct_CC="$ac_prog" 3489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3490 break 2 3491 fi 3492 done 3493 done 3494 IFS=$as_save_IFS 3495 3496 fi 3497 fi 3498 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3499 if test -n "$ac_ct_CC"; then 3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3501 $as_echo "$ac_ct_CC" >&6; } 3502 else 3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3504 $as_echo "no" >&6; } 3505 fi 3506 3507 3508 test -n "$ac_ct_CC" && break 3509 done 3510 3511 if test "x$ac_ct_CC" = x; then 3512 CC="" 3513 else 3514 case $cross_compiling:$ac_tool_warned in 3515 yes:) 3516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3518 ac_tool_warned=yes ;; 3519 esac 3520 CC=$ac_ct_CC 3521 fi 3522 fi 3523 3524 fi 3525 3526 3527 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3529 as_fn_error $? "no acceptable C compiler found in \$PATH 3530 See \`config.log' for more details" "$LINENO" 5; } 3531 3532 # Provide some information about the compiler. 3533 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3534 set X $ac_compile 3535 ac_compiler=$2 3536 for ac_option in --version -v -V -qversion; do 3537 { { ac_try="$ac_compiler $ac_option >&5" 3538 case "(($ac_try" in 3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3540 *) ac_try_echo=$ac_try;; 3541 esac 3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3543 $as_echo "$ac_try_echo"; } >&5 3544 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3545 ac_status=$? 3546 if test -s conftest.err; then 3547 sed '10a\ 3548 ... rest of stderr output deleted ... 3549 10q' conftest.err >conftest.er1 3550 cat conftest.er1 >&5 3551 fi 3552 rm -f conftest.er1 conftest.err 3553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3554 test $ac_status = 0; } 3555 done 3556 3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3558 /* end confdefs.h. */ 3559 3560 int 3561 main () 3562 { 3563 3564 ; 3565 return 0; 3566 } 3567 _ACEOF 3568 ac_clean_files_save=$ac_clean_files 3569 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3570 # Try to create an executable without -o first, disregard a.out. 3571 # It will help us diagnose broken compilers, and finding out an intuition 3572 # of exeext. 3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3574 $as_echo_n "checking whether the C compiler works... " >&6; } 3575 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3576 3577 # The possible output files: 3578 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3579 3580 ac_rmfiles= 3581 for ac_file in $ac_files 3582 do 3583 case $ac_file in 3584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3585 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3586 esac 3587 done 3588 rm -f $ac_rmfiles 3589 3590 if { { ac_try="$ac_link_default" 3591 case "(($ac_try" in 3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3593 *) ac_try_echo=$ac_try;; 3594 esac 3595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3596 $as_echo "$ac_try_echo"; } >&5 3597 (eval "$ac_link_default") 2>&5 3598 ac_status=$? 3599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3600 test $ac_status = 0; }; then : 3601 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3602 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3603 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3604 # so that the user can short-circuit this test for compilers unknown to 3605 # Autoconf. 3606 for ac_file in $ac_files '' 3607 do 3608 test -f "$ac_file" || continue 3609 case $ac_file in 3610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3611 ;; 3612 [ab].out ) 3613 # We found the default executable, but exeext='' is most 3614 # certainly right. 3615 break;; 3616 *.* ) 3617 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3618 then :; else 3619 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3620 fi 3621 # We set ac_cv_exeext here because the later test for it is not 3622 # safe: cross compilers may not add the suffix if given an `-o' 3623 # argument, so we may need to know it at that point already. 3624 # Even if this section looks crufty: it has the advantage of 3625 # actually working. 3626 break;; 3627 * ) 3628 break;; 3629 esac 3630 done 3631 test "$ac_cv_exeext" = no && ac_cv_exeext= 3632 3633 else 3634 ac_file='' 3635 fi 3636 if test -z "$ac_file"; then : 3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3638 $as_echo "no" >&6; } 3639 $as_echo "$as_me: failed program was:" >&5 3640 sed 's/^/| /' conftest.$ac_ext >&5 3641 3642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3644 as_fn_error 77 "C compiler cannot create executables 3645 See \`config.log' for more details" "$LINENO" 5; } 3646 else 3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3648 $as_echo "yes" >&6; } 3649 fi 3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3651 $as_echo_n "checking for C compiler default output file name... " >&6; } 3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3653 $as_echo "$ac_file" >&6; } 3654 ac_exeext=$ac_cv_exeext 3655 3656 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3657 ac_clean_files=$ac_clean_files_save 3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3659 $as_echo_n "checking for suffix of executables... " >&6; } 3660 if { { ac_try="$ac_link" 3661 case "(($ac_try" in 3662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3663 *) ac_try_echo=$ac_try;; 3664 esac 3665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3666 $as_echo "$ac_try_echo"; } >&5 3667 (eval "$ac_link") 2>&5 3668 ac_status=$? 3669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3670 test $ac_status = 0; }; then : 3671 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3672 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3673 # work properly (i.e., refer to `conftest.exe'), while it won't with 3674 # `rm'. 3675 for ac_file in conftest.exe conftest conftest.*; do 3676 test -f "$ac_file" || continue 3677 case $ac_file in 3678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3679 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3680 break;; 3681 * ) break;; 3682 esac 3683 done 3684 else 3685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3687 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3688 See \`config.log' for more details" "$LINENO" 5; } 3689 fi 3690 rm -f conftest conftest$ac_cv_exeext 3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3692 $as_echo "$ac_cv_exeext" >&6; } 3693 3694 rm -f conftest.$ac_ext 3695 EXEEXT=$ac_cv_exeext 3696 ac_exeext=$EXEEXT 3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3698 /* end confdefs.h. */ 3699 #include <stdio.h> 3700 int 3701 main () 3702 { 3703 FILE *f = fopen ("conftest.out", "w"); 3704 return ferror (f) || fclose (f) != 0; 3705 3706 ; 3707 return 0; 3708 } 3709 _ACEOF 3710 ac_clean_files="$ac_clean_files conftest.out" 3711 # Check that the compiler produces executables we can run. If not, either 3712 # the compiler is broken, or we cross compile. 3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3714 $as_echo_n "checking whether we are cross compiling... " >&6; } 3715 if test "$cross_compiling" != yes; then 3716 { { ac_try="$ac_link" 3717 case "(($ac_try" in 3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3719 *) ac_try_echo=$ac_try;; 3720 esac 3721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3722 $as_echo "$ac_try_echo"; } >&5 3723 (eval "$ac_link") 2>&5 3724 ac_status=$? 3725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3726 test $ac_status = 0; } 3727 if { ac_try='./conftest$ac_cv_exeext' 3728 { { case "(($ac_try" in 3729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3730 *) ac_try_echo=$ac_try;; 3731 esac 3732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3733 $as_echo "$ac_try_echo"; } >&5 3734 (eval "$ac_try") 2>&5 3735 ac_status=$? 3736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3737 test $ac_status = 0; }; }; then 3738 cross_compiling=no 3739 else 3740 if test "$cross_compiling" = maybe; then 3741 cross_compiling=yes 3742 else 3743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3745 as_fn_error $? "cannot run C compiled programs. 3746 If you meant to cross compile, use \`--host'. 3747 See \`config.log' for more details" "$LINENO" 5; } 3748 fi 3749 fi 3750 fi 3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3752 $as_echo "$cross_compiling" >&6; } 3753 3754 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3755 ac_clean_files=$ac_clean_files_save 3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3757 $as_echo_n "checking for suffix of object files... " >&6; } 3758 if ${ac_cv_objext+:} false; then : 3759 $as_echo_n "(cached) " >&6 3760 else 3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3762 /* end confdefs.h. */ 3763 3764 int 3765 main () 3766 { 3767 3768 ; 3769 return 0; 3770 } 3771 _ACEOF 3772 rm -f conftest.o conftest.obj 3773 if { { ac_try="$ac_compile" 3774 case "(($ac_try" in 3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3776 *) ac_try_echo=$ac_try;; 3777 esac 3778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3779 $as_echo "$ac_try_echo"; } >&5 3780 (eval "$ac_compile") 2>&5 3781 ac_status=$? 3782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3783 test $ac_status = 0; }; then : 3784 for ac_file in conftest.o conftest.obj conftest.*; do 3785 test -f "$ac_file" || continue; 3786 case $ac_file in 3787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3788 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3789 break;; 3790 esac 3791 done 3792 else 3793 $as_echo "$as_me: failed program was:" >&5 3794 sed 's/^/| /' conftest.$ac_ext >&5 3795 3796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3798 as_fn_error $? "cannot compute suffix of object files: cannot compile 3799 See \`config.log' for more details" "$LINENO" 5; } 3800 fi 3801 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3802 fi 3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3804 $as_echo "$ac_cv_objext" >&6; } 3805 OBJEXT=$ac_cv_objext 3806 ac_objext=$OBJEXT 3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3808 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3809 if ${ac_cv_c_compiler_gnu+:} false; then : 3810 $as_echo_n "(cached) " >&6 3811 else 3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3813 /* end confdefs.h. */ 3814 3815 int 3816 main () 3817 { 3818 #ifndef __GNUC__ 3819 choke me 3820 #endif 3821 3822 ; 3823 return 0; 3824 } 3825 _ACEOF 3826 if ac_fn_c_try_compile "$LINENO"; then : 3827 ac_compiler_gnu=yes 3828 else 3829 ac_compiler_gnu=no 3830 fi 3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3832 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3833 3834 fi 3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3836 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3837 if test $ac_compiler_gnu = yes; then 3838 GCC=yes 3839 else 3840 GCC= 3841 fi 3842 ac_test_CFLAGS=${CFLAGS+set} 3843 ac_save_CFLAGS=$CFLAGS 3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3845 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3846 if ${ac_cv_prog_cc_g+:} false; then : 3847 $as_echo_n "(cached) " >&6 3848 else 3849 ac_save_c_werror_flag=$ac_c_werror_flag 3850 ac_c_werror_flag=yes 3851 ac_cv_prog_cc_g=no 3852 CFLAGS="-g" 3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3854 /* end confdefs.h. */ 3855 3856 int 3857 main () 3858 { 3859 3860 ; 3861 return 0; 3862 } 3863 _ACEOF 3864 if ac_fn_c_try_compile "$LINENO"; then : 3865 ac_cv_prog_cc_g=yes 3866 else 3867 CFLAGS="" 3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3869 /* end confdefs.h. */ 3870 3871 int 3872 main () 3873 { 3874 3875 ; 3876 return 0; 3877 } 3878 _ACEOF 3879 if ac_fn_c_try_compile "$LINENO"; then : 3880 3881 else 3882 ac_c_werror_flag=$ac_save_c_werror_flag 3883 CFLAGS="-g" 3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3885 /* end confdefs.h. */ 3886 3887 int 3888 main () 3889 { 3890 3891 ; 3892 return 0; 3893 } 3894 _ACEOF 3895 if ac_fn_c_try_compile "$LINENO"; then : 3896 ac_cv_prog_cc_g=yes 3897 fi 3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3899 fi 3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3901 fi 3902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3903 ac_c_werror_flag=$ac_save_c_werror_flag 3904 fi 3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3906 $as_echo "$ac_cv_prog_cc_g" >&6; } 3907 if test "$ac_test_CFLAGS" = set; then 3908 CFLAGS=$ac_save_CFLAGS 3909 elif test $ac_cv_prog_cc_g = yes; then 3910 if test "$GCC" = yes; then 3911 CFLAGS="-g -O2" 3912 else 3913 CFLAGS="-g" 3914 fi 3915 else 3916 if test "$GCC" = yes; then 3917 CFLAGS="-O2" 3918 else 3919 CFLAGS= 3920 fi 3921 fi 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3923 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3924 if ${ac_cv_prog_cc_c89+:} false; then : 3925 $as_echo_n "(cached) " >&6 3926 else 3927 ac_cv_prog_cc_c89=no 3928 ac_save_CC=$CC 3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3930 /* end confdefs.h. */ 3931 #include <stdarg.h> 3932 #include <stdio.h> 3933 struct stat; 3934 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3935 struct buf { int x; }; 3936 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3937 static char *e (p, i) 3938 char **p; 3939 int i; 3940 { 3941 return p[i]; 3942 } 3943 static char *f (char * (*g) (char **, int), char **p, ...) 3944 { 3945 char *s; 3946 va_list v; 3947 va_start (v,p); 3948 s = g (p, va_arg (v,int)); 3949 va_end (v); 3950 return s; 3951 } 3952 3953 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3954 function prototypes and stuff, but not '\xHH' hex character constants. 3955 These don't provoke an error unfortunately, instead are silently treated 3956 as 'x'. The following induces an error, until -std is added to get 3957 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3958 array size at least. It's necessary to write '\x00'==0 to get something 3959 that's true only with -std. */ 3960 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3961 3962 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3963 inside strings and character constants. */ 3964 #define FOO(x) 'x' 3965 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3966 3967 int test (int i, double x); 3968 struct s1 {int (*f) (int a);}; 3969 struct s2 {int (*f) (double a);}; 3970 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3971 int argc; 3972 char **argv; 3973 int 3974 main () 3975 { 3976 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3977 ; 3978 return 0; 3979 } 3980 _ACEOF 3981 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3982 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3983 do 3984 CC="$ac_save_CC $ac_arg" 3985 if ac_fn_c_try_compile "$LINENO"; then : 3986 ac_cv_prog_cc_c89=$ac_arg 3987 fi 3988 rm -f core conftest.err conftest.$ac_objext 3989 test "x$ac_cv_prog_cc_c89" != "xno" && break 3990 done 3991 rm -f conftest.$ac_ext 3992 CC=$ac_save_CC 3993 3994 fi 3995 # AC_CACHE_VAL 3996 case "x$ac_cv_prog_cc_c89" in 3997 x) 3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3999 $as_echo "none needed" >&6; } ;; 4000 xno) 4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4002 $as_echo "unsupported" >&6; } ;; 4003 *) 4004 CC="$CC $ac_cv_prog_cc_c89" 4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4006 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4007 esac 4008 if test "x$ac_cv_prog_cc_c89" != xno; then : 4009 4010 fi 4011 4012 ac_ext=c 4013 ac_cpp='$CPP $CPPFLAGS' 4014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4016 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4017 4018 ac_ext=c 4019 ac_cpp='$CPP $CPPFLAGS' 4020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4022 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4024 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4025 if ${am_cv_prog_cc_c_o+:} false; then : 4026 $as_echo_n "(cached) " >&6 4027 else 4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4029 /* end confdefs.h. */ 4030 4031 int 4032 main () 4033 { 4034 4035 ; 4036 return 0; 4037 } 4038 _ACEOF 4039 # Make sure it works both with $CC and with simple cc. 4040 # Following AC_PROG_CC_C_O, we do the test twice because some 4041 # compilers refuse to overwrite an existing .o file with -o, 4042 # though they will create one. 4043 am_cv_prog_cc_c_o=yes 4044 for am_i in 1 2; do 4045 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4046 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4047 ac_status=$? 4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4049 (exit $ac_status); } \ 4050 && test -f conftest2.$ac_objext; then 4051 : OK 4052 else 4053 am_cv_prog_cc_c_o=no 4054 break 4055 fi 4056 done 4057 rm -f core conftest* 4058 unset am_i 4059 fi 4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4061 $as_echo "$am_cv_prog_cc_c_o" >&6; } 4062 if test "$am_cv_prog_cc_c_o" != yes; then 4063 # Losing compiler, so override with the script. 4064 # FIXME: It is wrong to rewrite CC. 4065 # But if we don't then we get into trouble of one sort or another. 4066 # A longer-term fix would be to have automake use am__CC in this case, 4067 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4068 CC="$am_aux_dir/compile $CC" 4069 fi 4070 ac_ext=c 4071 ac_cpp='$CPP $CPPFLAGS' 4072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4074 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4075 4076 DEPDIR="${am__leading_dot}deps" 4077 4078 ac_config_commands="$ac_config_commands depfiles" 4079 4080 4081 am_make=${MAKE-make} 4082 cat > confinc << 'END' 4083 am__doit: 4084 @echo this is the am__doit target 4085 .PHONY: am__doit 4086 END 4087 # If we don't find an include directive, just comment out the code. 4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4089 $as_echo_n "checking for style of include used by $am_make... " >&6; } 4090 am__include="#" 4091 am__quote= 4092 _am_result=none 4093 # First try GNU make style include. 4094 echo "include confinc" > confmf 4095 # Ignore all kinds of additional output from 'make'. 4096 case `$am_make -s -f confmf 2> /dev/null` in #( 4097 *the\ am__doit\ target*) 4098 am__include=include 4099 am__quote= 4100 _am_result=GNU 4101 ;; 4102 esac 4103 # Now try BSD make style include. 4104 if test "$am__include" = "#"; then 4105 echo '.include "confinc"' > confmf 4106 case `$am_make -s -f confmf 2> /dev/null` in #( 4107 *the\ am__doit\ target*) 4108 am__include=.include 4109 am__quote="\"" 4110 _am_result=BSD 4111 ;; 4112 esac 4113 fi 4114 4115 4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4117 $as_echo "$_am_result" >&6; } 4118 rm -f confinc confmf 4119 4120 # Check whether --enable-dependency-tracking was given. 4121 if test "${enable_dependency_tracking+set}" = set; then : 4122 enableval=$enable_dependency_tracking; 4123 fi 4124 4125 if test "x$enable_dependency_tracking" != xno; then 4126 am_depcomp="$ac_aux_dir/depcomp" 4127 AMDEPBACKSLASH='\' 4128 am__nodep='_no' 4129 fi 4130 if test "x$enable_dependency_tracking" != xno; then 4131 AMDEP_TRUE= 4132 AMDEP_FALSE='#' 4133 else 4134 AMDEP_TRUE='#' 4135 AMDEP_FALSE= 4136 fi 4137 4138 4139 4140 depcc="$CC" am_compiler_list= 4141 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4143 $as_echo_n "checking dependency style of $depcc... " >&6; } 4144 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4145 $as_echo_n "(cached) " >&6 4146 else 4147 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4148 # We make a subdir and do the tests there. Otherwise we can end up 4149 # making bogus files that we don't know about and never remove. For 4150 # instance it was reported that on HP-UX the gcc test will end up 4151 # making a dummy file named 'D' -- because '-MD' means "put the output 4152 # in D". 4153 rm -rf conftest.dir 4154 mkdir conftest.dir 4155 # Copy depcomp to subdir because otherwise we won't find it if we're 4156 # using a relative directory. 4157 cp "$am_depcomp" conftest.dir 4158 cd conftest.dir 4159 # We will build objects and dependencies in a subdirectory because 4160 # it helps to detect inapplicable dependency modes. For instance 4161 # both Tru64's cc and ICC support -MD to output dependencies as a 4162 # side effect of compilation, but ICC will put the dependencies in 4163 # the current directory while Tru64 will put them in the object 4164 # directory. 4165 mkdir sub 4166 4167 am_cv_CC_dependencies_compiler_type=none 4168 if test "$am_compiler_list" = ""; then 4169 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4170 fi 4171 am__universal=false 4172 case " $depcc " in #( 4173 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4174 esac 4175 4176 for depmode in $am_compiler_list; do 4177 # Setup a source with many dependencies, because some compilers 4178 # like to wrap large dependency lists on column 80 (with \), and 4179 # we should not choose a depcomp mode which is confused by this. 4180 # 4181 # We need to recreate these files for each test, as the compiler may 4182 # overwrite some of them when testing with obscure command lines. 4183 # This happens at least with the AIX C compiler. 4184 : > sub/conftest.c 4185 for i in 1 2 3 4 5 6; do 4186 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4187 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4188 # Solaris 10 /bin/sh. 4189 echo '/* dummy */' > sub/conftst$i.h 4190 done 4191 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4192 4193 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4194 # mode. It turns out that the SunPro C++ compiler does not properly 4195 # handle '-M -o', and we need to detect this. Also, some Intel 4196 # versions had trouble with output in subdirs. 4197 am__obj=sub/conftest.${OBJEXT-o} 4198 am__minus_obj="-o $am__obj" 4199 case $depmode in 4200 gcc) 4201 # This depmode causes a compiler race in universal mode. 4202 test "$am__universal" = false || continue 4203 ;; 4204 nosideeffect) 4205 # After this tag, mechanisms are not by side-effect, so they'll 4206 # only be used when explicitly requested. 4207 if test "x$enable_dependency_tracking" = xyes; then 4208 continue 4209 else 4210 break 4211 fi 4212 ;; 4213 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4214 # This compiler won't grok '-c -o', but also, the minuso test has 4215 # not run yet. These depmodes are late enough in the game, and 4216 # so weak that their functioning should not be impacted. 4217 am__obj=conftest.${OBJEXT-o} 4218 am__minus_obj= 4219 ;; 4220 none) break ;; 4221 esac 4222 if depmode=$depmode \ 4223 source=sub/conftest.c object=$am__obj \ 4224 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4225 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4226 >/dev/null 2>conftest.err && 4227 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4228 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4229 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4230 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4231 # icc doesn't choke on unknown options, it will just issue warnings 4232 # or remarks (even with -Werror). So we grep stderr for any message 4233 # that says an option was ignored or not supported. 4234 # When given -MP, icc 7.0 and 7.1 complain thusly: 4235 # icc: Command line warning: ignoring option '-M'; no argument required 4236 # The diagnosis changed in icc 8.0: 4237 # icc: Command line remark: option '-MP' not supported 4238 if (grep 'ignoring option' conftest.err || 4239 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4240 am_cv_CC_dependencies_compiler_type=$depmode 4241 break 4242 fi 4243 fi 4244 done 4245 4246 cd .. 4247 rm -rf conftest.dir 4248 else 4249 am_cv_CC_dependencies_compiler_type=none 4250 fi 4251 4252 fi 4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4254 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4255 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4256 4257 if 4258 test "x$enable_dependency_tracking" != xno \ 4259 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4260 am__fastdepCC_TRUE= 4261 am__fastdepCC_FALSE='#' 4262 else 4263 am__fastdepCC_TRUE='#' 4264 am__fastdepCC_FALSE= 4265 fi 4266 4267 4268 4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4270 $as_echo_n "checking whether ln -s works... " >&6; } 4271 LN_S=$as_ln_s 4272 if test "$LN_S" = "ln -s"; then 4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4274 $as_echo "yes" >&6; } 4275 else 4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4277 $as_echo "no, using $LN_S" >&6; } 4278 fi 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4289 if test -n "$ac_tool_prefix"; then 4290 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4291 set dummy ${ac_tool_prefix}pkg-config; 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_path_PKG_CONFIG+:} false; then : 4295 $as_echo_n "(cached) " >&6 4296 else 4297 case $PKG_CONFIG in 4298 [\\/]* | ?:[\\/]*) 4299 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4300 ;; 4301 *) 4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4303 for as_dir in $PATH 4304 do 4305 IFS=$as_save_IFS 4306 test -z "$as_dir" && as_dir=. 4307 for ac_exec_ext in '' $ac_executable_extensions; do 4308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4309 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4311 break 2 4312 fi 4313 done 4314 done 4315 IFS=$as_save_IFS 4316 4317 ;; 4318 esac 4319 fi 4320 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4321 if test -n "$PKG_CONFIG"; then 4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4323 $as_echo "$PKG_CONFIG" >&6; } 4324 else 4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4326 $as_echo "no" >&6; } 4327 fi 4328 4329 4330 fi 4331 if test -z "$ac_cv_path_PKG_CONFIG"; then 4332 ac_pt_PKG_CONFIG=$PKG_CONFIG 4333 # Extract the first word of "pkg-config", so it can be a program name with args. 4334 set dummy pkg-config; ac_word=$2 4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4336 $as_echo_n "checking for $ac_word... " >&6; } 4337 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4338 $as_echo_n "(cached) " >&6 4339 else 4340 case $ac_pt_PKG_CONFIG in 4341 [\\/]* | ?:[\\/]*) 4342 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4343 ;; 4344 *) 4345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4346 for as_dir in $PATH 4347 do 4348 IFS=$as_save_IFS 4349 test -z "$as_dir" && as_dir=. 4350 for ac_exec_ext in '' $ac_executable_extensions; do 4351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4352 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4354 break 2 4355 fi 4356 done 4357 done 4358 IFS=$as_save_IFS 4359 4360 ;; 4361 esac 4362 fi 4363 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4364 if test -n "$ac_pt_PKG_CONFIG"; then 4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4366 $as_echo "$ac_pt_PKG_CONFIG" >&6; } 4367 else 4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4369 $as_echo "no" >&6; } 4370 fi 4371 4372 if test "x$ac_pt_PKG_CONFIG" = x; then 4373 PKG_CONFIG="" 4374 else 4375 case $cross_compiling:$ac_tool_warned in 4376 yes:) 4377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4379 ac_tool_warned=yes ;; 4380 esac 4381 PKG_CONFIG=$ac_pt_PKG_CONFIG 4382 fi 4383 else 4384 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4385 fi 4386 4387 fi 4388 if test -n "$PKG_CONFIG"; then 4389 _pkg_min_version=0.9.0 4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4391 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4392 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4394 $as_echo "yes" >&6; } 4395 else 4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4397 $as_echo "no" >&6; } 4398 PKG_CONFIG="" 4399 fi 4400 fi 4401 4402 4403 4404 4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is a C99 compiler" >&5 4406 $as_echo_n "checking whether $CC is a C99 compiler... " >&6; } 4407 if ${ensc_cv_c99_c99compiler+:} false; then : 4408 $as_echo_n "(cached) " >&6 4409 else 4410 4411 ac_ext=c 4412 ac_cpp='$CPP $CPPFLAGS' 4413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4415 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4416 4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4418 /* end confdefs.h. */ 4419 4420 int main(int argc, char *argv) { 4421 struct { int x; } a = { .x = argc }; 4422 if (0) return 0; 4423 int b; 4424 } 4425 4426 _ACEOF 4427 if ac_fn_c_try_compile "$LINENO"; then : 4428 ensc_cv_c99_c99compiler=yes 4429 else 4430 ensc_cv_c99_c99compiler=no 4431 fi 4432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4433 ac_ext=c 4434 ac_cpp='$CPP $CPPFLAGS' 4435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4437 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4438 4439 4440 fi 4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_cv_c99_c99compiler" >&5 4442 $as_echo "$ensc_cv_c99_c99compiler" >&6; } 4443 4444 if test x"$ensc_cv_c99_c99compiler" = xyes; then 4445 ENSC_HAVE_C99_COMPILER_TRUE= 4446 ENSC_HAVE_C99_COMPILER_FALSE='#' 4447 else 4448 ENSC_HAVE_C99_COMPILER_TRUE='#' 4449 ENSC_HAVE_C99_COMPILER_FALSE= 4450 fi 4451 4452 4453 if test x"$ensc_cv_c99_c99compiler" = xno; then 4454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5 4455 $as_echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;} 4456 fi 4457 4458 4459 4460 4461 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin" 4462 4463 4464 ENSC_PATHPROG_SED= 4465 4466 4467 4468 4469 4470 4471 4472 if test -z ""; then 4473 rq=true 4474 else 4475 rq=false 4476 fi 4477 4478 if $rq; then 4479 ensc_dflt= 4480 else 4481 ensc_dflt="" 4482 fi 4483 4484 for ac_prog in awk 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_path_AWK+:} false; then : 4491 $as_echo_n "(cached) " >&6 4492 else 4493 case $AWK in 4494 [\\/]* | ?:[\\/]*) 4495 ac_cv_path_AWK="$AWK" # Let the user override the test with a path. 4496 ;; 4497 *) 4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4499 for as_dir in $ensc_searchpath 4500 do 4501 IFS=$as_save_IFS 4502 test -z "$as_dir" && as_dir=. 4503 for ac_exec_ext in '' $ac_executable_extensions; do 4504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4505 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext" 4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4507 break 2 4508 fi 4509 done 4510 done 4511 IFS=$as_save_IFS 4512 4513 ;; 4514 esac 4515 fi 4516 AWK=$ac_cv_path_AWK 4517 if test -n "$AWK"; then 4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4519 $as_echo "$AWK" >&6; } 4520 else 4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4522 $as_echo "no" >&6; } 4523 fi 4524 4525 4526 test -n "$AWK" && break 4527 done 4528 test -n "$AWK" || AWK="$ensc_dflt" 4529 4530 4531 if test -z "${AWK}" && $rq; then 4532 if test -z ""; then 4533 as_fn_error $? "Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 4534 else 4535 as_fn_error $? " 4536 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'. 4537 " "$LINENO" 5 4538 fi 4539 fi 4540 4541 if test "x" = x; then 4542 ensc_pathprog_path="${AWK}" 4543 while test -h "$ensc_pathprog_path"; do 4544 case "$ensc_pathprog_path" in 4545 ../*) AWK=`readlink -f "${AWK}"`; break ;; 4546 esac 4547 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 4548 done 4549 fi 4550 4551 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;" 4552 4553 test "${AWK}" 4554 4555 4556 4557 4558 if test -z ""; then 4559 rq=true 4560 else 4561 rq=false 4562 fi 4563 4564 if $rq; then 4565 ensc_dflt= 4566 else 4567 ensc_dflt="" 4568 fi 4569 4570 for ac_prog in cat 4571 do 4572 # Extract the first word of "$ac_prog", so it can be a program name with args. 4573 set dummy $ac_prog; ac_word=$2 4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4575 $as_echo_n "checking for $ac_word... " >&6; } 4576 if ${ac_cv_path_CAT+:} false; then : 4577 $as_echo_n "(cached) " >&6 4578 else 4579 case $CAT in 4580 [\\/]* | ?:[\\/]*) 4581 ac_cv_path_CAT="$CAT" # Let the user override the test with a path. 4582 ;; 4583 *) 4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4585 for as_dir in $ensc_searchpath 4586 do 4587 IFS=$as_save_IFS 4588 test -z "$as_dir" && as_dir=. 4589 for ac_exec_ext in '' $ac_executable_extensions; do 4590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4591 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" 4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4593 break 2 4594 fi 4595 done 4596 done 4597 IFS=$as_save_IFS 4598 4599 ;; 4600 esac 4601 fi 4602 CAT=$ac_cv_path_CAT 4603 if test -n "$CAT"; then 4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5 4605 $as_echo "$CAT" >&6; } 4606 else 4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4608 $as_echo "no" >&6; } 4609 fi 4610 4611 4612 test -n "$CAT" && break 4613 done 4614 test -n "$CAT" || CAT="$ensc_dflt" 4615 4616 4617 if test -z "${CAT}" && $rq; then 4618 if test -z ""; then 4619 as_fn_error $? "Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 4620 else 4621 as_fn_error $? " 4622 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'. 4623 " "$LINENO" 5 4624 fi 4625 fi 4626 4627 if test "x" = x; then 4628 ensc_pathprog_path="${CAT}" 4629 while test -h "$ensc_pathprog_path"; do 4630 case "$ensc_pathprog_path" in 4631 ../*) CAT=`readlink -f "${CAT}"`; break ;; 4632 esac 4633 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 4634 done 4635 fi 4636 4637 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;" 4638 4639 test "${CAT}" 4640 4641 4642 4643 4644 if test -z ""; then 4645 rq=true 4646 else 4647 rq=false 4648 fi 4649 4650 if $rq; then 4651 ensc_dflt= 4652 else 4653 ensc_dflt="" 4654 fi 4655 4656 for ac_prog in chown 4657 do 4658 # Extract the first word of "$ac_prog", so it can be a program name with args. 4659 set dummy $ac_prog; ac_word=$2 4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4661 $as_echo_n "checking for $ac_word... " >&6; } 4662 if ${ac_cv_path_CHOWN+:} false; then : 4663 $as_echo_n "(cached) " >&6 4664 else 4665 case $CHOWN in 4666 [\\/]* | ?:[\\/]*) 4667 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path. 4668 ;; 4669 *) 4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4671 for as_dir in $ensc_searchpath 4672 do 4673 IFS=$as_save_IFS 4674 test -z "$as_dir" && as_dir=. 4675 for ac_exec_ext in '' $ac_executable_extensions; do 4676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4677 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext" 4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4679 break 2 4680 fi 4681 done 4682 done 4683 IFS=$as_save_IFS 4684 4685 ;; 4686 esac 4687 fi 4688 CHOWN=$ac_cv_path_CHOWN 4689 if test -n "$CHOWN"; then 4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5 4691 $as_echo "$CHOWN" >&6; } 4692 else 4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4694 $as_echo "no" >&6; } 4695 fi 4696 4697 4698 test -n "$CHOWN" && break 4699 done 4700 test -n "$CHOWN" || CHOWN="$ensc_dflt" 4701 4702 4703 if test -z "${CHOWN}" && $rq; then 4704 if test -z ""; then 4705 as_fn_error $? "Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 4706 else 4707 as_fn_error $? " 4708 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'. 4709 " "$LINENO" 5 4710 fi 4711 fi 4712 4713 if test "x" = x; then 4714 ensc_pathprog_path="${CHOWN}" 4715 while test -h "$ensc_pathprog_path"; do 4716 case "$ensc_pathprog_path" in 4717 ../*) CHOWN=`readlink -f "${CHOWN}"`; break ;; 4718 esac 4719 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 4720 done 4721 fi 4722 4723 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;" 4724 4725 test "${CHOWN}" 4726 4727 4728 4729 4730 if test -z ""; then 4731 rq=true 4732 else 4733 rq=false 4734 fi 4735 4736 if $rq; then 4737 ensc_dflt= 4738 else 4739 ensc_dflt="" 4740 fi 4741 4742 for ac_prog in cmp 4743 do 4744 # Extract the first word of "$ac_prog", so it can be a program name with args. 4745 set dummy $ac_prog; ac_word=$2 4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4747 $as_echo_n "checking for $ac_word... " >&6; } 4748 if ${ac_cv_path_CMP+:} false; then : 4749 $as_echo_n "(cached) " >&6 4750 else 4751 case $CMP in 4752 [\\/]* | ?:[\\/]*) 4753 ac_cv_path_CMP="$CMP" # Let the user override the test with a path. 4754 ;; 4755 *) 4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4757 for as_dir in $ensc_searchpath 4758 do 4759 IFS=$as_save_IFS 4760 test -z "$as_dir" && as_dir=. 4761 for ac_exec_ext in '' $ac_executable_extensions; do 4762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4763 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" 4764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4765 break 2 4766 fi 4767 done 4768 done 4769 IFS=$as_save_IFS 4770 4771 ;; 4772 esac 4773 fi 4774 CMP=$ac_cv_path_CMP 4775 if test -n "$CMP"; then 4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5 4777 $as_echo "$CMP" >&6; } 4778 else 4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4780 $as_echo "no" >&6; } 4781 fi 4782 4783 4784 test -n "$CMP" && break 4785 done 4786 test -n "$CMP" || CMP="$ensc_dflt" 4787 4788 4789 if test -z "${CMP}" && $rq; then 4790 if test -z ""; then 4791 as_fn_error $? "Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 4792 else 4793 as_fn_error $? " 4794 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'. 4795 " "$LINENO" 5 4796 fi 4797 fi 4798 4799 if test "x" = x; then 4800 ensc_pathprog_path="${CMP}" 4801 while test -h "$ensc_pathprog_path"; do 4802 case "$ensc_pathprog_path" in 4803 ../*) CMP=`readlink -f "${CMP}"`; break ;; 4804 esac 4805 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 4806 done 4807 fi 4808 4809 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;" 4810 4811 test "${CMP}" 4812 4813 4814 4815 4816 if test -z ""; then 4817 rq=true 4818 else 4819 rq=false 4820 fi 4821 4822 if $rq; then 4823 ensc_dflt= 4824 else 4825 ensc_dflt="" 4826 fi 4827 4828 for ac_prog in cp 4829 do 4830 # Extract the first word of "$ac_prog", so it can be a program name with args. 4831 set dummy $ac_prog; ac_word=$2 4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4833 $as_echo_n "checking for $ac_word... " >&6; } 4834 if ${ac_cv_path_CP+:} false; then : 4835 $as_echo_n "(cached) " >&6 4836 else 4837 case $CP in 4838 [\\/]* | ?:[\\/]*) 4839 ac_cv_path_CP="$CP" # Let the user override the test with a path. 4840 ;; 4841 *) 4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4843 for as_dir in $ensc_searchpath 4844 do 4845 IFS=$as_save_IFS 4846 test -z "$as_dir" && as_dir=. 4847 for ac_exec_ext in '' $ac_executable_extensions; do 4848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4849 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" 4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4851 break 2 4852 fi 4853 done 4854 done 4855 IFS=$as_save_IFS 4856 4857 ;; 4858 esac 4859 fi 4860 CP=$ac_cv_path_CP 4861 if test -n "$CP"; then 4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5 4863 $as_echo "$CP" >&6; } 4864 else 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4866 $as_echo "no" >&6; } 4867 fi 4868 4869 4870 test -n "$CP" && break 4871 done 4872 test -n "$CP" || CP="$ensc_dflt" 4873 4874 4875 if test -z "${CP}" && $rq; then 4876 if test -z ""; then 4877 as_fn_error $? "Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 4878 else 4879 as_fn_error $? " 4880 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'. 4881 " "$LINENO" 5 4882 fi 4883 fi 4884 4885 if test "x" = x; then 4886 ensc_pathprog_path="${CP}" 4887 while test -h "$ensc_pathprog_path"; do 4888 case "$ensc_pathprog_path" in 4889 ../*) CP=`readlink -f "${CP}"`; break ;; 4890 esac 4891 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 4892 done 4893 fi 4894 4895 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;" 4896 4897 test "${CP}" 4898 4899 4900 4901 4902 if test -z ""; then 4903 rq=true 4904 else 4905 rq=false 4906 fi 4907 4908 if $rq; then 4909 ensc_dflt= 4910 else 4911 ensc_dflt="" 4912 fi 4913 4914 for ac_prog in dirname 4915 do 4916 # Extract the first word of "$ac_prog", so it can be a program name with args. 4917 set dummy $ac_prog; ac_word=$2 4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4919 $as_echo_n "checking for $ac_word... " >&6; } 4920 if ${ac_cv_path_DIRNAME+:} false; then : 4921 $as_echo_n "(cached) " >&6 4922 else 4923 case $DIRNAME in 4924 [\\/]* | ?:[\\/]*) 4925 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path. 4926 ;; 4927 *) 4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4929 for as_dir in $ensc_searchpath 4930 do 4931 IFS=$as_save_IFS 4932 test -z "$as_dir" && as_dir=. 4933 for ac_exec_ext in '' $ac_executable_extensions; do 4934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4935 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext" 4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4937 break 2 4938 fi 4939 done 4940 done 4941 IFS=$as_save_IFS 4942 4943 ;; 4944 esac 4945 fi 4946 DIRNAME=$ac_cv_path_DIRNAME 4947 if test -n "$DIRNAME"; then 4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DIRNAME" >&5 4949 $as_echo "$DIRNAME" >&6; } 4950 else 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4952 $as_echo "no" >&6; } 4953 fi 4954 4955 4956 test -n "$DIRNAME" && break 4957 done 4958 test -n "$DIRNAME" || DIRNAME="$ensc_dflt" 4959 4960 4961 if test -z "${DIRNAME}" && $rq; then 4962 if test -z ""; then 4963 as_fn_error $? "Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 4964 else 4965 as_fn_error $? " 4966 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'. 4967 " "$LINENO" 5 4968 fi 4969 fi 4970 4971 if test "x" = x; then 4972 ensc_pathprog_path="${DIRNAME}" 4973 while test -h "$ensc_pathprog_path"; do 4974 case "$ensc_pathprog_path" in 4975 ../*) DIRNAME=`readlink -f "${DIRNAME}"`; break ;; 4976 esac 4977 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 4978 done 4979 fi 4980 4981 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;" 4982 4983 test "${DIRNAME}" 4984 4985 4986 4987 4988 if test -z ""; then 4989 rq=true 4990 else 4991 rq=false 4992 fi 4993 4994 if $rq; then 4995 ensc_dflt= 4996 else 4997 ensc_dflt="" 4998 fi 4999 5000 for ac_prog in egrep 5001 do 5002 # Extract the first word of "$ac_prog", so it can be a program name with args. 5003 set dummy $ac_prog; ac_word=$2 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5005 $as_echo_n "checking for $ac_word... " >&6; } 5006 if ${ac_cv_path_EGREP+:} false; then : 5007 $as_echo_n "(cached) " >&6 5008 else 5009 case $EGREP in 5010 [\\/]* | ?:[\\/]*) 5011 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path. 5012 ;; 5013 *) 5014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5015 for as_dir in $ensc_searchpath 5016 do 5017 IFS=$as_save_IFS 5018 test -z "$as_dir" && as_dir=. 5019 for ac_exec_ext in '' $ac_executable_extensions; do 5020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5021 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext" 5022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5023 break 2 5024 fi 5025 done 5026 done 5027 IFS=$as_save_IFS 5028 5029 ;; 5030 esac 5031 fi 5032 EGREP=$ac_cv_path_EGREP 5033 if test -n "$EGREP"; then 5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5 5035 $as_echo "$EGREP" >&6; } 5036 else 5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5038 $as_echo "no" >&6; } 5039 fi 5040 5041 5042 test -n "$EGREP" && break 5043 done 5044 test -n "$EGREP" || EGREP="$ensc_dflt" 5045 5046 5047 if test -z "${EGREP}" && $rq; then 5048 if test -z ""; then 5049 as_fn_error $? "Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5050 else 5051 as_fn_error $? " 5052 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'. 5053 " "$LINENO" 5 5054 fi 5055 fi 5056 5057 if test "xno-deref" = x; then 5058 ensc_pathprog_path="${EGREP}" 5059 while test -h "$ensc_pathprog_path"; do 5060 case "$ensc_pathprog_path" in 5061 ../*) EGREP=`readlink -f "${EGREP}"`; break ;; 5062 esac 5063 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5064 done 5065 fi 5066 5067 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;" 5068 5069 test "${EGREP}" 5070 5071 5072 5073 5074 if test -z ""; then 5075 rq=true 5076 else 5077 rq=false 5078 fi 5079 5080 if $rq; then 5081 ensc_dflt= 5082 else 5083 ensc_dflt="" 5084 fi 5085 5086 for ac_prog in env 5087 do 5088 # Extract the first word of "$ac_prog", so it can be a program name with args. 5089 set dummy $ac_prog; ac_word=$2 5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5091 $as_echo_n "checking for $ac_word... " >&6; } 5092 if ${ac_cv_path_ENV+:} false; then : 5093 $as_echo_n "(cached) " >&6 5094 else 5095 case $ENV in 5096 [\\/]* | ?:[\\/]*) 5097 ac_cv_path_ENV="$ENV" # Let the user override the test with a path. 5098 ;; 5099 *) 5100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5101 for as_dir in $ensc_searchpath 5102 do 5103 IFS=$as_save_IFS 5104 test -z "$as_dir" && as_dir=. 5105 for ac_exec_ext in '' $ac_executable_extensions; do 5106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5107 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext" 5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5109 break 2 5110 fi 5111 done 5112 done 5113 IFS=$as_save_IFS 5114 5115 ;; 5116 esac 5117 fi 5118 ENV=$ac_cv_path_ENV 5119 if test -n "$ENV"; then 5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENV" >&5 5121 $as_echo "$ENV" >&6; } 5122 else 5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5124 $as_echo "no" >&6; } 5125 fi 5126 5127 5128 test -n "$ENV" && break 5129 done 5130 test -n "$ENV" || ENV="$ensc_dflt" 5131 5132 5133 if test -z "${ENV}" && $rq; then 5134 if test -z ""; then 5135 as_fn_error $? "Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5136 else 5137 as_fn_error $? " 5138 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'. 5139 " "$LINENO" 5 5140 fi 5141 fi 5142 5143 if test "x" = x; then 5144 ensc_pathprog_path="${ENV}" 5145 while test -h "$ensc_pathprog_path"; do 5146 case "$ensc_pathprog_path" in 5147 ../*) ENV=`readlink -f "${ENV}"`; break ;; 5148 esac 5149 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5150 done 5151 fi 5152 5153 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;" 5154 5155 test "${ENV}" 5156 5157 5158 5159 5160 if test -z ""; then 5161 rq=true 5162 else 5163 rq=false 5164 fi 5165 5166 if $rq; then 5167 ensc_dflt= 5168 else 5169 ensc_dflt="" 5170 fi 5171 5172 for ac_prog in grep 5173 do 5174 # Extract the first word of "$ac_prog", so it can be a program name with args. 5175 set dummy $ac_prog; ac_word=$2 5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5177 $as_echo_n "checking for $ac_word... " >&6; } 5178 if ${ac_cv_path_GREP+:} false; then : 5179 $as_echo_n "(cached) " >&6 5180 else 5181 case $GREP in 5182 [\\/]* | ?:[\\/]*) 5183 ac_cv_path_GREP="$GREP" # Let the user override the test with a path. 5184 ;; 5185 *) 5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5187 for as_dir in $ensc_searchpath 5188 do 5189 IFS=$as_save_IFS 5190 test -z "$as_dir" && as_dir=. 5191 for ac_exec_ext in '' $ac_executable_extensions; do 5192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5193 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext" 5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5195 break 2 5196 fi 5197 done 5198 done 5199 IFS=$as_save_IFS 5200 5201 ;; 5202 esac 5203 fi 5204 GREP=$ac_cv_path_GREP 5205 if test -n "$GREP"; then 5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5 5207 $as_echo "$GREP" >&6; } 5208 else 5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5210 $as_echo "no" >&6; } 5211 fi 5212 5213 5214 test -n "$GREP" && break 5215 done 5216 test -n "$GREP" || GREP="$ensc_dflt" 5217 5218 5219 if test -z "${GREP}" && $rq; then 5220 if test -z ""; then 5221 as_fn_error $? "Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5222 else 5223 as_fn_error $? " 5224 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'. 5225 " "$LINENO" 5 5226 fi 5227 fi 5228 5229 if test "x" = x; then 5230 ensc_pathprog_path="${GREP}" 5231 while test -h "$ensc_pathprog_path"; do 5232 case "$ensc_pathprog_path" in 5233 ../*) GREP=`readlink -f "${GREP}"`; break ;; 5234 esac 5235 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5236 done 5237 fi 5238 5239 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;" 5240 5241 test "${GREP}" 5242 5243 5244 5245 5246 if test -z ""; then 5247 rq=true 5248 else 5249 rq=false 5250 fi 5251 5252 if $rq; then 5253 ensc_dflt= 5254 else 5255 ensc_dflt="" 5256 fi 5257 5258 for ac_prog in ln 5259 do 5260 # Extract the first word of "$ac_prog", so it can be a program name with args. 5261 set dummy $ac_prog; ac_word=$2 5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5263 $as_echo_n "checking for $ac_word... " >&6; } 5264 if ${ac_cv_path_LN+:} false; then : 5265 $as_echo_n "(cached) " >&6 5266 else 5267 case $LN in 5268 [\\/]* | ?:[\\/]*) 5269 ac_cv_path_LN="$LN" # Let the user override the test with a path. 5270 ;; 5271 *) 5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5273 for as_dir in $ensc_searchpath 5274 do 5275 IFS=$as_save_IFS 5276 test -z "$as_dir" && as_dir=. 5277 for ac_exec_ext in '' $ac_executable_extensions; do 5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5279 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" 5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5281 break 2 5282 fi 5283 done 5284 done 5285 IFS=$as_save_IFS 5286 5287 ;; 5288 esac 5289 fi 5290 LN=$ac_cv_path_LN 5291 if test -n "$LN"; then 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5 5293 $as_echo "$LN" >&6; } 5294 else 5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5296 $as_echo "no" >&6; } 5297 fi 5298 5299 5300 test -n "$LN" && break 5301 done 5302 test -n "$LN" || LN="$ensc_dflt" 5303 5304 5305 if test -z "${LN}" && $rq; then 5306 if test -z ""; then 5307 as_fn_error $? "Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5308 else 5309 as_fn_error $? " 5310 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'. 5311 " "$LINENO" 5 5312 fi 5313 fi 5314 5315 if test "x" = x; then 5316 ensc_pathprog_path="${LN}" 5317 while test -h "$ensc_pathprog_path"; do 5318 case "$ensc_pathprog_path" in 5319 ../*) LN=`readlink -f "${LN}"`; break ;; 5320 esac 5321 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5322 done 5323 fi 5324 5325 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;" 5326 5327 test "${LN}" 5328 5329 5330 5331 5332 if test -z ""; then 5333 rq=true 5334 else 5335 rq=false 5336 fi 5337 5338 if $rq; then 5339 ensc_dflt= 5340 else 5341 ensc_dflt="" 5342 fi 5343 5344 for ac_prog in mkdir 5345 do 5346 # Extract the first word of "$ac_prog", so it can be a program name with args. 5347 set dummy $ac_prog; ac_word=$2 5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5349 $as_echo_n "checking for $ac_word... " >&6; } 5350 if ${ac_cv_path_MKDIR+:} false; then : 5351 $as_echo_n "(cached) " >&6 5352 else 5353 case $MKDIR in 5354 [\\/]* | ?:[\\/]*) 5355 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. 5356 ;; 5357 *) 5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5359 for as_dir in $ensc_searchpath 5360 do 5361 IFS=$as_save_IFS 5362 test -z "$as_dir" && as_dir=. 5363 for ac_exec_ext in '' $ac_executable_extensions; do 5364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5365 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" 5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5367 break 2 5368 fi 5369 done 5370 done 5371 IFS=$as_save_IFS 5372 5373 ;; 5374 esac 5375 fi 5376 MKDIR=$ac_cv_path_MKDIR 5377 if test -n "$MKDIR"; then 5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5 5379 $as_echo "$MKDIR" >&6; } 5380 else 5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5382 $as_echo "no" >&6; } 5383 fi 5384 5385 5386 test -n "$MKDIR" && break 5387 done 5388 test -n "$MKDIR" || MKDIR="$ensc_dflt" 5389 5390 5391 if test -z "${MKDIR}" && $rq; then 5392 if test -z ""; then 5393 as_fn_error $? "Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5394 else 5395 as_fn_error $? " 5396 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'. 5397 " "$LINENO" 5 5398 fi 5399 fi 5400 5401 if test "x" = x; then 5402 ensc_pathprog_path="${MKDIR}" 5403 while test -h "$ensc_pathprog_path"; do 5404 case "$ensc_pathprog_path" in 5405 ../*) MKDIR=`readlink -f "${MKDIR}"`; break ;; 5406 esac 5407 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5408 done 5409 fi 5410 5411 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;" 5412 5413 test "${MKDIR}" 5414 5415 5416 5417 5418 if test -z ""; then 5419 rq=true 5420 else 5421 rq=false 5422 fi 5423 5424 if $rq; then 5425 ensc_dflt= 5426 else 5427 ensc_dflt="" 5428 fi 5429 5430 for ac_prog in mkfifo 5431 do 5432 # Extract the first word of "$ac_prog", so it can be a program name with args. 5433 set dummy $ac_prog; ac_word=$2 5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5435 $as_echo_n "checking for $ac_word... " >&6; } 5436 if ${ac_cv_path_MKFIFO+:} false; then : 5437 $as_echo_n "(cached) " >&6 5438 else 5439 case $MKFIFO in 5440 [\\/]* | ?:[\\/]*) 5441 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path. 5442 ;; 5443 *) 5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5445 for as_dir in $ensc_searchpath 5446 do 5447 IFS=$as_save_IFS 5448 test -z "$as_dir" && as_dir=. 5449 for ac_exec_ext in '' $ac_executable_extensions; do 5450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5451 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext" 5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5453 break 2 5454 fi 5455 done 5456 done 5457 IFS=$as_save_IFS 5458 5459 ;; 5460 esac 5461 fi 5462 MKFIFO=$ac_cv_path_MKFIFO 5463 if test -n "$MKFIFO"; then 5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFIFO" >&5 5465 $as_echo "$MKFIFO" >&6; } 5466 else 5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5468 $as_echo "no" >&6; } 5469 fi 5470 5471 5472 test -n "$MKFIFO" && break 5473 done 5474 test -n "$MKFIFO" || MKFIFO="$ensc_dflt" 5475 5476 5477 if test -z "${MKFIFO}" && $rq; then 5478 if test -z ""; then 5479 as_fn_error $? "Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5480 else 5481 as_fn_error $? " 5482 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'. 5483 " "$LINENO" 5 5484 fi 5485 fi 5486 5487 if test "x" = x; then 5488 ensc_pathprog_path="${MKFIFO}" 5489 while test -h "$ensc_pathprog_path"; do 5490 case "$ensc_pathprog_path" in 5491 ../*) MKFIFO=`readlink -f "${MKFIFO}"`; break ;; 5492 esac 5493 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5494 done 5495 fi 5496 5497 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;" 5498 5499 test "${MKFIFO}" 5500 5501 5502 5503 5504 if test -z ""; then 5505 rq=true 5506 else 5507 rq=false 5508 fi 5509 5510 if $rq; then 5511 ensc_dflt= 5512 else 5513 ensc_dflt="" 5514 fi 5515 5516 for ac_prog in mktemp 5517 do 5518 # Extract the first word of "$ac_prog", so it can be a program name with args. 5519 set dummy $ac_prog; ac_word=$2 5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5521 $as_echo_n "checking for $ac_word... " >&6; } 5522 if ${ac_cv_path_MKTEMP+:} false; then : 5523 $as_echo_n "(cached) " >&6 5524 else 5525 case $MKTEMP in 5526 [\\/]* | ?:[\\/]*) 5527 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path. 5528 ;; 5529 *) 5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5531 for as_dir in $ensc_searchpath 5532 do 5533 IFS=$as_save_IFS 5534 test -z "$as_dir" && as_dir=. 5535 for ac_exec_ext in '' $ac_executable_extensions; do 5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5537 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext" 5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5539 break 2 5540 fi 5541 done 5542 done 5543 IFS=$as_save_IFS 5544 5545 ;; 5546 esac 5547 fi 5548 MKTEMP=$ac_cv_path_MKTEMP 5549 if test -n "$MKTEMP"; then 5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKTEMP" >&5 5551 $as_echo "$MKTEMP" >&6; } 5552 else 5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5554 $as_echo "no" >&6; } 5555 fi 5556 5557 5558 test -n "$MKTEMP" && break 5559 done 5560 test -n "$MKTEMP" || MKTEMP="$ensc_dflt" 5561 5562 5563 if test -z "${MKTEMP}" && $rq; then 5564 if test -z ""; then 5565 as_fn_error $? "Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5566 else 5567 as_fn_error $? " 5568 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'. 5569 " "$LINENO" 5 5570 fi 5571 fi 5572 5573 if test "x" = x; then 5574 ensc_pathprog_path="${MKTEMP}" 5575 while test -h "$ensc_pathprog_path"; do 5576 case "$ensc_pathprog_path" in 5577 ../*) MKTEMP=`readlink -f "${MKTEMP}"`; break ;; 5578 esac 5579 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5580 done 5581 fi 5582 5583 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;" 5584 5585 test "${MKTEMP}" 5586 5587 5588 5589 5590 if test -z ""; then 5591 rq=true 5592 else 5593 rq=false 5594 fi 5595 5596 if $rq; then 5597 ensc_dflt= 5598 else 5599 ensc_dflt="" 5600 fi 5601 5602 for ac_prog in mount 5603 do 5604 # Extract the first word of "$ac_prog", so it can be a program name with args. 5605 set dummy $ac_prog; ac_word=$2 5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5607 $as_echo_n "checking for $ac_word... " >&6; } 5608 if ${ac_cv_path_MOUNT+:} false; then : 5609 $as_echo_n "(cached) " >&6 5610 else 5611 case $MOUNT in 5612 [\\/]* | ?:[\\/]*) 5613 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path. 5614 ;; 5615 *) 5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5617 for as_dir in $ensc_searchpath 5618 do 5619 IFS=$as_save_IFS 5620 test -z "$as_dir" && as_dir=. 5621 for ac_exec_ext in '' $ac_executable_extensions; do 5622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5623 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext" 5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5625 break 2 5626 fi 5627 done 5628 done 5629 IFS=$as_save_IFS 5630 5631 ;; 5632 esac 5633 fi 5634 MOUNT=$ac_cv_path_MOUNT 5635 if test -n "$MOUNT"; then 5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOUNT" >&5 5637 $as_echo "$MOUNT" >&6; } 5638 else 5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5640 $as_echo "no" >&6; } 5641 fi 5642 5643 5644 test -n "$MOUNT" && break 5645 done 5646 test -n "$MOUNT" || MOUNT="$ensc_dflt" 5647 5648 5649 if test -z "${MOUNT}" && $rq; then 5650 if test -z ""; then 5651 as_fn_error $? "Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5652 else 5653 as_fn_error $? " 5654 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'. 5655 " "$LINENO" 5 5656 fi 5657 fi 5658 5659 if test "x" = x; then 5660 ensc_pathprog_path="${MOUNT}" 5661 while test -h "$ensc_pathprog_path"; do 5662 case "$ensc_pathprog_path" in 5663 ../*) MOUNT=`readlink -f "${MOUNT}"`; break ;; 5664 esac 5665 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5666 done 5667 fi 5668 5669 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;" 5670 5671 test "${MOUNT}" 5672 5673 5674 5675 5676 if test -z ""; then 5677 rq=true 5678 else 5679 rq=false 5680 fi 5681 5682 if $rq; then 5683 ensc_dflt= 5684 else 5685 ensc_dflt="" 5686 fi 5687 5688 for ac_prog in mv 5689 do 5690 # Extract the first word of "$ac_prog", so it can be a program name with args. 5691 set dummy $ac_prog; ac_word=$2 5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5693 $as_echo_n "checking for $ac_word... " >&6; } 5694 if ${ac_cv_path_MV+:} false; then : 5695 $as_echo_n "(cached) " >&6 5696 else 5697 case $MV in 5698 [\\/]* | ?:[\\/]*) 5699 ac_cv_path_MV="$MV" # Let the user override the test with a path. 5700 ;; 5701 *) 5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5703 for as_dir in $ensc_searchpath 5704 do 5705 IFS=$as_save_IFS 5706 test -z "$as_dir" && as_dir=. 5707 for ac_exec_ext in '' $ac_executable_extensions; do 5708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5709 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" 5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5711 break 2 5712 fi 5713 done 5714 done 5715 IFS=$as_save_IFS 5716 5717 ;; 5718 esac 5719 fi 5720 MV=$ac_cv_path_MV 5721 if test -n "$MV"; then 5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 5723 $as_echo "$MV" >&6; } 5724 else 5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5726 $as_echo "no" >&6; } 5727 fi 5728 5729 5730 test -n "$MV" && break 5731 done 5732 test -n "$MV" || MV="$ensc_dflt" 5733 5734 5735 if test -z "${MV}" && $rq; then 5736 if test -z ""; then 5737 as_fn_error $? "Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5738 else 5739 as_fn_error $? " 5740 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'. 5741 " "$LINENO" 5 5742 fi 5743 fi 5744 5745 if test "x" = x; then 5746 ensc_pathprog_path="${MV}" 5747 while test -h "$ensc_pathprog_path"; do 5748 case "$ensc_pathprog_path" in 5749 ../*) MV=`readlink -f "${MV}"`; break ;; 5750 esac 5751 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5752 done 5753 fi 5754 5755 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;" 5756 5757 test "${MV}" 5758 5759 5760 5761 5762 if test -z ""; then 5763 rq=true 5764 else 5765 rq=false 5766 fi 5767 5768 if $rq; then 5769 ensc_dflt= 5770 else 5771 ensc_dflt="" 5772 fi 5773 5774 for ac_prog in nice 5775 do 5776 # Extract the first word of "$ac_prog", so it can be a program name with args. 5777 set dummy $ac_prog; ac_word=$2 5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5779 $as_echo_n "checking for $ac_word... " >&6; } 5780 if ${ac_cv_path_NICE+:} false; then : 5781 $as_echo_n "(cached) " >&6 5782 else 5783 case $NICE in 5784 [\\/]* | ?:[\\/]*) 5785 ac_cv_path_NICE="$NICE" # Let the user override the test with a path. 5786 ;; 5787 *) 5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5789 for as_dir in $ensc_searchpath 5790 do 5791 IFS=$as_save_IFS 5792 test -z "$as_dir" && as_dir=. 5793 for ac_exec_ext in '' $ac_executable_extensions; do 5794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5795 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext" 5796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5797 break 2 5798 fi 5799 done 5800 done 5801 IFS=$as_save_IFS 5802 5803 ;; 5804 esac 5805 fi 5806 NICE=$ac_cv_path_NICE 5807 if test -n "$NICE"; then 5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NICE" >&5 5809 $as_echo "$NICE" >&6; } 5810 else 5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5812 $as_echo "no" >&6; } 5813 fi 5814 5815 5816 test -n "$NICE" && break 5817 done 5818 test -n "$NICE" || NICE="$ensc_dflt" 5819 5820 5821 if test -z "${NICE}" && $rq; then 5822 if test -z ""; then 5823 as_fn_error $? "Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5824 else 5825 as_fn_error $? " 5826 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'. 5827 " "$LINENO" 5 5828 fi 5829 fi 5830 5831 if test "x" = x; then 5832 ensc_pathprog_path="${NICE}" 5833 while test -h "$ensc_pathprog_path"; do 5834 case "$ensc_pathprog_path" in 5835 ../*) NICE=`readlink -f "${NICE}"`; break ;; 5836 esac 5837 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5838 done 5839 fi 5840 5841 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;" 5842 5843 test "${NICE}" 5844 5845 5846 5847 5848 if test -z ""; then 5849 rq=true 5850 else 5851 rq=false 5852 fi 5853 5854 if $rq; then 5855 ensc_dflt= 5856 else 5857 ensc_dflt="" 5858 fi 5859 5860 for ac_prog in ps 5861 do 5862 # Extract the first word of "$ac_prog", so it can be a program name with args. 5863 set dummy $ac_prog; ac_word=$2 5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5865 $as_echo_n "checking for $ac_word... " >&6; } 5866 if ${ac_cv_path_PS+:} false; then : 5867 $as_echo_n "(cached) " >&6 5868 else 5869 case $PS in 5870 [\\/]* | ?:[\\/]*) 5871 ac_cv_path_PS="$PS" # Let the user override the test with a path. 5872 ;; 5873 *) 5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5875 for as_dir in $ensc_searchpath 5876 do 5877 IFS=$as_save_IFS 5878 test -z "$as_dir" && as_dir=. 5879 for ac_exec_ext in '' $ac_executable_extensions; do 5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5881 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" 5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5883 break 2 5884 fi 5885 done 5886 done 5887 IFS=$as_save_IFS 5888 5889 ;; 5890 esac 5891 fi 5892 PS=$ac_cv_path_PS 5893 if test -n "$PS"; then 5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS" >&5 5895 $as_echo "$PS" >&6; } 5896 else 5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5898 $as_echo "no" >&6; } 5899 fi 5900 5901 5902 test -n "$PS" && break 5903 done 5904 test -n "$PS" || PS="$ensc_dflt" 5905 5906 5907 if test -z "${PS}" && $rq; then 5908 if test -z ""; then 5909 as_fn_error $? "Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5910 else 5911 as_fn_error $? " 5912 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'. 5913 " "$LINENO" 5 5914 fi 5915 fi 5916 5917 if test "x" = x; then 5918 ensc_pathprog_path="${PS}" 5919 while test -h "$ensc_pathprog_path"; do 5920 case "$ensc_pathprog_path" in 5921 ../*) PS=`readlink -f "${PS}"`; break ;; 5922 esac 5923 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 5924 done 5925 fi 5926 5927 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;" 5928 5929 test "${PS}" 5930 5931 5932 5933 5934 if test -z ""; then 5935 rq=true 5936 else 5937 rq=false 5938 fi 5939 5940 if $rq; then 5941 ensc_dflt= 5942 else 5943 ensc_dflt="" 5944 fi 5945 5946 for ac_prog in rm 5947 do 5948 # Extract the first word of "$ac_prog", so it can be a program name with args. 5949 set dummy $ac_prog; ac_word=$2 5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5951 $as_echo_n "checking for $ac_word... " >&6; } 5952 if ${ac_cv_path_RM+:} false; then : 5953 $as_echo_n "(cached) " >&6 5954 else 5955 case $RM in 5956 [\\/]* | ?:[\\/]*) 5957 ac_cv_path_RM="$RM" # Let the user override the test with a path. 5958 ;; 5959 *) 5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5961 for as_dir in $ensc_searchpath 5962 do 5963 IFS=$as_save_IFS 5964 test -z "$as_dir" && as_dir=. 5965 for ac_exec_ext in '' $ac_executable_extensions; do 5966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5967 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" 5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5969 break 2 5970 fi 5971 done 5972 done 5973 IFS=$as_save_IFS 5974 5975 ;; 5976 esac 5977 fi 5978 RM=$ac_cv_path_RM 5979 if test -n "$RM"; then 5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 5981 $as_echo "$RM" >&6; } 5982 else 5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5984 $as_echo "no" >&6; } 5985 fi 5986 5987 5988 test -n "$RM" && break 5989 done 5990 test -n "$RM" || RM="$ensc_dflt" 5991 5992 5993 if test -z "${RM}" && $rq; then 5994 if test -z ""; then 5995 as_fn_error $? "Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 5996 else 5997 as_fn_error $? " 5998 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'. 5999 " "$LINENO" 5 6000 fi 6001 fi 6002 6003 if test "x" = x; then 6004 ensc_pathprog_path="${RM}" 6005 while test -h "$ensc_pathprog_path"; do 6006 case "$ensc_pathprog_path" in 6007 ../*) RM=`readlink -f "${RM}"`; break ;; 6008 esac 6009 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6010 done 6011 fi 6012 6013 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;" 6014 6015 test "${RM}" 6016 6017 6018 6019 6020 if test -z ""; then 6021 rq=true 6022 else 6023 rq=false 6024 fi 6025 6026 if $rq; then 6027 ensc_dflt= 6028 else 6029 ensc_dflt="" 6030 fi 6031 6032 for ac_prog in rmdir 6033 do 6034 # Extract the first word of "$ac_prog", so it can be a program name with args. 6035 set dummy $ac_prog; ac_word=$2 6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6037 $as_echo_n "checking for $ac_word... " >&6; } 6038 if ${ac_cv_path_RMDIR+:} false; then : 6039 $as_echo_n "(cached) " >&6 6040 else 6041 case $RMDIR in 6042 [\\/]* | ?:[\\/]*) 6043 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path. 6044 ;; 6045 *) 6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6047 for as_dir in $ensc_searchpath 6048 do 6049 IFS=$as_save_IFS 6050 test -z "$as_dir" && as_dir=. 6051 for ac_exec_ext in '' $ac_executable_extensions; do 6052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6053 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext" 6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6055 break 2 6056 fi 6057 done 6058 done 6059 IFS=$as_save_IFS 6060 6061 ;; 6062 esac 6063 fi 6064 RMDIR=$ac_cv_path_RMDIR 6065 if test -n "$RMDIR"; then 6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RMDIR" >&5 6067 $as_echo "$RMDIR" >&6; } 6068 else 6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6070 $as_echo "no" >&6; } 6071 fi 6072 6073 6074 test -n "$RMDIR" && break 6075 done 6076 test -n "$RMDIR" || RMDIR="$ensc_dflt" 6077 6078 6079 if test -z "${RMDIR}" && $rq; then 6080 if test -z ""; then 6081 as_fn_error $? "Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6082 else 6083 as_fn_error $? " 6084 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'. 6085 " "$LINENO" 5 6086 fi 6087 fi 6088 6089 if test "x" = x; then 6090 ensc_pathprog_path="${RMDIR}" 6091 while test -h "$ensc_pathprog_path"; do 6092 case "$ensc_pathprog_path" in 6093 ../*) RMDIR=`readlink -f "${RMDIR}"`; break ;; 6094 esac 6095 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6096 done 6097 fi 6098 6099 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;" 6100 6101 test "${RMDIR}" 6102 6103 6104 6105 6106 if test -z ""; then 6107 rq=true 6108 else 6109 rq=false 6110 fi 6111 6112 if $rq; then 6113 ensc_dflt= 6114 else 6115 ensc_dflt="" 6116 fi 6117 6118 for ac_prog in sed 6119 do 6120 # Extract the first word of "$ac_prog", so it can be a program name with args. 6121 set dummy $ac_prog; ac_word=$2 6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6123 $as_echo_n "checking for $ac_word... " >&6; } 6124 if ${ac_cv_path_SED+:} false; then : 6125 $as_echo_n "(cached) " >&6 6126 else 6127 case $SED in 6128 [\\/]* | ?:[\\/]*) 6129 ac_cv_path_SED="$SED" # Let the user override the test with a path. 6130 ;; 6131 *) 6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6133 for as_dir in $ensc_searchpath 6134 do 6135 IFS=$as_save_IFS 6136 test -z "$as_dir" && as_dir=. 6137 for ac_exec_ext in '' $ac_executable_extensions; do 6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6139 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" 6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6141 break 2 6142 fi 6143 done 6144 done 6145 IFS=$as_save_IFS 6146 6147 ;; 6148 esac 6149 fi 6150 SED=$ac_cv_path_SED 6151 if test -n "$SED"; then 6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 6153 $as_echo "$SED" >&6; } 6154 else 6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6156 $as_echo "no" >&6; } 6157 fi 6158 6159 6160 test -n "$SED" && break 6161 done 6162 test -n "$SED" || SED="$ensc_dflt" 6163 6164 6165 if test -z "${SED}" && $rq; then 6166 if test -z ""; then 6167 as_fn_error $? "Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6168 else 6169 as_fn_error $? " 6170 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'. 6171 " "$LINENO" 5 6172 fi 6173 fi 6174 6175 if test "x" = x; then 6176 ensc_pathprog_path="${SED}" 6177 while test -h "$ensc_pathprog_path"; do 6178 case "$ensc_pathprog_path" in 6179 ../*) SED=`readlink -f "${SED}"`; break ;; 6180 esac 6181 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6182 done 6183 fi 6184 6185 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;" 6186 6187 test "${SED}" 6188 6189 6190 6191 6192 if test -z ""; then 6193 rq=true 6194 else 6195 rq=false 6196 fi 6197 6198 if $rq; then 6199 ensc_dflt= 6200 else 6201 ensc_dflt="" 6202 fi 6203 6204 for ac_prog in sh 6205 do 6206 # Extract the first word of "$ac_prog", so it can be a program name with args. 6207 set dummy $ac_prog; ac_word=$2 6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6209 $as_echo_n "checking for $ac_word... " >&6; } 6210 if ${ac_cv_path_SH+:} false; then : 6211 $as_echo_n "(cached) " >&6 6212 else 6213 case $SH in 6214 [\\/]* | ?:[\\/]*) 6215 ac_cv_path_SH="$SH" # Let the user override the test with a path. 6216 ;; 6217 *) 6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6219 for as_dir in $ensc_searchpath 6220 do 6221 IFS=$as_save_IFS 6222 test -z "$as_dir" && as_dir=. 6223 for ac_exec_ext in '' $ac_executable_extensions; do 6224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6225 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" 6226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6227 break 2 6228 fi 6229 done 6230 done 6231 IFS=$as_save_IFS 6232 6233 ;; 6234 esac 6235 fi 6236 SH=$ac_cv_path_SH 6237 if test -n "$SH"; then 6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5 6239 $as_echo "$SH" >&6; } 6240 else 6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6242 $as_echo "no" >&6; } 6243 fi 6244 6245 6246 test -n "$SH" && break 6247 done 6248 test -n "$SH" || SH="$ensc_dflt" 6249 6250 6251 if test -z "${SH}" && $rq; then 6252 if test -z ""; then 6253 as_fn_error $? "Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6254 else 6255 as_fn_error $? " 6256 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'. 6257 " "$LINENO" 5 6258 fi 6259 fi 6260 6261 if test "x" = x; then 6262 ensc_pathprog_path="${SH}" 6263 while test -h "$ensc_pathprog_path"; do 6264 case "$ensc_pathprog_path" in 6265 ../*) SH=`readlink -f "${SH}"`; break ;; 6266 esac 6267 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6268 done 6269 fi 6270 6271 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;" 6272 6273 test "${SH}" 6274 6275 6276 6277 6278 if test -z ""; then 6279 rq=true 6280 else 6281 rq=false 6282 fi 6283 6284 if $rq; then 6285 ensc_dflt= 6286 else 6287 ensc_dflt="" 6288 fi 6289 6290 for ac_prog in tac 6291 do 6292 # Extract the first word of "$ac_prog", so it can be a program name with args. 6293 set dummy $ac_prog; ac_word=$2 6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6295 $as_echo_n "checking for $ac_word... " >&6; } 6296 if ${ac_cv_path_TAC+:} false; then : 6297 $as_echo_n "(cached) " >&6 6298 else 6299 case $TAC in 6300 [\\/]* | ?:[\\/]*) 6301 ac_cv_path_TAC="$TAC" # Let the user override the test with a path. 6302 ;; 6303 *) 6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6305 for as_dir in $ensc_searchpath 6306 do 6307 IFS=$as_save_IFS 6308 test -z "$as_dir" && as_dir=. 6309 for ac_exec_ext in '' $ac_executable_extensions; do 6310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6311 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext" 6312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6313 break 2 6314 fi 6315 done 6316 done 6317 IFS=$as_save_IFS 6318 6319 ;; 6320 esac 6321 fi 6322 TAC=$ac_cv_path_TAC 6323 if test -n "$TAC"; then 6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAC" >&5 6325 $as_echo "$TAC" >&6; } 6326 else 6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6328 $as_echo "no" >&6; } 6329 fi 6330 6331 6332 test -n "$TAC" && break 6333 done 6334 test -n "$TAC" || TAC="$ensc_dflt" 6335 6336 6337 if test -z "${TAC}" && $rq; then 6338 if test -z ""; then 6339 as_fn_error $? "Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6340 else 6341 as_fn_error $? " 6342 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'. 6343 " "$LINENO" 5 6344 fi 6345 fi 6346 6347 if test "x" = x; then 6348 ensc_pathprog_path="${TAC}" 6349 while test -h "$ensc_pathprog_path"; do 6350 case "$ensc_pathprog_path" in 6351 ../*) TAC=`readlink -f "${TAC}"`; break ;; 6352 esac 6353 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6354 done 6355 fi 6356 6357 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;" 6358 6359 test "${TAC}" 6360 6361 6362 6363 6364 if test -z ""; then 6365 rq=true 6366 else 6367 rq=false 6368 fi 6369 6370 if $rq; then 6371 ensc_dflt= 6372 else 6373 ensc_dflt="" 6374 fi 6375 6376 for ac_prog in tar 6377 do 6378 # Extract the first word of "$ac_prog", so it can be a program name with args. 6379 set dummy $ac_prog; ac_word=$2 6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6381 $as_echo_n "checking for $ac_word... " >&6; } 6382 if ${ac_cv_path_TAR+:} false; then : 6383 $as_echo_n "(cached) " >&6 6384 else 6385 case $TAR in 6386 [\\/]* | ?:[\\/]*) 6387 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. 6388 ;; 6389 *) 6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6391 for as_dir in $ensc_searchpath 6392 do 6393 IFS=$as_save_IFS 6394 test -z "$as_dir" && as_dir=. 6395 for ac_exec_ext in '' $ac_executable_extensions; do 6396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6397 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" 6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6399 break 2 6400 fi 6401 done 6402 done 6403 IFS=$as_save_IFS 6404 6405 ;; 6406 esac 6407 fi 6408 TAR=$ac_cv_path_TAR 6409 if test -n "$TAR"; then 6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 6411 $as_echo "$TAR" >&6; } 6412 else 6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6414 $as_echo "no" >&6; } 6415 fi 6416 6417 6418 test -n "$TAR" && break 6419 done 6420 test -n "$TAR" || TAR="$ensc_dflt" 6421 6422 6423 if test -z "${TAR}" && $rq; then 6424 if test -z ""; then 6425 as_fn_error $? "Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6426 else 6427 as_fn_error $? " 6428 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'. 6429 " "$LINENO" 5 6430 fi 6431 fi 6432 6433 if test "x" = x; then 6434 ensc_pathprog_path="${TAR}" 6435 while test -h "$ensc_pathprog_path"; do 6436 case "$ensc_pathprog_path" in 6437 ../*) TAR=`readlink -f "${TAR}"`; break ;; 6438 esac 6439 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6440 done 6441 fi 6442 6443 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;" 6444 6445 test "${TAR}" 6446 6447 6448 6449 6450 if test -z ""; then 6451 rq=true 6452 else 6453 rq=false 6454 fi 6455 6456 if $rq; then 6457 ensc_dflt= 6458 else 6459 ensc_dflt="" 6460 fi 6461 6462 for ac_prog in touch 6463 do 6464 # Extract the first word of "$ac_prog", so it can be a program name with args. 6465 set dummy $ac_prog; ac_word=$2 6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6467 $as_echo_n "checking for $ac_word... " >&6; } 6468 if ${ac_cv_path_TOUCH+:} false; then : 6469 $as_echo_n "(cached) " >&6 6470 else 6471 case $TOUCH in 6472 [\\/]* | ?:[\\/]*) 6473 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path. 6474 ;; 6475 *) 6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6477 for as_dir in $ensc_searchpath 6478 do 6479 IFS=$as_save_IFS 6480 test -z "$as_dir" && as_dir=. 6481 for ac_exec_ext in '' $ac_executable_extensions; do 6482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6483 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext" 6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6485 break 2 6486 fi 6487 done 6488 done 6489 IFS=$as_save_IFS 6490 6491 ;; 6492 esac 6493 fi 6494 TOUCH=$ac_cv_path_TOUCH 6495 if test -n "$TOUCH"; then 6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5 6497 $as_echo "$TOUCH" >&6; } 6498 else 6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6500 $as_echo "no" >&6; } 6501 fi 6502 6503 6504 test -n "$TOUCH" && break 6505 done 6506 test -n "$TOUCH" || TOUCH="$ensc_dflt" 6507 6508 6509 if test -z "${TOUCH}" && $rq; then 6510 if test -z ""; then 6511 as_fn_error $? "Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6512 else 6513 as_fn_error $? " 6514 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'. 6515 " "$LINENO" 5 6516 fi 6517 fi 6518 6519 if test "x" = x; then 6520 ensc_pathprog_path="${TOUCH}" 6521 while test -h "$ensc_pathprog_path"; do 6522 case "$ensc_pathprog_path" in 6523 ../*) TOUCH=`readlink -f "${TOUCH}"`; break ;; 6524 esac 6525 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6526 done 6527 fi 6528 6529 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;" 6530 6531 test "${TOUCH}" 6532 6533 6534 6535 6536 if test -z ""; then 6537 rq=true 6538 else 6539 rq=false 6540 fi 6541 6542 if $rq; then 6543 ensc_dflt= 6544 else 6545 ensc_dflt="" 6546 fi 6547 6548 for ac_prog in tty 6549 do 6550 # Extract the first word of "$ac_prog", so it can be a program name with args. 6551 set dummy $ac_prog; ac_word=$2 6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6553 $as_echo_n "checking for $ac_word... " >&6; } 6554 if ${ac_cv_path_TTY+:} false; then : 6555 $as_echo_n "(cached) " >&6 6556 else 6557 case $TTY in 6558 [\\/]* | ?:[\\/]*) 6559 ac_cv_path_TTY="$TTY" # Let the user override the test with a path. 6560 ;; 6561 *) 6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6563 for as_dir in $ensc_searchpath 6564 do 6565 IFS=$as_save_IFS 6566 test -z "$as_dir" && as_dir=. 6567 for ac_exec_ext in '' $ac_executable_extensions; do 6568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6569 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext" 6570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6571 break 2 6572 fi 6573 done 6574 done 6575 IFS=$as_save_IFS 6576 6577 ;; 6578 esac 6579 fi 6580 TTY=$ac_cv_path_TTY 6581 if test -n "$TTY"; then 6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TTY" >&5 6583 $as_echo "$TTY" >&6; } 6584 else 6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6586 $as_echo "no" >&6; } 6587 fi 6588 6589 6590 test -n "$TTY" && break 6591 done 6592 test -n "$TTY" || TTY="$ensc_dflt" 6593 6594 6595 if test -z "${TTY}" && $rq; then 6596 if test -z ""; then 6597 as_fn_error $? "Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6598 else 6599 as_fn_error $? " 6600 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'. 6601 " "$LINENO" 5 6602 fi 6603 fi 6604 6605 if test "x" = x; then 6606 ensc_pathprog_path="${TTY}" 6607 while test -h "$ensc_pathprog_path"; do 6608 case "$ensc_pathprog_path" in 6609 ../*) TTY=`readlink -f "${TTY}"`; break ;; 6610 esac 6611 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6612 done 6613 fi 6614 6615 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;" 6616 6617 test "${TTY}" 6618 6619 6620 6621 6622 if test -z ""; then 6623 rq=true 6624 else 6625 rq=false 6626 fi 6627 6628 if $rq; then 6629 ensc_dflt= 6630 else 6631 ensc_dflt="" 6632 fi 6633 6634 for ac_prog in umount 6635 do 6636 # Extract the first word of "$ac_prog", so it can be a program name with args. 6637 set dummy $ac_prog; ac_word=$2 6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6639 $as_echo_n "checking for $ac_word... " >&6; } 6640 if ${ac_cv_path_UMOUNT+:} false; then : 6641 $as_echo_n "(cached) " >&6 6642 else 6643 case $UMOUNT in 6644 [\\/]* | ?:[\\/]*) 6645 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path. 6646 ;; 6647 *) 6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6649 for as_dir in $ensc_searchpath 6650 do 6651 IFS=$as_save_IFS 6652 test -z "$as_dir" && as_dir=. 6653 for ac_exec_ext in '' $ac_executable_extensions; do 6654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6655 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext" 6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6657 break 2 6658 fi 6659 done 6660 done 6661 IFS=$as_save_IFS 6662 6663 ;; 6664 esac 6665 fi 6666 UMOUNT=$ac_cv_path_UMOUNT 6667 if test -n "$UMOUNT"; then 6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UMOUNT" >&5 6669 $as_echo "$UMOUNT" >&6; } 6670 else 6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6672 $as_echo "no" >&6; } 6673 fi 6674 6675 6676 test -n "$UMOUNT" && break 6677 done 6678 test -n "$UMOUNT" || UMOUNT="$ensc_dflt" 6679 6680 6681 if test -z "${UMOUNT}" && $rq; then 6682 if test -z ""; then 6683 as_fn_error $? "Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6684 else 6685 as_fn_error $? " 6686 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'. 6687 " "$LINENO" 5 6688 fi 6689 fi 6690 6691 if test "x" = x; then 6692 ensc_pathprog_path="${UMOUNT}" 6693 while test -h "$ensc_pathprog_path"; do 6694 case "$ensc_pathprog_path" in 6695 ../*) UMOUNT=`readlink -f "${UMOUNT}"`; break ;; 6696 esac 6697 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6698 done 6699 fi 6700 6701 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;" 6702 6703 test "${UMOUNT}" 6704 6705 6706 6707 6708 if test -z ""; then 6709 rq=true 6710 else 6711 rq=false 6712 fi 6713 6714 if $rq; then 6715 ensc_dflt= 6716 else 6717 ensc_dflt="" 6718 fi 6719 6720 for ac_prog in wc 6721 do 6722 # Extract the first word of "$ac_prog", so it can be a program name with args. 6723 set dummy $ac_prog; ac_word=$2 6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6725 $as_echo_n "checking for $ac_word... " >&6; } 6726 if ${ac_cv_path_WC+:} false; then : 6727 $as_echo_n "(cached) " >&6 6728 else 6729 case $WC in 6730 [\\/]* | ?:[\\/]*) 6731 ac_cv_path_WC="$WC" # Let the user override the test with a path. 6732 ;; 6733 *) 6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6735 for as_dir in $ensc_searchpath 6736 do 6737 IFS=$as_save_IFS 6738 test -z "$as_dir" && as_dir=. 6739 for ac_exec_ext in '' $ac_executable_extensions; do 6740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6741 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext" 6742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6743 break 2 6744 fi 6745 done 6746 done 6747 IFS=$as_save_IFS 6748 6749 ;; 6750 esac 6751 fi 6752 WC=$ac_cv_path_WC 6753 if test -n "$WC"; then 6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WC" >&5 6755 $as_echo "$WC" >&6; } 6756 else 6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6758 $as_echo "no" >&6; } 6759 fi 6760 6761 6762 test -n "$WC" && break 6763 done 6764 test -n "$WC" || WC="$ensc_dflt" 6765 6766 6767 if test -z "${WC}" && $rq; then 6768 if test -z ""; then 6769 as_fn_error $? "Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6770 else 6771 as_fn_error $? " 6772 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'. 6773 " "$LINENO" 5 6774 fi 6775 fi 6776 6777 if test "x" = x; then 6778 ensc_pathprog_path="${WC}" 6779 while test -h "$ensc_pathprog_path"; do 6780 case "$ensc_pathprog_path" in 6781 ../*) WC=`readlink -f "${WC}"`; break ;; 6782 esac 6783 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6784 done 6785 fi 6786 6787 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;" 6788 6789 test "${WC}" 6790 6791 6792 6793 6794 6795 6796 if test -z ""; then 6797 rq=true 6798 else 6799 rq=false 6800 fi 6801 6802 if $rq; then 6803 ensc_dflt= 6804 else 6805 ensc_dflt="" 6806 fi 6807 6808 for ac_prog in ip 6809 do 6810 # Extract the first word of "$ac_prog", so it can be a program name with args. 6811 set dummy $ac_prog; ac_word=$2 6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6813 $as_echo_n "checking for $ac_word... " >&6; } 6814 if ${ac_cv_path_IP+:} false; then : 6815 $as_echo_n "(cached) " >&6 6816 else 6817 case $IP in 6818 [\\/]* | ?:[\\/]*) 6819 ac_cv_path_IP="$IP" # Let the user override the test with a path. 6820 ;; 6821 *) 6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6823 for as_dir in $ensc_searchpath 6824 do 6825 IFS=$as_save_IFS 6826 test -z "$as_dir" && as_dir=. 6827 for ac_exec_ext in '' $ac_executable_extensions; do 6828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6829 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext" 6830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6831 break 2 6832 fi 6833 done 6834 done 6835 IFS=$as_save_IFS 6836 6837 ;; 6838 esac 6839 fi 6840 IP=$ac_cv_path_IP 6841 if test -n "$IP"; then 6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IP" >&5 6843 $as_echo "$IP" >&6; } 6844 else 6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6846 $as_echo "no" >&6; } 6847 fi 6848 6849 6850 test -n "$IP" && break 6851 done 6852 test -n "$IP" || IP="$ensc_dflt" 6853 6854 6855 if test -z "${IP}" && $rq; then 6856 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then 6857 as_fn_error $? "Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6858 else 6859 as_fn_error $? " 6860 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'. 6861 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" "$LINENO" 5 6862 fi 6863 fi 6864 6865 if test "x" = x; then 6866 ensc_pathprog_path="${IP}" 6867 while test -h "$ensc_pathprog_path"; do 6868 case "$ensc_pathprog_path" in 6869 ../*) IP=`readlink -f "${IP}"`; break ;; 6870 esac 6871 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6872 done 6873 fi 6874 6875 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;" 6876 6877 test "${IP}" 6878 6879 6880 6881 6882 if test -z ""; then 6883 rq=true 6884 else 6885 rq=false 6886 fi 6887 6888 if $rq; then 6889 ensc_dflt= 6890 else 6891 ensc_dflt="" 6892 fi 6893 6894 for ac_prog in iptables 6895 do 6896 # Extract the first word of "$ac_prog", so it can be a program name with args. 6897 set dummy $ac_prog; ac_word=$2 6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6899 $as_echo_n "checking for $ac_word... " >&6; } 6900 if ${ac_cv_path_IPTABLES+:} false; then : 6901 $as_echo_n "(cached) " >&6 6902 else 6903 case $IPTABLES in 6904 [\\/]* | ?:[\\/]*) 6905 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path. 6906 ;; 6907 *) 6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6909 for as_dir in $ensc_searchpath 6910 do 6911 IFS=$as_save_IFS 6912 test -z "$as_dir" && as_dir=. 6913 for ac_exec_ext in '' $ac_executable_extensions; do 6914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6915 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext" 6916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6917 break 2 6918 fi 6919 done 6920 done 6921 IFS=$as_save_IFS 6922 6923 ;; 6924 esac 6925 fi 6926 IPTABLES=$ac_cv_path_IPTABLES 6927 if test -n "$IPTABLES"; then 6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPTABLES" >&5 6929 $as_echo "$IPTABLES" >&6; } 6930 else 6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6932 $as_echo "no" >&6; } 6933 fi 6934 6935 6936 test -n "$IPTABLES" && break 6937 done 6938 test -n "$IPTABLES" || IPTABLES="$ensc_dflt" 6939 6940 6941 if test -z "${IPTABLES}" && $rq; then 6942 if test -z ""; then 6943 as_fn_error $? "Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 6944 else 6945 as_fn_error $? " 6946 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'. 6947 " "$LINENO" 5 6948 fi 6949 fi 6950 6951 if test "x" = x; then 6952 ensc_pathprog_path="${IPTABLES}" 6953 while test -h "$ensc_pathprog_path"; do 6954 case "$ensc_pathprog_path" in 6955 ../*) IPTABLES=`readlink -f "${IPTABLES}"`; break ;; 6956 esac 6957 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 6958 done 6959 fi 6960 6961 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;" 6962 6963 test "${IPTABLES}" 6964 6965 6966 6967 6968 if test -z ""; then 6969 rq=true 6970 else 6971 rq=false 6972 fi 6973 6974 if $rq; then 6975 ensc_dflt= 6976 else 6977 ensc_dflt="" 6978 fi 6979 6980 for ac_prog in modprobe 6981 do 6982 # Extract the first word of "$ac_prog", so it can be a program name with args. 6983 set dummy $ac_prog; ac_word=$2 6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6985 $as_echo_n "checking for $ac_word... " >&6; } 6986 if ${ac_cv_path_MODPROBE+:} false; then : 6987 $as_echo_n "(cached) " >&6 6988 else 6989 case $MODPROBE in 6990 [\\/]* | ?:[\\/]*) 6991 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path. 6992 ;; 6993 *) 6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6995 for as_dir in $ensc_searchpath 6996 do 6997 IFS=$as_save_IFS 6998 test -z "$as_dir" && as_dir=. 6999 for ac_exec_ext in '' $ac_executable_extensions; do 7000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7001 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext" 7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7003 break 2 7004 fi 7005 done 7006 done 7007 IFS=$as_save_IFS 7008 7009 ;; 7010 esac 7011 fi 7012 MODPROBE=$ac_cv_path_MODPROBE 7013 if test -n "$MODPROBE"; then 7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MODPROBE" >&5 7015 $as_echo "$MODPROBE" >&6; } 7016 else 7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7018 $as_echo "no" >&6; } 7019 fi 7020 7021 7022 test -n "$MODPROBE" && break 7023 done 7024 test -n "$MODPROBE" || MODPROBE="$ensc_dflt" 7025 7026 7027 if test -z "${MODPROBE}" && $rq; then 7028 if test -z ""; then 7029 as_fn_error $? "Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7030 else 7031 as_fn_error $? " 7032 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'. 7033 " "$LINENO" 5 7034 fi 7035 fi 7036 7037 if test "x" = x; then 7038 ensc_pathprog_path="${MODPROBE}" 7039 while test -h "$ensc_pathprog_path"; do 7040 case "$ensc_pathprog_path" in 7041 ../*) MODPROBE=`readlink -f "${MODPROBE}"`; break ;; 7042 esac 7043 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7044 done 7045 fi 7046 7047 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;" 7048 7049 test "${MODPROBE}" 7050 7051 7052 7053 7054 if test -z ""; then 7055 rq=true 7056 else 7057 rq=false 7058 fi 7059 7060 if $rq; then 7061 ensc_dflt= 7062 else 7063 ensc_dflt="" 7064 fi 7065 7066 for ac_prog in nameif 7067 do 7068 # Extract the first word of "$ac_prog", so it can be a program name with args. 7069 set dummy $ac_prog; ac_word=$2 7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7071 $as_echo_n "checking for $ac_word... " >&6; } 7072 if ${ac_cv_path_NAMEIF+:} false; then : 7073 $as_echo_n "(cached) " >&6 7074 else 7075 case $NAMEIF in 7076 [\\/]* | ?:[\\/]*) 7077 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path. 7078 ;; 7079 *) 7080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7081 for as_dir in $ensc_searchpath 7082 do 7083 IFS=$as_save_IFS 7084 test -z "$as_dir" && as_dir=. 7085 for ac_exec_ext in '' $ac_executable_extensions; do 7086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7087 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext" 7088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7089 break 2 7090 fi 7091 done 7092 done 7093 IFS=$as_save_IFS 7094 7095 ;; 7096 esac 7097 fi 7098 NAMEIF=$ac_cv_path_NAMEIF 7099 if test -n "$NAMEIF"; then 7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NAMEIF" >&5 7101 $as_echo "$NAMEIF" >&6; } 7102 else 7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7104 $as_echo "no" >&6; } 7105 fi 7106 7107 7108 test -n "$NAMEIF" && break 7109 done 7110 test -n "$NAMEIF" || NAMEIF="$ensc_dflt" 7111 7112 7113 if test -z "${NAMEIF}" && $rq; then 7114 if test -z ""; then 7115 as_fn_error $? "Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7116 else 7117 as_fn_error $? " 7118 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'. 7119 " "$LINENO" 5 7120 fi 7121 fi 7122 7123 if test "x" = x; then 7124 ensc_pathprog_path="${NAMEIF}" 7125 while test -h "$ensc_pathprog_path"; do 7126 case "$ensc_pathprog_path" in 7127 ../*) NAMEIF=`readlink -f "${NAMEIF}"`; break ;; 7128 esac 7129 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7130 done 7131 fi 7132 7133 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;" 7134 7135 test "${NAMEIF}" 7136 7137 7138 7139 7140 if test -z ""; then 7141 rq=true 7142 else 7143 rq=false 7144 fi 7145 7146 if $rq; then 7147 ensc_dflt= 7148 else 7149 ensc_dflt="" 7150 fi 7151 7152 for ac_prog in nohup 7153 do 7154 # Extract the first word of "$ac_prog", so it can be a program name with args. 7155 set dummy $ac_prog; ac_word=$2 7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7157 $as_echo_n "checking for $ac_word... " >&6; } 7158 if ${ac_cv_path_NOHUP+:} false; then : 7159 $as_echo_n "(cached) " >&6 7160 else 7161 case $NOHUP in 7162 [\\/]* | ?:[\\/]*) 7163 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path. 7164 ;; 7165 *) 7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7167 for as_dir in $ensc_searchpath 7168 do 7169 IFS=$as_save_IFS 7170 test -z "$as_dir" && as_dir=. 7171 for ac_exec_ext in '' $ac_executable_extensions; do 7172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7173 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext" 7174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7175 break 2 7176 fi 7177 done 7178 done 7179 IFS=$as_save_IFS 7180 7181 ;; 7182 esac 7183 fi 7184 NOHUP=$ac_cv_path_NOHUP 7185 if test -n "$NOHUP"; then 7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOHUP" >&5 7187 $as_echo "$NOHUP" >&6; } 7188 else 7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7190 $as_echo "no" >&6; } 7191 fi 7192 7193 7194 test -n "$NOHUP" && break 7195 done 7196 test -n "$NOHUP" || NOHUP="$ensc_dflt" 7197 7198 7199 if test -z "${NOHUP}" && $rq; then 7200 if test -z ""; then 7201 as_fn_error $? "Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7202 else 7203 as_fn_error $? " 7204 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'. 7205 " "$LINENO" 5 7206 fi 7207 fi 7208 7209 if test "x" = x; then 7210 ensc_pathprog_path="${NOHUP}" 7211 while test -h "$ensc_pathprog_path"; do 7212 case "$ensc_pathprog_path" in 7213 ../*) NOHUP=`readlink -f "${NOHUP}"`; break ;; 7214 esac 7215 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7216 done 7217 fi 7218 7219 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;" 7220 7221 test "${NOHUP}" 7222 7223 7224 7225 7226 if test -z ""; then 7227 rq=true 7228 else 7229 rq=false 7230 fi 7231 7232 if $rq; then 7233 ensc_dflt= 7234 else 7235 ensc_dflt="" 7236 fi 7237 7238 for ac_prog in rmmod 7239 do 7240 # Extract the first word of "$ac_prog", so it can be a program name with args. 7241 set dummy $ac_prog; ac_word=$2 7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7243 $as_echo_n "checking for $ac_word... " >&6; } 7244 if ${ac_cv_path_RMMOD+:} false; then : 7245 $as_echo_n "(cached) " >&6 7246 else 7247 case $RMMOD in 7248 [\\/]* | ?:[\\/]*) 7249 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path. 7250 ;; 7251 *) 7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7253 for as_dir in $ensc_searchpath 7254 do 7255 IFS=$as_save_IFS 7256 test -z "$as_dir" && as_dir=. 7257 for ac_exec_ext in '' $ac_executable_extensions; do 7258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7259 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext" 7260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7261 break 2 7262 fi 7263 done 7264 done 7265 IFS=$as_save_IFS 7266 7267 ;; 7268 esac 7269 fi 7270 RMMOD=$ac_cv_path_RMMOD 7271 if test -n "$RMMOD"; then 7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RMMOD" >&5 7273 $as_echo "$RMMOD" >&6; } 7274 else 7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7276 $as_echo "no" >&6; } 7277 fi 7278 7279 7280 test -n "$RMMOD" && break 7281 done 7282 test -n "$RMMOD" || RMMOD="$ensc_dflt" 7283 7284 7285 if test -z "${RMMOD}" && $rq; then 7286 if test -z ""; then 7287 as_fn_error $? "Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7288 else 7289 as_fn_error $? " 7290 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'. 7291 " "$LINENO" 5 7292 fi 7293 fi 7294 7295 if test "x" = x; then 7296 ensc_pathprog_path="${RMMOD}" 7297 while test -h "$ensc_pathprog_path"; do 7298 case "$ensc_pathprog_path" in 7299 ../*) RMMOD=`readlink -f "${RMMOD}"`; break ;; 7300 esac 7301 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7302 done 7303 fi 7304 7305 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;" 7306 7307 test "${RMMOD}" 7308 7309 7310 7311 7312 if test -z ""; then 7313 rq=true 7314 else 7315 rq=false 7316 fi 7317 7318 if $rq; then 7319 ensc_dflt= 7320 else 7321 ensc_dflt="" 7322 fi 7323 7324 for ac_prog in wget 7325 do 7326 # Extract the first word of "$ac_prog", so it can be a program name with args. 7327 set dummy $ac_prog; ac_word=$2 7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7329 $as_echo_n "checking for $ac_word... " >&6; } 7330 if ${ac_cv_path_WGET+:} false; then : 7331 $as_echo_n "(cached) " >&6 7332 else 7333 case $WGET in 7334 [\\/]* | ?:[\\/]*) 7335 ac_cv_path_WGET="$WGET" # Let the user override the test with a path. 7336 ;; 7337 *) 7338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7339 for as_dir in $ensc_searchpath 7340 do 7341 IFS=$as_save_IFS 7342 test -z "$as_dir" && as_dir=. 7343 for ac_exec_ext in '' $ac_executable_extensions; do 7344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7345 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext" 7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7347 break 2 7348 fi 7349 done 7350 done 7351 IFS=$as_save_IFS 7352 7353 ;; 7354 esac 7355 fi 7356 WGET=$ac_cv_path_WGET 7357 if test -n "$WGET"; then 7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5 7359 $as_echo "$WGET" >&6; } 7360 else 7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7362 $as_echo "no" >&6; } 7363 fi 7364 7365 7366 test -n "$WGET" && break 7367 done 7368 test -n "$WGET" || WGET="$ensc_dflt" 7369 7370 7371 if test -z "${WGET}" && $rq; then 7372 if test -z ""; then 7373 as_fn_error $? "Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7374 else 7375 as_fn_error $? " 7376 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'. 7377 " "$LINENO" 5 7378 fi 7379 fi 7380 7381 if test "x" = x; then 7382 ensc_pathprog_path="${WGET}" 7383 while test -h "$ensc_pathprog_path"; do 7384 case "$ensc_pathprog_path" in 7385 ../*) WGET=`readlink -f "${WGET}"`; break ;; 7386 esac 7387 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7388 done 7389 fi 7390 7391 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;" 7392 7393 test "${WGET}" 7394 7395 7396 7397 7398 if test -z ""; then 7399 rq=true 7400 else 7401 rq=false 7402 fi 7403 7404 if $rq; then 7405 ensc_dflt= 7406 else 7407 ensc_dflt="" 7408 fi 7409 7410 for ac_prog in ionice 7411 do 7412 # Extract the first word of "$ac_prog", so it can be a program name with args. 7413 set dummy $ac_prog; ac_word=$2 7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7415 $as_echo_n "checking for $ac_word... " >&6; } 7416 if ${ac_cv_path_IONICE+:} false; then : 7417 $as_echo_n "(cached) " >&6 7418 else 7419 case $IONICE in 7420 [\\/]* | ?:[\\/]*) 7421 ac_cv_path_IONICE="$IONICE" # Let the user override the test with a path. 7422 ;; 7423 *) 7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7425 for as_dir in $ensc_searchpath 7426 do 7427 IFS=$as_save_IFS 7428 test -z "$as_dir" && as_dir=. 7429 for ac_exec_ext in '' $ac_executable_extensions; do 7430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7431 ac_cv_path_IONICE="$as_dir/$ac_word$ac_exec_ext" 7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7433 break 2 7434 fi 7435 done 7436 done 7437 IFS=$as_save_IFS 7438 7439 ;; 7440 esac 7441 fi 7442 IONICE=$ac_cv_path_IONICE 7443 if test -n "$IONICE"; then 7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IONICE" >&5 7445 $as_echo "$IONICE" >&6; } 7446 else 7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7448 $as_echo "no" >&6; } 7449 fi 7450 7451 7452 test -n "$IONICE" && break 7453 done 7454 test -n "$IONICE" || IONICE="$ensc_dflt" 7455 7456 7457 if test -z "${IONICE}" && $rq; then 7458 if test -z "This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package"; then 7459 as_fn_error $? "Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7460 else 7461 as_fn_error $? " 7462 Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'. 7463 This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package" "$LINENO" 5 7464 fi 7465 fi 7466 7467 if test "x" = x; then 7468 ensc_pathprog_path="${IONICE}" 7469 while test -h "$ensc_pathprog_path"; do 7470 case "$ensc_pathprog_path" in 7471 ../*) IONICE=`readlink -f "${IONICE}"`; break ;; 7472 esac 7473 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7474 done 7475 fi 7476 7477 test "${IONICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IONICE'@!${IONICE}!g;" 7478 7479 test "${IONICE}" 7480 7481 7482 7483 7484 if test -z "file"; then 7485 rq=true 7486 else 7487 rq=false 7488 fi 7489 7490 if $rq; then 7491 ensc_dflt= 7492 else 7493 ensc_dflt="file" 7494 fi 7495 7496 for ac_prog in file 7497 do 7498 # Extract the first word of "$ac_prog", so it can be a program name with args. 7499 set dummy $ac_prog; ac_word=$2 7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7501 $as_echo_n "checking for $ac_word... " >&6; } 7502 if ${ac_cv_path_FILE+:} false; then : 7503 $as_echo_n "(cached) " >&6 7504 else 7505 case $FILE in 7506 [\\/]* | ?:[\\/]*) 7507 ac_cv_path_FILE="$FILE" # Let the user override the test with a path. 7508 ;; 7509 *) 7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7511 for as_dir in $ensc_searchpath 7512 do 7513 IFS=$as_save_IFS 7514 test -z "$as_dir" && as_dir=. 7515 for ac_exec_ext in '' $ac_executable_extensions; do 7516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7517 ac_cv_path_FILE="$as_dir/$ac_word$ac_exec_ext" 7518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7519 break 2 7520 fi 7521 done 7522 done 7523 IFS=$as_save_IFS 7524 7525 ;; 7526 esac 7527 fi 7528 FILE=$ac_cv_path_FILE 7529 if test -n "$FILE"; then 7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FILE" >&5 7531 $as_echo "$FILE" >&6; } 7532 else 7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7534 $as_echo "no" >&6; } 7535 fi 7536 7537 7538 test -n "$FILE" && break 7539 done 7540 test -n "$FILE" || FILE="$ensc_dflt" 7541 7542 7543 if test -z "${FILE}" && $rq; then 7544 if test -z ""; then 7545 as_fn_error $? "Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7546 else 7547 as_fn_error $? " 7548 Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'. 7549 " "$LINENO" 5 7550 fi 7551 fi 7552 7553 if test "x" = x; then 7554 ensc_pathprog_path="${FILE}" 7555 while test -h "$ensc_pathprog_path"; do 7556 case "$ensc_pathprog_path" in 7557 ../*) FILE=`readlink -f "${FILE}"`; break ;; 7558 esac 7559 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7560 done 7561 fi 7562 7563 test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;" 7564 7565 test "${FILE}" 7566 7567 7568 7569 7570 if test -z "gzip"; then 7571 rq=true 7572 else 7573 rq=false 7574 fi 7575 7576 if $rq; then 7577 ensc_dflt= 7578 else 7579 ensc_dflt="gzip" 7580 fi 7581 7582 for ac_prog in gzip 7583 do 7584 # Extract the first word of "$ac_prog", so it can be a program name with args. 7585 set dummy $ac_prog; ac_word=$2 7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7587 $as_echo_n "checking for $ac_word... " >&6; } 7588 if ${ac_cv_path_GZIP+:} false; then : 7589 $as_echo_n "(cached) " >&6 7590 else 7591 case $GZIP in 7592 [\\/]* | ?:[\\/]*) 7593 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. 7594 ;; 7595 *) 7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7597 for as_dir in $ensc_searchpath 7598 do 7599 IFS=$as_save_IFS 7600 test -z "$as_dir" && as_dir=. 7601 for ac_exec_ext in '' $ac_executable_extensions; do 7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7603 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext" 7604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7605 break 2 7606 fi 7607 done 7608 done 7609 IFS=$as_save_IFS 7610 7611 ;; 7612 esac 7613 fi 7614 GZIP=$ac_cv_path_GZIP 7615 if test -n "$GZIP"; then 7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5 7617 $as_echo "$GZIP" >&6; } 7618 else 7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7620 $as_echo "no" >&6; } 7621 fi 7622 7623 7624 test -n "$GZIP" && break 7625 done 7626 test -n "$GZIP" || GZIP="$ensc_dflt" 7627 7628 7629 if test -z "${GZIP}" && $rq; then 7630 if test -z ""; then 7631 as_fn_error $? "Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7632 else 7633 as_fn_error $? " 7634 Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'. 7635 " "$LINENO" 5 7636 fi 7637 fi 7638 7639 if test "x" = x; then 7640 ensc_pathprog_path="${GZIP}" 7641 while test -h "$ensc_pathprog_path"; do 7642 case "$ensc_pathprog_path" in 7643 ../*) GZIP=`readlink -f "${GZIP}"`; break ;; 7644 esac 7645 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7646 done 7647 fi 7648 7649 test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;" 7650 7651 test "${GZIP}" 7652 7653 7654 7655 7656 if test -z "bzip2"; then 7657 rq=true 7658 else 7659 rq=false 7660 fi 7661 7662 if $rq; then 7663 ensc_dflt= 7664 else 7665 ensc_dflt="bzip2" 7666 fi 7667 7668 for ac_prog in bzip2 7669 do 7670 # Extract the first word of "$ac_prog", so it can be a program name with args. 7671 set dummy $ac_prog; ac_word=$2 7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7673 $as_echo_n "checking for $ac_word... " >&6; } 7674 if ${ac_cv_path_BZIP2+:} false; then : 7675 $as_echo_n "(cached) " >&6 7676 else 7677 case $BZIP2 in 7678 [\\/]* | ?:[\\/]*) 7679 ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path. 7680 ;; 7681 *) 7682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7683 for as_dir in $ensc_searchpath 7684 do 7685 IFS=$as_save_IFS 7686 test -z "$as_dir" && as_dir=. 7687 for ac_exec_ext in '' $ac_executable_extensions; do 7688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7689 ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext" 7690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7691 break 2 7692 fi 7693 done 7694 done 7695 IFS=$as_save_IFS 7696 7697 ;; 7698 esac 7699 fi 7700 BZIP2=$ac_cv_path_BZIP2 7701 if test -n "$BZIP2"; then 7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BZIP2" >&5 7703 $as_echo "$BZIP2" >&6; } 7704 else 7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7706 $as_echo "no" >&6; } 7707 fi 7708 7709 7710 test -n "$BZIP2" && break 7711 done 7712 test -n "$BZIP2" || BZIP2="$ensc_dflt" 7713 7714 7715 if test -z "${BZIP2}" && $rq; then 7716 if test -z ""; then 7717 as_fn_error $? "Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7718 else 7719 as_fn_error $? " 7720 Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'. 7721 " "$LINENO" 5 7722 fi 7723 fi 7724 7725 if test "x" = x; then 7726 ensc_pathprog_path="${BZIP2}" 7727 while test -h "$ensc_pathprog_path"; do 7728 case "$ensc_pathprog_path" in 7729 ../*) BZIP2=`readlink -f "${BZIP2}"`; break ;; 7730 esac 7731 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7732 done 7733 fi 7734 7735 test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;" 7736 7737 test "${BZIP2}" 7738 7739 7740 7741 7742 if test -z "cpio"; then 7743 rq=true 7744 else 7745 rq=false 7746 fi 7747 7748 if $rq; then 7749 ensc_dflt= 7750 else 7751 ensc_dflt="cpio" 7752 fi 7753 7754 for ac_prog in cpio 7755 do 7756 # Extract the first word of "$ac_prog", so it can be a program name with args. 7757 set dummy $ac_prog; ac_word=$2 7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7759 $as_echo_n "checking for $ac_word... " >&6; } 7760 if ${ac_cv_path_CPIO+:} false; then : 7761 $as_echo_n "(cached) " >&6 7762 else 7763 case $CPIO in 7764 [\\/]* | ?:[\\/]*) 7765 ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path. 7766 ;; 7767 *) 7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7769 for as_dir in $ensc_searchpath 7770 do 7771 IFS=$as_save_IFS 7772 test -z "$as_dir" && as_dir=. 7773 for ac_exec_ext in '' $ac_executable_extensions; do 7774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7775 ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext" 7776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7777 break 2 7778 fi 7779 done 7780 done 7781 IFS=$as_save_IFS 7782 7783 ;; 7784 esac 7785 fi 7786 CPIO=$ac_cv_path_CPIO 7787 if test -n "$CPIO"; then 7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPIO" >&5 7789 $as_echo "$CPIO" >&6; } 7790 else 7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7792 $as_echo "no" >&6; } 7793 fi 7794 7795 7796 test -n "$CPIO" && break 7797 done 7798 test -n "$CPIO" || CPIO="$ensc_dflt" 7799 7800 7801 if test -z "${CPIO}" && $rq; then 7802 if test -z ""; then 7803 as_fn_error $? "Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7804 else 7805 as_fn_error $? " 7806 Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'. 7807 " "$LINENO" 5 7808 fi 7809 fi 7810 7811 if test "x" = x; then 7812 ensc_pathprog_path="${CPIO}" 7813 while test -h "$ensc_pathprog_path"; do 7814 case "$ensc_pathprog_path" in 7815 ../*) CPIO=`readlink -f "${CPIO}"`; break ;; 7816 esac 7817 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7818 done 7819 fi 7820 7821 test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;" 7822 7823 test "${CPIO}" 7824 7825 7826 7827 7828 if test -z "restore"; then 7829 rq=true 7830 else 7831 rq=false 7832 fi 7833 7834 if $rq; then 7835 ensc_dflt= 7836 else 7837 ensc_dflt="restore" 7838 fi 7839 7840 for ac_prog in restore 7841 do 7842 # Extract the first word of "$ac_prog", so it can be a program name with args. 7843 set dummy $ac_prog; ac_word=$2 7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7845 $as_echo_n "checking for $ac_word... " >&6; } 7846 if ${ac_cv_path_RESTORE+:} false; then : 7847 $as_echo_n "(cached) " >&6 7848 else 7849 case $RESTORE in 7850 [\\/]* | ?:[\\/]*) 7851 ac_cv_path_RESTORE="$RESTORE" # Let the user override the test with a path. 7852 ;; 7853 *) 7854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7855 for as_dir in $ensc_searchpath 7856 do 7857 IFS=$as_save_IFS 7858 test -z "$as_dir" && as_dir=. 7859 for ac_exec_ext in '' $ac_executable_extensions; do 7860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7861 ac_cv_path_RESTORE="$as_dir/$ac_word$ac_exec_ext" 7862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7863 break 2 7864 fi 7865 done 7866 done 7867 IFS=$as_save_IFS 7868 7869 ;; 7870 esac 7871 fi 7872 RESTORE=$ac_cv_path_RESTORE 7873 if test -n "$RESTORE"; then 7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RESTORE" >&5 7875 $as_echo "$RESTORE" >&6; } 7876 else 7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7878 $as_echo "no" >&6; } 7879 fi 7880 7881 7882 test -n "$RESTORE" && break 7883 done 7884 test -n "$RESTORE" || RESTORE="$ensc_dflt" 7885 7886 7887 if test -z "${RESTORE}" && $rq; then 7888 if test -z ""; then 7889 as_fn_error $? "Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7890 else 7891 as_fn_error $? " 7892 Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'. 7893 " "$LINENO" 5 7894 fi 7895 fi 7896 7897 if test "x" = x; then 7898 ensc_pathprog_path="${RESTORE}" 7899 while test -h "$ensc_pathprog_path"; do 7900 case "$ensc_pathprog_path" in 7901 ../*) RESTORE=`readlink -f "${RESTORE}"`; break ;; 7902 esac 7903 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7904 done 7905 fi 7906 7907 test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;" 7908 7909 test "${RESTORE}" 7910 7911 7912 7913 7914 if test -z "rsync"; then 7915 rq=true 7916 else 7917 rq=false 7918 fi 7919 7920 if $rq; then 7921 ensc_dflt= 7922 else 7923 ensc_dflt="rsync" 7924 fi 7925 7926 for ac_prog in rsync 7927 do 7928 # Extract the first word of "$ac_prog", so it can be a program name with args. 7929 set dummy $ac_prog; ac_word=$2 7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7931 $as_echo_n "checking for $ac_word... " >&6; } 7932 if ${ac_cv_path_RSYNC+:} false; then : 7933 $as_echo_n "(cached) " >&6 7934 else 7935 case $RSYNC in 7936 [\\/]* | ?:[\\/]*) 7937 ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path. 7938 ;; 7939 *) 7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7941 for as_dir in $ensc_searchpath 7942 do 7943 IFS=$as_save_IFS 7944 test -z "$as_dir" && as_dir=. 7945 for ac_exec_ext in '' $ac_executable_extensions; do 7946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7947 ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext" 7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7949 break 2 7950 fi 7951 done 7952 done 7953 IFS=$as_save_IFS 7954 7955 ;; 7956 esac 7957 fi 7958 RSYNC=$ac_cv_path_RSYNC 7959 if test -n "$RSYNC"; then 7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSYNC" >&5 7961 $as_echo "$RSYNC" >&6; } 7962 else 7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7964 $as_echo "no" >&6; } 7965 fi 7966 7967 7968 test -n "$RSYNC" && break 7969 done 7970 test -n "$RSYNC" || RSYNC="$ensc_dflt" 7971 7972 7973 if test -z "${RSYNC}" && $rq; then 7974 if test -z ""; then 7975 as_fn_error $? "Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 7976 else 7977 as_fn_error $? " 7978 Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'. 7979 " "$LINENO" 5 7980 fi 7981 fi 7982 7983 if test "x" = x; then 7984 ensc_pathprog_path="${RSYNC}" 7985 while test -h "$ensc_pathprog_path"; do 7986 case "$ensc_pathprog_path" in 7987 ../*) RSYNC=`readlink -f "${RSYNC}"`; break ;; 7988 esac 7989 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 7990 done 7991 fi 7992 7993 test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;" 7994 7995 test "${RSYNC}" 7996 7997 7998 7999 8000 if test -z "strace"; then 8001 rq=true 8002 else 8003 rq=false 8004 fi 8005 8006 if $rq; then 8007 ensc_dflt= 8008 else 8009 ensc_dflt="strace" 8010 fi 8011 8012 for ac_prog in strace 8013 do 8014 # Extract the first word of "$ac_prog", so it can be a program name with args. 8015 set dummy $ac_prog; ac_word=$2 8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8017 $as_echo_n "checking for $ac_word... " >&6; } 8018 if ${ac_cv_path_STRACE+:} false; then : 8019 $as_echo_n "(cached) " >&6 8020 else 8021 case $STRACE in 8022 [\\/]* | ?:[\\/]*) 8023 ac_cv_path_STRACE="$STRACE" # Let the user override the test with a path. 8024 ;; 8025 *) 8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8027 for as_dir in $ensc_searchpath 8028 do 8029 IFS=$as_save_IFS 8030 test -z "$as_dir" && as_dir=. 8031 for ac_exec_ext in '' $ac_executable_extensions; do 8032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8033 ac_cv_path_STRACE="$as_dir/$ac_word$ac_exec_ext" 8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8035 break 2 8036 fi 8037 done 8038 done 8039 IFS=$as_save_IFS 8040 8041 ;; 8042 esac 8043 fi 8044 STRACE=$ac_cv_path_STRACE 8045 if test -n "$STRACE"; then 8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRACE" >&5 8047 $as_echo "$STRACE" >&6; } 8048 else 8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8050 $as_echo "no" >&6; } 8051 fi 8052 8053 8054 test -n "$STRACE" && break 8055 done 8056 test -n "$STRACE" || STRACE="$ensc_dflt" 8057 8058 8059 if test -z "${STRACE}" && $rq; then 8060 if test -z ""; then 8061 as_fn_error $? "Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 8062 else 8063 as_fn_error $? " 8064 Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'. 8065 " "$LINENO" 5 8066 fi 8067 fi 8068 8069 if test "x" = x; then 8070 ensc_pathprog_path="${STRACE}" 8071 while test -h "$ensc_pathprog_path"; do 8072 case "$ensc_pathprog_path" in 8073 ../*) STRACE=`readlink -f "${STRACE}"`; break ;; 8074 esac 8075 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 8076 done 8077 fi 8078 8079 test "${STRACE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'STRACE'@!${STRACE}!g;" 8080 8081 test "${STRACE}" 8082 8083 8084 8085 8086 if test -z ""; then 8087 rq=true 8088 else 8089 rq=false 8090 fi 8091 8092 if $rq; then 8093 ensc_dflt= 8094 else 8095 ensc_dflt="" 8096 fi 8097 8098 for ac_prog in fsck 8099 do 8100 # Extract the first word of "$ac_prog", so it can be a program name with args. 8101 set dummy $ac_prog; ac_word=$2 8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8103 $as_echo_n "checking for $ac_word... " >&6; } 8104 if ${ac_cv_path_FSCK+:} false; then : 8105 $as_echo_n "(cached) " >&6 8106 else 8107 case $FSCK in 8108 [\\/]* | ?:[\\/]*) 8109 ac_cv_path_FSCK="$FSCK" # Let the user override the test with a path. 8110 ;; 8111 *) 8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8113 for as_dir in $ensc_searchpath 8114 do 8115 IFS=$as_save_IFS 8116 test -z "$as_dir" && as_dir=. 8117 for ac_exec_ext in '' $ac_executable_extensions; do 8118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8119 ac_cv_path_FSCK="$as_dir/$ac_word$ac_exec_ext" 8120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8121 break 2 8122 fi 8123 done 8124 done 8125 IFS=$as_save_IFS 8126 8127 ;; 8128 esac 8129 fi 8130 FSCK=$ac_cv_path_FSCK 8131 if test -n "$FSCK"; then 8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FSCK" >&5 8133 $as_echo "$FSCK" >&6; } 8134 else 8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8136 $as_echo "no" >&6; } 8137 fi 8138 8139 8140 test -n "$FSCK" && break 8141 done 8142 test -n "$FSCK" || FSCK="$ensc_dflt" 8143 8144 8145 if test -z "${FSCK}" && $rq; then 8146 if test -z ""; then 8147 as_fn_error $? "Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 8148 else 8149 as_fn_error $? " 8150 Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'. 8151 " "$LINENO" 5 8152 fi 8153 fi 8154 8155 if test "x" = x; then 8156 ensc_pathprog_path="${FSCK}" 8157 while test -h "$ensc_pathprog_path"; do 8158 case "$ensc_pathprog_path" in 8159 ../*) FSCK=`readlink -f "${FSCK}"`; break ;; 8160 esac 8161 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 8162 done 8163 fi 8164 8165 test "${FSCK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FSCK'@!${FSCK}!g;" 8166 8167 test "${FSCK}" 8168 8169 8170 8171 8172 if test -z ""; then 8173 rq=true 8174 else 8175 rq=false 8176 fi 8177 8178 if $rq; then 8179 ensc_dflt= 8180 else 8181 ensc_dflt="" 8182 fi 8183 8184 for ac_prog in find 8185 do 8186 # Extract the first word of "$ac_prog", so it can be a program name with args. 8187 set dummy $ac_prog; ac_word=$2 8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8189 $as_echo_n "checking for $ac_word... " >&6; } 8190 if ${ac_cv_path_FIND+:} false; then : 8191 $as_echo_n "(cached) " >&6 8192 else 8193 case $FIND in 8194 [\\/]* | ?:[\\/]*) 8195 ac_cv_path_FIND="$FIND" # Let the user override the test with a path. 8196 ;; 8197 *) 8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8199 for as_dir in $ensc_searchpath 8200 do 8201 IFS=$as_save_IFS 8202 test -z "$as_dir" && as_dir=. 8203 for ac_exec_ext in '' $ac_executable_extensions; do 8204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8205 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext" 8206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8207 break 2 8208 fi 8209 done 8210 done 8211 IFS=$as_save_IFS 8212 8213 ;; 8214 esac 8215 fi 8216 FIND=$ac_cv_path_FIND 8217 if test -n "$FIND"; then 8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5 8219 $as_echo "$FIND" >&6; } 8220 else 8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8222 $as_echo "no" >&6; } 8223 fi 8224 8225 8226 test -n "$FIND" && break 8227 done 8228 test -n "$FIND" || FIND="$ensc_dflt" 8229 8230 8231 if test -z "${FIND}" && $rq; then 8232 if test -z ""; then 8233 as_fn_error $? "Can not find the 'find' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 8234 else 8235 as_fn_error $? " 8236 Can not find the 'find' tool within '${ensc_searchpath:-$PATH}'. 8237 " "$LINENO" 5 8238 fi 8239 fi 8240 8241 if test "x" = x; then 8242 ensc_pathprog_path="${FIND}" 8243 while test -h "$ensc_pathprog_path"; do 8244 case "$ensc_pathprog_path" in 8245 ../*) FIND=`readlink -f "${FIND}"`; break ;; 8246 esac 8247 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 8248 done 8249 fi 8250 8251 test "${FIND}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FIND'@!${FIND}!g;" 8252 8253 test "${FIND}" 8254 8255 8256 8257 8258 8259 if test -z ":"; then 8260 rq=true 8261 else 8262 rq=false 8263 fi 8264 8265 if $rq; then 8266 ensc_dflt= 8267 else 8268 ensc_dflt=":" 8269 fi 8270 8271 for ac_prog in doxygen 8272 do 8273 # Extract the first word of "$ac_prog", so it can be a program name with args. 8274 set dummy $ac_prog; ac_word=$2 8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8276 $as_echo_n "checking for $ac_word... " >&6; } 8277 if ${ac_cv_path_DOXYGEN+:} false; then : 8278 $as_echo_n "(cached) " >&6 8279 else 8280 case $DOXYGEN in 8281 [\\/]* | ?:[\\/]*) 8282 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. 8283 ;; 8284 *) 8285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8286 for as_dir in $ensc_searchpath 8287 do 8288 IFS=$as_save_IFS 8289 test -z "$as_dir" && as_dir=. 8290 for ac_exec_ext in '' $ac_executable_extensions; do 8291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8292 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 8293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8294 break 2 8295 fi 8296 done 8297 done 8298 IFS=$as_save_IFS 8299 8300 ;; 8301 esac 8302 fi 8303 DOXYGEN=$ac_cv_path_DOXYGEN 8304 if test -n "$DOXYGEN"; then 8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 8306 $as_echo "$DOXYGEN" >&6; } 8307 else 8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8309 $as_echo "no" >&6; } 8310 fi 8311 8312 8313 test -n "$DOXYGEN" && break 8314 done 8315 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt" 8316 8317 8318 if test -z "${DOXYGEN}" && $rq; then 8319 if test -z ""; then 8320 as_fn_error $? "Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 8321 else 8322 as_fn_error $? " 8323 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'. 8324 " "$LINENO" 5 8325 fi 8326 fi 8327 8328 if test "x" = x; then 8329 ensc_pathprog_path="${DOXYGEN}" 8330 while test -h "$ensc_pathprog_path"; do 8331 case "$ensc_pathprog_path" in 8332 ../*) DOXYGEN=`readlink -f "${DOXYGEN}"`; break ;; 8333 esac 8334 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 8335 done 8336 fi 8337 8338 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;" 8339 8340 test "${DOXYGEN}" 8341 8342 8343 8344 8345 if test -z ":"; then 8346 rq=true 8347 else 8348 rq=false 8349 fi 8350 8351 if $rq; then 8352 ensc_dflt= 8353 else 8354 ensc_dflt=":" 8355 fi 8356 8357 for ac_prog in xsltp 8358 do 8359 # Extract the first word of "$ac_prog", so it can be a program name with args. 8360 set dummy $ac_prog; ac_word=$2 8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8362 $as_echo_n "checking for $ac_word... " >&6; } 8363 if ${ac_cv_path_XSLTP+:} false; then : 8364 $as_echo_n "(cached) " >&6 8365 else 8366 case $XSLTP in 8367 [\\/]* | ?:[\\/]*) 8368 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path. 8369 ;; 8370 *) 8371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8372 for as_dir in $ensc_searchpath 8373 do 8374 IFS=$as_save_IFS 8375 test -z "$as_dir" && as_dir=. 8376 for ac_exec_ext in '' $ac_executable_extensions; do 8377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8378 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext" 8379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8380 break 2 8381 fi 8382 done 8383 done 8384 IFS=$as_save_IFS 8385 8386 ;; 8387 esac 8388 fi 8389 XSLTP=$ac_cv_path_XSLTP 8390 if test -n "$XSLTP"; then 8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTP" >&5 8392 $as_echo "$XSLTP" >&6; } 8393 else 8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8395 $as_echo "no" >&6; } 8396 fi 8397 8398 8399 test -n "$XSLTP" && break 8400 done 8401 test -n "$XSLTP" || XSLTP="$ensc_dflt" 8402 8403 8404 if test -z "${XSLTP}" && $rq; then 8405 if test -z ""; then 8406 as_fn_error $? "Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 8407 else 8408 as_fn_error $? " 8409 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'. 8410 " "$LINENO" 5 8411 fi 8412 fi 8413 8414 if test "x" = x; then 8415 ensc_pathprog_path="${XSLTP}" 8416 while test -h "$ensc_pathprog_path"; do 8417 case "$ensc_pathprog_path" in 8418 ../*) XSLTP=`readlink -f "${XSLTP}"`; break ;; 8419 esac 8420 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 8421 done 8422 fi 8423 8424 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;" 8425 8426 test "${XSLTP}" 8427 8428 8429 8430 8431 if test -z ":"; then 8432 rq=true 8433 else 8434 rq=false 8435 fi 8436 8437 if $rq; then 8438 ensc_dflt= 8439 else 8440 ensc_dflt=":" 8441 fi 8442 8443 for ac_prog in xsltproc 8444 do 8445 # Extract the first word of "$ac_prog", so it can be a program name with args. 8446 set dummy $ac_prog; ac_word=$2 8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8448 $as_echo_n "checking for $ac_word... " >&6; } 8449 if ${ac_cv_path_XSLTPROC+:} false; then : 8450 $as_echo_n "(cached) " >&6 8451 else 8452 case $XSLTPROC in 8453 [\\/]* | ?:[\\/]*) 8454 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 8455 ;; 8456 *) 8457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8458 for as_dir in $ensc_searchpath 8459 do 8460 IFS=$as_save_IFS 8461 test -z "$as_dir" && as_dir=. 8462 for ac_exec_ext in '' $ac_executable_extensions; do 8463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8464 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 8465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8466 break 2 8467 fi 8468 done 8469 done 8470 IFS=$as_save_IFS 8471 8472 ;; 8473 esac 8474 fi 8475 XSLTPROC=$ac_cv_path_XSLTPROC 8476 if test -n "$XSLTPROC"; then 8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 8478 $as_echo "$XSLTPROC" >&6; } 8479 else 8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8481 $as_echo "no" >&6; } 8482 fi 8483 8484 8485 test -n "$XSLTPROC" && break 8486 done 8487 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt" 8488 8489 8490 if test -z "${XSLTPROC}" && $rq; then 8491 if test -z ""; then 8492 as_fn_error $? "Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 8493 else 8494 as_fn_error $? " 8495 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'. 8496 " "$LINENO" 5 8497 fi 8498 fi 8499 8500 if test "x" = x; then 8501 ensc_pathprog_path="${XSLTPROC}" 8502 while test -h "$ensc_pathprog_path"; do 8503 case "$ensc_pathprog_path" in 8504 ../*) XSLTPROC=`readlink -f "${XSLTPROC}"`; break ;; 8505 esac 8506 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 8507 done 8508 fi 8509 8510 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;" 8511 8512 test "${XSLTPROC}" 8513 8514 8515 if test "$XSLTP" != ':'; then 8516 HAVE_XSLTP_TRUE= 8517 HAVE_XSLTP_FALSE='#' 8518 else 8519 HAVE_XSLTP_TRUE='#' 8520 HAVE_XSLTP_FALSE= 8521 fi 8522 8523 if test "$XSLTPROC" != ':'; then 8524 HAVE_XSLTPROC_TRUE= 8525 HAVE_XSLTPROC_FALSE='#' 8526 else 8527 HAVE_XSLTPROC_TRUE='#' 8528 HAVE_XSLTPROC_FALSE= 8529 fi 8530 8531 8532 if test x"$prefix" = x/; then 8533 prefix= 8534 fi 8535 8536 ### 'vcconfig' vs. 'ip link ... type vlan' check 8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'ip' tool supports VLAN operations" >&5 8538 $as_echo_n "checking whether 'ip' tool supports VLAN operations... " >&6; } 8539 # Check whether --enable-ip-vlan was given. 8540 if test "${enable_ip_vlan+set}" = set; then : 8541 enableval=$enable_ip_vlan; case "$enableval" in 8542 (yes) use_ip_vlan=true;; 8543 (no) use_ip_vlan=false;; 8544 (auto) use_ip_vlan=;; 8545 (*) as_fn_error $? "'$enableval' is not a valid value for '--disable-ip-vlan'" "$LINENO" 5;; 8546 esac 8547 else 8548 use_ip_vlan= 8549 fi 8550 8551 8552 if test -z "$use_ip_vlan" && $IP link help 2>&1 | grep -q vlan; then 8553 use_ip_vlan=true 8554 else 8555 use_ip_vlan=false 8556 fi 8557 8558 if $use_ip_vlan; then 8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8560 $as_echo "yes" >&6; } 8561 8562 VCONFIGOP=VCONFIG 8563 8564 ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!!g;" 8565 else 8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8567 $as_echo "no" >&6; } 8568 VCONFIGOP=VCONFIG_LEGACY 8569 8570 8571 8572 8573 8574 if test -z ""; then 8575 rq=true 8576 else 8577 rq=false 8578 fi 8579 8580 if $rq; then 8581 ensc_dflt= 8582 else 8583 ensc_dflt="" 8584 fi 8585 8586 for ac_prog in vconfig 8587 do 8588 # Extract the first word of "$ac_prog", so it can be a program name with args. 8589 set dummy $ac_prog; ac_word=$2 8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8591 $as_echo_n "checking for $ac_word... " >&6; } 8592 if ${ac_cv_path_VCONFIG+:} false; then : 8593 $as_echo_n "(cached) " >&6 8594 else 8595 case $VCONFIG in 8596 [\\/]* | ?:[\\/]*) 8597 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path. 8598 ;; 8599 *) 8600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8601 for as_dir in $ensc_searchpath 8602 do 8603 IFS=$as_save_IFS 8604 test -z "$as_dir" && as_dir=. 8605 for ac_exec_ext in '' $ac_executable_extensions; do 8606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8607 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext" 8608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8609 break 2 8610 fi 8611 done 8612 done 8613 IFS=$as_save_IFS 8614 8615 ;; 8616 esac 8617 fi 8618 VCONFIG=$ac_cv_path_VCONFIG 8619 if test -n "$VCONFIG"; then 8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VCONFIG" >&5 8621 $as_echo "$VCONFIG" >&6; } 8622 else 8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8624 $as_echo "no" >&6; } 8625 fi 8626 8627 8628 test -n "$VCONFIG" && break 8629 done 8630 test -n "$VCONFIG" || VCONFIG="$ensc_dflt" 8631 8632 8633 if test -z "${VCONFIG}" && $rq; then 8634 if test -z "See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution"; then 8635 as_fn_error $? "Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." "$LINENO" 5 8636 else 8637 as_fn_error $? " 8638 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'. 8639 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" "$LINENO" 5 8640 fi 8641 fi 8642 8643 if test "x" = x; then 8644 ensc_pathprog_path="${VCONFIG}" 8645 while test -h "$ensc_pathprog_path"; do 8646 case "$ensc_pathprog_path" in 8647 ../*) VCONFIG=`readlink -f "${VCONFIG}"`; break ;; 8648 esac 8649 ensc_pathprog_path=`readlink "$ensc_pathprog_path"` 8650 done 8651 fi 8652 8653 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;" 8654 8655 test "${VCONFIG}" 8656 fi 8657 8658 8659 8660 8661 warn_flags="-Werror -W" 8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C-compiler accepts ${warn_flags}" >&5 8663 $as_echo_n "checking whether the C-compiler accepts ${warn_flags}... " >&6; } 8664 ac_ext=c 8665 ac_cpp='$CPP $CPPFLAGS' 8666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8668 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8669 8670 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}" 8671 CFLAGS="$warn_flags" 8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8673 /* end confdefs.h. */ 8674 inline static void f(){} 8675 int 8676 main () 8677 { 8678 8679 ; 8680 return 0; 8681 } 8682 _ACEOF 8683 if ac_fn_c_try_compile "$LINENO"; then : 8684 ensc_sys_compilerwarnflags_C=${warn_flags} 8685 else 8686 ensc_sys_compilerwarnflags_C= 8687 fi 8688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8689 ac_ext=c 8690 ac_cpp='$CPP $CPPFLAGS' 8691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8693 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8694 8695 CFLAGS="$__ensc_check_warnflags_old_CFLAGS" 8696 8697 if test x"${ensc_sys_compilerwarnflags_C}" = x; then 8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8699 $as_echo "no" >&6; } 8700 else 8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8702 $as_echo "yes" >&6; } 8703 fi 8704 8705 8706 8707 8708 8709 echo 'void f(){}' > conftest.c 8710 for i in -std=c99 -Wall -pedantic -W 8711 do 8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5 8713 $as_echo_n "checking whether $CC accepts $i... " >&6; } 8714 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`" 8715 then 8716 CFLAGS="${CFLAGS} $i" 8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8718 $as_echo "yes" >&6; } 8719 else 8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8721 $as_echo "no" >&6; } 8722 fi 8723 done 8724 rm -f conftest.c conftest.o 8725 8726 8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable extra optimizations" >&5 8728 $as_echo_n "checking whether to enable extra optimizations... " >&6; } 8729 # Check whether --enable-extra-optimizations was given. 8730 if test "${enable_extra_optimizations+set}" = set; then : 8731 enableval=$enable_extra_optimizations; case "$enableval" in 8732 (yes) use_extra_optimizations=1;; 8733 (no) use_extra_optimizations=;; 8734 (*) as_fn_error $? "'$enableval' is not a valid value for '--disable-extra-optimizations'" "$LINENO" 5;; 8735 esac 8736 else 8737 use_extra_optimizations=1 8738 fi 8739 8740 8741 if test x"$use_extra_optimizations" = x; then 8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8743 $as_echo "no" >&6; } 8744 else 8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8746 $as_echo "yes" >&6; } 8747 8748 8749 8750 echo 'void f(){}' > conftest.c 8751 for i in -funit-at-a-time 8752 do 8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5 8754 $as_echo_n "checking whether $CC accepts $i... " >&6; } 8755 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`" 8756 then 8757 CFLAGS="${CFLAGS} $i" 8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8759 $as_echo "yes" >&6; } 8760 else 8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8762 $as_echo "no" >&6; } 8763 fi 8764 done 8765 rm -f conftest.c conftest.o 8766 8767 fi 8768 8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug-code in library" >&5 8770 $as_echo_n "checking whether to enable debug-code in library... " >&6; } 8771 # Check whether --enable-lib-debug was given. 8772 if test "${enable_lib_debug+set}" = set; then : 8773 enableval=$enable_lib_debug; case "$enableval" in 8774 (yes) use_lib_debug=1;; 8775 (no) use_lib_debug=;; 8776 (*) as_fn_error $? "'$enableval' is not a valid value for '--enable-lib-debug'" "$LINENO" 5;; 8777 esac 8778 else 8779 use_lib_debug= 8780 fi 8781 8782 8783 if test x"$use_lib_debug" = x; then 8784 LIB_DEBUG_CPPFLAGS=-DNDEBUG 8785 8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8787 $as_echo "no" >&6; } 8788 else 8789 8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8791 $as_echo "yes" >&6; } 8792 fi 8793 8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable expensive tests" >&5 8795 $as_echo_n "checking whether to enable expensive tests... " >&6; } 8796 # Check whether --enable-expensive-tests was given. 8797 if test "${enable_expensive_tests+set}" = set; then : 8798 enableval=$enable_expensive_tests; case "$enableval" in 8799 (yes|no) use_expensive_tests=$enableval;; 8800 (*) as_fn_error $? "'$enableval' is not a valid value for '--enable-expensive-tests'" "$LINENO" 5;; 8801 esac 8802 else 8803 use_expensive_tests=no 8804 fi 8805 8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_expensive_tests" >&5 8807 $as_echo "$use_expensive_tests" >&6; } 8808 8809 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests" 8810 8811 8812 8813 8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for declarations in <linux/personality.h>" >&5 8815 $as_echo_n "checking for declarations in <linux/personality.h>... " >&6; } 8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 8817 $as_echo "" >&6; } 8818 8819 ac_ext=c 8820 ac_cpp='$CPP $CPPFLAGS' 8821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8823 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8824 8825 ac_fn_c_check_decl "$LINENO" "MMAP_PAGE_ZERO" "ac_cv_have_decl_MMAP_PAGE_ZERO" " 8826 #include <linux/personality.h> 8827 8828 " 8829 if test "x$ac_cv_have_decl_MMAP_PAGE_ZERO" = xyes; then : 8830 ac_have_decl=1 8831 else 8832 ac_have_decl=0 8833 fi 8834 8835 cat >>confdefs.h <<_ACEOF 8836 #define HAVE_DECL_MMAP_PAGE_ZERO $ac_have_decl 8837 _ACEOF 8838 ac_fn_c_check_decl "$LINENO" "ADDR_LIMIT_32BIT" "ac_cv_have_decl_ADDR_LIMIT_32BIT" " 8839 #include <linux/personality.h> 8840 8841 " 8842 if test "x$ac_cv_have_decl_ADDR_LIMIT_32BIT" = xyes; then : 8843 ac_have_decl=1 8844 else 8845 ac_have_decl=0 8846 fi 8847 8848 cat >>confdefs.h <<_ACEOF 8849 #define HAVE_DECL_ADDR_LIMIT_32BIT $ac_have_decl 8850 _ACEOF 8851 ac_fn_c_check_decl "$LINENO" "SHORT_INODE" "ac_cv_have_decl_SHORT_INODE" " 8852 #include <linux/personality.h> 8853 8854 " 8855 if test "x$ac_cv_have_decl_SHORT_INODE" = xyes; then : 8856 ac_have_decl=1 8857 else 8858 ac_have_decl=0 8859 fi 8860 8861 cat >>confdefs.h <<_ACEOF 8862 #define HAVE_DECL_SHORT_INODE $ac_have_decl 8863 _ACEOF 8864 ac_fn_c_check_decl "$LINENO" "WHOLE_SECONDS" "ac_cv_have_decl_WHOLE_SECONDS" " 8865 #include <linux/personality.h> 8866 8867 " 8868 if test "x$ac_cv_have_decl_WHOLE_SECONDS" = xyes; then : 8869 ac_have_decl=1 8870 else 8871 ac_have_decl=0 8872 fi 8873 8874 cat >>confdefs.h <<_ACEOF 8875 #define HAVE_DECL_WHOLE_SECONDS $ac_have_decl 8876 _ACEOF 8877 ac_fn_c_check_decl "$LINENO" "STICKY_TIMEOUTS" "ac_cv_have_decl_STICKY_TIMEOUTS" " 8878 #include <linux/personality.h> 8879 8880 " 8881 if test "x$ac_cv_have_decl_STICKY_TIMEOUTS" = xyes; then : 8882 ac_have_decl=1 8883 else 8884 ac_have_decl=0 8885 fi 8886 8887 cat >>confdefs.h <<_ACEOF 8888 #define HAVE_DECL_STICKY_TIMEOUTS $ac_have_decl 8889 _ACEOF 8890 ac_fn_c_check_decl "$LINENO" "ADDR_LIMIT_3GB" "ac_cv_have_decl_ADDR_LIMIT_3GB" " 8891 #include <linux/personality.h> 8892 8893 " 8894 if test "x$ac_cv_have_decl_ADDR_LIMIT_3GB" = xyes; then : 8895 ac_have_decl=1 8896 else 8897 ac_have_decl=0 8898 fi 8899 8900 cat >>confdefs.h <<_ACEOF 8901 #define HAVE_DECL_ADDR_LIMIT_3GB $ac_have_decl 8902 _ACEOF 8903 ac_fn_c_check_decl "$LINENO" "UNAME26" "ac_cv_have_decl_UNAME26" " 8904 #include <linux/personality.h> 8905 8906 " 8907 if test "x$ac_cv_have_decl_UNAME26" = xyes; then : 8908 ac_have_decl=1 8909 else 8910 ac_have_decl=0 8911 fi 8912 8913 cat >>confdefs.h <<_ACEOF 8914 #define HAVE_DECL_UNAME26 $ac_have_decl 8915 _ACEOF 8916 8917 8918 ac_fn_c_check_decl "$LINENO" "PER_LINUX" "ac_cv_have_decl_PER_LINUX" " 8919 #include <linux/personality.h> 8920 8921 " 8922 if test "x$ac_cv_have_decl_PER_LINUX" = xyes; then : 8923 ac_have_decl=1 8924 else 8925 ac_have_decl=0 8926 fi 8927 8928 cat >>confdefs.h <<_ACEOF 8929 #define HAVE_DECL_PER_LINUX $ac_have_decl 8930 _ACEOF 8931 ac_fn_c_check_decl "$LINENO" "PER_LINUX_32BIT" "ac_cv_have_decl_PER_LINUX_32BIT" " 8932 #include <linux/personality.h> 8933 8934 " 8935 if test "x$ac_cv_have_decl_PER_LINUX_32BIT" = xyes; then : 8936 ac_have_decl=1 8937 else 8938 ac_have_decl=0 8939 fi 8940 8941 cat >>confdefs.h <<_ACEOF 8942 #define HAVE_DECL_PER_LINUX_32BIT $ac_have_decl 8943 _ACEOF 8944 ac_fn_c_check_decl "$LINENO" "PER_SVR4" "ac_cv_have_decl_PER_SVR4" " 8945 #include <linux/personality.h> 8946 8947 " 8948 if test "x$ac_cv_have_decl_PER_SVR4" = xyes; then : 8949 ac_have_decl=1 8950 else 8951 ac_have_decl=0 8952 fi 8953 8954 cat >>confdefs.h <<_ACEOF 8955 #define HAVE_DECL_PER_SVR4 $ac_have_decl 8956 _ACEOF 8957 ac_fn_c_check_decl "$LINENO" "PER_SVR3" "ac_cv_have_decl_PER_SVR3" " 8958 #include <linux/personality.h> 8959 8960 " 8961 if test "x$ac_cv_have_decl_PER_SVR3" = xyes; then : 8962 ac_have_decl=1 8963 else 8964 ac_have_decl=0 8965 fi 8966 8967 cat >>confdefs.h <<_ACEOF 8968 #define HAVE_DECL_PER_SVR3 $ac_have_decl 8969 _ACEOF 8970 ac_fn_c_check_decl "$LINENO" "PER_SCOSVR3" "ac_cv_have_decl_PER_SCOSVR3" " 8971 #include <linux/personality.h> 8972 8973 " 8974 if test "x$ac_cv_have_decl_PER_SCOSVR3" = xyes; then : 8975 ac_have_decl=1 8976 else 8977 ac_have_decl=0 8978 fi 8979 8980 cat >>confdefs.h <<_ACEOF 8981 #define HAVE_DECL_PER_SCOSVR3 $ac_have_decl 8982 _ACEOF 8983 ac_fn_c_check_decl "$LINENO" "PER_OSR5" "ac_cv_have_decl_PER_OSR5" " 8984 #include <linux/personality.h> 8985 8986 " 8987 if test "x$ac_cv_have_decl_PER_OSR5" = xyes; then : 8988 ac_have_decl=1 8989 else 8990 ac_have_decl=0 8991 fi 8992 8993 cat >>confdefs.h <<_ACEOF 8994 #define HAVE_DECL_PER_OSR5 $ac_have_decl 8995 _ACEOF 8996 ac_fn_c_check_decl "$LINENO" "PER_WYSEV386" "ac_cv_have_decl_PER_WYSEV386" " 8997 #include <linux/personality.h> 8998 8999 " 9000 if test "x$ac_cv_have_decl_PER_WYSEV386" = xyes; then : 9001 ac_have_decl=1 9002 else 9003 ac_have_decl=0 9004 fi 9005 9006 cat >>confdefs.h <<_ACEOF 9007 #define HAVE_DECL_PER_WYSEV386 $ac_have_decl 9008 _ACEOF 9009 ac_fn_c_check_decl "$LINENO" "PER_ISCR4" "ac_cv_have_decl_PER_ISCR4" " 9010 #include <linux/personality.h> 9011 9012 " 9013 if test "x$ac_cv_have_decl_PER_ISCR4" = xyes; then : 9014 ac_have_decl=1 9015 else 9016 ac_have_decl=0 9017 fi 9018 9019 cat >>confdefs.h <<_ACEOF 9020 #define HAVE_DECL_PER_ISCR4 $ac_have_decl 9021 _ACEOF 9022 ac_fn_c_check_decl "$LINENO" "PER_BSD" "ac_cv_have_decl_PER_BSD" " 9023 #include <linux/personality.h> 9024 9025 " 9026 if test "x$ac_cv_have_decl_PER_BSD" = xyes; then : 9027 ac_have_decl=1 9028 else 9029 ac_have_decl=0 9030 fi 9031 9032 cat >>confdefs.h <<_ACEOF 9033 #define HAVE_DECL_PER_BSD $ac_have_decl 9034 _ACEOF 9035 ac_fn_c_check_decl "$LINENO" "PER_SUNOS" "ac_cv_have_decl_PER_SUNOS" " 9036 #include <linux/personality.h> 9037 9038 " 9039 if test "x$ac_cv_have_decl_PER_SUNOS" = xyes; then : 9040 ac_have_decl=1 9041 else 9042 ac_have_decl=0 9043 fi 9044 9045 cat >>confdefs.h <<_ACEOF 9046 #define HAVE_DECL_PER_SUNOS $ac_have_decl 9047 _ACEOF 9048 ac_fn_c_check_decl "$LINENO" "PER_XENIX" "ac_cv_have_decl_PER_XENIX" " 9049 #include <linux/personality.h> 9050 9051 " 9052 if test "x$ac_cv_have_decl_PER_XENIX" = xyes; then : 9053 ac_have_decl=1 9054 else 9055 ac_have_decl=0 9056 fi 9057 9058 cat >>confdefs.h <<_ACEOF 9059 #define HAVE_DECL_PER_XENIX $ac_have_decl 9060 _ACEOF 9061 ac_fn_c_check_decl "$LINENO" "PER_LINUX32" "ac_cv_have_decl_PER_LINUX32" " 9062 #include <linux/personality.h> 9063 9064 " 9065 if test "x$ac_cv_have_decl_PER_LINUX32" = xyes; then : 9066 ac_have_decl=1 9067 else 9068 ac_have_decl=0 9069 fi 9070 9071 cat >>confdefs.h <<_ACEOF 9072 #define HAVE_DECL_PER_LINUX32 $ac_have_decl 9073 _ACEOF 9074 ac_fn_c_check_decl "$LINENO" "PER_LINUX32_3GB" "ac_cv_have_decl_PER_LINUX32_3GB" " 9075 #include <linux/personality.h> 9076 9077 " 9078 if test "x$ac_cv_have_decl_PER_LINUX32_3GB" = xyes; then : 9079 ac_have_decl=1 9080 else 9081 ac_have_decl=0 9082 fi 9083 9084 cat >>confdefs.h <<_ACEOF 9085 #define HAVE_DECL_PER_LINUX32_3GB $ac_have_decl 9086 _ACEOF 9087 ac_fn_c_check_decl "$LINENO" "PER_IRIX32" "ac_cv_have_decl_PER_IRIX32" " 9088 #include <linux/personality.h> 9089 9090 " 9091 if test "x$ac_cv_have_decl_PER_IRIX32" = xyes; then : 9092 ac_have_decl=1 9093 else 9094 ac_have_decl=0 9095 fi 9096 9097 cat >>confdefs.h <<_ACEOF 9098 #define HAVE_DECL_PER_IRIX32 $ac_have_decl 9099 _ACEOF 9100 ac_fn_c_check_decl "$LINENO" "PER_IRIXN32" "ac_cv_have_decl_PER_IRIXN32" " 9101 #include <linux/personality.h> 9102 9103 " 9104 if test "x$ac_cv_have_decl_PER_IRIXN32" = xyes; then : 9105 ac_have_decl=1 9106 else 9107 ac_have_decl=0 9108 fi 9109 9110 cat >>confdefs.h <<_ACEOF 9111 #define HAVE_DECL_PER_IRIXN32 $ac_have_decl 9112 _ACEOF 9113 ac_fn_c_check_decl "$LINENO" "PER_IRIX64" "ac_cv_have_decl_PER_IRIX64" " 9114 #include <linux/personality.h> 9115 9116 " 9117 if test "x$ac_cv_have_decl_PER_IRIX64" = xyes; then : 9118 ac_have_decl=1 9119 else 9120 ac_have_decl=0 9121 fi 9122 9123 cat >>confdefs.h <<_ACEOF 9124 #define HAVE_DECL_PER_IRIX64 $ac_have_decl 9125 _ACEOF 9126 ac_fn_c_check_decl "$LINENO" "PER_RISCOS" "ac_cv_have_decl_PER_RISCOS" " 9127 #include <linux/personality.h> 9128 9129 " 9130 if test "x$ac_cv_have_decl_PER_RISCOS" = xyes; then : 9131 ac_have_decl=1 9132 else 9133 ac_have_decl=0 9134 fi 9135 9136 cat >>confdefs.h <<_ACEOF 9137 #define HAVE_DECL_PER_RISCOS $ac_have_decl 9138 _ACEOF 9139 ac_fn_c_check_decl "$LINENO" "PER_SOLARIS" "ac_cv_have_decl_PER_SOLARIS" " 9140 #include <linux/personality.h> 9141 9142 " 9143 if test "x$ac_cv_have_decl_PER_SOLARIS" = xyes; then : 9144 ac_have_decl=1 9145 else 9146 ac_have_decl=0 9147 fi 9148 9149 cat >>confdefs.h <<_ACEOF 9150 #define HAVE_DECL_PER_SOLARIS $ac_have_decl 9151 _ACEOF 9152 ac_fn_c_check_decl "$LINENO" "PER_UW7" "ac_cv_have_decl_PER_UW7" " 9153 #include <linux/personality.h> 9154 9155 " 9156 if test "x$ac_cv_have_decl_PER_UW7" = xyes; then : 9157 ac_have_decl=1 9158 else 9159 ac_have_decl=0 9160 fi 9161 9162 cat >>confdefs.h <<_ACEOF 9163 #define HAVE_DECL_PER_UW7 $ac_have_decl 9164 _ACEOF 9165 ac_fn_c_check_decl "$LINENO" "PER_HPUX" "ac_cv_have_decl_PER_HPUX" " 9166 #include <linux/personality.h> 9167 9168 " 9169 if test "x$ac_cv_have_decl_PER_HPUX" = xyes; then : 9170 ac_have_decl=1 9171 else 9172 ac_have_decl=0 9173 fi 9174 9175 cat >>confdefs.h <<_ACEOF 9176 #define HAVE_DECL_PER_HPUX $ac_have_decl 9177 _ACEOF 9178 ac_fn_c_check_decl "$LINENO" "PER_OSF4" "ac_cv_have_decl_PER_OSF4" " 9179 #include <linux/personality.h> 9180 9181 " 9182 if test "x$ac_cv_have_decl_PER_OSF4" = xyes; then : 9183 ac_have_decl=1 9184 else 9185 ac_have_decl=0 9186 fi 9187 9188 cat >>confdefs.h <<_ACEOF 9189 #define HAVE_DECL_PER_OSF4 $ac_have_decl 9190 _ACEOF 9191 9192 ac_ext=c 9193 ac_cpp='$CPP $CPPFLAGS' 9194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9196 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9197 9198 9199 9200 9201 9202 9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initrddir" >&5 9204 $as_echo_n "checking for initrddir... " >&6; } 9205 9206 # Check whether --with-initrddir was given. 9207 if test "${with_initrddir+set}" = set; then : 9208 withval=$with_initrddir; case "$withval" in 9209 yes|no) as_fn_error $? "'$withval' is not a valid value for '--with-initrddir'" "$LINENO" 5;; 9210 *) ensc_initrddir=$withval;; 9211 esac 9212 else 9213 ensc_initrddir='$(sysconfdir)/init.d' 9214 fi 9215 9216 9217 if test "initrddir"; then 9218 initrddir=$ensc_initrddir 9219 9220 fi 9221 9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_initrddir" >&5 9223 $as_echo "$ensc_initrddir" >&6; } 9224 9225 9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable release-mode" >&5 9227 $as_echo_n "checking whether to enable release-mode... " >&6; } 9228 # Check whether --enable-release was given. 9229 if test "${enable_release+set}" = set; then : 9230 enableval=$enable_release; case "$enableval" in 9231 yes) ensc_release_mode=yes;; 9232 no) ensc_release_mode=no;; 9233 *) as_fn_error $? "'$enableval' is not a valid value for '--enable-release'" "$LINENO" 5;; 9234 esac 9235 else 9236 ensc_release_mode=no 9237 fi 9238 9239 9240 if test x"$ensc_release_mode" = xno; then 9241 RELEASE_CPPFLAGS= 9242 else 9243 RELEASE_CPPFLAGS='-DNDEBUG' 9244 fi 9245 9246 9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_release_mode" >&5 9248 $as_echo "$ensc_release_mode" >&6; } 9249 9250 9251 # HACK: This needs to be before ENSC_DIETLIBC_NEED_COMPAT, or the alternative 9252 # syscalls will never be enabled for glibc. 9253 ac_ext=c 9254 ac_cpp='$CPP $CPPFLAGS' 9255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9257 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 9259 $as_echo_n "checking how to run the C preprocessor... " >&6; } 9260 # On Suns, sometimes $CPP names a directory. 9261 if test -n "$CPP" && test -d "$CPP"; then 9262 CPP= 9263 fi 9264 if test -z "$CPP"; then 9265 if ${ac_cv_prog_CPP+:} false; then : 9266 $as_echo_n "(cached) " >&6 9267 else 9268 # Double quotes because CPP needs to be expanded 9269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 9270 do 9271 ac_preproc_ok=false 9272 for ac_c_preproc_warn_flag in '' yes 9273 do 9274 # Use a header file that comes with gcc, so configuring glibc 9275 # with a fresh cross-compiler works. 9276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9277 # <limits.h> exists even on freestanding compilers. 9278 # On the NeXT, cc -E runs the code through the compiler's parser, 9279 # not just through cpp. "Syntax error" is here to catch this case. 9280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9281 /* end confdefs.h. */ 9282 #ifdef __STDC__ 9283 # include <limits.h> 9284 #else 9285 # include <assert.h> 9286 #endif 9287 Syntax error 9288 _ACEOF 9289 if ac_fn_c_try_cpp "$LINENO"; then : 9290 9291 else 9292 # Broken: fails on valid input. 9293 continue 9294 fi 9295 rm -f conftest.err conftest.i conftest.$ac_ext 9296 9297 # OK, works on sane cases. Now check whether nonexistent headers 9298 # can be detected and how. 9299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9300 /* end confdefs.h. */ 9301 #include <ac_nonexistent.h> 9302 _ACEOF 9303 if ac_fn_c_try_cpp "$LINENO"; then : 9304 # Broken: success on invalid input. 9305 continue 9306 else 9307 # Passes both tests. 9308 ac_preproc_ok=: 9309 break 9310 fi 9311 rm -f conftest.err conftest.i conftest.$ac_ext 9312 9313 done 9314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 9315 rm -f conftest.i conftest.err conftest.$ac_ext 9316 if $ac_preproc_ok; then : 9317 break 9318 fi 9319 9320 done 9321 ac_cv_prog_CPP=$CPP 9322 9323 fi 9324 CPP=$ac_cv_prog_CPP 9325 else 9326 ac_cv_prog_CPP=$CPP 9327 fi 9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 9329 $as_echo "$CPP" >&6; } 9330 ac_preproc_ok=false 9331 for ac_c_preproc_warn_flag in '' yes 9332 do 9333 # Use a header file that comes with gcc, so configuring glibc 9334 # with a fresh cross-compiler works. 9335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9336 # <limits.h> exists even on freestanding compilers. 9337 # On the NeXT, cc -E runs the code through the compiler's parser, 9338 # not just through cpp. "Syntax error" is here to catch this case. 9339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9340 /* end confdefs.h. */ 9341 #ifdef __STDC__ 9342 # include <limits.h> 9343 #else 9344 # include <assert.h> 9345 #endif 9346 Syntax error 9347 _ACEOF 9348 if ac_fn_c_try_cpp "$LINENO"; then : 9349 9350 else 9351 # Broken: fails on valid input. 9352 continue 9353 fi 9354 rm -f conftest.err conftest.i conftest.$ac_ext 9355 9356 # OK, works on sane cases. Now check whether nonexistent headers 9357 # can be detected and how. 9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9359 /* end confdefs.h. */ 9360 #include <ac_nonexistent.h> 9361 _ACEOF 9362 if ac_fn_c_try_cpp "$LINENO"; then : 9363 # Broken: success on invalid input. 9364 continue 9365 else 9366 # Passes both tests. 9367 ac_preproc_ok=: 9368 break 9369 fi 9370 rm -f conftest.err conftest.i conftest.$ac_ext 9371 9372 done 9373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 9374 rm -f conftest.i conftest.err conftest.$ac_ext 9375 if $ac_preproc_ok; then : 9376 9377 else 9378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 9381 See \`config.log' for more details" "$LINENO" 5; } 9382 fi 9383 9384 ac_ext=c 9385 ac_cpp='$CPP $CPPFLAGS' 9386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9388 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9389 9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 9391 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 9392 if ${ac_cv_path_GREP+:} false; then : 9393 $as_echo_n "(cached) " >&6 9394 else 9395 if test -z "$GREP"; then 9396 ac_path_GREP_found=false 9397 # Loop through the user's path and test for each of PROGNAME-LIST 9398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9399 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 9400 do 9401 IFS=$as_save_IFS 9402 test -z "$as_dir" && as_dir=. 9403 for ac_prog in grep ggrep; do 9404 for ac_exec_ext in '' $ac_executable_extensions; do 9405 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 9406 as_fn_executable_p "$ac_path_GREP" || continue 9407 # Check for GNU ac_path_GREP and select it if it is found. 9408 # Check for GNU $ac_path_GREP 9409 case `"$ac_path_GREP" --version 2>&1` in 9410 *GNU*) 9411 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 9412 *) 9413 ac_count=0 9414 $as_echo_n 0123456789 >"conftest.in" 9415 while : 9416 do 9417 cat "conftest.in" "conftest.in" >"conftest.tmp" 9418 mv "conftest.tmp" "conftest.in" 9419 cp "conftest.in" "conftest.nl" 9420 $as_echo 'GREP' >> "conftest.nl" 9421 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 9422 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 9423 as_fn_arith $ac_count + 1 && ac_count=$as_val 9424 if test $ac_count -gt ${ac_path_GREP_max-0}; then 9425 # Best one so far, save it but keep looking for a better one 9426 ac_cv_path_GREP="$ac_path_GREP" 9427 ac_path_GREP_max=$ac_count 9428 fi 9429 # 10*(2^10) chars as input seems more than enough 9430 test $ac_count -gt 10 && break 9431 done 9432 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 9433 esac 9434 9435 $ac_path_GREP_found && break 3 9436 done 9437 done 9438 done 9439 IFS=$as_save_IFS 9440 if test -z "$ac_cv_path_GREP"; then 9441 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 9442 fi 9443 else 9444 ac_cv_path_GREP=$GREP 9445 fi 9446 9447 fi 9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 9449 $as_echo "$ac_cv_path_GREP" >&6; } 9450 GREP="$ac_cv_path_GREP" 9451 9452 9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 9454 $as_echo_n "checking for egrep... " >&6; } 9455 if ${ac_cv_path_EGREP+:} false; then : 9456 $as_echo_n "(cached) " >&6 9457 else 9458 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 9459 then ac_cv_path_EGREP="$GREP -E" 9460 else 9461 if test -z "$EGREP"; then 9462 ac_path_EGREP_found=false 9463 # Loop through the user's path and test for each of PROGNAME-LIST 9464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9465 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 9466 do 9467 IFS=$as_save_IFS 9468 test -z "$as_dir" && as_dir=. 9469 for ac_prog in egrep; do 9470 for ac_exec_ext in '' $ac_executable_extensions; do 9471 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 9472 as_fn_executable_p "$ac_path_EGREP" || continue 9473 # Check for GNU ac_path_EGREP and select it if it is found. 9474 # Check for GNU $ac_path_EGREP 9475 case `"$ac_path_EGREP" --version 2>&1` in 9476 *GNU*) 9477 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 9478 *) 9479 ac_count=0 9480 $as_echo_n 0123456789 >"conftest.in" 9481 while : 9482 do 9483 cat "conftest.in" "conftest.in" >"conftest.tmp" 9484 mv "conftest.tmp" "conftest.in" 9485 cp "conftest.in" "conftest.nl" 9486 $as_echo 'EGREP' >> "conftest.nl" 9487 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 9488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 9489 as_fn_arith $ac_count + 1 && ac_count=$as_val 9490 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 9491 # Best one so far, save it but keep looking for a better one 9492 ac_cv_path_EGREP="$ac_path_EGREP" 9493 ac_path_EGREP_max=$ac_count 9494 fi 9495 # 10*(2^10) chars as input seems more than enough 9496 test $ac_count -gt 10 && break 9497 done 9498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 9499 esac 9500 9501 $ac_path_EGREP_found && break 3 9502 done 9503 done 9504 done 9505 IFS=$as_save_IFS 9506 if test -z "$ac_cv_path_EGREP"; then 9507 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 9508 fi 9509 else 9510 ac_cv_path_EGREP=$EGREP 9511 fi 9512 9513 fi 9514 fi 9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 9516 $as_echo "$ac_cv_path_EGREP" >&6; } 9517 EGREP="$ac_cv_path_EGREP" 9518 9519 9520 9521 9522 9523 9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for number of syscall 'vserver'" >&5 9525 $as_echo_n "checking for number of syscall 'vserver'... " >&6; } 9526 if ${ensc_cv_value_syscall_vserver+:} false; then : 9527 $as_echo_n "(cached) " >&6 9528 else 9529 9530 ac_ext=c 9531 ac_cpp='$CPP $CPPFLAGS' 9532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9534 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9535 9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9537 /* end confdefs.h. */ 9538 9539 #ifdef ENSC_SYSCALL_FALLBACK 9540 # include ENSC_SYSCALL_FALLBACK 9541 #else 9542 # include <asm/unistd.h> 9543 #endif 9544 #ifdef __NR_vserver 9545 ensc_syscall_tmp_nr=__NR_vserver; 9546 ensc_syscall_tmp_src=ENSC_MARK 9547 #endif 9548 9549 _ACEOF 9550 ensc_syscall_tmp_nr= 9551 ensc_syscall_tmp_src= 9552 test x"$ensc_syscall_tmp_nr" != x || \ 9553 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$') 9554 test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \ 9555 eval $($CPP $CPPFLAGS -D ENSC_MARK='fallback' -D ENSC_SYSCALL_FALLBACK='"lib/syscall-fallback.h"' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$') 9556 test "$ensc_syscall_tmp_nr" || { 9557 ensc_syscall_tmp_nr=273 9558 ensc_syscall_tmp_src=default 9559 } 9560 9561 if test x"$ensc_syscall_tmp_nr" = x; then 9562 as_fn_error $? "Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." "$LINENO" 5 9563 fi 9564 ac_ext=c 9565 ac_cpp='$CPP $CPPFLAGS' 9566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9568 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9569 9570 9571 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src" 9572 9573 fi 9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_cv_value_syscall_vserver" >&5 9575 $as_echo "$ensc_cv_value_syscall_vserver" >&6; } 9576 9577 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*} 9578 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/} 9579 9580 if test x"$ensc_syscall_tmp_src" != x'glibc'; then 9581 9582 cat >>confdefs.h <<_ACEOF 9583 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr 9584 _ACEOF 9585 9586 fi 9587 9588 9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use alternative _syscallX macros" >&5 9590 $as_echo_n "checking whether to use alternative _syscallX macros... " >&6; } 9591 # Check whether --enable-alternative-syscalls was given. 9592 if test "${enable_alternative_syscalls+set}" = set; then : 9593 enableval=$enable_alternative_syscalls; case $enableval in 9594 (yes|no) ensc_use_alternative_syscall_macros=$enableval;; 9595 (*) as_fn_error $? "'$enableval' is not a valid value for '--disable-alternative-syscalls'" "$LINENO" 5;; 9596 esac 9597 else 9598 ensc_use_alternative_syscall_macros=yes 9599 fi 9600 9601 9602 case $ensc_use_alternative_syscall_macros in 9603 (yes) 9604 $as_echo "#define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1" >>confdefs.h 9605 ;; 9606 esac 9607 9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_use_alternative_syscall_macros" >&5 9609 $as_echo "$ensc_use_alternative_syscall_macros" >&6; } 9610 9611 9612 9613 9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall(2) invocation method" >&5 9615 $as_echo_n "checking for syscall(2) invocation method... " >&6; } 9616 9617 # Check whether --with-syscall was given. 9618 if test "${with_syscall+set}" = set; then : 9619 withval=$with_syscall; 9620 else 9621 with_syscall=auto 9622 fi 9623 9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_syscall" >&5 9625 $as_echo "$with_syscall" >&6; } 9626 9627 case x"$with_syscall" in 9628 (xauto) 9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which syscall(2) invocation works" >&5 9630 $as_echo_n "checking which syscall(2) invocation works... " >&6; } 9631 if ${ensc_cv_test_syscall+:} false; then : 9632 $as_echo_n "(cached) " >&6 9633 else 9634 9635 ac_ext=c 9636 ac_cpp='$CPP $CPPFLAGS' 9637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9639 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9640 9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9642 /* end confdefs.h. */ 9643 9644 #include "$srcdir/lib/syscall-wrap.h" 9645 #include <errno.h> 9646 9647 #define __NR_foo0 300 9648 #define __NR_foo1 301 9649 #define __NR_foo2 302 9650 #define __NR_foo3 303 9651 #define __NR_foo4 304 9652 #define __NR_foo5 305 9653 inline static _syscall0(int, foo0) 9654 inline static _syscall1(int, foo1, int, a) 9655 inline static _syscall2(int, foo2, int, a, int, b) 9656 inline static _syscall3(int, foo3, int, a, int, b, int, c) 9657 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d) 9658 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e) 9659 9660 int main() { 9661 return foo0() || \ 9662 foo1(1) || \ 9663 foo2(1,2) || \ 9664 foo3(1,2,3) || \ 9665 foo4(1,2,3,4) || \ 9666 foo5(1,2,3,4,5); 9667 } 9668 9669 _ACEOF 9670 if ac_fn_c_try_compile "$LINENO"; then : 9671 ensc_cv_test_syscall=fast 9672 else 9673 ensc_cv_test_syscall=traditional 9674 fi 9675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9676 9677 ac_ext=c 9678 ac_cpp='$CPP $CPPFLAGS' 9679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9681 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9682 9683 9684 fi 9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_cv_test_syscall" >&5 9686 $as_echo "$ensc_cv_test_syscall" >&6; } 9687 with_syscall=$ensc_cv_test_syscall 9688 ;; 9689 (xfast|xtraditional) 9690 ;; 9691 *) 9692 as_fn_error $? "'$with_syscall' is not a valid value for '--with-syscall'" "$LINENO" 5 9693 ;; 9694 esac 9695 9696 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then 9697 with_syscall='alternative' 9698 fi 9699 9700 if test x"$with_syscall" = xtraditional; then 9701 9702 $as_echo "#define ENSC_SYSCALL_TRADITIONAL 1" >>confdefs.h 9703 9704 fi 9705 9706 9707 9708 9709 9710 case $host_cpu in 9711 (i*86|athlon) min_diet_ver=0.25;; 9712 (ia64|hppa*) min_diet_ver=0.29;; 9713 (sparc*) min_diet_ver=0.30;; 9714 (x86_64) min_diet_ver=0.27;; 9715 (*) min_diet_ver=0.28;; 9716 esac 9717 9718 9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dietlibc" >&5 9720 $as_echo_n "checking whether to enable dietlibc... " >&6; } 9721 9722 9723 9724 9725 : ${DIET:=diet} 9726 : ${DIETFLAGS=-Os} 9727 9728 # Check whether --enable-dietlibc was given. 9729 if test "${enable_dietlibc+set}" = set; then : 9730 enableval=$enable_dietlibc; case "$enableval" in 9731 (yes) use_dietlibc=forced;; 9732 (no) use_dietlibc=forced_no;; 9733 (*) as_fn_error $? "'$enableval' is not a valid value for --enable-dietlibc" "$LINENO" 5;; 9734 esac 9735 else 9736 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no 9737 fi 9738 9739 9740 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then 9741 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d') 9742 _dietlibc_ver=${_dietlibc_ver##*diet version } 9743 _dietlibc_ver=${_dietlibc_ver##*dietlibc-} 9744 _dietlibc_ver_maj=${_dietlibc_ver%%.*} 9745 _dietlibc_ver_min=${_dietlibc_ver#*.} 9746 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*} 9747 _dietlibc_cmp="$min_diet_ver" 9748 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*} 9749 _dietlibc_cmp_min=${_dietlibc_cmp#*.} 9750 9751 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min 9752 9753 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0 9754 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min 9755 9756 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old 9757 else 9758 ENSC_VERSION_DIETLIBC= 9759 _dietlibc_ver=-1 9760 fi 9761 9762 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver 9763 ensc_have_dietlibc=no 9764 9765 case x"$use_dietlibc" in 9766 xdetected) 9767 if true; then 9768 USE_DIETLIBC_TRUE= 9769 USE_DIETLIBC_FALSE='#' 9770 else 9771 USE_DIETLIBC_TRUE='#' 9772 USE_DIETLIBC_FALSE= 9773 fi 9774 9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5 9776 $as_echo "yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6; } 9777 ensc_have_dietlibc=yes 9778 ;; 9779 xforced) 9780 if true; then 9781 USE_DIETLIBC_TRUE= 9782 USE_DIETLIBC_FALSE='#' 9783 else 9784 USE_DIETLIBC_TRUE='#' 9785 USE_DIETLIBC_FALSE= 9786 fi 9787 9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (forced)" >&5 9789 $as_echo "yes (forced)" >&6; } 9790 ensc_have_dietlibc=yes 9791 ;; 9792 xdetected_no) 9793 if false; then 9794 USE_DIETLIBC_TRUE= 9795 USE_DIETLIBC_FALSE='#' 9796 else 9797 USE_DIETLIBC_TRUE='#' 9798 USE_DIETLIBC_FALSE= 9799 fi 9800 9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (detected)" >&5 9802 $as_echo "no (detected)" >&6; } 9803 ;; 9804 xdetected_old) 9805 if false; then 9806 USE_DIETLIBC_TRUE= 9807 USE_DIETLIBC_FALSE='#' 9808 else 9809 USE_DIETLIBC_TRUE='#' 9810 USE_DIETLIBC_FALSE= 9811 fi 9812 9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5 9814 $as_echo "no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6; } 9815 ;; 9816 xforced_no) 9817 if false; then 9818 USE_DIETLIBC_TRUE= 9819 USE_DIETLIBC_FALSE='#' 9820 else 9821 USE_DIETLIBC_TRUE='#' 9822 USE_DIETLIBC_FALSE= 9823 fi 9824 9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (forced)" >&5 9826 $as_echo "no (forced)" >&6; } 9827 ;; 9828 *) 9829 as_fn_error $? "internal error, use_dietlibc was \"$use_dietlibc\"" "$LINENO" 5 9830 ;; 9831 esac 9832 9833 if test x"$ensc_have_dietlibc" != xno; then 9834 9835 9836 9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dietlibc supports C99" >&5 9838 $as_echo_n "checking whether dietlibc supports C99... " >&6; } 9839 if ${ensc_cv_c_dietlibc_c99+:} false; then : 9840 $as_echo_n "(cached) " >&6 9841 else 9842 9843 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS 9844 _ensc_dietlibc_c99_old_CC=$CC 9845 9846 CFLAGS="-std=c99" 9847 CC="${DIET:-diet} $CC" 9848 9849 ac_ext=c 9850 ac_cpp='$CPP $CPPFLAGS' 9851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9853 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9854 9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9856 /* end confdefs.h. */ 9857 /* */ 9858 _ACEOF 9859 if ac_fn_c_try_compile "$LINENO"; then : 9860 9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9862 /* end confdefs.h. */ 9863 9864 #include <stdint.h> 9865 #include <sys/cdefs.h> 9866 #if defined(inline) 9867 # error 'inline' badly defined 9868 #endif 9869 volatile uint64_t a; 9870 9871 _ACEOF 9872 if ac_fn_c_try_compile "$LINENO"; then : 9873 ensc_cv_c_dietlibc_c99=yes 9874 else 9875 ensc_cv_c_dietlibc_c99=no 9876 fi 9877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9878 else 9879 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)' 9880 fi 9881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9882 ac_ext=c 9883 ac_cpp='$CPP $CPPFLAGS' 9884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9886 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9887 9888 9889 CC=$_ensc_dietlibc_c99_old_CC 9890 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS 9891 9892 fi 9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_cv_c_dietlibc_c99" >&5 9894 $as_echo "$ensc_cv_c_dietlibc_c99" >&6; } 9895 9896 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then 9897 $as_echo "#define ENSC_DIETLIBC_C99 1" >>confdefs.h 9898 9899 fi 9900 9901 9902 9903 9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dietlibc declares syscall" >&5 9905 $as_echo_n "checking whether dietlibc declares syscall... " >&6; } 9906 if ${ensc_cv_c_dietlibc_syscall+:} false; then : 9907 $as_echo_n "(cached) " >&6 9908 else 9909 9910 _ensc_dietlibc_syscall_old_CC="$CC" 9911 CC="${DIET:-diet} $CC" 9912 9913 ac_ext=c 9914 ac_cpp='$CPP $CPPFLAGS' 9915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9917 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9918 9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9920 /* end confdefs.h. */ 9921 9922 #include <sys/syscall.h> 9923 long int syscall(long int __sysno, ...); 9924 9925 _ACEOF 9926 if ac_fn_c_try_compile "$LINENO"; then : 9927 ensc_cv_c_dietlibc_syscall=no 9928 else 9929 ensc_cv_c_dietlibc_syscall=yes 9930 fi 9931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9932 ac_ext=c 9933 ac_cpp='$CPP $CPPFLAGS' 9934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9936 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9937 9938 9939 CC="$_ensc_dietlibc_syscall_old_CC" 9940 9941 fi 9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_cv_c_dietlibc_syscall" >&5 9943 $as_echo "$ensc_cv_c_dietlibc_syscall" >&6; } 9944 9945 if test x"$ensc_cv_c_dietlibc_syscall" = xyes; then 9946 $as_echo "#define ENSC_DIETLIBC_HAS_SYSCALL 1" >>confdefs.h 9947 9948 fi 9949 9950 9951 9952 9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dietlibc declares pivot_root" >&5 9954 $as_echo_n "checking whether dietlibc declares pivot_root... " >&6; } 9955 if ${ensc_cv_c_dietlibc_pivot_root+:} false; then : 9956 $as_echo_n "(cached) " >&6 9957 else 9958 9959 _ensc_dietlibc_pivot_root_old_CC="$CC" 9960 CC="${DIET:-diet} $CC" 9961 9962 ac_ext=c 9963 ac_cpp='$CPP $CPPFLAGS' 9964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9966 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9967 9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9969 /* end confdefs.h. */ 9970 9971 #define _GNU_SOURCE 9972 #define _LINUX_SOURCE 9973 #include <unistd.h> 9974 void pivot_root(void); 9975 9976 _ACEOF 9977 if ac_fn_c_try_compile "$LINENO"; then : 9978 ensc_cv_c_dietlibc_pivot_root=no 9979 else 9980 ensc_cv_c_dietlibc_pivot_root=yes 9981 fi 9982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9983 ac_ext=c 9984 ac_cpp='$CPP $CPPFLAGS' 9985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9987 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9988 9989 9990 CC="$_ensc_dietlibc_pivot_root_old_CC" 9991 9992 fi 9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_cv_c_dietlibc_pivot_root" >&5 9994 $as_echo "$ensc_cv_c_dietlibc_pivot_root" >&6; } 9995 9996 if test x"$ensc_cv_c_dietlibc_pivot_root" = xyes; then 9997 $as_echo "#define ENSC_DIETLIBC_HAS_PIVOT_ROOT 1" >>confdefs.h 9998 9999 fi 10000 10001 fi 10002 10003 10004 if test x"$ensc_have_dietlibc" = xno; then 10005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ***" >&5 10006 $as_echo "$as_me: WARNING: *** ***" >&2;} 10007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5 10008 $as_echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;} 10009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5 10010 $as_echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;} 10011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** chroot() environments, so you have to expect problems ***" >&5 10012 $as_echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;} 10013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** there. ***" >&5 10014 $as_echo "$as_me: WARNING: *** there. ***" >&2;} 10015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ***" >&5 10016 $as_echo "$as_me: WARNING: *** ***" >&2;} 10017 if false; then 10018 USE_DIETLIBC_COMPAT_TRUE= 10019 USE_DIETLIBC_COMPAT_FALSE='#' 10020 else 10021 USE_DIETLIBC_COMPAT_TRUE='#' 10022 USE_DIETLIBC_COMPAT_FALSE= 10023 fi 10024 10025 else 10026 # HACK: libtool does not have cmdline options to build only 10027 # dynamic libraries; this can be done with the 10028 # '--disable-static' ./configure option only. As our static 10029 # libraries will be build with dietlibc, we have to do set 10030 # this option which is evaluated by 'AC_PROG_LIBTOOL' 10031 # below. Therefore, this macro must not be called earlier. 10032 enable_static=no 10033 10034 10035 10036 10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dietlibc needs '-lcompat'" >&5 10038 $as_echo_n "checking whether dietlibc needs '-lcompat'... " >&6; } 10039 if ${ensc_cv_c_dietlibc_compat+:} false; then : 10040 $as_echo_n "(cached) " >&6 10041 else 10042 10043 ac_ext=c 10044 ac_cpp='$CPP $CPPFLAGS' 10045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10047 ac_compiler_gnu=$ac_cv_c_compiler_gnu 10048 10049 ensc_dietlibc_need_compat_old_CC=$CC 10050 CC="${DIET:-diet} $CC" 10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10052 /* end confdefs.h. */ 10053 10054 10055 #include "$srcdir/lib/syscall-wrap.h" 10056 #include <errno.h> 10057 10058 #define __NR_foo0 42 10059 #define __NR_foo1 42 10060 #define __NR_foo2 42 10061 #define __NR_foo3 42 10062 #define __NR_foo4 42 10063 #define __NR_foo5 42 10064 inline static _syscall0(int, foo0) 10065 inline static _syscall1(int, foo1, int, a) 10066 inline static _syscall2(int, foo2, int, a, int, b) 10067 inline static _syscall3(int, foo3, int, a, int, b, int, c) 10068 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d) 10069 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e) 10070 10071 int 10072 main () 10073 { 10074 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0); 10075 ; 10076 return 0; 10077 } 10078 _ACEOF 10079 if ac_fn_c_try_link "$LINENO"; then : 10080 ensc_cv_c_dietlibc_compat=no 10081 else 10082 ensc_cv_c_dietlibc_compat=yes 10083 fi 10084 rm -f core conftest.err conftest.$ac_objext \ 10085 conftest$ac_exeext conftest.$ac_ext 10086 CC=$ensc_dietlibc_need_compat_old_CC 10087 ac_ext=c 10088 ac_cpp='$CPP $CPPFLAGS' 10089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10091 ac_compiler_gnu=$ac_cv_c_compiler_gnu 10092 10093 10094 fi 10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_cv_c_dietlibc_compat" >&5 10096 $as_echo "$ensc_cv_c_dietlibc_compat" >&6; } 10097 10098 if test x"USE_DIETLIBC_COMPAT" != x; then 10099 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then 10100 USE_DIETLIBC_COMPAT_TRUE= 10101 USE_DIETLIBC_COMPAT_FALSE='#' 10102 else 10103 USE_DIETLIBC_COMPAT_TRUE='#' 10104 USE_DIETLIBC_COMPAT_FALSE= 10105 fi 10106 10107 fi 10108 10109 fi 10110 10111 if test x"$ensc_have_dietlibc" = xyes; then 10112 ENSC_USE_DIETLIBC_TRUE= 10113 ENSC_USE_DIETLIBC_FALSE='#' 10114 else 10115 ENSC_USE_DIETLIBC_TRUE='#' 10116 ENSC_USE_DIETLIBC_FALSE= 10117 fi 10118 10119 if true; then 10120 ENSC_USE_GLIBC_TRUE= 10121 ENSC_USE_GLIBC_FALSE='#' 10122 else 10123 ENSC_USE_GLIBC_TRUE='#' 10124 ENSC_USE_GLIBC_FALSE= 10125 fi 10126 10127 10128 # HACK: see comments at 'enable_static' above 10129 case `pwd` in 10130 *\ * | *\ *) 10131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 10132 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 10133 esac 10134 10135 10136 10137 macro_version='2.4.2' 10138 macro_revision='1.3337' 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 ltmain="$ac_aux_dir/ltmain.sh" 10153 10154 # Backslashify metacharacters that are still active within 10155 # double-quoted strings. 10156 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 10157 10158 # Same as above, but do not quote variable references. 10159 double_quote_subst='s/\(["`\\]\)/\\\1/g' 10160 10161 # Sed substitution to delay expansion of an escaped shell variable in a 10162 # double_quote_subst'ed string. 10163 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 10164 10165 # Sed substitution to delay expansion of an escaped single quote. 10166 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 10167 10168 # Sed substitution to avoid accidental globbing in evaled expressions 10169 no_glob_subst='s/\*/\\\*/g' 10170 10171 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10172 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 10173 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 10174 10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 10176 $as_echo_n "checking how to print strings... " >&6; } 10177 # Test print first, because it will be a builtin if present. 10178 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 10179 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 10180 ECHO='print -r --' 10181 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 10182 ECHO='printf %s\n' 10183 else 10184 # Use this function as a fallback that always works. 10185 func_fallback_echo () 10186 { 10187 eval 'cat <<_LTECHO_EOF 10188 $1 10189 _LTECHO_EOF' 10190 } 10191 ECHO='func_fallback_echo' 10192 fi 10193 10194 # func_echo_all arg... 10195 # Invoke $ECHO with all args, space-separated. 10196 func_echo_all () 10197 { 10198 $ECHO "" 10199 } 10200 10201 case "$ECHO" in 10202 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 10203 $as_echo "printf" >&6; } ;; 10204 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 10205 $as_echo "print -r" >&6; } ;; 10206 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 10207 $as_echo "cat" >&6; } ;; 10208 esac 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 10224 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 10225 if ${ac_cv_path_SED+:} false; then : 10226 $as_echo_n "(cached) " >&6 10227 else 10228 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 10229 for ac_i in 1 2 3 4 5 6 7; do 10230 ac_script="$ac_script$as_nl$ac_script" 10231 done 10232 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 10233 { ac_script=; unset ac_script;} 10234 if test -z "$SED"; then 10235 ac_path_SED_found=false 10236 # Loop through the user's path and test for each of PROGNAME-LIST 10237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10238 for as_dir in $PATH 10239 do 10240 IFS=$as_save_IFS 10241 test -z "$as_dir" && as_dir=. 10242 for ac_prog in sed gsed; do 10243 for ac_exec_ext in '' $ac_executable_extensions; do 10244 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 10245 as_fn_executable_p "$ac_path_SED" || continue 10246 # Check for GNU ac_path_SED and select it if it is found. 10247 # Check for GNU $ac_path_SED 10248 case `"$ac_path_SED" --version 2>&1` in 10249 *GNU*) 10250 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 10251 *) 10252 ac_count=0 10253 $as_echo_n 0123456789 >"conftest.in" 10254 while : 10255 do 10256 cat "conftest.in" "conftest.in" >"conftest.tmp" 10257 mv "conftest.tmp" "conftest.in" 10258 cp "conftest.in" "conftest.nl" 10259 $as_echo '' >> "conftest.nl" 10260 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 10261 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 10262 as_fn_arith $ac_count + 1 && ac_count=$as_val 10263 if test $ac_count -gt ${ac_path_SED_max-0}; then 10264 # Best one so far, save it but keep looking for a better one 10265 ac_cv_path_SED="$ac_path_SED" 10266 ac_path_SED_max=$ac_count 10267 fi 10268 # 10*(2^10) chars as input seems more than enough 10269 test $ac_count -gt 10 && break 10270 done 10271 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 10272 esac 10273 10274 $ac_path_SED_found && break 3 10275 done 10276 done 10277 done 10278 IFS=$as_save_IFS 10279 if test -z "$ac_cv_path_SED"; then 10280 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 10281 fi 10282 else 10283 ac_cv_path_SED=$SED 10284 fi 10285 10286 fi 10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 10288 $as_echo "$ac_cv_path_SED" >&6; } 10289 SED="$ac_cv_path_SED" 10290 rm -f conftest.sed 10291 10292 test -z "$SED" && SED=sed 10293 Xsed="$SED -e 1s/^X//" 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 10306 $as_echo_n "checking for fgrep... " >&6; } 10307 if ${ac_cv_path_FGREP+:} false; then : 10308 $as_echo_n "(cached) " >&6 10309 else 10310 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 10311 then ac_cv_path_FGREP="$GREP -F" 10312 else 10313 if test -z "$FGREP"; then 10314 ac_path_FGREP_found=false 10315 # Loop through the user's path and test for each of PROGNAME-LIST 10316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10317 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 10318 do 10319 IFS=$as_save_IFS 10320 test -z "$as_dir" && as_dir=. 10321 for ac_prog in fgrep; do 10322 for ac_exec_ext in '' $ac_executable_extensions; do 10323 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 10324 as_fn_executable_p "$ac_path_FGREP" || continue 10325 # Check for GNU ac_path_FGREP and select it if it is found. 10326 # Check for GNU $ac_path_FGREP 10327 case `"$ac_path_FGREP" --version 2>&1` in 10328 *GNU*) 10329 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 10330 *) 10331 ac_count=0 10332 $as_echo_n 0123456789 >"conftest.in" 10333 while : 10334 do 10335 cat "conftest.in" "conftest.in" >"conftest.tmp" 10336 mv "conftest.tmp" "conftest.in" 10337 cp "conftest.in" "conftest.nl" 10338 $as_echo 'FGREP' >> "conftest.nl" 10339 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 10340 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 10341 as_fn_arith $ac_count + 1 && ac_count=$as_val 10342 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 10343 # Best one so far, save it but keep looking for a better one 10344 ac_cv_path_FGREP="$ac_path_FGREP" 10345 ac_path_FGREP_max=$ac_count 10346 fi 10347 # 10*(2^10) chars as input seems more than enough 10348 test $ac_count -gt 10 && break 10349 done 10350 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 10351 esac 10352 10353 $ac_path_FGREP_found && break 3 10354 done 10355 done 10356 done 10357 IFS=$as_save_IFS 10358 if test -z "$ac_cv_path_FGREP"; then 10359 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 10360 fi 10361 else 10362 ac_cv_path_FGREP=$FGREP 10363 fi 10364 10365 fi 10366 fi 10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 10368 $as_echo "$ac_cv_path_FGREP" >&6; } 10369 FGREP="$ac_cv_path_FGREP" 10370 10371 10372 test -z "$GREP" && GREP=grep 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 # Check whether --with-gnu-ld was given. 10393 if test "${with_gnu_ld+set}" = set; then : 10394 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 10395 else 10396 with_gnu_ld=no 10397 fi 10398 10399 ac_prog=ld 10400 if test "$GCC" = yes; then 10401 # Check if gcc -print-prog-name=ld gives a path. 10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 10403 $as_echo_n "checking for ld used by $CC... " >&6; } 10404 case $host in 10405 *-*-mingw*) 10406 # gcc leaves a trailing carriage return which upsets mingw 10407 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 10408 *) 10409 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 10410 esac 10411 case $ac_prog in 10412 # Accept absolute paths. 10413 [\\/]* | ?:[\\/]*) 10414 re_direlt='/[^/][^/]*/\.\./' 10415 # Canonicalize the pathname of ld 10416 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 10417 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 10418 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 10419 done 10420 test -z "$LD" && LD="$ac_prog" 10421 ;; 10422 "") 10423 # If it fails, then pretend we aren't using GCC. 10424 ac_prog=ld 10425 ;; 10426 *) 10427 # If it is relative, then search for the first ld in PATH. 10428 with_gnu_ld=unknown 10429 ;; 10430 esac 10431 elif test "$with_gnu_ld" = yes; then 10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 10433 $as_echo_n "checking for GNU ld... " >&6; } 10434 else 10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 10436 $as_echo_n "checking for non-GNU ld... " >&6; } 10437 fi 10438 if ${lt_cv_path_LD+:} false; then : 10439 $as_echo_n "(cached) " >&6 10440 else 10441 if test -z "$LD"; then 10442 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 10443 for ac_dir in $PATH; do 10444 IFS="$lt_save_ifs" 10445 test -z "$ac_dir" && ac_dir=. 10446 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 10447 lt_cv_path_LD="$ac_dir/$ac_prog" 10448 # Check to see if the program is GNU ld. I'd rather use --version, 10449 # but apparently some variants of GNU ld only accept -v. 10450 # Break only if it was the GNU/non-GNU ld that we prefer. 10451 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 10452 *GNU* | *'with BFD'*) 10453 test "$with_gnu_ld" != no && break 10454 ;; 10455 *) 10456 test "$with_gnu_ld" != yes && break 10457 ;; 10458 esac 10459 fi 10460 done 10461 IFS="$lt_save_ifs" 10462 else 10463 lt_cv_path_LD="$LD" # Let the user override the test with a path. 10464 fi 10465 fi 10466 10467 LD="$lt_cv_path_LD" 10468 if test -n "$LD"; then 10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 10470 $as_echo "$LD" >&6; } 10471 else 10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10473 $as_echo "no" >&6; } 10474 fi 10475 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 10477 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 10478 if ${lt_cv_prog_gnu_ld+:} false; then : 10479 $as_echo_n "(cached) " >&6 10480 else 10481 # I'd rather use --version here, but apparently some GNU lds only accept -v. 10482 case `$LD -v 2>&1 </dev/null` in 10483 *GNU* | *'with BFD'*) 10484 lt_cv_prog_gnu_ld=yes 10485 ;; 10486 *) 10487 lt_cv_prog_gnu_ld=no 10488 ;; 10489 esac 10490 fi 10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 10492 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 10493 with_gnu_ld=$lt_cv_prog_gnu_ld 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 10504 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 10505 if ${lt_cv_path_NM+:} false; then : 10506 $as_echo_n "(cached) " >&6 10507 else 10508 if test -n "$NM"; then 10509 # Let the user override the test. 10510 lt_cv_path_NM="$NM" 10511 else 10512 lt_nm_to_check="${ac_tool_prefix}nm" 10513 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 10514 lt_nm_to_check="$lt_nm_to_check nm" 10515 fi 10516 for lt_tmp_nm in $lt_nm_to_check; do 10517 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 10518 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 10519 IFS="$lt_save_ifs" 10520 test -z "$ac_dir" && ac_dir=. 10521 tmp_nm="$ac_dir/$lt_tmp_nm" 10522 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 10523 # Check to see if the nm accepts a BSD-compat flag. 10524 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 10525 # nm: unknown option "B" ignored 10526 # Tru64's nm complains that /dev/null is an invalid object file 10527 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 10528 */dev/null* | *'Invalid file or object type'*) 10529 lt_cv_path_NM="$tmp_nm -B" 10530 break 10531 ;; 10532 *) 10533 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 10534 */dev/null*) 10535 lt_cv_path_NM="$tmp_nm -p" 10536 break 10537 ;; 10538 *) 10539 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 10540 continue # so that we can try to find one that supports BSD flags 10541 ;; 10542 esac 10543 ;; 10544 esac 10545 fi 10546 done 10547 IFS="$lt_save_ifs" 10548 done 10549 : ${lt_cv_path_NM=no} 10550 fi 10551 fi 10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 10553 $as_echo "$lt_cv_path_NM" >&6; } 10554 if test "$lt_cv_path_NM" != "no"; then 10555 NM="$lt_cv_path_NM" 10556 else 10557 # Didn't find any BSD compatible name lister, look for dumpbin. 10558 if test -n "$DUMPBIN"; then : 10559 # Let the user override the test. 10560 else 10561 if test -n "$ac_tool_prefix"; then 10562 for ac_prog in dumpbin "link -dump" 10563 do 10564 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 10565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10567 $as_echo_n "checking for $ac_word... " >&6; } 10568 if ${ac_cv_prog_DUMPBIN+:} false; then : 10569 $as_echo_n "(cached) " >&6 10570 else 10571 if test -n "$DUMPBIN"; then 10572 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 10573 else 10574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10575 for as_dir in $PATH 10576 do 10577 IFS=$as_save_IFS 10578 test -z "$as_dir" && as_dir=. 10579 for ac_exec_ext in '' $ac_executable_extensions; do 10580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10581 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 10582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10583 break 2 10584 fi 10585 done 10586 done 10587 IFS=$as_save_IFS 10588 10589 fi 10590 fi 10591 DUMPBIN=$ac_cv_prog_DUMPBIN 10592 if test -n "$DUMPBIN"; then 10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 10594 $as_echo "$DUMPBIN" >&6; } 10595 else 10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10597 $as_echo "no" >&6; } 10598 fi 10599 10600 10601 test -n "$DUMPBIN" && break 10602 done 10603 fi 10604 if test -z "$DUMPBIN"; then 10605 ac_ct_DUMPBIN=$DUMPBIN 10606 for ac_prog in dumpbin "link -dump" 10607 do 10608 # Extract the first word of "$ac_prog", so it can be a program name with args. 10609 set dummy $ac_prog; ac_word=$2 10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10611 $as_echo_n "checking for $ac_word... " >&6; } 10612 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 10613 $as_echo_n "(cached) " >&6 10614 else 10615 if test -n "$ac_ct_DUMPBIN"; then 10616 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 10617 else 10618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10619 for as_dir in $PATH 10620 do 10621 IFS=$as_save_IFS 10622 test -z "$as_dir" && as_dir=. 10623 for ac_exec_ext in '' $ac_executable_extensions; do 10624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10625 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 10626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10627 break 2 10628 fi 10629 done 10630 done 10631 IFS=$as_save_IFS 10632 10633 fi 10634 fi 10635 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 10636 if test -n "$ac_ct_DUMPBIN"; then 10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 10638 $as_echo "$ac_ct_DUMPBIN" >&6; } 10639 else 10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10641 $as_echo "no" >&6; } 10642 fi 10643 10644 10645 test -n "$ac_ct_DUMPBIN" && break 10646 done 10647 10648 if test "x$ac_ct_DUMPBIN" = x; then 10649 DUMPBIN=":" 10650 else 10651 case $cross_compiling:$ac_tool_warned in 10652 yes:) 10653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10655 ac_tool_warned=yes ;; 10656 esac 10657 DUMPBIN=$ac_ct_DUMPBIN 10658 fi 10659 fi 10660 10661 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 10662 *COFF*) 10663 DUMPBIN="$DUMPBIN -symbols" 10664 ;; 10665 *) 10666 DUMPBIN=: 10667 ;; 10668 esac 10669 fi 10670 10671 if test "$DUMPBIN" != ":"; then 10672 NM="$DUMPBIN" 10673 fi 10674 fi 10675 test -z "$NM" && NM=nm 10676 10677 10678 10679 10680 10681 10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 10683 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 10684 if ${lt_cv_nm_interface+:} false; then : 10685 $as_echo_n "(cached) " >&6 10686 else 10687 lt_cv_nm_interface="BSD nm" 10688 echo "int some_variable = 0;" > conftest.$ac_ext 10689 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 10690 (eval "$ac_compile" 2>conftest.err) 10691 cat conftest.err >&5 10692 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 10693 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 10694 cat conftest.err >&5 10695 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 10696 cat conftest.out >&5 10697 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 10698 lt_cv_nm_interface="MS dumpbin" 10699 fi 10700 rm -f conftest* 10701 fi 10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 10703 $as_echo "$lt_cv_nm_interface" >&6; } 10704 10705 # find the maximum length of command line arguments 10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 10707 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 10708 if ${lt_cv_sys_max_cmd_len+:} false; then : 10709 $as_echo_n "(cached) " >&6 10710 else 10711 i=0 10712 teststring="ABCD" 10713 10714 case $build_os in 10715 msdosdjgpp*) 10716 # On DJGPP, this test can blow up pretty badly due to problems in libc 10717 # (any single argument exceeding 2000 bytes causes a buffer overrun 10718 # during glob expansion). Even if it were fixed, the result of this 10719 # check would be larger than it should be. 10720 lt_cv_sys_max_cmd_len=12288; # 12K is about right 10721 ;; 10722 10723 gnu*) 10724 # Under GNU Hurd, this test is not required because there is 10725 # no limit to the length of command line arguments. 10726 # Libtool will interpret -1 as no limit whatsoever 10727 lt_cv_sys_max_cmd_len=-1; 10728 ;; 10729 10730 cygwin* | mingw* | cegcc*) 10731 # On Win9x/ME, this test blows up -- it succeeds, but takes 10732 # about 5 minutes as the teststring grows exponentially. 10733 # Worse, since 9x/ME are not pre-emptively multitasking, 10734 # you end up with a "frozen" computer, even though with patience 10735 # the test eventually succeeds (with a max line length of 256k). 10736 # Instead, let's just punt: use the minimum linelength reported by 10737 # all of the supported platforms: 8192 (on NT/2K/XP). 10738 lt_cv_sys_max_cmd_len=8192; 10739 ;; 10740 10741 mint*) 10742 # On MiNT this can take a long time and run out of memory. 10743 lt_cv_sys_max_cmd_len=8192; 10744 ;; 10745 10746 amigaos*) 10747 # On AmigaOS with pdksh, this test takes hours, literally. 10748 # So we just punt and use a minimum line length of 8192. 10749 lt_cv_sys_max_cmd_len=8192; 10750 ;; 10751 10752 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 10753 # This has been around since 386BSD, at least. Likely further. 10754 if test -x /sbin/sysctl; then 10755 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 10756 elif test -x /usr/sbin/sysctl; then 10757 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 10758 else 10759 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 10760 fi 10761 # And add a safety zone 10762 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 10763 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 10764 ;; 10765 10766 interix*) 10767 # We know the value 262144 and hardcode it with a safety zone (like BSD) 10768 lt_cv_sys_max_cmd_len=196608 10769 ;; 10770 10771 os2*) 10772 # The test takes a long time on OS/2. 10773 lt_cv_sys_max_cmd_len=8192 10774 ;; 10775 10776 osf*) 10777 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 10778 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 10779 # nice to cause kernel panics so lets avoid the loop below. 10780 # First set a reasonable default. 10781 lt_cv_sys_max_cmd_len=16384 10782 # 10783 if test -x /sbin/sysconfig; then 10784 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 10785 *1*) lt_cv_sys_max_cmd_len=-1 ;; 10786 esac 10787 fi 10788 ;; 10789 sco3.2v5*) 10790 lt_cv_sys_max_cmd_len=102400 10791 ;; 10792 sysv5* | sco5v6* | sysv4.2uw2*) 10793 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 10794 if test -n "$kargmax"; then 10795 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 10796 else 10797 lt_cv_sys_max_cmd_len=32768 10798 fi 10799 ;; 10800 *) 10801 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 10802 if test -n "$lt_cv_sys_max_cmd_len" && \ 10803 test undefined != "$lt_cv_sys_max_cmd_len"; then 10804 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 10805 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 10806 else 10807 # Make teststring a little bigger before we do anything with it. 10808 # a 1K string should be a reasonable start. 10809 for i in 1 2 3 4 5 6 7 8 ; do 10810 teststring=$teststring$teststring 10811 done 10812 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 10813 # If test is not a shell built-in, we'll probably end up computing a 10814 # maximum length that is only half of the actual maximum length, but 10815 # we can't tell. 10816 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 10817 = "X$teststring$teststring"; } >/dev/null 2>&1 && 10818 test $i != 17 # 1/2 MB should be enough 10819 do 10820 i=`expr $i + 1` 10821 teststring=$teststring$teststring 10822 done 10823 # Only check the string length outside the loop. 10824 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 10825 teststring= 10826 # Add a significant safety factor because C++ compilers can tack on 10827 # massive amounts of additional arguments before passing them to the 10828 # linker. It appears as though 1/2 is a usable value. 10829 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 10830 fi 10831 ;; 10832 esac 10833 10834 fi 10835 10836 if test -n $lt_cv_sys_max_cmd_len ; then 10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 10838 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 10839 else 10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 10841 $as_echo "none" >&6; } 10842 fi 10843 max_cmd_len=$lt_cv_sys_max_cmd_len 10844 10845 10846 10847 10848 10849 10850 : ${CP="cp -f"} 10851 : ${MV="mv -f"} 10852 : ${RM="rm -f"} 10853 10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 10855 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 10856 # Try some XSI features 10857 xsi_shell=no 10858 ( _lt_dummy="a/b/c" 10859 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 10860 = c,a/b,b/c, \ 10861 && eval 'test $(( 1 + 1 )) -eq 2 \ 10862 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 10863 && xsi_shell=yes 10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 10865 $as_echo "$xsi_shell" >&6; } 10866 10867 10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 10869 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 10870 lt_shell_append=no 10871 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 10872 >/dev/null 2>&1 \ 10873 && lt_shell_append=yes 10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 10875 $as_echo "$lt_shell_append" >&6; } 10876 10877 10878 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 10879 lt_unset=unset 10880 else 10881 lt_unset=false 10882 fi 10883 10884 10885 10886 10887 10888 # test EBCDIC or ASCII 10889 case `echo X|tr X '\101'` in 10890 A) # ASCII based system 10891 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 10892 lt_SP2NL='tr \040 \012' 10893 lt_NL2SP='tr \015\012 \040\040' 10894 ;; 10895 *) # EBCDIC based system 10896 lt_SP2NL='tr \100 \n' 10897 lt_NL2SP='tr \r\n \100\100' 10898 ;; 10899 esac 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 10910 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 10911 if ${lt_cv_to_host_file_cmd+:} false; then : 10912 $as_echo_n "(cached) " >&6 10913 else 10914 case $host in 10915 *-*-mingw* ) 10916 case $build in 10917 *-*-mingw* ) # actually msys 10918 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 10919 ;; 10920 *-*-cygwin* ) 10921 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 10922 ;; 10923 * ) # otherwise, assume *nix 10924 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 10925 ;; 10926 esac 10927 ;; 10928 *-*-cygwin* ) 10929 case $build in 10930 *-*-mingw* ) # actually msys 10931 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 10932 ;; 10933 *-*-cygwin* ) 10934 lt_cv_to_host_file_cmd=func_convert_file_noop 10935 ;; 10936 * ) # otherwise, assume *nix 10937 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 10938 ;; 10939 esac 10940 ;; 10941 * ) # unhandled hosts (and "normal" native builds) 10942 lt_cv_to_host_file_cmd=func_convert_file_noop 10943 ;; 10944 esac 10945 10946 fi 10947 10948 to_host_file_cmd=$lt_cv_to_host_file_cmd 10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 10950 $as_echo "$lt_cv_to_host_file_cmd" >&6; } 10951 10952 10953 10954 10955 10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 10957 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 10958 if ${lt_cv_to_tool_file_cmd+:} false; then : 10959 $as_echo_n "(cached) " >&6 10960 else 10961 #assume ordinary cross tools, or native build. 10962 lt_cv_to_tool_file_cmd=func_convert_file_noop 10963 case $host in 10964 *-*-mingw* ) 10965 case $build in 10966 *-*-mingw* ) # actually msys 10967 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 10968 ;; 10969 esac 10970 ;; 10971 esac 10972 10973 fi 10974 10975 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 10977 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 10978 10979 10980 10981 10982 10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 10984 $as_echo_n "checking for $LD option to reload object files... " >&6; } 10985 if ${lt_cv_ld_reload_flag+:} false; then : 10986 $as_echo_n "(cached) " >&6 10987 else 10988 lt_cv_ld_reload_flag='-r' 10989 fi 10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 10991 $as_echo "$lt_cv_ld_reload_flag" >&6; } 10992 reload_flag=$lt_cv_ld_reload_flag 10993 case $reload_flag in 10994 "" | " "*) ;; 10995 *) reload_flag=" $reload_flag" ;; 10996 esac 10997 reload_cmds='$LD$reload_flag -o $output$reload_objs' 10998 case $host_os in 10999 cygwin* | mingw* | pw32* | cegcc*) 11000 if test "$GCC" != yes; then 11001 reload_cmds=false 11002 fi 11003 ;; 11004 darwin*) 11005 if test "$GCC" = yes; then 11006 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 11007 else 11008 reload_cmds='$LD$reload_flag -o $output$reload_objs' 11009 fi 11010 ;; 11011 esac 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 if test -n "$ac_tool_prefix"; then 11022 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 11023 set dummy ${ac_tool_prefix}objdump; ac_word=$2 11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11025 $as_echo_n "checking for $ac_word... " >&6; } 11026 if ${ac_cv_prog_OBJDUMP+:} false; then : 11027 $as_echo_n "(cached) " >&6 11028 else 11029 if test -n "$OBJDUMP"; then 11030 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 11031 else 11032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11033 for as_dir in $PATH 11034 do 11035 IFS=$as_save_IFS 11036 test -z "$as_dir" && as_dir=. 11037 for ac_exec_ext in '' $ac_executable_extensions; do 11038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11039 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 11040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11041 break 2 11042 fi 11043 done 11044 done 11045 IFS=$as_save_IFS 11046 11047 fi 11048 fi 11049 OBJDUMP=$ac_cv_prog_OBJDUMP 11050 if test -n "$OBJDUMP"; then 11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 11052 $as_echo "$OBJDUMP" >&6; } 11053 else 11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11055 $as_echo "no" >&6; } 11056 fi 11057 11058 11059 fi 11060 if test -z "$ac_cv_prog_OBJDUMP"; then 11061 ac_ct_OBJDUMP=$OBJDUMP 11062 # Extract the first word of "objdump", so it can be a program name with args. 11063 set dummy objdump; ac_word=$2 11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11065 $as_echo_n "checking for $ac_word... " >&6; } 11066 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 11067 $as_echo_n "(cached) " >&6 11068 else 11069 if test -n "$ac_ct_OBJDUMP"; then 11070 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 11071 else 11072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11073 for as_dir in $PATH 11074 do 11075 IFS=$as_save_IFS 11076 test -z "$as_dir" && as_dir=. 11077 for ac_exec_ext in '' $ac_executable_extensions; do 11078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11079 ac_cv_prog_ac_ct_OBJDUMP="objdump" 11080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11081 break 2 11082 fi 11083 done 11084 done 11085 IFS=$as_save_IFS 11086 11087 fi 11088 fi 11089 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 11090 if test -n "$ac_ct_OBJDUMP"; then 11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 11092 $as_echo "$ac_ct_OBJDUMP" >&6; } 11093 else 11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11095 $as_echo "no" >&6; } 11096 fi 11097 11098 if test "x$ac_ct_OBJDUMP" = x; then 11099 OBJDUMP="false" 11100 else 11101 case $cross_compiling:$ac_tool_warned in 11102 yes:) 11103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11105 ac_tool_warned=yes ;; 11106 esac 11107 OBJDUMP=$ac_ct_OBJDUMP 11108 fi 11109 else 11110 OBJDUMP="$ac_cv_prog_OBJDUMP" 11111 fi 11112 11113 test -z "$OBJDUMP" && OBJDUMP=objdump 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 11124 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 11125 if ${lt_cv_deplibs_check_method+:} false; then : 11126 $as_echo_n "(cached) " >&6 11127 else 11128 lt_cv_file_magic_cmd='$MAGIC_CMD' 11129 lt_cv_file_magic_test_file= 11130 lt_cv_deplibs_check_method='unknown' 11131 # Need to set the preceding variable on all platforms that support 11132 # interlibrary dependencies. 11133 # 'none' -- dependencies not supported. 11134 # `unknown' -- same as none, but documents that we really don't know. 11135 # 'pass_all' -- all dependencies passed with no checks. 11136 # 'test_compile' -- check by making test program. 11137 # 'file_magic [[regex]]' -- check by looking for files in library path 11138 # which responds to the $file_magic_cmd with a given extended regex. 11139 # If you have `file' or equivalent on your system and you're not sure 11140 # whether `pass_all' will *always* work, you probably want this one. 11141 11142 case $host_os in 11143 aix[4-9]*) 11144 lt_cv_deplibs_check_method=pass_all 11145 ;; 11146 11147 beos*) 11148 lt_cv_deplibs_check_method=pass_all 11149 ;; 11150 11151 bsdi[45]*) 11152 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 11153 lt_cv_file_magic_cmd='/usr/bin/file -L' 11154 lt_cv_file_magic_test_file=/shlib/libc.so 11155 ;; 11156 11157 cygwin*) 11158 # func_win32_libid is a shell function defined in ltmain.sh 11159 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 11160 lt_cv_file_magic_cmd='func_win32_libid' 11161 ;; 11162 11163 mingw* | pw32*) 11164 # Base MSYS/MinGW do not provide the 'file' command needed by 11165 # func_win32_libid shell function, so use a weaker test based on 'objdump', 11166 # unless we find 'file', for example because we are cross-compiling. 11167 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 11168 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 11169 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 11170 lt_cv_file_magic_cmd='func_win32_libid' 11171 else 11172 # Keep this pattern in sync with the one in func_win32_libid. 11173 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 11174 lt_cv_file_magic_cmd='$OBJDUMP -f' 11175 fi 11176 ;; 11177 11178 cegcc*) 11179 # use the weaker test based on 'objdump'. See mingw*. 11180 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 11181 lt_cv_file_magic_cmd='$OBJDUMP -f' 11182 ;; 11183 11184 darwin* | rhapsody*) 11185 lt_cv_deplibs_check_method=pass_all 11186 ;; 11187 11188 freebsd* | dragonfly*) 11189 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 11190 case $host_cpu in 11191 i*86 ) 11192 # Not sure whether the presence of OpenBSD here was a mistake. 11193 # Let's accept both of them until this is cleared up. 11194 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 11195 lt_cv_file_magic_cmd=/usr/bin/file 11196 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 11197 ;; 11198 esac 11199 else 11200 lt_cv_deplibs_check_method=pass_all 11201 fi 11202 ;; 11203 11204 haiku*) 11205 lt_cv_deplibs_check_method=pass_all 11206 ;; 11207 11208 hpux10.20* | hpux11*) 11209 lt_cv_file_magic_cmd=/usr/bin/file 11210 case $host_cpu in 11211 ia64*) 11212 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 11213 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 11214 ;; 11215 hppa*64*) 11216 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]' 11217 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 11218 ;; 11219 *) 11220 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 11221 lt_cv_file_magic_test_file=/usr/lib/libc.sl 11222 ;; 11223 esac 11224 ;; 11225 11226 interix[3-9]*) 11227 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 11228 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 11229 ;; 11230 11231 irix5* | irix6* | nonstopux*) 11232 case $LD in 11233 *-32|*"-32 ") libmagic=32-bit;; 11234 *-n32|*"-n32 ") libmagic=N32;; 11235 *-64|*"-64 ") libmagic=64-bit;; 11236 *) libmagic=never-match;; 11237 esac 11238 lt_cv_deplibs_check_method=pass_all 11239 ;; 11240 11241 # This must be glibc/ELF. 11242 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11243 lt_cv_deplibs_check_method=pass_all 11244 ;; 11245 11246 netbsd* | netbsdelf*-gnu) 11247 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 11248 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 11249 else 11250 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 11251 fi 11252 ;; 11253 11254 newos6*) 11255 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 11256 lt_cv_file_magic_cmd=/usr/bin/file 11257 lt_cv_file_magic_test_file=/usr/lib/libnls.so 11258 ;; 11259 11260 *nto* | *qnx*) 11261 lt_cv_deplibs_check_method=pass_all 11262 ;; 11263 11264 openbsd*) 11265 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11266 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 11267 else 11268 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 11269 fi 11270 ;; 11271 11272 osf3* | osf4* | osf5*) 11273 lt_cv_deplibs_check_method=pass_all 11274 ;; 11275 11276 rdos*) 11277 lt_cv_deplibs_check_method=pass_all 11278 ;; 11279 11280 solaris*) 11281 lt_cv_deplibs_check_method=pass_all 11282 ;; 11283 11284 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11285 lt_cv_deplibs_check_method=pass_all 11286 ;; 11287 11288 sysv4 | sysv4.3*) 11289 case $host_vendor in 11290 motorola) 11291 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]' 11292 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 11293 ;; 11294 ncr) 11295 lt_cv_deplibs_check_method=pass_all 11296 ;; 11297 sequent) 11298 lt_cv_file_magic_cmd='/bin/file' 11299 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 11300 ;; 11301 sni) 11302 lt_cv_file_magic_cmd='/bin/file' 11303 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 11304 lt_cv_file_magic_test_file=/lib/libc.so 11305 ;; 11306 siemens) 11307 lt_cv_deplibs_check_method=pass_all 11308 ;; 11309 pc) 11310 lt_cv_deplibs_check_method=pass_all 11311 ;; 11312 esac 11313 ;; 11314 11315 tpf*) 11316 lt_cv_deplibs_check_method=pass_all 11317 ;; 11318 esac 11319 11320 fi 11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 11322 $as_echo "$lt_cv_deplibs_check_method" >&6; } 11323 11324 file_magic_glob= 11325 want_nocaseglob=no 11326 if test "$build" = "$host"; then 11327 case $host_os in 11328 mingw* | pw32*) 11329 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 11330 want_nocaseglob=yes 11331 else 11332 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 11333 fi 11334 ;; 11335 esac 11336 fi 11337 11338 file_magic_cmd=$lt_cv_file_magic_cmd 11339 deplibs_check_method=$lt_cv_deplibs_check_method 11340 test -z "$deplibs_check_method" && deplibs_check_method=unknown 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 if test -n "$ac_tool_prefix"; then 11364 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 11365 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11367 $as_echo_n "checking for $ac_word... " >&6; } 11368 if ${ac_cv_prog_DLLTOOL+:} false; then : 11369 $as_echo_n "(cached) " >&6 11370 else 11371 if test -n "$DLLTOOL"; then 11372 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 11373 else 11374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11375 for as_dir in $PATH 11376 do 11377 IFS=$as_save_IFS 11378 test -z "$as_dir" && as_dir=. 11379 for ac_exec_ext in '' $ac_executable_extensions; do 11380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11381 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 11382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11383 break 2 11384 fi 11385 done 11386 done 11387 IFS=$as_save_IFS 11388 11389 fi 11390 fi 11391 DLLTOOL=$ac_cv_prog_DLLTOOL 11392 if test -n "$DLLTOOL"; then 11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 11394 $as_echo "$DLLTOOL" >&6; } 11395 else 11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11397 $as_echo "no" >&6; } 11398 fi 11399 11400 11401 fi 11402 if test -z "$ac_cv_prog_DLLTOOL"; then 11403 ac_ct_DLLTOOL=$DLLTOOL 11404 # Extract the first word of "dlltool", so it can be a program name with args. 11405 set dummy dlltool; ac_word=$2 11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11407 $as_echo_n "checking for $ac_word... " >&6; } 11408 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 11409 $as_echo_n "(cached) " >&6 11410 else 11411 if test -n "$ac_ct_DLLTOOL"; then 11412 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 11413 else 11414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11415 for as_dir in $PATH 11416 do 11417 IFS=$as_save_IFS 11418 test -z "$as_dir" && as_dir=. 11419 for ac_exec_ext in '' $ac_executable_extensions; do 11420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11421 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 11422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11423 break 2 11424 fi 11425 done 11426 done 11427 IFS=$as_save_IFS 11428 11429 fi 11430 fi 11431 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 11432 if test -n "$ac_ct_DLLTOOL"; then 11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 11434 $as_echo "$ac_ct_DLLTOOL" >&6; } 11435 else 11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11437 $as_echo "no" >&6; } 11438 fi 11439 11440 if test "x$ac_ct_DLLTOOL" = x; then 11441 DLLTOOL="false" 11442 else 11443 case $cross_compiling:$ac_tool_warned in 11444 yes:) 11445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11447 ac_tool_warned=yes ;; 11448 esac 11449 DLLTOOL=$ac_ct_DLLTOOL 11450 fi 11451 else 11452 DLLTOOL="$ac_cv_prog_DLLTOOL" 11453 fi 11454 11455 test -z "$DLLTOOL" && DLLTOOL=dlltool 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 11467 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 11468 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 11469 $as_echo_n "(cached) " >&6 11470 else 11471 lt_cv_sharedlib_from_linklib_cmd='unknown' 11472 11473 case $host_os in 11474 cygwin* | mingw* | pw32* | cegcc*) 11475 # two different shell functions defined in ltmain.sh 11476 # decide which to use based on capabilities of $DLLTOOL 11477 case `$DLLTOOL --help 2>&1` in 11478 *--identify-strict*) 11479 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 11480 ;; 11481 *) 11482 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 11483 ;; 11484 esac 11485 ;; 11486 *) 11487 # fallback: assume linklib IS sharedlib 11488 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 11489 ;; 11490 esac 11491 11492 fi 11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 11494 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 11495 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 11496 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 11497 11498 11499 11500 11501 11502 11503 11504 if test -n "$ac_tool_prefix"; then 11505 for ac_prog in ar 11506 do 11507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 11508 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11510 $as_echo_n "checking for $ac_word... " >&6; } 11511 if ${ac_cv_prog_AR+:} false; then : 11512 $as_echo_n "(cached) " >&6 11513 else 11514 if test -n "$AR"; then 11515 ac_cv_prog_AR="$AR" # Let the user override the test. 11516 else 11517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11518 for as_dir in $PATH 11519 do 11520 IFS=$as_save_IFS 11521 test -z "$as_dir" && as_dir=. 11522 for ac_exec_ext in '' $ac_executable_extensions; do 11523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11524 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 11525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11526 break 2 11527 fi 11528 done 11529 done 11530 IFS=$as_save_IFS 11531 11532 fi 11533 fi 11534 AR=$ac_cv_prog_AR 11535 if test -n "$AR"; then 11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 11537 $as_echo "$AR" >&6; } 11538 else 11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11540 $as_echo "no" >&6; } 11541 fi 11542 11543 11544 test -n "$AR" && break 11545 done 11546 fi 11547 if test -z "$AR"; then 11548 ac_ct_AR=$AR 11549 for ac_prog in ar 11550 do 11551 # Extract the first word of "$ac_prog", so it can be a program name with args. 11552 set dummy $ac_prog; ac_word=$2 11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11554 $as_echo_n "checking for $ac_word... " >&6; } 11555 if ${ac_cv_prog_ac_ct_AR+:} false; then : 11556 $as_echo_n "(cached) " >&6 11557 else 11558 if test -n "$ac_ct_AR"; then 11559 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 11560 else 11561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11562 for as_dir in $PATH 11563 do 11564 IFS=$as_save_IFS 11565 test -z "$as_dir" && as_dir=. 11566 for ac_exec_ext in '' $ac_executable_extensions; do 11567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11568 ac_cv_prog_ac_ct_AR="$ac_prog" 11569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11570 break 2 11571 fi 11572 done 11573 done 11574 IFS=$as_save_IFS 11575 11576 fi 11577 fi 11578 ac_ct_AR=$ac_cv_prog_ac_ct_AR 11579 if test -n "$ac_ct_AR"; then 11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 11581 $as_echo "$ac_ct_AR" >&6; } 11582 else 11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11584 $as_echo "no" >&6; } 11585 fi 11586 11587 11588 test -n "$ac_ct_AR" && break 11589 done 11590 11591 if test "x$ac_ct_AR" = x; then 11592 AR="false" 11593 else 11594 case $cross_compiling:$ac_tool_warned in 11595 yes:) 11596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11598 ac_tool_warned=yes ;; 11599 esac 11600 AR=$ac_ct_AR 11601 fi 11602 fi 11603 11604 : ${AR=ar} 11605 : ${AR_FLAGS=cru} 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 11618 $as_echo_n "checking for archiver @FILE support... " >&6; } 11619 if ${lt_cv_ar_at_file+:} false; then : 11620 $as_echo_n "(cached) " >&6 11621 else 11622 lt_cv_ar_at_file=no 11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11624 /* end confdefs.h. */ 11625 11626 int 11627 main () 11628 { 11629 11630 ; 11631 return 0; 11632 } 11633 _ACEOF 11634 if ac_fn_c_try_compile "$LINENO"; then : 11635 echo conftest.$ac_objext > conftest.lst 11636 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 11637 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 11638 (eval $lt_ar_try) 2>&5 11639 ac_status=$? 11640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11641 test $ac_status = 0; } 11642 if test "$ac_status" -eq 0; then 11643 # Ensure the archiver fails upon bogus file names. 11644 rm -f conftest.$ac_objext libconftest.a 11645 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 11646 (eval $lt_ar_try) 2>&5 11647 ac_status=$? 11648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11649 test $ac_status = 0; } 11650 if test "$ac_status" -ne 0; then 11651 lt_cv_ar_at_file=@ 11652 fi 11653 fi 11654 rm -f conftest.* libconftest.a 11655 11656 fi 11657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11658 11659 fi 11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 11661 $as_echo "$lt_cv_ar_at_file" >&6; } 11662 11663 if test "x$lt_cv_ar_at_file" = xno; then 11664 archiver_list_spec= 11665 else 11666 archiver_list_spec=$lt_cv_ar_at_file 11667 fi 11668 11669 11670 11671 11672 11673 11674 11675 if test -n "$ac_tool_prefix"; then 11676 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 11677 set dummy ${ac_tool_prefix}strip; ac_word=$2 11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11679 $as_echo_n "checking for $ac_word... " >&6; } 11680 if ${ac_cv_prog_STRIP+:} false; then : 11681 $as_echo_n "(cached) " >&6 11682 else 11683 if test -n "$STRIP"; then 11684 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 11685 else 11686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11687 for as_dir in $PATH 11688 do 11689 IFS=$as_save_IFS 11690 test -z "$as_dir" && as_dir=. 11691 for ac_exec_ext in '' $ac_executable_extensions; do 11692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11693 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 11694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11695 break 2 11696 fi 11697 done 11698 done 11699 IFS=$as_save_IFS 11700 11701 fi 11702 fi 11703 STRIP=$ac_cv_prog_STRIP 11704 if test -n "$STRIP"; then 11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 11706 $as_echo "$STRIP" >&6; } 11707 else 11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11709 $as_echo "no" >&6; } 11710 fi 11711 11712 11713 fi 11714 if test -z "$ac_cv_prog_STRIP"; then 11715 ac_ct_STRIP=$STRIP 11716 # Extract the first word of "strip", so it can be a program name with args. 11717 set dummy strip; ac_word=$2 11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11719 $as_echo_n "checking for $ac_word... " >&6; } 11720 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 11721 $as_echo_n "(cached) " >&6 11722 else 11723 if test -n "$ac_ct_STRIP"; then 11724 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 11725 else 11726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11727 for as_dir in $PATH 11728 do 11729 IFS=$as_save_IFS 11730 test -z "$as_dir" && as_dir=. 11731 for ac_exec_ext in '' $ac_executable_extensions; do 11732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11733 ac_cv_prog_ac_ct_STRIP="strip" 11734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11735 break 2 11736 fi 11737 done 11738 done 11739 IFS=$as_save_IFS 11740 11741 fi 11742 fi 11743 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 11744 if test -n "$ac_ct_STRIP"; then 11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 11746 $as_echo "$ac_ct_STRIP" >&6; } 11747 else 11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11749 $as_echo "no" >&6; } 11750 fi 11751 11752 if test "x$ac_ct_STRIP" = x; then 11753 STRIP=":" 11754 else 11755 case $cross_compiling:$ac_tool_warned in 11756 yes:) 11757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11759 ac_tool_warned=yes ;; 11760 esac 11761 STRIP=$ac_ct_STRIP 11762 fi 11763 else 11764 STRIP="$ac_cv_prog_STRIP" 11765 fi 11766 11767 test -z "$STRIP" && STRIP=: 11768 11769 11770 11771 11772 11773 11774 if test -n "$ac_tool_prefix"; then 11775 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 11776 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11778 $as_echo_n "checking for $ac_word... " >&6; } 11779 if ${ac_cv_prog_RANLIB+:} false; then : 11780 $as_echo_n "(cached) " >&6 11781 else 11782 if test -n "$RANLIB"; then 11783 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 11784 else 11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11786 for as_dir in $PATH 11787 do 11788 IFS=$as_save_IFS 11789 test -z "$as_dir" && as_dir=. 11790 for ac_exec_ext in '' $ac_executable_extensions; do 11791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11792 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 11793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11794 break 2 11795 fi 11796 done 11797 done 11798 IFS=$as_save_IFS 11799 11800 fi 11801 fi 11802 RANLIB=$ac_cv_prog_RANLIB 11803 if test -n "$RANLIB"; then 11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 11805 $as_echo "$RANLIB" >&6; } 11806 else 11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11808 $as_echo "no" >&6; } 11809 fi 11810 11811 11812 fi 11813 if test -z "$ac_cv_prog_RANLIB"; then 11814 ac_ct_RANLIB=$RANLIB 11815 # Extract the first word of "ranlib", so it can be a program name with args. 11816 set dummy ranlib; ac_word=$2 11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11818 $as_echo_n "checking for $ac_word... " >&6; } 11819 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 11820 $as_echo_n "(cached) " >&6 11821 else 11822 if test -n "$ac_ct_RANLIB"; then 11823 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 11824 else 11825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11826 for as_dir in $PATH 11827 do 11828 IFS=$as_save_IFS 11829 test -z "$as_dir" && as_dir=. 11830 for ac_exec_ext in '' $ac_executable_extensions; do 11831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11832 ac_cv_prog_ac_ct_RANLIB="ranlib" 11833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11834 break 2 11835 fi 11836 done 11837 done 11838 IFS=$as_save_IFS 11839 11840 fi 11841 fi 11842 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 11843 if test -n "$ac_ct_RANLIB"; then 11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 11845 $as_echo "$ac_ct_RANLIB" >&6; } 11846 else 11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11848 $as_echo "no" >&6; } 11849 fi 11850 11851 if test "x$ac_ct_RANLIB" = x; then 11852 RANLIB=":" 11853 else 11854 case $cross_compiling:$ac_tool_warned in 11855 yes:) 11856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11858 ac_tool_warned=yes ;; 11859 esac 11860 RANLIB=$ac_ct_RANLIB 11861 fi 11862 else 11863 RANLIB="$ac_cv_prog_RANLIB" 11864 fi 11865 11866 test -z "$RANLIB" && RANLIB=: 11867 11868 11869 11870 11871 11872 11873 # Determine commands to create old-style static archives. 11874 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 11875 old_postinstall_cmds='chmod 644 $oldlib' 11876 old_postuninstall_cmds= 11877 11878 if test -n "$RANLIB"; then 11879 case $host_os in 11880 openbsd*) 11881 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 11882 ;; 11883 *) 11884 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 11885 ;; 11886 esac 11887 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 11888 fi 11889 11890 case $host_os in 11891 darwin*) 11892 lock_old_archive_extraction=yes ;; 11893 *) 11894 lock_old_archive_extraction=no ;; 11895 esac 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 # If no C compiler was specified, use CC. 11936 LTCC=${LTCC-"$CC"} 11937 11938 # If no C compiler flags were specified, use CFLAGS. 11939 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 11940 11941 # Allow CC to be a program name with arguments. 11942 compiler=$CC 11943 11944 11945 # Check for command to grab the raw symbol name followed by C symbol from nm. 11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 11947 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 11948 if ${lt_cv_sys_global_symbol_pipe+:} false; then : 11949 $as_echo_n "(cached) " >&6 11950 else 11951 11952 # These are sane defaults that work on at least a few old systems. 11953 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 11954 11955 # Character class describing NM global symbol codes. 11956 symcode='[BCDEGRST]' 11957 11958 # Regexp to match symbols that can be accessed directly from C. 11959 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 11960 11961 # Define system-specific variables. 11962 case $host_os in 11963 aix*) 11964 symcode='[BCDT]' 11965 ;; 11966 cygwin* | mingw* | pw32* | cegcc*) 11967 symcode='[ABCDGISTW]' 11968 ;; 11969 hpux*) 11970 if test "$host_cpu" = ia64; then 11971 symcode='[ABCDEGRST]' 11972 fi 11973 ;; 11974 irix* | nonstopux*) 11975 symcode='[BCDEGRST]' 11976 ;; 11977 osf*) 11978 symcode='[BCDEGQRST]' 11979 ;; 11980 solaris*) 11981 symcode='[BDRT]' 11982 ;; 11983 sco3.2v5*) 11984 symcode='[DT]' 11985 ;; 11986 sysv4.2uw2*) 11987 symcode='[DT]' 11988 ;; 11989 sysv5* | sco5v6* | unixware* | OpenUNIX*) 11990 symcode='[ABDT]' 11991 ;; 11992 sysv4) 11993 symcode='[DFNSTU]' 11994 ;; 11995 esac 11996 11997 # If we're using GNU nm, then use its standard symbol codes. 11998 case `$NM -V 2>&1` in 11999 *GNU* | *'with BFD'*) 12000 symcode='[ABCDGIRSTW]' ;; 12001 esac 12002 12003 # Transform an extracted symbol line into a proper C declaration. 12004 # Some systems (esp. on ia64) link data and code symbols differently, 12005 # so use this general approach. 12006 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 12007 12008 # Transform an extracted symbol line into symbol name and symbol address 12009 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 12010 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'" 12011 12012 # Handle CRLF in mingw tool chain 12013 opt_cr= 12014 case $build_os in 12015 mingw*) 12016 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 12017 ;; 12018 esac 12019 12020 # Try without a prefix underscore, then with it. 12021 for ac_symprfx in "" "_"; do 12022 12023 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 12024 symxfrm="\\1 $ac_symprfx\\2 \\2" 12025 12026 # Write the raw and C identifiers. 12027 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 12028 # Fake it for dumpbin and say T for any non-static function 12029 # and D for any global variable. 12030 # Also find C++ and __fastcall symbols from MSVC++, 12031 # which start with @ or ?. 12032 lt_cv_sys_global_symbol_pipe="$AWK '"\ 12033 " {last_section=section; section=\$ 3};"\ 12034 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 12035 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 12036 " \$ 0!~/External *\|/{next};"\ 12037 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 12038 " {if(hide[section]) next};"\ 12039 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 12040 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 12041 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ 12042 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 12043 " ' prfx=^$ac_symprfx" 12044 else 12045 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 12046 fi 12047 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 12048 12049 # Check to see that the pipe works correctly. 12050 pipe_works=no 12051 12052 rm -f conftest* 12053 cat > conftest.$ac_ext <<_LT_EOF 12054 #ifdef __cplusplus 12055 extern "C" { 12056 #endif 12057 char nm_test_var; 12058 void nm_test_func(void); 12059 void nm_test_func(void){} 12060 #ifdef __cplusplus 12061 } 12062 #endif 12063 int main(){nm_test_var='a';nm_test_func();return(0);} 12064 _LT_EOF 12065 12066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 12067 (eval $ac_compile) 2>&5 12068 ac_status=$? 12069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12070 test $ac_status = 0; }; then 12071 # Now try to grab the symbols. 12072 nlist=conftest.nm 12073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 12074 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 12075 ac_status=$? 12076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12077 test $ac_status = 0; } && test -s "$nlist"; then 12078 # Try sorting and uniquifying the output. 12079 if sort "$nlist" | uniq > "$nlist"T; then 12080 mv -f "$nlist"T "$nlist" 12081 else 12082 rm -f "$nlist"T 12083 fi 12084 12085 # Make sure that we snagged all the symbols we need. 12086 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 12087 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 12088 cat <<_LT_EOF > conftest.$ac_ext 12089 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 12090 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 12091 /* DATA imports from DLLs on WIN32 con't be const, because runtime 12092 relocations are performed -- see ld's documentation on pseudo-relocs. */ 12093 # define LT_DLSYM_CONST 12094 #elif defined(__osf__) 12095 /* This system does not cope well with relocations in const data. */ 12096 # define LT_DLSYM_CONST 12097 #else 12098 # define LT_DLSYM_CONST const 12099 #endif 12100 12101 #ifdef __cplusplus 12102 extern "C" { 12103 #endif 12104 12105 _LT_EOF 12106 # Now generate the symbol file. 12107 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 12108 12109 cat <<_LT_EOF >> conftest.$ac_ext 12110 12111 /* The mapping between symbol names and symbols. */ 12112 LT_DLSYM_CONST struct { 12113 const char *name; 12114 void *address; 12115 } 12116 lt__PROGRAM__LTX_preloaded_symbols[] = 12117 { 12118 { "@PROGRAM@", (void *) 0 }, 12119 _LT_EOF 12120 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 12121 cat <<\_LT_EOF >> conftest.$ac_ext 12122 {0, (void *) 0} 12123 }; 12124 12125 /* This works around a problem in FreeBSD linker */ 12126 #ifdef FREEBSD_WORKAROUND 12127 static const void *lt_preloaded_setup() { 12128 return lt__PROGRAM__LTX_preloaded_symbols; 12129 } 12130 #endif 12131 12132 #ifdef __cplusplus 12133 } 12134 #endif 12135 _LT_EOF 12136 # Now try linking the two files. 12137 mv conftest.$ac_objext conftstm.$ac_objext 12138 lt_globsym_save_LIBS=$LIBS 12139 lt_globsym_save_CFLAGS=$CFLAGS 12140 LIBS="conftstm.$ac_objext" 12141 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 12142 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12143 (eval $ac_link) 2>&5 12144 ac_status=$? 12145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12146 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 12147 pipe_works=yes 12148 fi 12149 LIBS=$lt_globsym_save_LIBS 12150 CFLAGS=$lt_globsym_save_CFLAGS 12151 else 12152 echo "cannot find nm_test_func in $nlist" >&5 12153 fi 12154 else 12155 echo "cannot find nm_test_var in $nlist" >&5 12156 fi 12157 else 12158 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 12159 fi 12160 else 12161 echo "$progname: failed program was:" >&5 12162 cat conftest.$ac_ext >&5 12163 fi 12164 rm -rf conftest* conftst* 12165 12166 # Do not use the global_symbol_pipe unless it works. 12167 if test "$pipe_works" = yes; then 12168 break 12169 else 12170 lt_cv_sys_global_symbol_pipe= 12171 fi 12172 done 12173 12174 fi 12175 12176 if test -z "$lt_cv_sys_global_symbol_pipe"; then 12177 lt_cv_sys_global_symbol_to_cdecl= 12178 fi 12179 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 12181 $as_echo "failed" >&6; } 12182 else 12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 12184 $as_echo "ok" >&6; } 12185 fi 12186 12187 # Response file support. 12188 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 12189 nm_file_list_spec='@' 12190 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 12191 nm_file_list_spec='@' 12192 fi 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 12221 $as_echo_n "checking for sysroot... " >&6; } 12222 12223 # Check whether --with-sysroot was given. 12224 if test "${with_sysroot+set}" = set; then : 12225 withval=$with_sysroot; 12226 else 12227 with_sysroot=no 12228 fi 12229 12230 12231 lt_sysroot= 12232 case ${with_sysroot} in #( 12233 yes) 12234 if test "$GCC" = yes; then 12235 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 12236 fi 12237 ;; #( 12238 /*) 12239 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 12240 ;; #( 12241 no|'') 12242 ;; #( 12243 *) 12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 12245 $as_echo "${with_sysroot}" >&6; } 12246 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 12247 ;; 12248 esac 12249 12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 12251 $as_echo "${lt_sysroot:-no}" >&6; } 12252 12253 12254 12255 12256 12257 # Check whether --enable-libtool-lock was given. 12258 if test "${enable_libtool_lock+set}" = set; then : 12259 enableval=$enable_libtool_lock; 12260 fi 12261 12262 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 12263 12264 # Some flags need to be propagated to the compiler or linker for good 12265 # libtool support. 12266 case $host in 12267 ia64-*-hpux*) 12268 # Find out which ABI we are using. 12269 echo 'int i;' > conftest.$ac_ext 12270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 12271 (eval $ac_compile) 2>&5 12272 ac_status=$? 12273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12274 test $ac_status = 0; }; then 12275 case `/usr/bin/file conftest.$ac_objext` in 12276 *ELF-32*) 12277 HPUX_IA64_MODE="32" 12278 ;; 12279 *ELF-64*) 12280 HPUX_IA64_MODE="64" 12281 ;; 12282 esac 12283 fi 12284 rm -rf conftest* 12285 ;; 12286 *-*-irix6*) 12287 # Find out which ABI we are using. 12288 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 12289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 12290 (eval $ac_compile) 2>&5 12291 ac_status=$? 12292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12293 test $ac_status = 0; }; then 12294 if test "$lt_cv_prog_gnu_ld" = yes; then 12295 case `/usr/bin/file conftest.$ac_objext` in 12296 *32-bit*) 12297 LD="${LD-ld} -melf32bsmip" 12298 ;; 12299 *N32*) 12300 LD="${LD-ld} -melf32bmipn32" 12301 ;; 12302 *64-bit*) 12303 LD="${LD-ld} -melf64bmip" 12304 ;; 12305 esac 12306 else 12307 case `/usr/bin/file conftest.$ac_objext` in 12308 *32-bit*) 12309 LD="${LD-ld} -32" 12310 ;; 12311 *N32*) 12312 LD="${LD-ld} -n32" 12313 ;; 12314 *64-bit*) 12315 LD="${LD-ld} -64" 12316 ;; 12317 esac 12318 fi 12319 fi 12320 rm -rf conftest* 12321 ;; 12322 12323 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 12324 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 12325 # Find out which ABI we are using. 12326 echo 'int i;' > conftest.$ac_ext 12327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 12328 (eval $ac_compile) 2>&5 12329 ac_status=$? 12330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12331 test $ac_status = 0; }; then 12332 case `/usr/bin/file conftest.o` in 12333 *32-bit*) 12334 case $host in 12335 x86_64-*kfreebsd*-gnu) 12336 LD="${LD-ld} -m elf_i386_fbsd" 12337 ;; 12338 x86_64-*linux*) 12339 case `/usr/bin/file conftest.o` in 12340 *x86-64*) 12341 LD="${LD-ld} -m elf32_x86_64" 12342 ;; 12343 *) 12344 LD="${LD-ld} -m elf_i386" 12345 ;; 12346 esac 12347 ;; 12348 powerpc64le-*) 12349 LD="${LD-ld} -m elf32lppclinux" 12350 ;; 12351 powerpc64-*) 12352 LD="${LD-ld} -m elf32ppclinux" 12353 ;; 12354 s390x-*linux*) 12355 LD="${LD-ld} -m elf_s390" 12356 ;; 12357 sparc64-*linux*) 12358 LD="${LD-ld} -m elf32_sparc" 12359 ;; 12360 esac 12361 ;; 12362 *64-bit*) 12363 case $host in 12364 x86_64-*kfreebsd*-gnu) 12365 LD="${LD-ld} -m elf_x86_64_fbsd" 12366 ;; 12367 x86_64-*linux*) 12368 LD="${LD-ld} -m elf_x86_64" 12369 ;; 12370 powerpcle-*) 12371 LD="${LD-ld} -m elf64lppc" 12372 ;; 12373 powerpc-*) 12374 LD="${LD-ld} -m elf64ppc" 12375 ;; 12376 s390*-*linux*|s390*-*tpf*) 12377 LD="${LD-ld} -m elf64_s390" 12378 ;; 12379 sparc*-*linux*) 12380 LD="${LD-ld} -m elf64_sparc" 12381 ;; 12382 esac 12383 ;; 12384 esac 12385 fi 12386 rm -rf conftest* 12387 ;; 12388 12389 *-*-sco3.2v5*) 12390 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 12391 SAVE_CFLAGS="$CFLAGS" 12392 CFLAGS="$CFLAGS -belf" 12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 12394 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 12395 if ${lt_cv_cc_needs_belf+:} false; then : 12396 $as_echo_n "(cached) " >&6 12397 else 12398 ac_ext=c 12399 ac_cpp='$CPP $CPPFLAGS' 12400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12402 ac_compiler_gnu=$ac_cv_c_compiler_gnu 12403 12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12405 /* end confdefs.h. */ 12406 12407 int 12408 main () 12409 { 12410 12411 ; 12412 return 0; 12413 } 12414 _ACEOF 12415 if ac_fn_c_try_link "$LINENO"; then : 12416 lt_cv_cc_needs_belf=yes 12417 else 12418 lt_cv_cc_needs_belf=no 12419 fi 12420 rm -f core conftest.err conftest.$ac_objext \ 12421 conftest$ac_exeext conftest.$ac_ext 12422 ac_ext=c 12423 ac_cpp='$CPP $CPPFLAGS' 12424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12426 ac_compiler_gnu=$ac_cv_c_compiler_gnu 12427 12428 fi 12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 12430 $as_echo "$lt_cv_cc_needs_belf" >&6; } 12431 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 12432 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 12433 CFLAGS="$SAVE_CFLAGS" 12434 fi 12435 ;; 12436 *-*solaris*) 12437 # Find out which ABI we are using. 12438 echo 'int i;' > conftest.$ac_ext 12439 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 12440 (eval $ac_compile) 2>&5 12441 ac_status=$? 12442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12443 test $ac_status = 0; }; then 12444 case `/usr/bin/file conftest.o` in 12445 *64-bit*) 12446 case $lt_cv_prog_gnu_ld in 12447 yes*) 12448 case $host in 12449 i?86-*-solaris*) 12450 LD="${LD-ld} -m elf_x86_64" 12451 ;; 12452 sparc*-*-solaris*) 12453 LD="${LD-ld} -m elf64_sparc" 12454 ;; 12455 esac 12456 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 12457 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 12458 LD="${LD-ld}_sol2" 12459 fi 12460 ;; 12461 *) 12462 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 12463 LD="${LD-ld} -64" 12464 fi 12465 ;; 12466 esac 12467 ;; 12468 esac 12469 fi 12470 rm -rf conftest* 12471 ;; 12472 esac 12473 12474 need_locks="$enable_libtool_lock" 12475 12476 if test -n "$ac_tool_prefix"; then 12477 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 12478 set dummy ${ac_tool_prefix}mt; ac_word=$2 12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12480 $as_echo_n "checking for $ac_word... " >&6; } 12481 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 12482 $as_echo_n "(cached) " >&6 12483 else 12484 if test -n "$MANIFEST_TOOL"; then 12485 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 12486 else 12487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12488 for as_dir in $PATH 12489 do 12490 IFS=$as_save_IFS 12491 test -z "$as_dir" && as_dir=. 12492 for ac_exec_ext in '' $ac_executable_extensions; do 12493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12494 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 12495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12496 break 2 12497 fi 12498 done 12499 done 12500 IFS=$as_save_IFS 12501 12502 fi 12503 fi 12504 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 12505 if test -n "$MANIFEST_TOOL"; then 12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 12507 $as_echo "$MANIFEST_TOOL" >&6; } 12508 else 12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12510 $as_echo "no" >&6; } 12511 fi 12512 12513 12514 fi 12515 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 12516 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 12517 # Extract the first word of "mt", so it can be a program name with args. 12518 set dummy mt; ac_word=$2 12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12520 $as_echo_n "checking for $ac_word... " >&6; } 12521 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 12522 $as_echo_n "(cached) " >&6 12523 else 12524 if test -n "$ac_ct_MANIFEST_TOOL"; then 12525 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 12526 else 12527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12528 for as_dir in $PATH 12529 do 12530 IFS=$as_save_IFS 12531 test -z "$as_dir" && as_dir=. 12532 for ac_exec_ext in '' $ac_executable_extensions; do 12533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12534 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 12535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12536 break 2 12537 fi 12538 done 12539 done 12540 IFS=$as_save_IFS 12541 12542 fi 12543 fi 12544 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 12545 if test -n "$ac_ct_MANIFEST_TOOL"; then 12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 12547 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 12548 else 12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12550 $as_echo "no" >&6; } 12551 fi 12552 12553 if test "x$ac_ct_MANIFEST_TOOL" = x; then 12554 MANIFEST_TOOL=":" 12555 else 12556 case $cross_compiling:$ac_tool_warned in 12557 yes:) 12558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12560 ac_tool_warned=yes ;; 12561 esac 12562 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 12563 fi 12564 else 12565 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 12566 fi 12567 12568 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 12570 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 12571 if ${lt_cv_path_mainfest_tool+:} false; then : 12572 $as_echo_n "(cached) " >&6 12573 else 12574 lt_cv_path_mainfest_tool=no 12575 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 12576 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 12577 cat conftest.err >&5 12578 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 12579 lt_cv_path_mainfest_tool=yes 12580 fi 12581 rm -f conftest* 12582 fi 12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 12584 $as_echo "$lt_cv_path_mainfest_tool" >&6; } 12585 if test "x$lt_cv_path_mainfest_tool" != xyes; then 12586 MANIFEST_TOOL=: 12587 fi 12588 12589 12590 12591 12592 12593 12594 case $host_os in 12595 rhapsody* | darwin*) 12596 if test -n "$ac_tool_prefix"; then 12597 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 12598 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12600 $as_echo_n "checking for $ac_word... " >&6; } 12601 if ${ac_cv_prog_DSYMUTIL+:} false; then : 12602 $as_echo_n "(cached) " >&6 12603 else 12604 if test -n "$DSYMUTIL"; then 12605 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 12606 else 12607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12608 for as_dir in $PATH 12609 do 12610 IFS=$as_save_IFS 12611 test -z "$as_dir" && as_dir=. 12612 for ac_exec_ext in '' $ac_executable_extensions; do 12613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12614 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 12615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12616 break 2 12617 fi 12618 done 12619 done 12620 IFS=$as_save_IFS 12621 12622 fi 12623 fi 12624 DSYMUTIL=$ac_cv_prog_DSYMUTIL 12625 if test -n "$DSYMUTIL"; then 12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 12627 $as_echo "$DSYMUTIL" >&6; } 12628 else 12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12630 $as_echo "no" >&6; } 12631 fi 12632 12633 12634 fi 12635 if test -z "$ac_cv_prog_DSYMUTIL"; then 12636 ac_ct_DSYMUTIL=$DSYMUTIL 12637 # Extract the first word of "dsymutil", so it can be a program name with args. 12638 set dummy dsymutil; ac_word=$2 12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12640 $as_echo_n "checking for $ac_word... " >&6; } 12641 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 12642 $as_echo_n "(cached) " >&6 12643 else 12644 if test -n "$ac_ct_DSYMUTIL"; then 12645 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 12646 else 12647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12648 for as_dir in $PATH 12649 do 12650 IFS=$as_save_IFS 12651 test -z "$as_dir" && as_dir=. 12652 for ac_exec_ext in '' $ac_executable_extensions; do 12653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12654 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 12655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12656 break 2 12657 fi 12658 done 12659 done 12660 IFS=$as_save_IFS 12661 12662 fi 12663 fi 12664 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 12665 if test -n "$ac_ct_DSYMUTIL"; then 12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 12667 $as_echo "$ac_ct_DSYMUTIL" >&6; } 12668 else 12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12670 $as_echo "no" >&6; } 12671 fi 12672 12673 if test "x$ac_ct_DSYMUTIL" = x; then 12674 DSYMUTIL=":" 12675 else 12676 case $cross_compiling:$ac_tool_warned in 12677 yes:) 12678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12680 ac_tool_warned=yes ;; 12681 esac 12682 DSYMUTIL=$ac_ct_DSYMUTIL 12683 fi 12684 else 12685 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 12686 fi 12687 12688 if test -n "$ac_tool_prefix"; then 12689 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 12690 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12692 $as_echo_n "checking for $ac_word... " >&6; } 12693 if ${ac_cv_prog_NMEDIT+:} false; then : 12694 $as_echo_n "(cached) " >&6 12695 else 12696 if test -n "$NMEDIT"; then 12697 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 12698 else 12699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12700 for as_dir in $PATH 12701 do 12702 IFS=$as_save_IFS 12703 test -z "$as_dir" && as_dir=. 12704 for ac_exec_ext in '' $ac_executable_extensions; do 12705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12706 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 12707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12708 break 2 12709 fi 12710 done 12711 done 12712 IFS=$as_save_IFS 12713 12714 fi 12715 fi 12716 NMEDIT=$ac_cv_prog_NMEDIT 12717 if test -n "$NMEDIT"; then 12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 12719 $as_echo "$NMEDIT" >&6; } 12720 else 12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12722 $as_echo "no" >&6; } 12723 fi 12724 12725 12726 fi 12727 if test -z "$ac_cv_prog_NMEDIT"; then 12728 ac_ct_NMEDIT=$NMEDIT 12729 # Extract the first word of "nmedit", so it can be a program name with args. 12730 set dummy nmedit; ac_word=$2 12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12732 $as_echo_n "checking for $ac_word... " >&6; } 12733 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 12734 $as_echo_n "(cached) " >&6 12735 else 12736 if test -n "$ac_ct_NMEDIT"; then 12737 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 12738 else 12739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12740 for as_dir in $PATH 12741 do 12742 IFS=$as_save_IFS 12743 test -z "$as_dir" && as_dir=. 12744 for ac_exec_ext in '' $ac_executable_extensions; do 12745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12746 ac_cv_prog_ac_ct_NMEDIT="nmedit" 12747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12748 break 2 12749 fi 12750 done 12751 done 12752 IFS=$as_save_IFS 12753 12754 fi 12755 fi 12756 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 12757 if test -n "$ac_ct_NMEDIT"; then 12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 12759 $as_echo "$ac_ct_NMEDIT" >&6; } 12760 else 12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12762 $as_echo "no" >&6; } 12763 fi 12764 12765 if test "x$ac_ct_NMEDIT" = x; then 12766 NMEDIT=":" 12767 else 12768 case $cross_compiling:$ac_tool_warned in 12769 yes:) 12770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12772 ac_tool_warned=yes ;; 12773 esac 12774 NMEDIT=$ac_ct_NMEDIT 12775 fi 12776 else 12777 NMEDIT="$ac_cv_prog_NMEDIT" 12778 fi 12779 12780 if test -n "$ac_tool_prefix"; then 12781 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 12782 set dummy ${ac_tool_prefix}lipo; ac_word=$2 12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12784 $as_echo_n "checking for $ac_word... " >&6; } 12785 if ${ac_cv_prog_LIPO+:} false; then : 12786 $as_echo_n "(cached) " >&6 12787 else 12788 if test -n "$LIPO"; then 12789 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 12790 else 12791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12792 for as_dir in $PATH 12793 do 12794 IFS=$as_save_IFS 12795 test -z "$as_dir" && as_dir=. 12796 for ac_exec_ext in '' $ac_executable_extensions; do 12797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12798 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 12799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12800 break 2 12801 fi 12802 done 12803 done 12804 IFS=$as_save_IFS 12805 12806 fi 12807 fi 12808 LIPO=$ac_cv_prog_LIPO 12809 if test -n "$LIPO"; then 12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 12811 $as_echo "$LIPO" >&6; } 12812 else 12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12814 $as_echo "no" >&6; } 12815 fi 12816 12817 12818 fi 12819 if test -z "$ac_cv_prog_LIPO"; then 12820 ac_ct_LIPO=$LIPO 12821 # Extract the first word of "lipo", so it can be a program name with args. 12822 set dummy lipo; ac_word=$2 12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12824 $as_echo_n "checking for $ac_word... " >&6; } 12825 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 12826 $as_echo_n "(cached) " >&6 12827 else 12828 if test -n "$ac_ct_LIPO"; then 12829 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 12830 else 12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12832 for as_dir in $PATH 12833 do 12834 IFS=$as_save_IFS 12835 test -z "$as_dir" && as_dir=. 12836 for ac_exec_ext in '' $ac_executable_extensions; do 12837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12838 ac_cv_prog_ac_ct_LIPO="lipo" 12839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12840 break 2 12841 fi 12842 done 12843 done 12844 IFS=$as_save_IFS 12845 12846 fi 12847 fi 12848 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 12849 if test -n "$ac_ct_LIPO"; then 12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 12851 $as_echo "$ac_ct_LIPO" >&6; } 12852 else 12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12854 $as_echo "no" >&6; } 12855 fi 12856 12857 if test "x$ac_ct_LIPO" = x; then 12858 LIPO=":" 12859 else 12860 case $cross_compiling:$ac_tool_warned in 12861 yes:) 12862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12864 ac_tool_warned=yes ;; 12865 esac 12866 LIPO=$ac_ct_LIPO 12867 fi 12868 else 12869 LIPO="$ac_cv_prog_LIPO" 12870 fi 12871 12872 if test -n "$ac_tool_prefix"; then 12873 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 12874 set dummy ${ac_tool_prefix}otool; ac_word=$2 12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12876 $as_echo_n "checking for $ac_word... " >&6; } 12877 if ${ac_cv_prog_OTOOL+:} false; then : 12878 $as_echo_n "(cached) " >&6 12879 else 12880 if test -n "$OTOOL"; then 12881 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 12882 else 12883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12884 for as_dir in $PATH 12885 do 12886 IFS=$as_save_IFS 12887 test -z "$as_dir" && as_dir=. 12888 for ac_exec_ext in '' $ac_executable_extensions; do 12889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12890 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 12891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12892 break 2 12893 fi 12894 done 12895 done 12896 IFS=$as_save_IFS 12897 12898 fi 12899 fi 12900 OTOOL=$ac_cv_prog_OTOOL 12901 if test -n "$OTOOL"; then 12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 12903 $as_echo "$OTOOL" >&6; } 12904 else 12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12906 $as_echo "no" >&6; } 12907 fi 12908 12909 12910 fi 12911 if test -z "$ac_cv_prog_OTOOL"; then 12912 ac_ct_OTOOL=$OTOOL 12913 # Extract the first word of "otool", so it can be a program name with args. 12914 set dummy otool; ac_word=$2 12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12916 $as_echo_n "checking for $ac_word... " >&6; } 12917 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 12918 $as_echo_n "(cached) " >&6 12919 else 12920 if test -n "$ac_ct_OTOOL"; then 12921 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 12922 else 12923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12924 for as_dir in $PATH 12925 do 12926 IFS=$as_save_IFS 12927 test -z "$as_dir" && as_dir=. 12928 for ac_exec_ext in '' $ac_executable_extensions; do 12929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12930 ac_cv_prog_ac_ct_OTOOL="otool" 12931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12932 break 2 12933 fi 12934 done 12935 done 12936 IFS=$as_save_IFS 12937 12938 fi 12939 fi 12940 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 12941 if test -n "$ac_ct_OTOOL"; then 12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 12943 $as_echo "$ac_ct_OTOOL" >&6; } 12944 else 12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12946 $as_echo "no" >&6; } 12947 fi 12948 12949 if test "x$ac_ct_OTOOL" = x; then 12950 OTOOL=":" 12951 else 12952 case $cross_compiling:$ac_tool_warned in 12953 yes:) 12954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12956 ac_tool_warned=yes ;; 12957 esac 12958 OTOOL=$ac_ct_OTOOL 12959 fi 12960 else 12961 OTOOL="$ac_cv_prog_OTOOL" 12962 fi 12963 12964 if test -n "$ac_tool_prefix"; then 12965 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 12966 set dummy ${ac_tool_prefix}otool64; ac_word=$2 12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12968 $as_echo_n "checking for $ac_word... " >&6; } 12969 if ${ac_cv_prog_OTOOL64+:} false; then : 12970 $as_echo_n "(cached) " >&6 12971 else 12972 if test -n "$OTOOL64"; then 12973 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 12974 else 12975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12976 for as_dir in $PATH 12977 do 12978 IFS=$as_save_IFS 12979 test -z "$as_dir" && as_dir=. 12980 for ac_exec_ext in '' $ac_executable_extensions; do 12981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12982 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 12983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12984 break 2 12985 fi 12986 done 12987 done 12988 IFS=$as_save_IFS 12989 12990 fi 12991 fi 12992 OTOOL64=$ac_cv_prog_OTOOL64 12993 if test -n "$OTOOL64"; then 12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 12995 $as_echo "$OTOOL64" >&6; } 12996 else 12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12998 $as_echo "no" >&6; } 12999 fi 13000 13001 13002 fi 13003 if test -z "$ac_cv_prog_OTOOL64"; then 13004 ac_ct_OTOOL64=$OTOOL64 13005 # Extract the first word of "otool64", so it can be a program name with args. 13006 set dummy otool64; ac_word=$2 13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13008 $as_echo_n "checking for $ac_word... " >&6; } 13009 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 13010 $as_echo_n "(cached) " >&6 13011 else 13012 if test -n "$ac_ct_OTOOL64"; then 13013 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 13014 else 13015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13016 for as_dir in $PATH 13017 do 13018 IFS=$as_save_IFS 13019 test -z "$as_dir" && as_dir=. 13020 for ac_exec_ext in '' $ac_executable_extensions; do 13021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13022 ac_cv_prog_ac_ct_OTOOL64="otool64" 13023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13024 break 2 13025 fi 13026 done 13027 done 13028 IFS=$as_save_IFS 13029 13030 fi 13031 fi 13032 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 13033 if test -n "$ac_ct_OTOOL64"; then 13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 13035 $as_echo "$ac_ct_OTOOL64" >&6; } 13036 else 13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13038 $as_echo "no" >&6; } 13039 fi 13040 13041 if test "x$ac_ct_OTOOL64" = x; then 13042 OTOOL64=":" 13043 else 13044 case $cross_compiling:$ac_tool_warned in 13045 yes:) 13046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13048 ac_tool_warned=yes ;; 13049 esac 13050 OTOOL64=$ac_ct_OTOOL64 13051 fi 13052 else 13053 OTOOL64="$ac_cv_prog_OTOOL64" 13054 fi 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 13083 $as_echo_n "checking for -single_module linker flag... " >&6; } 13084 if ${lt_cv_apple_cc_single_mod+:} false; then : 13085 $as_echo_n "(cached) " >&6 13086 else 13087 lt_cv_apple_cc_single_mod=no 13088 if test -z "${LT_MULTI_MODULE}"; then 13089 # By default we will add the -single_module flag. You can override 13090 # by either setting the environment variable LT_MULTI_MODULE 13091 # non-empty at configure time, or by adding -multi_module to the 13092 # link flags. 13093 rm -rf libconftest.dylib* 13094 echo "int foo(void){return 1;}" > conftest.c 13095 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 13096 -dynamiclib -Wl,-single_module conftest.c" >&5 13097 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 13098 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 13099 _lt_result=$? 13100 # If there is a non-empty error log, and "single_module" 13101 # appears in it, assume the flag caused a linker warning 13102 if test -s conftest.err && $GREP single_module conftest.err; then 13103 cat conftest.err >&5 13104 # Otherwise, if the output was created with a 0 exit code from 13105 # the compiler, it worked. 13106 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 13107 lt_cv_apple_cc_single_mod=yes 13108 else 13109 cat conftest.err >&5 13110 fi 13111 rm -rf libconftest.dylib* 13112 rm -f conftest.* 13113 fi 13114 fi 13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 13116 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 13117 13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 13119 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 13120 if ${lt_cv_ld_exported_symbols_list+:} false; then : 13121 $as_echo_n "(cached) " >&6 13122 else 13123 lt_cv_ld_exported_symbols_list=no 13124 save_LDFLAGS=$LDFLAGS 13125 echo "_main" > conftest.sym 13126 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13128 /* end confdefs.h. */ 13129 13130 int 13131 main () 13132 { 13133 13134 ; 13135 return 0; 13136 } 13137 _ACEOF 13138 if ac_fn_c_try_link "$LINENO"; then : 13139 lt_cv_ld_exported_symbols_list=yes 13140 else 13141 lt_cv_ld_exported_symbols_list=no 13142 fi 13143 rm -f core conftest.err conftest.$ac_objext \ 13144 conftest$ac_exeext conftest.$ac_ext 13145 LDFLAGS="$save_LDFLAGS" 13146 13147 fi 13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 13149 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 13150 13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 13152 $as_echo_n "checking for -force_load linker flag... " >&6; } 13153 if ${lt_cv_ld_force_load+:} false; then : 13154 $as_echo_n "(cached) " >&6 13155 else 13156 lt_cv_ld_force_load=no 13157 cat > conftest.c << _LT_EOF 13158 int forced_loaded() { return 2;} 13159 _LT_EOF 13160 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 13161 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 13162 echo "$AR cru libconftest.a conftest.o" >&5 13163 $AR cru libconftest.a conftest.o 2>&5 13164 echo "$RANLIB libconftest.a" >&5 13165 $RANLIB libconftest.a 2>&5 13166 cat > conftest.c << _LT_EOF 13167 int main() { return 0;} 13168 _LT_EOF 13169 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 13170 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 13171 _lt_result=$? 13172 if test -s conftest.err && $GREP force_load conftest.err; then 13173 cat conftest.err >&5 13174 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 13175 lt_cv_ld_force_load=yes 13176 else 13177 cat conftest.err >&5 13178 fi 13179 rm -f conftest.err libconftest.a conftest conftest.c 13180 rm -rf conftest.dSYM 13181 13182 fi 13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 13184 $as_echo "$lt_cv_ld_force_load" >&6; } 13185 case $host_os in 13186 rhapsody* | darwin1.[012]) 13187 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 13188 darwin1.*) 13189 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 13190 darwin*) # darwin 5.x on 13191 # if running on 10.5 or later, the deployment target defaults 13192 # to the OS version, if on x86, and 10.4, the deployment 13193 # target defaults to 10.4. Don't you love it? 13194 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 13195 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 13196 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 13197 10.[012]*) 13198 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 13199 10.*) 13200 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 13201 esac 13202 ;; 13203 esac 13204 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 13205 _lt_dar_single_mod='$single_module' 13206 fi 13207 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 13208 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 13209 else 13210 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 13211 fi 13212 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 13213 _lt_dsymutil='~$DSYMUTIL $lib || :' 13214 else 13215 _lt_dsymutil= 13216 fi 13217 ;; 13218 esac 13219 13220 13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13222 $as_echo_n "checking for ANSI C header files... " >&6; } 13223 if ${ac_cv_header_stdc+:} false; then : 13224 $as_echo_n "(cached) " >&6 13225 else 13226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13227 /* end confdefs.h. */ 13228 #include <stdlib.h> 13229 #include <stdarg.h> 13230 #include <string.h> 13231 #include <float.h> 13232 13233 int 13234 main () 13235 { 13236 13237 ; 13238 return 0; 13239 } 13240 _ACEOF 13241 if ac_fn_c_try_compile "$LINENO"; then : 13242 ac_cv_header_stdc=yes 13243 else 13244 ac_cv_header_stdc=no 13245 fi 13246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13247 13248 if test $ac_cv_header_stdc = yes; then 13249 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13251 /* end confdefs.h. */ 13252 #include <string.h> 13253 13254 _ACEOF 13255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13256 $EGREP "memchr" >/dev/null 2>&1; then : 13257 13258 else 13259 ac_cv_header_stdc=no 13260 fi 13261 rm -f conftest* 13262 13263 fi 13264 13265 if test $ac_cv_header_stdc = yes; then 13266 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13268 /* end confdefs.h. */ 13269 #include <stdlib.h> 13270 13271 _ACEOF 13272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13273 $EGREP "free" >/dev/null 2>&1; then : 13274 13275 else 13276 ac_cv_header_stdc=no 13277 fi 13278 rm -f conftest* 13279 13280 fi 13281 13282 if test $ac_cv_header_stdc = yes; then 13283 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13284 if test "$cross_compiling" = yes; then : 13285 : 13286 else 13287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13288 /* end confdefs.h. */ 13289 #include <ctype.h> 13290 #include <stdlib.h> 13291 #if ((' ' & 0x0FF) == 0x020) 13292 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13293 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13294 #else 13295 # define ISLOWER(c) \ 13296 (('a' <= (c) && (c) <= 'i') \ 13297 || ('j' <= (c) && (c) <= 'r') \ 13298 || ('s' <= (c) && (c) <= 'z')) 13299 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13300 #endif 13301 13302 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13303 int 13304 main () 13305 { 13306 int i; 13307 for (i = 0; i < 256; i++) 13308 if (XOR (islower (i), ISLOWER (i)) 13309 || toupper (i) != TOUPPER (i)) 13310 return 2; 13311 return 0; 13312 } 13313 _ACEOF 13314 if ac_fn_c_try_run "$LINENO"; then : 13315 13316 else 13317 ac_cv_header_stdc=no 13318 fi 13319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13320 conftest.$ac_objext conftest.beam conftest.$ac_ext 13321 fi 13322 13323 fi 13324 fi 13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13326 $as_echo "$ac_cv_header_stdc" >&6; } 13327 if test $ac_cv_header_stdc = yes; then 13328 13329 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 13330 13331 fi 13332 13333 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 13334 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 13335 inttypes.h stdint.h unistd.h 13336 do : 13337 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13338 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 13339 " 13340 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13341 cat >>confdefs.h <<_ACEOF 13342 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13343 _ACEOF 13344 13345 fi 13346 13347 done 13348 13349 13350 for ac_header in dlfcn.h 13351 do : 13352 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 13353 " 13354 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 13355 cat >>confdefs.h <<_ACEOF 13356 #define HAVE_DLFCN_H 1 13357 _ACEOF 13358 13359 fi 13360 13361 done 13362 13363 13364 13365 13366 13367 # Set options 13368 13369 13370 13371 enable_dlopen=no 13372 13373 13374 enable_win32_dll=no 13375 13376 13377 # Check whether --enable-shared was given. 13378 if test "${enable_shared+set}" = set; then : 13379 enableval=$enable_shared; p=${PACKAGE-default} 13380 case $enableval in 13381 yes) enable_shared=yes ;; 13382 no) enable_shared=no ;; 13383 *) 13384 enable_shared=no 13385 # Look at the argument we got. We use all the common list separators. 13386 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 13387 for pkg in $enableval; do 13388 IFS="$lt_save_ifs" 13389 if test "X$pkg" = "X$p"; then 13390 enable_shared=yes 13391 fi 13392 done 13393 IFS="$lt_save_ifs" 13394 ;; 13395 esac 13396 else 13397 enable_shared=yes 13398 fi 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 # Check whether --enable-static was given. 13409 if test "${enable_static+set}" = set; then : 13410 enableval=$enable_static; p=${PACKAGE-default} 13411 case $enableval in 13412 yes) enable_static=yes ;; 13413 no) enable_static=no ;; 13414 *) 13415 enable_static=no 13416 # Look at the argument we got. We use all the common list separators. 13417 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 13418 for pkg in $enableval; do 13419 IFS="$lt_save_ifs" 13420 if test "X$pkg" = "X$p"; then 13421 enable_static=yes 13422 fi 13423 done 13424 IFS="$lt_save_ifs" 13425 ;; 13426 esac 13427 else 13428 enable_static=yes 13429 fi 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 # Check whether --with-pic was given. 13441 if test "${with_pic+set}" = set; then : 13442 withval=$with_pic; lt_p=${PACKAGE-default} 13443 case $withval in 13444 yes|no) pic_mode=$withval ;; 13445 *) 13446 pic_mode=default 13447 # Look at the argument we got. We use all the common list separators. 13448 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 13449 for lt_pkg in $withval; do 13450 IFS="$lt_save_ifs" 13451 if test "X$lt_pkg" = "X$lt_p"; then 13452 pic_mode=yes 13453 fi 13454 done 13455 IFS="$lt_save_ifs" 13456 ;; 13457 esac 13458 else 13459 pic_mode=default 13460 fi 13461 13462 13463 test -z "$pic_mode" && pic_mode=default 13464 13465 13466 13467 13468 13469 13470 13471 # Check whether --enable-fast-install was given. 13472 if test "${enable_fast_install+set}" = set; then : 13473 enableval=$enable_fast_install; p=${PACKAGE-default} 13474 case $enableval in 13475 yes) enable_fast_install=yes ;; 13476 no) enable_fast_install=no ;; 13477 *) 13478 enable_fast_install=no 13479 # Look at the argument we got. We use all the common list separators. 13480 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 13481 for pkg in $enableval; do 13482 IFS="$lt_save_ifs" 13483 if test "X$pkg" = "X$p"; then 13484 enable_fast_install=yes 13485 fi 13486 done 13487 IFS="$lt_save_ifs" 13488 ;; 13489 esac 13490 else 13491 enable_fast_install=yes 13492 fi 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 # This can be used to rebuild libtool when needed 13505 LIBTOOL_DEPS="$ltmain" 13506 13507 # Always use our own libtool. 13508 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 test -z "$LN_S" && LN_S="ln -s" 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 if test -n "${ZSH_VERSION+set}" ; then 13555 setopt NO_GLOB_SUBST 13556 fi 13557 13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 13559 $as_echo_n "checking for objdir... " >&6; } 13560 if ${lt_cv_objdir+:} false; then : 13561 $as_echo_n "(cached) " >&6 13562 else 13563 rm -f .libs 2>/dev/null 13564 mkdir .libs 2>/dev/null 13565 if test -d .libs; then 13566 lt_cv_objdir=.libs 13567 else 13568 # MS-DOS does not allow filenames that begin with a dot. 13569 lt_cv_objdir=_libs 13570 fi 13571 rmdir .libs 2>/dev/null 13572 fi 13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 13574 $as_echo "$lt_cv_objdir" >&6; } 13575 objdir=$lt_cv_objdir 13576 13577 13578 13579 13580 13581 cat >>confdefs.h <<_ACEOF 13582 #define LT_OBJDIR "$lt_cv_objdir/" 13583 _ACEOF 13584 13585 13586 13587 13588 case $host_os in 13589 aix3*) 13590 # AIX sometimes has problems with the GCC collect2 program. For some 13591 # reason, if we set the COLLECT_NAMES environment variable, the problems 13592 # vanish in a puff of smoke. 13593 if test "X${COLLECT_NAMES+set}" != Xset; then 13594 COLLECT_NAMES= 13595 export COLLECT_NAMES 13596 fi 13597 ;; 13598 esac 13599 13600 # Global variables: 13601 ofile=libtool 13602 can_build_shared=yes 13603 13604 # All known linkers require a `.a' archive for static linking (except MSVC, 13605 # which needs '.lib'). 13606 libext=a 13607 13608 with_gnu_ld="$lt_cv_prog_gnu_ld" 13609 13610 old_CC="$CC" 13611 old_CFLAGS="$CFLAGS" 13612 13613 # Set sane defaults for various variables 13614 test -z "$CC" && CC=cc 13615 test -z "$LTCC" && LTCC=$CC 13616 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 13617 test -z "$LD" && LD=ld 13618 test -z "$ac_objext" && ac_objext=o 13619 13620 for cc_temp in $compiler""; do 13621 case $cc_temp in 13622 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 13623 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 13624 \-*) ;; 13625 *) break;; 13626 esac 13627 done 13628 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 13629 13630 13631 # Only perform the check for file, if the check method requires it 13632 test -z "$MAGIC_CMD" && MAGIC_CMD=file 13633 case $deplibs_check_method in 13634 file_magic*) 13635 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 13637 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 13638 if ${lt_cv_path_MAGIC_CMD+:} false; then : 13639 $as_echo_n "(cached) " >&6 13640 else 13641 case $MAGIC_CMD in 13642 [\\/*] | ?:[\\/]*) 13643 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 13644 ;; 13645 *) 13646 lt_save_MAGIC_CMD="$MAGIC_CMD" 13647 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 13648 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 13649 for ac_dir in $ac_dummy; do 13650 IFS="$lt_save_ifs" 13651 test -z "$ac_dir" && ac_dir=. 13652 if test -f $ac_dir/${ac_tool_prefix}file; then 13653 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 13654 if test -n "$file_magic_test_file"; then 13655 case $deplibs_check_method in 13656 "file_magic "*) 13657 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 13658 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 13659 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 13660 $EGREP "$file_magic_regex" > /dev/null; then 13661 : 13662 else 13663 cat <<_LT_EOF 1>&2 13664 13665 *** Warning: the command libtool uses to detect shared libraries, 13666 *** $file_magic_cmd, produces output that libtool cannot recognize. 13667 *** The result is that libtool may fail to recognize shared libraries 13668 *** as such. This will affect the creation of libtool libraries that 13669 *** depend on shared libraries, but programs linked with such libtool 13670 *** libraries will work regardless of this problem. Nevertheless, you 13671 *** may want to report the problem to your system manager and/or to 13672 *** bug-libtool@gnu.org 13673 13674 _LT_EOF 13675 fi ;; 13676 esac 13677 fi 13678 break 13679 fi 13680 done 13681 IFS="$lt_save_ifs" 13682 MAGIC_CMD="$lt_save_MAGIC_CMD" 13683 ;; 13684 esac 13685 fi 13686 13687 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 13688 if test -n "$MAGIC_CMD"; then 13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 13690 $as_echo "$MAGIC_CMD" >&6; } 13691 else 13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13693 $as_echo "no" >&6; } 13694 fi 13695 13696 13697 13698 13699 13700 if test -z "$lt_cv_path_MAGIC_CMD"; then 13701 if test -n "$ac_tool_prefix"; then 13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 13703 $as_echo_n "checking for file... " >&6; } 13704 if ${lt_cv_path_MAGIC_CMD+:} false; then : 13705 $as_echo_n "(cached) " >&6 13706 else 13707 case $MAGIC_CMD in 13708 [\\/*] | ?:[\\/]*) 13709 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 13710 ;; 13711 *) 13712 lt_save_MAGIC_CMD="$MAGIC_CMD" 13713 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 13714 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 13715 for ac_dir in $ac_dummy; do 13716 IFS="$lt_save_ifs" 13717 test -z "$ac_dir" && ac_dir=. 13718 if test -f $ac_dir/file; then 13719 lt_cv_path_MAGIC_CMD="$ac_dir/file" 13720 if test -n "$file_magic_test_file"; then 13721 case $deplibs_check_method in 13722 "file_magic "*) 13723 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 13724 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 13725 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 13726 $EGREP "$file_magic_regex" > /dev/null; then 13727 : 13728 else 13729 cat <<_LT_EOF 1>&2 13730 13731 *** Warning: the command libtool uses to detect shared libraries, 13732 *** $file_magic_cmd, produces output that libtool cannot recognize. 13733 *** The result is that libtool may fail to recognize shared libraries 13734 *** as such. This will affect the creation of libtool libraries that 13735 *** depend on shared libraries, but programs linked with such libtool 13736 *** libraries will work regardless of this problem. Nevertheless, you 13737 *** may want to report the problem to your system manager and/or to 13738 *** bug-libtool@gnu.org 13739 13740 _LT_EOF 13741 fi ;; 13742 esac 13743 fi 13744 break 13745 fi 13746 done 13747 IFS="$lt_save_ifs" 13748 MAGIC_CMD="$lt_save_MAGIC_CMD" 13749 ;; 13750 esac 13751 fi 13752 13753 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 13754 if test -n "$MAGIC_CMD"; then 13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 13756 $as_echo "$MAGIC_CMD" >&6; } 13757 else 13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13759 $as_echo "no" >&6; } 13760 fi 13761 13762 13763 else 13764 MAGIC_CMD=: 13765 fi 13766 fi 13767 13768 fi 13769 ;; 13770 esac 13771 13772 # Use C for the default configuration in the libtool script 13773 13774 lt_save_CC="$CC" 13775 ac_ext=c 13776 ac_cpp='$CPP $CPPFLAGS' 13777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13779 ac_compiler_gnu=$ac_cv_c_compiler_gnu 13780 13781 13782 # Source file extension for C test sources. 13783 ac_ext=c 13784 13785 # Object file extension for compiled C test sources. 13786 objext=o 13787 objext=$objext 13788 13789 # Code to be used in simple compile tests 13790 lt_simple_compile_test_code="int some_variable = 0;" 13791 13792 # Code to be used in simple link tests 13793 lt_simple_link_test_code='int main(){return(0);}' 13794 13795 13796 13797 13798 13799 13800 13801 # If no C compiler was specified, use CC. 13802 LTCC=${LTCC-"$CC"} 13803 13804 # If no C compiler flags were specified, use CFLAGS. 13805 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13806 13807 # Allow CC to be a program name with arguments. 13808 compiler=$CC 13809 13810 # Save the default compiler, since it gets overwritten when the other 13811 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 13812 compiler_DEFAULT=$CC 13813 13814 # save warnings/boilerplate of simple test code 13815 ac_outfile=conftest.$ac_objext 13816 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13817 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13818 _lt_compiler_boilerplate=`cat conftest.err` 13819 $RM conftest* 13820 13821 ac_outfile=conftest.$ac_objext 13822 echo "$lt_simple_link_test_code" >conftest.$ac_ext 13823 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13824 _lt_linker_boilerplate=`cat conftest.err` 13825 $RM -r conftest* 13826 13827 13828 ## CAVEAT EMPTOR: 13829 ## There is no encapsulation within the following macros, do not change 13830 ## the running order or otherwise move them around unless you know exactly 13831 ## what you are doing... 13832 if test -n "$compiler"; then 13833 13834 lt_prog_compiler_no_builtin_flag= 13835 13836 if test "$GCC" = yes; then 13837 case $cc_basename in 13838 nvcc*) 13839 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 13840 *) 13841 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 13842 esac 13843 13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 13845 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 13846 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 13847 $as_echo_n "(cached) " >&6 13848 else 13849 lt_cv_prog_compiler_rtti_exceptions=no 13850 ac_outfile=conftest.$ac_objext 13851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13852 lt_compiler_flag="-fno-rtti -fno-exceptions" 13853 # Insert the option either (1) after the last *FLAGS variable, or 13854 # (2) before a word containing "conftest.", or (3) at the end. 13855 # Note that $ac_compile itself does not contain backslashes and begins 13856 # with a dollar sign (not a hyphen), so the echo should work correctly. 13857 # The option is referenced via a variable to avoid confusing sed. 13858 lt_compile=`echo "$ac_compile" | $SED \ 13859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13861 -e 's:$: $lt_compiler_flag:'` 13862 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 13863 (eval "$lt_compile" 2>conftest.err) 13864 ac_status=$? 13865 cat conftest.err >&5 13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13867 if (exit $ac_status) && test -s "$ac_outfile"; then 13868 # The compiler can only warn and ignore the option if not recognized 13869 # So say no if there are warnings other than the usual output. 13870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 13871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 13873 lt_cv_prog_compiler_rtti_exceptions=yes 13874 fi 13875 fi 13876 $RM conftest* 13877 13878 fi 13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 13880 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 13881 13882 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 13883 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 13884 else 13885 : 13886 fi 13887 13888 fi 13889 13890 13891 13892 13893 13894 13895 lt_prog_compiler_wl= 13896 lt_prog_compiler_pic= 13897 lt_prog_compiler_static= 13898 13899 13900 if test "$GCC" = yes; then 13901 lt_prog_compiler_wl='-Wl,' 13902 lt_prog_compiler_static='-static' 13903 13904 case $host_os in 13905 aix*) 13906 # All AIX code is PIC. 13907 if test "$host_cpu" = ia64; then 13908 # AIX 5 now supports IA64 processor 13909 lt_prog_compiler_static='-Bstatic' 13910 fi 13911 ;; 13912 13913 amigaos*) 13914 case $host_cpu in 13915 powerpc) 13916 # see comment about AmigaOS4 .so support 13917 lt_prog_compiler_pic='-fPIC' 13918 ;; 13919 m68k) 13920 # FIXME: we need at least 68020 code to build shared libraries, but 13921 # adding the `-m68020' flag to GCC prevents building anything better, 13922 # like `-m68040'. 13923 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 13924 ;; 13925 esac 13926 ;; 13927 13928 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 13929 # PIC is the default for these OSes. 13930 ;; 13931 13932 mingw* | cygwin* | pw32* | os2* | cegcc*) 13933 # This hack is so that the source file can tell whether it is being 13934 # built for inclusion in a dll (and should export symbols for example). 13935 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13936 # (--disable-auto-import) libraries 13937 lt_prog_compiler_pic='-DDLL_EXPORT' 13938 ;; 13939 13940 darwin* | rhapsody*) 13941 # PIC is the default on this platform 13942 # Common symbols not allowed in MH_DYLIB files 13943 lt_prog_compiler_pic='-fno-common' 13944 ;; 13945 13946 haiku*) 13947 # PIC is the default for Haiku. 13948 # The "-static" flag exists, but is broken. 13949 lt_prog_compiler_static= 13950 ;; 13951 13952 hpux*) 13953 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 13954 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 13955 # sets the default TLS model and affects inlining. 13956 case $host_cpu in 13957 hppa*64*) 13958 # +Z the default 13959 ;; 13960 *) 13961 lt_prog_compiler_pic='-fPIC' 13962 ;; 13963 esac 13964 ;; 13965 13966 interix[3-9]*) 13967 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13968 # Instead, we relocate shared libraries at runtime. 13969 ;; 13970 13971 msdosdjgpp*) 13972 # Just because we use GCC doesn't mean we suddenly get shared libraries 13973 # on systems that don't support them. 13974 lt_prog_compiler_can_build_shared=no 13975 enable_shared=no 13976 ;; 13977 13978 *nto* | *qnx*) 13979 # QNX uses GNU C++, but need to define -shared option too, otherwise 13980 # it will coredump. 13981 lt_prog_compiler_pic='-fPIC -shared' 13982 ;; 13983 13984 sysv4*MP*) 13985 if test -d /usr/nec; then 13986 lt_prog_compiler_pic=-Kconform_pic 13987 fi 13988 ;; 13989 13990 *) 13991 lt_prog_compiler_pic='-fPIC' 13992 ;; 13993 esac 13994 13995 case $cc_basename in 13996 nvcc*) # Cuda Compiler Driver 2.2 13997 lt_prog_compiler_wl='-Xlinker ' 13998 if test -n "$lt_prog_compiler_pic"; then 13999 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 14000 fi 14001 ;; 14002 esac 14003 else 14004 # PORTME Check for flag to pass linker flags through the system compiler. 14005 case $host_os in 14006 aix*) 14007 lt_prog_compiler_wl='-Wl,' 14008 if test "$host_cpu" = ia64; then 14009 # AIX 5 now supports IA64 processor 14010 lt_prog_compiler_static='-Bstatic' 14011 else 14012 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 14013 fi 14014 ;; 14015 14016 mingw* | cygwin* | pw32* | os2* | cegcc*) 14017 # This hack is so that the source file can tell whether it is being 14018 # built for inclusion in a dll (and should export symbols for example). 14019 lt_prog_compiler_pic='-DDLL_EXPORT' 14020 ;; 14021 14022 hpux9* | hpux10* | hpux11*) 14023 lt_prog_compiler_wl='-Wl,' 14024 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 14025 # not for PA HP-UX. 14026 case $host_cpu in 14027 hppa*64*|ia64*) 14028 # +Z the default 14029 ;; 14030 *) 14031 lt_prog_compiler_pic='+Z' 14032 ;; 14033 esac 14034 # Is there a better lt_prog_compiler_static that works with the bundled CC? 14035 lt_prog_compiler_static='${wl}-a ${wl}archive' 14036 ;; 14037 14038 irix5* | irix6* | nonstopux*) 14039 lt_prog_compiler_wl='-Wl,' 14040 # PIC (with -KPIC) is the default. 14041 lt_prog_compiler_static='-non_shared' 14042 ;; 14043 14044 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14045 case $cc_basename in 14046 # old Intel for x86_64 which still supported -KPIC. 14047 ecc*) 14048 lt_prog_compiler_wl='-Wl,' 14049 lt_prog_compiler_pic='-KPIC' 14050 lt_prog_compiler_static='-static' 14051 ;; 14052 # icc used to be incompatible with GCC. 14053 # ICC 10 doesn't accept -KPIC any more. 14054 icc* | ifort*) 14055 lt_prog_compiler_wl='-Wl,' 14056 lt_prog_compiler_pic='-fPIC' 14057 lt_prog_compiler_static='-static' 14058 ;; 14059 # Lahey Fortran 8.1. 14060 lf95*) 14061 lt_prog_compiler_wl='-Wl,' 14062 lt_prog_compiler_pic='--shared' 14063 lt_prog_compiler_static='--static' 14064 ;; 14065 nagfor*) 14066 # NAG Fortran compiler 14067 lt_prog_compiler_wl='-Wl,-Wl,,' 14068 lt_prog_compiler_pic='-PIC' 14069 lt_prog_compiler_static='-Bstatic' 14070 ;; 14071 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 14072 # Portland Group compilers (*not* the Pentium gcc compiler, 14073 # which looks to be a dead project) 14074 lt_prog_compiler_wl='-Wl,' 14075 lt_prog_compiler_pic='-fpic' 14076 lt_prog_compiler_static='-Bstatic' 14077 ;; 14078 ccc*) 14079 lt_prog_compiler_wl='-Wl,' 14080 # All Alpha code is PIC. 14081 lt_prog_compiler_static='-non_shared' 14082 ;; 14083 xl* | bgxl* | bgf* | mpixl*) 14084 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 14085 lt_prog_compiler_wl='-Wl,' 14086 lt_prog_compiler_pic='-qpic' 14087 lt_prog_compiler_static='-qstaticlink' 14088 ;; 14089 *) 14090 case `$CC -V 2>&1 | sed 5q` in 14091 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 14092 # Sun Fortran 8.3 passes all unrecognized flags to the linker 14093 lt_prog_compiler_pic='-KPIC' 14094 lt_prog_compiler_static='-Bstatic' 14095 lt_prog_compiler_wl='' 14096 ;; 14097 *Sun\ F* | *Sun*Fortran*) 14098 lt_prog_compiler_pic='-KPIC' 14099 lt_prog_compiler_static='-Bstatic' 14100 lt_prog_compiler_wl='-Qoption ld ' 14101 ;; 14102 *Sun\ C*) 14103 # Sun C 5.9 14104 lt_prog_compiler_pic='-KPIC' 14105 lt_prog_compiler_static='-Bstatic' 14106 lt_prog_compiler_wl='-Wl,' 14107 ;; 14108 *Intel*\ [CF]*Compiler*) 14109 lt_prog_compiler_wl='-Wl,' 14110 lt_prog_compiler_pic='-fPIC' 14111 lt_prog_compiler_static='-static' 14112 ;; 14113 *Portland\ Group*) 14114 lt_prog_compiler_wl='-Wl,' 14115 lt_prog_compiler_pic='-fpic' 14116 lt_prog_compiler_static='-Bstatic' 14117 ;; 14118 esac 14119 ;; 14120 esac 14121 ;; 14122 14123 newsos6) 14124 lt_prog_compiler_pic='-KPIC' 14125 lt_prog_compiler_static='-Bstatic' 14126 ;; 14127 14128 *nto* | *qnx*) 14129 # QNX uses GNU C++, but need to define -shared option too, otherwise 14130 # it will coredump. 14131 lt_prog_compiler_pic='-fPIC -shared' 14132 ;; 14133 14134 osf3* | osf4* | osf5*) 14135 lt_prog_compiler_wl='-Wl,' 14136 # All OSF/1 code is PIC. 14137 lt_prog_compiler_static='-non_shared' 14138 ;; 14139 14140 rdos*) 14141 lt_prog_compiler_static='-non_shared' 14142 ;; 14143 14144 solaris*) 14145 lt_prog_compiler_pic='-KPIC' 14146 lt_prog_compiler_static='-Bstatic' 14147 case $cc_basename in 14148 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 14149 lt_prog_compiler_wl='-Qoption ld ';; 14150 *) 14151 lt_prog_compiler_wl='-Wl,';; 14152 esac 14153 ;; 14154 14155 sunos4*) 14156 lt_prog_compiler_wl='-Qoption ld ' 14157 lt_prog_compiler_pic='-PIC' 14158 lt_prog_compiler_static='-Bstatic' 14159 ;; 14160 14161 sysv4 | sysv4.2uw2* | sysv4.3*) 14162 lt_prog_compiler_wl='-Wl,' 14163 lt_prog_compiler_pic='-KPIC' 14164 lt_prog_compiler_static='-Bstatic' 14165 ;; 14166 14167 sysv4*MP*) 14168 if test -d /usr/nec ;then 14169 lt_prog_compiler_pic='-Kconform_pic' 14170 lt_prog_compiler_static='-Bstatic' 14171 fi 14172 ;; 14173 14174 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14175 lt_prog_compiler_wl='-Wl,' 14176 lt_prog_compiler_pic='-KPIC' 14177 lt_prog_compiler_static='-Bstatic' 14178 ;; 14179 14180 unicos*) 14181 lt_prog_compiler_wl='-Wl,' 14182 lt_prog_compiler_can_build_shared=no 14183 ;; 14184 14185 uts4*) 14186 lt_prog_compiler_pic='-pic' 14187 lt_prog_compiler_static='-Bstatic' 14188 ;; 14189 14190 *) 14191 lt_prog_compiler_can_build_shared=no 14192 ;; 14193 esac 14194 fi 14195 14196 case $host_os in 14197 # For platforms which do not support PIC, -DPIC is meaningless: 14198 *djgpp*) 14199 lt_prog_compiler_pic= 14200 ;; 14201 *) 14202 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 14203 ;; 14204 esac 14205 14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 14207 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 14208 if ${lt_cv_prog_compiler_pic+:} false; then : 14209 $as_echo_n "(cached) " >&6 14210 else 14211 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 14212 fi 14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 14214 $as_echo "$lt_cv_prog_compiler_pic" >&6; } 14215 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 14216 14217 # 14218 # Check to make sure the PIC flag actually works. 14219 # 14220 if test -n "$lt_prog_compiler_pic"; then 14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 14222 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 14223 if ${lt_cv_prog_compiler_pic_works+:} false; then : 14224 $as_echo_n "(cached) " >&6 14225 else 14226 lt_cv_prog_compiler_pic_works=no 14227 ac_outfile=conftest.$ac_objext 14228 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14229 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 14230 # Insert the option either (1) after the last *FLAGS variable, or 14231 # (2) before a word containing "conftest.", or (3) at the end. 14232 # Note that $ac_compile itself does not contain backslashes and begins 14233 # with a dollar sign (not a hyphen), so the echo should work correctly. 14234 # The option is referenced via a variable to avoid confusing sed. 14235 lt_compile=`echo "$ac_compile" | $SED \ 14236 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14237 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14238 -e 's:$: $lt_compiler_flag:'` 14239 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14240 (eval "$lt_compile" 2>conftest.err) 14241 ac_status=$? 14242 cat conftest.err >&5 14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14244 if (exit $ac_status) && test -s "$ac_outfile"; then 14245 # The compiler can only warn and ignore the option if not recognized 14246 # So say no if there are warnings other than the usual output. 14247 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 14248 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14249 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14250 lt_cv_prog_compiler_pic_works=yes 14251 fi 14252 fi 14253 $RM conftest* 14254 14255 fi 14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 14257 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 14258 14259 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 14260 case $lt_prog_compiler_pic in 14261 "" | " "*) ;; 14262 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 14263 esac 14264 else 14265 lt_prog_compiler_pic= 14266 lt_prog_compiler_can_build_shared=no 14267 fi 14268 14269 fi 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 # 14282 # Check to make sure the static flag actually works. 14283 # 14284 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14286 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14287 if ${lt_cv_prog_compiler_static_works+:} false; then : 14288 $as_echo_n "(cached) " >&6 14289 else 14290 lt_cv_prog_compiler_static_works=no 14291 save_LDFLAGS="$LDFLAGS" 14292 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14293 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14294 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14295 # The linker can only warn and ignore the option if not recognized 14296 # So say no if there are warnings 14297 if test -s conftest.err; then 14298 # Append any errors to the config.log. 14299 cat conftest.err 1>&5 14300 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14301 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14302 if diff conftest.exp conftest.er2 >/dev/null; then 14303 lt_cv_prog_compiler_static_works=yes 14304 fi 14305 else 14306 lt_cv_prog_compiler_static_works=yes 14307 fi 14308 fi 14309 $RM -r conftest* 14310 LDFLAGS="$save_LDFLAGS" 14311 14312 fi 14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 14314 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 14315 14316 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 14317 : 14318 else 14319 lt_prog_compiler_static= 14320 fi 14321 14322 14323 14324 14325 14326 14327 14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14329 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14330 if ${lt_cv_prog_compiler_c_o+:} false; then : 14331 $as_echo_n "(cached) " >&6 14332 else 14333 lt_cv_prog_compiler_c_o=no 14334 $RM -r conftest 2>/dev/null 14335 mkdir conftest 14336 cd conftest 14337 mkdir out 14338 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14339 14340 lt_compiler_flag="-o out/conftest2.$ac_objext" 14341 # Insert the option either (1) after the last *FLAGS variable, or 14342 # (2) before a word containing "conftest.", or (3) at the end. 14343 # Note that $ac_compile itself does not contain backslashes and begins 14344 # with a dollar sign (not a hyphen), so the echo should work correctly. 14345 lt_compile=`echo "$ac_compile" | $SED \ 14346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14348 -e 's:$: $lt_compiler_flag:'` 14349 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14350 (eval "$lt_compile" 2>out/conftest.err) 14351 ac_status=$? 14352 cat out/conftest.err >&5 14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14354 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14355 then 14356 # The compiler can only warn and ignore the option if not recognized 14357 # So say no if there are warnings 14358 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14359 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14360 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14361 lt_cv_prog_compiler_c_o=yes 14362 fi 14363 fi 14364 chmod u+w . 2>&5 14365 $RM conftest* 14366 # SGI C++ compiler will create directory out/ii_files/ for 14367 # template instantiation 14368 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14369 $RM out/* && rmdir out 14370 cd .. 14371 $RM -r conftest 14372 $RM conftest* 14373 14374 fi 14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 14376 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 14377 14378 14379 14380 14381 14382 14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14384 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14385 if ${lt_cv_prog_compiler_c_o+:} false; then : 14386 $as_echo_n "(cached) " >&6 14387 else 14388 lt_cv_prog_compiler_c_o=no 14389 $RM -r conftest 2>/dev/null 14390 mkdir conftest 14391 cd conftest 14392 mkdir out 14393 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14394 14395 lt_compiler_flag="-o out/conftest2.$ac_objext" 14396 # Insert the option either (1) after the last *FLAGS variable, or 14397 # (2) before a word containing "conftest.", or (3) at the end. 14398 # Note that $ac_compile itself does not contain backslashes and begins 14399 # with a dollar sign (not a hyphen), so the echo should work correctly. 14400 lt_compile=`echo "$ac_compile" | $SED \ 14401 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14402 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14403 -e 's:$: $lt_compiler_flag:'` 14404 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14405 (eval "$lt_compile" 2>out/conftest.err) 14406 ac_status=$? 14407 cat out/conftest.err >&5 14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14409 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14410 then 14411 # The compiler can only warn and ignore the option if not recognized 14412 # So say no if there are warnings 14413 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14414 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14415 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14416 lt_cv_prog_compiler_c_o=yes 14417 fi 14418 fi 14419 chmod u+w . 2>&5 14420 $RM conftest* 14421 # SGI C++ compiler will create directory out/ii_files/ for 14422 # template instantiation 14423 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14424 $RM out/* && rmdir out 14425 cd .. 14426 $RM -r conftest 14427 $RM conftest* 14428 14429 fi 14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 14431 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 14432 14433 14434 14435 14436 hard_links="nottested" 14437 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 14438 # do not overwrite the value of need_locks provided by the user 14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14440 $as_echo_n "checking if we can lock with hard links... " >&6; } 14441 hard_links=yes 14442 $RM conftest* 14443 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14444 touch conftest.a 14445 ln conftest.a conftest.b 2>&5 || hard_links=no 14446 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14448 $as_echo "$hard_links" >&6; } 14449 if test "$hard_links" = no; then 14450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 14451 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 14452 need_locks=warn 14453 fi 14454 else 14455 need_locks=no 14456 fi 14457 14458 14459 14460 14461 14462 14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14464 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14465 14466 runpath_var= 14467 allow_undefined_flag= 14468 always_export_symbols=no 14469 archive_cmds= 14470 archive_expsym_cmds= 14471 compiler_needs_object=no 14472 enable_shared_with_static_runtimes=no 14473 export_dynamic_flag_spec= 14474 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14475 hardcode_automatic=no 14476 hardcode_direct=no 14477 hardcode_direct_absolute=no 14478 hardcode_libdir_flag_spec= 14479 hardcode_libdir_separator= 14480 hardcode_minus_L=no 14481 hardcode_shlibpath_var=unsupported 14482 inherit_rpath=no 14483 link_all_deplibs=unknown 14484 module_cmds= 14485 module_expsym_cmds= 14486 old_archive_from_new_cmds= 14487 old_archive_from_expsyms_cmds= 14488 thread_safe_flag_spec= 14489 whole_archive_flag_spec= 14490 # include_expsyms should be a list of space-separated symbols to be *always* 14491 # included in the symbol list 14492 include_expsyms= 14493 # exclude_expsyms can be an extended regexp of symbols to exclude 14494 # it will be wrapped by ` (' and `)$', so one must not match beginning or 14495 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 14496 # as well as any symbol that contains `d'. 14497 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14498 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 14499 # platforms (ab)use it in PIC code, but their linkers get confused if 14500 # the symbol is explicitly referenced. Since portable code cannot 14501 # rely on this symbol name, it's probably fine to never include it in 14502 # preloaded symbol tables. 14503 # Exclude shared library initialization/finalization symbols. 14504 extract_expsyms_cmds= 14505 14506 case $host_os in 14507 cygwin* | mingw* | pw32* | cegcc*) 14508 # FIXME: the MSVC++ port hasn't been tested in a loooong time 14509 # When not using gcc, we currently assume that we are using 14510 # Microsoft Visual C++. 14511 if test "$GCC" != yes; then 14512 with_gnu_ld=no 14513 fi 14514 ;; 14515 interix*) 14516 # we just hope/assume this is gcc and not c89 (= MSVC++) 14517 with_gnu_ld=yes 14518 ;; 14519 openbsd*) 14520 with_gnu_ld=no 14521 ;; 14522 linux* | k*bsd*-gnu | gnu*) 14523 link_all_deplibs=no 14524 ;; 14525 esac 14526 14527 ld_shlibs=yes 14528 14529 # On some targets, GNU ld is compatible enough with the native linker 14530 # that we're better off using the native interface for both. 14531 lt_use_gnu_ld_interface=no 14532 if test "$with_gnu_ld" = yes; then 14533 case $host_os in 14534 aix*) 14535 # The AIX port of GNU ld has always aspired to compatibility 14536 # with the native linker. However, as the warning in the GNU ld 14537 # block says, versions before 2.19.5* couldn't really create working 14538 # shared libraries, regardless of the interface used. 14539 case `$LD -v 2>&1` in 14540 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 14541 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 14542 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 14543 *) 14544 lt_use_gnu_ld_interface=yes 14545 ;; 14546 esac 14547 ;; 14548 *) 14549 lt_use_gnu_ld_interface=yes 14550 ;; 14551 esac 14552 fi 14553 14554 if test "$lt_use_gnu_ld_interface" = yes; then 14555 # If archive_cmds runs LD, not CC, wlarc should be empty 14556 wlarc='${wl}' 14557 14558 # Set some defaults for GNU ld with shared library support. These 14559 # are reset later if shared libraries are not supported. Putting them 14560 # here allows them to be overridden if necessary. 14561 runpath_var=LD_RUN_PATH 14562 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14563 export_dynamic_flag_spec='${wl}--export-dynamic' 14564 # ancient GNU ld didn't support --whole-archive et. al. 14565 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 14566 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 14567 else 14568 whole_archive_flag_spec= 14569 fi 14570 supports_anon_versioning=no 14571 case `$LD -v 2>&1` in 14572 *GNU\ gold*) supports_anon_versioning=yes ;; 14573 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 14574 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 14575 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 14576 *\ 2.11.*) ;; # other 2.11 versions 14577 *) supports_anon_versioning=yes ;; 14578 esac 14579 14580 # See if GNU ld supports shared libraries. 14581 case $host_os in 14582 aix[3-9]*) 14583 # On AIX/PPC, the GNU linker is very broken 14584 if test "$host_cpu" != ia64; then 14585 ld_shlibs=no 14586 cat <<_LT_EOF 1>&2 14587 14588 *** Warning: the GNU linker, at least up to release 2.19, is reported 14589 *** to be unable to reliably create shared libraries on AIX. 14590 *** Therefore, libtool is disabling shared libraries support. If you 14591 *** really care for shared libraries, you may want to install binutils 14592 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 14593 *** You will then need to restart the configuration process. 14594 14595 _LT_EOF 14596 fi 14597 ;; 14598 14599 amigaos*) 14600 case $host_cpu in 14601 powerpc) 14602 # see comment about AmigaOS4 .so support 14603 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14604 archive_expsym_cmds='' 14605 ;; 14606 m68k) 14607 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)' 14608 hardcode_libdir_flag_spec='-L$libdir' 14609 hardcode_minus_L=yes 14610 ;; 14611 esac 14612 ;; 14613 14614 beos*) 14615 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14616 allow_undefined_flag=unsupported 14617 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14618 # support --undefined. This deserves some investigation. FIXME 14619 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14620 else 14621 ld_shlibs=no 14622 fi 14623 ;; 14624 14625 cygwin* | mingw* | pw32* | cegcc*) 14626 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 14627 # as there is no search path for DLLs. 14628 hardcode_libdir_flag_spec='-L$libdir' 14629 export_dynamic_flag_spec='${wl}--export-all-symbols' 14630 allow_undefined_flag=unsupported 14631 always_export_symbols=no 14632 enable_shared_with_static_runtimes=yes 14633 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' 14634 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 14635 14636 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14637 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14638 # If the export-symbols file already is a .def file (1st line 14639 # is EXPORTS), use it as is; otherwise, prepend... 14640 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14641 cp $export_symbols $output_objdir/$soname.def; 14642 else 14643 echo EXPORTS > $output_objdir/$soname.def; 14644 cat $export_symbols >> $output_objdir/$soname.def; 14645 fi~ 14646 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14647 else 14648 ld_shlibs=no 14649 fi 14650 ;; 14651 14652 haiku*) 14653 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14654 link_all_deplibs=yes 14655 ;; 14656 14657 interix[3-9]*) 14658 hardcode_direct=no 14659 hardcode_shlibpath_var=no 14660 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 14661 export_dynamic_flag_spec='${wl}-E' 14662 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14663 # Instead, shared libraries are loaded at an image base (0x10000000 by 14664 # default) and relocated if they conflict, which is a slow very memory 14665 # consuming and fragmenting process. To avoid this, we pick a random, 14666 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14667 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14668 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14669 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' 14670 ;; 14671 14672 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 14673 tmp_diet=no 14674 if test "$host_os" = linux-dietlibc; then 14675 case $cc_basename in 14676 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 14677 esac 14678 fi 14679 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 14680 && test "$tmp_diet" = no 14681 then 14682 tmp_addflag=' $pic_flag' 14683 tmp_sharedflag='-shared' 14684 case $cc_basename,$host_cpu in 14685 pgcc*) # Portland Group C compiler 14686 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' 14687 tmp_addflag=' $pic_flag' 14688 ;; 14689 pgf77* | pgf90* | pgf95* | pgfortran*) 14690 # Portland Group f77 and f90 compilers 14691 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' 14692 tmp_addflag=' $pic_flag -Mnomain' ;; 14693 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 14694 tmp_addflag=' -i_dynamic' ;; 14695 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 14696 tmp_addflag=' -i_dynamic -nofor_main' ;; 14697 ifc* | ifort*) # Intel Fortran compiler 14698 tmp_addflag=' -nofor_main' ;; 14699 lf95*) # Lahey Fortran 8.1 14700 whole_archive_flag_spec= 14701 tmp_sharedflag='--shared' ;; 14702 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 14703 tmp_sharedflag='-qmkshrobj' 14704 tmp_addflag= ;; 14705 nvcc*) # Cuda Compiler Driver 2.2 14706 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' 14707 compiler_needs_object=yes 14708 ;; 14709 esac 14710 case `$CC -V 2>&1 | sed 5q` in 14711 *Sun\ C*) # Sun C 5.9 14712 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' 14713 compiler_needs_object=yes 14714 tmp_sharedflag='-G' ;; 14715 *Sun\ F*) # Sun Fortran 8.3 14716 tmp_sharedflag='-G' ;; 14717 esac 14718 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14719 14720 if test "x$supports_anon_versioning" = xyes; then 14721 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 14722 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14723 echo "local: *; };" >> $output_objdir/$libname.ver~ 14724 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 14725 fi 14726 14727 case $cc_basename in 14728 xlf* | bgf* | bgxlf* | mpixlf*) 14729 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 14730 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 14731 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14732 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 14733 if test "x$supports_anon_versioning" = xyes; then 14734 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 14735 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14736 echo "local: *; };" >> $output_objdir/$libname.ver~ 14737 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 14738 fi 14739 ;; 14740 esac 14741 else 14742 ld_shlibs=no 14743 fi 14744 ;; 14745 14746 netbsd* | netbsdelf*-gnu) 14747 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14748 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 14749 wlarc= 14750 else 14751 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14752 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14753 fi 14754 ;; 14755 14756 solaris*) 14757 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 14758 ld_shlibs=no 14759 cat <<_LT_EOF 1>&2 14760 14761 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 14762 *** create shared libraries on Solaris systems. Therefore, libtool 14763 *** is disabling shared libraries support. We urge you to upgrade GNU 14764 *** binutils to release 2.9.1 or newer. Another option is to modify 14765 *** your PATH or compiler configuration so that the native linker is 14766 *** used, and then restart. 14767 14768 _LT_EOF 14769 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14770 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14771 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14772 else 14773 ld_shlibs=no 14774 fi 14775 ;; 14776 14777 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 14778 case `$LD -v 2>&1` in 14779 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 14780 ld_shlibs=no 14781 cat <<_LT_EOF 1>&2 14782 14783 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 14784 *** reliably create shared libraries on SCO systems. Therefore, libtool 14785 *** is disabling shared libraries support. We urge you to upgrade GNU 14786 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 14787 *** your PATH or compiler configuration so that the native linker is 14788 *** used, and then restart. 14789 14790 _LT_EOF 14791 ;; 14792 *) 14793 # For security reasons, it is highly recommended that you always 14794 # use absolute paths for naming shared libraries, and exclude the 14795 # DT_RUNPATH tag from executables and libraries. But doing so 14796 # requires that you compile everything twice, which is a pain. 14797 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14798 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14799 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14800 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14801 else 14802 ld_shlibs=no 14803 fi 14804 ;; 14805 esac 14806 ;; 14807 14808 sunos4*) 14809 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14810 wlarc= 14811 hardcode_direct=yes 14812 hardcode_shlibpath_var=no 14813 ;; 14814 14815 *) 14816 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14817 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14818 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14819 else 14820 ld_shlibs=no 14821 fi 14822 ;; 14823 esac 14824 14825 if test "$ld_shlibs" = no; then 14826 runpath_var= 14827 hardcode_libdir_flag_spec= 14828 export_dynamic_flag_spec= 14829 whole_archive_flag_spec= 14830 fi 14831 else 14832 # PORTME fill in a description of your system's linker (not GNU ld) 14833 case $host_os in 14834 aix3*) 14835 allow_undefined_flag=unsupported 14836 always_export_symbols=yes 14837 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' 14838 # Note: this linker hardcodes the directories in LIBPATH if there 14839 # are no directories specified by -L. 14840 hardcode_minus_L=yes 14841 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 14842 # Neither direct hardcoding nor static linking is supported with a 14843 # broken collect2. 14844 hardcode_direct=unsupported 14845 fi 14846 ;; 14847 14848 aix[4-9]*) 14849 if test "$host_cpu" = ia64; then 14850 # On IA64, the linker does run time linking by default, so we don't 14851 # have to do anything special. 14852 aix_use_runtimelinking=no 14853 exp_sym_flag='-Bexport' 14854 no_entry_flag="" 14855 else 14856 # If we're using GNU nm, then we don't want the "-C" option. 14857 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14858 # Also, AIX nm treats weak defined symbols like other global 14859 # defined symbols, whereas GNU nm marks them as "W". 14860 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14861 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' 14862 else 14863 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' 14864 fi 14865 aix_use_runtimelinking=no 14866 14867 # Test if we are trying to use run time linking or normal 14868 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14869 # need to do runtime linking. 14870 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14871 for ld_flag in $LDFLAGS; do 14872 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 14873 aix_use_runtimelinking=yes 14874 break 14875 fi 14876 done 14877 ;; 14878 esac 14879 14880 exp_sym_flag='-bexport' 14881 no_entry_flag='-bnoentry' 14882 fi 14883 14884 # When large executables or shared objects are built, AIX ld can 14885 # have problems creating the table of contents. If linking a library 14886 # or program results in "error TOC overflow" add -mminimal-toc to 14887 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14888 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14889 14890 archive_cmds='' 14891 hardcode_direct=yes 14892 hardcode_direct_absolute=yes 14893 hardcode_libdir_separator=':' 14894 link_all_deplibs=yes 14895 file_list_spec='${wl}-f,' 14896 14897 if test "$GCC" = yes; then 14898 case $host_os in aix4.[012]|aix4.[012].*) 14899 # We only want to do this on AIX 4.2 and lower, the check 14900 # below for broken collect2 doesn't work under 4.3+ 14901 collect2name=`${CC} -print-prog-name=collect2` 14902 if test -f "$collect2name" && 14903 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14904 then 14905 # We have reworked collect2 14906 : 14907 else 14908 # We have old collect2 14909 hardcode_direct=unsupported 14910 # It fails to find uninstalled libraries when the uninstalled 14911 # path is not listed in the libpath. Setting hardcode_minus_L 14912 # to unsupported forces relinking 14913 hardcode_minus_L=yes 14914 hardcode_libdir_flag_spec='-L$libdir' 14915 hardcode_libdir_separator= 14916 fi 14917 ;; 14918 esac 14919 shared_flag='-shared' 14920 if test "$aix_use_runtimelinking" = yes; then 14921 shared_flag="$shared_flag "'${wl}-G' 14922 fi 14923 link_all_deplibs=no 14924 else 14925 # not using gcc 14926 if test "$host_cpu" = ia64; then 14927 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14928 # chokes on -Wl,-G. The following line is correct: 14929 shared_flag='-G' 14930 else 14931 if test "$aix_use_runtimelinking" = yes; then 14932 shared_flag='${wl}-G' 14933 else 14934 shared_flag='${wl}-bM:SRE' 14935 fi 14936 fi 14937 fi 14938 14939 export_dynamic_flag_spec='${wl}-bexpall' 14940 # It seems that -bexpall does not export symbols beginning with 14941 # underscore (_), so it is better to generate a list of symbols to export. 14942 always_export_symbols=yes 14943 if test "$aix_use_runtimelinking" = yes; then 14944 # Warning - without using the other runtime loading flags (-brtl), 14945 # -berok will link without error, but may produce a broken library. 14946 allow_undefined_flag='-berok' 14947 # Determine the default libpath from the value encoded in an 14948 # empty executable. 14949 if test "${lt_cv_aix_libpath+set}" = set; then 14950 aix_libpath=$lt_cv_aix_libpath 14951 else 14952 if ${lt_cv_aix_libpath_+:} false; then : 14953 $as_echo_n "(cached) " >&6 14954 else 14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14956 /* end confdefs.h. */ 14957 14958 int 14959 main () 14960 { 14961 14962 ; 14963 return 0; 14964 } 14965 _ACEOF 14966 if ac_fn_c_try_link "$LINENO"; then : 14967 14968 lt_aix_libpath_sed=' 14969 /Import File Strings/,/^$/ { 14970 /^0/ { 14971 s/^0 *\([^ ]*\) *$/\1/ 14972 p 14973 } 14974 }' 14975 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14976 # Check for a 64-bit object if we didn't find anything. 14977 if test -z "$lt_cv_aix_libpath_"; then 14978 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14979 fi 14980 fi 14981 rm -f core conftest.err conftest.$ac_objext \ 14982 conftest$ac_exeext conftest.$ac_ext 14983 if test -z "$lt_cv_aix_libpath_"; then 14984 lt_cv_aix_libpath_="/usr/lib:/lib" 14985 fi 14986 14987 fi 14988 14989 aix_libpath=$lt_cv_aix_libpath_ 14990 fi 14991 14992 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 14993 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" 14994 else 14995 if test "$host_cpu" = ia64; then 14996 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 14997 allow_undefined_flag="-z nodefs" 14998 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" 14999 else 15000 # Determine the default libpath from the value encoded in an 15001 # empty executable. 15002 if test "${lt_cv_aix_libpath+set}" = set; then 15003 aix_libpath=$lt_cv_aix_libpath 15004 else 15005 if ${lt_cv_aix_libpath_+:} false; then : 15006 $as_echo_n "(cached) " >&6 15007 else 15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15009 /* end confdefs.h. */ 15010 15011 int 15012 main () 15013 { 15014 15015 ; 15016 return 0; 15017 } 15018 _ACEOF 15019 if ac_fn_c_try_link "$LINENO"; then : 15020 15021 lt_aix_libpath_sed=' 15022 /Import File Strings/,/^$/ { 15023 /^0/ { 15024 s/^0 *\([^ ]*\) *$/\1/ 15025 p 15026 } 15027 }' 15028 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15029 # Check for a 64-bit object if we didn't find anything. 15030 if test -z "$lt_cv_aix_libpath_"; then 15031 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15032 fi 15033 fi 15034 rm -f core conftest.err conftest.$ac_objext \ 15035 conftest$ac_exeext conftest.$ac_ext 15036 if test -z "$lt_cv_aix_libpath_"; then 15037 lt_cv_aix_libpath_="/usr/lib:/lib" 15038 fi 15039 15040 fi 15041 15042 aix_libpath=$lt_cv_aix_libpath_ 15043 fi 15044 15045 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 15046 # Warning - without using the other run time loading flags, 15047 # -berok will link without error, but may produce a broken library. 15048 no_undefined_flag=' ${wl}-bernotok' 15049 allow_undefined_flag=' ${wl}-berok' 15050 if test "$with_gnu_ld" = yes; then 15051 # We only use this code for GNU lds that support --whole-archive. 15052 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 15053 else 15054 # Exported symbols can be pulled into shared objects from archives 15055 whole_archive_flag_spec='$convenience' 15056 fi 15057 archive_cmds_need_lc=yes 15058 # This is similar to how AIX traditionally builds its shared libraries. 15059 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' 15060 fi 15061 fi 15062 ;; 15063 15064 amigaos*) 15065 case $host_cpu in 15066 powerpc) 15067 # see comment about AmigaOS4 .so support 15068 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15069 archive_expsym_cmds='' 15070 ;; 15071 m68k) 15072 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)' 15073 hardcode_libdir_flag_spec='-L$libdir' 15074 hardcode_minus_L=yes 15075 ;; 15076 esac 15077 ;; 15078 15079 bsdi[45]*) 15080 export_dynamic_flag_spec=-rdynamic 15081 ;; 15082 15083 cygwin* | mingw* | pw32* | cegcc*) 15084 # When not using gcc, we currently assume that we are using 15085 # Microsoft Visual C++. 15086 # hardcode_libdir_flag_spec is actually meaningless, as there is 15087 # no search path for DLLs. 15088 case $cc_basename in 15089 cl*) 15090 # Native MSVC 15091 hardcode_libdir_flag_spec=' ' 15092 allow_undefined_flag=unsupported 15093 always_export_symbols=yes 15094 file_list_spec='@' 15095 # Tell ltmain to make .lib files, not .a files. 15096 libext=lib 15097 # Tell ltmain to make .dll files, not .so files. 15098 shrext_cmds=".dll" 15099 # FIXME: Setting linknames here is a bad hack. 15100 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 15101 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 15102 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 15103 else 15104 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 15105 fi~ 15106 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 15107 linknames=' 15108 # The linker will not automatically build a static lib if we build a DLL. 15109 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 15110 enable_shared_with_static_runtimes=yes 15111 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15112 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 15113 # Don't use ranlib 15114 old_postinstall_cmds='chmod 644 $oldlib' 15115 postlink_cmds='lt_outputfile="@OUTPUT@"~ 15116 lt_tool_outputfile="@TOOL_OUTPUT@"~ 15117 case $lt_outputfile in 15118 *.exe|*.EXE) ;; 15119 *) 15120 lt_outputfile="$lt_outputfile.exe" 15121 lt_tool_outputfile="$lt_tool_outputfile.exe" 15122 ;; 15123 esac~ 15124 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 15125 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 15126 $RM "$lt_outputfile.manifest"; 15127 fi' 15128 ;; 15129 *) 15130 # Assume MSVC wrapper 15131 hardcode_libdir_flag_spec=' ' 15132 allow_undefined_flag=unsupported 15133 # Tell ltmain to make .lib files, not .a files. 15134 libext=lib 15135 # Tell ltmain to make .dll files, not .so files. 15136 shrext_cmds=".dll" 15137 # FIXME: Setting linknames here is a bad hack. 15138 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 15139 # The linker will automatically build a .lib file if we build a DLL. 15140 old_archive_from_new_cmds='true' 15141 # FIXME: Should let the user specify the lib program. 15142 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 15143 enable_shared_with_static_runtimes=yes 15144 ;; 15145 esac 15146 ;; 15147 15148 darwin* | rhapsody*) 15149 15150 15151 archive_cmds_need_lc=no 15152 hardcode_direct=no 15153 hardcode_automatic=yes 15154 hardcode_shlibpath_var=unsupported 15155 if test "$lt_cv_ld_force_load" = "yes"; then 15156 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\"`' 15157 15158 else 15159 whole_archive_flag_spec='' 15160 fi 15161 link_all_deplibs=yes 15162 allow_undefined_flag="$_lt_dar_allow_undefined" 15163 case $cc_basename in 15164 ifort*) _lt_dar_can_shared=yes ;; 15165 *) _lt_dar_can_shared=$GCC ;; 15166 esac 15167 if test "$_lt_dar_can_shared" = "yes"; then 15168 output_verbose_link_cmd=func_echo_all 15169 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 15170 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 15171 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}" 15172 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}" 15173 15174 else 15175 ld_shlibs=no 15176 fi 15177 15178 ;; 15179 15180 dgux*) 15181 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15182 hardcode_libdir_flag_spec='-L$libdir' 15183 hardcode_shlibpath_var=no 15184 ;; 15185 15186 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 15187 # support. Future versions do this automatically, but an explicit c++rt0.o 15188 # does not break anything, and helps significantly (at the cost of a little 15189 # extra space). 15190 freebsd2.2*) 15191 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 15192 hardcode_libdir_flag_spec='-R$libdir' 15193 hardcode_direct=yes 15194 hardcode_shlibpath_var=no 15195 ;; 15196 15197 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 15198 freebsd2.*) 15199 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15200 hardcode_direct=yes 15201 hardcode_minus_L=yes 15202 hardcode_shlibpath_var=no 15203 ;; 15204 15205 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 15206 freebsd* | dragonfly*) 15207 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15208 hardcode_libdir_flag_spec='-R$libdir' 15209 hardcode_direct=yes 15210 hardcode_shlibpath_var=no 15211 ;; 15212 15213 hpux9*) 15214 if test "$GCC" = yes; then 15215 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' 15216 else 15217 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' 15218 fi 15219 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 15220 hardcode_libdir_separator=: 15221 hardcode_direct=yes 15222 15223 # hardcode_minus_L: Not really in the search PATH, 15224 # but as the default location of the library. 15225 hardcode_minus_L=yes 15226 export_dynamic_flag_spec='${wl}-E' 15227 ;; 15228 15229 hpux10*) 15230 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 15231 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15232 else 15233 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15234 fi 15235 if test "$with_gnu_ld" = no; then 15236 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 15237 hardcode_libdir_separator=: 15238 hardcode_direct=yes 15239 hardcode_direct_absolute=yes 15240 export_dynamic_flag_spec='${wl}-E' 15241 # hardcode_minus_L: Not really in the search PATH, 15242 # but as the default location of the library. 15243 hardcode_minus_L=yes 15244 fi 15245 ;; 15246 15247 hpux11*) 15248 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 15249 case $host_cpu in 15250 hppa*64*) 15251 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15252 ;; 15253 ia64*) 15254 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15255 ;; 15256 *) 15257 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15258 ;; 15259 esac 15260 else 15261 case $host_cpu in 15262 hppa*64*) 15263 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15264 ;; 15265 ia64*) 15266 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15267 ;; 15268 *) 15269 15270 # Older versions of the 11.00 compiler do not understand -b yet 15271 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 15273 $as_echo_n "checking if $CC understands -b... " >&6; } 15274 if ${lt_cv_prog_compiler__b+:} false; then : 15275 $as_echo_n "(cached) " >&6 15276 else 15277 lt_cv_prog_compiler__b=no 15278 save_LDFLAGS="$LDFLAGS" 15279 LDFLAGS="$LDFLAGS -b" 15280 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15281 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15282 # The linker can only warn and ignore the option if not recognized 15283 # So say no if there are warnings 15284 if test -s conftest.err; then 15285 # Append any errors to the config.log. 15286 cat conftest.err 1>&5 15287 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15288 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15289 if diff conftest.exp conftest.er2 >/dev/null; then 15290 lt_cv_prog_compiler__b=yes 15291 fi 15292 else 15293 lt_cv_prog_compiler__b=yes 15294 fi 15295 fi 15296 $RM -r conftest* 15297 LDFLAGS="$save_LDFLAGS" 15298 15299 fi 15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 15301 $as_echo "$lt_cv_prog_compiler__b" >&6; } 15302 15303 if test x"$lt_cv_prog_compiler__b" = xyes; then 15304 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15305 else 15306 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15307 fi 15308 15309 ;; 15310 esac 15311 fi 15312 if test "$with_gnu_ld" = no; then 15313 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 15314 hardcode_libdir_separator=: 15315 15316 case $host_cpu in 15317 hppa*64*|ia64*) 15318 hardcode_direct=no 15319 hardcode_shlibpath_var=no 15320 ;; 15321 *) 15322 hardcode_direct=yes 15323 hardcode_direct_absolute=yes 15324 export_dynamic_flag_spec='${wl}-E' 15325 15326 # hardcode_minus_L: Not really in the search PATH, 15327 # but as the default location of the library. 15328 hardcode_minus_L=yes 15329 ;; 15330 esac 15331 fi 15332 ;; 15333 15334 irix5* | irix6* | nonstopux*) 15335 if test "$GCC" = yes; then 15336 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' 15337 # Try to use the -exported_symbol ld option, if it does not 15338 # work, assume that -exports_file does not work either and 15339 # implicitly export all symbols. 15340 # This should be the same for all languages, so no per-tag cache variable. 15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 15342 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 15343 if ${lt_cv_irix_exported_symbol+:} false; then : 15344 $as_echo_n "(cached) " >&6 15345 else 15346 save_LDFLAGS="$LDFLAGS" 15347 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15349 /* end confdefs.h. */ 15350 int foo (void) { return 0; } 15351 _ACEOF 15352 if ac_fn_c_try_link "$LINENO"; then : 15353 lt_cv_irix_exported_symbol=yes 15354 else 15355 lt_cv_irix_exported_symbol=no 15356 fi 15357 rm -f core conftest.err conftest.$ac_objext \ 15358 conftest$ac_exeext conftest.$ac_ext 15359 LDFLAGS="$save_LDFLAGS" 15360 fi 15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 15362 $as_echo "$lt_cv_irix_exported_symbol" >&6; } 15363 if test "$lt_cv_irix_exported_symbol" = yes; then 15364 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' 15365 fi 15366 else 15367 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' 15368 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' 15369 fi 15370 archive_cmds_need_lc='no' 15371 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 15372 hardcode_libdir_separator=: 15373 inherit_rpath=yes 15374 link_all_deplibs=yes 15375 ;; 15376 15377 netbsd* | netbsdelf*-gnu) 15378 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15379 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 15380 else 15381 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 15382 fi 15383 hardcode_libdir_flag_spec='-R$libdir' 15384 hardcode_direct=yes 15385 hardcode_shlibpath_var=no 15386 ;; 15387 15388 newsos6) 15389 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15390 hardcode_direct=yes 15391 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 15392 hardcode_libdir_separator=: 15393 hardcode_shlibpath_var=no 15394 ;; 15395 15396 *nto* | *qnx*) 15397 ;; 15398 15399 openbsd*) 15400 if test -f /usr/libexec/ld.so; then 15401 hardcode_direct=yes 15402 hardcode_shlibpath_var=no 15403 hardcode_direct_absolute=yes 15404 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15405 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15406 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 15407 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 15408 export_dynamic_flag_spec='${wl}-E' 15409 else 15410 case $host_os in 15411 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 15412 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15413 hardcode_libdir_flag_spec='-R$libdir' 15414 ;; 15415 *) 15416 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15417 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 15418 ;; 15419 esac 15420 fi 15421 else 15422 ld_shlibs=no 15423 fi 15424 ;; 15425 15426 os2*) 15427 hardcode_libdir_flag_spec='-L$libdir' 15428 hardcode_minus_L=yes 15429 allow_undefined_flag=unsupported 15430 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' 15431 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 15432 ;; 15433 15434 osf3*) 15435 if test "$GCC" = yes; then 15436 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 15437 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' 15438 else 15439 allow_undefined_flag=' -expect_unresolved \*' 15440 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' 15441 fi 15442 archive_cmds_need_lc='no' 15443 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 15444 hardcode_libdir_separator=: 15445 ;; 15446 15447 osf4* | osf5*) # as osf3* with the addition of -msym flag 15448 if test "$GCC" = yes; then 15449 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 15450 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' 15451 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 15452 else 15453 allow_undefined_flag=' -expect_unresolved \*' 15454 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' 15455 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~ 15456 $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' 15457 15458 # Both c and cxx compiler support -rpath directly 15459 hardcode_libdir_flag_spec='-rpath $libdir' 15460 fi 15461 archive_cmds_need_lc='no' 15462 hardcode_libdir_separator=: 15463 ;; 15464 15465 solaris*) 15466 no_undefined_flag=' -z defs' 15467 if test "$GCC" = yes; then 15468 wlarc='${wl}' 15469 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15470 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15471 $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' 15472 else 15473 case `$CC -V 2>&1` in 15474 *"Compilers 5.0"*) 15475 wlarc='' 15476 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 15477 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15478 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 15479 ;; 15480 *) 15481 wlarc='${wl}' 15482 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 15483 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15484 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 15485 ;; 15486 esac 15487 fi 15488 hardcode_libdir_flag_spec='-R$libdir' 15489 hardcode_shlibpath_var=no 15490 case $host_os in 15491 solaris2.[0-5] | solaris2.[0-5].*) ;; 15492 *) 15493 # The compiler driver will combine and reorder linker options, 15494 # but understands `-z linker_flag'. GCC discards it without `$wl', 15495 # but is careful enough not to reorder. 15496 # Supported since Solaris 2.6 (maybe 2.5.1?) 15497 if test "$GCC" = yes; then 15498 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 15499 else 15500 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 15501 fi 15502 ;; 15503 esac 15504 link_all_deplibs=yes 15505 ;; 15506 15507 sunos4*) 15508 if test "x$host_vendor" = xsequent; then 15509 # Use $CC to link under sequent, because it throws in some extra .o 15510 # files that make .init and .fini sections work. 15511 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 15512 else 15513 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 15514 fi 15515 hardcode_libdir_flag_spec='-L$libdir' 15516 hardcode_direct=yes 15517 hardcode_minus_L=yes 15518 hardcode_shlibpath_var=no 15519 ;; 15520 15521 sysv4) 15522 case $host_vendor in 15523 sni) 15524 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15525 hardcode_direct=yes # is this really true??? 15526 ;; 15527 siemens) 15528 ## LD is ld it makes a PLAMLIB 15529 ## CC just makes a GrossModule. 15530 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 15531 reload_cmds='$CC -r -o $output$reload_objs' 15532 hardcode_direct=no 15533 ;; 15534 motorola) 15535 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15536 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 15537 ;; 15538 esac 15539 runpath_var='LD_RUN_PATH' 15540 hardcode_shlibpath_var=no 15541 ;; 15542 15543 sysv4.3*) 15544 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15545 hardcode_shlibpath_var=no 15546 export_dynamic_flag_spec='-Bexport' 15547 ;; 15548 15549 sysv4*MP*) 15550 if test -d /usr/nec; then 15551 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15552 hardcode_shlibpath_var=no 15553 runpath_var=LD_RUN_PATH 15554 hardcode_runpath_var=yes 15555 ld_shlibs=yes 15556 fi 15557 ;; 15558 15559 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15560 no_undefined_flag='${wl}-z,text' 15561 archive_cmds_need_lc=no 15562 hardcode_shlibpath_var=no 15563 runpath_var='LD_RUN_PATH' 15564 15565 if test "$GCC" = yes; then 15566 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15567 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15568 else 15569 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15570 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15571 fi 15572 ;; 15573 15574 sysv5* | sco3.2v5* | sco5v6*) 15575 # Note: We can NOT use -z defs as we might desire, because we do not 15576 # link with -lc, and that would cause any symbols used from libc to 15577 # always be unresolved, which means just about no library would 15578 # ever link correctly. If we're not using GNU ld we use -z text 15579 # though, which does catch some bad symbols but isn't as heavy-handed 15580 # as -z defs. 15581 no_undefined_flag='${wl}-z,text' 15582 allow_undefined_flag='${wl}-z,nodefs' 15583 archive_cmds_need_lc=no 15584 hardcode_shlibpath_var=no 15585 hardcode_libdir_flag_spec='${wl}-R,$libdir' 15586 hardcode_libdir_separator=':' 15587 link_all_deplibs=yes 15588 export_dynamic_flag_spec='${wl}-Bexport' 15589 runpath_var='LD_RUN_PATH' 15590 15591 if test "$GCC" = yes; then 15592 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15593 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15594 else 15595 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15596 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15597 fi 15598 ;; 15599 15600 uts4*) 15601 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15602 hardcode_libdir_flag_spec='-L$libdir' 15603 hardcode_shlibpath_var=no 15604 ;; 15605 15606 *) 15607 ld_shlibs=no 15608 ;; 15609 esac 15610 15611 if test x$host_vendor = xsni; then 15612 case $host in 15613 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 15614 export_dynamic_flag_spec='${wl}-Blargedynsym' 15615 ;; 15616 esac 15617 fi 15618 fi 15619 15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 15621 $as_echo "$ld_shlibs" >&6; } 15622 test "$ld_shlibs" = no && can_build_shared=no 15623 15624 with_gnu_ld=$with_gnu_ld 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 # 15641 # Do we need to explicitly link libc? 15642 # 15643 case "x$archive_cmds_need_lc" in 15644 x|xyes) 15645 # Assume -lc should be added 15646 archive_cmds_need_lc=yes 15647 15648 if test "$enable_shared" = yes && test "$GCC" = yes; then 15649 case $archive_cmds in 15650 *'~'*) 15651 # FIXME: we may have to deal with multi-command sequences. 15652 ;; 15653 '$CC '*) 15654 # Test whether the compiler implicitly links with -lc since on some 15655 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15656 # to ld, don't add -lc before -lgcc. 15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15658 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15659 if ${lt_cv_archive_cmds_need_lc+:} false; then : 15660 $as_echo_n "(cached) " >&6 15661 else 15662 $RM conftest* 15663 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15664 15665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15666 (eval $ac_compile) 2>&5 15667 ac_status=$? 15668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15669 test $ac_status = 0; } 2>conftest.err; then 15670 soname=conftest 15671 lib=conftest 15672 libobjs=conftest.$ac_objext 15673 deplibs= 15674 wl=$lt_prog_compiler_wl 15675 pic_flag=$lt_prog_compiler_pic 15676 compiler_flags=-v 15677 linker_flags=-v 15678 verstring= 15679 output_objdir=. 15680 libname=conftest 15681 lt_save_allow_undefined_flag=$allow_undefined_flag 15682 allow_undefined_flag= 15683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15684 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15685 ac_status=$? 15686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15687 test $ac_status = 0; } 15688 then 15689 lt_cv_archive_cmds_need_lc=no 15690 else 15691 lt_cv_archive_cmds_need_lc=yes 15692 fi 15693 allow_undefined_flag=$lt_save_allow_undefined_flag 15694 else 15695 cat conftest.err 1>&5 15696 fi 15697 $RM conftest* 15698 15699 fi 15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 15701 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 15702 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 15703 ;; 15704 esac 15705 fi 15706 ;; 15707 esac 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15861 $as_echo_n "checking dynamic linker characteristics... " >&6; } 15862 15863 if test "$GCC" = yes; then 15864 case $host_os in 15865 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 15866 *) lt_awk_arg="/^libraries:/" ;; 15867 esac 15868 case $host_os in 15869 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 15870 *) lt_sed_strip_eq="s,=/,/,g" ;; 15871 esac 15872 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 15873 case $lt_search_path_spec in 15874 *\;*) 15875 # if the path contains ";" then we assume it to be the separator 15876 # otherwise default to the standard path separator (i.e. ":") - it is 15877 # assumed that no part of a normal pathname contains ";" but that should 15878 # okay in the real world where ";" in dirpaths is itself problematic. 15879 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 15880 ;; 15881 *) 15882 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 15883 ;; 15884 esac 15885 # Ok, now we have the path, separated by spaces, we can step through it 15886 # and add multilib dir if necessary. 15887 lt_tmp_lt_search_path_spec= 15888 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 15889 for lt_sys_path in $lt_search_path_spec; do 15890 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 15891 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 15892 else 15893 test -d "$lt_sys_path" && \ 15894 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 15895 fi 15896 done 15897 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 15898 BEGIN {RS=" "; FS="/|\n";} { 15899 lt_foo=""; 15900 lt_count=0; 15901 for (lt_i = NF; lt_i > 0; lt_i--) { 15902 if ($lt_i != "" && $lt_i != ".") { 15903 if ($lt_i == "..") { 15904 lt_count++; 15905 } else { 15906 if (lt_count == 0) { 15907 lt_foo="/" $lt_i lt_foo; 15908 } else { 15909 lt_count--; 15910 } 15911 } 15912 } 15913 } 15914 if (lt_foo != "") { lt_freq[lt_foo]++; } 15915 if (lt_freq[lt_foo] == 1) { print lt_foo; } 15916 }'` 15917 # AWK program above erroneously prepends '/' to C:/dos/paths 15918 # for these hosts. 15919 case $host_os in 15920 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 15921 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 15922 esac 15923 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 15924 else 15925 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 15926 fi 15927 library_names_spec= 15928 libname_spec='lib$name' 15929 soname_spec= 15930 shrext_cmds=".so" 15931 postinstall_cmds= 15932 postuninstall_cmds= 15933 finish_cmds= 15934 finish_eval= 15935 shlibpath_var= 15936 shlibpath_overrides_runpath=unknown 15937 version_type=none 15938 dynamic_linker="$host_os ld.so" 15939 sys_lib_dlsearch_path_spec="/lib /usr/lib" 15940 need_lib_prefix=unknown 15941 hardcode_into_libs=no 15942 15943 # when you set need_version to no, make sure it does not cause -set_version 15944 # flags to be left without arguments 15945 need_version=unknown 15946 15947 case $host_os in 15948 aix3*) 15949 version_type=linux # correct to gnu/linux during the next big refactor 15950 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 15951 shlibpath_var=LIBPATH 15952 15953 # AIX 3 has no versioning support, so we append a major version to the name. 15954 soname_spec='${libname}${release}${shared_ext}$major' 15955 ;; 15956 15957 aix[4-9]*) 15958 version_type=linux # correct to gnu/linux during the next big refactor 15959 need_lib_prefix=no 15960 need_version=no 15961 hardcode_into_libs=yes 15962 if test "$host_cpu" = ia64; then 15963 # AIX 5 supports IA64 15964 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 15965 shlibpath_var=LD_LIBRARY_PATH 15966 else 15967 # With GCC up to 2.95.x, collect2 would create an import file 15968 # for dependence libraries. The import file would start with 15969 # the line `#! .'. This would cause the generated library to 15970 # depend on `.', always an invalid library. This was fixed in 15971 # development snapshots of GCC prior to 3.0. 15972 case $host_os in 15973 aix4 | aix4.[01] | aix4.[01].*) 15974 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15975 echo ' yes ' 15976 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 15977 : 15978 else 15979 can_build_shared=no 15980 fi 15981 ;; 15982 esac 15983 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 15984 # soname into executable. Probably we can add versioning support to 15985 # collect2, so additional links can be useful in future. 15986 if test "$aix_use_runtimelinking" = yes; then 15987 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15988 # instead of lib<name>.a to let people know that these are not 15989 # typical AIX shared libraries. 15990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15991 else 15992 # We preserve .a as extension for shared libraries through AIX4.2 15993 # and later when we are not doing run time linking. 15994 library_names_spec='${libname}${release}.a $libname.a' 15995 soname_spec='${libname}${release}${shared_ext}$major' 15996 fi 15997 shlibpath_var=LIBPATH 15998 fi 15999 ;; 16000 16001 amigaos*) 16002 case $host_cpu in 16003 powerpc) 16004 # Since July 2007 AmigaOS4 officially supports .so libraries. 16005 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16007 ;; 16008 m68k) 16009 library_names_spec='$libname.ixlibrary $libname.a' 16010 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16011 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' 16012 ;; 16013 esac 16014 ;; 16015 16016 beos*) 16017 library_names_spec='${libname}${shared_ext}' 16018 dynamic_linker="$host_os ld.so" 16019 shlibpath_var=LIBRARY_PATH 16020 ;; 16021 16022 bsdi[45]*) 16023 version_type=linux # correct to gnu/linux during the next big refactor 16024 need_version=no 16025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16026 soname_spec='${libname}${release}${shared_ext}$major' 16027 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16028 shlibpath_var=LD_LIBRARY_PATH 16029 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16030 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16031 # the default ld.so.conf also contains /usr/contrib/lib and 16032 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16033 # libtool to hard-code these into programs 16034 ;; 16035 16036 cygwin* | mingw* | pw32* | cegcc*) 16037 version_type=windows 16038 shrext_cmds=".dll" 16039 need_version=no 16040 need_lib_prefix=no 16041 16042 case $GCC,$cc_basename in 16043 yes,*) 16044 # gcc 16045 library_names_spec='$libname.dll.a' 16046 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16047 postinstall_cmds='base_file=`basename \${file}`~ 16048 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 16049 dldir=$destdir/`dirname \$dlpath`~ 16050 test -d \$dldir || mkdir -p \$dldir~ 16051 $install_prog $dir/$dlname \$dldir/$dlname~ 16052 chmod a+x \$dldir/$dlname~ 16053 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16054 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16055 fi' 16056 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16057 dlpath=$dir/\$dldll~ 16058 $RM \$dlpath' 16059 shlibpath_overrides_runpath=yes 16060 16061 case $host_os in 16062 cygwin*) 16063 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16064 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16065 16066 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 16067 ;; 16068 mingw* | cegcc*) 16069 # MinGW DLLs use traditional 'lib' prefix 16070 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16071 ;; 16072 pw32*) 16073 # pw32 DLLs use 'pw' prefix rather than 'lib' 16074 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16075 ;; 16076 esac 16077 dynamic_linker='Win32 ld.exe' 16078 ;; 16079 16080 *,cl*) 16081 # Native MSVC 16082 libname_spec='$name' 16083 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16084 library_names_spec='${libname}.dll.lib' 16085 16086 case $build_os in 16087 mingw*) 16088 sys_lib_search_path_spec= 16089 lt_save_ifs=$IFS 16090 IFS=';' 16091 for lt_path in $LIB 16092 do 16093 IFS=$lt_save_ifs 16094 # Let DOS variable expansion print the short 8.3 style file name. 16095 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16096 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16097 done 16098 IFS=$lt_save_ifs 16099 # Convert to MSYS style. 16100 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16101 ;; 16102 cygwin*) 16103 # Convert to unix form, then to dos form, then back to unix form 16104 # but this time dos style (no spaces!) so that the unix form looks 16105 # like /cygdrive/c/PROGRA~1:/cygdr... 16106 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16107 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16108 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16109 ;; 16110 *) 16111 sys_lib_search_path_spec="$LIB" 16112 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16113 # It is most probably a Windows format PATH. 16114 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16115 else 16116 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16117 fi 16118 # FIXME: find the short name or the path components, as spaces are 16119 # common. (e.g. "Program Files" -> "PROGRA~1") 16120 ;; 16121 esac 16122 16123 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16124 postinstall_cmds='base_file=`basename \${file}`~ 16125 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 16126 dldir=$destdir/`dirname \$dlpath`~ 16127 test -d \$dldir || mkdir -p \$dldir~ 16128 $install_prog $dir/$dlname \$dldir/$dlname' 16129 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16130 dlpath=$dir/\$dldll~ 16131 $RM \$dlpath' 16132 shlibpath_overrides_runpath=yes 16133 dynamic_linker='Win32 link.exe' 16134 ;; 16135 16136 *) 16137 # Assume MSVC wrapper 16138 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 16139 dynamic_linker='Win32 ld.exe' 16140 ;; 16141 esac 16142 # FIXME: first we should search . and the directory the executable is in 16143 shlibpath_var=PATH 16144 ;; 16145 16146 darwin* | rhapsody*) 16147 dynamic_linker="$host_os dyld" 16148 version_type=darwin 16149 need_lib_prefix=no 16150 need_version=no 16151 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 16152 soname_spec='${libname}${release}${major}$shared_ext' 16153 shlibpath_overrides_runpath=yes 16154 shlibpath_var=DYLD_LIBRARY_PATH 16155 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16156 16157 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 16158 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16159 ;; 16160 16161 dgux*) 16162 version_type=linux # correct to gnu/linux during the next big refactor 16163 need_lib_prefix=no 16164 need_version=no 16165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 16166 soname_spec='${libname}${release}${shared_ext}$major' 16167 shlibpath_var=LD_LIBRARY_PATH 16168 ;; 16169 16170 freebsd* | dragonfly*) 16171 # DragonFly does not have aout. When/if they implement a new 16172 # versioning mechanism, adjust this. 16173 if test -x /usr/bin/objformat; then 16174 objformat=`/usr/bin/objformat` 16175 else 16176 case $host_os in 16177 freebsd[23].*) objformat=aout ;; 16178 *) objformat=elf ;; 16179 esac 16180 fi 16181 version_type=freebsd-$objformat 16182 case $version_type in 16183 freebsd-elf*) 16184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16185 need_version=no 16186 need_lib_prefix=no 16187 ;; 16188 freebsd-*) 16189 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 16190 need_version=yes 16191 ;; 16192 esac 16193 shlibpath_var=LD_LIBRARY_PATH 16194 case $host_os in 16195 freebsd2.*) 16196 shlibpath_overrides_runpath=yes 16197 ;; 16198 freebsd3.[01]* | freebsdelf3.[01]*) 16199 shlibpath_overrides_runpath=yes 16200 hardcode_into_libs=yes 16201 ;; 16202 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16203 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16204 shlibpath_overrides_runpath=no 16205 hardcode_into_libs=yes 16206 ;; 16207 *) # from 4.6 on, and DragonFly 16208 shlibpath_overrides_runpath=yes 16209 hardcode_into_libs=yes 16210 ;; 16211 esac 16212 ;; 16213 16214 haiku*) 16215 version_type=linux # correct to gnu/linux during the next big refactor 16216 need_lib_prefix=no 16217 need_version=no 16218 dynamic_linker="$host_os runtime_loader" 16219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 16220 soname_spec='${libname}${release}${shared_ext}$major' 16221 shlibpath_var=LIBRARY_PATH 16222 shlibpath_overrides_runpath=yes 16223 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16224 hardcode_into_libs=yes 16225 ;; 16226 16227 hpux9* | hpux10* | hpux11*) 16228 # Give a soname corresponding to the major version so that dld.sl refuses to 16229 # link against other versions. 16230 version_type=sunos 16231 need_lib_prefix=no 16232 need_version=no 16233 case $host_cpu in 16234 ia64*) 16235 shrext_cmds='.so' 16236 hardcode_into_libs=yes 16237 dynamic_linker="$host_os dld.so" 16238 shlibpath_var=LD_LIBRARY_PATH 16239 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16241 soname_spec='${libname}${release}${shared_ext}$major' 16242 if test "X$HPUX_IA64_MODE" = X32; then 16243 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16244 else 16245 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16246 fi 16247 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16248 ;; 16249 hppa*64*) 16250 shrext_cmds='.sl' 16251 hardcode_into_libs=yes 16252 dynamic_linker="$host_os dld.sl" 16253 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16254 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16256 soname_spec='${libname}${release}${shared_ext}$major' 16257 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16258 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16259 ;; 16260 *) 16261 shrext_cmds='.sl' 16262 dynamic_linker="$host_os dld.sl" 16263 shlibpath_var=SHLIB_PATH 16264 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16266 soname_spec='${libname}${release}${shared_ext}$major' 16267 ;; 16268 esac 16269 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16270 postinstall_cmds='chmod 555 $lib' 16271 # or fails outright, so override atomically: 16272 install_override_mode=555 16273 ;; 16274 16275 interix[3-9]*) 16276 version_type=linux # correct to gnu/linux during the next big refactor 16277 need_lib_prefix=no 16278 need_version=no 16279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16280 soname_spec='${libname}${release}${shared_ext}$major' 16281 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16282 shlibpath_var=LD_LIBRARY_PATH 16283 shlibpath_overrides_runpath=no 16284 hardcode_into_libs=yes 16285 ;; 16286 16287 irix5* | irix6* | nonstopux*) 16288 case $host_os in 16289 nonstopux*) version_type=nonstopux ;; 16290 *) 16291 if test "$lt_cv_prog_gnu_ld" = yes; then 16292 version_type=linux # correct to gnu/linux during the next big refactor 16293 else 16294 version_type=irix 16295 fi ;; 16296 esac 16297 need_lib_prefix=no 16298 need_version=no 16299 soname_spec='${libname}${release}${shared_ext}$major' 16300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 16301 case $host_os in 16302 irix5* | nonstopux*) 16303 libsuff= shlibsuff= 16304 ;; 16305 *) 16306 case $LD in # libtool.m4 will add one of these switches to LD 16307 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16308 libsuff= shlibsuff= libmagic=32-bit;; 16309 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16310 libsuff=32 shlibsuff=N32 libmagic=N32;; 16311 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16312 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16313 *) libsuff= shlibsuff= libmagic=never-match;; 16314 esac 16315 ;; 16316 esac 16317 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16318 shlibpath_overrides_runpath=no 16319 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 16320 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 16321 hardcode_into_libs=yes 16322 ;; 16323 16324 # No shared lib support for Linux oldld, aout, or coff. 16325 linux*oldld* | linux*aout* | linux*coff*) 16326 dynamic_linker=no 16327 ;; 16328 16329 # This must be glibc/ELF. 16330 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16331 version_type=linux # correct to gnu/linux during the next big refactor 16332 need_lib_prefix=no 16333 need_version=no 16334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16335 soname_spec='${libname}${release}${shared_ext}$major' 16336 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16337 shlibpath_var=LD_LIBRARY_PATH 16338 shlibpath_overrides_runpath=no 16339 16340 # Some binutils ld are patched to set DT_RUNPATH 16341 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16342 $as_echo_n "(cached) " >&6 16343 else 16344 lt_cv_shlibpath_overrides_runpath=no 16345 save_LDFLAGS=$LDFLAGS 16346 save_libdir=$libdir 16347 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 16348 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 16349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16350 /* end confdefs.h. */ 16351 16352 int 16353 main () 16354 { 16355 16356 ; 16357 return 0; 16358 } 16359 _ACEOF 16360 if ac_fn_c_try_link "$LINENO"; then : 16361 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16362 lt_cv_shlibpath_overrides_runpath=yes 16363 fi 16364 fi 16365 rm -f core conftest.err conftest.$ac_objext \ 16366 conftest$ac_exeext conftest.$ac_ext 16367 LDFLAGS=$save_LDFLAGS 16368 libdir=$save_libdir 16369 16370 fi 16371 16372 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16373 16374 # This implies no fast_install, which is unacceptable. 16375 # Some rework will be needed to allow for fast_install 16376 # before this can be enabled. 16377 hardcode_into_libs=yes 16378 16379 # Append ld.so.conf contents to the search path 16380 if test -f /etc/ld.so.conf; then 16381 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' ' '` 16382 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 16383 fi 16384 16385 # We used to test for /lib/ld.so.1 and disable shared libraries on 16386 # powerpc, because MkLinux only supported shared libraries with the 16387 # GNU dynamic linker. Since this was broken with cross compilers, 16388 # most powerpc-linux boxes support dynamic linking these days and 16389 # people can always --disable-shared, the test was removed, and we 16390 # assume the GNU/Linux dynamic linker is in use. 16391 dynamic_linker='GNU/Linux ld.so' 16392 ;; 16393 16394 netbsdelf*-gnu) 16395 version_type=linux 16396 need_lib_prefix=no 16397 need_version=no 16398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16399 soname_spec='${libname}${release}${shared_ext}$major' 16400 shlibpath_var=LD_LIBRARY_PATH 16401 shlibpath_overrides_runpath=no 16402 hardcode_into_libs=yes 16403 dynamic_linker='NetBSD ld.elf_so' 16404 ;; 16405 16406 netbsd*) 16407 version_type=sunos 16408 need_lib_prefix=no 16409 need_version=no 16410 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16412 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16413 dynamic_linker='NetBSD (a.out) ld.so' 16414 else 16415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16416 soname_spec='${libname}${release}${shared_ext}$major' 16417 dynamic_linker='NetBSD ld.elf_so' 16418 fi 16419 shlibpath_var=LD_LIBRARY_PATH 16420 shlibpath_overrides_runpath=yes 16421 hardcode_into_libs=yes 16422 ;; 16423 16424 newsos6) 16425 version_type=linux # correct to gnu/linux during the next big refactor 16426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16427 shlibpath_var=LD_LIBRARY_PATH 16428 shlibpath_overrides_runpath=yes 16429 ;; 16430 16431 *nto* | *qnx*) 16432 version_type=qnx 16433 need_lib_prefix=no 16434 need_version=no 16435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16436 soname_spec='${libname}${release}${shared_ext}$major' 16437 shlibpath_var=LD_LIBRARY_PATH 16438 shlibpath_overrides_runpath=no 16439 hardcode_into_libs=yes 16440 dynamic_linker='ldqnx.so' 16441 ;; 16442 16443 openbsd*) 16444 version_type=sunos 16445 sys_lib_dlsearch_path_spec="/usr/lib" 16446 need_lib_prefix=no 16447 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 16448 case $host_os in 16449 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 16450 *) need_version=no ;; 16451 esac 16452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16453 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16454 shlibpath_var=LD_LIBRARY_PATH 16455 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 16456 case $host_os in 16457 openbsd2.[89] | openbsd2.[89].*) 16458 shlibpath_overrides_runpath=no 16459 ;; 16460 *) 16461 shlibpath_overrides_runpath=yes 16462 ;; 16463 esac 16464 else 16465 shlibpath_overrides_runpath=yes 16466 fi 16467 ;; 16468 16469 os2*) 16470 libname_spec='$name' 16471 shrext_cmds=".dll" 16472 need_lib_prefix=no 16473 library_names_spec='$libname${shared_ext} $libname.a' 16474 dynamic_linker='OS/2 ld.exe' 16475 shlibpath_var=LIBPATH 16476 ;; 16477 16478 osf3* | osf4* | osf5*) 16479 version_type=osf 16480 need_lib_prefix=no 16481 need_version=no 16482 soname_spec='${libname}${release}${shared_ext}$major' 16483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16484 shlibpath_var=LD_LIBRARY_PATH 16485 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16486 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 16487 ;; 16488 16489 rdos*) 16490 dynamic_linker=no 16491 ;; 16492 16493 solaris*) 16494 version_type=linux # correct to gnu/linux during the next big refactor 16495 need_lib_prefix=no 16496 need_version=no 16497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16498 soname_spec='${libname}${release}${shared_ext}$major' 16499 shlibpath_var=LD_LIBRARY_PATH 16500 shlibpath_overrides_runpath=yes 16501 hardcode_into_libs=yes 16502 # ldd complains unless libraries are executable 16503 postinstall_cmds='chmod +x $lib' 16504 ;; 16505 16506 sunos4*) 16507 version_type=sunos 16508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16509 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16510 shlibpath_var=LD_LIBRARY_PATH 16511 shlibpath_overrides_runpath=yes 16512 if test "$with_gnu_ld" = yes; then 16513 need_lib_prefix=no 16514 fi 16515 need_version=yes 16516 ;; 16517 16518 sysv4 | sysv4.3*) 16519 version_type=linux # correct to gnu/linux during the next big refactor 16520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16521 soname_spec='${libname}${release}${shared_ext}$major' 16522 shlibpath_var=LD_LIBRARY_PATH 16523 case $host_vendor in 16524 sni) 16525 shlibpath_overrides_runpath=no 16526 need_lib_prefix=no 16527 runpath_var=LD_RUN_PATH 16528 ;; 16529 siemens) 16530 need_lib_prefix=no 16531 ;; 16532 motorola) 16533 need_lib_prefix=no 16534 need_version=no 16535 shlibpath_overrides_runpath=no 16536 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16537 ;; 16538 esac 16539 ;; 16540 16541 sysv4*MP*) 16542 if test -d /usr/nec ;then 16543 version_type=linux # correct to gnu/linux during the next big refactor 16544 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 16545 soname_spec='$libname${shared_ext}.$major' 16546 shlibpath_var=LD_LIBRARY_PATH 16547 fi 16548 ;; 16549 16550 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16551 version_type=freebsd-elf 16552 need_lib_prefix=no 16553 need_version=no 16554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16555 soname_spec='${libname}${release}${shared_ext}$major' 16556 shlibpath_var=LD_LIBRARY_PATH 16557 shlibpath_overrides_runpath=yes 16558 hardcode_into_libs=yes 16559 if test "$with_gnu_ld" = yes; then 16560 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16561 else 16562 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16563 case $host_os in 16564 sco3.2v5*) 16565 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16566 ;; 16567 esac 16568 fi 16569 sys_lib_dlsearch_path_spec='/usr/lib' 16570 ;; 16571 16572 tpf*) 16573 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16574 version_type=linux # correct to gnu/linux during the next big refactor 16575 need_lib_prefix=no 16576 need_version=no 16577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16578 shlibpath_var=LD_LIBRARY_PATH 16579 shlibpath_overrides_runpath=no 16580 hardcode_into_libs=yes 16581 ;; 16582 16583 uts4*) 16584 version_type=linux # correct to gnu/linux during the next big refactor 16585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16586 soname_spec='${libname}${release}${shared_ext}$major' 16587 shlibpath_var=LD_LIBRARY_PATH 16588 ;; 16589 16590 *) 16591 dynamic_linker=no 16592 ;; 16593 esac 16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16595 $as_echo "$dynamic_linker" >&6; } 16596 test "$dynamic_linker" = no && can_build_shared=no 16597 16598 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16599 if test "$GCC" = yes; then 16600 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16601 fi 16602 16603 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 16604 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 16605 fi 16606 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 16607 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 16608 fi 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16702 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16703 hardcode_action= 16704 if test -n "$hardcode_libdir_flag_spec" || 16705 test -n "$runpath_var" || 16706 test "X$hardcode_automatic" = "Xyes" ; then 16707 16708 # We can hardcode non-existent directories. 16709 if test "$hardcode_direct" != no && 16710 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16711 # have to relink, otherwise we might link with an installed library 16712 # when we should be linking with a yet-to-be-installed one 16713 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 16714 test "$hardcode_minus_L" != no; then 16715 # Linking always hardcodes the temporary library directory. 16716 hardcode_action=relink 16717 else 16718 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16719 hardcode_action=immediate 16720 fi 16721 else 16722 # We cannot hardcode anything, or else we can only hardcode existing 16723 # directories. 16724 hardcode_action=unsupported 16725 fi 16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 16727 $as_echo "$hardcode_action" >&6; } 16728 16729 if test "$hardcode_action" = relink || 16730 test "$inherit_rpath" = yes; then 16731 # Fast installation is not supported 16732 enable_fast_install=no 16733 elif test "$shlibpath_overrides_runpath" = yes || 16734 test "$enable_shared" = no; then 16735 # Fast installation is not necessary 16736 enable_fast_install=needless 16737 fi 16738 16739 16740 16741 16742 16743 16744 if test "x$enable_dlopen" != xyes; then 16745 enable_dlopen=unknown 16746 enable_dlopen_self=unknown 16747 enable_dlopen_self_static=unknown 16748 else 16749 lt_cv_dlopen=no 16750 lt_cv_dlopen_libs= 16751 16752 case $host_os in 16753 beos*) 16754 lt_cv_dlopen="load_add_on" 16755 lt_cv_dlopen_libs= 16756 lt_cv_dlopen_self=yes 16757 ;; 16758 16759 mingw* | pw32* | cegcc*) 16760 lt_cv_dlopen="LoadLibrary" 16761 lt_cv_dlopen_libs= 16762 ;; 16763 16764 cygwin*) 16765 lt_cv_dlopen="dlopen" 16766 lt_cv_dlopen_libs= 16767 ;; 16768 16769 darwin*) 16770 # if libdl is installed we need to link against it 16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 16772 $as_echo_n "checking for dlopen in -ldl... " >&6; } 16773 if ${ac_cv_lib_dl_dlopen+:} false; then : 16774 $as_echo_n "(cached) " >&6 16775 else 16776 ac_check_lib_save_LIBS=$LIBS 16777 LIBS="-ldl $LIBS" 16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16779 /* end confdefs.h. */ 16780 16781 /* Override any GCC internal prototype to avoid an error. 16782 Use char because int might match the return type of a GCC 16783 builtin and then its argument prototype would still apply. */ 16784 #ifdef __cplusplus 16785 extern "C" 16786 #endif 16787 char dlopen (); 16788 int 16789 main () 16790 { 16791 return dlopen (); 16792 ; 16793 return 0; 16794 } 16795 _ACEOF 16796 if ac_fn_c_try_link "$LINENO"; then : 16797 ac_cv_lib_dl_dlopen=yes 16798 else 16799 ac_cv_lib_dl_dlopen=no 16800 fi 16801 rm -f core conftest.err conftest.$ac_objext \ 16802 conftest$ac_exeext conftest.$ac_ext 16803 LIBS=$ac_check_lib_save_LIBS 16804 fi 16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 16806 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 16807 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 16808 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 16809 else 16810 16811 lt_cv_dlopen="dyld" 16812 lt_cv_dlopen_libs= 16813 lt_cv_dlopen_self=yes 16814 16815 fi 16816 16817 ;; 16818 16819 *) 16820 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 16821 if test "x$ac_cv_func_shl_load" = xyes; then : 16822 lt_cv_dlopen="shl_load" 16823 else 16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 16825 $as_echo_n "checking for shl_load in -ldld... " >&6; } 16826 if ${ac_cv_lib_dld_shl_load+:} false; then : 16827 $as_echo_n "(cached) " >&6 16828 else 16829 ac_check_lib_save_LIBS=$LIBS 16830 LIBS="-ldld $LIBS" 16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16832 /* end confdefs.h. */ 16833 16834 /* Override any GCC internal prototype to avoid an error. 16835 Use char because int might match the return type of a GCC 16836 builtin and then its argument prototype would still apply. */ 16837 #ifdef __cplusplus 16838 extern "C" 16839 #endif 16840 char shl_load (); 16841 int 16842 main () 16843 { 16844 return shl_load (); 16845 ; 16846 return 0; 16847 } 16848 _ACEOF 16849 if ac_fn_c_try_link "$LINENO"; then : 16850 ac_cv_lib_dld_shl_load=yes 16851 else 16852 ac_cv_lib_dld_shl_load=no 16853 fi 16854 rm -f core conftest.err conftest.$ac_objext \ 16855 conftest$ac_exeext conftest.$ac_ext 16856 LIBS=$ac_check_lib_save_LIBS 16857 fi 16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 16859 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 16860 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 16861 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 16862 else 16863 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 16864 if test "x$ac_cv_func_dlopen" = xyes; then : 16865 lt_cv_dlopen="dlopen" 16866 else 16867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 16868 $as_echo_n "checking for dlopen in -ldl... " >&6; } 16869 if ${ac_cv_lib_dl_dlopen+:} false; then : 16870 $as_echo_n "(cached) " >&6 16871 else 16872 ac_check_lib_save_LIBS=$LIBS 16873 LIBS="-ldl $LIBS" 16874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16875 /* end confdefs.h. */ 16876 16877 /* Override any GCC internal prototype to avoid an error. 16878 Use char because int might match the return type of a GCC 16879 builtin and then its argument prototype would still apply. */ 16880 #ifdef __cplusplus 16881 extern "C" 16882 #endif 16883 char dlopen (); 16884 int 16885 main () 16886 { 16887 return dlopen (); 16888 ; 16889 return 0; 16890 } 16891 _ACEOF 16892 if ac_fn_c_try_link "$LINENO"; then : 16893 ac_cv_lib_dl_dlopen=yes 16894 else 16895 ac_cv_lib_dl_dlopen=no 16896 fi 16897 rm -f core conftest.err conftest.$ac_objext \ 16898 conftest$ac_exeext conftest.$ac_ext 16899 LIBS=$ac_check_lib_save_LIBS 16900 fi 16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 16902 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 16903 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 16904 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 16905 else 16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 16907 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 16908 if ${ac_cv_lib_svld_dlopen+:} false; then : 16909 $as_echo_n "(cached) " >&6 16910 else 16911 ac_check_lib_save_LIBS=$LIBS 16912 LIBS="-lsvld $LIBS" 16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16914 /* end confdefs.h. */ 16915 16916 /* Override any GCC internal prototype to avoid an error. 16917 Use char because int might match the return type of a GCC 16918 builtin and then its argument prototype would still apply. */ 16919 #ifdef __cplusplus 16920 extern "C" 16921 #endif 16922 char dlopen (); 16923 int 16924 main () 16925 { 16926 return dlopen (); 16927 ; 16928 return 0; 16929 } 16930 _ACEOF 16931 if ac_fn_c_try_link "$LINENO"; then : 16932 ac_cv_lib_svld_dlopen=yes 16933 else 16934 ac_cv_lib_svld_dlopen=no 16935 fi 16936 rm -f core conftest.err conftest.$ac_objext \ 16937 conftest$ac_exeext conftest.$ac_ext 16938 LIBS=$ac_check_lib_save_LIBS 16939 fi 16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 16941 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 16942 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 16943 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 16944 else 16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 16946 $as_echo_n "checking for dld_link in -ldld... " >&6; } 16947 if ${ac_cv_lib_dld_dld_link+:} false; then : 16948 $as_echo_n "(cached) " >&6 16949 else 16950 ac_check_lib_save_LIBS=$LIBS 16951 LIBS="-ldld $LIBS" 16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16953 /* end confdefs.h. */ 16954 16955 /* Override any GCC internal prototype to avoid an error. 16956 Use char because int might match the return type of a GCC 16957 builtin and then its argument prototype would still apply. */ 16958 #ifdef __cplusplus 16959 extern "C" 16960 #endif 16961 char dld_link (); 16962 int 16963 main () 16964 { 16965 return dld_link (); 16966 ; 16967 return 0; 16968 } 16969 _ACEOF 16970 if ac_fn_c_try_link "$LINENO"; then : 16971 ac_cv_lib_dld_dld_link=yes 16972 else 16973 ac_cv_lib_dld_dld_link=no 16974 fi 16975 rm -f core conftest.err conftest.$ac_objext \ 16976 conftest$ac_exeext conftest.$ac_ext 16977 LIBS=$ac_check_lib_save_LIBS 16978 fi 16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 16980 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 16981 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 16982 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 16983 fi 16984 16985 16986 fi 16987 16988 16989 fi 16990 16991 16992 fi 16993 16994 16995 fi 16996 16997 16998 fi 16999 17000 ;; 17001 esac 17002 17003 if test "x$lt_cv_dlopen" != xno; then 17004 enable_dlopen=yes 17005 else 17006 enable_dlopen=no 17007 fi 17008 17009 case $lt_cv_dlopen in 17010 dlopen) 17011 save_CPPFLAGS="$CPPFLAGS" 17012 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 17013 17014 save_LDFLAGS="$LDFLAGS" 17015 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 17016 17017 save_LIBS="$LIBS" 17018 LIBS="$lt_cv_dlopen_libs $LIBS" 17019 17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 17021 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 17022 if ${lt_cv_dlopen_self+:} false; then : 17023 $as_echo_n "(cached) " >&6 17024 else 17025 if test "$cross_compiling" = yes; then : 17026 lt_cv_dlopen_self=cross 17027 else 17028 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 17029 lt_status=$lt_dlunknown 17030 cat > conftest.$ac_ext <<_LT_EOF 17031 #line $LINENO "configure" 17032 #include "confdefs.h" 17033 17034 #if HAVE_DLFCN_H 17035 #include <dlfcn.h> 17036 #endif 17037 17038 #include <stdio.h> 17039 17040 #ifdef RTLD_GLOBAL 17041 # define LT_DLGLOBAL RTLD_GLOBAL 17042 #else 17043 # ifdef DL_GLOBAL 17044 # define LT_DLGLOBAL DL_GLOBAL 17045 # else 17046 # define LT_DLGLOBAL 0 17047 # endif 17048 #endif 17049 17050 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 17051 find out it does not work in some platform. */ 17052 #ifndef LT_DLLAZY_OR_NOW 17053 # ifdef RTLD_LAZY 17054 # define LT_DLLAZY_OR_NOW RTLD_LAZY 17055 # else 17056 # ifdef DL_LAZY 17057 # define LT_DLLAZY_OR_NOW DL_LAZY 17058 # else 17059 # ifdef RTLD_NOW 17060 # define LT_DLLAZY_OR_NOW RTLD_NOW 17061 # else 17062 # ifdef DL_NOW 17063 # define LT_DLLAZY_OR_NOW DL_NOW 17064 # else 17065 # define LT_DLLAZY_OR_NOW 0 17066 # endif 17067 # endif 17068 # endif 17069 # endif 17070 #endif 17071 17072 /* When -fvisbility=hidden is used, assume the code has been annotated 17073 correspondingly for the symbols needed. */ 17074 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 17075 int fnord () __attribute__((visibility("default"))); 17076 #endif 17077 17078 int fnord () { return 42; } 17079 int main () 17080 { 17081 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 17082 int status = $lt_dlunknown; 17083 17084 if (self) 17085 { 17086 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 17087 else 17088 { 17089 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 17090 else puts (dlerror ()); 17091 } 17092 /* dlclose (self); */ 17093 } 17094 else 17095 puts (dlerror ()); 17096 17097 return status; 17098 } 17099 _LT_EOF 17100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 17101 (eval $ac_link) 2>&5 17102 ac_status=$? 17103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17104 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 17105 (./conftest; exit; ) >&5 2>/dev/null 17106 lt_status=$? 17107 case x$lt_status in 17108 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 17109 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 17110 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 17111 esac 17112 else : 17113 # compilation failed 17114 lt_cv_dlopen_self=no 17115 fi 17116 fi 17117 rm -fr conftest* 17118 17119 17120 fi 17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 17122 $as_echo "$lt_cv_dlopen_self" >&6; } 17123 17124 if test "x$lt_cv_dlopen_self" = xyes; then 17125 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 17127 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 17128 if ${lt_cv_dlopen_self_static+:} false; then : 17129 $as_echo_n "(cached) " >&6 17130 else 17131 if test "$cross_compiling" = yes; then : 17132 lt_cv_dlopen_self_static=cross 17133 else 17134 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 17135 lt_status=$lt_dlunknown 17136 cat > conftest.$ac_ext <<_LT_EOF 17137 #line $LINENO "configure" 17138 #include "confdefs.h" 17139 17140 #if HAVE_DLFCN_H 17141 #include <dlfcn.h> 17142 #endif 17143 17144 #include <stdio.h> 17145 17146 #ifdef RTLD_GLOBAL 17147 # define LT_DLGLOBAL RTLD_GLOBAL 17148 #else 17149 # ifdef DL_GLOBAL 17150 # define LT_DLGLOBAL DL_GLOBAL 17151 # else 17152 # define LT_DLGLOBAL 0 17153 # endif 17154 #endif 17155 17156 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 17157 find out it does not work in some platform. */ 17158 #ifndef LT_DLLAZY_OR_NOW 17159 # ifdef RTLD_LAZY 17160 # define LT_DLLAZY_OR_NOW RTLD_LAZY 17161 # else 17162 # ifdef DL_LAZY 17163 # define LT_DLLAZY_OR_NOW DL_LAZY 17164 # else 17165 # ifdef RTLD_NOW 17166 # define LT_DLLAZY_OR_NOW RTLD_NOW 17167 # else 17168 # ifdef DL_NOW 17169 # define LT_DLLAZY_OR_NOW DL_NOW 17170 # else 17171 # define LT_DLLAZY_OR_NOW 0 17172 # endif 17173 # endif 17174 # endif 17175 # endif 17176 #endif 17177 17178 /* When -fvisbility=hidden is used, assume the code has been annotated 17179 correspondingly for the symbols needed. */ 17180 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 17181 int fnord () __attribute__((visibility("default"))); 17182 #endif 17183 17184 int fnord () { return 42; } 17185 int main () 17186 { 17187 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 17188 int status = $lt_dlunknown; 17189 17190 if (self) 17191 { 17192 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 17193 else 17194 { 17195 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 17196 else puts (dlerror ()); 17197 } 17198 /* dlclose (self); */ 17199 } 17200 else 17201 puts (dlerror ()); 17202 17203 return status; 17204 } 17205 _LT_EOF 17206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 17207 (eval $ac_link) 2>&5 17208 ac_status=$? 17209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17210 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 17211 (./conftest; exit; ) >&5 2>/dev/null 17212 lt_status=$? 17213 case x$lt_status in 17214 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 17215 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 17216 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 17217 esac 17218 else : 17219 # compilation failed 17220 lt_cv_dlopen_self_static=no 17221 fi 17222 fi 17223 rm -fr conftest* 17224 17225 17226 fi 17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 17228 $as_echo "$lt_cv_dlopen_self_static" >&6; } 17229 fi 17230 17231 CPPFLAGS="$save_CPPFLAGS" 17232 LDFLAGS="$save_LDFLAGS" 17233 LIBS="$save_LIBS" 17234 ;; 17235 esac 17236 17237 case $lt_cv_dlopen_self in 17238 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 17239 *) enable_dlopen_self=unknown ;; 17240 esac 17241 17242 case $lt_cv_dlopen_self_static in 17243 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 17244 *) enable_dlopen_self_static=unknown ;; 17245 esac 17246 fi 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 striplib= 17265 old_striplib= 17266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 17267 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 17268 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 17269 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 17270 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17272 $as_echo "yes" >&6; } 17273 else 17274 # FIXME - insert some real tests, host_os isn't really good enough 17275 case $host_os in 17276 darwin*) 17277 if test -n "$STRIP" ; then 17278 striplib="$STRIP -x" 17279 old_striplib="$STRIP -S" 17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17281 $as_echo "yes" >&6; } 17282 else 17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17284 $as_echo "no" >&6; } 17285 fi 17286 ;; 17287 *) 17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17289 $as_echo "no" >&6; } 17290 ;; 17291 esac 17292 fi 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 # Report which library types will actually be built 17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 17307 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 17309 $as_echo "$can_build_shared" >&6; } 17310 17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 17312 $as_echo_n "checking whether to build shared libraries... " >&6; } 17313 test "$can_build_shared" = "no" && enable_shared=no 17314 17315 # On AIX, shared libraries and static libraries use the same namespace, and 17316 # are all built from PIC. 17317 case $host_os in 17318 aix3*) 17319 test "$enable_shared" = yes && enable_static=no 17320 if test -n "$RANLIB"; then 17321 archive_cmds="$archive_cmds~\$RANLIB \$lib" 17322 postinstall_cmds='$RANLIB $lib' 17323 fi 17324 ;; 17325 17326 aix[4-9]*) 17327 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 17328 test "$enable_shared" = yes && enable_static=no 17329 fi 17330 ;; 17331 esac 17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 17333 $as_echo "$enable_shared" >&6; } 17334 17335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 17336 $as_echo_n "checking whether to build static libraries... " >&6; } 17337 # Make sure either enable_shared or enable_static is yes. 17338 test "$enable_shared" = yes || enable_static=yes 17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 17340 $as_echo "$enable_static" >&6; } 17341 17342 17343 17344 17345 fi 17346 ac_ext=c 17347 ac_cpp='$CPP $CPPFLAGS' 17348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17350 ac_compiler_gnu=$ac_cv_c_compiler_gnu 17351 17352 CC="$lt_save_CC" 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 ac_config_commands="$ac_config_commands libtool" 17369 17370 17371 17372 17373 # Only expand once: 17374 17375 17376 17377 17378 17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which vserver-rootdir is to use" >&5 17380 $as_echo_n "checking which vserver-rootdir is to use... " >&6; } 17381 17382 # Check whether --with-vrootdir was given. 17383 if test "${with_vrootdir+set}" = set; then : 17384 withval=$with_vrootdir; case "$withval" in 17385 yes|no) as_fn_error $? "'$withval' is not a valid value for vrootdir" "$LINENO" 5;; 17386 *) ensc_uv_path_vrootdir=$withval;; 17387 esac 17388 else 17389 ensc_uv_path_vrootdir=/vservers 17390 fi 17391 17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_uv_path_vrootdir" >&5 17393 $as_echo "$ensc_uv_path_vrootdir" >&6; } 17394 17395 if test x"vserverdir" != x; then 17396 vserverdir=$ensc_uv_path_vrootdir 17397 17398 fi 17399 17400 17401 for ac_prog in git2cl 17402 do 17403 # Extract the first word of "$ac_prog", so it can be a program name with args. 17404 set dummy $ac_prog; ac_word=$2 17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17406 $as_echo_n "checking for $ac_word... " >&6; } 17407 if ${ac_cv_prog_GIT2CL+:} false; then : 17408 $as_echo_n "(cached) " >&6 17409 else 17410 if test -n "$GIT2CL"; then 17411 ac_cv_prog_GIT2CL="$GIT2CL" # Let the user override the test. 17412 else 17413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17414 for as_dir in $PATH 17415 do 17416 IFS=$as_save_IFS 17417 test -z "$as_dir" && as_dir=. 17418 for ac_exec_ext in '' $ac_executable_extensions; do 17419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17420 ac_cv_prog_GIT2CL="$ac_prog" 17421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17422 break 2 17423 fi 17424 done 17425 done 17426 IFS=$as_save_IFS 17427 17428 fi 17429 fi 17430 GIT2CL=$ac_cv_prog_GIT2CL 17431 if test -n "$GIT2CL"; then 17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT2CL" >&5 17433 $as_echo "$GIT2CL" >&6; } 17434 else 17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17436 $as_echo "no" >&6; } 17437 fi 17438 17439 17440 test -n "$GIT2CL" && break 17441 done 17442 17443 if test x"$GIT2CL" != x; then 17444 HAVE_GIT2CL_TRUE= 17445 HAVE_GIT2CL_FALSE='#' 17446 else 17447 HAVE_GIT2CL_TRUE='#' 17448 HAVE_GIT2CL_FALSE= 17449 fi 17450 17451 17452 17453 17454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use internal kernel headers" >&5 17455 $as_echo_n "checking whether to use internal kernel headers... " >&6; } 17456 # Check whether --enable-internal-headers was given. 17457 if test "${enable_internal_headers+set}" = set; then : 17458 enableval=$enable_internal_headers; case "$enableval" in 17459 (yes|no) ;; 17460 (*) as_fn_error $? "'$i' is not a supported value for '--disable-internal-headers'" "$LINENO" 5;; 17461 esac 17462 else 17463 enable_internal_headers=yes 17464 fi 17465 17466 17467 if test x"$enable_internal_headers" = xyes; then 17468 ENSC_ENABLE_INTERNAL_HEADERS_TRUE= 17469 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#' 17470 else 17471 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#' 17472 ENSC_ENABLE_INTERNAL_HEADERS_FALSE= 17473 fi 17474 17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_internal_headers" >&5 17476 $as_echo "$enable_internal_headers" >&6; } 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported APIs" >&5 17493 $as_echo_n "checking for supported APIs... " >&6; } 17494 # Check whether --enable-apis was given. 17495 if test "${enable_apis+set}" = set; then : 17496 enableval=$enable_apis; 17497 else 17498 enable_apis=v13,net,v21,v22,v23,netv2 17499 fi 17500 17501 17502 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2' 17503 test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21,v22,v23,netv2' 17504 enable_api_oldproc= 17505 enable_api_olduts= 17506 17507 echo $enable_apis | sed 's/,/\n/g' | while read i; do 17508 case "$i" in 17509 (compat) $as_echo "#define VC_ENABLE_API_COMPAT 1" >>confdefs.h 17510 17511 enable_api_oldproc=${enable_api_oldproc:-1} 17512 enable_api_olduts=${enable_api_olduts:-1} 17513 ;; 17514 (legacy) $as_echo "#define VC_ENABLE_API_LEGACY 1" >>confdefs.h 17515 17516 enable_api_oldproc=${enable_api_oldproc:-1} 17517 enable_api_olduts=${enable_api_olduts:-1} 17518 ;; 17519 (v11) $as_echo "#define VC_ENABLE_API_V11 1" >>confdefs.h 17520 17521 enable_api_oldproc=${enable_api_oldproc:-1} 17522 enable_api_olduts=${enable_api_olduts:-1} 17523 ;; 17524 (fscompat) $as_echo "#define VC_ENABLE_API_FSCOMPAT 1" >>confdefs.h 17525 ;; 17526 (v13obs) $as_echo "#define VC_ENABLE_API_V13OBS 1" >>confdefs.h 17527 17528 $as_echo "#define VC_ENABLE_API_V13 1" >>confdefs.h 17529 ;; 17530 (v13) $as_echo "#define VC_ENABLE_API_V13 1" >>confdefs.h 17531 ;; 17532 (net) $as_echo "#define VC_ENABLE_API_NET 1" >>confdefs.h 17533 ;; 17534 (v21) $as_echo "#define VC_ENABLE_API_V21 1" >>confdefs.h 17535 ;; 17536 (v22) $as_echo "#define VC_ENABLE_API_V22 1" >>confdefs.h 17537 ;; 17538 (v23) $as_echo "#define VC_ENABLE_API_V23 1" >>confdefs.h 17539 ;; 17540 (netv2) $as_echo "#define VC_ENABLE_API_NETV2 1" >>confdefs.h 17541 ;; 17542 (oldproc) enable_api_oldproc=2;; 17543 (olduts) enable_api_olduts=2;; 17544 (*) as_fn_error $? "'$i' is not a supported API" "$LINENO" 5;; 17545 esac 17546 done 17547 if test x"$enable_api_oldproc" != x; then 17548 $as_echo "#define VC_ENABLE_API_OLDPROC 1" >>confdefs.h 17549 17550 test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc" 17551 fi 17552 if test x"$enable_api_olduts" != x; then 17553 $as_echo "#define VC_ENABLE_API_OLDUTS 1" >>confdefs.h 17554 17555 test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts" 17556 fi 17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_apis" >&5 17558 $as_echo "$enable_apis" >&6; } 17559 17560 17561 17562 ac_ext=c 17563 ac_cpp='$CPP $CPPFLAGS' 17564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17566 ac_compiler_gnu=$ac_cv_c_compiler_gnu 17567 17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs-headers" >&5 17569 $as_echo_n "checking for ext2fs-headers... " >&6; } 17570 if ${ensc_cv_test_ext2fs_header+:} false; then : 17571 $as_echo_n "(cached) " >&6 17572 else 17573 17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17575 /* end confdefs.h. */ 17576 #include <ext2fs/ext2_fs.h> 17577 int main() { return 0; } 17578 _ACEOF 17579 if ac_fn_c_try_compile "$LINENO"; then : 17580 ensc_cv_test_ext2fs_header=e2fsprogs 17581 else 17582 17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17584 /* end confdefs.h. */ 17585 #include <linux/ext2_fs.h> 17586 int main() { return 0; } 17587 _ACEOF 17588 if ac_fn_c_try_compile "$LINENO"; then : 17589 ensc_cv_test_ext2fs_header=kernel 17590 else 17591 17592 ensc_cv_test_ext2fs_header=none 17593 fi 17594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17595 fi 17596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17597 fi 17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_cv_test_ext2fs_header" >&5 17599 $as_echo "$ensc_cv_test_ext2fs_header" >&6; } 17600 17601 case x"$ensc_cv_test_ext2fs_header" in 17602 (xe2fsprogs) 17603 ac_fn_c_check_header_mongrel "$LINENO" "ext2fs/ext2_fs.h" "ac_cv_header_ext2fs_ext2_fs_h" "$ac_includes_default" 17604 if test "x$ac_cv_header_ext2fs_ext2_fs_h" = xyes; then : 17605 17606 $as_echo "#define ENSC_HAVE_EXT2FS_EXT2_FS_H 1" >>confdefs.h 17607 17608 else 17609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17611 as_fn_error $? "unexpected error while checkin for <ext2fs/ext2_fs.h> 17612 See \`config.log' for more details" "$LINENO" 5; } 17613 fi 17614 17615 17616 ;; 17617 (xkernel) 17618 ac_fn_c_check_header_mongrel "$LINENO" "linux/ext2_fs.h" "ac_cv_header_linux_ext2_fs_h" "$ac_includes_default" 17619 if test "x$ac_cv_header_linux_ext2_fs_h" = xyes; then : 17620 17621 $as_echo "#define ENSC_HAVE_LINUX_EXT2_FS_H 1" >>confdefs.h 17622 17623 else 17624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17626 as_fn_error $? "unexpected error while checkin for <linux/ext2_fs.h> 17627 See \`config.log' for more details" "$LINENO" 5; } 17628 fi 17629 17630 17631 ;; 17632 (*) 17633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17635 as_fn_error $? " 17636 ext2fs headers were not found, or they are not usable. This can have 17637 the following reasons: 17638 17639 * you have neither the e2fsprogs nor the kernel headers installed 17640 17641 * kernel headers are broken (e.g. these of linux 2.6 are known to be) 17642 and you do not have e2fsprogs headers installed; please try to install 17643 - e2fsprogs-devel (for Red Hat), or 17644 - lib*ext2fs2-devel (for Mandriva), or 17645 - e2fslibs-dev (for Debian) 17646 in this case. 17647 17648 * kernel headers are broken and your e2fsprogs headers are too old; 17649 until version 1.27 (inclusive), they are using reserved C++ keywords 17650 17651 * kernel headers are broken and your e2fsprogs headers are too new; 17652 recent (January 2004) BK snapshots of e2fsprogs are unusable for 17653 C++, for details and a solution see 17654 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448 17655 17656 17657 In the latter two cases you have the following options: 17658 * fix the headers manually, or 17659 * install a stable version of e2fsprogs (e.g. 1.34), or 17660 * use good kernel headers (from linux 2.4.x) 17661 17662 See \`config.log' for more details" "$LINENO" 5; } 17663 ;; 17664 esac 17665 ac_ext=c 17666 ac_cpp='$CPP $CPPFLAGS' 17667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17669 ac_compiler_gnu=$ac_cv_c_compiler_gnu 17670 17671 17672 for ac_func in vserver 17673 do : 17674 ac_fn_c_check_func "$LINENO" "vserver" "ac_cv_func_vserver" 17675 if test "x$ac_cv_func_vserver" = xyes; then : 17676 cat >>confdefs.h <<_ACEOF 17677 #define HAVE_VSERVER 1 17678 _ACEOF 17679 17680 fi 17681 done 17682 17683 ac_fn_c_check_decl "$LINENO" "MS_MOVE" "ac_cv_have_decl_MS_MOVE" "#include <linux/fs.h> 17684 " 17685 if test "x$ac_cv_have_decl_MS_MOVE" = xyes; then : 17686 ac_have_decl=1 17687 else 17688 ac_have_decl=0 17689 fi 17690 17691 cat >>confdefs.h <<_ACEOF 17692 #define HAVE_DECL_MS_MOVE $ac_have_decl 17693 _ACEOF 17694 17695 ac_fn_c_check_type "$LINENO" "xid_t" "ac_cv_type_xid_t" "#include <sys/types.h> 17696 " 17697 if test "x$ac_cv_type_xid_t" = xyes; then : 17698 17699 cat >>confdefs.h <<_ACEOF 17700 #define HAVE_XID_T 1 17701 _ACEOF 17702 17703 17704 fi 17705 17706 ac_fn_c_check_type "$LINENO" "nid_t" "ac_cv_type_nid_t" "#include <sys/types.h> 17707 " 17708 if test "x$ac_cv_type_nid_t" = xyes; then : 17709 17710 cat >>confdefs.h <<_ACEOF 17711 #define HAVE_NID_T 1 17712 _ACEOF 17713 17714 17715 fi 17716 17717 ac_fn_c_check_type "$LINENO" "tag_t" "ac_cv_type_tag_t" "#include <sys/types.h> 17718 " 17719 if test "x$ac_cv_type_tag_t" = xyes; then : 17720 17721 cat >>confdefs.h <<_ACEOF 17722 #define HAVE_TAG_T 1 17723 _ACEOF 17724 17725 17726 fi 17727 17728 17729 for ac_header in sys/capability.h linux/types.h 17730 do : 17731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17732 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 17733 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 17734 cat >>confdefs.h <<_ACEOF 17735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17736 _ACEOF 17737 17738 fi 17739 17740 done 17741 17742 17743 if test x"$ensc_have_dietlibc" = xno; then 17744 ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty" 17745 if test "x$ac_cv_func_openpty" = xyes; then : 17746 17747 else 17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 17749 $as_echo_n "checking for openpty in -lutil... " >&6; } 17750 if ${ac_cv_lib_util_openpty+:} false; then : 17751 $as_echo_n "(cached) " >&6 17752 else 17753 ac_check_lib_save_LIBS=$LIBS 17754 LIBS="-lutil $LIBS" 17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17756 /* end confdefs.h. */ 17757 17758 /* Override any GCC internal prototype to avoid an error. 17759 Use char because int might match the return type of a GCC 17760 builtin and then its argument prototype would still apply. */ 17761 #ifdef __cplusplus 17762 extern "C" 17763 #endif 17764 char openpty (); 17765 int 17766 main () 17767 { 17768 return openpty (); 17769 ; 17770 return 0; 17771 } 17772 _ACEOF 17773 if ac_fn_c_try_link "$LINENO"; then : 17774 ac_cv_lib_util_openpty=yes 17775 else 17776 ac_cv_lib_util_openpty=no 17777 fi 17778 rm -f core conftest.err conftest.$ac_objext \ 17779 conftest$ac_exeext conftest.$ac_ext 17780 LIBS=$ac_check_lib_save_LIBS 17781 fi 17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5 17783 $as_echo "$ac_cv_lib_util_openpty" >&6; } 17784 if test "x$ac_cv_lib_util_openpty" = xyes; then : 17785 cat >>confdefs.h <<_ACEOF 17786 #define HAVE_LIBUTIL 1 17787 _ACEOF 17788 17789 LIBS="-lutil $LIBS" 17790 17791 else 17792 as_fn_error $? " 17793 **** 17794 **** openpty could not be found 17795 ****" "$LINENO" 5 17796 fi 17797 17798 fi 17799 17800 fi 17801 17802 17803 17804 # Check whether --with-crypto-api was given. 17805 if test "${with_crypto_api+set}" = set; then : 17806 withval=$with_crypto_api; case $withval in 17807 (none|nss|beecrypt|auto) ensc_crypto_api=$withval;; 17808 (yes) ensc_crypto_api=auto;; 17809 (no) ensc_crypto_api=none;; 17810 (*) as_fn_error $? "invalid crypto-api value, only none,nss,beecrypt,auto are supported" "$LINENO" 5;; 17811 esac 17812 else 17813 ensc_crypto_api=auto 17814 fi 17815 17816 17817 17818 17819 case $ensc_crypto_api in 17820 (auto|beecrypt) 17821 if test x"$ensc_cv_c99_c99compiler" = xyes; then 17822 ensc_have_beecrypt=yes 17823 17824 if test x"$ensc_have_beecrypt" = xyes; then 17825 ac_fn_c_check_header_mongrel "$LINENO" "beecrypt/beecrypt.h" "ac_cv_header_beecrypt_beecrypt_h" "$ac_includes_default" 17826 if test "x$ac_cv_header_beecrypt_beecrypt_h" = xyes; then : 17827 : 17828 else 17829 ensc_have_beecrypt=no 17830 fi 17831 17832 17833 fi 17834 17835 if test x"$ensc_have_beecrypt" = xyes; then 17836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hashFunctionContextInit in -lbeecrypt" >&5 17837 $as_echo_n "checking for hashFunctionContextInit in -lbeecrypt... " >&6; } 17838 if ${ac_cv_lib_beecrypt_hashFunctionContextInit+:} false; then : 17839 $as_echo_n "(cached) " >&6 17840 else 17841 ac_check_lib_save_LIBS=$LIBS 17842 LIBS="-lbeecrypt $LIBS" 17843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17844 /* end confdefs.h. */ 17845 17846 /* Override any GCC internal prototype to avoid an error. 17847 Use char because int might match the return type of a GCC 17848 builtin and then its argument prototype would still apply. */ 17849 #ifdef __cplusplus 17850 extern "C" 17851 #endif 17852 char hashFunctionContextInit (); 17853 int 17854 main () 17855 { 17856 return hashFunctionContextInit (); 17857 ; 17858 return 0; 17859 } 17860 _ACEOF 17861 if ac_fn_c_try_link "$LINENO"; then : 17862 ac_cv_lib_beecrypt_hashFunctionContextInit=yes 17863 else 17864 ac_cv_lib_beecrypt_hashFunctionContextInit=no 17865 fi 17866 rm -f core conftest.err conftest.$ac_objext \ 17867 conftest$ac_exeext conftest.$ac_ext 17868 LIBS=$ac_check_lib_save_LIBS 17869 fi 17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5 17871 $as_echo "$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6; } 17872 if test "x$ac_cv_lib_beecrypt_hashFunctionContextInit" = xyes; then : 17873 : 17874 else 17875 ensc_have_beecrypt=no 17876 fi 17877 17878 fi 17879 else 17880 ensc_have_beecrypt=no 17881 fi;; 17882 esac 17883 17884 case $ensc_crypto_api in 17885 (auto) if test x"$ensc_have_beecrypt" = xyes; then 17886 { $as_echo "$as_me:${as_lineno-$LINENO}: using beecrypt as crypto api" >&5 17887 $as_echo "$as_me: using beecrypt as crypto api" >&6;} 17888 ensc_crypto_api=beecrypt 17889 fi;; 17890 (beecrypt) if test x"$ensc_have_beecrypt" != xyes; then 17891 as_fn_error $? "beecrypt crypto api not found" "$LINENO" 5 17892 fi;; 17893 esac 17894 17895 if test x"$ensc_have_beecrypt" = xyes; then 17896 ENSC_HAVE_BEECRYPT_TRUE= 17897 ENSC_HAVE_BEECRYPT_FALSE='#' 17898 else 17899 ENSC_HAVE_BEECRYPT_TRUE='#' 17900 ENSC_HAVE_BEECRYPT_FALSE= 17901 fi 17902 17903 if false; then 17904 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE= 17905 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#' 17906 else 17907 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#' 17908 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE= 17909 fi 17910 17911 17912 17913 17914 case $ensc_crypto_api in 17915 (nss) 17916 pkg_failed=no 17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5 17918 $as_echo_n "checking for NSS... " >&6; } 17919 17920 if test -n "$NSS_CFLAGS"; then 17921 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS" 17922 elif test -n "$PKG_CONFIG"; then 17923 if test -n "$PKG_CONFIG" && \ 17924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5 17925 ($PKG_CONFIG --exists --print-errors "nss") 2>&5 17926 ac_status=$? 17927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17928 test $ac_status = 0; }; then 17929 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null` 17930 test "x$?" != "x0" && pkg_failed=yes 17931 else 17932 pkg_failed=yes 17933 fi 17934 else 17935 pkg_failed=untried 17936 fi 17937 if test -n "$NSS_LIBS"; then 17938 pkg_cv_NSS_LIBS="$NSS_LIBS" 17939 elif test -n "$PKG_CONFIG"; then 17940 if test -n "$PKG_CONFIG" && \ 17941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5 17942 ($PKG_CONFIG --exists --print-errors "nss") 2>&5 17943 ac_status=$? 17944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17945 test $ac_status = 0; }; then 17946 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null` 17947 test "x$?" != "x0" && pkg_failed=yes 17948 else 17949 pkg_failed=yes 17950 fi 17951 else 17952 pkg_failed=untried 17953 fi 17954 17955 17956 17957 if test $pkg_failed = yes; then 17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17959 $as_echo "no" >&6; } 17960 17961 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17962 _pkg_short_errors_supported=yes 17963 else 17964 _pkg_short_errors_supported=no 17965 fi 17966 if test $_pkg_short_errors_supported = yes; then 17967 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss" 2>&1` 17968 else 17969 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nss" 2>&1` 17970 fi 17971 # Put the nasty error message in config.log where it belongs 17972 echo "$NSS_PKG_ERRORS" >&5 17973 17974 as_fn_error $? "Package requirements (nss) were not met: 17975 17976 $NSS_PKG_ERRORS 17977 17978 Consider adjusting the PKG_CONFIG_PATH environment variable if you 17979 installed software in a non-standard prefix. 17980 17981 Alternatively, you may set the environment variables NSS_CFLAGS 17982 and NSS_LIBS to avoid the need to call pkg-config. 17983 See the pkg-config man page for more details." "$LINENO" 5 17984 elif test $pkg_failed = untried; then 17985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17986 $as_echo "no" >&6; } 17987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17989 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 17990 is in your PATH or set the PKG_CONFIG environment variable to the full 17991 path to pkg-config. 17992 17993 Alternatively, you may set the environment variables NSS_CFLAGS 17994 and NSS_LIBS to avoid the need to call pkg-config. 17995 See the pkg-config man page for more details. 17996 17997 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17998 See \`config.log' for more details" "$LINENO" 5; } 17999 else 18000 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS 18001 NSS_LIBS=$pkg_cv_NSS_LIBS 18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18003 $as_echo "yes" >&6; } 18004 18005 fi;; 18006 (auto) 18007 pkg_failed=no 18008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5 18009 $as_echo_n "checking for NSS... " >&6; } 18010 18011 if test -n "$NSS_CFLAGS"; then 18012 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS" 18013 elif test -n "$PKG_CONFIG"; then 18014 if test -n "$PKG_CONFIG" && \ 18015 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5 18016 ($PKG_CONFIG --exists --print-errors "nss") 2>&5 18017 ac_status=$? 18018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18019 test $ac_status = 0; }; then 18020 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null` 18021 test "x$?" != "x0" && pkg_failed=yes 18022 else 18023 pkg_failed=yes 18024 fi 18025 else 18026 pkg_failed=untried 18027 fi 18028 if test -n "$NSS_LIBS"; then 18029 pkg_cv_NSS_LIBS="$NSS_LIBS" 18030 elif test -n "$PKG_CONFIG"; then 18031 if test -n "$PKG_CONFIG" && \ 18032 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5 18033 ($PKG_CONFIG --exists --print-errors "nss") 2>&5 18034 ac_status=$? 18035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18036 test $ac_status = 0; }; then 18037 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null` 18038 test "x$?" != "x0" && pkg_failed=yes 18039 else 18040 pkg_failed=yes 18041 fi 18042 else 18043 pkg_failed=untried 18044 fi 18045 18046 18047 18048 if test $pkg_failed = yes; then 18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18050 $as_echo "no" >&6; } 18051 18052 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18053 _pkg_short_errors_supported=yes 18054 else 18055 _pkg_short_errors_supported=no 18056 fi 18057 if test $_pkg_short_errors_supported = yes; then 18058 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss" 2>&1` 18059 else 18060 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nss" 2>&1` 18061 fi 18062 # Put the nasty error message in config.log where it belongs 18063 echo "$NSS_PKG_ERRORS" >&5 18064 18065 as_fn_error $? "Package requirements (nss) were not met: 18066 18067 $NSS_PKG_ERRORS 18068 18069 Consider adjusting the PKG_CONFIG_PATH environment variable if you 18070 installed software in a non-standard prefix. 18071 18072 Alternatively, you may set the environment variables NSS_CFLAGS 18073 and NSS_LIBS to avoid the need to call pkg-config. 18074 See the pkg-config man page for more details." "$LINENO" 5 18075 elif test $pkg_failed = untried; then 18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18077 $as_echo "no" >&6; } 18078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18080 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 18081 is in your PATH or set the PKG_CONFIG environment variable to the full 18082 path to pkg-config. 18083 18084 Alternatively, you may set the environment variables NSS_CFLAGS 18085 and NSS_LIBS to avoid the need to call pkg-config. 18086 See the pkg-config man page for more details. 18087 18088 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 18089 See \`config.log' for more details" "$LINENO" 5; } 18090 else 18091 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS 18092 NSS_LIBS=$pkg_cv_NSS_LIBS 18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18094 $as_echo "yes" >&6; } 18095 18096 { $as_echo "$as_me:${as_lineno-$LINENO}: using NSS as crypto api" >&5 18097 $as_echo "$as_me: using NSS as crypto api" >&6;} 18098 ensc_crypto_api=nss 18099 fi;; 18100 esac 18101 18102 18103 case $ensc_crypto_api in 18104 (beecrypt) 18105 ENSC_HAVE_CRYPTO=true 18106 ENSC_CRYPTO_API=ENSC_CRYPTO_API_BEECRYPT 18107 ENSC_CRYPTO_CFLAGS= 18108 ENSC_CRYPTO_LIB=-lbeecrypt 18109 ENSC_CAN_CRYPTO_WITH_DIETLIBC=false 18110 ;; 18111 18112 (nss) 18113 ENSC_HAVE_CRYPTO=true 18114 ENSC_CRYPTO_API=ENSC_CRYPTO_API_NSS 18115 ENSC_CRYPTO_CFLAGS=$NSS_CFLAGS 18116 ENSC_CRYPTO_LIB=$NSS_LIBS 18117 ENSC_CAN_CRYPTO_WITH_DIETLIBC=false 18118 ;; 18119 18120 (none|auto) 18121 ENSC_HAVE_CRYPTO=false 18122 ENSC_CRYPTO_API=ENSC_CRYPTO_API_NONE 18123 ENSC_CRYPTO_CFLAGS= 18124 ENSC_CRYPTO_LIB= 18125 ENSC_CAN_CRYPTO_WITH_DIETLIBC=false 18126 18127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No crypto api found/select. This will disable the build of 'vhashify'" >&5 18128 $as_echo "$as_me: WARNING: No crypto api found/select. This will disable the build of 'vhashify'" >&2;} 18129 ;; 18130 18131 (*) as_fn_error $? "internal error" "$LINENO" 5 18132 esac 18133 18134 if $ENSC_HAVE_CRYPTO; then 18135 ENSC_HAVE_CRYPTO_TRUE= 18136 ENSC_HAVE_CRYPTO_FALSE='#' 18137 else 18138 ENSC_HAVE_CRYPTO_TRUE='#' 18139 ENSC_HAVE_CRYPTO_FALSE= 18140 fi 18141 18142 if $ENSC_CAN_CRYPTO_WITH_DIETLIBC; then 18143 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE= 18144 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE='#' 18145 else 18146 ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE='#' 18147 ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE= 18148 fi 18149 18150 ENSC_CRYPTO_CFLAGS=$ENSC_CRYPTO_CFLAGS 18151 18152 ENSC_CRYPTO_LIB=$ENSC_CRYPTO_LIB 18153 18154 18155 cat >>confdefs.h <<_ACEOF 18156 #define ENSC_CRYPTO_API $ENSC_CRYPTO_API 18157 _ACEOF 18158 18159 18160 18161 18162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host initscripts" >&5 18163 $as_echo_n "checking for host initscripts... " >&6; } 18164 18165 # Check whether --with-initscripts was given. 18166 if test "${with_initscripts+set}" = set; then : 18167 withval=$with_initscripts; 18168 case "$withval" in 18169 gentoo) ensc_with_init=gentoo;; 18170 sysv) ensc_with_init=sysv;; 18171 *) as_fn_error $? "invalid initscripts value, only gentoo and sysv are supported" "$LINENO" 5;; 18172 esac 18173 18174 else 18175 18176 if test -e /etc/gentoo-release; then 18177 ensc_with_init=gentoo 18178 else 18179 ensc_with_init=sysv 18180 fi 18181 18182 fi 18183 18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ensc_with_init" >&5 18185 $as_echo "$ensc_with_init" >&6; } 18186 if test x"$ensc_with_init" = xgentoo; then 18187 HAVE_GENTOO_INIT_TRUE= 18188 HAVE_GENTOO_INIT_FALSE='#' 18189 else 18190 HAVE_GENTOO_INIT_TRUE='#' 18191 HAVE_GENTOO_INIT_FALSE= 18192 fi 18193 18194 if test x"$ensc_with_init" = xsysv; then 18195 HAVE_SYSV_INIT_TRUE= 18196 HAVE_SYSV_INIT_FALSE='#' 18197 else 18198 HAVE_SYSV_INIT_TRUE='#' 18199 HAVE_SYSV_INIT_FALSE= 18200 fi 18201 18202 18203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable systemd support" >&5 18204 $as_echo_n "checking whether to enable systemd support... " >&6; } 18205 # Check whether --enable-systemd was given. 18206 if test "${enable_systemd+set}" = set; then : 18207 enableval=$enable_systemd; 18208 else 18209 enable_systemd=auto 18210 fi 18211 18212 18213 case $enable_systemd in #( 18214 yes|no) : 18215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_systemd" >&5 18216 $as_echo "$enable_systemd" >&6; } ;; #( 18217 auto) : 18218 18219 if test -n "$PKG_CONFIG" && \ 18220 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 18221 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 18222 ac_status=$? 18223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18224 test $ac_status = 0; }; then 18225 enable_systemd=yes 18226 else 18227 enable_systemd=no 18228 fi 18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_systemd (auto)" >&5 18230 $as_echo "$enable_systemd (auto)" >&6; } 18231 ;; #( 18232 *) : 18233 as_fn_error $? "'$enable_systemd' is not a valid value for '--enable-systemd'" "$LINENO" 5 ;; 18234 esac 18235 18236 if test x"$enable_systemd" != xyes; then 18237 if false; then 18238 HAVE_SYSTEMD_TRUE= 18239 HAVE_SYSTEMD_FALSE='#' 18240 else 18241 HAVE_SYSTEMD_TRUE='#' 18242 HAVE_SYSTEMD_FALSE= 18243 fi 18244 18245 else 18246 18247 pkg_failed=no 18248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 18249 $as_echo_n "checking for SYSTEMD... " >&6; } 18250 18251 if test -n "$SYSTEMD_CFLAGS"; then 18252 pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" 18253 elif test -n "$PKG_CONFIG"; then 18254 if test -n "$PKG_CONFIG" && \ 18255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 18256 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 18257 ac_status=$? 18258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18259 test $ac_status = 0; }; then 18260 pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "systemd" 2>/dev/null` 18261 test "x$?" != "x0" && pkg_failed=yes 18262 else 18263 pkg_failed=yes 18264 fi 18265 else 18266 pkg_failed=untried 18267 fi 18268 if test -n "$SYSTEMD_LIBS"; then 18269 pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" 18270 elif test -n "$PKG_CONFIG"; then 18271 if test -n "$PKG_CONFIG" && \ 18272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 18273 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 18274 ac_status=$? 18275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18276 test $ac_status = 0; }; then 18277 pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "systemd" 2>/dev/null` 18278 test "x$?" != "x0" && pkg_failed=yes 18279 else 18280 pkg_failed=yes 18281 fi 18282 else 18283 pkg_failed=untried 18284 fi 18285 18286 18287 18288 if test $pkg_failed = yes; then 18289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18290 $as_echo "no" >&6; } 18291 18292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18293 _pkg_short_errors_supported=yes 18294 else 18295 _pkg_short_errors_supported=no 18296 fi 18297 if test $_pkg_short_errors_supported = yes; then 18298 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "systemd" 2>&1` 18299 else 18300 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "systemd" 2>&1` 18301 fi 18302 # Put the nasty error message in config.log where it belongs 18303 echo "$SYSTEMD_PKG_ERRORS" >&5 18304 18305 as_fn_error $? "Package requirements (systemd) were not met: 18306 18307 $SYSTEMD_PKG_ERRORS 18308 18309 Consider adjusting the PKG_CONFIG_PATH environment variable if you 18310 installed software in a non-standard prefix. 18311 18312 Alternatively, you may set the environment variables SYSTEMD_CFLAGS 18313 and SYSTEMD_LIBS to avoid the need to call pkg-config. 18314 See the pkg-config man page for more details." "$LINENO" 5 18315 elif test $pkg_failed = untried; then 18316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18317 $as_echo "no" >&6; } 18318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18320 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 18321 is in your PATH or set the PKG_CONFIG environment variable to the full 18322 path to pkg-config. 18323 18324 Alternatively, you may set the environment variables SYSTEMD_CFLAGS 18325 and SYSTEMD_LIBS to avoid the need to call pkg-config. 18326 See the pkg-config man page for more details. 18327 18328 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 18329 See \`config.log' for more details" "$LINENO" 5; } 18330 else 18331 SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS 18332 SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS 18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18334 $as_echo "yes" >&6; } 18335 18336 fi 18337 18338 if test -n "$SYSTEMD_TMPFILESDIR"; then 18339 pkg_cv_SYSTEMD_TMPFILESDIR="$SYSTEMD_TMPFILESDIR" 18340 elif test -n "$PKG_CONFIG"; then 18341 if test -n "$PKG_CONFIG" && \ 18342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 18343 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 18344 ac_status=$? 18345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18346 test $ac_status = 0; }; then 18347 pkg_cv_SYSTEMD_TMPFILESDIR=`$PKG_CONFIG --variable="tmpfilesdir" "systemd" 2>/dev/null` 18348 test "x$?" != "x0" && pkg_failed=yes 18349 else 18350 pkg_failed=yes 18351 fi 18352 else 18353 pkg_failed=untried 18354 fi 18355 SYSTEMD_TMPFILESDIR=$pkg_cv_SYSTEMD_TMPFILESDIR 18356 18357 if test "x$SYSTEMD_TMPFILESDIR" = x""; then : 18358 SYSTEMD_TMPFILESDIR='${prefix}/lib/tmpfiles.d' 18359 fi 18360 18361 if test -n "$SYSTEMD_SYSCTLDIR"; then 18362 pkg_cv_SYSTEMD_SYSCTLDIR="$SYSTEMD_SYSCTLDIR" 18363 elif test -n "$PKG_CONFIG"; then 18364 if test -n "$PKG_CONFIG" && \ 18365 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 18366 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 18367 ac_status=$? 18368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18369 test $ac_status = 0; }; then 18370 pkg_cv_SYSTEMD_SYSCTLDIR=`$PKG_CONFIG --variable="sysctldir" "systemd" 2>/dev/null` 18371 test "x$?" != "x0" && pkg_failed=yes 18372 else 18373 pkg_failed=yes 18374 fi 18375 else 18376 pkg_failed=untried 18377 fi 18378 SYSTEMD_SYSCTLDIR=$pkg_cv_SYSTEMD_SYSCTLDIR 18379 18380 if test "x$SYSTEMD_SYSCTLDIR" = x""; then : 18381 SYSTEMD_SYSCTLDIR='${prefix}/lib/sysctl.d' 18382 fi 18383 18384 if test -n "$SYSTEMD_UNITDIR"; then 18385 pkg_cv_SYSTEMD_UNITDIR="$SYSTEMD_UNITDIR" 18386 elif test -n "$PKG_CONFIG"; then 18387 if test -n "$PKG_CONFIG" && \ 18388 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 18389 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 18390 ac_status=$? 18391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18392 test $ac_status = 0; }; then 18393 pkg_cv_SYSTEMD_UNITDIR=`$PKG_CONFIG --variable="systemdsystemunitdir" "systemd" 2>/dev/null` 18394 test "x$?" != "x0" && pkg_failed=yes 18395 else 18396 pkg_failed=yes 18397 fi 18398 else 18399 pkg_failed=untried 18400 fi 18401 SYSTEMD_UNITDIR=$pkg_cv_SYSTEMD_UNITDIR 18402 18403 if test "x$SYSTEMD_UNITDIR" = x""; then : 18404 18405 fi 18406 18407 if test -n "$SYSTEMD_GENERATORDIR"; then 18408 pkg_cv_SYSTEMD_GENERATORDIR="$SYSTEMD_GENERATORDIR" 18409 elif test -n "$PKG_CONFIG"; then 18410 if test -n "$PKG_CONFIG" && \ 18411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 18412 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 18413 ac_status=$? 18414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18415 test $ac_status = 0; }; then 18416 pkg_cv_SYSTEMD_GENERATORDIR=`$PKG_CONFIG --variable="systemdsystemgeneratordir" "systemd" 2>/dev/null` 18417 test "x$?" != "x0" && pkg_failed=yes 18418 else 18419 pkg_failed=yes 18420 fi 18421 else 18422 pkg_failed=untried 18423 fi 18424 SYSTEMD_GENERATORDIR=$pkg_cv_SYSTEMD_GENERATORDIR 18425 18426 if test "x$SYSTEMD_GENERATORDIR" = x""; then : 18427 18428 fi 18429 if true; then 18430 HAVE_SYSTEMD_TRUE= 18431 HAVE_SYSTEMD_FALSE='#' 18432 else 18433 HAVE_SYSTEMD_TRUE='#' 18434 HAVE_SYSTEMD_FALSE= 18435 fi 18436 18437 fi 18438 18439 18440 ensc_have_python=yes 18441 18442 18443 18444 18445 18446 18447 if test -n "$PYTHON"; then 18448 # If the user set $PYTHON, use it and don't search something else. 18449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.4" >&5 18450 $as_echo_n "checking whether $PYTHON version is >= 2.4... " >&6; } 18451 prog="import sys 18452 # split strings by '.' and convert to numeric. Append some zeros 18453 # because we need at least 4 digits for the hex conversion. 18454 # map returns an iterator in Python 3.0 and a list in 2.x 18455 minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0] 18456 minverhex = 0 18457 # xrange is not present in Python 3.0 and range returns an iterator 18458 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 18459 sys.exit(sys.hexversion < minverhex)" 18460 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 18461 ($PYTHON -c "$prog") >&5 2>&5 18462 ac_status=$? 18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18464 (exit $ac_status); }; then : 18465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18466 $as_echo "yes" >&6; } 18467 else 18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18469 $as_echo "no" >&6; } 18470 as_fn_error $? "Python interpreter is too old" "$LINENO" 5 18471 fi 18472 am_display_PYTHON=$PYTHON 18473 else 18474 # Otherwise, try each interpreter until we find one that satisfies 18475 # VERSION. 18476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.4" >&5 18477 $as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; } 18478 if ${am_cv_pathless_PYTHON+:} false; then : 18479 $as_echo_n "(cached) " >&6 18480 else 18481 18482 for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do 18483 test "$am_cv_pathless_PYTHON" = none && break 18484 prog="import sys 18485 # split strings by '.' and convert to numeric. Append some zeros 18486 # because we need at least 4 digits for the hex conversion. 18487 # map returns an iterator in Python 3.0 and a list in 2.x 18488 minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0] 18489 minverhex = 0 18490 # xrange is not present in Python 3.0 and range returns an iterator 18491 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 18492 sys.exit(sys.hexversion < minverhex)" 18493 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 18494 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 18495 ac_status=$? 18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18497 (exit $ac_status); }; then : 18498 break 18499 fi 18500 done 18501 fi 18502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 18503 $as_echo "$am_cv_pathless_PYTHON" >&6; } 18504 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. 18505 if test "$am_cv_pathless_PYTHON" = none; then 18506 PYTHON=: 18507 else 18508 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. 18509 set dummy $am_cv_pathless_PYTHON; ac_word=$2 18510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18511 $as_echo_n "checking for $ac_word... " >&6; } 18512 if ${ac_cv_path_PYTHON+:} false; then : 18513 $as_echo_n "(cached) " >&6 18514 else 18515 case $PYTHON in 18516 [\\/]* | ?:[\\/]*) 18517 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 18518 ;; 18519 *) 18520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18521 for as_dir in $PATH 18522 do 18523 IFS=$as_save_IFS 18524 test -z "$as_dir" && as_dir=. 18525 for ac_exec_ext in '' $ac_executable_extensions; do 18526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18527 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 18528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18529 break 2 18530 fi 18531 done 18532 done 18533 IFS=$as_save_IFS 18534 18535 ;; 18536 esac 18537 fi 18538 PYTHON=$ac_cv_path_PYTHON 18539 if test -n "$PYTHON"; then 18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 18541 $as_echo "$PYTHON" >&6; } 18542 else 18543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18544 $as_echo "no" >&6; } 18545 fi 18546 18547 18548 fi 18549 am_display_PYTHON=$am_cv_pathless_PYTHON 18550 fi 18551 18552 18553 if test "$PYTHON" = :; then 18554 : 18555 else 18556 18557 18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 18559 $as_echo_n "checking for $am_display_PYTHON version... " >&6; } 18560 if ${am_cv_python_version+:} false; then : 18561 $as_echo_n "(cached) " >&6 18562 else 18563 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` 18564 fi 18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 18566 $as_echo "$am_cv_python_version" >&6; } 18567 PYTHON_VERSION=$am_cv_python_version 18568 18569 18570 18571 PYTHON_PREFIX='${prefix}' 18572 18573 PYTHON_EXEC_PREFIX='${exec_prefix}' 18574 18575 18576 18577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 18578 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; } 18579 if ${am_cv_python_platform+:} false; then : 18580 $as_echo_n "(cached) " >&6 18581 else 18582 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` 18583 fi 18584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 18585 $as_echo "$am_cv_python_platform" >&6; } 18586 PYTHON_PLATFORM=$am_cv_python_platform 18587 18588 18589 # Just factor out some code duplication. 18590 am_python_setup_sysconfig="\ 18591 import sys 18592 # Prefer sysconfig over distutils.sysconfig, for better compatibility 18593 # with python 3.x. See automake bug#10227. 18594 try: 18595 import sysconfig 18596 except ImportError: 18597 can_use_sysconfig = 0 18598 else: 18599 can_use_sysconfig = 1 18600 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: 18601 # <https://github.com/pypa/virtualenv/issues/118> 18602 try: 18603 from platform import python_implementation 18604 if python_implementation() == 'CPython' and sys.version[:3] == '2.7': 18605 can_use_sysconfig = 0 18606 except ImportError: 18607 pass" 18608 18609 18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 18611 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } 18612 if ${am_cv_python_pythondir+:} false; then : 18613 $as_echo_n "(cached) " >&6 18614 else 18615 if test "x$prefix" = xNONE 18616 then 18617 am_py_prefix=$ac_default_prefix 18618 else 18619 am_py_prefix=$prefix 18620 fi 18621 am_cv_python_pythondir=`$PYTHON -c " 18622 $am_python_setup_sysconfig 18623 if can_use_sysconfig: 18624 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) 18625 else: 18626 from distutils import sysconfig 18627 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') 18628 sys.stdout.write(sitedir)"` 18629 case $am_cv_python_pythondir in 18630 $am_py_prefix*) 18631 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` 18632 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` 18633 ;; 18634 *) 18635 case $am_py_prefix in 18636 /usr|/System*) ;; 18637 *) 18638 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages 18639 ;; 18640 esac 18641 ;; 18642 esac 18643 18644 fi 18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 18646 $as_echo "$am_cv_python_pythondir" >&6; } 18647 pythondir=$am_cv_python_pythondir 18648 18649 18650 18651 pkgpythondir=\${pythondir}/$PACKAGE 18652 18653 18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 18655 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } 18656 if ${am_cv_python_pyexecdir+:} false; then : 18657 $as_echo_n "(cached) " >&6 18658 else 18659 if test "x$exec_prefix" = xNONE 18660 then 18661 am_py_exec_prefix=$am_py_prefix 18662 else 18663 am_py_exec_prefix=$exec_prefix 18664 fi 18665 am_cv_python_pyexecdir=`$PYTHON -c " 18666 $am_python_setup_sysconfig 18667 if can_use_sysconfig: 18668 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) 18669 else: 18670 from distutils import sysconfig 18671 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') 18672 sys.stdout.write(sitedir)"` 18673 case $am_cv_python_pyexecdir in 18674 $am_py_exec_prefix*) 18675 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` 18676 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` 18677 ;; 18678 *) 18679 case $am_py_exec_prefix in 18680 /usr|/System*) ;; 18681 *) 18682 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages 18683 ;; 18684 esac 18685 ;; 18686 esac 18687 18688 fi 18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 18690 $as_echo "$am_cv_python_pyexecdir" >&6; } 18691 pyexecdir=$am_cv_python_pyexecdir 18692 18693 18694 18695 pkgpyexecdir=\${pyexecdir}/$PACKAGE 18696 18697 18698 18699 fi 18700 18701 18702 if test "x$PYTHON" = x:; then 18703 ensc_have_python=no 18704 fi 18705 if test x$ensc_have_python = xyes; then 18706 PYTHON_CFLAGS=-I`$PYTHON -c 'from distutils.sysconfig import get_python_inc; print(get_python_inc(1))'` 18707 PYTHON_LDFLAGS=-L`$PYTHON -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib(1))'` 18708 18709 18710 else 18711 ensc_have_python=no 18712 fi 18713 # Extract the first word of "ctags", so it can be a program name with args. 18714 set dummy ctags; ac_word=$2 18715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18716 $as_echo_n "checking for $ac_word... " >&6; } 18717 if ${ac_cv_path_CTAGS+:} false; then : 18718 $as_echo_n "(cached) " >&6 18719 else 18720 case $CTAGS in 18721 [\\/]* | ?:[\\/]*) 18722 ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a path. 18723 ;; 18724 *) 18725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18726 for as_dir in $PATH 18727 do 18728 IFS=$as_save_IFS 18729 test -z "$as_dir" && as_dir=. 18730 for ac_exec_ext in '' $ac_executable_extensions; do 18731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18732 ac_cv_path_CTAGS="$as_dir/$ac_word$ac_exec_ext" 18733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18734 break 2 18735 fi 18736 done 18737 done 18738 IFS=$as_save_IFS 18739 18740 test -z "$ac_cv_path_CTAGS" && ac_cv_path_CTAGS="no" 18741 ;; 18742 esac 18743 fi 18744 CTAGS=$ac_cv_path_CTAGS 18745 if test -n "$CTAGS"; then 18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTAGS" >&5 18747 $as_echo "$CTAGS" >&6; } 18748 else 18749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18750 $as_echo "no" >&6; } 18751 fi 18752 18753 18754 if test "x$CTAGS" = xno; then 18755 ensc_have_python=no 18756 fi 18757 if test x$ensc_have_python = xyes; then 18758 HAVE_PYTHON_TRUE= 18759 HAVE_PYTHON_FALSE='#' 18760 else 18761 HAVE_PYTHON_TRUE='#' 18762 HAVE_PYTHON_FALSE= 18763 fi 18764 18765 18766 18767 18768 18769 ensc_have_versioning=yes 18770 # Check whether --enable-versioning was given. 18771 if test "${enable_versioning+set}" = set; then : 18772 enableval=$enable_versioning; ensc_have_versioning="$enableval" 18773 fi 18774 18775 if test "x$ensc_have_versioning" = xyes; then 18776 HAVE_VERSIONING_TRUE= 18777 HAVE_VERSIONING_FALSE='#' 18778 else 18779 HAVE_VERSIONING_TRUE='#' 18780 HAVE_VERSIONING_FALSE= 18781 fi 18782 18783 if test "x$ensc_have_versioning" = xyes; then 18784 18785 $as_echo "#define HAVE_VERSIONING 1" >>confdefs.h 18786 18787 fi 18788 18789 18790 if test "x$libdir" = "x$libexecdir"; then 18791 PKGLIBDIR_IS_PKGLIBEXECDIR_TRUE= 18792 PKGLIBDIR_IS_PKGLIBEXECDIR_FALSE='#' 18793 else 18794 PKGLIBDIR_IS_PKGLIBEXECDIR_TRUE='#' 18795 PKGLIBDIR_IS_PKGLIBEXECDIR_FALSE= 18796 fi 18797 18798 18799 18800 18801 $as_echo "#define UTMP_GID 22" >>confdefs.h 18802 18803 18804 if false; then 18805 18806 $as_echo "#define HAVE_GROWING_STACK 1" >>confdefs.h 18807 18808 fi 18809 18810 18811 $as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h 18812 18813 18814 ensc_cxx_affected=" (affected: vbuild, vcheck)" 18815 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)" 18816 ensc_diet_msg=" (you have been warned)" 18817 ensc_diet_version_msg=" ($ensc_version_dietlibc)" 18818 ensc_diet_compat_msg=" (using -lcompat)" 18819 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected= 18820 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected= 18821 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg= 18822 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg= 18823 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg= 18824 18825 18826 18827 18828 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile" 18829 18830 cat >confcache <<\_ACEOF 18831 # This file is a shell script that caches the results of configure 18832 # tests run on this system so they can be shared between configure 18833 # scripts and configure runs, see configure's option --config-cache. 18834 # It is not useful on other systems. If it contains results you don't 18835 # want to keep, you may remove or edit it. 18836 # 18837 # config.status only pays attention to the cache file if you give it 18838 # the --recheck option to rerun configure. 18839 # 18840 # `ac_cv_env_foo' variables (set or unset) will be overridden when 18841 # loading this file, other *unset* `ac_cv_foo' will be assigned the 18842 # following values. 18843 18844 _ACEOF 18845 18846 # The following way of writing the cache mishandles newlines in values, 18847 # but we know of no workaround that is simple, portable, and efficient. 18848 # So, we kill variables containing newlines. 18849 # Ultrix sh set writes to stderr and can't be redirected directly, 18850 # and sets the high bit in the cache file unless we assign to the vars. 18851 ( 18852 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 18853 eval ac_val=\$$ac_var 18854 case $ac_val in #( 18855 *${as_nl}*) 18856 case $ac_var in #( 18857 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18858 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18859 esac 18860 case $ac_var in #( 18861 _ | IFS | as_nl) ;; #( 18862 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 18863 *) { eval $ac_var=; unset $ac_var;} ;; 18864 esac ;; 18865 esac 18866 done 18867 18868 (set) 2>&1 | 18869 case $as_nl`(ac_space=' '; set) 2>&1` in #( 18870 *${as_nl}ac_space=\ *) 18871 # `set' does not quote correctly, so add quotes: double-quote 18872 # substitution turns \\\\ into \\, and sed turns \\ into \. 18873 sed -n \ 18874 "s/'/'\\\\''/g; 18875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 18876 ;; #( 18877 *) 18878 # `set' quotes correctly as required by POSIX, so do not add quotes. 18879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 18880 ;; 18881 esac | 18882 sort 18883 ) | 18884 sed ' 18885 /^ac_cv_env_/b end 18886 t clear 18887 :clear 18888 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 18889 t end 18890 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 18891 :end' >>confcache 18892 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 18893 if test -w "$cache_file"; then 18894 if test "x$cache_file" != "x/dev/null"; then 18895 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 18896 $as_echo "$as_me: updating cache $cache_file" >&6;} 18897 if test ! -f "$cache_file" || test -h "$cache_file"; then 18898 cat confcache >"$cache_file" 18899 else 18900 case $cache_file in #( 18901 */* | ?:*) 18902 mv -f confcache "$cache_file"$$ && 18903 mv -f "$cache_file"$$ "$cache_file" ;; #( 18904 *) 18905 mv -f confcache "$cache_file" ;; 18906 esac 18907 fi 18908 fi 18909 else 18910 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 18911 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18912 fi 18913 fi 18914 rm -f confcache 18915 18916 test "x$prefix" = xNONE && prefix=$ac_default_prefix 18917 # Let make expand exec_prefix. 18918 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 18919 18920 DEFS=-DHAVE_CONFIG_H 18921 18922 ac_libobjs= 18923 ac_ltlibobjs= 18924 U= 18925 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 18926 # 1. Remove the extension, and $U if already installed. 18927 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 18928 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18929 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 18930 # will be set to the directory where LIBOBJS objects are built. 18931 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 18932 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 18933 done 18934 LIBOBJS=$ac_libobjs 18935 18936 LTLIBOBJS=$ac_ltlibobjs 18937 18938 18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18940 $as_echo_n "checking that generated files are newer than configure... " >&6; } 18941 if test -n "$am_sleep_pid"; then 18942 # Hide warnings about reused PIDs. 18943 wait $am_sleep_pid 2>/dev/null 18944 fi 18945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 18946 $as_echo "done" >&6; } 18947 if test -n "$EXEEXT"; then 18948 am__EXEEXT_TRUE= 18949 am__EXEEXT_FALSE='#' 18950 else 18951 am__EXEEXT_TRUE='#' 18952 am__EXEEXT_FALSE= 18953 fi 18954 18955 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 18956 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 18957 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18958 fi 18959 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 18960 as_fn_error $? "conditional \"AMDEP\" was never defined. 18961 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18962 fi 18963 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 18964 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 18965 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18966 fi 18967 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then 18968 as_fn_error $? "conditional \"ENSC_HAVE_C99_COMPILER\" was never defined. 18969 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18970 fi 18971 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then 18972 as_fn_error $? "conditional \"HAVE_XSLTP\" was never defined. 18973 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18974 fi 18975 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then 18976 as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined. 18977 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18978 fi 18979 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then 18980 as_fn_error $? "conditional \"USE_DIETLIBC\" was never defined. 18981 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18982 fi 18983 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then 18984 as_fn_error $? "conditional \"USE_DIETLIBC\" was never defined. 18985 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18986 fi 18987 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then 18988 as_fn_error $? "conditional \"USE_DIETLIBC\" was never defined. 18989 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18990 fi 18991 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then 18992 as_fn_error $? "conditional \"USE_DIETLIBC\" was never defined. 18993 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18994 fi 18995 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then 18996 as_fn_error $? "conditional \"USE_DIETLIBC\" was never defined. 18997 Usually this means the macro was only invoked conditionally." "$LINENO" 5 18998 fi 18999 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then 19000 as_fn_error $? "conditional \"USE_DIETLIBC_COMPAT\" was never defined. 19001 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19002 fi 19003 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then 19004 as_fn_error $? "conditional \"USE_DIETLIBC_COMPAT\" was never defined. 19005 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19006 fi 19007 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then 19008 as_fn_error $? "conditional \"ENSC_USE_DIETLIBC\" was never defined. 19009 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19010 fi 19011 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then 19012 as_fn_error $? "conditional \"ENSC_USE_GLIBC\" was never defined. 19013 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19014 fi 19015 if test -z "${HAVE_GIT2CL_TRUE}" && test -z "${HAVE_GIT2CL_FALSE}"; then 19016 as_fn_error $? "conditional \"HAVE_GIT2CL\" was never defined. 19017 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19018 fi 19019 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then 19020 as_fn_error $? "conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined. 19021 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19022 fi 19023 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then 19024 as_fn_error $? "conditional \"ENSC_HAVE_BEECRYPT\" was never defined. 19025 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19026 fi 19027 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then 19028 as_fn_error $? "conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined. 19029 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19030 fi 19031 if test -z "${ENSC_HAVE_CRYPTO_TRUE}" && test -z "${ENSC_HAVE_CRYPTO_FALSE}"; then 19032 as_fn_error $? "conditional \"ENSC_HAVE_CRYPTO\" was never defined. 19033 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19034 fi 19035 if test -z "${ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE}"; then 19036 as_fn_error $? "conditional \"ENSC_CAN_CRYPTO_WITH_DIETLIBC\" was never defined. 19037 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19038 fi 19039 if test -z "${HAVE_GENTOO_INIT_TRUE}" && test -z "${HAVE_GENTOO_INIT_FALSE}"; then 19040 as_fn_error $? "conditional \"HAVE_GENTOO_INIT\" was never defined. 19041 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19042 fi 19043 if test -z "${HAVE_SYSV_INIT_TRUE}" && test -z "${HAVE_SYSV_INIT_FALSE}"; then 19044 as_fn_error $? "conditional \"HAVE_SYSV_INIT\" was never defined. 19045 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19046 fi 19047 if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then 19048 as_fn_error $? "conditional \"HAVE_SYSTEMD\" was never defined. 19049 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19050 fi 19051 if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then 19052 as_fn_error $? "conditional \"HAVE_SYSTEMD\" was never defined. 19053 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19054 fi 19055 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 19056 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 19057 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19058 fi 19059 if test -z "${HAVE_VERSIONING_TRUE}" && test -z "${HAVE_VERSIONING_FALSE}"; then 19060 as_fn_error $? "conditional \"HAVE_VERSIONING\" was never defined. 19061 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19062 fi 19063 if test -z "${PKGLIBDIR_IS_PKGLIBEXECDIR_TRUE}" && test -z "${PKGLIBDIR_IS_PKGLIBEXECDIR_FALSE}"; then 19064 as_fn_error $? "conditional \"PKGLIBDIR_IS_PKGLIBEXECDIR\" was never defined. 19065 Usually this means the macro was only invoked conditionally." "$LINENO" 5 19066 fi 19067 19068 FEATURES_TXT="\ 19069 Features: 19070 CC: $CC, $($CC --version | sed -e '1p;d') 19071 CPPFLAGS: '$CPPFLAGS' 19072 CFLAGS: '$CFLAGS' 19073 build/host: $build/$host 19074 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg 19075 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected 19076 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected 19077 Available APIs: $enable_apis 19078 ext2fs Source: $ensc_cv_test_ext2fs_header 19079 syscall(2) invocation: $with_syscall 19080 vserver(2) syscall#: $ensc_cv_value_syscall_vserver 19081 crypto api: $ensc_crypto_api 19082 python bindings: $ensc_have_python 19083 use library versioning: $ensc_have_versioning 19084 19085 Paths: 19086 prefix: $prefix 19087 sysconf-Directory: $sysconfdir 19088 cfg-Directory: $sysconfdir/vservers 19089 initrd-Directory: $initrddir 19090 pkgstate-Directory: $localstatedir/run/vservers 19091 vserver-Rootdir: $vserverdir 19092 " 19093 echo "$FEATURES_TXT" >FEATURES.txt 19094 19095 19096 : "${CONFIG_STATUS=./config.status}" 19097 ac_write_fail=0 19098 ac_clean_files_save=$ac_clean_files 19099 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 19100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 19101 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 19102 as_write_fail=0 19103 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 19104 #! $SHELL 19105 # Generated by $as_me. 19106 # Run this file to recreate the current configuration. 19107 # Compiler output produced by configure, useful for debugging 19108 # configure, is in config.log if it exists. 19109 19110 debug=false 19111 ac_cs_recheck=false 19112 ac_cs_silent=false 19113 19114 SHELL=\${CONFIG_SHELL-$SHELL} 19115 export SHELL 19116 _ASEOF 19117 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 19118 ## -------------------- ## 19119 ## M4sh Initialization. ## 19120 ## -------------------- ## 19121 19122 # Be more Bourne compatible 19123 DUALCASE=1; export DUALCASE # for MKS sh 19124 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19125 emulate sh 19126 NULLCMD=: 19127 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19128 # is contrary to our usage. Disable this feature. 19129 alias -g '${1+"$@"}'='"$@"' 19130 setopt NO_GLOB_SUBST 19131 else 19132 case `(set -o) 2>/dev/null` in #( 19133 *posix*) : 19134 set -o posix ;; #( 19135 *) : 19136 ;; 19137 esac 19138 fi 19139 19140 19141 as_nl=' 19142 ' 19143 export as_nl 19144 # Printing a long string crashes Solaris 7 /usr/bin/printf. 19145 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 19146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 19147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 19148 # Prefer a ksh shell builtin over an external printf program on Solaris, 19149 # but without wasting forks for bash or zsh. 19150 if test -z "$BASH_VERSION$ZSH_VERSION" \ 19151 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 19152 as_echo='print -r --' 19153 as_echo_n='print -rn --' 19154 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 19155 as_echo='printf %s\n' 19156 as_echo_n='printf %s' 19157 else 19158 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 19159 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 19160 as_echo_n='/usr/ucb/echo -n' 19161 else 19162 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 19163 as_echo_n_body='eval 19164 arg=$1; 19165 case $arg in #( 19166 *"$as_nl"*) 19167 expr "X$arg" : "X\\(.*\\)$as_nl"; 19168 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 19169 esac; 19170 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 19171 ' 19172 export as_echo_n_body 19173 as_echo_n='sh -c $as_echo_n_body as_echo' 19174 fi 19175 export as_echo_body 19176 as_echo='sh -c $as_echo_body as_echo' 19177 fi 19178 19179 # The user is always right. 19180 if test "${PATH_SEPARATOR+set}" != set; then 19181 PATH_SEPARATOR=: 19182 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 19183 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 19184 PATH_SEPARATOR=';' 19185 } 19186 fi 19187 19188 19189 # IFS 19190 # We need space, tab and new line, in precisely that order. Quoting is 19191 # there to prevent editors from complaining about space-tab. 19192 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 19193 # splitting by setting IFS to empty value.) 19194 IFS=" "" $as_nl" 19195 19196 # Find who we are. Look in the path if we contain no directory separator. 19197 as_myself= 19198 case $0 in #(( 19199 *[\\/]* ) as_myself=$0 ;; 19200 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19201 for as_dir in $PATH 19202 do 19203 IFS=$as_save_IFS 19204 test -z "$as_dir" && as_dir=. 19205 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 19206 done 19207 IFS=$as_save_IFS 19208 19209 ;; 19210 esac 19211 # We did not find ourselves, most probably we were run as `sh COMMAND' 19212 # in which case we are not to be found in the path. 19213 if test "x$as_myself" = x; then 19214 as_myself=$0 19215 fi 19216 if test ! -f "$as_myself"; then 19217 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 19218 exit 1 19219 fi 19220 19221 # Unset variables that we do not need and which cause bugs (e.g. in 19222 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 19223 # suppresses any "Segmentation fault" message there. '((' could 19224 # trigger a bug in pdksh 5.2.14. 19225 for as_var in BASH_ENV ENV MAIL MAILPATH 19226 do eval test x\${$as_var+set} = xset \ 19227 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 19228 done 19229 PS1='$ ' 19230 PS2='> ' 19231 PS4='+ ' 19232 19233 # NLS nuisances. 19234 LC_ALL=C 19235 export LC_ALL 19236 LANGUAGE=C 19237 export LANGUAGE 19238 19239 # CDPATH. 19240 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 19241 19242 19243 # as_fn_error STATUS ERROR [LINENO LOG_FD] 19244 # ---------------------------------------- 19245 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 19246 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 19247 # script with STATUS, using 1 if that was 0. 19248 as_fn_error () 19249 { 19250 as_status=$1; test $as_status -eq 0 && as_status=1 19251 if test "$4"; then 19252 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 19253 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 19254 fi 19255 $as_echo "$as_me: error: $2" >&2 19256 as_fn_exit $as_status 19257 } # as_fn_error 19258 19259 19260 # as_fn_set_status STATUS 19261 # ----------------------- 19262 # Set $? to STATUS, without forking. 19263 as_fn_set_status () 19264 { 19265 return $1 19266 } # as_fn_set_status 19267 19268 # as_fn_exit STATUS 19269 # ----------------- 19270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 19271 as_fn_exit () 19272 { 19273 set +e 19274 as_fn_set_status $1 19275 exit $1 19276 } # as_fn_exit 19277 19278 # as_fn_unset VAR 19279 # --------------- 19280 # Portably unset VAR. 19281 as_fn_unset () 19282 { 19283 { eval $1=; unset $1;} 19284 } 19285 as_unset=as_fn_unset 19286 # as_fn_append VAR VALUE 19287 # ---------------------- 19288 # Append the text in VALUE to the end of the definition contained in VAR. Take 19289 # advantage of any shell optimizations that allow amortized linear growth over 19290 # repeated appends, instead of the typical quadratic growth present in naive 19291 # implementations. 19292 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 19293 eval 'as_fn_append () 19294 { 19295 eval $1+=\$2 19296 }' 19297 else 19298 as_fn_append () 19299 { 19300 eval $1=\$$1\$2 19301 } 19302 fi # as_fn_append 19303 19304 # as_fn_arith ARG... 19305 # ------------------ 19306 # Perform arithmetic evaluation on the ARGs, and store the result in the 19307 # global $as_val. Take advantage of shells that can avoid forks. The arguments 19308 # must be portable across $(()) and expr. 19309 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 19310 eval 'as_fn_arith () 19311 { 19312 as_val=$(( $* )) 19313 }' 19314 else 19315 as_fn_arith () 19316 { 19317 as_val=`expr "$@" || test $? -eq 1` 19318 } 19319 fi # as_fn_arith 19320 19321 19322 if expr a : '\(a\)' >/dev/null 2>&1 && 19323 test "X`expr 00001 : '.*\(...\)'`" = X001; then 19324 as_expr=expr 19325 else 19326 as_expr=false 19327 fi 19328 19329 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 19330 as_basename=basename 19331 else 19332 as_basename=false 19333 fi 19334 19335 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 19336 as_dirname=dirname 19337 else 19338 as_dirname=false 19339 fi 19340 19341 as_me=`$as_basename -- "$0" || 19342 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 19343 X"$0" : 'X\(//\)$' \| \ 19344 X"$0" : 'X\(/\)' \| . 2>/dev/null || 19345 $as_echo X/"$0" | 19346 sed '/^.*\/\([^/][^/]*\)\/*$/{ 19347 s//\1/ 19348 q 19349 } 19350 /^X\/\(\/\/\)$/{ 19351 s//\1/ 19352 q 19353 } 19354 /^X\/\(\/\).*/{ 19355 s//\1/ 19356 q 19357 } 19358 s/.*/./; q'` 19359 19360 # Avoid depending upon Character Ranges. 19361 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 19362 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 19363 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 19364 as_cr_digits='0123456789' 19365 as_cr_alnum=$as_cr_Letters$as_cr_digits 19366 19367 ECHO_C= ECHO_N= ECHO_T= 19368 case `echo -n x` in #((((( 19369 -n*) 19370 case `echo 'xy\c'` in 19371 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 19372 xy) ECHO_C='\c';; 19373 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 19374 ECHO_T=' ';; 19375 esac;; 19376 *) 19377 ECHO_N='-n';; 19378 esac 19379 19380 rm -f conf$$ conf$$.exe conf$$.file 19381 if test -d conf$$.dir; then 19382 rm -f conf$$.dir/conf$$.file 19383 else 19384 rm -f conf$$.dir 19385 mkdir conf$$.dir 2>/dev/null 19386 fi 19387 if (echo >conf$$.file) 2>/dev/null; then 19388 if ln -s conf$$.file conf$$ 2>/dev/null; then 19389 as_ln_s='ln -s' 19390 # ... but there are two gotchas: 19391 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 19392 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 19393 # In both cases, we have to default to `cp -pR'. 19394 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 19395 as_ln_s='cp -pR' 19396 elif ln conf$$.file conf$$ 2>/dev/null; then 19397 as_ln_s=ln 19398 else 19399 as_ln_s='cp -pR' 19400 fi 19401 else 19402 as_ln_s='cp -pR' 19403 fi 19404 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 19405 rmdir conf$$.dir 2>/dev/null 19406 19407 19408 # as_fn_mkdir_p 19409 # ------------- 19410 # Create "$as_dir" as a directory, including parents if necessary. 19411 as_fn_mkdir_p () 19412 { 19413 19414 case $as_dir in #( 19415 -*) as_dir=./$as_dir;; 19416 esac 19417 test -d "$as_dir" || eval $as_mkdir_p || { 19418 as_dirs= 19419 while :; do 19420 case $as_dir in #( 19421 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 19422 *) as_qdir=$as_dir;; 19423 esac 19424 as_dirs="'$as_qdir' $as_dirs" 19425 as_dir=`$as_dirname -- "$as_dir" || 19426 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19427 X"$as_dir" : 'X\(//\)[^/]' \| \ 19428 X"$as_dir" : 'X\(//\)$' \| \ 19429 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 19430 $as_echo X"$as_dir" | 19431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19432 s//\1/ 19433 q 19434 } 19435 /^X\(\/\/\)[^/].*/{ 19436 s//\1/ 19437 q 19438 } 19439 /^X\(\/\/\)$/{ 19440 s//\1/ 19441 q 19442 } 19443 /^X\(\/\).*/{ 19444 s//\1/ 19445 q 19446 } 19447 s/.*/./; q'` 19448 test -d "$as_dir" && break 19449 done 19450 test -z "$as_dirs" || eval "mkdir $as_dirs" 19451 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 19452 19453 19454 } # as_fn_mkdir_p 19455 if mkdir -p . 2>/dev/null; then 19456 as_mkdir_p='mkdir -p "$as_dir"' 19457 else 19458 test -d ./-p && rmdir ./-p 19459 as_mkdir_p=false 19460 fi 19461 19462 19463 # as_fn_executable_p FILE 19464 # ----------------------- 19465 # Test if FILE is an executable regular file. 19466 as_fn_executable_p () 19467 { 19468 test -f "$1" && test -x "$1" 19469 } # as_fn_executable_p 19470 as_test_x='test -x' 19471 as_executable_p=as_fn_executable_p 19472 19473 # Sed expression to map a string onto a valid CPP name. 19474 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 19475 19476 # Sed expression to map a string onto a valid variable name. 19477 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 19478 19479 19480 exec 6>&1 19481 ## ----------------------------------- ## 19482 ## Main body of $CONFIG_STATUS script. ## 19483 ## ----------------------------------- ## 19484 _ASEOF 19485 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 19486 19487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19488 # Save the log message, to keep $0 and so on meaningful, and to 19489 # report actual input values of CONFIG_FILES etc. instead of their 19490 # values after options handling. 19491 ac_log=" 19492 This file was extended by util-vserver $as_me 0.30.216-pre3131, which was 19493 generated by GNU Autoconf 2.69. Invocation command line was 19494 19495 CONFIG_FILES = $CONFIG_FILES 19496 CONFIG_HEADERS = $CONFIG_HEADERS 19497 CONFIG_LINKS = $CONFIG_LINKS 19498 CONFIG_COMMANDS = $CONFIG_COMMANDS 19499 $ $0 $@ 19500 19501 on `(hostname || uname -n) 2>/dev/null | sed 1q` 19502 " 19503 19504 _ACEOF 19505 19506 case $ac_config_files in *" 19507 "*) set x $ac_config_files; shift; ac_config_files=$*;; 19508 esac 19509 19510 case $ac_config_headers in *" 19511 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 19512 esac 19513 19514 19515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19516 # Files that config.status was made for. 19517 config_files="$ac_config_files" 19518 config_headers="$ac_config_headers" 19519 config_commands="$ac_config_commands" 19520 19521 _ACEOF 19522 19523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19524 ac_cs_usage="\ 19525 \`$as_me' instantiates files and other configuration actions 19526 from templates according to the current configuration. Unless the files 19527 and actions are specified as TAGs, all are instantiated by default. 19528 19529 Usage: $0 [OPTION]... [TAG]... 19530 19531 -h, --help print this help, then exit 19532 -V, --version print version number and configuration settings, then exit 19533 --config print configuration, then exit 19534 -q, --quiet, --silent 19535 do not print progress messages 19536 -d, --debug don't remove temporary files 19537 --recheck update $as_me by reconfiguring in the same conditions 19538 --file=FILE[:TEMPLATE] 19539 instantiate the configuration file FILE 19540 --header=FILE[:TEMPLATE] 19541 instantiate the configuration header FILE 19542 19543 Configuration files: 19544 $config_files 19545 19546 Configuration headers: 19547 $config_headers 19548 19549 Configuration commands: 19550 $config_commands 19551 19552 Report bugs to <vserver@list.linux-vserver.org>." 19553 19554 _ACEOF 19555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19556 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 19557 ac_cs_version="\\ 19558 util-vserver config.status 0.30.216-pre3131 19559 configured by $0, generated by GNU Autoconf 2.69, 19560 with options \\"\$ac_cs_config\\" 19561 19562 Copyright (C) 2012 Free Software Foundation, Inc. 19563 This config.status script is free software; the Free Software Foundation 19564 gives unlimited permission to copy, distribute and modify it." 19565 19566 ac_pwd='$ac_pwd' 19567 srcdir='$srcdir' 19568 INSTALL='$INSTALL' 19569 MKDIR_P='$MKDIR_P' 19570 AWK='$AWK' 19571 test -n "\$AWK" || AWK=awk 19572 _ACEOF 19573 19574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19575 # The default lists apply if the user does not specify any file. 19576 ac_need_defaults=: 19577 while test $# != 0 19578 do 19579 case $1 in 19580 --*=?*) 19581 ac_option=`expr "X$1" : 'X\([^=]*\)='` 19582 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 19583 ac_shift=: 19584 ;; 19585 --*=) 19586 ac_option=`expr "X$1" : 'X\([^=]*\)='` 19587 ac_optarg= 19588 ac_shift=: 19589 ;; 19590 *) 19591 ac_option=$1 19592 ac_optarg=$2 19593 ac_shift=shift 19594 ;; 19595 esac 19596 19597 case $ac_option in 19598 # Handling of the options. 19599 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 19600 ac_cs_recheck=: ;; 19601 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 19602 $as_echo "$ac_cs_version"; exit ;; 19603 --config | --confi | --conf | --con | --co | --c ) 19604 $as_echo "$ac_cs_config"; exit ;; 19605 --debug | --debu | --deb | --de | --d | -d ) 19606 debug=: ;; 19607 --file | --fil | --fi | --f ) 19608 $ac_shift 19609 case $ac_optarg in 19610 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19611 '') as_fn_error $? "missing file argument" ;; 19612 esac 19613 as_fn_append CONFIG_FILES " '$ac_optarg'" 19614 ac_need_defaults=false;; 19615 --header | --heade | --head | --hea ) 19616 $ac_shift 19617 case $ac_optarg in 19618 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19619 esac 19620 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 19621 ac_need_defaults=false;; 19622 --he | --h) 19623 # Conflict between --help and --header 19624 as_fn_error $? "ambiguous option: \`$1' 19625 Try \`$0 --help' for more information.";; 19626 --help | --hel | -h ) 19627 $as_echo "$ac_cs_usage"; exit ;; 19628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 19629 | -silent | --silent | --silen | --sile | --sil | --si | --s) 19630 ac_cs_silent=: ;; 19631 19632 # This is an error. 19633 -*) as_fn_error $? "unrecognized option: \`$1' 19634 Try \`$0 --help' for more information." ;; 19635 19636 *) as_fn_append ac_config_targets " $1" 19637 ac_need_defaults=false ;; 19638 19639 esac 19640 shift 19641 done 19642 19643 ac_configure_extra_args= 19644 19645 if $ac_cs_silent; then 19646 exec 6>/dev/null 19647 ac_configure_extra_args="$ac_configure_extra_args --silent" 19648 fi 19649 19650 _ACEOF 19651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19652 if \$ac_cs_recheck; then 19653 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 19654 shift 19655 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 19656 CONFIG_SHELL='$SHELL' 19657 export CONFIG_SHELL 19658 exec "\$@" 19659 fi 19660 19661 _ACEOF 19662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19663 exec 5>>config.log 19664 { 19665 echo 19666 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 19667 ## Running $as_me. ## 19668 _ASBOX 19669 $as_echo "$ac_log" 19670 } >&5 19671 19672 _ACEOF 19673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19674 # 19675 # INIT-COMMANDS 19676 # 19677 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 19678 19679 19680 # The HP-UX ksh and POSIX shell print the target directory to stdout 19681 # if CDPATH is set. 19682 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 19683 19684 sed_quote_subst='$sed_quote_subst' 19685 double_quote_subst='$double_quote_subst' 19686 delay_variable_subst='$delay_variable_subst' 19687 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 19688 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 19689 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 19690 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 19691 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 19692 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 19693 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 19694 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 19695 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 19696 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 19697 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 19698 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 19699 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 19700 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 19701 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 19702 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 19703 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 19704 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 19705 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 19706 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 19707 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 19708 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 19709 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 19710 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 19711 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 19712 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 19713 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 19714 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 19715 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 19716 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 19717 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 19718 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 19719 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 19720 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 19721 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 19722 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 19723 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 19724 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 19725 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 19726 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 19727 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 19728 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 19729 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 19730 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 19731 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 19732 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 19733 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 19734 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 19735 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 19736 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 19737 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 19738 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 19739 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 19740 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 19741 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 19742 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 19743 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"`' 19744 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 19745 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 19746 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 19747 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 19748 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 19749 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 19750 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 19751 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 19752 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 19753 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 19754 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 19755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 19756 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 19757 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 19758 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 19759 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 19760 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 19761 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 19762 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 19763 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 19764 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 19765 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 19766 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 19767 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 19768 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 19769 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 19770 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 19771 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 19772 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 19773 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 19774 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 19775 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 19776 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 19777 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 19778 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 19779 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 19780 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 19781 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 19782 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 19783 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 19784 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 19785 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 19786 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 19787 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 19788 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 19789 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 19790 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 19791 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 19792 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 19793 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 19794 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 19795 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 19796 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 19797 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 19798 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 19799 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 19800 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 19801 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 19802 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 19803 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 19804 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 19805 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 19806 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 19807 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 19808 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 19809 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 19810 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 19811 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 19812 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 19813 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 19814 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 19815 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 19816 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 19817 19818 LTCC='$LTCC' 19819 LTCFLAGS='$LTCFLAGS' 19820 compiler='$compiler_DEFAULT' 19821 19822 # A function that is used when there is no print builtin or printf. 19823 func_fallback_echo () 19824 { 19825 eval 'cat <<_LTECHO_EOF 19826 \$1 19827 _LTECHO_EOF' 19828 } 19829 19830 # Quote evaled strings. 19831 for var in SHELL \ 19832 ECHO \ 19833 PATH_SEPARATOR \ 19834 SED \ 19835 GREP \ 19836 EGREP \ 19837 FGREP \ 19838 LD \ 19839 NM \ 19840 LN_S \ 19841 lt_SP2NL \ 19842 lt_NL2SP \ 19843 reload_flag \ 19844 OBJDUMP \ 19845 deplibs_check_method \ 19846 file_magic_cmd \ 19847 file_magic_glob \ 19848 want_nocaseglob \ 19849 DLLTOOL \ 19850 sharedlib_from_linklib_cmd \ 19851 AR \ 19852 AR_FLAGS \ 19853 archiver_list_spec \ 19854 STRIP \ 19855 RANLIB \ 19856 CC \ 19857 CFLAGS \ 19858 compiler \ 19859 lt_cv_sys_global_symbol_pipe \ 19860 lt_cv_sys_global_symbol_to_cdecl \ 19861 lt_cv_sys_global_symbol_to_c_name_address \ 19862 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 19863 nm_file_list_spec \ 19864 lt_prog_compiler_no_builtin_flag \ 19865 lt_prog_compiler_pic \ 19866 lt_prog_compiler_wl \ 19867 lt_prog_compiler_static \ 19868 lt_cv_prog_compiler_c_o \ 19869 need_locks \ 19870 MANIFEST_TOOL \ 19871 DSYMUTIL \ 19872 NMEDIT \ 19873 LIPO \ 19874 OTOOL \ 19875 OTOOL64 \ 19876 shrext_cmds \ 19877 export_dynamic_flag_spec \ 19878 whole_archive_flag_spec \ 19879 compiler_needs_object \ 19880 with_gnu_ld \ 19881 allow_undefined_flag \ 19882 no_undefined_flag \ 19883 hardcode_libdir_flag_spec \ 19884 hardcode_libdir_separator \ 19885 exclude_expsyms \ 19886 include_expsyms \ 19887 file_list_spec \ 19888 variables_saved_for_relink \ 19889 libname_spec \ 19890 library_names_spec \ 19891 soname_spec \ 19892 install_override_mode \ 19893 finish_eval \ 19894 old_striplib \ 19895 striplib; do 19896 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19897 *[\\\\\\\`\\"\\\$]*) 19898 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 19899 ;; 19900 *) 19901 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19902 ;; 19903 esac 19904 done 19905 19906 # Double-quote double-evaled strings. 19907 for var in reload_cmds \ 19908 old_postinstall_cmds \ 19909 old_postuninstall_cmds \ 19910 old_archive_cmds \ 19911 extract_expsyms_cmds \ 19912 old_archive_from_new_cmds \ 19913 old_archive_from_expsyms_cmds \ 19914 archive_cmds \ 19915 archive_expsym_cmds \ 19916 module_cmds \ 19917 module_expsym_cmds \ 19918 export_symbols_cmds \ 19919 prelink_cmds \ 19920 postlink_cmds \ 19921 postinstall_cmds \ 19922 postuninstall_cmds \ 19923 finish_cmds \ 19924 sys_lib_search_path_spec \ 19925 sys_lib_dlsearch_path_spec; do 19926 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19927 *[\\\\\\\`\\"\\\$]*) 19928 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 19929 ;; 19930 *) 19931 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19932 ;; 19933 esac 19934 done 19935 19936 ac_aux_dir='$ac_aux_dir' 19937 xsi_shell='$xsi_shell' 19938 lt_shell_append='$lt_shell_append' 19939 19940 # See if we are running on zsh, and set the options which allow our 19941 # commands through without removal of \ escapes INIT. 19942 if test -n "\${ZSH_VERSION+set}" ; then 19943 setopt NO_GLOB_SUBST 19944 fi 19945 19946 19947 PACKAGE='$PACKAGE' 19948 VERSION='$VERSION' 19949 TIMESTAMP='$TIMESTAMP' 19950 RM='$RM' 19951 ofile='$ofile' 19952 19953 19954 19955 19956 _ACEOF 19957 19958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19959 19960 # Handling of arguments. 19961 for ac_config_target in $ac_config_targets 19962 do 19963 case $ac_config_target in 19964 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 19965 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 19966 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 19967 "util-vserver.spec") CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;; 19968 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 19969 "distrib/Makefile") CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;; 19970 "lib/apidoc/Doxyfile") CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;; 19971 19972 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 19973 esac 19974 done 19975 19976 19977 # If the user did not use the arguments to specify the items to instantiate, 19978 # then the envvar interface is used. Set only those that are not. 19979 # We use the long form for the default assignment because of an extremely 19980 # bizarre bug on SunOS 4.1.3. 19981 if $ac_need_defaults; then 19982 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 19983 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 19984 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19985 fi 19986 19987 # Have a temporary directory for convenience. Make it in the build tree 19988 # simply because there is no reason against having it here, and in addition, 19989 # creating and moving files from /tmp can sometimes cause problems. 19990 # Hook for its removal unless debugging. 19991 # Note that there is a small window in which the directory will not be cleaned: 19992 # after its creation but before its name has been assigned to `$tmp'. 19993 $debug || 19994 { 19995 tmp= ac_tmp= 19996 trap 'exit_status=$? 19997 : "${ac_tmp:=$tmp}" 19998 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 19999 ' 0 20000 trap 'as_fn_exit 1' 1 2 13 15 20001 } 20002 # Create a (secure) tmp directory for tmp files. 20003 20004 { 20005 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 20006 test -d "$tmp" 20007 } || 20008 { 20009 tmp=./conf$$-$RANDOM 20010 (umask 077 && mkdir "$tmp") 20011 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 20012 ac_tmp=$tmp 20013 20014 # Set up the scripts for CONFIG_FILES section. 20015 # No need to generate them if there are no CONFIG_FILES. 20016 # This happens for instance with `./config.status config.h'. 20017 if test -n "$CONFIG_FILES"; then 20018 20019 20020 ac_cr=`echo X | tr X '\015'` 20021 # On cygwin, bash can eat \r inside `` if the user requested igncr. 20022 # But we know of no other shell where ac_cr would be empty at this 20023 # point, so we can use a bashism as a fallback. 20024 if test "x$ac_cr" = x; then 20025 eval ac_cr=\$\'\\r\' 20026 fi 20027 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 20028 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 20029 ac_cs_awk_cr='\\r' 20030 else 20031 ac_cs_awk_cr=$ac_cr 20032 fi 20033 20034 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 20035 _ACEOF 20036 20037 20038 { 20039 echo "cat >conf$$subs.awk <<_ACEOF" && 20040 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 20041 echo "_ACEOF" 20042 } >conf$$subs.sh || 20043 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20044 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 20045 ac_delim='%!_!# ' 20046 for ac_last_try in false false false false false :; do 20047 . ./conf$$subs.sh || 20048 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20049 20050 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 20051 if test $ac_delim_n = $ac_delim_num; then 20052 break 20053 elif $ac_last_try; then 20054 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20055 else 20056 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 20057 fi 20058 done 20059 rm -f conf$$subs.sh 20060 20061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20062 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 20063 _ACEOF 20064 sed -n ' 20065 h 20066 s/^/S["/; s/!.*/"]=/ 20067 p 20068 g 20069 s/^[^!]*!// 20070 :repl 20071 t repl 20072 s/'"$ac_delim"'$// 20073 t delim 20074 :nl 20075 h 20076 s/\(.\{148\}\)..*/\1/ 20077 t more1 20078 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 20079 p 20080 n 20081 b repl 20082 :more1 20083 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20084 p 20085 g 20086 s/.\{148\}// 20087 t nl 20088 :delim 20089 h 20090 s/\(.\{148\}\)..*/\1/ 20091 t more2 20092 s/["\\]/\\&/g; s/^/"/; s/$/"/ 20093 p 20094 b 20095 :more2 20096 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20097 p 20098 g 20099 s/.\{148\}// 20100 t delim 20101 ' <conf$$subs.awk | sed ' 20102 /^[^""]/{ 20103 N 20104 s/\n// 20105 } 20106 ' >>$CONFIG_STATUS || ac_write_fail=1 20107 rm -f conf$$subs.awk 20108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20109 _ACAWK 20110 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 20111 for (key in S) S_is_set[key] = 1 20112 FS = "" 20113 20114 } 20115 { 20116 line = $ 0 20117 nfields = split(line, field, "@") 20118 substed = 0 20119 len = length(field[1]) 20120 for (i = 2; i < nfields; i++) { 20121 key = field[i] 20122 keylen = length(key) 20123 if (S_is_set[key]) { 20124 value = S[key] 20125 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 20126 len += length(value) + length(field[++i]) 20127 substed = 1 20128 } else 20129 len += 1 + keylen 20130 } 20131 20132 print line 20133 } 20134 20135 _ACAWK 20136 _ACEOF 20137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20138 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 20139 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 20140 else 20141 cat 20142 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 20143 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 20144 _ACEOF 20145 20146 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 20147 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 20148 # trailing colons and then remove the whole line if VPATH becomes empty 20149 # (actually we leave an empty line to preserve line numbers). 20150 if test "x$srcdir" = x.; then 20151 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 20152 h 20153 s/// 20154 s/^/:/ 20155 s/[ ]*$/:/ 20156 s/:\$(srcdir):/:/g 20157 s/:\${srcdir}:/:/g 20158 s/:@srcdir@:/:/g 20159 s/^:*// 20160 s/:*$// 20161 x 20162 s/\(=[ ]*\).*/\1/ 20163 G 20164 s/\n// 20165 s/^[^=]*=[ ]*$// 20166 }' 20167 fi 20168 20169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20170 fi # test -n "$CONFIG_FILES" 20171 20172 # Set up the scripts for CONFIG_HEADERS section. 20173 # No need to generate them if there are no CONFIG_HEADERS. 20174 # This happens for instance with `./config.status Makefile'. 20175 if test -n "$CONFIG_HEADERS"; then 20176 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 20177 BEGIN { 20178 _ACEOF 20179 20180 # Transform confdefs.h into an awk script `defines.awk', embedded as 20181 # here-document in config.status, that substitutes the proper values into 20182 # config.h.in to produce config.h. 20183 20184 # Create a delimiter string that does not exist in confdefs.h, to ease 20185 # handling of long lines. 20186 ac_delim='%!_!# ' 20187 for ac_last_try in false false :; do 20188 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 20189 if test -z "$ac_tt"; then 20190 break 20191 elif $ac_last_try; then 20192 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 20193 else 20194 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 20195 fi 20196 done 20197 20198 # For the awk script, D is an array of macro values keyed by name, 20199 # likewise P contains macro parameters if any. Preserve backslash 20200 # newline sequences. 20201 20202 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 20203 sed -n ' 20204 s/.\{148\}/&'"$ac_delim"'/g 20205 t rset 20206 :rset 20207 s/^[ ]*#[ ]*define[ ][ ]*/ / 20208 t def 20209 d 20210 :def 20211 s/\\$// 20212 t bsnl 20213 s/["\\]/\\&/g 20214 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 20215 D["\1"]=" \3"/p 20216 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 20217 d 20218 :bsnl 20219 s/["\\]/\\&/g 20220 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 20221 D["\1"]=" \3\\\\\\n"\\/p 20222 t cont 20223 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 20224 t cont 20225 d 20226 :cont 20227 n 20228 s/.\{148\}/&'"$ac_delim"'/g 20229 t clear 20230 :clear 20231 s/\\$// 20232 t bsnlc 20233 s/["\\]/\\&/g; s/^/"/; s/$/"/p 20234 d 20235 :bsnlc 20236 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 20237 b cont 20238 ' <confdefs.h | sed ' 20239 s/'"$ac_delim"'/"\\\ 20240 "/g' >>$CONFIG_STATUS || ac_write_fail=1 20241 20242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20243 for (key in D) D_is_set[key] = 1 20244 FS = "" 20245 } 20246 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 20247 line = \$ 0 20248 split(line, arg, " ") 20249 if (arg[1] == "#") { 20250 defundef = arg[2] 20251 mac1 = arg[3] 20252 } else { 20253 defundef = substr(arg[1], 2) 20254 mac1 = arg[2] 20255 } 20256 split(mac1, mac2, "(") #) 20257 macro = mac2[1] 20258 prefix = substr(line, 1, index(line, defundef) - 1) 20259 if (D_is_set[macro]) { 20260 # Preserve the white space surrounding the "#". 20261 print prefix "define", macro P[macro] D[macro] 20262 next 20263 } else { 20264 # Replace #undef with comments. This is necessary, for example, 20265 # in the case of _POSIX_SOURCE, which is predefined and required 20266 # on some systems where configure will not decide to define it. 20267 if (defundef == "undef") { 20268 print "/*", prefix defundef, macro, "*/" 20269 next 20270 } 20271 } 20272 } 20273 { print } 20274 _ACAWK 20275 _ACEOF 20276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20277 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 20278 fi # test -n "$CONFIG_HEADERS" 20279 20280 20281 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 20282 shift 20283 for ac_tag 20284 do 20285 case $ac_tag in 20286 :[FHLC]) ac_mode=$ac_tag; continue;; 20287 esac 20288 case $ac_mode$ac_tag in 20289 :[FHL]*:*);; 20290 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 20291 :[FH]-) ac_tag=-:-;; 20292 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 20293 esac 20294 ac_save_IFS=$IFS 20295 IFS=: 20296 set x $ac_tag 20297 IFS=$ac_save_IFS 20298 shift 20299 ac_file=$1 20300 shift 20301 20302 case $ac_mode in 20303 :L) ac_source=$1;; 20304 :[FH]) 20305 ac_file_inputs= 20306 for ac_f 20307 do 20308 case $ac_f in 20309 -) ac_f="$ac_tmp/stdin";; 20310 *) # Look for the file first in the build tree, then in the source tree 20311 # (if the path is not absolute). The absolute path cannot be DOS-style, 20312 # because $ac_f cannot contain `:'. 20313 test -f "$ac_f" || 20314 case $ac_f in 20315 [\\/$]*) false;; 20316 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 20317 esac || 20318 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 20319 esac 20320 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 20321 as_fn_append ac_file_inputs " '$ac_f'" 20322 done 20323 20324 # Let's still pretend it is `configure' which instantiates (i.e., don't 20325 # use $as_me), people would be surprised to read: 20326 # /* config.h. Generated by config.status. */ 20327 configure_input='Generated from '` 20328 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 20329 `' by configure.' 20330 if test x"$ac_file" != x-; then 20331 configure_input="$ac_file. $configure_input" 20332 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 20333 $as_echo "$as_me: creating $ac_file" >&6;} 20334 fi 20335 # Neutralize special characters interpreted by sed in replacement strings. 20336 case $configure_input in #( 20337 *\&* | *\|* | *\\* ) 20338 ac_sed_conf_input=`$as_echo "$configure_input" | 20339 sed 's/[\\\\&|]/\\\\&/g'`;; #( 20340 *) ac_sed_conf_input=$configure_input;; 20341 esac 20342 20343 case $ac_tag in 20344 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 20345 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 20346 esac 20347 ;; 20348 esac 20349 20350 ac_dir=`$as_dirname -- "$ac_file" || 20351 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20352 X"$ac_file" : 'X\(//\)[^/]' \| \ 20353 X"$ac_file" : 'X\(//\)$' \| \ 20354 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 20355 $as_echo X"$ac_file" | 20356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20357 s//\1/ 20358 q 20359 } 20360 /^X\(\/\/\)[^/].*/{ 20361 s//\1/ 20362 q 20363 } 20364 /^X\(\/\/\)$/{ 20365 s//\1/ 20366 q 20367 } 20368 /^X\(\/\).*/{ 20369 s//\1/ 20370 q 20371 } 20372 s/.*/./; q'` 20373 as_dir="$ac_dir"; as_fn_mkdir_p 20374 ac_builddir=. 20375 20376 case "$ac_dir" in 20377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 20378 *) 20379 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 20380 # A ".." for each directory in $ac_dir_suffix. 20381 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 20382 case $ac_top_builddir_sub in 20383 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 20384 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 20385 esac ;; 20386 esac 20387 ac_abs_top_builddir=$ac_pwd 20388 ac_abs_builddir=$ac_pwd$ac_dir_suffix 20389 # for backward compatibility: 20390 ac_top_builddir=$ac_top_build_prefix 20391 20392 case $srcdir in 20393 .) # We are building in place. 20394 ac_srcdir=. 20395 ac_top_srcdir=$ac_top_builddir_sub 20396 ac_abs_top_srcdir=$ac_pwd ;; 20397 [\\/]* | ?:[\\/]* ) # Absolute name. 20398 ac_srcdir=$srcdir$ac_dir_suffix; 20399 ac_top_srcdir=$srcdir 20400 ac_abs_top_srcdir=$srcdir ;; 20401 *) # Relative name. 20402 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 20403 ac_top_srcdir=$ac_top_build_prefix$srcdir 20404 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 20405 esac 20406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 20407 20408 20409 case $ac_mode in 20410 :F) 20411 # 20412 # CONFIG_FILE 20413 # 20414 20415 case $INSTALL in 20416 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 20417 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 20418 esac 20419 ac_MKDIR_P=$MKDIR_P 20420 case $MKDIR_P in 20421 [\\/$]* | ?:[\\/]* ) ;; 20422 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 20423 esac 20424 _ACEOF 20425 20426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20427 # If the template does not know about datarootdir, expand it. 20428 # FIXME: This hack should be removed a few years after 2.60. 20429 ac_datarootdir_hack=; ac_datarootdir_seen= 20430 ac_sed_dataroot=' 20431 /datarootdir/ { 20432 p 20433 q 20434 } 20435 /@datadir@/p 20436 /@docdir@/p 20437 /@infodir@/p 20438 /@localedir@/p 20439 /@mandir@/p' 20440 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 20441 *datarootdir*) ac_datarootdir_seen=yes;; 20442 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 20443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 20444 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 20445 _ACEOF 20446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20447 ac_datarootdir_hack=' 20448 s&@datadir@&$datadir&g 20449 s&@docdir@&$docdir&g 20450 s&@infodir@&$infodir&g 20451 s&@localedir@&$localedir&g 20452 s&@mandir@&$mandir&g 20453 s&\\\${datarootdir}&$datarootdir&g' ;; 20454 esac 20455 _ACEOF 20456 20457 # Neutralize VPATH when `$srcdir' = `.'. 20458 # Shell code in configure.ac might set extrasub. 20459 # FIXME: do we really want to maintain this feature? 20460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20461 ac_sed_extra="$ac_vpsub 20462 $extrasub 20463 _ACEOF 20464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20465 :t 20466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 20467 s|@configure_input@|$ac_sed_conf_input|;t t 20468 s&@top_builddir@&$ac_top_builddir_sub&;t t 20469 s&@top_build_prefix@&$ac_top_build_prefix&;t t 20470 s&@srcdir@&$ac_srcdir&;t t 20471 s&@abs_srcdir@&$ac_abs_srcdir&;t t 20472 s&@top_srcdir@&$ac_top_srcdir&;t t 20473 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 20474 s&@builddir@&$ac_builddir&;t t 20475 s&@abs_builddir@&$ac_abs_builddir&;t t 20476 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 20477 s&@INSTALL@&$ac_INSTALL&;t t 20478 s&@MKDIR_P@&$ac_MKDIR_P&;t t 20479 $ac_datarootdir_hack 20480 " 20481 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 20482 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20483 20484 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 20485 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 20486 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 20487 "$ac_tmp/out"`; test -z "$ac_out"; } && 20488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20489 which seems to be undefined. Please make sure it is defined" >&5 20490 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20491 which seems to be undefined. Please make sure it is defined" >&2;} 20492 20493 rm -f "$ac_tmp/stdin" 20494 case $ac_file in 20495 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 20496 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 20497 esac \ 20498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20499 ;; 20500 :H) 20501 # 20502 # CONFIG_HEADER 20503 # 20504 if test x"$ac_file" != x-; then 20505 { 20506 $as_echo "/* $configure_input */" \ 20507 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 20508 } >"$ac_tmp/config.h" \ 20509 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20510 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 20511 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 20512 $as_echo "$as_me: $ac_file is unchanged" >&6;} 20513 else 20514 rm -f "$ac_file" 20515 mv "$ac_tmp/config.h" "$ac_file" \ 20516 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20517 fi 20518 else 20519 $as_echo "/* $configure_input */" \ 20520 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 20521 || as_fn_error $? "could not create -" "$LINENO" 5 20522 fi 20523 # Compute "$ac_file"'s index in $config_headers. 20524 _am_arg="$ac_file" 20525 _am_stamp_count=1 20526 for _am_header in $config_headers :; do 20527 case $_am_header in 20528 $_am_arg | $_am_arg:* ) 20529 break ;; 20530 * ) 20531 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 20532 esac 20533 done 20534 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 20535 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20536 X"$_am_arg" : 'X\(//\)[^/]' \| \ 20537 X"$_am_arg" : 'X\(//\)$' \| \ 20538 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 20539 $as_echo X"$_am_arg" | 20540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20541 s//\1/ 20542 q 20543 } 20544 /^X\(\/\/\)[^/].*/{ 20545 s//\1/ 20546 q 20547 } 20548 /^X\(\/\/\)$/{ 20549 s//\1/ 20550 q 20551 } 20552 /^X\(\/\).*/{ 20553 s//\1/ 20554 q 20555 } 20556 s/.*/./; q'`/stamp-h$_am_stamp_count 20557 ;; 20558 20559 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 20560 $as_echo "$as_me: executing $ac_file commands" >&6;} 20561 ;; 20562 esac 20563 20564 20565 case $ac_file$ac_mode in 20566 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 20567 # Older Autoconf quotes --file arguments for eval, but not when files 20568 # are listed without --file. Let's play safe and only enable the eval 20569 # if we detect the quoting. 20570 case $CONFIG_FILES in 20571 *\'*) eval set x "$CONFIG_FILES" ;; 20572 *) set x $CONFIG_FILES ;; 20573 esac 20574 shift 20575 for mf 20576 do 20577 # Strip MF so we end up with the name of the file. 20578 mf=`echo "$mf" | sed -e 's/:.*$//'` 20579 # Check whether this is an Automake generated Makefile or not. 20580 # We used to match only the files named 'Makefile.in', but 20581 # some people rename them; so instead we look at the file content. 20582 # Grep'ing the first line is not enough: some people post-process 20583 # each Makefile.in and add a new line on top of each file to say so. 20584 # Grep'ing the whole file is not good either: AIX grep has a line 20585 # limit of 2048, but all sed's we know have understand at least 4000. 20586 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 20587 dirpart=`$as_dirname -- "$mf" || 20588 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20589 X"$mf" : 'X\(//\)[^/]' \| \ 20590 X"$mf" : 'X\(//\)$' \| \ 20591 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 20592 $as_echo X"$mf" | 20593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20594 s//\1/ 20595 q 20596 } 20597 /^X\(\/\/\)[^/].*/{ 20598 s//\1/ 20599 q 20600 } 20601 /^X\(\/\/\)$/{ 20602 s//\1/ 20603 q 20604 } 20605 /^X\(\/\).*/{ 20606 s//\1/ 20607 q 20608 } 20609 s/.*/./; q'` 20610 else 20611 continue 20612 fi 20613 # Extract the definition of DEPDIR, am__include, and am__quote 20614 # from the Makefile without running 'make'. 20615 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 20616 test -z "$DEPDIR" && continue 20617 am__include=`sed -n 's/^am__include = //p' < "$mf"` 20618 test -z "$am__include" && continue 20619 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 20620 # Find all dependency output files, they are included files with 20621 # $(DEPDIR) in their names. We invoke sed twice because it is the 20622 # simplest approach to changing $(DEPDIR) to its actual value in the 20623 # expansion. 20624 for file in `sed -n " 20625 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 20626 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 20627 # Make sure the directory exists. 20628 test -f "$dirpart/$file" && continue 20629 fdir=`$as_dirname -- "$file" || 20630 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20631 X"$file" : 'X\(//\)[^/]' \| \ 20632 X"$file" : 'X\(//\)$' \| \ 20633 X"$file" : 'X\(/\)' \| . 2>/dev/null || 20634 $as_echo X"$file" | 20635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20636 s//\1/ 20637 q 20638 } 20639 /^X\(\/\/\)[^/].*/{ 20640 s//\1/ 20641 q 20642 } 20643 /^X\(\/\/\)$/{ 20644 s//\1/ 20645 q 20646 } 20647 /^X\(\/\).*/{ 20648 s//\1/ 20649 q 20650 } 20651 s/.*/./; q'` 20652 as_dir=$dirpart/$fdir; as_fn_mkdir_p 20653 # echo "creating $dirpart/$file" 20654 echo '# dummy' > "$dirpart/$file" 20655 done 20656 done 20657 } 20658 ;; 20659 "libtool":C) 20660 20661 # See if we are running on zsh, and set the options which allow our 20662 # commands through without removal of \ escapes. 20663 if test -n "${ZSH_VERSION+set}" ; then 20664 setopt NO_GLOB_SUBST 20665 fi 20666 20667 cfgfile="${ofile}T" 20668 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 20669 $RM "$cfgfile" 20670 20671 cat <<_LT_EOF >> "$cfgfile" 20672 #! $SHELL 20673 20674 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 20675 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 20676 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 20677 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 20678 # 20679 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 20680 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software 20681 # Foundation, Inc. 20682 # Written by Gordon Matzigkeit, 1996 20683 # 20684 # This file is part of GNU Libtool. 20685 # 20686 # GNU Libtool is free software; you can redistribute it and/or 20687 # modify it under the terms of the GNU General Public License as 20688 # published by the Free Software Foundation; either version 2 of 20689 # the License, or (at your option) any later version. 20690 # 20691 # As a special exception to the GNU General Public License, 20692 # if you distribute this file as part of a program or library that 20693 # is built using GNU Libtool, you may include this file under the 20694 # same distribution terms that you use for the rest of that program. 20695 # 20696 # GNU Libtool is distributed in the hope that it will be useful, 20697 # but WITHOUT ANY WARRANTY; without even the implied warranty of 20698 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20699 # GNU General Public License for more details. 20700 # 20701 # You should have received a copy of the GNU General Public License 20702 # along with GNU Libtool; see the file COPYING. If not, a copy 20703 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 20704 # obtained by writing to the Free Software Foundation, Inc., 20705 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20706 20707 20708 # The names of the tagged configurations supported by this script. 20709 available_tags="" 20710 20711 # ### BEGIN LIBTOOL CONFIG 20712 20713 # Which release of libtool.m4 was used? 20714 macro_version=$macro_version 20715 macro_revision=$macro_revision 20716 20717 # Whether or not to build shared libraries. 20718 build_libtool_libs=$enable_shared 20719 20720 # Whether or not to build static libraries. 20721 build_old_libs=$enable_static 20722 20723 # What type of objects to build. 20724 pic_mode=$pic_mode 20725 20726 # Whether or not to optimize for fast installation. 20727 fast_install=$enable_fast_install 20728 20729 # Shell to use when invoking shell scripts. 20730 SHELL=$lt_SHELL 20731 20732 # An echo program that protects backslashes. 20733 ECHO=$lt_ECHO 20734 20735 # The PATH separator for the build system. 20736 PATH_SEPARATOR=$lt_PATH_SEPARATOR 20737 20738 # The host system. 20739 host_alias=$host_alias 20740 host=$host 20741 host_os=$host_os 20742 20743 # The build system. 20744 build_alias=$build_alias 20745 build=$build 20746 build_os=$build_os 20747 20748 # A sed program that does not truncate output. 20749 SED=$lt_SED 20750 20751 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 20752 Xsed="\$SED -e 1s/^X//" 20753 20754 # A grep program that handles long lines. 20755 GREP=$lt_GREP 20756 20757 # An ERE matcher. 20758 EGREP=$lt_EGREP 20759 20760 # A literal string matcher. 20761 FGREP=$lt_FGREP 20762 20763 # A BSD- or MS-compatible name lister. 20764 NM=$lt_NM 20765 20766 # Whether we need soft or hard links. 20767 LN_S=$lt_LN_S 20768 20769 # What is the maximum length of a command? 20770 max_cmd_len=$max_cmd_len 20771 20772 # Object file suffix (normally "o"). 20773 objext=$ac_objext 20774 20775 # Executable file suffix (normally ""). 20776 exeext=$exeext 20777 20778 # whether the shell understands "unset". 20779 lt_unset=$lt_unset 20780 20781 # turn spaces into newlines. 20782 SP2NL=$lt_lt_SP2NL 20783 20784 # turn newlines into spaces. 20785 NL2SP=$lt_lt_NL2SP 20786 20787 # convert \$build file names to \$host format. 20788 to_host_file_cmd=$lt_cv_to_host_file_cmd 20789 20790 # convert \$build files to toolchain format. 20791 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 20792 20793 # An object symbol dumper. 20794 OBJDUMP=$lt_OBJDUMP 20795 20796 # Method to check whether dependent libraries are shared objects. 20797 deplibs_check_method=$lt_deplibs_check_method 20798 20799 # Command to use when deplibs_check_method = "file_magic". 20800 file_magic_cmd=$lt_file_magic_cmd 20801 20802 # How to find potential files when deplibs_check_method = "file_magic". 20803 file_magic_glob=$lt_file_magic_glob 20804 20805 # Find potential files using nocaseglob when deplibs_check_method = "file_magic". 20806 want_nocaseglob=$lt_want_nocaseglob 20807 20808 # DLL creation program. 20809 DLLTOOL=$lt_DLLTOOL 20810 20811 # Command to associate shared and link libraries. 20812 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 20813 20814 # The archiver. 20815 AR=$lt_AR 20816 20817 # Flags to create an archive. 20818 AR_FLAGS=$lt_AR_FLAGS 20819 20820 # How to feed a file listing to the archiver. 20821 archiver_list_spec=$lt_archiver_list_spec 20822 20823 # A symbol stripping program. 20824 STRIP=$lt_STRIP 20825 20826 # Commands used to install an old-style archive. 20827 RANLIB=$lt_RANLIB 20828 old_postinstall_cmds=$lt_old_postinstall_cmds 20829 old_postuninstall_cmds=$lt_old_postuninstall_cmds 20830 20831 # Whether to use a lock for old archive extraction. 20832 lock_old_archive_extraction=$lock_old_archive_extraction 20833 20834 # A C compiler. 20835 LTCC=$lt_CC 20836 20837 # LTCC compiler flags. 20838 LTCFLAGS=$lt_CFLAGS 20839 20840 # Take the output of nm and produce a listing of raw symbols and C names. 20841 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 20842 20843 # Transform the output of nm in a proper C declaration. 20844 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 20845 20846 # Transform the output of nm in a C name address pair. 20847 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 20848 20849 # Transform the output of nm in a C name address pair when lib prefix is needed. 20850 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 20851 20852 # Specify filename containing input files for \$NM. 20853 nm_file_list_spec=$lt_nm_file_list_spec 20854 20855 # The root where to search for dependent libraries,and in which our libraries should be installed. 20856 lt_sysroot=$lt_sysroot 20857 20858 # The name of the directory that contains temporary libtool files. 20859 objdir=$objdir 20860 20861 # Used to examine libraries when file_magic_cmd begins with "file". 20862 MAGIC_CMD=$MAGIC_CMD 20863 20864 # Must we lock files when doing compilation? 20865 need_locks=$lt_need_locks 20866 20867 # Manifest tool. 20868 MANIFEST_TOOL=$lt_MANIFEST_TOOL 20869 20870 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 20871 DSYMUTIL=$lt_DSYMUTIL 20872 20873 # Tool to change global to local symbols on Mac OS X. 20874 NMEDIT=$lt_NMEDIT 20875 20876 # Tool to manipulate fat objects and archives on Mac OS X. 20877 LIPO=$lt_LIPO 20878 20879 # ldd/readelf like tool for Mach-O binaries on Mac OS X. 20880 OTOOL=$lt_OTOOL 20881 20882 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 20883 OTOOL64=$lt_OTOOL64 20884 20885 # Old archive suffix (normally "a"). 20886 libext=$libext 20887 20888 # Shared library suffix (normally ".so"). 20889 shrext_cmds=$lt_shrext_cmds 20890 20891 # The commands to extract the exported symbol list from a shared archive. 20892 extract_expsyms_cmds=$lt_extract_expsyms_cmds 20893 20894 # Variables whose values should be saved in libtool wrapper scripts and 20895 # restored at link time. 20896 variables_saved_for_relink=$lt_variables_saved_for_relink 20897 20898 # Do we need the "lib" prefix for modules? 20899 need_lib_prefix=$need_lib_prefix 20900 20901 # Do we need a version for libraries? 20902 need_version=$need_version 20903 20904 # Library versioning type. 20905 version_type=$version_type 20906 20907 # Shared library runtime path variable. 20908 runpath_var=$runpath_var 20909 20910 # Shared library path variable. 20911 shlibpath_var=$shlibpath_var 20912 20913 # Is shlibpath searched before the hard-coded library search path? 20914 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 20915 20916 # Format of library name prefix. 20917 libname_spec=$lt_libname_spec 20918 20919 # List of archive names. First name is the real one, the rest are links. 20920 # The last name is the one that the linker finds with -lNAME 20921 library_names_spec=$lt_library_names_spec 20922 20923 # The coded name of the library, if different from the real name. 20924 soname_spec=$lt_soname_spec 20925 20926 # Permission mode override for installation of shared libraries. 20927 install_override_mode=$lt_install_override_mode 20928 20929 # Command to use after installation of a shared archive. 20930 postinstall_cmds=$lt_postinstall_cmds 20931 20932 # Command to use after uninstallation of a shared archive. 20933 postuninstall_cmds=$lt_postuninstall_cmds 20934 20935 # Commands used to finish a libtool library installation in a directory. 20936 finish_cmds=$lt_finish_cmds 20937 20938 # As "finish_cmds", except a single script fragment to be evaled but 20939 # not shown. 20940 finish_eval=$lt_finish_eval 20941 20942 # Whether we should hardcode library paths into libraries. 20943 hardcode_into_libs=$hardcode_into_libs 20944 20945 # Compile-time system search path for libraries. 20946 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 20947 20948 # Run-time system search path for libraries. 20949 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 20950 20951 # Whether dlopen is supported. 20952 dlopen_support=$enable_dlopen 20953 20954 # Whether dlopen of programs is supported. 20955 dlopen_self=$enable_dlopen_self 20956 20957 # Whether dlopen of statically linked programs is supported. 20958 dlopen_self_static=$enable_dlopen_self_static 20959 20960 # Commands to strip libraries. 20961 old_striplib=$lt_old_striplib 20962 striplib=$lt_striplib 20963 20964 20965 # The linker used to build libraries. 20966 LD=$lt_LD 20967 20968 # How to create reloadable object files. 20969 reload_flag=$lt_reload_flag 20970 reload_cmds=$lt_reload_cmds 20971 20972 # Commands used to build an old-style archive. 20973 old_archive_cmds=$lt_old_archive_cmds 20974 20975 # A language specific compiler. 20976 CC=$lt_compiler 20977 20978 # Is the compiler the GNU compiler? 20979 with_gcc=$GCC 20980 20981 # Compiler flag to turn off builtin functions. 20982 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 20983 20984 # Additional compiler flags for building library objects. 20985 pic_flag=$lt_lt_prog_compiler_pic 20986 20987 # How to pass a linker flag through the compiler. 20988 wl=$lt_lt_prog_compiler_wl 20989 20990 # Compiler flag to prevent dynamic linking. 20991 link_static_flag=$lt_lt_prog_compiler_static 20992 20993 # Does compiler simultaneously support -c and -o options? 20994 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 20995 20996 # Whether or not to add -lc for building shared libraries. 20997 build_libtool_need_lc=$archive_cmds_need_lc 20998 20999 # Whether or not to disallow shared libs when runtime libs are static. 21000 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 21001 21002 # Compiler flag to allow reflexive dlopens. 21003 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 21004 21005 # Compiler flag to generate shared objects directly from archives. 21006 whole_archive_flag_spec=$lt_whole_archive_flag_spec 21007 21008 # Whether the compiler copes with passing no objects directly. 21009 compiler_needs_object=$lt_compiler_needs_object 21010 21011 # Create an old-style archive from a shared archive. 21012 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 21013 21014 # Create a temporary old-style archive to link instead of a shared archive. 21015 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 21016 21017 # Commands used to build a shared archive. 21018 archive_cmds=$lt_archive_cmds 21019 archive_expsym_cmds=$lt_archive_expsym_cmds 21020 21021 # Commands used to build a loadable module if different from building 21022 # a shared archive. 21023 module_cmds=$lt_module_cmds 21024 module_expsym_cmds=$lt_module_expsym_cmds 21025 21026 # Whether we are building with GNU ld or not. 21027 with_gnu_ld=$lt_with_gnu_ld 21028 21029 # Flag that allows shared libraries with undefined symbols to be built. 21030 allow_undefined_flag=$lt_allow_undefined_flag 21031 21032 # Flag that enforces no undefined symbols. 21033 no_undefined_flag=$lt_no_undefined_flag 21034 21035 # Flag to hardcode \$libdir into a binary during linking. 21036 # This must work even if \$libdir does not exist 21037 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 21038 21039 # Whether we need a single "-rpath" flag with a separated argument. 21040 hardcode_libdir_separator=$lt_hardcode_libdir_separator 21041 21042 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 21043 # DIR into the resulting binary. 21044 hardcode_direct=$hardcode_direct 21045 21046 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 21047 # DIR into the resulting binary and the resulting library dependency is 21048 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 21049 # library is relocated. 21050 hardcode_direct_absolute=$hardcode_direct_absolute 21051 21052 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 21053 # into the resulting binary. 21054 hardcode_minus_L=$hardcode_minus_L 21055 21056 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 21057 # into the resulting binary. 21058 hardcode_shlibpath_var=$hardcode_shlibpath_var 21059 21060 # Set to "yes" if building a shared library automatically hardcodes DIR 21061 # into the library and all subsequent libraries and executables linked 21062 # against it. 21063 hardcode_automatic=$hardcode_automatic 21064 21065 # Set to yes if linker adds runtime paths of dependent libraries 21066 # to runtime path list. 21067 inherit_rpath=$inherit_rpath 21068 21069 # Whether libtool must link a program against all its dependency libraries. 21070 link_all_deplibs=$link_all_deplibs 21071 21072 # Set to "yes" if exported symbols are required. 21073 always_export_symbols=$always_export_symbols 21074 21075 # The commands to list exported symbols. 21076 export_symbols_cmds=$lt_export_symbols_cmds 21077 21078 # Symbols that should not be listed in the preloaded symbols. 21079 exclude_expsyms=$lt_exclude_expsyms 21080 21081 # Symbols that must always be exported. 21082 include_expsyms=$lt_include_expsyms 21083 21084 # Commands necessary for linking programs (against libraries) with templates. 21085 prelink_cmds=$lt_prelink_cmds 21086 21087 # Commands necessary for finishing linking programs. 21088 postlink_cmds=$lt_postlink_cmds 21089 21090 # Specify filename containing input files. 21091 file_list_spec=$lt_file_list_spec 21092 21093 # How to hardcode a shared library path into an executable. 21094 hardcode_action=$hardcode_action 21095 21096 # ### END LIBTOOL CONFIG 21097 21098 _LT_EOF 21099 21100 case $host_os in 21101 aix3*) 21102 cat <<\_LT_EOF >> "$cfgfile" 21103 # AIX sometimes has problems with the GCC collect2 program. For some 21104 # reason, if we set the COLLECT_NAMES environment variable, the problems 21105 # vanish in a puff of smoke. 21106 if test "X${COLLECT_NAMES+set}" != Xset; then 21107 COLLECT_NAMES= 21108 export COLLECT_NAMES 21109 fi 21110 _LT_EOF 21111 ;; 21112 esac 21113 21114 21115 ltmain="$ac_aux_dir/ltmain.sh" 21116 21117 21118 # We use sed instead of cat because bash on DJGPP gets confused if 21119 # if finds mixed CR/LF and LF-only lines. Since sed operates in 21120 # text mode, it properly converts lines to CR/LF. This bash problem 21121 # is reportedly fixed, but why not run on old versions too? 21122 sed '$q' "$ltmain" >> "$cfgfile" \ 21123 || (rm -f "$cfgfile"; exit 1) 21124 21125 if test x"$xsi_shell" = xyes; then 21126 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 21127 func_dirname ()\ 21128 {\ 21129 \ case ${1} in\ 21130 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 21131 \ * ) func_dirname_result="${3}" ;;\ 21132 \ esac\ 21133 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 21134 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21135 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21136 test 0 -eq $? || _lt_function_replace_fail=: 21137 21138 21139 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 21140 func_basename ()\ 21141 {\ 21142 \ func_basename_result="${1##*/}"\ 21143 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 21144 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21145 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21146 test 0 -eq $? || _lt_function_replace_fail=: 21147 21148 21149 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 21150 func_dirname_and_basename ()\ 21151 {\ 21152 \ case ${1} in\ 21153 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 21154 \ * ) func_dirname_result="${3}" ;;\ 21155 \ esac\ 21156 \ func_basename_result="${1##*/}"\ 21157 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 21158 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21159 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21160 test 0 -eq $? || _lt_function_replace_fail=: 21161 21162 21163 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 21164 func_stripname ()\ 21165 {\ 21166 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 21167 \ # positional parameters, so assign one to ordinary parameter first.\ 21168 \ func_stripname_result=${3}\ 21169 \ func_stripname_result=${func_stripname_result#"${1}"}\ 21170 \ func_stripname_result=${func_stripname_result%"${2}"}\ 21171 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 21172 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21173 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21174 test 0 -eq $? || _lt_function_replace_fail=: 21175 21176 21177 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 21178 func_split_long_opt ()\ 21179 {\ 21180 \ func_split_long_opt_name=${1%%=*}\ 21181 \ func_split_long_opt_arg=${1#*=}\ 21182 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 21183 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21184 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21185 test 0 -eq $? || _lt_function_replace_fail=: 21186 21187 21188 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 21189 func_split_short_opt ()\ 21190 {\ 21191 \ func_split_short_opt_arg=${1#??}\ 21192 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 21193 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 21194 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21195 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21196 test 0 -eq $? || _lt_function_replace_fail=: 21197 21198 21199 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 21200 func_lo2o ()\ 21201 {\ 21202 \ case ${1} in\ 21203 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 21204 \ *) func_lo2o_result=${1} ;;\ 21205 \ esac\ 21206 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 21207 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21208 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21209 test 0 -eq $? || _lt_function_replace_fail=: 21210 21211 21212 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 21213 func_xform ()\ 21214 {\ 21215 func_xform_result=${1%.*}.lo\ 21216 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 21217 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21218 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21219 test 0 -eq $? || _lt_function_replace_fail=: 21220 21221 21222 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 21223 func_arith ()\ 21224 {\ 21225 func_arith_result=$(( $* ))\ 21226 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 21227 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21228 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21229 test 0 -eq $? || _lt_function_replace_fail=: 21230 21231 21232 sed -e '/^func_len ()$/,/^} # func_len /c\ 21233 func_len ()\ 21234 {\ 21235 func_len_result=${#1}\ 21236 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 21237 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21238 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21239 test 0 -eq $? || _lt_function_replace_fail=: 21240 21241 fi 21242 21243 if test x"$lt_shell_append" = xyes; then 21244 sed -e '/^func_append ()$/,/^} # func_append /c\ 21245 func_append ()\ 21246 {\ 21247 eval "${1}+=\\${2}"\ 21248 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 21249 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21250 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21251 test 0 -eq $? || _lt_function_replace_fail=: 21252 21253 21254 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 21255 func_append_quoted ()\ 21256 {\ 21257 \ func_quote_for_eval "${2}"\ 21258 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 21259 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 21260 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21261 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21262 test 0 -eq $? || _lt_function_replace_fail=: 21263 21264 21265 # Save a `func_append' function call where possible by direct use of '+=' 21266 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 21267 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21268 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21269 test 0 -eq $? || _lt_function_replace_fail=: 21270 else 21271 # Save a `func_append' function call even when '+=' is not available 21272 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 21273 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21274 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21275 test 0 -eq $? || _lt_function_replace_fail=: 21276 fi 21277 21278 if test x"$_lt_function_replace_fail" = x":"; then 21279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 21280 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 21281 fi 21282 21283 21284 mv -f "$cfgfile" "$ofile" || 21285 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 21286 chmod +x "$ofile" 21287 21288 ;; 21289 21290 esac 21291 done # for ac_tag 21292 21293 21294 as_fn_exit 0 21295 _ACEOF 21296 ac_clean_files=$ac_clean_files_save 21297 21298 test $ac_write_fail = 0 || 21299 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 21300 21301 21302 # configure is writing to config.log, and then calls config.status. 21303 # config.status does its own redirection, appending to config.log. 21304 # Unfortunately, on DOS this fails, as config.log is still kept open 21305 # by configure, so config.status won't be able to write to it; its 21306 # output is simply discarded. So we exec the FD to /dev/null, 21307 # effectively closing config.log, so it can be properly (re)opened and 21308 # appended to by config.status. When coming back to configure, we 21309 # need to make the FD available again. 21310 if test "$no_create" != yes; then 21311 ac_cs_success=: 21312 ac_config_status_args= 21313 test "$silent" = yes && 21314 ac_config_status_args="$ac_config_status_args --quiet" 21315 exec 5>/dev/null 21316 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 21317 exec 5>>config.log 21318 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 21319 # would make configure fail if this is the last instruction. 21320 $ac_cs_success || as_fn_exit 1 21321 fi 21322 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 21323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 21324 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 21325 fi 21326 21327 21328 { $as_echo "$as_me:${as_lineno-$LINENO}: 21329 21330 $PACKAGE_STRING 21331 21332 $FEATURES_TXT" >&5 21333 $as_echo "$as_me: 21334 21335 $PACKAGE_STRING 21336 21337 $FEATURES_TXT" >&6;}