1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.69 for planarity 3.0.0.5. 4@%:@ 5@%:@ Report bugs to <jboyer@acm.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 18DUALCASE=1; export DUALCASE # for MKS sh 19if 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 26else 27 case `(set -o) 2>/dev/null` in @%:@( 28 *posix*) : 29 set -o posix ;; @%:@( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_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. 45if 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 --' 49elif (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' 52else 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' 72fi 73 74# The user is always right. 75if 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 } 81fi 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.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in @%:@(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 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 102IFS=$as_save_IFS 103 104 ;; 105esac 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. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 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. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export 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. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in @%:@ (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $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 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if 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 170else 171 case \`(set -o) 2>/dev/null\` in @%:@( 172 *posix*) : 173 set -o posix ;; @%:@( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -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 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 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 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 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 244fi; } 245IFS=$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. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in @%:@ (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $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 267exit 255 268fi 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 jboyer@acm.org 278$0: about your system, including any error possibly output 279$0: before this message. Then install a modern shell, or 280$0: manually run the script under such a shell if you do 281$0: have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296@%:@ as_fn_unset VAR 297@%:@ --------------- 298@%:@ Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305@%:@ as_fn_set_status STATUS 306@%:@ ----------------------- 307@%:@ Set @S|@? to STATUS, without forking. 308as_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. 316as_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 "@S|@as_dir" as a directory, including parents if necessary. 326as_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. 374as_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. 384if (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 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # 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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments 400@%:@ must be portable across @S|@(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 415@%:@ ---------------------------------------- 416@%:@ Output "`basename @S|@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. 419as_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 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_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. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_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 511ECHO_C= ECHO_N= ECHO_T= 512case `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';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (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 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_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. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 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. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIB@&t@OBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='planarity' 592PACKAGE_TARNAME='planarity' 593PACKAGE_VERSION='3.0.0.5' 594PACKAGE_STRING='planarity 3.0.0.5' 595PACKAGE_BUGREPORT='jboyer@acm.org' 596PACKAGE_URL='' 597 598ac_unique_file="c/" 599# Factoring default headers for most tests. 600ac_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 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIB@&t@OBJS 639CPP 640LT_SYS_LIBRARY_PATH 641OTOOL64 642OTOOL 643LIPO 644NMEDIT 645DSYMUTIL 646MANIFEST_TOOL 647RANLIB 648ac_ct_AR 649AR 650DLLTOOL 651OBJDUMP 652LN_S 653NM 654ac_ct_DUMPBIN 655DUMPBIN 656LD 657FGREP 658EGREP 659GREP 660SED 661host_os 662host_vendor 663host_cpu 664host 665build_os 666build_vendor 667build_cpu 668build 669LIBTOOL 670am__fastdepCC_FALSE 671am__fastdepCC_TRUE 672CCDEPMODE 673am__nodep 674AMDEPBACKSLASH 675AMDEP_FALSE 676AMDEP_TRUE 677am__include 678DEPDIR 679OBJEXT 680EXEEXT 681ac_ct_CC 682CPPFLAGS 683LDFLAGS 684CFLAGS 685CC 686LT_AGE 687LT_REVISION 688LT_CURRENT 689AM_BACKSLASH 690AM_DEFAULT_VERBOSITY 691AM_DEFAULT_V 692AM_V 693am__untar 694am__tar 695AMTAR 696am__leading_dot 697SET_MAKE 698AWK 699mkdir_p 700MKDIR_P 701INSTALL_STRIP_PROGRAM 702STRIP 703install_sh 704MAKEINFO 705AUTOHEADER 706AUTOMAKE 707AUTOCONF 708ACLOCAL 709VERSION 710PACKAGE 711CYGPATH_W 712am__isrc 713INSTALL_DATA 714INSTALL_SCRIPT 715INSTALL_PROGRAM 716target_alias 717host_alias 718build_alias 719LIBS 720ECHO_T 721ECHO_N 722ECHO_C 723DEFS 724mandir 725localedir 726libdir 727psdir 728pdfdir 729dvidir 730htmldir 731infodir 732docdir 733oldincludedir 734includedir 735localstatedir 736sharedstatedir 737sysconfdir 738datadir 739datarootdir 740libexecdir 741sbindir 742bindir 743program_transform_name 744prefix 745exec_prefix 746PACKAGE_URL 747PACKAGE_BUGREPORT 748PACKAGE_STRING 749PACKAGE_VERSION 750PACKAGE_TARNAME 751PACKAGE_NAME 752PATH_SEPARATOR 753SHELL 754am__quote' 755ac_subst_files='' 756ac_user_opts=' 757enable_option_checking 758enable_silent_rules 759enable_dependency_tracking 760enable_shared 761enable_static 762with_pic 763enable_fast_install 764with_aix_soname 765with_gnu_ld 766with_sysroot 767enable_libtool_lock 768' 769 ac_precious_vars='build_alias 770host_alias 771target_alias 772CC 773CFLAGS 774LDFLAGS 775LIBS 776CPPFLAGS 777LT_SYS_LIBRARY_PATH 778CPP' 779 780 781# Initialize some variables set by options. 782ac_init_help= 783ac_init_version=false 784ac_unrecognized_opts= 785ac_unrecognized_sep= 786# The variables have the same names as the options, with 787# dashes changed to underlines. 788cache_file=/dev/null 789exec_prefix=NONE 790no_create= 791no_recursion= 792prefix=NONE 793program_prefix=NONE 794program_suffix=NONE 795program_transform_name=s,x,x, 796silent= 797site= 798srcdir= 799verbose= 800x_includes=NONE 801x_libraries=NONE 802 803# Installation directory options. 804# These are left unexpanded so users can "make install exec_prefix=/foo" 805# and all the variables that are supposed to be based on exec_prefix 806# by default will actually change. 807# Use braces instead of parens because sh, perl, etc. also accept them. 808# (The list follows the same order as the GNU Coding Standards.) 809bindir='${exec_prefix}/bin' 810sbindir='${exec_prefix}/sbin' 811libexecdir='${exec_prefix}/libexec' 812datarootdir='${prefix}/share' 813datadir='${datarootdir}' 814sysconfdir='${prefix}/etc' 815sharedstatedir='${prefix}/com' 816localstatedir='${prefix}/var' 817includedir='${prefix}/include' 818oldincludedir='/usr/include' 819docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 820infodir='${datarootdir}/info' 821htmldir='${docdir}' 822dvidir='${docdir}' 823pdfdir='${docdir}' 824psdir='${docdir}' 825libdir='${exec_prefix}/lib' 826localedir='${datarootdir}/locale' 827mandir='${datarootdir}/man' 828 829ac_prev= 830ac_dashdash= 831for ac_option 832do 833 # If the previous option needs an argument, assign it. 834 if test -n "$ac_prev"; then 835 eval $ac_prev=\$ac_option 836 ac_prev= 837 continue 838 fi 839 840 case $ac_option in 841 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 842 *=) ac_optarg= ;; 843 *) ac_optarg=yes ;; 844 esac 845 846 # Accept the important Cygnus configure options, so we can diagnose typos. 847 848 case $ac_dashdash$ac_option in 849 --) 850 ac_dashdash=yes ;; 851 852 -bindir | --bindir | --bindi | --bind | --bin | --bi) 853 ac_prev=bindir ;; 854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 855 bindir=$ac_optarg ;; 856 857 -build | --build | --buil | --bui | --bu) 858 ac_prev=build_alias ;; 859 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 860 build_alias=$ac_optarg ;; 861 862 -cache-file | --cache-file | --cache-fil | --cache-fi \ 863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 864 ac_prev=cache_file ;; 865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 867 cache_file=$ac_optarg ;; 868 869 --config-cache | -C) 870 cache_file=config.cache ;; 871 872 -datadir | --datadir | --datadi | --datad) 873 ac_prev=datadir ;; 874 -datadir=* | --datadir=* | --datadi=* | --datad=*) 875 datadir=$ac_optarg ;; 876 877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 878 | --dataroo | --dataro | --datar) 879 ac_prev=datarootdir ;; 880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 882 datarootdir=$ac_optarg ;; 883 884 -disable-* | --disable-*) 885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 886 # Reject names that are not valid shell variable names. 887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 888 as_fn_error $? "invalid feature name: $ac_useropt" 889 ac_useropt_orig=$ac_useropt 890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 891 case $ac_user_opts in 892 *" 893"enable_$ac_useropt" 894"*) ;; 895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 896 ac_unrecognized_sep=', ';; 897 esac 898 eval enable_$ac_useropt=no ;; 899 900 -docdir | --docdir | --docdi | --doc | --do) 901 ac_prev=docdir ;; 902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 903 docdir=$ac_optarg ;; 904 905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 906 ac_prev=dvidir ;; 907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 908 dvidir=$ac_optarg ;; 909 910 -enable-* | --enable-*) 911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 912 # Reject names that are not valid shell variable names. 913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 914 as_fn_error $? "invalid feature name: $ac_useropt" 915 ac_useropt_orig=$ac_useropt 916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 917 case $ac_user_opts in 918 *" 919"enable_$ac_useropt" 920"*) ;; 921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 922 ac_unrecognized_sep=', ';; 923 esac 924 eval enable_$ac_useropt=\$ac_optarg ;; 925 926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 928 | --exec | --exe | --ex) 929 ac_prev=exec_prefix ;; 930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 932 | --exec=* | --exe=* | --ex=*) 933 exec_prefix=$ac_optarg ;; 934 935 -gas | --gas | --ga | --g) 936 # Obsolete; use --with-gas. 937 with_gas=yes ;; 938 939 -help | --help | --hel | --he | -h) 940 ac_init_help=long ;; 941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 942 ac_init_help=recursive ;; 943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 944 ac_init_help=short ;; 945 946 -host | --host | --hos | --ho) 947 ac_prev=host_alias ;; 948 -host=* | --host=* | --hos=* | --ho=*) 949 host_alias=$ac_optarg ;; 950 951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 952 ac_prev=htmldir ;; 953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 954 | --ht=*) 955 htmldir=$ac_optarg ;; 956 957 -includedir | --includedir | --includedi | --included | --include \ 958 | --includ | --inclu | --incl | --inc) 959 ac_prev=includedir ;; 960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 961 | --includ=* | --inclu=* | --incl=* | --inc=*) 962 includedir=$ac_optarg ;; 963 964 -infodir | --infodir | --infodi | --infod | --info | --inf) 965 ac_prev=infodir ;; 966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 967 infodir=$ac_optarg ;; 968 969 -libdir | --libdir | --libdi | --libd) 970 ac_prev=libdir ;; 971 -libdir=* | --libdir=* | --libdi=* | --libd=*) 972 libdir=$ac_optarg ;; 973 974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 975 | --libexe | --libex | --libe) 976 ac_prev=libexecdir ;; 977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 978 | --libexe=* | --libex=* | --libe=*) 979 libexecdir=$ac_optarg ;; 980 981 -localedir | --localedir | --localedi | --localed | --locale) 982 ac_prev=localedir ;; 983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 984 localedir=$ac_optarg ;; 985 986 -localstatedir | --localstatedir | --localstatedi | --localstated \ 987 | --localstate | --localstat | --localsta | --localst | --locals) 988 ac_prev=localstatedir ;; 989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 991 localstatedir=$ac_optarg ;; 992 993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 994 ac_prev=mandir ;; 995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 996 mandir=$ac_optarg ;; 997 998 -nfp | --nfp | --nf) 999 # Obsolete; use --without-fp. 1000 with_fp=no ;; 1001 1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1003 | --no-cr | --no-c | -n) 1004 no_create=yes ;; 1005 1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1008 no_recursion=yes ;; 1009 1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1012 | --oldin | --oldi | --old | --ol | --o) 1013 ac_prev=oldincludedir ;; 1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1017 oldincludedir=$ac_optarg ;; 1018 1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1020 ac_prev=prefix ;; 1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1022 prefix=$ac_optarg ;; 1023 1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1025 | --program-pre | --program-pr | --program-p) 1026 ac_prev=program_prefix ;; 1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1029 program_prefix=$ac_optarg ;; 1030 1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1032 | --program-suf | --program-su | --program-s) 1033 ac_prev=program_suffix ;; 1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1036 program_suffix=$ac_optarg ;; 1037 1038 -program-transform-name | --program-transform-name \ 1039 | --program-transform-nam | --program-transform-na \ 1040 | --program-transform-n | --program-transform- \ 1041 | --program-transform | --program-transfor \ 1042 | --program-transfo | --program-transf \ 1043 | --program-trans | --program-tran \ 1044 | --progr-tra | --program-tr | --program-t) 1045 ac_prev=program_transform_name ;; 1046 -program-transform-name=* | --program-transform-name=* \ 1047 | --program-transform-nam=* | --program-transform-na=* \ 1048 | --program-transform-n=* | --program-transform-=* \ 1049 | --program-transform=* | --program-transfor=* \ 1050 | --program-transfo=* | --program-transf=* \ 1051 | --program-trans=* | --program-tran=* \ 1052 | --progr-tra=* | --program-tr=* | --program-t=*) 1053 program_transform_name=$ac_optarg ;; 1054 1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1056 ac_prev=pdfdir ;; 1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1058 pdfdir=$ac_optarg ;; 1059 1060 -psdir | --psdir | --psdi | --psd | --ps) 1061 ac_prev=psdir ;; 1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1063 psdir=$ac_optarg ;; 1064 1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1066 | -silent | --silent | --silen | --sile | --sil) 1067 silent=yes ;; 1068 1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1070 ac_prev=sbindir ;; 1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1072 | --sbi=* | --sb=*) 1073 sbindir=$ac_optarg ;; 1074 1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1077 | --sharedst | --shareds | --shared | --share | --shar \ 1078 | --sha | --sh) 1079 ac_prev=sharedstatedir ;; 1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1083 | --sha=* | --sh=*) 1084 sharedstatedir=$ac_optarg ;; 1085 1086 -site | --site | --sit) 1087 ac_prev=site ;; 1088 -site=* | --site=* | --sit=*) 1089 site=$ac_optarg ;; 1090 1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1092 ac_prev=srcdir ;; 1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1094 srcdir=$ac_optarg ;; 1095 1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1097 | --syscon | --sysco | --sysc | --sys | --sy) 1098 ac_prev=sysconfdir ;; 1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1101 sysconfdir=$ac_optarg ;; 1102 1103 -target | --target | --targe | --targ | --tar | --ta | --t) 1104 ac_prev=target_alias ;; 1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1106 target_alias=$ac_optarg ;; 1107 1108 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1109 verbose=yes ;; 1110 1111 -version | --version | --versio | --versi | --vers | -V) 1112 ac_init_version=: ;; 1113 1114 -with-* | --with-*) 1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1116 # Reject names that are not valid shell variable names. 1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1118 as_fn_error $? "invalid package name: $ac_useropt" 1119 ac_useropt_orig=$ac_useropt 1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1121 case $ac_user_opts in 1122 *" 1123"with_$ac_useropt" 1124"*) ;; 1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1126 ac_unrecognized_sep=', ';; 1127 esac 1128 eval with_$ac_useropt=\$ac_optarg ;; 1129 1130 -without-* | --without-*) 1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1132 # Reject names that are not valid shell variable names. 1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1134 as_fn_error $? "invalid package name: $ac_useropt" 1135 ac_useropt_orig=$ac_useropt 1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1137 case $ac_user_opts in 1138 *" 1139"with_$ac_useropt" 1140"*) ;; 1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1142 ac_unrecognized_sep=', ';; 1143 esac 1144 eval with_$ac_useropt=no ;; 1145 1146 --x) 1147 # Obsolete; use --with-x. 1148 with_x=yes ;; 1149 1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1151 | --x-incl | --x-inc | --x-in | --x-i) 1152 ac_prev=x_includes ;; 1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1155 x_includes=$ac_optarg ;; 1156 1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1159 ac_prev=x_libraries ;; 1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1162 x_libraries=$ac_optarg ;; 1163 1164 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1165Try \`$0 --help' for more information" 1166 ;; 1167 1168 *=*) 1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1170 # Reject names that are not valid shell variable names. 1171 case $ac_envvar in #( 1172 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1173 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1174 esac 1175 eval $ac_envvar=\$ac_optarg 1176 export $ac_envvar ;; 1177 1178 *) 1179 # FIXME: should be removed in autoconf 3.0. 1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1183 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1184 ;; 1185 1186 esac 1187done 1188 1189if test -n "$ac_prev"; then 1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1191 as_fn_error $? "missing argument to $ac_option" 1192fi 1193 1194if test -n "$ac_unrecognized_opts"; then 1195 case $enable_option_checking in 1196 no) ;; 1197 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1199 esac 1200fi 1201 1202# Check all directory arguments for consistency. 1203for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1204 datadir sysconfdir sharedstatedir localstatedir includedir \ 1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1206 libdir localedir mandir 1207do 1208 eval ac_val=\$$ac_var 1209 # Remove trailing slashes. 1210 case $ac_val in 1211 */ ) 1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1213 eval $ac_var=\$ac_val;; 1214 esac 1215 # Be sure to have absolute directory names. 1216 case $ac_val in 1217 [\\/$]* | ?:[\\/]* ) continue;; 1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1219 esac 1220 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1221done 1222 1223# There might be people who depend on the old broken behavior: `$host' 1224# used to hold the argument of --host etc. 1225# FIXME: To remove some day. 1226build=$build_alias 1227host=$host_alias 1228target=$target_alias 1229 1230# FIXME: To remove some day. 1231if test "x$host_alias" != x; then 1232 if test "x$build_alias" = x; then 1233 cross_compiling=maybe 1234 elif test "x$build_alias" != "x$host_alias"; then 1235 cross_compiling=yes 1236 fi 1237fi 1238 1239ac_tool_prefix= 1240test -n "$host_alias" && ac_tool_prefix=$host_alias- 1241 1242test "$silent" = yes && exec 6>/dev/null 1243 1244 1245ac_pwd=`pwd` && test -n "$ac_pwd" && 1246ac_ls_di=`ls -di .` && 1247ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1248 as_fn_error $? "working directory cannot be determined" 1249test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1250 as_fn_error $? "pwd does not report name of working directory" 1251 1252 1253# Find the source files, if location was not specified. 1254if test -z "$srcdir"; then 1255 ac_srcdir_defaulted=yes 1256 # Try the directory containing this script, then the parent directory. 1257 ac_confdir=`$as_dirname -- "$as_myself" || 1258$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1259 X"$as_myself" : 'X\(//\)[^/]' \| \ 1260 X"$as_myself" : 'X\(//\)$' \| \ 1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1262$as_echo X"$as_myself" | 1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1264 s//\1/ 1265 q 1266 } 1267 /^X\(\/\/\)[^/].*/{ 1268 s//\1/ 1269 q 1270 } 1271 /^X\(\/\/\)$/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\).*/{ 1276 s//\1/ 1277 q 1278 } 1279 s/.*/./; q'` 1280 srcdir=$ac_confdir 1281 if test ! -r "$srcdir/$ac_unique_file"; then 1282 srcdir=.. 1283 fi 1284else 1285 ac_srcdir_defaulted=no 1286fi 1287if test ! -r "$srcdir/$ac_unique_file"; then 1288 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1289 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1290fi 1291ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1292ac_abs_confdir=`( 1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1294 pwd)` 1295# When building in place, set srcdir=. 1296if test "$ac_abs_confdir" = "$ac_pwd"; then 1297 srcdir=. 1298fi 1299# Remove unnecessary trailing slashes from srcdir. 1300# Double slashes in file names in object file debugging info 1301# mess up M-x gdb in Emacs. 1302case $srcdir in 1303*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1304esac 1305for ac_var in $ac_precious_vars; do 1306 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1307 eval ac_env_${ac_var}_value=\$${ac_var} 1308 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1309 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1310done 1311 1312# 1313# Report the --help message. 1314# 1315if test "$ac_init_help" = "long"; then 1316 # Omit some internal or obsolete options to make the list less imposing. 1317 # This message is too long to be a string in the A/UX 3.1 sh. 1318 cat <<_ACEOF 1319\`configure' configures planarity 3.0.0.5 to adapt to many kinds of systems. 1320 1321Usage: $0 [OPTION]... [VAR=VALUE]... 1322 1323To assign environment variables (e.g., CC, CFLAGS...), specify them as 1324VAR=VALUE. See below for descriptions of some of the useful variables. 1325 1326Defaults for the options are specified in brackets. 1327 1328Configuration: 1329 -h, --help display this help and exit 1330 --help=short display options specific to this package 1331 --help=recursive display the short help of all the included packages 1332 -V, --version display version information and exit 1333 -q, --quiet, --silent do not print \`checking ...' messages 1334 --cache-file=FILE cache test results in FILE [disabled] 1335 -C, --config-cache alias for \`--cache-file=config.cache' 1336 -n, --no-create do not create output files 1337 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1338 1339Installation directories: 1340 --prefix=PREFIX install architecture-independent files in PREFIX 1341 @<:@@S|@ac_default_prefix@:>@ 1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1343 @<:@PREFIX@:>@ 1344 1345By default, \`make install' will install all the files in 1346\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1347an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1348for instance \`--prefix=\$HOME'. 1349 1350For better control, use the options below. 1351 1352Fine tuning of the installation directories: 1353 --bindir=DIR user executables [EPREFIX/bin] 1354 --sbindir=DIR system admin executables [EPREFIX/sbin] 1355 --libexecdir=DIR program executables [EPREFIX/libexec] 1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1359 --libdir=DIR object code libraries [EPREFIX/lib] 1360 --includedir=DIR C header files [PREFIX/include] 1361 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1364 --infodir=DIR info documentation [DATAROOTDIR/info] 1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1366 --mandir=DIR man documentation [DATAROOTDIR/man] 1367 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/planarity@:>@ 1368 --htmldir=DIR html documentation [DOCDIR] 1369 --dvidir=DIR dvi documentation [DOCDIR] 1370 --pdfdir=DIR pdf documentation [DOCDIR] 1371 --psdir=DIR ps documentation [DOCDIR] 1372_ACEOF 1373 1374 cat <<\_ACEOF 1375 1376Program names: 1377 --program-prefix=PREFIX prepend PREFIX to installed program names 1378 --program-suffix=SUFFIX append SUFFIX to installed program names 1379 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1380 1381System types: 1382 --build=BUILD configure for building on BUILD [guessed] 1383 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1384_ACEOF 1385fi 1386 1387if test -n "$ac_init_help"; then 1388 case $ac_init_help in 1389 short | recursive ) echo "Configuration of planarity 3.0.0.5:";; 1390 esac 1391 cat <<\_ACEOF 1392 1393Optional Features: 1394 --disable-option-checking ignore unrecognized --enable/--with options 1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1397 --enable-silent-rules less verbose build output (undo: "make V=1") 1398 --disable-silent-rules verbose build output (undo: "make V=0") 1399 --enable-dependency-tracking 1400 do not reject slow dependency extractors 1401 --disable-dependency-tracking 1402 speeds up one-time build 1403 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ 1404 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@ 1405 --enable-fast-install@<:@=PKGS@:>@ 1406 optimize for fast installation @<:@default=yes@:>@ 1407 --disable-libtool-lock avoid locking (might break parallel builds) 1408 1409Optional Packages: 1410 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1411 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1412 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use 1413 both@:>@ 1414 --with-aix-soname=aix|svr4|both 1415 shared library versioning (aka "SONAME") variant to 1416 provide on AIX, @<:@default=aix@:>@. 1417 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ 1418 --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the 1419 compiler's sysroot if not specified). 1420 1421Some influential environment variables: 1422 CC C compiler command 1423 CFLAGS C compiler flags 1424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1425 nonstandard directory <lib dir> 1426 LIBS libraries to pass to the linker, e.g. -l<library> 1427 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1428 you have headers in a nonstandard directory <include dir> 1429 LT_SYS_LIBRARY_PATH 1430 User-defined run-time library search path. 1431 CPP C preprocessor 1432 1433Use these variables to override the choices made by `configure' or to help 1434it to find libraries and programs with nonstandard names/locations. 1435 1436Report bugs to <jboyer@acm.org>. 1437_ACEOF 1438ac_status=$? 1439fi 1440 1441if test "$ac_init_help" = "recursive"; then 1442 # If there are subdirs, report their specific --help. 1443 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1444 test -d "$ac_dir" || 1445 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1446 continue 1447 ac_builddir=. 1448 1449case "$ac_dir" in 1450.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1451*) 1452 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1453 # A ".." for each directory in $ac_dir_suffix. 1454 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1455 case $ac_top_builddir_sub in 1456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1458 esac ;; 1459esac 1460ac_abs_top_builddir=$ac_pwd 1461ac_abs_builddir=$ac_pwd$ac_dir_suffix 1462# for backward compatibility: 1463ac_top_builddir=$ac_top_build_prefix 1464 1465case $srcdir in 1466 .) # We are building in place. 1467 ac_srcdir=. 1468 ac_top_srcdir=$ac_top_builddir_sub 1469 ac_abs_top_srcdir=$ac_pwd ;; 1470 [\\/]* | ?:[\\/]* ) # Absolute name. 1471 ac_srcdir=$srcdir$ac_dir_suffix; 1472 ac_top_srcdir=$srcdir 1473 ac_abs_top_srcdir=$srcdir ;; 1474 *) # Relative name. 1475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1476 ac_top_srcdir=$ac_top_build_prefix$srcdir 1477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1478esac 1479ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1480 1481 cd "$ac_dir" || { ac_status=$?; continue; } 1482 # Check for guested configure. 1483 if test -f "$ac_srcdir/configure.gnu"; then 1484 echo && 1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1486 elif test -f "$ac_srcdir/configure"; then 1487 echo && 1488 $SHELL "$ac_srcdir/configure" --help=recursive 1489 else 1490 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1491 fi || ac_status=$? 1492 cd "$ac_pwd" || { ac_status=$?; break; } 1493 done 1494fi 1495 1496test -n "$ac_init_help" && exit $ac_status 1497if $ac_init_version; then 1498 cat <<\_ACEOF 1499planarity configure 3.0.0.5 1500generated by GNU Autoconf 2.69 1501 1502Copyright (C) 2012 Free Software Foundation, Inc. 1503This configure script is free software; the Free Software Foundation 1504gives unlimited permission to copy, distribute and modify it. 1505_ACEOF 1506 exit 1507fi 1508 1509## ------------------------ ## 1510## Autoconf initialization. ## 1511## ------------------------ ## 1512 1513@%:@ ac_fn_c_try_compile LINENO 1514@%:@ -------------------------- 1515@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1516ac_fn_c_try_compile () 1517{ 1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1519 rm -f conftest.$ac_objext 1520 if { { ac_try="$ac_compile" 1521case "(($ac_try" in 1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1523 *) ac_try_echo=$ac_try;; 1524esac 1525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1526$as_echo "$ac_try_echo"; } >&5 1527 (eval "$ac_compile") 2>conftest.err 1528 ac_status=$? 1529 if test -s conftest.err; then 1530 grep -v '^ *+' conftest.err >conftest.er1 1531 cat conftest.er1 >&5 1532 mv -f conftest.er1 conftest.err 1533 fi 1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1535 test $ac_status = 0; } && { 1536 test -z "$ac_c_werror_flag" || 1537 test ! -s conftest.err 1538 } && test -s conftest.$ac_objext; then : 1539 ac_retval=0 1540else 1541 $as_echo "$as_me: failed program was:" >&5 1542sed 's/^/| /' conftest.$ac_ext >&5 1543 1544 ac_retval=1 1545fi 1546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1547 as_fn_set_status $ac_retval 1548 1549} @%:@ ac_fn_c_try_compile 1550 1551@%:@ ac_fn_c_try_link LINENO 1552@%:@ ----------------------- 1553@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1554ac_fn_c_try_link () 1555{ 1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1557 rm -f conftest.$ac_objext conftest$ac_exeext 1558 if { { ac_try="$ac_link" 1559case "(($ac_try" in 1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1561 *) ac_try_echo=$ac_try;; 1562esac 1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1564$as_echo "$ac_try_echo"; } >&5 1565 (eval "$ac_link") 2>conftest.err 1566 ac_status=$? 1567 if test -s conftest.err; then 1568 grep -v '^ *+' conftest.err >conftest.er1 1569 cat conftest.er1 >&5 1570 mv -f conftest.er1 conftest.err 1571 fi 1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1573 test $ac_status = 0; } && { 1574 test -z "$ac_c_werror_flag" || 1575 test ! -s conftest.err 1576 } && test -s conftest$ac_exeext && { 1577 test "$cross_compiling" = yes || 1578 test -x conftest$ac_exeext 1579 }; then : 1580 ac_retval=0 1581else 1582 $as_echo "$as_me: failed program was:" >&5 1583sed 's/^/| /' conftest.$ac_ext >&5 1584 1585 ac_retval=1 1586fi 1587 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1588 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1589 # interfere with the next link command; also delete a directory that is 1590 # left behind by Apple's compiler. We do this before executing the actions. 1591 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1593 as_fn_set_status $ac_retval 1594 1595} @%:@ ac_fn_c_try_link 1596 1597@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1598@%:@ ------------------------------------------------------- 1599@%:@ Tests whether HEADER exists and can be compiled using the include files in 1600@%:@ INCLUDES, setting the cache variable VAR accordingly. 1601ac_fn_c_check_header_compile () 1602{ 1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1605$as_echo_n "checking for $2... " >&6; } 1606if eval \${$3+:} false; then : 1607 $as_echo_n "(cached) " >&6 1608else 1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1610/* end confdefs.h. */ 1611$4 1612@%:@include <$2> 1613_ACEOF 1614if ac_fn_c_try_compile "$LINENO"; then : 1615 eval "$3=yes" 1616else 1617 eval "$3=no" 1618fi 1619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1620fi 1621eval ac_res=\$$3 1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1623$as_echo "$ac_res" >&6; } 1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1625 1626} @%:@ ac_fn_c_check_header_compile 1627 1628@%:@ ac_fn_c_try_cpp LINENO 1629@%:@ ---------------------- 1630@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1631ac_fn_c_try_cpp () 1632{ 1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1634 if { { ac_try="$ac_cpp conftest.$ac_ext" 1635case "(($ac_try" in 1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1637 *) ac_try_echo=$ac_try;; 1638esac 1639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1640$as_echo "$ac_try_echo"; } >&5 1641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1642 ac_status=$? 1643 if test -s conftest.err; then 1644 grep -v '^ *+' conftest.err >conftest.er1 1645 cat conftest.er1 >&5 1646 mv -f conftest.er1 conftest.err 1647 fi 1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1649 test $ac_status = 0; } > conftest.i && { 1650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1651 test ! -s conftest.err 1652 }; then : 1653 ac_retval=0 1654else 1655 $as_echo "$as_me: failed program was:" >&5 1656sed 's/^/| /' conftest.$ac_ext >&5 1657 1658 ac_retval=1 1659fi 1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1661 as_fn_set_status $ac_retval 1662 1663} @%:@ ac_fn_c_try_cpp 1664 1665@%:@ ac_fn_c_try_run LINENO 1666@%:@ ---------------------- 1667@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes 1668@%:@ that executables *can* be run. 1669ac_fn_c_try_run () 1670{ 1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1672 if { { ac_try="$ac_link" 1673case "(($ac_try" in 1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1675 *) ac_try_echo=$ac_try;; 1676esac 1677eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1678$as_echo "$ac_try_echo"; } >&5 1679 (eval "$ac_link") 2>&5 1680 ac_status=$? 1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1683 { { case "(($ac_try" in 1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1685 *) ac_try_echo=$ac_try;; 1686esac 1687eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1688$as_echo "$ac_try_echo"; } >&5 1689 (eval "$ac_try") 2>&5 1690 ac_status=$? 1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1692 test $ac_status = 0; }; }; then : 1693 ac_retval=0 1694else 1695 $as_echo "$as_me: program exited with status $ac_status" >&5 1696 $as_echo "$as_me: failed program was:" >&5 1697sed 's/^/| /' conftest.$ac_ext >&5 1698 1699 ac_retval=$ac_status 1700fi 1701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1703 as_fn_set_status $ac_retval 1704 1705} @%:@ ac_fn_c_try_run 1706 1707@%:@ ac_fn_c_check_func LINENO FUNC VAR 1708@%:@ ---------------------------------- 1709@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1710ac_fn_c_check_func () 1711{ 1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1714$as_echo_n "checking for $2... " >&6; } 1715if eval \${$3+:} false; then : 1716 $as_echo_n "(cached) " >&6 1717else 1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1719/* end confdefs.h. */ 1720/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1721 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1722#define $2 innocuous_$2 1723 1724/* System header to define __stub macros and hopefully few prototypes, 1725 which can conflict with char $2 (); below. 1726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1727 <limits.h> exists even on freestanding compilers. */ 1728 1729#ifdef __STDC__ 1730# include <limits.h> 1731#else 1732# include <assert.h> 1733#endif 1734 1735#undef $2 1736 1737/* Override any GCC internal prototype to avoid an error. 1738 Use char because int might match the return type of a GCC 1739 builtin and then its argument prototype would still apply. */ 1740#ifdef __cplusplus 1741extern "C" 1742#endif 1743char $2 (); 1744/* The GNU C library defines this for functions which it implements 1745 to always fail with ENOSYS. Some functions are actually named 1746 something starting with __ and the normal name is an alias. */ 1747#if defined __stub_$2 || defined __stub___$2 1748choke me 1749#endif 1750 1751int 1752main () 1753{ 1754return $2 (); 1755 ; 1756 return 0; 1757} 1758_ACEOF 1759if ac_fn_c_try_link "$LINENO"; then : 1760 eval "$3=yes" 1761else 1762 eval "$3=no" 1763fi 1764rm -f core conftest.err conftest.$ac_objext \ 1765 conftest$ac_exeext conftest.$ac_ext 1766fi 1767eval ac_res=\$$3 1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1769$as_echo "$ac_res" >&6; } 1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1771 1772} @%:@ ac_fn_c_check_func 1773 1774@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1775@%:@ ------------------------------------------------------- 1776@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using 1777@%:@ the include files in INCLUDES and setting the cache variable VAR 1778@%:@ accordingly. 1779ac_fn_c_check_header_mongrel () 1780{ 1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1782 if eval \${$3+:} false; then : 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1784$as_echo_n "checking for $2... " >&6; } 1785if eval \${$3+:} false; then : 1786 $as_echo_n "(cached) " >&6 1787fi 1788eval ac_res=\$$3 1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1790$as_echo "$ac_res" >&6; } 1791else 1792 # Is the header compilable? 1793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1794$as_echo_n "checking $2 usability... " >&6; } 1795cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1796/* end confdefs.h. */ 1797$4 1798@%:@include <$2> 1799_ACEOF 1800if ac_fn_c_try_compile "$LINENO"; then : 1801 ac_header_compiler=yes 1802else 1803 ac_header_compiler=no 1804fi 1805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1807$as_echo "$ac_header_compiler" >&6; } 1808 1809# Is the header present? 1810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1811$as_echo_n "checking $2 presence... " >&6; } 1812cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1813/* end confdefs.h. */ 1814@%:@include <$2> 1815_ACEOF 1816if ac_fn_c_try_cpp "$LINENO"; then : 1817 ac_header_preproc=yes 1818else 1819 ac_header_preproc=no 1820fi 1821rm -f conftest.err conftest.i conftest.$ac_ext 1822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1823$as_echo "$ac_header_preproc" >&6; } 1824 1825# So? What about this header? 1826case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1827 yes:no: ) 1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1829$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1831$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1832 ;; 1833 no:yes:* ) 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1835$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1837$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1839$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1841$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1843$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1844( $as_echo "## ----------------------------- ## 1845## Report this to jboyer@acm.org ## 1846## ----------------------------- ##" 1847 ) | sed "s/^/$as_me: WARNING: /" >&2 1848 ;; 1849esac 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1851$as_echo_n "checking for $2... " >&6; } 1852if eval \${$3+:} false; then : 1853 $as_echo_n "(cached) " >&6 1854else 1855 eval "$3=\$ac_header_compiler" 1856fi 1857eval ac_res=\$$3 1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1859$as_echo "$ac_res" >&6; } 1860fi 1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1862 1863} @%:@ ac_fn_c_check_header_mongrel 1864cat >config.log <<_ACEOF 1865This file contains any messages produced by compilers while 1866running configure, to aid debugging if configure makes a mistake. 1867 1868It was created by planarity $as_me 3.0.0.5, which was 1869generated by GNU Autoconf 2.69. Invocation command line was 1870 1871 $ $0 $@ 1872 1873_ACEOF 1874exec 5>>config.log 1875{ 1876cat <<_ASUNAME 1877## --------- ## 1878## Platform. ## 1879## --------- ## 1880 1881hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1882uname -m = `(uname -m) 2>/dev/null || echo unknown` 1883uname -r = `(uname -r) 2>/dev/null || echo unknown` 1884uname -s = `(uname -s) 2>/dev/null || echo unknown` 1885uname -v = `(uname -v) 2>/dev/null || echo unknown` 1886 1887/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1888/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1889 1890/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1891/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1892/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1893/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1894/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1895/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1896/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1897 1898_ASUNAME 1899 1900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1901for as_dir in $PATH 1902do 1903 IFS=$as_save_IFS 1904 test -z "$as_dir" && as_dir=. 1905 $as_echo "PATH: $as_dir" 1906 done 1907IFS=$as_save_IFS 1908 1909} >&5 1910 1911cat >&5 <<_ACEOF 1912 1913 1914## ----------- ## 1915## Core tests. ## 1916## ----------- ## 1917 1918_ACEOF 1919 1920 1921# Keep a trace of the command line. 1922# Strip out --no-create and --no-recursion so they do not pile up. 1923# Strip out --silent because we don't want to record it for future runs. 1924# Also quote any args containing shell meta-characters. 1925# Make two passes to allow for proper duplicate-argument suppression. 1926ac_configure_args= 1927ac_configure_args0= 1928ac_configure_args1= 1929ac_must_keep_next=false 1930for ac_pass in 1 2 1931do 1932 for ac_arg 1933 do 1934 case $ac_arg in 1935 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1937 | -silent | --silent | --silen | --sile | --sil) 1938 continue ;; 1939 *\'*) 1940 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1941 esac 1942 case $ac_pass in 1943 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1944 2) 1945 as_fn_append ac_configure_args1 " '$ac_arg'" 1946 if test $ac_must_keep_next = true; then 1947 ac_must_keep_next=false # Got value, back to normal. 1948 else 1949 case $ac_arg in 1950 *=* | --config-cache | -C | -disable-* | --disable-* \ 1951 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1952 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1953 | -with-* | --with-* | -without-* | --without-* | --x) 1954 case "$ac_configure_args0 " in 1955 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1956 esac 1957 ;; 1958 -* ) ac_must_keep_next=true ;; 1959 esac 1960 fi 1961 as_fn_append ac_configure_args " '$ac_arg'" 1962 ;; 1963 esac 1964 done 1965done 1966{ ac_configure_args0=; unset ac_configure_args0;} 1967{ ac_configure_args1=; unset ac_configure_args1;} 1968 1969# When interrupted or exit'd, cleanup temporary files, and complete 1970# config.log. We remove comments because anyway the quotes in there 1971# would cause problems or look ugly. 1972# WARNING: Use '\'' to represent an apostrophe within the trap. 1973# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1974trap 'exit_status=$? 1975 # Save into config.log some information that might help in debugging. 1976 { 1977 echo 1978 1979 $as_echo "## ---------------- ## 1980## Cache variables. ## 1981## ---------------- ##" 1982 echo 1983 # The following way of writing the cache mishandles newlines in values, 1984( 1985 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1986 eval ac_val=\$$ac_var 1987 case $ac_val in #( 1988 *${as_nl}*) 1989 case $ac_var in #( 1990 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1991$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1992 esac 1993 case $ac_var in #( 1994 _ | IFS | as_nl) ;; #( 1995 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1996 *) { eval $ac_var=; unset $ac_var;} ;; 1997 esac ;; 1998 esac 1999 done 2000 (set) 2>&1 | 2001 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2002 *${as_nl}ac_space=\ *) 2003 sed -n \ 2004 "s/'\''/'\''\\\\'\'''\''/g; 2005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2006 ;; #( 2007 *) 2008 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2009 ;; 2010 esac | 2011 sort 2012) 2013 echo 2014 2015 $as_echo "## ----------------- ## 2016## Output variables. ## 2017## ----------------- ##" 2018 echo 2019 for ac_var in $ac_subst_vars 2020 do 2021 eval ac_val=\$$ac_var 2022 case $ac_val in 2023 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2024 esac 2025 $as_echo "$ac_var='\''$ac_val'\''" 2026 done | sort 2027 echo 2028 2029 if test -n "$ac_subst_files"; then 2030 $as_echo "## ------------------- ## 2031## File substitutions. ## 2032## ------------------- ##" 2033 echo 2034 for ac_var in $ac_subst_files 2035 do 2036 eval ac_val=\$$ac_var 2037 case $ac_val in 2038 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2039 esac 2040 $as_echo "$ac_var='\''$ac_val'\''" 2041 done | sort 2042 echo 2043 fi 2044 2045 if test -s confdefs.h; then 2046 $as_echo "## ----------- ## 2047## confdefs.h. ## 2048## ----------- ##" 2049 echo 2050 cat confdefs.h 2051 echo 2052 fi 2053 test "$ac_signal" != 0 && 2054 $as_echo "$as_me: caught signal $ac_signal" 2055 $as_echo "$as_me: exit $exit_status" 2056 } >&5 2057 rm -f core *.core core.conftest.* && 2058 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2059 exit $exit_status 2060' 0 2061for ac_signal in 1 2 13 15; do 2062 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2063done 2064ac_signal=0 2065 2066# confdefs.h avoids OS command line length limits that DEFS can exceed. 2067rm -f -r conftest* confdefs.h 2068 2069$as_echo "/* confdefs.h */" > confdefs.h 2070 2071# Predefined preprocessor variables. 2072 2073cat >>confdefs.h <<_ACEOF 2074@%:@define PACKAGE_NAME "$PACKAGE_NAME" 2075_ACEOF 2076 2077cat >>confdefs.h <<_ACEOF 2078@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2079_ACEOF 2080 2081cat >>confdefs.h <<_ACEOF 2082@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 2083_ACEOF 2084 2085cat >>confdefs.h <<_ACEOF 2086@%:@define PACKAGE_STRING "$PACKAGE_STRING" 2087_ACEOF 2088 2089cat >>confdefs.h <<_ACEOF 2090@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2091_ACEOF 2092 2093cat >>confdefs.h <<_ACEOF 2094@%:@define PACKAGE_URL "$PACKAGE_URL" 2095_ACEOF 2096 2097 2098# Let the site file select an alternate cache file if it wants to. 2099# Prefer an explicitly selected file to automatically selected ones. 2100ac_site_file1=NONE 2101ac_site_file2=NONE 2102if test -n "$CONFIG_SITE"; then 2103 # We do not want a PATH search for config.site. 2104 case $CONFIG_SITE in @%:@(( 2105 -*) ac_site_file1=./$CONFIG_SITE;; 2106 */*) ac_site_file1=$CONFIG_SITE;; 2107 *) ac_site_file1=./$CONFIG_SITE;; 2108 esac 2109elif test "x$prefix" != xNONE; then 2110 ac_site_file1=$prefix/share/config.site 2111 ac_site_file2=$prefix/etc/config.site 2112else 2113 ac_site_file1=$ac_default_prefix/share/config.site 2114 ac_site_file2=$ac_default_prefix/etc/config.site 2115fi 2116for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2117do 2118 test "x$ac_site_file" = xNONE && continue 2119 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2120 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2121$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2122 sed 's/^/| /' "$ac_site_file" >&5 2123 . "$ac_site_file" \ 2124 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2125$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2126as_fn_error $? "failed to load site script $ac_site_file 2127See \`config.log' for more details" "$LINENO" 5; } 2128 fi 2129done 2130 2131if test -r "$cache_file"; then 2132 # Some versions of bash will fail to source /dev/null (special files 2133 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2134 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2135 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2136$as_echo "$as_me: loading cache $cache_file" >&6;} 2137 case $cache_file in 2138 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2139 *) . "./$cache_file";; 2140 esac 2141 fi 2142else 2143 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2144$as_echo "$as_me: creating cache $cache_file" >&6;} 2145 >$cache_file 2146fi 2147 2148# Check that the precious variables saved in the cache have kept the same 2149# value. 2150ac_cache_corrupted=false 2151for ac_var in $ac_precious_vars; do 2152 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2153 eval ac_new_set=\$ac_env_${ac_var}_set 2154 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2155 eval ac_new_val=\$ac_env_${ac_var}_value 2156 case $ac_old_set,$ac_new_set in 2157 set,) 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2159$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2160 ac_cache_corrupted=: ;; 2161 ,set) 2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2163$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2164 ac_cache_corrupted=: ;; 2165 ,);; 2166 *) 2167 if test "x$ac_old_val" != "x$ac_new_val"; then 2168 # differences in whitespace do not lead to failure. 2169 ac_old_val_w=`echo x $ac_old_val` 2170 ac_new_val_w=`echo x $ac_new_val` 2171 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2173$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2174 ac_cache_corrupted=: 2175 else 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2177$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2178 eval $ac_var=\$ac_old_val 2179 fi 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2181$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2182 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2183$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2184 fi;; 2185 esac 2186 # Pass precious variables to config.status. 2187 if test "$ac_new_set" = set; then 2188 case $ac_new_val in 2189 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2190 *) ac_arg=$ac_var=$ac_new_val ;; 2191 esac 2192 case " $ac_configure_args " in 2193 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2194 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2195 esac 2196 fi 2197done 2198if $ac_cache_corrupted; then 2199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2200$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2202$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2203 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2204fi 2205## -------------------- ## 2206## Main body of script. ## 2207## -------------------- ## 2208 2209ac_ext=c 2210ac_cpp='$CPP $CPPFLAGS' 2211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2213ac_compiler_gnu=$ac_cv_c_compiler_gnu 2214 2215 2216am__api_version='1.16' 2217 2218ac_aux_dir= 2219for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2220 if test -f "$ac_dir/install-sh"; then 2221 ac_aux_dir=$ac_dir 2222 ac_install_sh="$ac_aux_dir/install-sh -c" 2223 break 2224 elif test -f "$ac_dir/install.sh"; then 2225 ac_aux_dir=$ac_dir 2226 ac_install_sh="$ac_aux_dir/install.sh -c" 2227 break 2228 elif test -f "$ac_dir/shtool"; then 2229 ac_aux_dir=$ac_dir 2230 ac_install_sh="$ac_aux_dir/shtool install -c" 2231 break 2232 fi 2233done 2234if test -z "$ac_aux_dir"; then 2235 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2236fi 2237 2238# These three variables are undocumented and unsupported, 2239# and are intended to be withdrawn in a future Autoconf release. 2240# They can cause serious problems if a builder's source tree is in a directory 2241# whose full name contains unusual characters. 2242ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2243ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2244ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2245 2246 2247# Find a good install program. We prefer a C program (faster), 2248# so one script is as good as another. But avoid the broken or 2249# incompatible versions: 2250# SysV /etc/install, /usr/sbin/install 2251# SunOS /usr/etc/install 2252# IRIX /sbin/install 2253# AIX /bin/install 2254# AmigaOS /C/install, which installs bootblocks on floppy discs 2255# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2256# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2257# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2258# OS/2's system install, which has a completely different semantic 2259# ./install, which can be erroneously created by make from ./install.sh. 2260# Reject install programs that cannot install multiple files. 2261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2262$as_echo_n "checking for a BSD-compatible install... " >&6; } 2263if test -z "$INSTALL"; then 2264if ${ac_cv_path_install+:} false; then : 2265 $as_echo_n "(cached) " >&6 2266else 2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2268for as_dir in $PATH 2269do 2270 IFS=$as_save_IFS 2271 test -z "$as_dir" && as_dir=. 2272 # Account for people who put trailing slashes in PATH elements. 2273case $as_dir/ in @%:@(( 2274 ./ | .// | /[cC]/* | \ 2275 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2276 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2277 /usr/ucb/* ) ;; 2278 *) 2279 # OSF1 and SCO ODT 3.0 have their own names for install. 2280 # Don't use installbsd from OSF since it installs stuff as root 2281 # by default. 2282 for ac_prog in ginstall scoinst install; do 2283 for ac_exec_ext in '' $ac_executable_extensions; do 2284 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2285 if test $ac_prog = install && 2286 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2287 # AIX install. It has an incompatible calling convention. 2288 : 2289 elif test $ac_prog = install && 2290 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2291 # program-specific install script used by HP pwplus--don't use. 2292 : 2293 else 2294 rm -rf conftest.one conftest.two conftest.dir 2295 echo one > conftest.one 2296 echo two > conftest.two 2297 mkdir conftest.dir 2298 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2299 test -s conftest.one && test -s conftest.two && 2300 test -s conftest.dir/conftest.one && 2301 test -s conftest.dir/conftest.two 2302 then 2303 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2304 break 3 2305 fi 2306 fi 2307 fi 2308 done 2309 done 2310 ;; 2311esac 2312 2313 done 2314IFS=$as_save_IFS 2315 2316rm -rf conftest.one conftest.two conftest.dir 2317 2318fi 2319 if test "${ac_cv_path_install+set}" = set; then 2320 INSTALL=$ac_cv_path_install 2321 else 2322 # As a last resort, use the slow shell script. Don't cache a 2323 # value for INSTALL within a source directory, because that will 2324 # break other packages using the cache if that directory is 2325 # removed, or if the value is a relative name. 2326 INSTALL=$ac_install_sh 2327 fi 2328fi 2329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2330$as_echo "$INSTALL" >&6; } 2331 2332# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2333# It thinks the first close brace ends the variable substitution. 2334test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2335 2336test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2337 2338test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2339 2340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2341$as_echo_n "checking whether build environment is sane... " >&6; } 2342# Reject unsafe characters in $srcdir or the absolute working directory 2343# name. Accept space and tab only in the latter. 2344am_lf=' 2345' 2346case `pwd` in 2347 *[\\\"\#\$\&\'\`$am_lf]*) 2348 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2349esac 2350case $srcdir in 2351 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2352 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2353esac 2354 2355# Do 'set' in a subshell so we don't clobber the current shell's 2356# arguments. Must try -L first in case configure is actually a 2357# symlink; some systems play weird games with the mod time of symlinks 2358# (eg FreeBSD returns the mod time of the symlink's containing 2359# directory). 2360if ( 2361 am_has_slept=no 2362 for am_try in 1 2; do 2363 echo "timestamp, slept: $am_has_slept" > conftest.file 2364 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2365 if test "$*" = "X"; then 2366 # -L didn't work. 2367 set X `ls -t "$srcdir/configure" conftest.file` 2368 fi 2369 if test "$*" != "X $srcdir/configure conftest.file" \ 2370 && test "$*" != "X conftest.file $srcdir/configure"; then 2371 2372 # If neither matched, then we have a broken ls. This can happen 2373 # if, for instance, CONFIG_SHELL is bash and it inherits a 2374 # broken ls alias from the environment. This has actually 2375 # happened. Such a system could not be considered "sane". 2376 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2377 alias in your environment" "$LINENO" 5 2378 fi 2379 if test "$2" = conftest.file || test $am_try -eq 2; then 2380 break 2381 fi 2382 # Just in case. 2383 sleep 1 2384 am_has_slept=yes 2385 done 2386 test "$2" = conftest.file 2387 ) 2388then 2389 # Ok. 2390 : 2391else 2392 as_fn_error $? "newly created file is older than distributed files! 2393Check your system clock" "$LINENO" 5 2394fi 2395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2396$as_echo "yes" >&6; } 2397# If we didn't sleep, we still need to ensure time stamps of config.status and 2398# generated files are strictly newer. 2399am_sleep_pid= 2400if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2401 ( sleep 1 ) & 2402 am_sleep_pid=$! 2403fi 2404 2405rm -f conftest.file 2406 2407test "$program_prefix" != NONE && 2408 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2409# Use a double $ so make ignores it. 2410test "$program_suffix" != NONE && 2411 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2412# Double any \ or $. 2413# By default was `s,x,x', remove it if useless. 2414ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2415program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2416 2417# Expand $ac_aux_dir to an absolute path. 2418am_aux_dir=`cd "$ac_aux_dir" && pwd` 2419 2420if test x"${MISSING+set}" != xset; then 2421 case $am_aux_dir in 2422 *\ * | *\ *) 2423 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2424 *) 2425 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2426 esac 2427fi 2428# Use eval to expand $SHELL 2429if eval "$MISSING --is-lightweight"; then 2430 am_missing_run="$MISSING " 2431else 2432 am_missing_run= 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2434$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2435fi 2436 2437if test x"${install_sh+set}" != xset; then 2438 case $am_aux_dir in 2439 *\ * | *\ *) 2440 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2441 *) 2442 install_sh="\${SHELL} $am_aux_dir/install-sh" 2443 esac 2444fi 2445 2446# Installed binaries are usually stripped using 'strip' when the user 2447# run "make install-strip". However 'strip' might not be the right 2448# tool to use in cross-compilation environments, therefore Automake 2449# will honor the 'STRIP' environment variable to overrule this program. 2450if test "$cross_compiling" != no; then 2451 if test -n "$ac_tool_prefix"; then 2452 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2453set dummy ${ac_tool_prefix}strip; ac_word=$2 2454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2455$as_echo_n "checking for $ac_word... " >&6; } 2456if ${ac_cv_prog_STRIP+:} false; then : 2457 $as_echo_n "(cached) " >&6 2458else 2459 if test -n "$STRIP"; then 2460 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2461else 2462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2463for as_dir in $PATH 2464do 2465 IFS=$as_save_IFS 2466 test -z "$as_dir" && as_dir=. 2467 for ac_exec_ext in '' $ac_executable_extensions; do 2468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2469 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2471 break 2 2472 fi 2473done 2474 done 2475IFS=$as_save_IFS 2476 2477fi 2478fi 2479STRIP=$ac_cv_prog_STRIP 2480if test -n "$STRIP"; then 2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2482$as_echo "$STRIP" >&6; } 2483else 2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2485$as_echo "no" >&6; } 2486fi 2487 2488 2489fi 2490if test -z "$ac_cv_prog_STRIP"; then 2491 ac_ct_STRIP=$STRIP 2492 # Extract the first word of "strip", so it can be a program name with args. 2493set dummy strip; ac_word=$2 2494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2495$as_echo_n "checking for $ac_word... " >&6; } 2496if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2497 $as_echo_n "(cached) " >&6 2498else 2499 if test -n "$ac_ct_STRIP"; then 2500 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2501else 2502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2503for as_dir in $PATH 2504do 2505 IFS=$as_save_IFS 2506 test -z "$as_dir" && as_dir=. 2507 for ac_exec_ext in '' $ac_executable_extensions; do 2508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2509 ac_cv_prog_ac_ct_STRIP="strip" 2510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2511 break 2 2512 fi 2513done 2514 done 2515IFS=$as_save_IFS 2516 2517fi 2518fi 2519ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2520if test -n "$ac_ct_STRIP"; then 2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2522$as_echo "$ac_ct_STRIP" >&6; } 2523else 2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2525$as_echo "no" >&6; } 2526fi 2527 2528 if test "x$ac_ct_STRIP" = x; then 2529 STRIP=":" 2530 else 2531 case $cross_compiling:$ac_tool_warned in 2532yes:) 2533{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2534$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2535ac_tool_warned=yes ;; 2536esac 2537 STRIP=$ac_ct_STRIP 2538 fi 2539else 2540 STRIP="$ac_cv_prog_STRIP" 2541fi 2542 2543fi 2544INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2545 2546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2547$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2548if test -z "$MKDIR_P"; then 2549 if ${ac_cv_path_mkdir+:} false; then : 2550 $as_echo_n "(cached) " >&6 2551else 2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2553for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2554do 2555 IFS=$as_save_IFS 2556 test -z "$as_dir" && as_dir=. 2557 for ac_prog in mkdir gmkdir; do 2558 for ac_exec_ext in '' $ac_executable_extensions; do 2559 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2560 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2561 'mkdir (GNU coreutils) '* | \ 2562 'mkdir (coreutils) '* | \ 2563 'mkdir (fileutils) '4.1*) 2564 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2565 break 3;; 2566 esac 2567 done 2568 done 2569 done 2570IFS=$as_save_IFS 2571 2572fi 2573 2574 test -d ./--version && rmdir ./--version 2575 if test "${ac_cv_path_mkdir+set}" = set; then 2576 MKDIR_P="$ac_cv_path_mkdir -p" 2577 else 2578 # As a last resort, use the slow shell script. Don't cache a 2579 # value for MKDIR_P within a source directory, because that will 2580 # break other packages using the cache if that directory is 2581 # removed, or if the value is a relative name. 2582 MKDIR_P="$ac_install_sh -d" 2583 fi 2584fi 2585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2586$as_echo "$MKDIR_P" >&6; } 2587 2588for ac_prog in gawk mawk nawk awk 2589do 2590 # Extract the first word of "$ac_prog", so it can be a program name with args. 2591set dummy $ac_prog; ac_word=$2 2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2593$as_echo_n "checking for $ac_word... " >&6; } 2594if ${ac_cv_prog_AWK+:} false; then : 2595 $as_echo_n "(cached) " >&6 2596else 2597 if test -n "$AWK"; then 2598 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2599else 2600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2601for as_dir in $PATH 2602do 2603 IFS=$as_save_IFS 2604 test -z "$as_dir" && as_dir=. 2605 for ac_exec_ext in '' $ac_executable_extensions; do 2606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2607 ac_cv_prog_AWK="$ac_prog" 2608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2609 break 2 2610 fi 2611done 2612 done 2613IFS=$as_save_IFS 2614 2615fi 2616fi 2617AWK=$ac_cv_prog_AWK 2618if test -n "$AWK"; then 2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2620$as_echo "$AWK" >&6; } 2621else 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2623$as_echo "no" >&6; } 2624fi 2625 2626 2627 test -n "$AWK" && break 2628done 2629 2630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2631$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2632set x ${MAKE-make} 2633ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2634if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2635 $as_echo_n "(cached) " >&6 2636else 2637 cat >conftest.make <<\_ACEOF 2638SHELL = /bin/sh 2639all: 2640 @echo '@@@%%%=$(MAKE)=@@@%%%' 2641_ACEOF 2642# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2643case `${MAKE-make} -f conftest.make 2>/dev/null` in 2644 *@@@%%%=?*=@@@%%%*) 2645 eval ac_cv_prog_make_${ac_make}_set=yes;; 2646 *) 2647 eval ac_cv_prog_make_${ac_make}_set=no;; 2648esac 2649rm -f conftest.make 2650fi 2651if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2653$as_echo "yes" >&6; } 2654 SET_MAKE= 2655else 2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2657$as_echo "no" >&6; } 2658 SET_MAKE="MAKE=${MAKE-make}" 2659fi 2660 2661rm -rf .tst 2>/dev/null 2662mkdir .tst 2>/dev/null 2663if test -d .tst; then 2664 am__leading_dot=. 2665else 2666 am__leading_dot=_ 2667fi 2668rmdir .tst 2>/dev/null 2669 2670@%:@ Check whether --enable-silent-rules was given. 2671if test "${enable_silent_rules+set}" = set; then : 2672 enableval=$enable_silent_rules; 2673fi 2674 2675case $enable_silent_rules in @%:@ ((( 2676 yes) AM_DEFAULT_VERBOSITY=0;; 2677 no) AM_DEFAULT_VERBOSITY=1;; 2678 *) AM_DEFAULT_VERBOSITY=1;; 2679esac 2680am_make=${MAKE-make} 2681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2682$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2683if ${am_cv_make_support_nested_variables+:} false; then : 2684 $as_echo_n "(cached) " >&6 2685else 2686 if $as_echo 'TRUE=$(BAR$(V)) 2687BAR0=false 2688BAR1=true 2689V=1 2690am__doit: 2691 @$(TRUE) 2692.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2693 am_cv_make_support_nested_variables=yes 2694else 2695 am_cv_make_support_nested_variables=no 2696fi 2697fi 2698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2699$as_echo "$am_cv_make_support_nested_variables" >&6; } 2700if test $am_cv_make_support_nested_variables = yes; then 2701 AM_V='$(V)' 2702 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2703else 2704 AM_V=$AM_DEFAULT_VERBOSITY 2705 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2706fi 2707AM_BACKSLASH='\' 2708 2709if test "`cd $srcdir && pwd`" != "`pwd`"; then 2710 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2711 # is not polluted with repeated "-I." 2712 am__isrc=' -I$(srcdir)' 2713 # test to see if srcdir already configured 2714 if test -f $srcdir/config.status; then 2715 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2716 fi 2717fi 2718 2719# test whether we have cygpath 2720if test -z "$CYGPATH_W"; then 2721 if (cygpath --version) >/dev/null 2>/dev/null; then 2722 CYGPATH_W='cygpath -w' 2723 else 2724 CYGPATH_W=echo 2725 fi 2726fi 2727 2728 2729# Define the identity of the package. 2730 PACKAGE='planarity' 2731 VERSION='3.0.0.5' 2732 2733 2734cat >>confdefs.h <<_ACEOF 2735@%:@define PACKAGE "$PACKAGE" 2736_ACEOF 2737 2738 2739cat >>confdefs.h <<_ACEOF 2740@%:@define VERSION "$VERSION" 2741_ACEOF 2742 2743# Some tools Automake needs. 2744 2745ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2746 2747 2748AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2749 2750 2751AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2752 2753 2754AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2755 2756 2757MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2758 2759# For better backward compatibility. To be removed once Automake 1.9.x 2760# dies out for good. For more background, see: 2761# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2762# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2763mkdir_p='$(MKDIR_P)' 2764 2765# We need awk for the "check" target (and possibly the TAP driver). The 2766# system "awk" is bad on some platforms. 2767# Always define AMTAR for backward compatibility. Yes, it's still used 2768# in the wild :-( We should find a proper way to deprecate it ... 2769AMTAR='$${TAR-tar}' 2770 2771 2772# We'll loop over all known methods to create a tar archive until one works. 2773_am_tools='gnutar pax cpio none' 2774 2775am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2776 2777 2778 2779 2780 2781 2782# POSIX will say in a future version that running "rm -f" with no argument 2783# is OK; and we want to be able to make that assumption in our Makefile 2784# recipes. So use an aggressive probe to check that the usage we want is 2785# actually supported "in the wild" to an acceptable degree. 2786# See automake bug#10828. 2787# To make any issue more visible, cause the running configure to be aborted 2788# by default if the 'rm' program in use doesn't match our expectations; the 2789# user can still override this though. 2790if rm -f && rm -fr && rm -rf; then : OK; else 2791 cat >&2 <<'END' 2792Oops! 2793 2794Your 'rm' program seems unable to run without file operands specified 2795on the command line, even when the '-f' option is present. This is contrary 2796to the behaviour of most rm programs out there, and not conforming with 2797the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2798 2799Please tell bug-automake@gnu.org about your system, including the value 2800of your $PATH and any error possibly output before this message. This 2801can help us improve future automake versions. 2802 2803END 2804 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2805 echo 'Configuration will proceed anyway, since you have set the' >&2 2806 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2807 echo >&2 2808 else 2809 cat >&2 <<'END' 2810Aborting the configuration process, to ensure you take notice of the issue. 2811 2812You can download and install GNU coreutils to get an 'rm' implementation 2813that behaves properly: <https://www.gnu.org/software/coreutils/>. 2814 2815If you want to complete the configuration process using your problematic 2816'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2817to "yes", and re-run configure. 2818 2819END 2820 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2821 fi 2822fi 2823 2824 2825 2826 2827# The version of the libtool library is of the form current:revision:age 2828# 2829# See http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html 2830# 2831# When doing a release, they should be updated like this: 2832# 1. If no interfaces changed, only implementations: just increment 2833# revision. 2834# 2. If interfaces were added, none removed: increment current, set 2835# revision to zero and increment age. 2836# 3. If interfaces were removed (breaks backward compatibility): increment 2837# current, and set both revision and age to zero. 2838LT_CURRENT=0 2839LT_REVISION=0 2840LT_AGE=0 2841 2842 2843 2844 2845ac_ext=c 2846ac_cpp='$CPP $CPPFLAGS' 2847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2849ac_compiler_gnu=$ac_cv_c_compiler_gnu 2850if test -n "$ac_tool_prefix"; then 2851 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2852set dummy ${ac_tool_prefix}gcc; ac_word=$2 2853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2854$as_echo_n "checking for $ac_word... " >&6; } 2855if ${ac_cv_prog_CC+:} false; then : 2856 $as_echo_n "(cached) " >&6 2857else 2858 if test -n "$CC"; then 2859 ac_cv_prog_CC="$CC" # Let the user override the test. 2860else 2861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2862for as_dir in $PATH 2863do 2864 IFS=$as_save_IFS 2865 test -z "$as_dir" && as_dir=. 2866 for ac_exec_ext in '' $ac_executable_extensions; do 2867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2868 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2870 break 2 2871 fi 2872done 2873 done 2874IFS=$as_save_IFS 2875 2876fi 2877fi 2878CC=$ac_cv_prog_CC 2879if test -n "$CC"; then 2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2881$as_echo "$CC" >&6; } 2882else 2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2884$as_echo "no" >&6; } 2885fi 2886 2887 2888fi 2889if test -z "$ac_cv_prog_CC"; then 2890 ac_ct_CC=$CC 2891 # Extract the first word of "gcc", so it can be a program name with args. 2892set dummy gcc; ac_word=$2 2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2894$as_echo_n "checking for $ac_word... " >&6; } 2895if ${ac_cv_prog_ac_ct_CC+:} false; then : 2896 $as_echo_n "(cached) " >&6 2897else 2898 if test -n "$ac_ct_CC"; then 2899 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2900else 2901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2902for as_dir in $PATH 2903do 2904 IFS=$as_save_IFS 2905 test -z "$as_dir" && as_dir=. 2906 for ac_exec_ext in '' $ac_executable_extensions; do 2907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2908 ac_cv_prog_ac_ct_CC="gcc" 2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2910 break 2 2911 fi 2912done 2913 done 2914IFS=$as_save_IFS 2915 2916fi 2917fi 2918ac_ct_CC=$ac_cv_prog_ac_ct_CC 2919if test -n "$ac_ct_CC"; then 2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2921$as_echo "$ac_ct_CC" >&6; } 2922else 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2924$as_echo "no" >&6; } 2925fi 2926 2927 if test "x$ac_ct_CC" = x; then 2928 CC="" 2929 else 2930 case $cross_compiling:$ac_tool_warned in 2931yes:) 2932{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2933$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2934ac_tool_warned=yes ;; 2935esac 2936 CC=$ac_ct_CC 2937 fi 2938else 2939 CC="$ac_cv_prog_CC" 2940fi 2941 2942if test -z "$CC"; then 2943 if test -n "$ac_tool_prefix"; then 2944 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2945set dummy ${ac_tool_prefix}cc; ac_word=$2 2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2947$as_echo_n "checking for $ac_word... " >&6; } 2948if ${ac_cv_prog_CC+:} false; then : 2949 $as_echo_n "(cached) " >&6 2950else 2951 if test -n "$CC"; then 2952 ac_cv_prog_CC="$CC" # Let the user override the test. 2953else 2954as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2955for as_dir in $PATH 2956do 2957 IFS=$as_save_IFS 2958 test -z "$as_dir" && as_dir=. 2959 for ac_exec_ext in '' $ac_executable_extensions; do 2960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2961 ac_cv_prog_CC="${ac_tool_prefix}cc" 2962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2963 break 2 2964 fi 2965done 2966 done 2967IFS=$as_save_IFS 2968 2969fi 2970fi 2971CC=$ac_cv_prog_CC 2972if test -n "$CC"; then 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2974$as_echo "$CC" >&6; } 2975else 2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2977$as_echo "no" >&6; } 2978fi 2979 2980 2981 fi 2982fi 2983if test -z "$CC"; then 2984 # Extract the first word of "cc", so it can be a program name with args. 2985set dummy cc; ac_word=$2 2986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2987$as_echo_n "checking for $ac_word... " >&6; } 2988if ${ac_cv_prog_CC+:} false; then : 2989 $as_echo_n "(cached) " >&6 2990else 2991 if test -n "$CC"; then 2992 ac_cv_prog_CC="$CC" # Let the user override the test. 2993else 2994 ac_prog_rejected=no 2995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2996for as_dir in $PATH 2997do 2998 IFS=$as_save_IFS 2999 test -z "$as_dir" && as_dir=. 3000 for ac_exec_ext in '' $ac_executable_extensions; do 3001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3002 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3003 ac_prog_rejected=yes 3004 continue 3005 fi 3006 ac_cv_prog_CC="cc" 3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3008 break 2 3009 fi 3010done 3011 done 3012IFS=$as_save_IFS 3013 3014if test $ac_prog_rejected = yes; then 3015 # We found a bogon in the path, so make sure we never use it. 3016 set dummy $ac_cv_prog_CC 3017 shift 3018 if test $@%:@ != 0; then 3019 # We chose a different compiler from the bogus one. 3020 # However, it has the same basename, so the bogon will be chosen 3021 # first if we set CC to just the basename; use the full file name. 3022 shift 3023 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3024 fi 3025fi 3026fi 3027fi 3028CC=$ac_cv_prog_CC 3029if test -n "$CC"; then 3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3031$as_echo "$CC" >&6; } 3032else 3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3034$as_echo "no" >&6; } 3035fi 3036 3037 3038fi 3039if test -z "$CC"; then 3040 if test -n "$ac_tool_prefix"; then 3041 for ac_prog in cl.exe 3042 do 3043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3044set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3046$as_echo_n "checking for $ac_word... " >&6; } 3047if ${ac_cv_prog_CC+:} false; then : 3048 $as_echo_n "(cached) " >&6 3049else 3050 if test -n "$CC"; then 3051 ac_cv_prog_CC="$CC" # Let the user override the test. 3052else 3053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3054for as_dir in $PATH 3055do 3056 IFS=$as_save_IFS 3057 test -z "$as_dir" && as_dir=. 3058 for ac_exec_ext in '' $ac_executable_extensions; do 3059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3060 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3062 break 2 3063 fi 3064done 3065 done 3066IFS=$as_save_IFS 3067 3068fi 3069fi 3070CC=$ac_cv_prog_CC 3071if test -n "$CC"; then 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3073$as_echo "$CC" >&6; } 3074else 3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3076$as_echo "no" >&6; } 3077fi 3078 3079 3080 test -n "$CC" && break 3081 done 3082fi 3083if test -z "$CC"; then 3084 ac_ct_CC=$CC 3085 for ac_prog in cl.exe 3086do 3087 # Extract the first word of "$ac_prog", so it can be a program name with args. 3088set dummy $ac_prog; ac_word=$2 3089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3090$as_echo_n "checking for $ac_word... " >&6; } 3091if ${ac_cv_prog_ac_ct_CC+:} false; then : 3092 $as_echo_n "(cached) " >&6 3093else 3094 if test -n "$ac_ct_CC"; then 3095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3096else 3097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3098for as_dir in $PATH 3099do 3100 IFS=$as_save_IFS 3101 test -z "$as_dir" && as_dir=. 3102 for ac_exec_ext in '' $ac_executable_extensions; do 3103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3104 ac_cv_prog_ac_ct_CC="$ac_prog" 3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3106 break 2 3107 fi 3108done 3109 done 3110IFS=$as_save_IFS 3111 3112fi 3113fi 3114ac_ct_CC=$ac_cv_prog_ac_ct_CC 3115if test -n "$ac_ct_CC"; then 3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3117$as_echo "$ac_ct_CC" >&6; } 3118else 3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3120$as_echo "no" >&6; } 3121fi 3122 3123 3124 test -n "$ac_ct_CC" && break 3125done 3126 3127 if test "x$ac_ct_CC" = x; then 3128 CC="" 3129 else 3130 case $cross_compiling:$ac_tool_warned in 3131yes:) 3132{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3133$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3134ac_tool_warned=yes ;; 3135esac 3136 CC=$ac_ct_CC 3137 fi 3138fi 3139 3140fi 3141 3142 3143test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3144$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3145as_fn_error $? "no acceptable C compiler found in \$PATH 3146See \`config.log' for more details" "$LINENO" 5; } 3147 3148# Provide some information about the compiler. 3149$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3150set X $ac_compile 3151ac_compiler=$2 3152for ac_option in --version -v -V -qversion; do 3153 { { ac_try="$ac_compiler $ac_option >&5" 3154case "(($ac_try" in 3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3156 *) ac_try_echo=$ac_try;; 3157esac 3158eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3159$as_echo "$ac_try_echo"; } >&5 3160 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3161 ac_status=$? 3162 if test -s conftest.err; then 3163 sed '10a\ 3164... rest of stderr output deleted ... 3165 10q' conftest.err >conftest.er1 3166 cat conftest.er1 >&5 3167 fi 3168 rm -f conftest.er1 conftest.err 3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3170 test $ac_status = 0; } 3171done 3172 3173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3174/* end confdefs.h. */ 3175 3176int 3177main () 3178{ 3179 3180 ; 3181 return 0; 3182} 3183_ACEOF 3184ac_clean_files_save=$ac_clean_files 3185ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3186# Try to create an executable without -o first, disregard a.out. 3187# It will help us diagnose broken compilers, and finding out an intuition 3188# of exeext. 3189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3190$as_echo_n "checking whether the C compiler works... " >&6; } 3191ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3192 3193# The possible output files: 3194ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3195 3196ac_rmfiles= 3197for ac_file in $ac_files 3198do 3199 case $ac_file in 3200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3201 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3202 esac 3203done 3204rm -f $ac_rmfiles 3205 3206if { { ac_try="$ac_link_default" 3207case "(($ac_try" in 3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3209 *) ac_try_echo=$ac_try;; 3210esac 3211eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3212$as_echo "$ac_try_echo"; } >&5 3213 (eval "$ac_link_default") 2>&5 3214 ac_status=$? 3215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3216 test $ac_status = 0; }; then : 3217 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3218# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3219# in a Makefile. We should not override ac_cv_exeext if it was cached, 3220# so that the user can short-circuit this test for compilers unknown to 3221# Autoconf. 3222for ac_file in $ac_files '' 3223do 3224 test -f "$ac_file" || continue 3225 case $ac_file in 3226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3227 ;; 3228 [ab].out ) 3229 # We found the default executable, but exeext='' is most 3230 # certainly right. 3231 break;; 3232 *.* ) 3233 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3234 then :; else 3235 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3236 fi 3237 # We set ac_cv_exeext here because the later test for it is not 3238 # safe: cross compilers may not add the suffix if given an `-o' 3239 # argument, so we may need to know it at that point already. 3240 # Even if this section looks crufty: it has the advantage of 3241 # actually working. 3242 break;; 3243 * ) 3244 break;; 3245 esac 3246done 3247test "$ac_cv_exeext" = no && ac_cv_exeext= 3248 3249else 3250 ac_file='' 3251fi 3252if test -z "$ac_file"; then : 3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3254$as_echo "no" >&6; } 3255$as_echo "$as_me: failed program was:" >&5 3256sed 's/^/| /' conftest.$ac_ext >&5 3257 3258{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3259$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3260as_fn_error 77 "C compiler cannot create executables 3261See \`config.log' for more details" "$LINENO" 5; } 3262else 3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3264$as_echo "yes" >&6; } 3265fi 3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3267$as_echo_n "checking for C compiler default output file name... " >&6; } 3268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3269$as_echo "$ac_file" >&6; } 3270ac_exeext=$ac_cv_exeext 3271 3272rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3273ac_clean_files=$ac_clean_files_save 3274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3275$as_echo_n "checking for suffix of executables... " >&6; } 3276if { { ac_try="$ac_link" 3277case "(($ac_try" in 3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3279 *) ac_try_echo=$ac_try;; 3280esac 3281eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3282$as_echo "$ac_try_echo"; } >&5 3283 (eval "$ac_link") 2>&5 3284 ac_status=$? 3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3286 test $ac_status = 0; }; then : 3287 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3288# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3289# work properly (i.e., refer to `conftest.exe'), while it won't with 3290# `rm'. 3291for ac_file in conftest.exe conftest conftest.*; do 3292 test -f "$ac_file" || continue 3293 case $ac_file in 3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3295 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3296 break;; 3297 * ) break;; 3298 esac 3299done 3300else 3301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3302$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3303as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3304See \`config.log' for more details" "$LINENO" 5; } 3305fi 3306rm -f conftest conftest$ac_cv_exeext 3307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3308$as_echo "$ac_cv_exeext" >&6; } 3309 3310rm -f conftest.$ac_ext 3311EXEEXT=$ac_cv_exeext 3312ac_exeext=$EXEEXT 3313cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3314/* end confdefs.h. */ 3315@%:@include <stdio.h> 3316int 3317main () 3318{ 3319FILE *f = fopen ("conftest.out", "w"); 3320 return ferror (f) || fclose (f) != 0; 3321 3322 ; 3323 return 0; 3324} 3325_ACEOF 3326ac_clean_files="$ac_clean_files conftest.out" 3327# Check that the compiler produces executables we can run. If not, either 3328# the compiler is broken, or we cross compile. 3329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3330$as_echo_n "checking whether we are cross compiling... " >&6; } 3331if test "$cross_compiling" != yes; then 3332 { { ac_try="$ac_link" 3333case "(($ac_try" in 3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3335 *) ac_try_echo=$ac_try;; 3336esac 3337eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3338$as_echo "$ac_try_echo"; } >&5 3339 (eval "$ac_link") 2>&5 3340 ac_status=$? 3341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3342 test $ac_status = 0; } 3343 if { ac_try='./conftest$ac_cv_exeext' 3344 { { case "(($ac_try" in 3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3346 *) ac_try_echo=$ac_try;; 3347esac 3348eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3349$as_echo "$ac_try_echo"; } >&5 3350 (eval "$ac_try") 2>&5 3351 ac_status=$? 3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3353 test $ac_status = 0; }; }; then 3354 cross_compiling=no 3355 else 3356 if test "$cross_compiling" = maybe; then 3357 cross_compiling=yes 3358 else 3359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3361as_fn_error $? "cannot run C compiled programs. 3362If you meant to cross compile, use \`--host'. 3363See \`config.log' for more details" "$LINENO" 5; } 3364 fi 3365 fi 3366fi 3367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3368$as_echo "$cross_compiling" >&6; } 3369 3370rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3371ac_clean_files=$ac_clean_files_save 3372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3373$as_echo_n "checking for suffix of object files... " >&6; } 3374if ${ac_cv_objext+:} false; then : 3375 $as_echo_n "(cached) " >&6 3376else 3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3378/* end confdefs.h. */ 3379 3380int 3381main () 3382{ 3383 3384 ; 3385 return 0; 3386} 3387_ACEOF 3388rm -f conftest.o conftest.obj 3389if { { ac_try="$ac_compile" 3390case "(($ac_try" in 3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3392 *) ac_try_echo=$ac_try;; 3393esac 3394eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3395$as_echo "$ac_try_echo"; } >&5 3396 (eval "$ac_compile") 2>&5 3397 ac_status=$? 3398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3399 test $ac_status = 0; }; then : 3400 for ac_file in conftest.o conftest.obj conftest.*; do 3401 test -f "$ac_file" || continue; 3402 case $ac_file in 3403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3404 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3405 break;; 3406 esac 3407done 3408else 3409 $as_echo "$as_me: failed program was:" >&5 3410sed 's/^/| /' conftest.$ac_ext >&5 3411 3412{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3414as_fn_error $? "cannot compute suffix of object files: cannot compile 3415See \`config.log' for more details" "$LINENO" 5; } 3416fi 3417rm -f conftest.$ac_cv_objext conftest.$ac_ext 3418fi 3419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3420$as_echo "$ac_cv_objext" >&6; } 3421OBJEXT=$ac_cv_objext 3422ac_objext=$OBJEXT 3423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3424$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3425if ${ac_cv_c_compiler_gnu+:} false; then : 3426 $as_echo_n "(cached) " >&6 3427else 3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3429/* end confdefs.h. */ 3430 3431int 3432main () 3433{ 3434#ifndef __GNUC__ 3435 choke me 3436#endif 3437 3438 ; 3439 return 0; 3440} 3441_ACEOF 3442if ac_fn_c_try_compile "$LINENO"; then : 3443 ac_compiler_gnu=yes 3444else 3445 ac_compiler_gnu=no 3446fi 3447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3448ac_cv_c_compiler_gnu=$ac_compiler_gnu 3449 3450fi 3451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3452$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3453if test $ac_compiler_gnu = yes; then 3454 GCC=yes 3455else 3456 GCC= 3457fi 3458ac_test_CFLAGS=${CFLAGS+set} 3459ac_save_CFLAGS=$CFLAGS 3460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3461$as_echo_n "checking whether $CC accepts -g... " >&6; } 3462if ${ac_cv_prog_cc_g+:} false; then : 3463 $as_echo_n "(cached) " >&6 3464else 3465 ac_save_c_werror_flag=$ac_c_werror_flag 3466 ac_c_werror_flag=yes 3467 ac_cv_prog_cc_g=no 3468 CFLAGS="-g" 3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3470/* end confdefs.h. */ 3471 3472int 3473main () 3474{ 3475 3476 ; 3477 return 0; 3478} 3479_ACEOF 3480if ac_fn_c_try_compile "$LINENO"; then : 3481 ac_cv_prog_cc_g=yes 3482else 3483 CFLAGS="" 3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3485/* end confdefs.h. */ 3486 3487int 3488main () 3489{ 3490 3491 ; 3492 return 0; 3493} 3494_ACEOF 3495if ac_fn_c_try_compile "$LINENO"; then : 3496 3497else 3498 ac_c_werror_flag=$ac_save_c_werror_flag 3499 CFLAGS="-g" 3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3501/* end confdefs.h. */ 3502 3503int 3504main () 3505{ 3506 3507 ; 3508 return 0; 3509} 3510_ACEOF 3511if ac_fn_c_try_compile "$LINENO"; then : 3512 ac_cv_prog_cc_g=yes 3513fi 3514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3515fi 3516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3517fi 3518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3519 ac_c_werror_flag=$ac_save_c_werror_flag 3520fi 3521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3522$as_echo "$ac_cv_prog_cc_g" >&6; } 3523if test "$ac_test_CFLAGS" = set; then 3524 CFLAGS=$ac_save_CFLAGS 3525elif test $ac_cv_prog_cc_g = yes; then 3526 if test "$GCC" = yes; then 3527 CFLAGS="-g -O2" 3528 else 3529 CFLAGS="-g" 3530 fi 3531else 3532 if test "$GCC" = yes; then 3533 CFLAGS="-O2" 3534 else 3535 CFLAGS= 3536 fi 3537fi 3538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3539$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3540if ${ac_cv_prog_cc_c89+:} false; then : 3541 $as_echo_n "(cached) " >&6 3542else 3543 ac_cv_prog_cc_c89=no 3544ac_save_CC=$CC 3545cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3546/* end confdefs.h. */ 3547#include <stdarg.h> 3548#include <stdio.h> 3549struct stat; 3550/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3551struct buf { int x; }; 3552FILE * (*rcsopen) (struct buf *, struct stat *, int); 3553static char *e (p, i) 3554 char **p; 3555 int i; 3556{ 3557 return p[i]; 3558} 3559static char *f (char * (*g) (char **, int), char **p, ...) 3560{ 3561 char *s; 3562 va_list v; 3563 va_start (v,p); 3564 s = g (p, va_arg (v,int)); 3565 va_end (v); 3566 return s; 3567} 3568 3569/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3570 function prototypes and stuff, but not '\xHH' hex character constants. 3571 These don't provoke an error unfortunately, instead are silently treated 3572 as 'x'. The following induces an error, until -std is added to get 3573 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3574 array size at least. It's necessary to write '\x00'==0 to get something 3575 that's true only with -std. */ 3576int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3577 3578/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3579 inside strings and character constants. */ 3580#define FOO(x) 'x' 3581int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3582 3583int test (int i, double x); 3584struct s1 {int (*f) (int a);}; 3585struct s2 {int (*f) (double a);}; 3586int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3587int argc; 3588char **argv; 3589int 3590main () 3591{ 3592return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3593 ; 3594 return 0; 3595} 3596_ACEOF 3597for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3598 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3599do 3600 CC="$ac_save_CC $ac_arg" 3601 if ac_fn_c_try_compile "$LINENO"; then : 3602 ac_cv_prog_cc_c89=$ac_arg 3603fi 3604rm -f core conftest.err conftest.$ac_objext 3605 test "x$ac_cv_prog_cc_c89" != "xno" && break 3606done 3607rm -f conftest.$ac_ext 3608CC=$ac_save_CC 3609 3610fi 3611# AC_CACHE_VAL 3612case "x$ac_cv_prog_cc_c89" in 3613 x) 3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3615$as_echo "none needed" >&6; } ;; 3616 xno) 3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3618$as_echo "unsupported" >&6; } ;; 3619 *) 3620 CC="$CC $ac_cv_prog_cc_c89" 3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3622$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3623esac 3624if test "x$ac_cv_prog_cc_c89" != xno; then : 3625 3626fi 3627 3628ac_ext=c 3629ac_cpp='$CPP $CPPFLAGS' 3630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3631ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3632ac_compiler_gnu=$ac_cv_c_compiler_gnu 3633 3634ac_ext=c 3635ac_cpp='$CPP $CPPFLAGS' 3636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3638ac_compiler_gnu=$ac_cv_c_compiler_gnu 3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3640$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3641if ${am_cv_prog_cc_c_o+:} false; then : 3642 $as_echo_n "(cached) " >&6 3643else 3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3645/* end confdefs.h. */ 3646 3647int 3648main () 3649{ 3650 3651 ; 3652 return 0; 3653} 3654_ACEOF 3655 # Make sure it works both with $CC and with simple cc. 3656 # Following AC_PROG_CC_C_O, we do the test twice because some 3657 # compilers refuse to overwrite an existing .o file with -o, 3658 # though they will create one. 3659 am_cv_prog_cc_c_o=yes 3660 for am_i in 1 2; do 3661 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3662 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3663 ac_status=$? 3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3665 (exit $ac_status); } \ 3666 && test -f conftest2.$ac_objext; then 3667 : OK 3668 else 3669 am_cv_prog_cc_c_o=no 3670 break 3671 fi 3672 done 3673 rm -f core conftest* 3674 unset am_i 3675fi 3676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3677$as_echo "$am_cv_prog_cc_c_o" >&6; } 3678if test "$am_cv_prog_cc_c_o" != yes; then 3679 # Losing compiler, so override with the script. 3680 # FIXME: It is wrong to rewrite CC. 3681 # But if we don't then we get into trouble of one sort or another. 3682 # A longer-term fix would be to have automake use am__CC in this case, 3683 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3684 CC="$am_aux_dir/compile $CC" 3685fi 3686ac_ext=c 3687ac_cpp='$CPP $CPPFLAGS' 3688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3690ac_compiler_gnu=$ac_cv_c_compiler_gnu 3691 3692DEPDIR="${am__leading_dot}deps" 3693 3694ac_config_commands="$ac_config_commands depfiles" 3695 3696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3697$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3698cat > confinc.mk << 'END' 3699am__doit: 3700 @echo this is the am__doit target >confinc.out 3701.PHONY: am__doit 3702END 3703am__include="#" 3704am__quote= 3705# BSD make does it like this. 3706echo '.include "confinc.mk" # ignored' > confmf.BSD 3707# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3708echo 'include confinc.mk # ignored' > confmf.GNU 3709_am_result=no 3710for s in GNU BSD; do 3711 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3712 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3713 ac_status=$? 3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); } 3716 case $?:`cat confinc.out 2>/dev/null` in @%:@( 3717 '0:this is the am__doit target') : 3718 case $s in @%:@( 3719 BSD) : 3720 am__include='.include' am__quote='"' ;; @%:@( 3721 *) : 3722 am__include='include' am__quote='' ;; 3723esac ;; @%:@( 3724 *) : 3725 ;; 3726esac 3727 if test "$am__include" != "#"; then 3728 _am_result="yes ($s style)" 3729 break 3730 fi 3731done 3732rm -f confinc.* confmf.* 3733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3734$as_echo "${_am_result}" >&6; } 3735 3736@%:@ Check whether --enable-dependency-tracking was given. 3737if test "${enable_dependency_tracking+set}" = set; then : 3738 enableval=$enable_dependency_tracking; 3739fi 3740 3741if test "x$enable_dependency_tracking" != xno; then 3742 am_depcomp="$ac_aux_dir/depcomp" 3743 AMDEPBACKSLASH='\' 3744 am__nodep='_no' 3745fi 3746 if test "x$enable_dependency_tracking" != xno; then 3747 AMDEP_TRUE= 3748 AMDEP_FALSE='#' 3749else 3750 AMDEP_TRUE='#' 3751 AMDEP_FALSE= 3752fi 3753 3754 3755 3756depcc="$CC" am_compiler_list= 3757 3758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3759$as_echo_n "checking dependency style of $depcc... " >&6; } 3760if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3761 $as_echo_n "(cached) " >&6 3762else 3763 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3764 # We make a subdir and do the tests there. Otherwise we can end up 3765 # making bogus files that we don't know about and never remove. For 3766 # instance it was reported that on HP-UX the gcc test will end up 3767 # making a dummy file named 'D' -- because '-MD' means "put the output 3768 # in D". 3769 rm -rf conftest.dir 3770 mkdir conftest.dir 3771 # Copy depcomp to subdir because otherwise we won't find it if we're 3772 # using a relative directory. 3773 cp "$am_depcomp" conftest.dir 3774 cd conftest.dir 3775 # We will build objects and dependencies in a subdirectory because 3776 # it helps to detect inapplicable dependency modes. For instance 3777 # both Tru64's cc and ICC support -MD to output dependencies as a 3778 # side effect of compilation, but ICC will put the dependencies in 3779 # the current directory while Tru64 will put them in the object 3780 # directory. 3781 mkdir sub 3782 3783 am_cv_CC_dependencies_compiler_type=none 3784 if test "$am_compiler_list" = ""; then 3785 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3786 fi 3787 am__universal=false 3788 case " $depcc " in #( 3789 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3790 esac 3791 3792 for depmode in $am_compiler_list; do 3793 # Setup a source with many dependencies, because some compilers 3794 # like to wrap large dependency lists on column 80 (with \), and 3795 # we should not choose a depcomp mode which is confused by this. 3796 # 3797 # We need to recreate these files for each test, as the compiler may 3798 # overwrite some of them when testing with obscure command lines. 3799 # This happens at least with the AIX C compiler. 3800 : > sub/conftest.c 3801 for i in 1 2 3 4 5 6; do 3802 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3803 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3804 # Solaris 10 /bin/sh. 3805 echo '/* dummy */' > sub/conftst$i.h 3806 done 3807 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3808 3809 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3810 # mode. It turns out that the SunPro C++ compiler does not properly 3811 # handle '-M -o', and we need to detect this. Also, some Intel 3812 # versions had trouble with output in subdirs. 3813 am__obj=sub/conftest.${OBJEXT-o} 3814 am__minus_obj="-o $am__obj" 3815 case $depmode in 3816 gcc) 3817 # This depmode causes a compiler race in universal mode. 3818 test "$am__universal" = false || continue 3819 ;; 3820 nosideeffect) 3821 # After this tag, mechanisms are not by side-effect, so they'll 3822 # only be used when explicitly requested. 3823 if test "x$enable_dependency_tracking" = xyes; then 3824 continue 3825 else 3826 break 3827 fi 3828 ;; 3829 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3830 # This compiler won't grok '-c -o', but also, the minuso test has 3831 # not run yet. These depmodes are late enough in the game, and 3832 # so weak that their functioning should not be impacted. 3833 am__obj=conftest.${OBJEXT-o} 3834 am__minus_obj= 3835 ;; 3836 none) break ;; 3837 esac 3838 if depmode=$depmode \ 3839 source=sub/conftest.c object=$am__obj \ 3840 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3841 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3842 >/dev/null 2>conftest.err && 3843 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3844 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3845 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3846 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3847 # icc doesn't choke on unknown options, it will just issue warnings 3848 # or remarks (even with -Werror). So we grep stderr for any message 3849 # that says an option was ignored or not supported. 3850 # When given -MP, icc 7.0 and 7.1 complain thusly: 3851 # icc: Command line warning: ignoring option '-M'; no argument required 3852 # The diagnosis changed in icc 8.0: 3853 # icc: Command line remark: option '-MP' not supported 3854 if (grep 'ignoring option' conftest.err || 3855 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3856 am_cv_CC_dependencies_compiler_type=$depmode 3857 break 3858 fi 3859 fi 3860 done 3861 3862 cd .. 3863 rm -rf conftest.dir 3864else 3865 am_cv_CC_dependencies_compiler_type=none 3866fi 3867 3868fi 3869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3870$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3871CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3872 3873 if 3874 test "x$enable_dependency_tracking" != xno \ 3875 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3876 am__fastdepCC_TRUE= 3877 am__fastdepCC_FALSE='#' 3878else 3879 am__fastdepCC_TRUE='#' 3880 am__fastdepCC_FALSE= 3881fi 3882 3883 3884case `pwd` in 3885 *\ * | *\ *) 3886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3887$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3888esac 3889 3890 3891 3892macro_version='2.4.6' 3893macro_revision='2.4.6' 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907ltmain=$ac_aux_dir/ltmain.sh 3908 3909# Make sure we can run config.sub. 3910$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3911 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3912 3913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3914$as_echo_n "checking build system type... " >&6; } 3915if ${ac_cv_build+:} false; then : 3916 $as_echo_n "(cached) " >&6 3917else 3918 ac_build_alias=$build_alias 3919test "x$ac_build_alias" = x && 3920 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3921test "x$ac_build_alias" = x && 3922 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3923ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3924 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3925 3926fi 3927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3928$as_echo "$ac_cv_build" >&6; } 3929case $ac_cv_build in 3930*-*-*) ;; 3931*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3932esac 3933build=$ac_cv_build 3934ac_save_IFS=$IFS; IFS='-' 3935set x $ac_cv_build 3936shift 3937build_cpu=$1 3938build_vendor=$2 3939shift; shift 3940# Remember, the first character of IFS is used to create $*, 3941# except with old shells: 3942build_os=$* 3943IFS=$ac_save_IFS 3944case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3945 3946 3947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3948$as_echo_n "checking host system type... " >&6; } 3949if ${ac_cv_host+:} false; then : 3950 $as_echo_n "(cached) " >&6 3951else 3952 if test "x$host_alias" = x; then 3953 ac_cv_host=$ac_cv_build 3954else 3955 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3956 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3957fi 3958 3959fi 3960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3961$as_echo "$ac_cv_host" >&6; } 3962case $ac_cv_host in 3963*-*-*) ;; 3964*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3965esac 3966host=$ac_cv_host 3967ac_save_IFS=$IFS; IFS='-' 3968set x $ac_cv_host 3969shift 3970host_cpu=$1 3971host_vendor=$2 3972shift; shift 3973# Remember, the first character of IFS is used to create $*, 3974# except with old shells: 3975host_os=$* 3976IFS=$ac_save_IFS 3977case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3978 3979 3980# Backslashify metacharacters that are still active within 3981# double-quoted strings. 3982sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3983 3984# Same as above, but do not quote variable references. 3985double_quote_subst='s/\(["`\\]\)/\\\1/g' 3986 3987# Sed substitution to delay expansion of an escaped shell variable in a 3988# double_quote_subst'ed string. 3989delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3990 3991# Sed substitution to delay expansion of an escaped single quote. 3992delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3993 3994# Sed substitution to avoid accidental globbing in evaled expressions 3995no_glob_subst='s/\*/\\\*/g' 3996 3997ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3998ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3999ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4000 4001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4002$as_echo_n "checking how to print strings... " >&6; } 4003# Test print first, because it will be a builtin if present. 4004if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4005 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4006 ECHO='print -r --' 4007elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4008 ECHO='printf %s\n' 4009else 4010 # Use this function as a fallback that always works. 4011 func_fallback_echo () 4012 { 4013 eval 'cat <<_LTECHO_EOF 4014$1 4015_LTECHO_EOF' 4016 } 4017 ECHO='func_fallback_echo' 4018fi 4019 4020# func_echo_all arg... 4021# Invoke $ECHO with all args, space-separated. 4022func_echo_all () 4023{ 4024 $ECHO "" 4025} 4026 4027case $ECHO in 4028 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4029$as_echo "printf" >&6; } ;; 4030 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4031$as_echo "print -r" >&6; } ;; 4032 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4033$as_echo "cat" >&6; } ;; 4034esac 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4050$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4051if ${ac_cv_path_SED+:} false; then : 4052 $as_echo_n "(cached) " >&6 4053else 4054 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4055 for ac_i in 1 2 3 4 5 6 7; do 4056 ac_script="$ac_script$as_nl$ac_script" 4057 done 4058 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4059 { ac_script=; unset ac_script;} 4060 if test -z "$SED"; then 4061 ac_path_SED_found=false 4062 # Loop through the user's path and test for each of PROGNAME-LIST 4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4064for as_dir in $PATH 4065do 4066 IFS=$as_save_IFS 4067 test -z "$as_dir" && as_dir=. 4068 for ac_prog in sed gsed; do 4069 for ac_exec_ext in '' $ac_executable_extensions; do 4070 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4071 as_fn_executable_p "$ac_path_SED" || continue 4072# Check for GNU ac_path_SED and select it if it is found. 4073 # Check for GNU $ac_path_SED 4074case `"$ac_path_SED" --version 2>&1` in 4075*GNU*) 4076 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4077*) 4078 ac_count=0 4079 $as_echo_n 0123456789 >"conftest.in" 4080 while : 4081 do 4082 cat "conftest.in" "conftest.in" >"conftest.tmp" 4083 mv "conftest.tmp" "conftest.in" 4084 cp "conftest.in" "conftest.nl" 4085 $as_echo '' >> "conftest.nl" 4086 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4087 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4088 as_fn_arith $ac_count + 1 && ac_count=$as_val 4089 if test $ac_count -gt ${ac_path_SED_max-0}; then 4090 # Best one so far, save it but keep looking for a better one 4091 ac_cv_path_SED="$ac_path_SED" 4092 ac_path_SED_max=$ac_count 4093 fi 4094 # 10*(2^10) chars as input seems more than enough 4095 test $ac_count -gt 10 && break 4096 done 4097 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4098esac 4099 4100 $ac_path_SED_found && break 3 4101 done 4102 done 4103 done 4104IFS=$as_save_IFS 4105 if test -z "$ac_cv_path_SED"; then 4106 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4107 fi 4108else 4109 ac_cv_path_SED=$SED 4110fi 4111 4112fi 4113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4114$as_echo "$ac_cv_path_SED" >&6; } 4115 SED="$ac_cv_path_SED" 4116 rm -f conftest.sed 4117 4118test -z "$SED" && SED=sed 4119Xsed="$SED -e 1s/^X//" 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4132$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4133if ${ac_cv_path_GREP+:} false; then : 4134 $as_echo_n "(cached) " >&6 4135else 4136 if test -z "$GREP"; then 4137 ac_path_GREP_found=false 4138 # Loop through the user's path and test for each of PROGNAME-LIST 4139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4140for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4141do 4142 IFS=$as_save_IFS 4143 test -z "$as_dir" && as_dir=. 4144 for ac_prog in grep ggrep; do 4145 for ac_exec_ext in '' $ac_executable_extensions; do 4146 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4147 as_fn_executable_p "$ac_path_GREP" || continue 4148# Check for GNU ac_path_GREP and select it if it is found. 4149 # Check for GNU $ac_path_GREP 4150case `"$ac_path_GREP" --version 2>&1` in 4151*GNU*) 4152 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4153*) 4154 ac_count=0 4155 $as_echo_n 0123456789 >"conftest.in" 4156 while : 4157 do 4158 cat "conftest.in" "conftest.in" >"conftest.tmp" 4159 mv "conftest.tmp" "conftest.in" 4160 cp "conftest.in" "conftest.nl" 4161 $as_echo 'GREP' >> "conftest.nl" 4162 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4163 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4164 as_fn_arith $ac_count + 1 && ac_count=$as_val 4165 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4166 # Best one so far, save it but keep looking for a better one 4167 ac_cv_path_GREP="$ac_path_GREP" 4168 ac_path_GREP_max=$ac_count 4169 fi 4170 # 10*(2^10) chars as input seems more than enough 4171 test $ac_count -gt 10 && break 4172 done 4173 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4174esac 4175 4176 $ac_path_GREP_found && break 3 4177 done 4178 done 4179 done 4180IFS=$as_save_IFS 4181 if test -z "$ac_cv_path_GREP"; then 4182 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4183 fi 4184else 4185 ac_cv_path_GREP=$GREP 4186fi 4187 4188fi 4189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4190$as_echo "$ac_cv_path_GREP" >&6; } 4191 GREP="$ac_cv_path_GREP" 4192 4193 4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4195$as_echo_n "checking for egrep... " >&6; } 4196if ${ac_cv_path_EGREP+:} false; then : 4197 $as_echo_n "(cached) " >&6 4198else 4199 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4200 then ac_cv_path_EGREP="$GREP -E" 4201 else 4202 if test -z "$EGREP"; then 4203 ac_path_EGREP_found=false 4204 # Loop through the user's path and test for each of PROGNAME-LIST 4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4206for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4207do 4208 IFS=$as_save_IFS 4209 test -z "$as_dir" && as_dir=. 4210 for ac_prog in egrep; do 4211 for ac_exec_ext in '' $ac_executable_extensions; do 4212 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4213 as_fn_executable_p "$ac_path_EGREP" || continue 4214# Check for GNU ac_path_EGREP and select it if it is found. 4215 # Check for GNU $ac_path_EGREP 4216case `"$ac_path_EGREP" --version 2>&1` in 4217*GNU*) 4218 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4219*) 4220 ac_count=0 4221 $as_echo_n 0123456789 >"conftest.in" 4222 while : 4223 do 4224 cat "conftest.in" "conftest.in" >"conftest.tmp" 4225 mv "conftest.tmp" "conftest.in" 4226 cp "conftest.in" "conftest.nl" 4227 $as_echo 'EGREP' >> "conftest.nl" 4228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4230 as_fn_arith $ac_count + 1 && ac_count=$as_val 4231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4232 # Best one so far, save it but keep looking for a better one 4233 ac_cv_path_EGREP="$ac_path_EGREP" 4234 ac_path_EGREP_max=$ac_count 4235 fi 4236 # 10*(2^10) chars as input seems more than enough 4237 test $ac_count -gt 10 && break 4238 done 4239 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4240esac 4241 4242 $ac_path_EGREP_found && break 3 4243 done 4244 done 4245 done 4246IFS=$as_save_IFS 4247 if test -z "$ac_cv_path_EGREP"; then 4248 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4249 fi 4250else 4251 ac_cv_path_EGREP=$EGREP 4252fi 4253 4254 fi 4255fi 4256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4257$as_echo "$ac_cv_path_EGREP" >&6; } 4258 EGREP="$ac_cv_path_EGREP" 4259 4260 4261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4262$as_echo_n "checking for fgrep... " >&6; } 4263if ${ac_cv_path_FGREP+:} false; then : 4264 $as_echo_n "(cached) " >&6 4265else 4266 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4267 then ac_cv_path_FGREP="$GREP -F" 4268 else 4269 if test -z "$FGREP"; then 4270 ac_path_FGREP_found=false 4271 # Loop through the user's path and test for each of PROGNAME-LIST 4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4273for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4274do 4275 IFS=$as_save_IFS 4276 test -z "$as_dir" && as_dir=. 4277 for ac_prog in fgrep; do 4278 for ac_exec_ext in '' $ac_executable_extensions; do 4279 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4280 as_fn_executable_p "$ac_path_FGREP" || continue 4281# Check for GNU ac_path_FGREP and select it if it is found. 4282 # Check for GNU $ac_path_FGREP 4283case `"$ac_path_FGREP" --version 2>&1` in 4284*GNU*) 4285 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4286*) 4287 ac_count=0 4288 $as_echo_n 0123456789 >"conftest.in" 4289 while : 4290 do 4291 cat "conftest.in" "conftest.in" >"conftest.tmp" 4292 mv "conftest.tmp" "conftest.in" 4293 cp "conftest.in" "conftest.nl" 4294 $as_echo 'FGREP' >> "conftest.nl" 4295 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4296 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4297 as_fn_arith $ac_count + 1 && ac_count=$as_val 4298 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4299 # Best one so far, save it but keep looking for a better one 4300 ac_cv_path_FGREP="$ac_path_FGREP" 4301 ac_path_FGREP_max=$ac_count 4302 fi 4303 # 10*(2^10) chars as input seems more than enough 4304 test $ac_count -gt 10 && break 4305 done 4306 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4307esac 4308 4309 $ac_path_FGREP_found && break 3 4310 done 4311 done 4312 done 4313IFS=$as_save_IFS 4314 if test -z "$ac_cv_path_FGREP"; then 4315 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4316 fi 4317else 4318 ac_cv_path_FGREP=$FGREP 4319fi 4320 4321 fi 4322fi 4323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4324$as_echo "$ac_cv_path_FGREP" >&6; } 4325 FGREP="$ac_cv_path_FGREP" 4326 4327 4328test -z "$GREP" && GREP=grep 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348@%:@ Check whether --with-gnu-ld was given. 4349if test "${with_gnu_ld+set}" = set; then : 4350 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4351else 4352 with_gnu_ld=no 4353fi 4354 4355ac_prog=ld 4356if test yes = "$GCC"; then 4357 # Check if gcc -print-prog-name=ld gives a path. 4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4359$as_echo_n "checking for ld used by $CC... " >&6; } 4360 case $host in 4361 *-*-mingw*) 4362 # gcc leaves a trailing carriage return, which upsets mingw 4363 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4364 *) 4365 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4366 esac 4367 case $ac_prog in 4368 # Accept absolute paths. 4369 [\\/]* | ?:[\\/]*) 4370 re_direlt='/[^/][^/]*/\.\./' 4371 # Canonicalize the pathname of ld 4372 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4373 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4374 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4375 done 4376 test -z "$LD" && LD=$ac_prog 4377 ;; 4378 "") 4379 # If it fails, then pretend we aren't using GCC. 4380 ac_prog=ld 4381 ;; 4382 *) 4383 # If it is relative, then search for the first ld in PATH. 4384 with_gnu_ld=unknown 4385 ;; 4386 esac 4387elif test yes = "$with_gnu_ld"; then 4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4389$as_echo_n "checking for GNU ld... " >&6; } 4390else 4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4392$as_echo_n "checking for non-GNU ld... " >&6; } 4393fi 4394if ${lt_cv_path_LD+:} false; then : 4395 $as_echo_n "(cached) " >&6 4396else 4397 if test -z "$LD"; then 4398 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4399 for ac_dir in $PATH; do 4400 IFS=$lt_save_ifs 4401 test -z "$ac_dir" && ac_dir=. 4402 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4403 lt_cv_path_LD=$ac_dir/$ac_prog 4404 # Check to see if the program is GNU ld. I'd rather use --version, 4405 # but apparently some variants of GNU ld only accept -v. 4406 # Break only if it was the GNU/non-GNU ld that we prefer. 4407 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4408 *GNU* | *'with BFD'*) 4409 test no != "$with_gnu_ld" && break 4410 ;; 4411 *) 4412 test yes != "$with_gnu_ld" && break 4413 ;; 4414 esac 4415 fi 4416 done 4417 IFS=$lt_save_ifs 4418else 4419 lt_cv_path_LD=$LD # Let the user override the test with a path. 4420fi 4421fi 4422 4423LD=$lt_cv_path_LD 4424if test -n "$LD"; then 4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4426$as_echo "$LD" >&6; } 4427else 4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4429$as_echo "no" >&6; } 4430fi 4431test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4433$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4434if ${lt_cv_prog_gnu_ld+:} false; then : 4435 $as_echo_n "(cached) " >&6 4436else 4437 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4438case `$LD -v 2>&1 </dev/null` in 4439*GNU* | *'with BFD'*) 4440 lt_cv_prog_gnu_ld=yes 4441 ;; 4442*) 4443 lt_cv_prog_gnu_ld=no 4444 ;; 4445esac 4446fi 4447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4448$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4449with_gnu_ld=$lt_cv_prog_gnu_ld 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4460$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4461if ${lt_cv_path_NM+:} false; then : 4462 $as_echo_n "(cached) " >&6 4463else 4464 if test -n "$NM"; then 4465 # Let the user override the test. 4466 lt_cv_path_NM=$NM 4467else 4468 lt_nm_to_check=${ac_tool_prefix}nm 4469 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4470 lt_nm_to_check="$lt_nm_to_check nm" 4471 fi 4472 for lt_tmp_nm in $lt_nm_to_check; do 4473 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4474 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4475 IFS=$lt_save_ifs 4476 test -z "$ac_dir" && ac_dir=. 4477 tmp_nm=$ac_dir/$lt_tmp_nm 4478 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4479 # Check to see if the nm accepts a BSD-compat flag. 4480 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4481 # nm: unknown option "B" ignored 4482 # Tru64's nm complains that /dev/null is an invalid object file 4483 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4484 case $build_os in 4485 mingw*) lt_bad_file=conftest.nm/nofile ;; 4486 *) lt_bad_file=/dev/null ;; 4487 esac 4488 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4489 *$lt_bad_file* | *'Invalid file or object type'*) 4490 lt_cv_path_NM="$tmp_nm -B" 4491 break 2 4492 ;; 4493 *) 4494 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4495 */dev/null*) 4496 lt_cv_path_NM="$tmp_nm -p" 4497 break 2 4498 ;; 4499 *) 4500 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4501 continue # so that we can try to find one that supports BSD flags 4502 ;; 4503 esac 4504 ;; 4505 esac 4506 fi 4507 done 4508 IFS=$lt_save_ifs 4509 done 4510 : ${lt_cv_path_NM=no} 4511fi 4512fi 4513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4514$as_echo "$lt_cv_path_NM" >&6; } 4515if test no != "$lt_cv_path_NM"; then 4516 NM=$lt_cv_path_NM 4517else 4518 # Didn't find any BSD compatible name lister, look for dumpbin. 4519 if test -n "$DUMPBIN"; then : 4520 # Let the user override the test. 4521 else 4522 if test -n "$ac_tool_prefix"; then 4523 for ac_prog in dumpbin "link -dump" 4524 do 4525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4526set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4528$as_echo_n "checking for $ac_word... " >&6; } 4529if ${ac_cv_prog_DUMPBIN+:} false; then : 4530 $as_echo_n "(cached) " >&6 4531else 4532 if test -n "$DUMPBIN"; then 4533 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4534else 4535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4536for as_dir in $PATH 4537do 4538 IFS=$as_save_IFS 4539 test -z "$as_dir" && as_dir=. 4540 for ac_exec_ext in '' $ac_executable_extensions; do 4541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4542 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4544 break 2 4545 fi 4546done 4547 done 4548IFS=$as_save_IFS 4549 4550fi 4551fi 4552DUMPBIN=$ac_cv_prog_DUMPBIN 4553if test -n "$DUMPBIN"; then 4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4555$as_echo "$DUMPBIN" >&6; } 4556else 4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4558$as_echo "no" >&6; } 4559fi 4560 4561 4562 test -n "$DUMPBIN" && break 4563 done 4564fi 4565if test -z "$DUMPBIN"; then 4566 ac_ct_DUMPBIN=$DUMPBIN 4567 for ac_prog in dumpbin "link -dump" 4568do 4569 # Extract the first word of "$ac_prog", so it can be a program name with args. 4570set dummy $ac_prog; ac_word=$2 4571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4572$as_echo_n "checking for $ac_word... " >&6; } 4573if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4574 $as_echo_n "(cached) " >&6 4575else 4576 if test -n "$ac_ct_DUMPBIN"; then 4577 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4578else 4579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4580for as_dir in $PATH 4581do 4582 IFS=$as_save_IFS 4583 test -z "$as_dir" && as_dir=. 4584 for ac_exec_ext in '' $ac_executable_extensions; do 4585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4586 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4588 break 2 4589 fi 4590done 4591 done 4592IFS=$as_save_IFS 4593 4594fi 4595fi 4596ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4597if test -n "$ac_ct_DUMPBIN"; then 4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4599$as_echo "$ac_ct_DUMPBIN" >&6; } 4600else 4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4602$as_echo "no" >&6; } 4603fi 4604 4605 4606 test -n "$ac_ct_DUMPBIN" && break 4607done 4608 4609 if test "x$ac_ct_DUMPBIN" = x; then 4610 DUMPBIN=":" 4611 else 4612 case $cross_compiling:$ac_tool_warned in 4613yes:) 4614{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4615$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4616ac_tool_warned=yes ;; 4617esac 4618 DUMPBIN=$ac_ct_DUMPBIN 4619 fi 4620fi 4621 4622 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4623 *COFF*) 4624 DUMPBIN="$DUMPBIN -symbols -headers" 4625 ;; 4626 *) 4627 DUMPBIN=: 4628 ;; 4629 esac 4630 fi 4631 4632 if test : != "$DUMPBIN"; then 4633 NM=$DUMPBIN 4634 fi 4635fi 4636test -z "$NM" && NM=nm 4637 4638 4639 4640 4641 4642 4643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4644$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4645if ${lt_cv_nm_interface+:} false; then : 4646 $as_echo_n "(cached) " >&6 4647else 4648 lt_cv_nm_interface="BSD nm" 4649 echo "int some_variable = 0;" > conftest.$ac_ext 4650 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4651 (eval "$ac_compile" 2>conftest.err) 4652 cat conftest.err >&5 4653 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4654 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4655 cat conftest.err >&5 4656 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4657 cat conftest.out >&5 4658 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4659 lt_cv_nm_interface="MS dumpbin" 4660 fi 4661 rm -f conftest* 4662fi 4663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4664$as_echo "$lt_cv_nm_interface" >&6; } 4665 4666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4667$as_echo_n "checking whether ln -s works... " >&6; } 4668LN_S=$as_ln_s 4669if test "$LN_S" = "ln -s"; then 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4671$as_echo "yes" >&6; } 4672else 4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4674$as_echo "no, using $LN_S" >&6; } 4675fi 4676 4677# find the maximum length of command line arguments 4678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4679$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4680if ${lt_cv_sys_max_cmd_len+:} false; then : 4681 $as_echo_n "(cached) " >&6 4682else 4683 i=0 4684 teststring=ABCD 4685 4686 case $build_os in 4687 msdosdjgpp*) 4688 # On DJGPP, this test can blow up pretty badly due to problems in libc 4689 # (any single argument exceeding 2000 bytes causes a buffer overrun 4690 # during glob expansion). Even if it were fixed, the result of this 4691 # check would be larger than it should be. 4692 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4693 ;; 4694 4695 gnu*) 4696 # Under GNU Hurd, this test is not required because there is 4697 # no limit to the length of command line arguments. 4698 # Libtool will interpret -1 as no limit whatsoever 4699 lt_cv_sys_max_cmd_len=-1; 4700 ;; 4701 4702 cygwin* | mingw* | cegcc*) 4703 # On Win9x/ME, this test blows up -- it succeeds, but takes 4704 # about 5 minutes as the teststring grows exponentially. 4705 # Worse, since 9x/ME are not pre-emptively multitasking, 4706 # you end up with a "frozen" computer, even though with patience 4707 # the test eventually succeeds (with a max line length of 256k). 4708 # Instead, let's just punt: use the minimum linelength reported by 4709 # all of the supported platforms: 8192 (on NT/2K/XP). 4710 lt_cv_sys_max_cmd_len=8192; 4711 ;; 4712 4713 mint*) 4714 # On MiNT this can take a long time and run out of memory. 4715 lt_cv_sys_max_cmd_len=8192; 4716 ;; 4717 4718 amigaos*) 4719 # On AmigaOS with pdksh, this test takes hours, literally. 4720 # So we just punt and use a minimum line length of 8192. 4721 lt_cv_sys_max_cmd_len=8192; 4722 ;; 4723 4724 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4725 # This has been around since 386BSD, at least. Likely further. 4726 if test -x /sbin/sysctl; then 4727 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4728 elif test -x /usr/sbin/sysctl; then 4729 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4730 else 4731 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4732 fi 4733 # And add a safety zone 4734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4735 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4736 ;; 4737 4738 interix*) 4739 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4740 lt_cv_sys_max_cmd_len=196608 4741 ;; 4742 4743 os2*) 4744 # The test takes a long time on OS/2. 4745 lt_cv_sys_max_cmd_len=8192 4746 ;; 4747 4748 osf*) 4749 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4750 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4751 # nice to cause kernel panics so lets avoid the loop below. 4752 # First set a reasonable default. 4753 lt_cv_sys_max_cmd_len=16384 4754 # 4755 if test -x /sbin/sysconfig; then 4756 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4757 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4758 esac 4759 fi 4760 ;; 4761 sco3.2v5*) 4762 lt_cv_sys_max_cmd_len=102400 4763 ;; 4764 sysv5* | sco5v6* | sysv4.2uw2*) 4765 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4766 if test -n "$kargmax"; then 4767 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4768 else 4769 lt_cv_sys_max_cmd_len=32768 4770 fi 4771 ;; 4772 *) 4773 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4774 if test -n "$lt_cv_sys_max_cmd_len" && \ 4775 test undefined != "$lt_cv_sys_max_cmd_len"; then 4776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4778 else 4779 # Make teststring a little bigger before we do anything with it. 4780 # a 1K string should be a reasonable start. 4781 for i in 1 2 3 4 5 6 7 8; do 4782 teststring=$teststring$teststring 4783 done 4784 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4785 # If test is not a shell built-in, we'll probably end up computing a 4786 # maximum length that is only half of the actual maximum length, but 4787 # we can't tell. 4788 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4789 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4790 test 17 != "$i" # 1/2 MB should be enough 4791 do 4792 i=`expr $i + 1` 4793 teststring=$teststring$teststring 4794 done 4795 # Only check the string length outside the loop. 4796 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4797 teststring= 4798 # Add a significant safety factor because C++ compilers can tack on 4799 # massive amounts of additional arguments before passing them to the 4800 # linker. It appears as though 1/2 is a usable value. 4801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4802 fi 4803 ;; 4804 esac 4805 4806fi 4807 4808if test -n "$lt_cv_sys_max_cmd_len"; then 4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4810$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4811else 4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4813$as_echo "none" >&6; } 4814fi 4815max_cmd_len=$lt_cv_sys_max_cmd_len 4816 4817 4818 4819 4820 4821 4822: ${CP="cp -f"} 4823: ${MV="mv -f"} 4824: ${RM="rm -f"} 4825 4826if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4827 lt_unset=unset 4828else 4829 lt_unset=false 4830fi 4831 4832 4833 4834 4835 4836# test EBCDIC or ASCII 4837case `echo X|tr X '\101'` in 4838 A) # ASCII based system 4839 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4840 lt_SP2NL='tr \040 \012' 4841 lt_NL2SP='tr \015\012 \040\040' 4842 ;; 4843 *) # EBCDIC based system 4844 lt_SP2NL='tr \100 \n' 4845 lt_NL2SP='tr \r\n \100\100' 4846 ;; 4847esac 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4858$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4859if ${lt_cv_to_host_file_cmd+:} false; then : 4860 $as_echo_n "(cached) " >&6 4861else 4862 case $host in 4863 *-*-mingw* ) 4864 case $build in 4865 *-*-mingw* ) # actually msys 4866 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4867 ;; 4868 *-*-cygwin* ) 4869 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4870 ;; 4871 * ) # otherwise, assume *nix 4872 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4873 ;; 4874 esac 4875 ;; 4876 *-*-cygwin* ) 4877 case $build in 4878 *-*-mingw* ) # actually msys 4879 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4880 ;; 4881 *-*-cygwin* ) 4882 lt_cv_to_host_file_cmd=func_convert_file_noop 4883 ;; 4884 * ) # otherwise, assume *nix 4885 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4886 ;; 4887 esac 4888 ;; 4889 * ) # unhandled hosts (and "normal" native builds) 4890 lt_cv_to_host_file_cmd=func_convert_file_noop 4891 ;; 4892esac 4893 4894fi 4895 4896to_host_file_cmd=$lt_cv_to_host_file_cmd 4897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4898$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4899 4900 4901 4902 4903 4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4905$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4906if ${lt_cv_to_tool_file_cmd+:} false; then : 4907 $as_echo_n "(cached) " >&6 4908else 4909 #assume ordinary cross tools, or native build. 4910lt_cv_to_tool_file_cmd=func_convert_file_noop 4911case $host in 4912 *-*-mingw* ) 4913 case $build in 4914 *-*-mingw* ) # actually msys 4915 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4916 ;; 4917 esac 4918 ;; 4919esac 4920 4921fi 4922 4923to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4925$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4926 4927 4928 4929 4930 4931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4932$as_echo_n "checking for $LD option to reload object files... " >&6; } 4933if ${lt_cv_ld_reload_flag+:} false; then : 4934 $as_echo_n "(cached) " >&6 4935else 4936 lt_cv_ld_reload_flag='-r' 4937fi 4938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4939$as_echo "$lt_cv_ld_reload_flag" >&6; } 4940reload_flag=$lt_cv_ld_reload_flag 4941case $reload_flag in 4942"" | " "*) ;; 4943*) reload_flag=" $reload_flag" ;; 4944esac 4945reload_cmds='$LD$reload_flag -o $output$reload_objs' 4946case $host_os in 4947 cygwin* | mingw* | pw32* | cegcc*) 4948 if test yes != "$GCC"; then 4949 reload_cmds=false 4950 fi 4951 ;; 4952 darwin*) 4953 if test yes = "$GCC"; then 4954 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 4955 else 4956 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4957 fi 4958 ;; 4959esac 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969if test -n "$ac_tool_prefix"; then 4970 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4971set dummy ${ac_tool_prefix}objdump; ac_word=$2 4972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4973$as_echo_n "checking for $ac_word... " >&6; } 4974if ${ac_cv_prog_OBJDUMP+:} false; then : 4975 $as_echo_n "(cached) " >&6 4976else 4977 if test -n "$OBJDUMP"; then 4978 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4979else 4980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4981for as_dir in $PATH 4982do 4983 IFS=$as_save_IFS 4984 test -z "$as_dir" && as_dir=. 4985 for ac_exec_ext in '' $ac_executable_extensions; do 4986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4987 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4989 break 2 4990 fi 4991done 4992 done 4993IFS=$as_save_IFS 4994 4995fi 4996fi 4997OBJDUMP=$ac_cv_prog_OBJDUMP 4998if test -n "$OBJDUMP"; then 4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5000$as_echo "$OBJDUMP" >&6; } 5001else 5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5003$as_echo "no" >&6; } 5004fi 5005 5006 5007fi 5008if test -z "$ac_cv_prog_OBJDUMP"; then 5009 ac_ct_OBJDUMP=$OBJDUMP 5010 # Extract the first word of "objdump", so it can be a program name with args. 5011set dummy objdump; ac_word=$2 5012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5013$as_echo_n "checking for $ac_word... " >&6; } 5014if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5015 $as_echo_n "(cached) " >&6 5016else 5017 if test -n "$ac_ct_OBJDUMP"; then 5018 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5019else 5020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5021for as_dir in $PATH 5022do 5023 IFS=$as_save_IFS 5024 test -z "$as_dir" && as_dir=. 5025 for ac_exec_ext in '' $ac_executable_extensions; do 5026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5027 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5029 break 2 5030 fi 5031done 5032 done 5033IFS=$as_save_IFS 5034 5035fi 5036fi 5037ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5038if test -n "$ac_ct_OBJDUMP"; then 5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5040$as_echo "$ac_ct_OBJDUMP" >&6; } 5041else 5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5043$as_echo "no" >&6; } 5044fi 5045 5046 if test "x$ac_ct_OBJDUMP" = x; then 5047 OBJDUMP="false" 5048 else 5049 case $cross_compiling:$ac_tool_warned in 5050yes:) 5051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5053ac_tool_warned=yes ;; 5054esac 5055 OBJDUMP=$ac_ct_OBJDUMP 5056 fi 5057else 5058 OBJDUMP="$ac_cv_prog_OBJDUMP" 5059fi 5060 5061test -z "$OBJDUMP" && OBJDUMP=objdump 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5072$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5073if ${lt_cv_deplibs_check_method+:} false; then : 5074 $as_echo_n "(cached) " >&6 5075else 5076 lt_cv_file_magic_cmd='$MAGIC_CMD' 5077lt_cv_file_magic_test_file= 5078lt_cv_deplibs_check_method='unknown' 5079# Need to set the preceding variable on all platforms that support 5080# interlibrary dependencies. 5081# 'none' -- dependencies not supported. 5082# 'unknown' -- same as none, but documents that we really don't know. 5083# 'pass_all' -- all dependencies passed with no checks. 5084# 'test_compile' -- check by making test program. 5085# 'file_magic [[regex]]' -- check by looking for files in library path 5086# that responds to the $file_magic_cmd with a given extended regex. 5087# If you have 'file' or equivalent on your system and you're not sure 5088# whether 'pass_all' will *always* work, you probably want this one. 5089 5090case $host_os in 5091aix[4-9]*) 5092 lt_cv_deplibs_check_method=pass_all 5093 ;; 5094 5095beos*) 5096 lt_cv_deplibs_check_method=pass_all 5097 ;; 5098 5099bsdi[45]*) 5100 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5101 lt_cv_file_magic_cmd='/usr/bin/file -L' 5102 lt_cv_file_magic_test_file=/shlib/libc.so 5103 ;; 5104 5105cygwin*) 5106 # func_win32_libid is a shell function defined in ltmain.sh 5107 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5108 lt_cv_file_magic_cmd='func_win32_libid' 5109 ;; 5110 5111mingw* | pw32*) 5112 # Base MSYS/MinGW do not provide the 'file' command needed by 5113 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5114 # unless we find 'file', for example because we are cross-compiling. 5115 if ( file / ) >/dev/null 2>&1; then 5116 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5117 lt_cv_file_magic_cmd='func_win32_libid' 5118 else 5119 # Keep this pattern in sync with the one in func_win32_libid. 5120 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5121 lt_cv_file_magic_cmd='$OBJDUMP -f' 5122 fi 5123 ;; 5124 5125cegcc*) 5126 # use the weaker test based on 'objdump'. See mingw*. 5127 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5128 lt_cv_file_magic_cmd='$OBJDUMP -f' 5129 ;; 5130 5131darwin* | rhapsody*) 5132 lt_cv_deplibs_check_method=pass_all 5133 ;; 5134 5135freebsd* | dragonfly*) 5136 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5137 case $host_cpu in 5138 i*86 ) 5139 # Not sure whether the presence of OpenBSD here was a mistake. 5140 # Let's accept both of them until this is cleared up. 5141 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5142 lt_cv_file_magic_cmd=/usr/bin/file 5143 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5144 ;; 5145 esac 5146 else 5147 lt_cv_deplibs_check_method=pass_all 5148 fi 5149 ;; 5150 5151haiku*) 5152 lt_cv_deplibs_check_method=pass_all 5153 ;; 5154 5155hpux10.20* | hpux11*) 5156 lt_cv_file_magic_cmd=/usr/bin/file 5157 case $host_cpu in 5158 ia64*) 5159 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5160 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5161 ;; 5162 hppa*64*) 5163 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]' 5164 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5165 ;; 5166 *) 5167 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5168 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5169 ;; 5170 esac 5171 ;; 5172 5173interix[3-9]*) 5174 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5175 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5176 ;; 5177 5178irix5* | irix6* | nonstopux*) 5179 case $LD in 5180 *-32|*"-32 ") libmagic=32-bit;; 5181 *-n32|*"-n32 ") libmagic=N32;; 5182 *-64|*"-64 ") libmagic=64-bit;; 5183 *) libmagic=never-match;; 5184 esac 5185 lt_cv_deplibs_check_method=pass_all 5186 ;; 5187 5188# This must be glibc/ELF. 5189linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5190 lt_cv_deplibs_check_method=pass_all 5191 ;; 5192 5193netbsd*) 5194 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5195 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5196 else 5197 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5198 fi 5199 ;; 5200 5201newos6*) 5202 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5203 lt_cv_file_magic_cmd=/usr/bin/file 5204 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5205 ;; 5206 5207*nto* | *qnx*) 5208 lt_cv_deplibs_check_method=pass_all 5209 ;; 5210 5211openbsd* | bitrig*) 5212 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5213 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5214 else 5215 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5216 fi 5217 ;; 5218 5219osf3* | osf4* | osf5*) 5220 lt_cv_deplibs_check_method=pass_all 5221 ;; 5222 5223rdos*) 5224 lt_cv_deplibs_check_method=pass_all 5225 ;; 5226 5227solaris*) 5228 lt_cv_deplibs_check_method=pass_all 5229 ;; 5230 5231sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5232 lt_cv_deplibs_check_method=pass_all 5233 ;; 5234 5235sysv4 | sysv4.3*) 5236 case $host_vendor in 5237 motorola) 5238 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]' 5239 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5240 ;; 5241 ncr) 5242 lt_cv_deplibs_check_method=pass_all 5243 ;; 5244 sequent) 5245 lt_cv_file_magic_cmd='/bin/file' 5246 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5247 ;; 5248 sni) 5249 lt_cv_file_magic_cmd='/bin/file' 5250 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5251 lt_cv_file_magic_test_file=/lib/libc.so 5252 ;; 5253 siemens) 5254 lt_cv_deplibs_check_method=pass_all 5255 ;; 5256 pc) 5257 lt_cv_deplibs_check_method=pass_all 5258 ;; 5259 esac 5260 ;; 5261 5262tpf*) 5263 lt_cv_deplibs_check_method=pass_all 5264 ;; 5265os2*) 5266 lt_cv_deplibs_check_method=pass_all 5267 ;; 5268esac 5269 5270fi 5271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5272$as_echo "$lt_cv_deplibs_check_method" >&6; } 5273 5274file_magic_glob= 5275want_nocaseglob=no 5276if test "$build" = "$host"; then 5277 case $host_os in 5278 mingw* | pw32*) 5279 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5280 want_nocaseglob=yes 5281 else 5282 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5283 fi 5284 ;; 5285 esac 5286fi 5287 5288file_magic_cmd=$lt_cv_file_magic_cmd 5289deplibs_check_method=$lt_cv_deplibs_check_method 5290test -z "$deplibs_check_method" && deplibs_check_method=unknown 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313if test -n "$ac_tool_prefix"; then 5314 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5315set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5317$as_echo_n "checking for $ac_word... " >&6; } 5318if ${ac_cv_prog_DLLTOOL+:} false; then : 5319 $as_echo_n "(cached) " >&6 5320else 5321 if test -n "$DLLTOOL"; then 5322 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5323else 5324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5325for as_dir in $PATH 5326do 5327 IFS=$as_save_IFS 5328 test -z "$as_dir" && as_dir=. 5329 for ac_exec_ext in '' $ac_executable_extensions; do 5330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5331 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5333 break 2 5334 fi 5335done 5336 done 5337IFS=$as_save_IFS 5338 5339fi 5340fi 5341DLLTOOL=$ac_cv_prog_DLLTOOL 5342if test -n "$DLLTOOL"; then 5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5344$as_echo "$DLLTOOL" >&6; } 5345else 5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5347$as_echo "no" >&6; } 5348fi 5349 5350 5351fi 5352if test -z "$ac_cv_prog_DLLTOOL"; then 5353 ac_ct_DLLTOOL=$DLLTOOL 5354 # Extract the first word of "dlltool", so it can be a program name with args. 5355set dummy dlltool; ac_word=$2 5356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5357$as_echo_n "checking for $ac_word... " >&6; } 5358if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5359 $as_echo_n "(cached) " >&6 5360else 5361 if test -n "$ac_ct_DLLTOOL"; then 5362 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5363else 5364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5365for as_dir in $PATH 5366do 5367 IFS=$as_save_IFS 5368 test -z "$as_dir" && as_dir=. 5369 for ac_exec_ext in '' $ac_executable_extensions; do 5370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5371 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5373 break 2 5374 fi 5375done 5376 done 5377IFS=$as_save_IFS 5378 5379fi 5380fi 5381ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5382if test -n "$ac_ct_DLLTOOL"; then 5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5384$as_echo "$ac_ct_DLLTOOL" >&6; } 5385else 5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5387$as_echo "no" >&6; } 5388fi 5389 5390 if test "x$ac_ct_DLLTOOL" = x; then 5391 DLLTOOL="false" 5392 else 5393 case $cross_compiling:$ac_tool_warned in 5394yes:) 5395{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5396$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5397ac_tool_warned=yes ;; 5398esac 5399 DLLTOOL=$ac_ct_DLLTOOL 5400 fi 5401else 5402 DLLTOOL="$ac_cv_prog_DLLTOOL" 5403fi 5404 5405test -z "$DLLTOOL" && DLLTOOL=dlltool 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5417$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5418if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5419 $as_echo_n "(cached) " >&6 5420else 5421 lt_cv_sharedlib_from_linklib_cmd='unknown' 5422 5423case $host_os in 5424cygwin* | mingw* | pw32* | cegcc*) 5425 # two different shell functions defined in ltmain.sh; 5426 # decide which one to use based on capabilities of $DLLTOOL 5427 case `$DLLTOOL --help 2>&1` in 5428 *--identify-strict*) 5429 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5430 ;; 5431 *) 5432 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5433 ;; 5434 esac 5435 ;; 5436*) 5437 # fallback: assume linklib IS sharedlib 5438 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5439 ;; 5440esac 5441 5442fi 5443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5444$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5445sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5446test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5447 5448 5449 5450 5451 5452 5453 5454 5455if test -n "$ac_tool_prefix"; then 5456 for ac_prog in ar 5457 do 5458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5459set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5461$as_echo_n "checking for $ac_word... " >&6; } 5462if ${ac_cv_prog_AR+:} false; then : 5463 $as_echo_n "(cached) " >&6 5464else 5465 if test -n "$AR"; then 5466 ac_cv_prog_AR="$AR" # Let the user override the test. 5467else 5468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5469for as_dir in $PATH 5470do 5471 IFS=$as_save_IFS 5472 test -z "$as_dir" && as_dir=. 5473 for ac_exec_ext in '' $ac_executable_extensions; do 5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5475 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5477 break 2 5478 fi 5479done 5480 done 5481IFS=$as_save_IFS 5482 5483fi 5484fi 5485AR=$ac_cv_prog_AR 5486if test -n "$AR"; then 5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5488$as_echo "$AR" >&6; } 5489else 5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5491$as_echo "no" >&6; } 5492fi 5493 5494 5495 test -n "$AR" && break 5496 done 5497fi 5498if test -z "$AR"; then 5499 ac_ct_AR=$AR 5500 for ac_prog in ar 5501do 5502 # Extract the first word of "$ac_prog", so it can be a program name with args. 5503set dummy $ac_prog; ac_word=$2 5504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5505$as_echo_n "checking for $ac_word... " >&6; } 5506if ${ac_cv_prog_ac_ct_AR+:} false; then : 5507 $as_echo_n "(cached) " >&6 5508else 5509 if test -n "$ac_ct_AR"; then 5510 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5511else 5512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5513for as_dir in $PATH 5514do 5515 IFS=$as_save_IFS 5516 test -z "$as_dir" && as_dir=. 5517 for ac_exec_ext in '' $ac_executable_extensions; do 5518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5519 ac_cv_prog_ac_ct_AR="$ac_prog" 5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5521 break 2 5522 fi 5523done 5524 done 5525IFS=$as_save_IFS 5526 5527fi 5528fi 5529ac_ct_AR=$ac_cv_prog_ac_ct_AR 5530if test -n "$ac_ct_AR"; then 5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5532$as_echo "$ac_ct_AR" >&6; } 5533else 5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5535$as_echo "no" >&6; } 5536fi 5537 5538 5539 test -n "$ac_ct_AR" && break 5540done 5541 5542 if test "x$ac_ct_AR" = x; then 5543 AR="false" 5544 else 5545 case $cross_compiling:$ac_tool_warned in 5546yes:) 5547{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5548$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5549ac_tool_warned=yes ;; 5550esac 5551 AR=$ac_ct_AR 5552 fi 5553fi 5554 5555: ${AR=ar} 5556: ${AR_FLAGS=cru} 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5569$as_echo_n "checking for archiver @FILE support... " >&6; } 5570if ${lt_cv_ar_at_file+:} false; then : 5571 $as_echo_n "(cached) " >&6 5572else 5573 lt_cv_ar_at_file=no 5574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5575/* end confdefs.h. */ 5576 5577int 5578main () 5579{ 5580 5581 ; 5582 return 0; 5583} 5584_ACEOF 5585if ac_fn_c_try_compile "$LINENO"; then : 5586 echo conftest.$ac_objext > conftest.lst 5587 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5588 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5589 (eval $lt_ar_try) 2>&5 5590 ac_status=$? 5591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5592 test $ac_status = 0; } 5593 if test 0 -eq "$ac_status"; then 5594 # Ensure the archiver fails upon bogus file names. 5595 rm -f conftest.$ac_objext libconftest.a 5596 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5597 (eval $lt_ar_try) 2>&5 5598 ac_status=$? 5599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5600 test $ac_status = 0; } 5601 if test 0 -ne "$ac_status"; then 5602 lt_cv_ar_at_file=@ 5603 fi 5604 fi 5605 rm -f conftest.* libconftest.a 5606 5607fi 5608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5609 5610fi 5611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5612$as_echo "$lt_cv_ar_at_file" >&6; } 5613 5614if test no = "$lt_cv_ar_at_file"; then 5615 archiver_list_spec= 5616else 5617 archiver_list_spec=$lt_cv_ar_at_file 5618fi 5619 5620 5621 5622 5623 5624 5625 5626if test -n "$ac_tool_prefix"; then 5627 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5628set dummy ${ac_tool_prefix}strip; ac_word=$2 5629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5630$as_echo_n "checking for $ac_word... " >&6; } 5631if ${ac_cv_prog_STRIP+:} false; then : 5632 $as_echo_n "(cached) " >&6 5633else 5634 if test -n "$STRIP"; then 5635 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5636else 5637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5638for as_dir in $PATH 5639do 5640 IFS=$as_save_IFS 5641 test -z "$as_dir" && as_dir=. 5642 for ac_exec_ext in '' $ac_executable_extensions; do 5643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5644 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5646 break 2 5647 fi 5648done 5649 done 5650IFS=$as_save_IFS 5651 5652fi 5653fi 5654STRIP=$ac_cv_prog_STRIP 5655if test -n "$STRIP"; then 5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5657$as_echo "$STRIP" >&6; } 5658else 5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5660$as_echo "no" >&6; } 5661fi 5662 5663 5664fi 5665if test -z "$ac_cv_prog_STRIP"; then 5666 ac_ct_STRIP=$STRIP 5667 # Extract the first word of "strip", so it can be a program name with args. 5668set dummy strip; ac_word=$2 5669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5670$as_echo_n "checking for $ac_word... " >&6; } 5671if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5672 $as_echo_n "(cached) " >&6 5673else 5674 if test -n "$ac_ct_STRIP"; then 5675 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5676else 5677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5678for as_dir in $PATH 5679do 5680 IFS=$as_save_IFS 5681 test -z "$as_dir" && as_dir=. 5682 for ac_exec_ext in '' $ac_executable_extensions; do 5683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5684 ac_cv_prog_ac_ct_STRIP="strip" 5685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5686 break 2 5687 fi 5688done 5689 done 5690IFS=$as_save_IFS 5691 5692fi 5693fi 5694ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5695if test -n "$ac_ct_STRIP"; then 5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5697$as_echo "$ac_ct_STRIP" >&6; } 5698else 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5700$as_echo "no" >&6; } 5701fi 5702 5703 if test "x$ac_ct_STRIP" = x; then 5704 STRIP=":" 5705 else 5706 case $cross_compiling:$ac_tool_warned in 5707yes:) 5708{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5709$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5710ac_tool_warned=yes ;; 5711esac 5712 STRIP=$ac_ct_STRIP 5713 fi 5714else 5715 STRIP="$ac_cv_prog_STRIP" 5716fi 5717 5718test -z "$STRIP" && STRIP=: 5719 5720 5721 5722 5723 5724 5725if test -n "$ac_tool_prefix"; then 5726 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5727set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5729$as_echo_n "checking for $ac_word... " >&6; } 5730if ${ac_cv_prog_RANLIB+:} false; then : 5731 $as_echo_n "(cached) " >&6 5732else 5733 if test -n "$RANLIB"; then 5734 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5735else 5736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5737for as_dir in $PATH 5738do 5739 IFS=$as_save_IFS 5740 test -z "$as_dir" && as_dir=. 5741 for ac_exec_ext in '' $ac_executable_extensions; do 5742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5743 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5745 break 2 5746 fi 5747done 5748 done 5749IFS=$as_save_IFS 5750 5751fi 5752fi 5753RANLIB=$ac_cv_prog_RANLIB 5754if test -n "$RANLIB"; then 5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5756$as_echo "$RANLIB" >&6; } 5757else 5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5759$as_echo "no" >&6; } 5760fi 5761 5762 5763fi 5764if test -z "$ac_cv_prog_RANLIB"; then 5765 ac_ct_RANLIB=$RANLIB 5766 # Extract the first word of "ranlib", so it can be a program name with args. 5767set dummy ranlib; ac_word=$2 5768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5769$as_echo_n "checking for $ac_word... " >&6; } 5770if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5771 $as_echo_n "(cached) " >&6 5772else 5773 if test -n "$ac_ct_RANLIB"; then 5774 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5775else 5776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5777for as_dir in $PATH 5778do 5779 IFS=$as_save_IFS 5780 test -z "$as_dir" && as_dir=. 5781 for ac_exec_ext in '' $ac_executable_extensions; do 5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5783 ac_cv_prog_ac_ct_RANLIB="ranlib" 5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5785 break 2 5786 fi 5787done 5788 done 5789IFS=$as_save_IFS 5790 5791fi 5792fi 5793ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5794if test -n "$ac_ct_RANLIB"; then 5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5796$as_echo "$ac_ct_RANLIB" >&6; } 5797else 5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5799$as_echo "no" >&6; } 5800fi 5801 5802 if test "x$ac_ct_RANLIB" = x; then 5803 RANLIB=":" 5804 else 5805 case $cross_compiling:$ac_tool_warned in 5806yes:) 5807{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5808$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5809ac_tool_warned=yes ;; 5810esac 5811 RANLIB=$ac_ct_RANLIB 5812 fi 5813else 5814 RANLIB="$ac_cv_prog_RANLIB" 5815fi 5816 5817test -z "$RANLIB" && RANLIB=: 5818 5819 5820 5821 5822 5823 5824# Determine commands to create old-style static archives. 5825old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5826old_postinstall_cmds='chmod 644 $oldlib' 5827old_postuninstall_cmds= 5828 5829if test -n "$RANLIB"; then 5830 case $host_os in 5831 bitrig* | openbsd*) 5832 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5833 ;; 5834 *) 5835 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5836 ;; 5837 esac 5838 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5839fi 5840 5841case $host_os in 5842 darwin*) 5843 lock_old_archive_extraction=yes ;; 5844 *) 5845 lock_old_archive_extraction=no ;; 5846esac 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886# If no C compiler was specified, use CC. 5887LTCC=${LTCC-"$CC"} 5888 5889# If no C compiler flags were specified, use CFLAGS. 5890LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5891 5892# Allow CC to be a program name with arguments. 5893compiler=$CC 5894 5895 5896# Check for command to grab the raw symbol name followed by C symbol from nm. 5897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5898$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5899if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5900 $as_echo_n "(cached) " >&6 5901else 5902 5903# These are sane defaults that work on at least a few old systems. 5904# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5905 5906# Character class describing NM global symbol codes. 5907symcode='[BCDEGRST]' 5908 5909# Regexp to match symbols that can be accessed directly from C. 5910sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5911 5912# Define system-specific variables. 5913case $host_os in 5914aix*) 5915 symcode='[BCDT]' 5916 ;; 5917cygwin* | mingw* | pw32* | cegcc*) 5918 symcode='[ABCDGISTW]' 5919 ;; 5920hpux*) 5921 if test ia64 = "$host_cpu"; then 5922 symcode='[ABCDEGRST]' 5923 fi 5924 ;; 5925irix* | nonstopux*) 5926 symcode='[BCDEGRST]' 5927 ;; 5928osf*) 5929 symcode='[BCDEGQRST]' 5930 ;; 5931solaris*) 5932 symcode='[BDRT]' 5933 ;; 5934sco3.2v5*) 5935 symcode='[DT]' 5936 ;; 5937sysv4.2uw2*) 5938 symcode='[DT]' 5939 ;; 5940sysv5* | sco5v6* | unixware* | OpenUNIX*) 5941 symcode='[ABDT]' 5942 ;; 5943sysv4) 5944 symcode='[DFNSTU]' 5945 ;; 5946esac 5947 5948# If we're using GNU nm, then use its standard symbol codes. 5949case `$NM -V 2>&1` in 5950*GNU* | *'with BFD'*) 5951 symcode='[ABCDGIRSTW]' ;; 5952esac 5953 5954if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5955 # Gets list of data symbols to import. 5956 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 5957 # Adjust the below global symbol transforms to fixup imported variables. 5958 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 5959 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 5960 lt_c_name_lib_hook="\ 5961 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 5962 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 5963else 5964 # Disable hooks by default. 5965 lt_cv_sys_global_symbol_to_import= 5966 lt_cdecl_hook= 5967 lt_c_name_hook= 5968 lt_c_name_lib_hook= 5969fi 5970 5971# Transform an extracted symbol line into a proper C declaration. 5972# Some systems (esp. on ia64) link data and code symbols differently, 5973# so use this general approach. 5974lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 5975$lt_cdecl_hook\ 5976" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 5977" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 5978 5979# Transform an extracted symbol line into symbol name and symbol address 5980lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 5981$lt_c_name_hook\ 5982" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 5983" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 5984 5985# Transform an extracted symbol line into symbol name with lib prefix and 5986# symbol address. 5987lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 5988$lt_c_name_lib_hook\ 5989" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 5990" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 5991" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 5992 5993# Handle CRLF in mingw tool chain 5994opt_cr= 5995case $build_os in 5996mingw*) 5997 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5998 ;; 5999esac 6000 6001# Try without a prefix underscore, then with it. 6002for ac_symprfx in "" "_"; do 6003 6004 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6005 symxfrm="\\1 $ac_symprfx\\2 \\2" 6006 6007 # Write the raw and C identifiers. 6008 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6009 # Fake it for dumpbin and say T for any non-static function, 6010 # D for any global variable and I for any imported variable. 6011 # Also find C++ and __fastcall symbols from MSVC++, 6012 # which start with @ or ?. 6013 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6014" {last_section=section; section=\$ 3};"\ 6015" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6016" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6017" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6018" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6019" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6020" \$ 0!~/External *\|/{next};"\ 6021" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6022" {if(hide[section]) next};"\ 6023" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6024" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6025" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6026" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6027" ' prfx=^$ac_symprfx" 6028 else 6029 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6030 fi 6031 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6032 6033 # Check to see that the pipe works correctly. 6034 pipe_works=no 6035 6036 rm -f conftest* 6037 cat > conftest.$ac_ext <<_LT_EOF 6038#ifdef __cplusplus 6039extern "C" { 6040#endif 6041char nm_test_var; 6042void nm_test_func(void); 6043void nm_test_func(void){} 6044#ifdef __cplusplus 6045} 6046#endif 6047int main(){nm_test_var='a';nm_test_func();return(0);} 6048_LT_EOF 6049 6050 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6051 (eval $ac_compile) 2>&5 6052 ac_status=$? 6053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6054 test $ac_status = 0; }; then 6055 # Now try to grab the symbols. 6056 nlist=conftest.nm 6057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6058 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6059 ac_status=$? 6060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6061 test $ac_status = 0; } && test -s "$nlist"; then 6062 # Try sorting and uniquifying the output. 6063 if sort "$nlist" | uniq > "$nlist"T; then 6064 mv -f "$nlist"T "$nlist" 6065 else 6066 rm -f "$nlist"T 6067 fi 6068 6069 # Make sure that we snagged all the symbols we need. 6070 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6071 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6072 cat <<_LT_EOF > conftest.$ac_ext 6073/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6074#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6075/* DATA imports from DLLs on WIN32 can't be const, because runtime 6076 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6077# define LT@&t@_DLSYM_CONST 6078#elif defined __osf__ 6079/* This system does not cope well with relocations in const data. */ 6080# define LT@&t@_DLSYM_CONST 6081#else 6082# define LT@&t@_DLSYM_CONST const 6083#endif 6084 6085#ifdef __cplusplus 6086extern "C" { 6087#endif 6088 6089_LT_EOF 6090 # Now generate the symbol file. 6091 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6092 6093 cat <<_LT_EOF >> conftest.$ac_ext 6094 6095/* The mapping between symbol names and symbols. */ 6096LT@&t@_DLSYM_CONST struct { 6097 const char *name; 6098 void *address; 6099} 6100lt__PROGRAM__LTX_preloaded_symbols[] = 6101{ 6102 { "@PROGRAM@", (void *) 0 }, 6103_LT_EOF 6104 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6105 cat <<\_LT_EOF >> conftest.$ac_ext 6106 {0, (void *) 0} 6107}; 6108 6109/* This works around a problem in FreeBSD linker */ 6110#ifdef FREEBSD_WORKAROUND 6111static const void *lt_preloaded_setup() { 6112 return lt__PROGRAM__LTX_preloaded_symbols; 6113} 6114#endif 6115 6116#ifdef __cplusplus 6117} 6118#endif 6119_LT_EOF 6120 # Now try linking the two files. 6121 mv conftest.$ac_objext conftstm.$ac_objext 6122 lt_globsym_save_LIBS=$LIBS 6123 lt_globsym_save_CFLAGS=$CFLAGS 6124 LIBS=conftstm.$ac_objext 6125 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6127 (eval $ac_link) 2>&5 6128 ac_status=$? 6129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6130 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6131 pipe_works=yes 6132 fi 6133 LIBS=$lt_globsym_save_LIBS 6134 CFLAGS=$lt_globsym_save_CFLAGS 6135 else 6136 echo "cannot find nm_test_func in $nlist" >&5 6137 fi 6138 else 6139 echo "cannot find nm_test_var in $nlist" >&5 6140 fi 6141 else 6142 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6143 fi 6144 else 6145 echo "$progname: failed program was:" >&5 6146 cat conftest.$ac_ext >&5 6147 fi 6148 rm -rf conftest* conftst* 6149 6150 # Do not use the global_symbol_pipe unless it works. 6151 if test yes = "$pipe_works"; then 6152 break 6153 else 6154 lt_cv_sys_global_symbol_pipe= 6155 fi 6156done 6157 6158fi 6159 6160if test -z "$lt_cv_sys_global_symbol_pipe"; then 6161 lt_cv_sys_global_symbol_to_cdecl= 6162fi 6163if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6165$as_echo "failed" >&6; } 6166else 6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6168$as_echo "ok" >&6; } 6169fi 6170 6171# Response file support. 6172if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6173 nm_file_list_spec='@' 6174elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6175 nm_file_list_spec='@' 6176fi 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6215$as_echo_n "checking for sysroot... " >&6; } 6216 6217@%:@ Check whether --with-sysroot was given. 6218if test "${with_sysroot+set}" = set; then : 6219 withval=$with_sysroot; 6220else 6221 with_sysroot=no 6222fi 6223 6224 6225lt_sysroot= 6226case $with_sysroot in #( 6227 yes) 6228 if test yes = "$GCC"; then 6229 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6230 fi 6231 ;; #( 6232 /*) 6233 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6234 ;; #( 6235 no|'') 6236 ;; #( 6237 *) 6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6239$as_echo "$with_sysroot" >&6; } 6240 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6241 ;; 6242esac 6243 6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6245$as_echo "${lt_sysroot:-no}" >&6; } 6246 6247 6248 6249 6250 6251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6252$as_echo_n "checking for a working dd... " >&6; } 6253if ${ac_cv_path_lt_DD+:} false; then : 6254 $as_echo_n "(cached) " >&6 6255else 6256 printf 0123456789abcdef0123456789abcdef >conftest.i 6257cat conftest.i conftest.i >conftest2.i 6258: ${lt_DD:=$DD} 6259if test -z "$lt_DD"; then 6260 ac_path_lt_DD_found=false 6261 # Loop through the user's path and test for each of PROGNAME-LIST 6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6263for as_dir in $PATH 6264do 6265 IFS=$as_save_IFS 6266 test -z "$as_dir" && as_dir=. 6267 for ac_prog in dd; do 6268 for ac_exec_ext in '' $ac_executable_extensions; do 6269 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6270 as_fn_executable_p "$ac_path_lt_DD" || continue 6271if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6272 cmp -s conftest.i conftest.out \ 6273 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6274fi 6275 $ac_path_lt_DD_found && break 3 6276 done 6277 done 6278 done 6279IFS=$as_save_IFS 6280 if test -z "$ac_cv_path_lt_DD"; then 6281 : 6282 fi 6283else 6284 ac_cv_path_lt_DD=$lt_DD 6285fi 6286 6287rm -f conftest.i conftest2.i conftest.out 6288fi 6289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6290$as_echo "$ac_cv_path_lt_DD" >&6; } 6291 6292 6293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6294$as_echo_n "checking how to truncate binary pipes... " >&6; } 6295if ${lt_cv_truncate_bin+:} false; then : 6296 $as_echo_n "(cached) " >&6 6297else 6298 printf 0123456789abcdef0123456789abcdef >conftest.i 6299cat conftest.i conftest.i >conftest2.i 6300lt_cv_truncate_bin= 6301if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6302 cmp -s conftest.i conftest.out \ 6303 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6304fi 6305rm -f conftest.i conftest2.i conftest.out 6306test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6307fi 6308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6309$as_echo "$lt_cv_truncate_bin" >&6; } 6310 6311 6312 6313 6314 6315 6316 6317# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6318func_cc_basename () 6319{ 6320 for cc_temp in @S|@*""; do 6321 case $cc_temp in 6322 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6323 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6324 \-*) ;; 6325 *) break;; 6326 esac 6327 done 6328 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6329} 6330 6331@%:@ Check whether --enable-libtool-lock was given. 6332if test "${enable_libtool_lock+set}" = set; then : 6333 enableval=$enable_libtool_lock; 6334fi 6335 6336test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6337 6338# Some flags need to be propagated to the compiler or linker for good 6339# libtool support. 6340case $host in 6341ia64-*-hpux*) 6342 # Find out what ABI is being produced by ac_compile, and set mode 6343 # options accordingly. 6344 echo 'int i;' > conftest.$ac_ext 6345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6346 (eval $ac_compile) 2>&5 6347 ac_status=$? 6348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6349 test $ac_status = 0; }; then 6350 case `/usr/bin/file conftest.$ac_objext` in 6351 *ELF-32*) 6352 HPUX_IA64_MODE=32 6353 ;; 6354 *ELF-64*) 6355 HPUX_IA64_MODE=64 6356 ;; 6357 esac 6358 fi 6359 rm -rf conftest* 6360 ;; 6361*-*-irix6*) 6362 # Find out what ABI is being produced by ac_compile, and set linker 6363 # options accordingly. 6364 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6366 (eval $ac_compile) 2>&5 6367 ac_status=$? 6368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6369 test $ac_status = 0; }; then 6370 if test yes = "$lt_cv_prog_gnu_ld"; then 6371 case `/usr/bin/file conftest.$ac_objext` in 6372 *32-bit*) 6373 LD="${LD-ld} -melf32bsmip" 6374 ;; 6375 *N32*) 6376 LD="${LD-ld} -melf32bmipn32" 6377 ;; 6378 *64-bit*) 6379 LD="${LD-ld} -melf64bmip" 6380 ;; 6381 esac 6382 else 6383 case `/usr/bin/file conftest.$ac_objext` in 6384 *32-bit*) 6385 LD="${LD-ld} -32" 6386 ;; 6387 *N32*) 6388 LD="${LD-ld} -n32" 6389 ;; 6390 *64-bit*) 6391 LD="${LD-ld} -64" 6392 ;; 6393 esac 6394 fi 6395 fi 6396 rm -rf conftest* 6397 ;; 6398 6399mips64*-*linux*) 6400 # Find out what ABI is being produced by ac_compile, and set linker 6401 # options accordingly. 6402 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6404 (eval $ac_compile) 2>&5 6405 ac_status=$? 6406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6407 test $ac_status = 0; }; then 6408 emul=elf 6409 case `/usr/bin/file conftest.$ac_objext` in 6410 *32-bit*) 6411 emul="${emul}32" 6412 ;; 6413 *64-bit*) 6414 emul="${emul}64" 6415 ;; 6416 esac 6417 case `/usr/bin/file conftest.$ac_objext` in 6418 *MSB*) 6419 emul="${emul}btsmip" 6420 ;; 6421 *LSB*) 6422 emul="${emul}ltsmip" 6423 ;; 6424 esac 6425 case `/usr/bin/file conftest.$ac_objext` in 6426 *N32*) 6427 emul="${emul}n32" 6428 ;; 6429 esac 6430 LD="${LD-ld} -m $emul" 6431 fi 6432 rm -rf conftest* 6433 ;; 6434 6435x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6436s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6437 # Find out what ABI is being produced by ac_compile, and set linker 6438 # options accordingly. Note that the listed cases only cover the 6439 # situations where additional linker options are needed (such as when 6440 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6441 # vice versa); the common cases where no linker options are needed do 6442 # not appear in the list. 6443 echo 'int i;' > conftest.$ac_ext 6444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6445 (eval $ac_compile) 2>&5 6446 ac_status=$? 6447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6448 test $ac_status = 0; }; then 6449 case `/usr/bin/file conftest.o` in 6450 *32-bit*) 6451 case $host in 6452 x86_64-*kfreebsd*-gnu) 6453 LD="${LD-ld} -m elf_i386_fbsd" 6454 ;; 6455 x86_64-*linux*) 6456 case `/usr/bin/file conftest.o` in 6457 *x86-64*) 6458 LD="${LD-ld} -m elf32_x86_64" 6459 ;; 6460 *) 6461 LD="${LD-ld} -m elf_i386" 6462 ;; 6463 esac 6464 ;; 6465 powerpc64le-*linux*) 6466 LD="${LD-ld} -m elf32lppclinux" 6467 ;; 6468 powerpc64-*linux*) 6469 LD="${LD-ld} -m elf32ppclinux" 6470 ;; 6471 s390x-*linux*) 6472 LD="${LD-ld} -m elf_s390" 6473 ;; 6474 sparc64-*linux*) 6475 LD="${LD-ld} -m elf32_sparc" 6476 ;; 6477 esac 6478 ;; 6479 *64-bit*) 6480 case $host in 6481 x86_64-*kfreebsd*-gnu) 6482 LD="${LD-ld} -m elf_x86_64_fbsd" 6483 ;; 6484 x86_64-*linux*) 6485 LD="${LD-ld} -m elf_x86_64" 6486 ;; 6487 powerpcle-*linux*) 6488 LD="${LD-ld} -m elf64lppc" 6489 ;; 6490 powerpc-*linux*) 6491 LD="${LD-ld} -m elf64ppc" 6492 ;; 6493 s390*-*linux*|s390*-*tpf*) 6494 LD="${LD-ld} -m elf64_s390" 6495 ;; 6496 sparc*-*linux*) 6497 LD="${LD-ld} -m elf64_sparc" 6498 ;; 6499 esac 6500 ;; 6501 esac 6502 fi 6503 rm -rf conftest* 6504 ;; 6505 6506*-*-sco3.2v5*) 6507 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6508 SAVE_CFLAGS=$CFLAGS 6509 CFLAGS="$CFLAGS -belf" 6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6511$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6512if ${lt_cv_cc_needs_belf+:} false; then : 6513 $as_echo_n "(cached) " >&6 6514else 6515 ac_ext=c 6516ac_cpp='$CPP $CPPFLAGS' 6517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6519ac_compiler_gnu=$ac_cv_c_compiler_gnu 6520 6521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6522/* end confdefs.h. */ 6523 6524int 6525main () 6526{ 6527 6528 ; 6529 return 0; 6530} 6531_ACEOF 6532if ac_fn_c_try_link "$LINENO"; then : 6533 lt_cv_cc_needs_belf=yes 6534else 6535 lt_cv_cc_needs_belf=no 6536fi 6537rm -f core conftest.err conftest.$ac_objext \ 6538 conftest$ac_exeext conftest.$ac_ext 6539 ac_ext=c 6540ac_cpp='$CPP $CPPFLAGS' 6541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6543ac_compiler_gnu=$ac_cv_c_compiler_gnu 6544 6545fi 6546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6547$as_echo "$lt_cv_cc_needs_belf" >&6; } 6548 if test yes != "$lt_cv_cc_needs_belf"; then 6549 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6550 CFLAGS=$SAVE_CFLAGS 6551 fi 6552 ;; 6553*-*solaris*) 6554 # Find out what ABI is being produced by ac_compile, and set linker 6555 # options accordingly. 6556 echo 'int i;' > conftest.$ac_ext 6557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6558 (eval $ac_compile) 2>&5 6559 ac_status=$? 6560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6561 test $ac_status = 0; }; then 6562 case `/usr/bin/file conftest.o` in 6563 *64-bit*) 6564 case $lt_cv_prog_gnu_ld in 6565 yes*) 6566 case $host in 6567 i?86-*-solaris*|x86_64-*-solaris*) 6568 LD="${LD-ld} -m elf_x86_64" 6569 ;; 6570 sparc*-*-solaris*) 6571 LD="${LD-ld} -m elf64_sparc" 6572 ;; 6573 esac 6574 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6575 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6576 LD=${LD-ld}_sol2 6577 fi 6578 ;; 6579 *) 6580 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6581 LD="${LD-ld} -64" 6582 fi 6583 ;; 6584 esac 6585 ;; 6586 esac 6587 fi 6588 rm -rf conftest* 6589 ;; 6590esac 6591 6592need_locks=$enable_libtool_lock 6593 6594if test -n "$ac_tool_prefix"; then 6595 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6596set dummy ${ac_tool_prefix}mt; ac_word=$2 6597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6598$as_echo_n "checking for $ac_word... " >&6; } 6599if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6600 $as_echo_n "(cached) " >&6 6601else 6602 if test -n "$MANIFEST_TOOL"; then 6603 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6604else 6605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6606for as_dir in $PATH 6607do 6608 IFS=$as_save_IFS 6609 test -z "$as_dir" && as_dir=. 6610 for ac_exec_ext in '' $ac_executable_extensions; do 6611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6612 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6614 break 2 6615 fi 6616done 6617 done 6618IFS=$as_save_IFS 6619 6620fi 6621fi 6622MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6623if test -n "$MANIFEST_TOOL"; then 6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6625$as_echo "$MANIFEST_TOOL" >&6; } 6626else 6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6628$as_echo "no" >&6; } 6629fi 6630 6631 6632fi 6633if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6634 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6635 # Extract the first word of "mt", so it can be a program name with args. 6636set dummy mt; ac_word=$2 6637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6638$as_echo_n "checking for $ac_word... " >&6; } 6639if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6640 $as_echo_n "(cached) " >&6 6641else 6642 if test -n "$ac_ct_MANIFEST_TOOL"; then 6643 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6644else 6645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6646for as_dir in $PATH 6647do 6648 IFS=$as_save_IFS 6649 test -z "$as_dir" && as_dir=. 6650 for ac_exec_ext in '' $ac_executable_extensions; do 6651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6652 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6654 break 2 6655 fi 6656done 6657 done 6658IFS=$as_save_IFS 6659 6660fi 6661fi 6662ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6663if test -n "$ac_ct_MANIFEST_TOOL"; then 6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6665$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6666else 6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6668$as_echo "no" >&6; } 6669fi 6670 6671 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6672 MANIFEST_TOOL=":" 6673 else 6674 case $cross_compiling:$ac_tool_warned in 6675yes:) 6676{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6677$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6678ac_tool_warned=yes ;; 6679esac 6680 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6681 fi 6682else 6683 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6684fi 6685 6686test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6688$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6689if ${lt_cv_path_mainfest_tool+:} false; then : 6690 $as_echo_n "(cached) " >&6 6691else 6692 lt_cv_path_mainfest_tool=no 6693 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6694 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6695 cat conftest.err >&5 6696 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6697 lt_cv_path_mainfest_tool=yes 6698 fi 6699 rm -f conftest* 6700fi 6701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6702$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6703if test yes != "$lt_cv_path_mainfest_tool"; then 6704 MANIFEST_TOOL=: 6705fi 6706 6707 6708 6709 6710 6711 6712 case $host_os in 6713 rhapsody* | darwin*) 6714 if test -n "$ac_tool_prefix"; then 6715 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6716set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6718$as_echo_n "checking for $ac_word... " >&6; } 6719if ${ac_cv_prog_DSYMUTIL+:} false; then : 6720 $as_echo_n "(cached) " >&6 6721else 6722 if test -n "$DSYMUTIL"; then 6723 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6724else 6725as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6726for as_dir in $PATH 6727do 6728 IFS=$as_save_IFS 6729 test -z "$as_dir" && as_dir=. 6730 for ac_exec_ext in '' $ac_executable_extensions; do 6731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6732 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6734 break 2 6735 fi 6736done 6737 done 6738IFS=$as_save_IFS 6739 6740fi 6741fi 6742DSYMUTIL=$ac_cv_prog_DSYMUTIL 6743if test -n "$DSYMUTIL"; then 6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6745$as_echo "$DSYMUTIL" >&6; } 6746else 6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6748$as_echo "no" >&6; } 6749fi 6750 6751 6752fi 6753if test -z "$ac_cv_prog_DSYMUTIL"; then 6754 ac_ct_DSYMUTIL=$DSYMUTIL 6755 # Extract the first word of "dsymutil", so it can be a program name with args. 6756set dummy dsymutil; ac_word=$2 6757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6758$as_echo_n "checking for $ac_word... " >&6; } 6759if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6760 $as_echo_n "(cached) " >&6 6761else 6762 if test -n "$ac_ct_DSYMUTIL"; then 6763 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6764else 6765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6766for as_dir in $PATH 6767do 6768 IFS=$as_save_IFS 6769 test -z "$as_dir" && as_dir=. 6770 for ac_exec_ext in '' $ac_executable_extensions; do 6771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6772 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6774 break 2 6775 fi 6776done 6777 done 6778IFS=$as_save_IFS 6779 6780fi 6781fi 6782ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6783if test -n "$ac_ct_DSYMUTIL"; then 6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6785$as_echo "$ac_ct_DSYMUTIL" >&6; } 6786else 6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6788$as_echo "no" >&6; } 6789fi 6790 6791 if test "x$ac_ct_DSYMUTIL" = x; then 6792 DSYMUTIL=":" 6793 else 6794 case $cross_compiling:$ac_tool_warned in 6795yes:) 6796{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6797$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6798ac_tool_warned=yes ;; 6799esac 6800 DSYMUTIL=$ac_ct_DSYMUTIL 6801 fi 6802else 6803 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6804fi 6805 6806 if test -n "$ac_tool_prefix"; then 6807 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6808set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6810$as_echo_n "checking for $ac_word... " >&6; } 6811if ${ac_cv_prog_NMEDIT+:} false; then : 6812 $as_echo_n "(cached) " >&6 6813else 6814 if test -n "$NMEDIT"; then 6815 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6816else 6817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6818for as_dir in $PATH 6819do 6820 IFS=$as_save_IFS 6821 test -z "$as_dir" && as_dir=. 6822 for ac_exec_ext in '' $ac_executable_extensions; do 6823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6824 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6826 break 2 6827 fi 6828done 6829 done 6830IFS=$as_save_IFS 6831 6832fi 6833fi 6834NMEDIT=$ac_cv_prog_NMEDIT 6835if test -n "$NMEDIT"; then 6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6837$as_echo "$NMEDIT" >&6; } 6838else 6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6840$as_echo "no" >&6; } 6841fi 6842 6843 6844fi 6845if test -z "$ac_cv_prog_NMEDIT"; then 6846 ac_ct_NMEDIT=$NMEDIT 6847 # Extract the first word of "nmedit", so it can be a program name with args. 6848set dummy nmedit; ac_word=$2 6849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6850$as_echo_n "checking for $ac_word... " >&6; } 6851if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6852 $as_echo_n "(cached) " >&6 6853else 6854 if test -n "$ac_ct_NMEDIT"; then 6855 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6856else 6857as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6858for as_dir in $PATH 6859do 6860 IFS=$as_save_IFS 6861 test -z "$as_dir" && as_dir=. 6862 for ac_exec_ext in '' $ac_executable_extensions; do 6863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6864 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6866 break 2 6867 fi 6868done 6869 done 6870IFS=$as_save_IFS 6871 6872fi 6873fi 6874ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6875if test -n "$ac_ct_NMEDIT"; then 6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6877$as_echo "$ac_ct_NMEDIT" >&6; } 6878else 6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6880$as_echo "no" >&6; } 6881fi 6882 6883 if test "x$ac_ct_NMEDIT" = x; then 6884 NMEDIT=":" 6885 else 6886 case $cross_compiling:$ac_tool_warned in 6887yes:) 6888{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6889$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6890ac_tool_warned=yes ;; 6891esac 6892 NMEDIT=$ac_ct_NMEDIT 6893 fi 6894else 6895 NMEDIT="$ac_cv_prog_NMEDIT" 6896fi 6897 6898 if test -n "$ac_tool_prefix"; then 6899 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6900set dummy ${ac_tool_prefix}lipo; ac_word=$2 6901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6902$as_echo_n "checking for $ac_word... " >&6; } 6903if ${ac_cv_prog_LIPO+:} false; then : 6904 $as_echo_n "(cached) " >&6 6905else 6906 if test -n "$LIPO"; then 6907 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6908else 6909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6910for as_dir in $PATH 6911do 6912 IFS=$as_save_IFS 6913 test -z "$as_dir" && as_dir=. 6914 for ac_exec_ext in '' $ac_executable_extensions; do 6915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6916 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6918 break 2 6919 fi 6920done 6921 done 6922IFS=$as_save_IFS 6923 6924fi 6925fi 6926LIPO=$ac_cv_prog_LIPO 6927if test -n "$LIPO"; then 6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6929$as_echo "$LIPO" >&6; } 6930else 6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6932$as_echo "no" >&6; } 6933fi 6934 6935 6936fi 6937if test -z "$ac_cv_prog_LIPO"; then 6938 ac_ct_LIPO=$LIPO 6939 # Extract the first word of "lipo", so it can be a program name with args. 6940set dummy lipo; ac_word=$2 6941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6942$as_echo_n "checking for $ac_word... " >&6; } 6943if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6944 $as_echo_n "(cached) " >&6 6945else 6946 if test -n "$ac_ct_LIPO"; then 6947 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6948else 6949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6950for as_dir in $PATH 6951do 6952 IFS=$as_save_IFS 6953 test -z "$as_dir" && as_dir=. 6954 for ac_exec_ext in '' $ac_executable_extensions; do 6955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6956 ac_cv_prog_ac_ct_LIPO="lipo" 6957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6958 break 2 6959 fi 6960done 6961 done 6962IFS=$as_save_IFS 6963 6964fi 6965fi 6966ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6967if test -n "$ac_ct_LIPO"; then 6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6969$as_echo "$ac_ct_LIPO" >&6; } 6970else 6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6972$as_echo "no" >&6; } 6973fi 6974 6975 if test "x$ac_ct_LIPO" = x; then 6976 LIPO=":" 6977 else 6978 case $cross_compiling:$ac_tool_warned in 6979yes:) 6980{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6981$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6982ac_tool_warned=yes ;; 6983esac 6984 LIPO=$ac_ct_LIPO 6985 fi 6986else 6987 LIPO="$ac_cv_prog_LIPO" 6988fi 6989 6990 if test -n "$ac_tool_prefix"; then 6991 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6992set dummy ${ac_tool_prefix}otool; ac_word=$2 6993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6994$as_echo_n "checking for $ac_word... " >&6; } 6995if ${ac_cv_prog_OTOOL+:} false; then : 6996 $as_echo_n "(cached) " >&6 6997else 6998 if test -n "$OTOOL"; then 6999 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7000else 7001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7002for as_dir in $PATH 7003do 7004 IFS=$as_save_IFS 7005 test -z "$as_dir" && as_dir=. 7006 for ac_exec_ext in '' $ac_executable_extensions; do 7007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7008 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7010 break 2 7011 fi 7012done 7013 done 7014IFS=$as_save_IFS 7015 7016fi 7017fi 7018OTOOL=$ac_cv_prog_OTOOL 7019if test -n "$OTOOL"; then 7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7021$as_echo "$OTOOL" >&6; } 7022else 7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7024$as_echo "no" >&6; } 7025fi 7026 7027 7028fi 7029if test -z "$ac_cv_prog_OTOOL"; then 7030 ac_ct_OTOOL=$OTOOL 7031 # Extract the first word of "otool", so it can be a program name with args. 7032set dummy otool; ac_word=$2 7033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7034$as_echo_n "checking for $ac_word... " >&6; } 7035if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7036 $as_echo_n "(cached) " >&6 7037else 7038 if test -n "$ac_ct_OTOOL"; then 7039 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7040else 7041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7042for as_dir in $PATH 7043do 7044 IFS=$as_save_IFS 7045 test -z "$as_dir" && as_dir=. 7046 for ac_exec_ext in '' $ac_executable_extensions; do 7047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7048 ac_cv_prog_ac_ct_OTOOL="otool" 7049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7050 break 2 7051 fi 7052done 7053 done 7054IFS=$as_save_IFS 7055 7056fi 7057fi 7058ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7059if test -n "$ac_ct_OTOOL"; then 7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7061$as_echo "$ac_ct_OTOOL" >&6; } 7062else 7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7064$as_echo "no" >&6; } 7065fi 7066 7067 if test "x$ac_ct_OTOOL" = x; then 7068 OTOOL=":" 7069 else 7070 case $cross_compiling:$ac_tool_warned in 7071yes:) 7072{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7073$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7074ac_tool_warned=yes ;; 7075esac 7076 OTOOL=$ac_ct_OTOOL 7077 fi 7078else 7079 OTOOL="$ac_cv_prog_OTOOL" 7080fi 7081 7082 if test -n "$ac_tool_prefix"; then 7083 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7084set dummy ${ac_tool_prefix}otool64; ac_word=$2 7085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7086$as_echo_n "checking for $ac_word... " >&6; } 7087if ${ac_cv_prog_OTOOL64+:} false; then : 7088 $as_echo_n "(cached) " >&6 7089else 7090 if test -n "$OTOOL64"; then 7091 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7092else 7093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7094for as_dir in $PATH 7095do 7096 IFS=$as_save_IFS 7097 test -z "$as_dir" && as_dir=. 7098 for ac_exec_ext in '' $ac_executable_extensions; do 7099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7100 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7102 break 2 7103 fi 7104done 7105 done 7106IFS=$as_save_IFS 7107 7108fi 7109fi 7110OTOOL64=$ac_cv_prog_OTOOL64 7111if test -n "$OTOOL64"; then 7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7113$as_echo "$OTOOL64" >&6; } 7114else 7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7116$as_echo "no" >&6; } 7117fi 7118 7119 7120fi 7121if test -z "$ac_cv_prog_OTOOL64"; then 7122 ac_ct_OTOOL64=$OTOOL64 7123 # Extract the first word of "otool64", so it can be a program name with args. 7124set dummy otool64; ac_word=$2 7125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7126$as_echo_n "checking for $ac_word... " >&6; } 7127if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7128 $as_echo_n "(cached) " >&6 7129else 7130 if test -n "$ac_ct_OTOOL64"; then 7131 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7132else 7133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7134for as_dir in $PATH 7135do 7136 IFS=$as_save_IFS 7137 test -z "$as_dir" && as_dir=. 7138 for ac_exec_ext in '' $ac_executable_extensions; do 7139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7140 ac_cv_prog_ac_ct_OTOOL64="otool64" 7141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7142 break 2 7143 fi 7144done 7145 done 7146IFS=$as_save_IFS 7147 7148fi 7149fi 7150ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7151if test -n "$ac_ct_OTOOL64"; then 7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7153$as_echo "$ac_ct_OTOOL64" >&6; } 7154else 7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7156$as_echo "no" >&6; } 7157fi 7158 7159 if test "x$ac_ct_OTOOL64" = x; then 7160 OTOOL64=":" 7161 else 7162 case $cross_compiling:$ac_tool_warned in 7163yes:) 7164{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7165$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7166ac_tool_warned=yes ;; 7167esac 7168 OTOOL64=$ac_ct_OTOOL64 7169 fi 7170else 7171 OTOOL64="$ac_cv_prog_OTOOL64" 7172fi 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7201$as_echo_n "checking for -single_module linker flag... " >&6; } 7202if ${lt_cv_apple_cc_single_mod+:} false; then : 7203 $as_echo_n "(cached) " >&6 7204else 7205 lt_cv_apple_cc_single_mod=no 7206 if test -z "$LT_MULTI_MODULE"; then 7207 # By default we will add the -single_module flag. You can override 7208 # by either setting the environment variable LT_MULTI_MODULE 7209 # non-empty at configure time, or by adding -multi_module to the 7210 # link flags. 7211 rm -rf libconftest.dylib* 7212 echo "int foo(void){return 1;}" > conftest.c 7213 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7214-dynamiclib -Wl,-single_module conftest.c" >&5 7215 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7216 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7217 _lt_result=$? 7218 # If there is a non-empty error log, and "single_module" 7219 # appears in it, assume the flag caused a linker warning 7220 if test -s conftest.err && $GREP single_module conftest.err; then 7221 cat conftest.err >&5 7222 # Otherwise, if the output was created with a 0 exit code from 7223 # the compiler, it worked. 7224 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7225 lt_cv_apple_cc_single_mod=yes 7226 else 7227 cat conftest.err >&5 7228 fi 7229 rm -rf libconftest.dylib* 7230 rm -f conftest.* 7231 fi 7232fi 7233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7234$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7235 7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7237$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7238if ${lt_cv_ld_exported_symbols_list+:} false; then : 7239 $as_echo_n "(cached) " >&6 7240else 7241 lt_cv_ld_exported_symbols_list=no 7242 save_LDFLAGS=$LDFLAGS 7243 echo "_main" > conftest.sym 7244 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7246/* end confdefs.h. */ 7247 7248int 7249main () 7250{ 7251 7252 ; 7253 return 0; 7254} 7255_ACEOF 7256if ac_fn_c_try_link "$LINENO"; then : 7257 lt_cv_ld_exported_symbols_list=yes 7258else 7259 lt_cv_ld_exported_symbols_list=no 7260fi 7261rm -f core conftest.err conftest.$ac_objext \ 7262 conftest$ac_exeext conftest.$ac_ext 7263 LDFLAGS=$save_LDFLAGS 7264 7265fi 7266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7267$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7268 7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7270$as_echo_n "checking for -force_load linker flag... " >&6; } 7271if ${lt_cv_ld_force_load+:} false; then : 7272 $as_echo_n "(cached) " >&6 7273else 7274 lt_cv_ld_force_load=no 7275 cat > conftest.c << _LT_EOF 7276int forced_loaded() { return 2;} 7277_LT_EOF 7278 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7279 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7280 echo "$AR cru libconftest.a conftest.o" >&5 7281 $AR cru libconftest.a conftest.o 2>&5 7282 echo "$RANLIB libconftest.a" >&5 7283 $RANLIB libconftest.a 2>&5 7284 cat > conftest.c << _LT_EOF 7285int main() { return 0;} 7286_LT_EOF 7287 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7288 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7289 _lt_result=$? 7290 if test -s conftest.err && $GREP force_load conftest.err; then 7291 cat conftest.err >&5 7292 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7293 lt_cv_ld_force_load=yes 7294 else 7295 cat conftest.err >&5 7296 fi 7297 rm -f conftest.err libconftest.a conftest conftest.c 7298 rm -rf conftest.dSYM 7299 7300fi 7301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7302$as_echo "$lt_cv_ld_force_load" >&6; } 7303 case $host_os in 7304 rhapsody* | darwin1.[012]) 7305 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7306 darwin1.*) 7307 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7308 darwin*) # darwin 5.x on 7309 # if running on 10.5 or later, the deployment target defaults 7310 # to the OS version, if on x86, and 10.4, the deployment 7311 # target defaults to 10.4. Don't you love it? 7312 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7313 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7314 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7315 10.[012][,.]*) 7316 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7317 10.*) 7318 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7319 esac 7320 ;; 7321 esac 7322 if test yes = "$lt_cv_apple_cc_single_mod"; then 7323 _lt_dar_single_mod='$single_module' 7324 fi 7325 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7326 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7327 else 7328 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7329 fi 7330 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7331 _lt_dsymutil='~$DSYMUTIL $lib || :' 7332 else 7333 _lt_dsymutil= 7334 fi 7335 ;; 7336 esac 7337 7338# func_munge_path_list VARIABLE PATH 7339# ----------------------------------- 7340# VARIABLE is name of variable containing _space_ separated list of 7341# directories to be munged by the contents of PATH, which is string 7342# having a format: 7343# "DIR[:DIR]:" 7344# string "DIR[ DIR]" will be prepended to VARIABLE 7345# ":DIR[:DIR]" 7346# string "DIR[ DIR]" will be appended to VARIABLE 7347# "DIRP[:DIRP]::[DIRA:]DIRA" 7348# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7349# "DIRA[ DIRA]" will be appended to VARIABLE 7350# "DIR[:DIR]" 7351# VARIABLE will be replaced by "DIR[ DIR]" 7352func_munge_path_list () 7353{ 7354 case x@S|@2 in 7355 x) 7356 ;; 7357 *:) 7358 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" 7359 ;; 7360 x:*) 7361 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" 7362 ;; 7363 *::*) 7364 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7365 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" 7366 ;; 7367 *) 7368 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" 7369 ;; 7370 esac 7371} 7372 7373ac_ext=c 7374ac_cpp='$CPP $CPPFLAGS' 7375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7377ac_compiler_gnu=$ac_cv_c_compiler_gnu 7378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7379$as_echo_n "checking how to run the C preprocessor... " >&6; } 7380# On Suns, sometimes $CPP names a directory. 7381if test -n "$CPP" && test -d "$CPP"; then 7382 CPP= 7383fi 7384if test -z "$CPP"; then 7385 if ${ac_cv_prog_CPP+:} false; then : 7386 $as_echo_n "(cached) " >&6 7387else 7388 # Double quotes because CPP needs to be expanded 7389 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7390 do 7391 ac_preproc_ok=false 7392for ac_c_preproc_warn_flag in '' yes 7393do 7394 # Use a header file that comes with gcc, so configuring glibc 7395 # with a fresh cross-compiler works. 7396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7397 # <limits.h> exists even on freestanding compilers. 7398 # On the NeXT, cc -E runs the code through the compiler's parser, 7399 # not just through cpp. "Syntax error" is here to catch this case. 7400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7401/* end confdefs.h. */ 7402@%:@ifdef __STDC__ 7403@%:@ include <limits.h> 7404@%:@else 7405@%:@ include <assert.h> 7406@%:@endif 7407 Syntax error 7408_ACEOF 7409if ac_fn_c_try_cpp "$LINENO"; then : 7410 7411else 7412 # Broken: fails on valid input. 7413continue 7414fi 7415rm -f conftest.err conftest.i conftest.$ac_ext 7416 7417 # OK, works on sane cases. Now check whether nonexistent headers 7418 # can be detected and how. 7419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7420/* end confdefs.h. */ 7421@%:@include <ac_nonexistent.h> 7422_ACEOF 7423if ac_fn_c_try_cpp "$LINENO"; then : 7424 # Broken: success on invalid input. 7425continue 7426else 7427 # Passes both tests. 7428ac_preproc_ok=: 7429break 7430fi 7431rm -f conftest.err conftest.i conftest.$ac_ext 7432 7433done 7434# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7435rm -f conftest.i conftest.err conftest.$ac_ext 7436if $ac_preproc_ok; then : 7437 break 7438fi 7439 7440 done 7441 ac_cv_prog_CPP=$CPP 7442 7443fi 7444 CPP=$ac_cv_prog_CPP 7445else 7446 ac_cv_prog_CPP=$CPP 7447fi 7448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7449$as_echo "$CPP" >&6; } 7450ac_preproc_ok=false 7451for ac_c_preproc_warn_flag in '' yes 7452do 7453 # Use a header file that comes with gcc, so configuring glibc 7454 # with a fresh cross-compiler works. 7455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7456 # <limits.h> exists even on freestanding compilers. 7457 # On the NeXT, cc -E runs the code through the compiler's parser, 7458 # not just through cpp. "Syntax error" is here to catch this case. 7459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7460/* end confdefs.h. */ 7461@%:@ifdef __STDC__ 7462@%:@ include <limits.h> 7463@%:@else 7464@%:@ include <assert.h> 7465@%:@endif 7466 Syntax error 7467_ACEOF 7468if ac_fn_c_try_cpp "$LINENO"; then : 7469 7470else 7471 # Broken: fails on valid input. 7472continue 7473fi 7474rm -f conftest.err conftest.i conftest.$ac_ext 7475 7476 # OK, works on sane cases. Now check whether nonexistent headers 7477 # can be detected and how. 7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7479/* end confdefs.h. */ 7480@%:@include <ac_nonexistent.h> 7481_ACEOF 7482if ac_fn_c_try_cpp "$LINENO"; then : 7483 # Broken: success on invalid input. 7484continue 7485else 7486 # Passes both tests. 7487ac_preproc_ok=: 7488break 7489fi 7490rm -f conftest.err conftest.i conftest.$ac_ext 7491 7492done 7493# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7494rm -f conftest.i conftest.err conftest.$ac_ext 7495if $ac_preproc_ok; then : 7496 7497else 7498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7499$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7500as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7501See \`config.log' for more details" "$LINENO" 5; } 7502fi 7503 7504ac_ext=c 7505ac_cpp='$CPP $CPPFLAGS' 7506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7508ac_compiler_gnu=$ac_cv_c_compiler_gnu 7509 7510 7511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7512$as_echo_n "checking for ANSI C header files... " >&6; } 7513if ${ac_cv_header_stdc+:} false; then : 7514 $as_echo_n "(cached) " >&6 7515else 7516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7517/* end confdefs.h. */ 7518#include <stdlib.h> 7519#include <stdarg.h> 7520#include <string.h> 7521#include <float.h> 7522 7523int 7524main () 7525{ 7526 7527 ; 7528 return 0; 7529} 7530_ACEOF 7531if ac_fn_c_try_compile "$LINENO"; then : 7532 ac_cv_header_stdc=yes 7533else 7534 ac_cv_header_stdc=no 7535fi 7536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7537 7538if test $ac_cv_header_stdc = yes; then 7539 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7541/* end confdefs.h. */ 7542#include <string.h> 7543 7544_ACEOF 7545if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7546 $EGREP "memchr" >/dev/null 2>&1; then : 7547 7548else 7549 ac_cv_header_stdc=no 7550fi 7551rm -f conftest* 7552 7553fi 7554 7555if test $ac_cv_header_stdc = yes; then 7556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7558/* end confdefs.h. */ 7559#include <stdlib.h> 7560 7561_ACEOF 7562if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7563 $EGREP "free" >/dev/null 2>&1; then : 7564 7565else 7566 ac_cv_header_stdc=no 7567fi 7568rm -f conftest* 7569 7570fi 7571 7572if test $ac_cv_header_stdc = yes; then 7573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7574 if test "$cross_compiling" = yes; then : 7575 : 7576else 7577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7578/* end confdefs.h. */ 7579#include <ctype.h> 7580#include <stdlib.h> 7581#if ((' ' & 0x0FF) == 0x020) 7582# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7583# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7584#else 7585# define ISLOWER(c) \ 7586 (('a' <= (c) && (c) <= 'i') \ 7587 || ('j' <= (c) && (c) <= 'r') \ 7588 || ('s' <= (c) && (c) <= 'z')) 7589# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7590#endif 7591 7592#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7593int 7594main () 7595{ 7596 int i; 7597 for (i = 0; i < 256; i++) 7598 if (XOR (islower (i), ISLOWER (i)) 7599 || toupper (i) != TOUPPER (i)) 7600 return 2; 7601 return 0; 7602} 7603_ACEOF 7604if ac_fn_c_try_run "$LINENO"; then : 7605 7606else 7607 ac_cv_header_stdc=no 7608fi 7609rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7610 conftest.$ac_objext conftest.beam conftest.$ac_ext 7611fi 7612 7613fi 7614fi 7615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7616$as_echo "$ac_cv_header_stdc" >&6; } 7617if test $ac_cv_header_stdc = yes; then 7618 7619$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h 7620 7621fi 7622 7623# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7624for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7625 inttypes.h stdint.h unistd.h 7626do : 7627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7628ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7629" 7630if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7631 cat >>confdefs.h <<_ACEOF 7632@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7633_ACEOF 7634 7635fi 7636 7637done 7638 7639 7640for ac_header in dlfcn.h 7641do : 7642 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7643" 7644if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7645 cat >>confdefs.h <<_ACEOF 7646@%:@define HAVE_DLFCN_H 1 7647_ACEOF 7648 7649fi 7650 7651done 7652 7653 7654 7655 7656 7657# Set options 7658 7659 7660 7661 enable_dlopen=no 7662 7663 7664 enable_win32_dll=no 7665 7666 7667 @%:@ Check whether --enable-shared was given. 7668if test "${enable_shared+set}" = set; then : 7669 enableval=$enable_shared; p=${PACKAGE-default} 7670 case $enableval in 7671 yes) enable_shared=yes ;; 7672 no) enable_shared=no ;; 7673 *) 7674 enable_shared=no 7675 # Look at the argument we got. We use all the common list separators. 7676 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7677 for pkg in $enableval; do 7678 IFS=$lt_save_ifs 7679 if test "X$pkg" = "X$p"; then 7680 enable_shared=yes 7681 fi 7682 done 7683 IFS=$lt_save_ifs 7684 ;; 7685 esac 7686else 7687 enable_shared=yes 7688fi 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 @%:@ Check whether --enable-static was given. 7699if test "${enable_static+set}" = set; then : 7700 enableval=$enable_static; p=${PACKAGE-default} 7701 case $enableval in 7702 yes) enable_static=yes ;; 7703 no) enable_static=no ;; 7704 *) 7705 enable_static=no 7706 # Look at the argument we got. We use all the common list separators. 7707 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7708 for pkg in $enableval; do 7709 IFS=$lt_save_ifs 7710 if test "X$pkg" = "X$p"; then 7711 enable_static=yes 7712 fi 7713 done 7714 IFS=$lt_save_ifs 7715 ;; 7716 esac 7717else 7718 enable_static=yes 7719fi 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730@%:@ Check whether --with-pic was given. 7731if test "${with_pic+set}" = set; then : 7732 withval=$with_pic; lt_p=${PACKAGE-default} 7733 case $withval in 7734 yes|no) pic_mode=$withval ;; 7735 *) 7736 pic_mode=default 7737 # Look at the argument we got. We use all the common list separators. 7738 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7739 for lt_pkg in $withval; do 7740 IFS=$lt_save_ifs 7741 if test "X$lt_pkg" = "X$lt_p"; then 7742 pic_mode=yes 7743 fi 7744 done 7745 IFS=$lt_save_ifs 7746 ;; 7747 esac 7748else 7749 pic_mode=default 7750fi 7751 7752 7753 7754 7755 7756 7757 7758 7759 @%:@ Check whether --enable-fast-install was given. 7760if test "${enable_fast_install+set}" = set; then : 7761 enableval=$enable_fast_install; p=${PACKAGE-default} 7762 case $enableval in 7763 yes) enable_fast_install=yes ;; 7764 no) enable_fast_install=no ;; 7765 *) 7766 enable_fast_install=no 7767 # Look at the argument we got. We use all the common list separators. 7768 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7769 for pkg in $enableval; do 7770 IFS=$lt_save_ifs 7771 if test "X$pkg" = "X$p"; then 7772 enable_fast_install=yes 7773 fi 7774 done 7775 IFS=$lt_save_ifs 7776 ;; 7777 esac 7778else 7779 enable_fast_install=yes 7780fi 7781 7782 7783 7784 7785 7786 7787 7788 7789 shared_archive_member_spec= 7790case $host,$enable_shared in 7791power*-*-aix[5-9]*,yes) 7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 7793$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 7794 7795@%:@ Check whether --with-aix-soname was given. 7796if test "${with_aix_soname+set}" = set; then : 7797 withval=$with_aix_soname; case $withval in 7798 aix|svr4|both) 7799 ;; 7800 *) 7801 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 7802 ;; 7803 esac 7804 lt_cv_with_aix_soname=$with_aix_soname 7805else 7806 if ${lt_cv_with_aix_soname+:} false; then : 7807 $as_echo_n "(cached) " >&6 7808else 7809 lt_cv_with_aix_soname=aix 7810fi 7811 7812 with_aix_soname=$lt_cv_with_aix_soname 7813fi 7814 7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 7816$as_echo "$with_aix_soname" >&6; } 7817 if test aix != "$with_aix_soname"; then 7818 # For the AIX way of multilib, we name the shared archive member 7819 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 7820 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 7821 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 7822 # the AIX toolchain works better with OBJECT_MODE set (default 32). 7823 if test 64 = "${OBJECT_MODE-32}"; then 7824 shared_archive_member_spec=shr_64 7825 else 7826 shared_archive_member_spec=shr 7827 fi 7828 fi 7829 ;; 7830*) 7831 with_aix_soname=aix 7832 ;; 7833esac 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844# This can be used to rebuild libtool when needed 7845LIBTOOL_DEPS=$ltmain 7846 7847# Always use our own libtool. 7848LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879test -z "$LN_S" && LN_S="ln -s" 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894if test -n "${ZSH_VERSION+set}"; then 7895 setopt NO_GLOB_SUBST 7896fi 7897 7898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7899$as_echo_n "checking for objdir... " >&6; } 7900if ${lt_cv_objdir+:} false; then : 7901 $as_echo_n "(cached) " >&6 7902else 7903 rm -f .libs 2>/dev/null 7904mkdir .libs 2>/dev/null 7905if test -d .libs; then 7906 lt_cv_objdir=.libs 7907else 7908 # MS-DOS does not allow filenames that begin with a dot. 7909 lt_cv_objdir=_libs 7910fi 7911rmdir .libs 2>/dev/null 7912fi 7913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7914$as_echo "$lt_cv_objdir" >&6; } 7915objdir=$lt_cv_objdir 7916 7917 7918 7919 7920 7921cat >>confdefs.h <<_ACEOF 7922@%:@define LT_OBJDIR "$lt_cv_objdir/" 7923_ACEOF 7924 7925 7926 7927 7928case $host_os in 7929aix3*) 7930 # AIX sometimes has problems with the GCC collect2 program. For some 7931 # reason, if we set the COLLECT_NAMES environment variable, the problems 7932 # vanish in a puff of smoke. 7933 if test set != "${COLLECT_NAMES+set}"; then 7934 COLLECT_NAMES= 7935 export COLLECT_NAMES 7936 fi 7937 ;; 7938esac 7939 7940# Global variables: 7941ofile=libtool 7942can_build_shared=yes 7943 7944# All known linkers require a '.a' archive for static linking (except MSVC, 7945# which needs '.lib'). 7946libext=a 7947 7948with_gnu_ld=$lt_cv_prog_gnu_ld 7949 7950old_CC=$CC 7951old_CFLAGS=$CFLAGS 7952 7953# Set sane defaults for various variables 7954test -z "$CC" && CC=cc 7955test -z "$LTCC" && LTCC=$CC 7956test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7957test -z "$LD" && LD=ld 7958test -z "$ac_objext" && ac_objext=o 7959 7960func_cc_basename $compiler 7961cc_basename=$func_cc_basename_result 7962 7963 7964# Only perform the check for file, if the check method requires it 7965test -z "$MAGIC_CMD" && MAGIC_CMD=file 7966case $deplibs_check_method in 7967file_magic*) 7968 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7970$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7971if ${lt_cv_path_MAGIC_CMD+:} false; then : 7972 $as_echo_n "(cached) " >&6 7973else 7974 case $MAGIC_CMD in 7975[\\/*] | ?:[\\/]*) 7976 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 7977 ;; 7978*) 7979 lt_save_MAGIC_CMD=$MAGIC_CMD 7980 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7981 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7982 for ac_dir in $ac_dummy; do 7983 IFS=$lt_save_ifs 7984 test -z "$ac_dir" && ac_dir=. 7985 if test -f "$ac_dir/${ac_tool_prefix}file"; then 7986 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 7987 if test -n "$file_magic_test_file"; then 7988 case $deplibs_check_method in 7989 "file_magic "*) 7990 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7991 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 7992 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7993 $EGREP "$file_magic_regex" > /dev/null; then 7994 : 7995 else 7996 cat <<_LT_EOF 1>&2 7997 7998*** Warning: the command libtool uses to detect shared libraries, 7999*** $file_magic_cmd, produces output that libtool cannot recognize. 8000*** The result is that libtool may fail to recognize shared libraries 8001*** as such. This will affect the creation of libtool libraries that 8002*** depend on shared libraries, but programs linked with such libtool 8003*** libraries will work regardless of this problem. Nevertheless, you 8004*** may want to report the problem to your system manager and/or to 8005*** bug-libtool@gnu.org 8006 8007_LT_EOF 8008 fi ;; 8009 esac 8010 fi 8011 break 8012 fi 8013 done 8014 IFS=$lt_save_ifs 8015 MAGIC_CMD=$lt_save_MAGIC_CMD 8016 ;; 8017esac 8018fi 8019 8020MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8021if test -n "$MAGIC_CMD"; then 8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8023$as_echo "$MAGIC_CMD" >&6; } 8024else 8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8026$as_echo "no" >&6; } 8027fi 8028 8029 8030 8031 8032 8033if test -z "$lt_cv_path_MAGIC_CMD"; then 8034 if test -n "$ac_tool_prefix"; then 8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8036$as_echo_n "checking for file... " >&6; } 8037if ${lt_cv_path_MAGIC_CMD+:} false; then : 8038 $as_echo_n "(cached) " >&6 8039else 8040 case $MAGIC_CMD in 8041[\\/*] | ?:[\\/]*) 8042 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8043 ;; 8044*) 8045 lt_save_MAGIC_CMD=$MAGIC_CMD 8046 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8047 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8048 for ac_dir in $ac_dummy; do 8049 IFS=$lt_save_ifs 8050 test -z "$ac_dir" && ac_dir=. 8051 if test -f "$ac_dir/file"; then 8052 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8053 if test -n "$file_magic_test_file"; then 8054 case $deplibs_check_method in 8055 "file_magic "*) 8056 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8057 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8058 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8059 $EGREP "$file_magic_regex" > /dev/null; then 8060 : 8061 else 8062 cat <<_LT_EOF 1>&2 8063 8064*** Warning: the command libtool uses to detect shared libraries, 8065*** $file_magic_cmd, produces output that libtool cannot recognize. 8066*** The result is that libtool may fail to recognize shared libraries 8067*** as such. This will affect the creation of libtool libraries that 8068*** depend on shared libraries, but programs linked with such libtool 8069*** libraries will work regardless of this problem. Nevertheless, you 8070*** may want to report the problem to your system manager and/or to 8071*** bug-libtool@gnu.org 8072 8073_LT_EOF 8074 fi ;; 8075 esac 8076 fi 8077 break 8078 fi 8079 done 8080 IFS=$lt_save_ifs 8081 MAGIC_CMD=$lt_save_MAGIC_CMD 8082 ;; 8083esac 8084fi 8085 8086MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8087if test -n "$MAGIC_CMD"; then 8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8089$as_echo "$MAGIC_CMD" >&6; } 8090else 8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8092$as_echo "no" >&6; } 8093fi 8094 8095 8096 else 8097 MAGIC_CMD=: 8098 fi 8099fi 8100 8101 fi 8102 ;; 8103esac 8104 8105# Use C for the default configuration in the libtool script 8106 8107lt_save_CC=$CC 8108ac_ext=c 8109ac_cpp='$CPP $CPPFLAGS' 8110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8112ac_compiler_gnu=$ac_cv_c_compiler_gnu 8113 8114 8115# Source file extension for C test sources. 8116ac_ext=c 8117 8118# Object file extension for compiled C test sources. 8119objext=o 8120objext=$objext 8121 8122# Code to be used in simple compile tests 8123lt_simple_compile_test_code="int some_variable = 0;" 8124 8125# Code to be used in simple link tests 8126lt_simple_link_test_code='int main(){return(0);}' 8127 8128 8129 8130 8131 8132 8133 8134# If no C compiler was specified, use CC. 8135LTCC=${LTCC-"$CC"} 8136 8137# If no C compiler flags were specified, use CFLAGS. 8138LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8139 8140# Allow CC to be a program name with arguments. 8141compiler=$CC 8142 8143# Save the default compiler, since it gets overwritten when the other 8144# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8145compiler_DEFAULT=$CC 8146 8147# save warnings/boilerplate of simple test code 8148ac_outfile=conftest.$ac_objext 8149echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8150eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8151_lt_compiler_boilerplate=`cat conftest.err` 8152$RM conftest* 8153 8154ac_outfile=conftest.$ac_objext 8155echo "$lt_simple_link_test_code" >conftest.$ac_ext 8156eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8157_lt_linker_boilerplate=`cat conftest.err` 8158$RM -r conftest* 8159 8160 8161## CAVEAT EMPTOR: 8162## There is no encapsulation within the following macros, do not change 8163## the running order or otherwise move them around unless you know exactly 8164## what you are doing... 8165if test -n "$compiler"; then 8166 8167lt_prog_compiler_no_builtin_flag= 8168 8169if test yes = "$GCC"; then 8170 case $cc_basename in 8171 nvcc*) 8172 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8173 *) 8174 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8175 esac 8176 8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8178$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8179if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8180 $as_echo_n "(cached) " >&6 8181else 8182 lt_cv_prog_compiler_rtti_exceptions=no 8183 ac_outfile=conftest.$ac_objext 8184 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8185 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8186 # Insert the option either (1) after the last *FLAGS variable, or 8187 # (2) before a word containing "conftest.", or (3) at the end. 8188 # Note that $ac_compile itself does not contain backslashes and begins 8189 # with a dollar sign (not a hyphen), so the echo should work correctly. 8190 # The option is referenced via a variable to avoid confusing sed. 8191 lt_compile=`echo "$ac_compile" | $SED \ 8192 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8194 -e 's:$: $lt_compiler_flag:'` 8195 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8196 (eval "$lt_compile" 2>conftest.err) 8197 ac_status=$? 8198 cat conftest.err >&5 8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8200 if (exit $ac_status) && test -s "$ac_outfile"; then 8201 # The compiler can only warn and ignore the option if not recognized 8202 # So say no if there are warnings other than the usual output. 8203 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8204 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8205 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8206 lt_cv_prog_compiler_rtti_exceptions=yes 8207 fi 8208 fi 8209 $RM conftest* 8210 8211fi 8212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8213$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8214 8215if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8216 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8217else 8218 : 8219fi 8220 8221fi 8222 8223 8224 8225 8226 8227 8228 lt_prog_compiler_wl= 8229lt_prog_compiler_pic= 8230lt_prog_compiler_static= 8231 8232 8233 if test yes = "$GCC"; then 8234 lt_prog_compiler_wl='-Wl,' 8235 lt_prog_compiler_static='-static' 8236 8237 case $host_os in 8238 aix*) 8239 # All AIX code is PIC. 8240 if test ia64 = "$host_cpu"; then 8241 # AIX 5 now supports IA64 processor 8242 lt_prog_compiler_static='-Bstatic' 8243 fi 8244 lt_prog_compiler_pic='-fPIC' 8245 ;; 8246 8247 amigaos*) 8248 case $host_cpu in 8249 powerpc) 8250 # see comment about AmigaOS4 .so support 8251 lt_prog_compiler_pic='-fPIC' 8252 ;; 8253 m68k) 8254 # FIXME: we need at least 68020 code to build shared libraries, but 8255 # adding the '-m68020' flag to GCC prevents building anything better, 8256 # like '-m68040'. 8257 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8258 ;; 8259 esac 8260 ;; 8261 8262 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8263 # PIC is the default for these OSes. 8264 ;; 8265 8266 mingw* | cygwin* | pw32* | os2* | cegcc*) 8267 # This hack is so that the source file can tell whether it is being 8268 # built for inclusion in a dll (and should export symbols for example). 8269 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8270 # (--disable-auto-import) libraries 8271 lt_prog_compiler_pic='-DDLL_EXPORT' 8272 case $host_os in 8273 os2*) 8274 lt_prog_compiler_static='$wl-static' 8275 ;; 8276 esac 8277 ;; 8278 8279 darwin* | rhapsody*) 8280 # PIC is the default on this platform 8281 # Common symbols not allowed in MH_DYLIB files 8282 lt_prog_compiler_pic='-fno-common' 8283 ;; 8284 8285 haiku*) 8286 # PIC is the default for Haiku. 8287 # The "-static" flag exists, but is broken. 8288 lt_prog_compiler_static= 8289 ;; 8290 8291 hpux*) 8292 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8293 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8294 # sets the default TLS model and affects inlining. 8295 case $host_cpu in 8296 hppa*64*) 8297 # +Z the default 8298 ;; 8299 *) 8300 lt_prog_compiler_pic='-fPIC' 8301 ;; 8302 esac 8303 ;; 8304 8305 interix[3-9]*) 8306 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8307 # Instead, we relocate shared libraries at runtime. 8308 ;; 8309 8310 msdosdjgpp*) 8311 # Just because we use GCC doesn't mean we suddenly get shared libraries 8312 # on systems that don't support them. 8313 lt_prog_compiler_can_build_shared=no 8314 enable_shared=no 8315 ;; 8316 8317 *nto* | *qnx*) 8318 # QNX uses GNU C++, but need to define -shared option too, otherwise 8319 # it will coredump. 8320 lt_prog_compiler_pic='-fPIC -shared' 8321 ;; 8322 8323 sysv4*MP*) 8324 if test -d /usr/nec; then 8325 lt_prog_compiler_pic=-Kconform_pic 8326 fi 8327 ;; 8328 8329 *) 8330 lt_prog_compiler_pic='-fPIC' 8331 ;; 8332 esac 8333 8334 case $cc_basename in 8335 nvcc*) # Cuda Compiler Driver 2.2 8336 lt_prog_compiler_wl='-Xlinker ' 8337 if test -n "$lt_prog_compiler_pic"; then 8338 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8339 fi 8340 ;; 8341 esac 8342 else 8343 # PORTME Check for flag to pass linker flags through the system compiler. 8344 case $host_os in 8345 aix*) 8346 lt_prog_compiler_wl='-Wl,' 8347 if test ia64 = "$host_cpu"; then 8348 # AIX 5 now supports IA64 processor 8349 lt_prog_compiler_static='-Bstatic' 8350 else 8351 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8352 fi 8353 ;; 8354 8355 darwin* | rhapsody*) 8356 # PIC is the default on this platform 8357 # Common symbols not allowed in MH_DYLIB files 8358 lt_prog_compiler_pic='-fno-common' 8359 case $cc_basename in 8360 nagfor*) 8361 # NAG Fortran compiler 8362 lt_prog_compiler_wl='-Wl,-Wl,,' 8363 lt_prog_compiler_pic='-PIC' 8364 lt_prog_compiler_static='-Bstatic' 8365 ;; 8366 esac 8367 ;; 8368 8369 mingw* | cygwin* | pw32* | os2* | cegcc*) 8370 # This hack is so that the source file can tell whether it is being 8371 # built for inclusion in a dll (and should export symbols for example). 8372 lt_prog_compiler_pic='-DDLL_EXPORT' 8373 case $host_os in 8374 os2*) 8375 lt_prog_compiler_static='$wl-static' 8376 ;; 8377 esac 8378 ;; 8379 8380 hpux9* | hpux10* | hpux11*) 8381 lt_prog_compiler_wl='-Wl,' 8382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8383 # not for PA HP-UX. 8384 case $host_cpu in 8385 hppa*64*|ia64*) 8386 # +Z the default 8387 ;; 8388 *) 8389 lt_prog_compiler_pic='+Z' 8390 ;; 8391 esac 8392 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8393 lt_prog_compiler_static='$wl-a ${wl}archive' 8394 ;; 8395 8396 irix5* | irix6* | nonstopux*) 8397 lt_prog_compiler_wl='-Wl,' 8398 # PIC (with -KPIC) is the default. 8399 lt_prog_compiler_static='-non_shared' 8400 ;; 8401 8402 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8403 case $cc_basename in 8404 # old Intel for x86_64, which still supported -KPIC. 8405 ecc*) 8406 lt_prog_compiler_wl='-Wl,' 8407 lt_prog_compiler_pic='-KPIC' 8408 lt_prog_compiler_static='-static' 8409 ;; 8410 # icc used to be incompatible with GCC. 8411 # ICC 10 doesn't accept -KPIC any more. 8412 icc* | ifort*) 8413 lt_prog_compiler_wl='-Wl,' 8414 lt_prog_compiler_pic='-fPIC' 8415 lt_prog_compiler_static='-static' 8416 ;; 8417 # Lahey Fortran 8.1. 8418 lf95*) 8419 lt_prog_compiler_wl='-Wl,' 8420 lt_prog_compiler_pic='--shared' 8421 lt_prog_compiler_static='--static' 8422 ;; 8423 nagfor*) 8424 # NAG Fortran compiler 8425 lt_prog_compiler_wl='-Wl,-Wl,,' 8426 lt_prog_compiler_pic='-PIC' 8427 lt_prog_compiler_static='-Bstatic' 8428 ;; 8429 tcc*) 8430 # Fabrice Bellard et al's Tiny C Compiler 8431 lt_prog_compiler_wl='-Wl,' 8432 lt_prog_compiler_pic='-fPIC' 8433 lt_prog_compiler_static='-static' 8434 ;; 8435 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8436 # Portland Group compilers (*not* the Pentium gcc compiler, 8437 # which looks to be a dead project) 8438 lt_prog_compiler_wl='-Wl,' 8439 lt_prog_compiler_pic='-fpic' 8440 lt_prog_compiler_static='-Bstatic' 8441 ;; 8442 ccc*) 8443 lt_prog_compiler_wl='-Wl,' 8444 # All Alpha code is PIC. 8445 lt_prog_compiler_static='-non_shared' 8446 ;; 8447 xl* | bgxl* | bgf* | mpixl*) 8448 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8449 lt_prog_compiler_wl='-Wl,' 8450 lt_prog_compiler_pic='-qpic' 8451 lt_prog_compiler_static='-qstaticlink' 8452 ;; 8453 *) 8454 case `$CC -V 2>&1 | sed 5q` in 8455 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8456 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8457 lt_prog_compiler_pic='-KPIC' 8458 lt_prog_compiler_static='-Bstatic' 8459 lt_prog_compiler_wl='' 8460 ;; 8461 *Sun\ F* | *Sun*Fortran*) 8462 lt_prog_compiler_pic='-KPIC' 8463 lt_prog_compiler_static='-Bstatic' 8464 lt_prog_compiler_wl='-Qoption ld ' 8465 ;; 8466 *Sun\ C*) 8467 # Sun C 5.9 8468 lt_prog_compiler_pic='-KPIC' 8469 lt_prog_compiler_static='-Bstatic' 8470 lt_prog_compiler_wl='-Wl,' 8471 ;; 8472 *Intel*\ [CF]*Compiler*) 8473 lt_prog_compiler_wl='-Wl,' 8474 lt_prog_compiler_pic='-fPIC' 8475 lt_prog_compiler_static='-static' 8476 ;; 8477 *Portland\ Group*) 8478 lt_prog_compiler_wl='-Wl,' 8479 lt_prog_compiler_pic='-fpic' 8480 lt_prog_compiler_static='-Bstatic' 8481 ;; 8482 esac 8483 ;; 8484 esac 8485 ;; 8486 8487 newsos6) 8488 lt_prog_compiler_pic='-KPIC' 8489 lt_prog_compiler_static='-Bstatic' 8490 ;; 8491 8492 *nto* | *qnx*) 8493 # QNX uses GNU C++, but need to define -shared option too, otherwise 8494 # it will coredump. 8495 lt_prog_compiler_pic='-fPIC -shared' 8496 ;; 8497 8498 osf3* | osf4* | osf5*) 8499 lt_prog_compiler_wl='-Wl,' 8500 # All OSF/1 code is PIC. 8501 lt_prog_compiler_static='-non_shared' 8502 ;; 8503 8504 rdos*) 8505 lt_prog_compiler_static='-non_shared' 8506 ;; 8507 8508 solaris*) 8509 lt_prog_compiler_pic='-KPIC' 8510 lt_prog_compiler_static='-Bstatic' 8511 case $cc_basename in 8512 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8513 lt_prog_compiler_wl='-Qoption ld ';; 8514 *) 8515 lt_prog_compiler_wl='-Wl,';; 8516 esac 8517 ;; 8518 8519 sunos4*) 8520 lt_prog_compiler_wl='-Qoption ld ' 8521 lt_prog_compiler_pic='-PIC' 8522 lt_prog_compiler_static='-Bstatic' 8523 ;; 8524 8525 sysv4 | sysv4.2uw2* | sysv4.3*) 8526 lt_prog_compiler_wl='-Wl,' 8527 lt_prog_compiler_pic='-KPIC' 8528 lt_prog_compiler_static='-Bstatic' 8529 ;; 8530 8531 sysv4*MP*) 8532 if test -d /usr/nec; then 8533 lt_prog_compiler_pic='-Kconform_pic' 8534 lt_prog_compiler_static='-Bstatic' 8535 fi 8536 ;; 8537 8538 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8539 lt_prog_compiler_wl='-Wl,' 8540 lt_prog_compiler_pic='-KPIC' 8541 lt_prog_compiler_static='-Bstatic' 8542 ;; 8543 8544 unicos*) 8545 lt_prog_compiler_wl='-Wl,' 8546 lt_prog_compiler_can_build_shared=no 8547 ;; 8548 8549 uts4*) 8550 lt_prog_compiler_pic='-pic' 8551 lt_prog_compiler_static='-Bstatic' 8552 ;; 8553 8554 *) 8555 lt_prog_compiler_can_build_shared=no 8556 ;; 8557 esac 8558 fi 8559 8560case $host_os in 8561 # For platforms that do not support PIC, -DPIC is meaningless: 8562 *djgpp*) 8563 lt_prog_compiler_pic= 8564 ;; 8565 *) 8566 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" 8567 ;; 8568esac 8569 8570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8571$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8572if ${lt_cv_prog_compiler_pic+:} false; then : 8573 $as_echo_n "(cached) " >&6 8574else 8575 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8576fi 8577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8578$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8579lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8580 8581# 8582# Check to make sure the PIC flag actually works. 8583# 8584if test -n "$lt_prog_compiler_pic"; then 8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8586$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8587if ${lt_cv_prog_compiler_pic_works+:} false; then : 8588 $as_echo_n "(cached) " >&6 8589else 8590 lt_cv_prog_compiler_pic_works=no 8591 ac_outfile=conftest.$ac_objext 8592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8593 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment 8594 # Insert the option either (1) after the last *FLAGS variable, or 8595 # (2) before a word containing "conftest.", or (3) at the end. 8596 # Note that $ac_compile itself does not contain backslashes and begins 8597 # with a dollar sign (not a hyphen), so the echo should work correctly. 8598 # The option is referenced via a variable to avoid confusing sed. 8599 lt_compile=`echo "$ac_compile" | $SED \ 8600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8602 -e 's:$: $lt_compiler_flag:'` 8603 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8604 (eval "$lt_compile" 2>conftest.err) 8605 ac_status=$? 8606 cat conftest.err >&5 8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8608 if (exit $ac_status) && test -s "$ac_outfile"; then 8609 # The compiler can only warn and ignore the option if not recognized 8610 # So say no if there are warnings other than the usual output. 8611 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8612 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8613 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8614 lt_cv_prog_compiler_pic_works=yes 8615 fi 8616 fi 8617 $RM conftest* 8618 8619fi 8620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8621$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8622 8623if test yes = "$lt_cv_prog_compiler_pic_works"; then 8624 case $lt_prog_compiler_pic in 8625 "" | " "*) ;; 8626 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8627 esac 8628else 8629 lt_prog_compiler_pic= 8630 lt_prog_compiler_can_build_shared=no 8631fi 8632 8633fi 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645# 8646# Check to make sure the static flag actually works. 8647# 8648wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8650$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8651if ${lt_cv_prog_compiler_static_works+:} false; then : 8652 $as_echo_n "(cached) " >&6 8653else 8654 lt_cv_prog_compiler_static_works=no 8655 save_LDFLAGS=$LDFLAGS 8656 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8657 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8658 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8659 # The linker can only warn and ignore the option if not recognized 8660 # So say no if there are warnings 8661 if test -s conftest.err; then 8662 # Append any errors to the config.log. 8663 cat conftest.err 1>&5 8664 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8665 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8666 if diff conftest.exp conftest.er2 >/dev/null; then 8667 lt_cv_prog_compiler_static_works=yes 8668 fi 8669 else 8670 lt_cv_prog_compiler_static_works=yes 8671 fi 8672 fi 8673 $RM -r conftest* 8674 LDFLAGS=$save_LDFLAGS 8675 8676fi 8677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8678$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8679 8680if test yes = "$lt_cv_prog_compiler_static_works"; then 8681 : 8682else 8683 lt_prog_compiler_static= 8684fi 8685 8686 8687 8688 8689 8690 8691 8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8693$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8694if ${lt_cv_prog_compiler_c_o+:} false; then : 8695 $as_echo_n "(cached) " >&6 8696else 8697 lt_cv_prog_compiler_c_o=no 8698 $RM -r conftest 2>/dev/null 8699 mkdir conftest 8700 cd conftest 8701 mkdir out 8702 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8703 8704 lt_compiler_flag="-o out/conftest2.$ac_objext" 8705 # Insert the option either (1) after the last *FLAGS variable, or 8706 # (2) before a word containing "conftest.", or (3) at the end. 8707 # Note that $ac_compile itself does not contain backslashes and begins 8708 # with a dollar sign (not a hyphen), so the echo should work correctly. 8709 lt_compile=`echo "$ac_compile" | $SED \ 8710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8712 -e 's:$: $lt_compiler_flag:'` 8713 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8714 (eval "$lt_compile" 2>out/conftest.err) 8715 ac_status=$? 8716 cat out/conftest.err >&5 8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8718 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8719 then 8720 # The compiler can only warn and ignore the option if not recognized 8721 # So say no if there are warnings 8722 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8723 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8724 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8725 lt_cv_prog_compiler_c_o=yes 8726 fi 8727 fi 8728 chmod u+w . 2>&5 8729 $RM conftest* 8730 # SGI C++ compiler will create directory out/ii_files/ for 8731 # template instantiation 8732 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8733 $RM out/* && rmdir out 8734 cd .. 8735 $RM -r conftest 8736 $RM conftest* 8737 8738fi 8739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8740$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8741 8742 8743 8744 8745 8746 8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8748$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8749if ${lt_cv_prog_compiler_c_o+:} false; then : 8750 $as_echo_n "(cached) " >&6 8751else 8752 lt_cv_prog_compiler_c_o=no 8753 $RM -r conftest 2>/dev/null 8754 mkdir conftest 8755 cd conftest 8756 mkdir out 8757 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8758 8759 lt_compiler_flag="-o out/conftest2.$ac_objext" 8760 # Insert the option either (1) after the last *FLAGS variable, or 8761 # (2) before a word containing "conftest.", or (3) at the end. 8762 # Note that $ac_compile itself does not contain backslashes and begins 8763 # with a dollar sign (not a hyphen), so the echo should work correctly. 8764 lt_compile=`echo "$ac_compile" | $SED \ 8765 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8766 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8767 -e 's:$: $lt_compiler_flag:'` 8768 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8769 (eval "$lt_compile" 2>out/conftest.err) 8770 ac_status=$? 8771 cat out/conftest.err >&5 8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8773 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8774 then 8775 # The compiler can only warn and ignore the option if not recognized 8776 # So say no if there are warnings 8777 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8778 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8779 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8780 lt_cv_prog_compiler_c_o=yes 8781 fi 8782 fi 8783 chmod u+w . 2>&5 8784 $RM conftest* 8785 # SGI C++ compiler will create directory out/ii_files/ for 8786 # template instantiation 8787 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8788 $RM out/* && rmdir out 8789 cd .. 8790 $RM -r conftest 8791 $RM conftest* 8792 8793fi 8794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8795$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8796 8797 8798 8799 8800hard_links=nottested 8801if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 8802 # do not overwrite the value of need_locks provided by the user 8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8804$as_echo_n "checking if we can lock with hard links... " >&6; } 8805 hard_links=yes 8806 $RM conftest* 8807 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8808 touch conftest.a 8809 ln conftest.a conftest.b 2>&5 || hard_links=no 8810 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8812$as_echo "$hard_links" >&6; } 8813 if test no = "$hard_links"; then 8814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 8815$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 8816 need_locks=warn 8817 fi 8818else 8819 need_locks=no 8820fi 8821 8822 8823 8824 8825 8826 8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8828$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8829 8830 runpath_var= 8831 allow_undefined_flag= 8832 always_export_symbols=no 8833 archive_cmds= 8834 archive_expsym_cmds= 8835 compiler_needs_object=no 8836 enable_shared_with_static_runtimes=no 8837 export_dynamic_flag_spec= 8838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8839 hardcode_automatic=no 8840 hardcode_direct=no 8841 hardcode_direct_absolute=no 8842 hardcode_libdir_flag_spec= 8843 hardcode_libdir_separator= 8844 hardcode_minus_L=no 8845 hardcode_shlibpath_var=unsupported 8846 inherit_rpath=no 8847 link_all_deplibs=unknown 8848 module_cmds= 8849 module_expsym_cmds= 8850 old_archive_from_new_cmds= 8851 old_archive_from_expsyms_cmds= 8852 thread_safe_flag_spec= 8853 whole_archive_flag_spec= 8854 # include_expsyms should be a list of space-separated symbols to be *always* 8855 # included in the symbol list 8856 include_expsyms= 8857 # exclude_expsyms can be an extended regexp of symbols to exclude 8858 # it will be wrapped by ' (' and ')$', so one must not match beginning or 8859 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 8860 # as well as any symbol that contains 'd'. 8861 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8862 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8863 # platforms (ab)use it in PIC code, but their linkers get confused if 8864 # the symbol is explicitly referenced. Since portable code cannot 8865 # rely on this symbol name, it's probably fine to never include it in 8866 # preloaded symbol tables. 8867 # Exclude shared library initialization/finalization symbols. 8868 extract_expsyms_cmds= 8869 8870 case $host_os in 8871 cygwin* | mingw* | pw32* | cegcc*) 8872 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8873 # When not using gcc, we currently assume that we are using 8874 # Microsoft Visual C++. 8875 if test yes != "$GCC"; then 8876 with_gnu_ld=no 8877 fi 8878 ;; 8879 interix*) 8880 # we just hope/assume this is gcc and not c89 (= MSVC++) 8881 with_gnu_ld=yes 8882 ;; 8883 openbsd* | bitrig*) 8884 with_gnu_ld=no 8885 ;; 8886 esac 8887 8888 ld_shlibs=yes 8889 8890 # On some targets, GNU ld is compatible enough with the native linker 8891 # that we're better off using the native interface for both. 8892 lt_use_gnu_ld_interface=no 8893 if test yes = "$with_gnu_ld"; then 8894 case $host_os in 8895 aix*) 8896 # The AIX port of GNU ld has always aspired to compatibility 8897 # with the native linker. However, as the warning in the GNU ld 8898 # block says, versions before 2.19.5* couldn't really create working 8899 # shared libraries, regardless of the interface used. 8900 case `$LD -v 2>&1` in 8901 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8902 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8903 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8904 *) 8905 lt_use_gnu_ld_interface=yes 8906 ;; 8907 esac 8908 ;; 8909 *) 8910 lt_use_gnu_ld_interface=yes 8911 ;; 8912 esac 8913 fi 8914 8915 if test yes = "$lt_use_gnu_ld_interface"; then 8916 # If archive_cmds runs LD, not CC, wlarc should be empty 8917 wlarc='$wl' 8918 8919 # Set some defaults for GNU ld with shared library support. These 8920 # are reset later if shared libraries are not supported. Putting them 8921 # here allows them to be overridden if necessary. 8922 runpath_var=LD_RUN_PATH 8923 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 8924 export_dynamic_flag_spec='$wl--export-dynamic' 8925 # ancient GNU ld didn't support --whole-archive et. al. 8926 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8927 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 8928 else 8929 whole_archive_flag_spec= 8930 fi 8931 supports_anon_versioning=no 8932 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 8933 *GNU\ gold*) supports_anon_versioning=yes ;; 8934 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8935 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8936 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8937 *\ 2.11.*) ;; # other 2.11 versions 8938 *) supports_anon_versioning=yes ;; 8939 esac 8940 8941 # See if GNU ld supports shared libraries. 8942 case $host_os in 8943 aix[3-9]*) 8944 # On AIX/PPC, the GNU linker is very broken 8945 if test ia64 != "$host_cpu"; then 8946 ld_shlibs=no 8947 cat <<_LT_EOF 1>&2 8948 8949*** Warning: the GNU linker, at least up to release 2.19, is reported 8950*** to be unable to reliably create shared libraries on AIX. 8951*** Therefore, libtool is disabling shared libraries support. If you 8952*** really care for shared libraries, you may want to install binutils 8953*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8954*** You will then need to restart the configuration process. 8955 8956_LT_EOF 8957 fi 8958 ;; 8959 8960 amigaos*) 8961 case $host_cpu in 8962 powerpc) 8963 # see comment about AmigaOS4 .so support 8964 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8965 archive_expsym_cmds='' 8966 ;; 8967 m68k) 8968 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)' 8969 hardcode_libdir_flag_spec='-L$libdir' 8970 hardcode_minus_L=yes 8971 ;; 8972 esac 8973 ;; 8974 8975 beos*) 8976 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8977 allow_undefined_flag=unsupported 8978 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8979 # support --undefined. This deserves some investigation. FIXME 8980 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 8981 else 8982 ld_shlibs=no 8983 fi 8984 ;; 8985 8986 cygwin* | mingw* | pw32* | cegcc*) 8987 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8988 # as there is no search path for DLLs. 8989 hardcode_libdir_flag_spec='-L$libdir' 8990 export_dynamic_flag_spec='$wl--export-all-symbols' 8991 allow_undefined_flag=unsupported 8992 always_export_symbols=no 8993 enable_shared_with_static_runtimes=yes 8994 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' 8995 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8996 8997 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8998 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8999 # If the export-symbols file already is a .def file, use it as 9000 # is; otherwise, prepend EXPORTS... 9001 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9002 cp $export_symbols $output_objdir/$soname.def; 9003 else 9004 echo EXPORTS > $output_objdir/$soname.def; 9005 cat $export_symbols >> $output_objdir/$soname.def; 9006 fi~ 9007 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9008 else 9009 ld_shlibs=no 9010 fi 9011 ;; 9012 9013 haiku*) 9014 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9015 link_all_deplibs=yes 9016 ;; 9017 9018 os2*) 9019 hardcode_libdir_flag_spec='-L$libdir' 9020 hardcode_minus_L=yes 9021 allow_undefined_flag=unsupported 9022 shrext_cmds=.dll 9023 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9024 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9025 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9026 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9027 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9028 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9029 emximp -o $lib $output_objdir/$libname.def' 9030 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9031 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9032 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9033 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9034 prefix_cmds="$SED"~ 9035 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9036 prefix_cmds="$prefix_cmds -e 1d"; 9037 fi~ 9038 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9039 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9040 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9041 emximp -o $lib $output_objdir/$libname.def' 9042 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9043 enable_shared_with_static_runtimes=yes 9044 ;; 9045 9046 interix[3-9]*) 9047 hardcode_direct=no 9048 hardcode_shlibpath_var=no 9049 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9050 export_dynamic_flag_spec='$wl-E' 9051 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9052 # Instead, shared libraries are loaded at an image base (0x10000000 by 9053 # default) and relocated if they conflict, which is a slow very memory 9054 # consuming and fragmenting process. To avoid this, we pick a random, 9055 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9056 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9057 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9058 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' 9059 ;; 9060 9061 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9062 tmp_diet=no 9063 if test linux-dietlibc = "$host_os"; then 9064 case $cc_basename in 9065 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9066 esac 9067 fi 9068 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9069 && test no = "$tmp_diet" 9070 then 9071 tmp_addflag=' $pic_flag' 9072 tmp_sharedflag='-shared' 9073 case $cc_basename,$host_cpu in 9074 pgcc*) # Portland Group C compiler 9075 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' 9076 tmp_addflag=' $pic_flag' 9077 ;; 9078 pgf77* | pgf90* | pgf95* | pgfortran*) 9079 # Portland Group f77 and f90 compilers 9080 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' 9081 tmp_addflag=' $pic_flag -Mnomain' ;; 9082 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9083 tmp_addflag=' -i_dynamic' ;; 9084 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9085 tmp_addflag=' -i_dynamic -nofor_main' ;; 9086 ifc* | ifort*) # Intel Fortran compiler 9087 tmp_addflag=' -nofor_main' ;; 9088 lf95*) # Lahey Fortran 8.1 9089 whole_archive_flag_spec= 9090 tmp_sharedflag='--shared' ;; 9091 nagfor*) # NAGFOR 5.3 9092 tmp_sharedflag='-Wl,-shared' ;; 9093 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9094 tmp_sharedflag='-qmkshrobj' 9095 tmp_addflag= ;; 9096 nvcc*) # Cuda Compiler Driver 2.2 9097 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' 9098 compiler_needs_object=yes 9099 ;; 9100 esac 9101 case `$CC -V 2>&1 | sed 5q` in 9102 *Sun\ C*) # Sun C 5.9 9103 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' 9104 compiler_needs_object=yes 9105 tmp_sharedflag='-G' ;; 9106 *Sun\ F*) # Sun Fortran 8.3 9107 tmp_sharedflag='-G' ;; 9108 esac 9109 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9110 9111 if test yes = "$supports_anon_versioning"; then 9112 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9113 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9114 echo "local: *; };" >> $output_objdir/$libname.ver~ 9115 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9116 fi 9117 9118 case $cc_basename in 9119 tcc*) 9120 export_dynamic_flag_spec='-rdynamic' 9121 ;; 9122 xlf* | bgf* | bgxlf* | mpixlf*) 9123 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9124 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9125 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9126 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9127 if test yes = "$supports_anon_versioning"; then 9128 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9129 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9130 echo "local: *; };" >> $output_objdir/$libname.ver~ 9131 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9132 fi 9133 ;; 9134 esac 9135 else 9136 ld_shlibs=no 9137 fi 9138 ;; 9139 9140 netbsd*) 9141 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9142 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9143 wlarc= 9144 else 9145 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9146 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9147 fi 9148 ;; 9149 9150 solaris*) 9151 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9152 ld_shlibs=no 9153 cat <<_LT_EOF 1>&2 9154 9155*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9156*** create shared libraries on Solaris systems. Therefore, libtool 9157*** is disabling shared libraries support. We urge you to upgrade GNU 9158*** binutils to release 2.9.1 or newer. Another option is to modify 9159*** your PATH or compiler configuration so that the native linker is 9160*** used, and then restart. 9161 9162_LT_EOF 9163 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9164 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9165 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9166 else 9167 ld_shlibs=no 9168 fi 9169 ;; 9170 9171 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9172 case `$LD -v 2>&1` in 9173 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9174 ld_shlibs=no 9175 cat <<_LT_EOF 1>&2 9176 9177*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9178*** reliably create shared libraries on SCO systems. Therefore, libtool 9179*** is disabling shared libraries support. We urge you to upgrade GNU 9180*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9181*** your PATH or compiler configuration so that the native linker is 9182*** used, and then restart. 9183 9184_LT_EOF 9185 ;; 9186 *) 9187 # For security reasons, it is highly recommended that you always 9188 # use absolute paths for naming shared libraries, and exclude the 9189 # DT_RUNPATH tag from executables and libraries. But doing so 9190 # requires that you compile everything twice, which is a pain. 9191 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9192 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9193 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9194 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9195 else 9196 ld_shlibs=no 9197 fi 9198 ;; 9199 esac 9200 ;; 9201 9202 sunos4*) 9203 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9204 wlarc= 9205 hardcode_direct=yes 9206 hardcode_shlibpath_var=no 9207 ;; 9208 9209 *) 9210 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9211 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9212 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9213 else 9214 ld_shlibs=no 9215 fi 9216 ;; 9217 esac 9218 9219 if test no = "$ld_shlibs"; then 9220 runpath_var= 9221 hardcode_libdir_flag_spec= 9222 export_dynamic_flag_spec= 9223 whole_archive_flag_spec= 9224 fi 9225 else 9226 # PORTME fill in a description of your system's linker (not GNU ld) 9227 case $host_os in 9228 aix3*) 9229 allow_undefined_flag=unsupported 9230 always_export_symbols=yes 9231 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' 9232 # Note: this linker hardcodes the directories in LIBPATH if there 9233 # are no directories specified by -L. 9234 hardcode_minus_L=yes 9235 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9236 # Neither direct hardcoding nor static linking is supported with a 9237 # broken collect2. 9238 hardcode_direct=unsupported 9239 fi 9240 ;; 9241 9242 aix[4-9]*) 9243 if test ia64 = "$host_cpu"; then 9244 # On IA64, the linker does run time linking by default, so we don't 9245 # have to do anything special. 9246 aix_use_runtimelinking=no 9247 exp_sym_flag='-Bexport' 9248 no_entry_flag= 9249 else 9250 # If we're using GNU nm, then we don't want the "-C" option. 9251 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9252 # Without the "-l" option, or with the "-B" option, AIX nm treats 9253 # weak defined symbols like other global defined symbols, whereas 9254 # GNU nm marks them as "W". 9255 # While the 'weak' keyword is ignored in the Export File, we need 9256 # it in the Import File for the 'aix-soname' feature, so we have 9257 # to replace the "-B" option with "-P" for AIX nm. 9258 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9259 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9260 else 9261 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9262 fi 9263 aix_use_runtimelinking=no 9264 9265 # Test if we are trying to use run time linking or normal 9266 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9267 # have runtime linking enabled, and use it for executables. 9268 # For shared libraries, we enable/disable runtime linking 9269 # depending on the kind of the shared library created - 9270 # when "with_aix_soname,aix_use_runtimelinking" is: 9271 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9272 # "aix,yes" lib.so shared, rtl:yes, for executables 9273 # lib.a static archive 9274 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9275 # lib.a(lib.so.V) shared, rtl:no, for executables 9276 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9277 # lib.a(lib.so.V) shared, rtl:no 9278 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9279 # lib.a static archive 9280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9281 for ld_flag in $LDFLAGS; do 9282 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9283 aix_use_runtimelinking=yes 9284 break 9285 fi 9286 done 9287 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9288 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9289 # so we don't have lib.a shared libs to link our executables. 9290 # We have to force runtime linking in this case. 9291 aix_use_runtimelinking=yes 9292 LDFLAGS="$LDFLAGS -Wl,-brtl" 9293 fi 9294 ;; 9295 esac 9296 9297 exp_sym_flag='-bexport' 9298 no_entry_flag='-bnoentry' 9299 fi 9300 9301 # When large executables or shared objects are built, AIX ld can 9302 # have problems creating the table of contents. If linking a library 9303 # or program results in "error TOC overflow" add -mminimal-toc to 9304 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9305 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9306 9307 archive_cmds='' 9308 hardcode_direct=yes 9309 hardcode_direct_absolute=yes 9310 hardcode_libdir_separator=':' 9311 link_all_deplibs=yes 9312 file_list_spec='$wl-f,' 9313 case $with_aix_soname,$aix_use_runtimelinking in 9314 aix,*) ;; # traditional, no import file 9315 svr4,* | *,yes) # use import file 9316 # The Import File defines what to hardcode. 9317 hardcode_direct=no 9318 hardcode_direct_absolute=no 9319 ;; 9320 esac 9321 9322 if test yes = "$GCC"; then 9323 case $host_os in aix4.[012]|aix4.[012].*) 9324 # We only want to do this on AIX 4.2 and lower, the check 9325 # below for broken collect2 doesn't work under 4.3+ 9326 collect2name=`$CC -print-prog-name=collect2` 9327 if test -f "$collect2name" && 9328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9329 then 9330 # We have reworked collect2 9331 : 9332 else 9333 # We have old collect2 9334 hardcode_direct=unsupported 9335 # It fails to find uninstalled libraries when the uninstalled 9336 # path is not listed in the libpath. Setting hardcode_minus_L 9337 # to unsupported forces relinking 9338 hardcode_minus_L=yes 9339 hardcode_libdir_flag_spec='-L$libdir' 9340 hardcode_libdir_separator= 9341 fi 9342 ;; 9343 esac 9344 shared_flag='-shared' 9345 if test yes = "$aix_use_runtimelinking"; then 9346 shared_flag="$shared_flag "'$wl-G' 9347 fi 9348 # Need to ensure runtime linking is disabled for the traditional 9349 # shared library, or the linker may eventually find shared libraries 9350 # /with/ Import File - we do not want to mix them. 9351 shared_flag_aix='-shared' 9352 shared_flag_svr4='-shared $wl-G' 9353 else 9354 # not using gcc 9355 if test ia64 = "$host_cpu"; then 9356 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9357 # chokes on -Wl,-G. The following line is correct: 9358 shared_flag='-G' 9359 else 9360 if test yes = "$aix_use_runtimelinking"; then 9361 shared_flag='$wl-G' 9362 else 9363 shared_flag='$wl-bM:SRE' 9364 fi 9365 shared_flag_aix='$wl-bM:SRE' 9366 shared_flag_svr4='$wl-G' 9367 fi 9368 fi 9369 9370 export_dynamic_flag_spec='$wl-bexpall' 9371 # It seems that -bexpall does not export symbols beginning with 9372 # underscore (_), so it is better to generate a list of symbols to export. 9373 always_export_symbols=yes 9374 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9375 # Warning - without using the other runtime loading flags (-brtl), 9376 # -berok will link without error, but may produce a broken library. 9377 allow_undefined_flag='-berok' 9378 # Determine the default libpath from the value encoded in an 9379 # empty executable. 9380 if test set = "${lt_cv_aix_libpath+set}"; then 9381 aix_libpath=$lt_cv_aix_libpath 9382else 9383 if ${lt_cv_aix_libpath_+:} false; then : 9384 $as_echo_n "(cached) " >&6 9385else 9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9387/* end confdefs.h. */ 9388 9389int 9390main () 9391{ 9392 9393 ; 9394 return 0; 9395} 9396_ACEOF 9397if ac_fn_c_try_link "$LINENO"; then : 9398 9399 lt_aix_libpath_sed=' 9400 /Import File Strings/,/^$/ { 9401 /^0/ { 9402 s/^0 *\([^ ]*\) *$/\1/ 9403 p 9404 } 9405 }' 9406 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9407 # Check for a 64-bit object if we didn't find anything. 9408 if test -z "$lt_cv_aix_libpath_"; then 9409 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9410 fi 9411fi 9412rm -f core conftest.err conftest.$ac_objext \ 9413 conftest$ac_exeext conftest.$ac_ext 9414 if test -z "$lt_cv_aix_libpath_"; then 9415 lt_cv_aix_libpath_=/usr/lib:/lib 9416 fi 9417 9418fi 9419 9420 aix_libpath=$lt_cv_aix_libpath_ 9421fi 9422 9423 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9424 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 9425 else 9426 if test ia64 = "$host_cpu"; then 9427 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9428 allow_undefined_flag="-z nodefs" 9429 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" 9430 else 9431 # Determine the default libpath from the value encoded in an 9432 # empty executable. 9433 if test set = "${lt_cv_aix_libpath+set}"; then 9434 aix_libpath=$lt_cv_aix_libpath 9435else 9436 if ${lt_cv_aix_libpath_+:} false; then : 9437 $as_echo_n "(cached) " >&6 9438else 9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9440/* end confdefs.h. */ 9441 9442int 9443main () 9444{ 9445 9446 ; 9447 return 0; 9448} 9449_ACEOF 9450if ac_fn_c_try_link "$LINENO"; then : 9451 9452 lt_aix_libpath_sed=' 9453 /Import File Strings/,/^$/ { 9454 /^0/ { 9455 s/^0 *\([^ ]*\) *$/\1/ 9456 p 9457 } 9458 }' 9459 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9460 # Check for a 64-bit object if we didn't find anything. 9461 if test -z "$lt_cv_aix_libpath_"; then 9462 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9463 fi 9464fi 9465rm -f core conftest.err conftest.$ac_objext \ 9466 conftest$ac_exeext conftest.$ac_ext 9467 if test -z "$lt_cv_aix_libpath_"; then 9468 lt_cv_aix_libpath_=/usr/lib:/lib 9469 fi 9470 9471fi 9472 9473 aix_libpath=$lt_cv_aix_libpath_ 9474fi 9475 9476 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9477 # Warning - without using the other run time loading flags, 9478 # -berok will link without error, but may produce a broken library. 9479 no_undefined_flag=' $wl-bernotok' 9480 allow_undefined_flag=' $wl-berok' 9481 if test yes = "$with_gnu_ld"; then 9482 # We only use this code for GNU lds that support --whole-archive. 9483 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9484 else 9485 # Exported symbols can be pulled into shared objects from archives 9486 whole_archive_flag_spec='$convenience' 9487 fi 9488 archive_cmds_need_lc=yes 9489 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9490 # -brtl affects multiple linker settings, -berok does not and is overridden later 9491 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9492 if test svr4 != "$with_aix_soname"; then 9493 # This is similar to how AIX traditionally builds its shared libraries. 9494 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 9495 fi 9496 if test aix != "$with_aix_soname"; then 9497 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 9498 else 9499 # used by -dlpreopen to get the symbols 9500 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9501 fi 9502 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9503 fi 9504 fi 9505 ;; 9506 9507 amigaos*) 9508 case $host_cpu in 9509 powerpc) 9510 # see comment about AmigaOS4 .so support 9511 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9512 archive_expsym_cmds='' 9513 ;; 9514 m68k) 9515 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)' 9516 hardcode_libdir_flag_spec='-L$libdir' 9517 hardcode_minus_L=yes 9518 ;; 9519 esac 9520 ;; 9521 9522 bsdi[45]*) 9523 export_dynamic_flag_spec=-rdynamic 9524 ;; 9525 9526 cygwin* | mingw* | pw32* | cegcc*) 9527 # When not using gcc, we currently assume that we are using 9528 # Microsoft Visual C++. 9529 # hardcode_libdir_flag_spec is actually meaningless, as there is 9530 # no search path for DLLs. 9531 case $cc_basename in 9532 cl*) 9533 # Native MSVC 9534 hardcode_libdir_flag_spec=' ' 9535 allow_undefined_flag=unsupported 9536 always_export_symbols=yes 9537 file_list_spec='@' 9538 # Tell ltmain to make .lib files, not .a files. 9539 libext=lib 9540 # Tell ltmain to make .dll files, not .so files. 9541 shrext_cmds=.dll 9542 # FIXME: Setting linknames here is a bad hack. 9543 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9544 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9545 cp "$export_symbols" "$output_objdir/$soname.def"; 9546 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9547 else 9548 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9549 fi~ 9550 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9551 linknames=' 9552 # The linker will not automatically build a static lib if we build a DLL. 9553 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9554 enable_shared_with_static_runtimes=yes 9555 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9556 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9557 # Don't use ranlib 9558 old_postinstall_cmds='chmod 644 $oldlib' 9559 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9560 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9561 case $lt_outputfile in 9562 *.exe|*.EXE) ;; 9563 *) 9564 lt_outputfile=$lt_outputfile.exe 9565 lt_tool_outputfile=$lt_tool_outputfile.exe 9566 ;; 9567 esac~ 9568 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9569 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9570 $RM "$lt_outputfile.manifest"; 9571 fi' 9572 ;; 9573 *) 9574 # Assume MSVC wrapper 9575 hardcode_libdir_flag_spec=' ' 9576 allow_undefined_flag=unsupported 9577 # Tell ltmain to make .lib files, not .a files. 9578 libext=lib 9579 # Tell ltmain to make .dll files, not .so files. 9580 shrext_cmds=.dll 9581 # FIXME: Setting linknames here is a bad hack. 9582 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9583 # The linker will automatically build a .lib file if we build a DLL. 9584 old_archive_from_new_cmds='true' 9585 # FIXME: Should let the user specify the lib program. 9586 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9587 enable_shared_with_static_runtimes=yes 9588 ;; 9589 esac 9590 ;; 9591 9592 darwin* | rhapsody*) 9593 9594 9595 archive_cmds_need_lc=no 9596 hardcode_direct=no 9597 hardcode_automatic=yes 9598 hardcode_shlibpath_var=unsupported 9599 if test yes = "$lt_cv_ld_force_load"; then 9600 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\"`' 9601 9602 else 9603 whole_archive_flag_spec='' 9604 fi 9605 link_all_deplibs=yes 9606 allow_undefined_flag=$_lt_dar_allow_undefined 9607 case $cc_basename in 9608 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9609 *) _lt_dar_can_shared=$GCC ;; 9610 esac 9611 if test yes = "$_lt_dar_can_shared"; then 9612 output_verbose_link_cmd=func_echo_all 9613 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9614 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9615 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" 9616 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" 9617 9618 else 9619 ld_shlibs=no 9620 fi 9621 9622 ;; 9623 9624 dgux*) 9625 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9626 hardcode_libdir_flag_spec='-L$libdir' 9627 hardcode_shlibpath_var=no 9628 ;; 9629 9630 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9631 # support. Future versions do this automatically, but an explicit c++rt0.o 9632 # does not break anything, and helps significantly (at the cost of a little 9633 # extra space). 9634 freebsd2.2*) 9635 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9636 hardcode_libdir_flag_spec='-R$libdir' 9637 hardcode_direct=yes 9638 hardcode_shlibpath_var=no 9639 ;; 9640 9641 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9642 freebsd2.*) 9643 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9644 hardcode_direct=yes 9645 hardcode_minus_L=yes 9646 hardcode_shlibpath_var=no 9647 ;; 9648 9649 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9650 freebsd* | dragonfly*) 9651 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9652 hardcode_libdir_flag_spec='-R$libdir' 9653 hardcode_direct=yes 9654 hardcode_shlibpath_var=no 9655 ;; 9656 9657 hpux9*) 9658 if test yes = "$GCC"; then 9659 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 9660 else 9661 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 9662 fi 9663 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9664 hardcode_libdir_separator=: 9665 hardcode_direct=yes 9666 9667 # hardcode_minus_L: Not really in the search PATH, 9668 # but as the default location of the library. 9669 hardcode_minus_L=yes 9670 export_dynamic_flag_spec='$wl-E' 9671 ;; 9672 9673 hpux10*) 9674 if test yes,no = "$GCC,$with_gnu_ld"; then 9675 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9676 else 9677 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9678 fi 9679 if test no = "$with_gnu_ld"; then 9680 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9681 hardcode_libdir_separator=: 9682 hardcode_direct=yes 9683 hardcode_direct_absolute=yes 9684 export_dynamic_flag_spec='$wl-E' 9685 # hardcode_minus_L: Not really in the search PATH, 9686 # but as the default location of the library. 9687 hardcode_minus_L=yes 9688 fi 9689 ;; 9690 9691 hpux11*) 9692 if test yes,no = "$GCC,$with_gnu_ld"; then 9693 case $host_cpu in 9694 hppa*64*) 9695 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9696 ;; 9697 ia64*) 9698 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9699 ;; 9700 *) 9701 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9702 ;; 9703 esac 9704 else 9705 case $host_cpu in 9706 hppa*64*) 9707 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9708 ;; 9709 ia64*) 9710 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9711 ;; 9712 *) 9713 9714 # Older versions of the 11.00 compiler do not understand -b yet 9715 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9717$as_echo_n "checking if $CC understands -b... " >&6; } 9718if ${lt_cv_prog_compiler__b+:} false; then : 9719 $as_echo_n "(cached) " >&6 9720else 9721 lt_cv_prog_compiler__b=no 9722 save_LDFLAGS=$LDFLAGS 9723 LDFLAGS="$LDFLAGS -b" 9724 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9725 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9726 # The linker can only warn and ignore the option if not recognized 9727 # So say no if there are warnings 9728 if test -s conftest.err; then 9729 # Append any errors to the config.log. 9730 cat conftest.err 1>&5 9731 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9732 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9733 if diff conftest.exp conftest.er2 >/dev/null; then 9734 lt_cv_prog_compiler__b=yes 9735 fi 9736 else 9737 lt_cv_prog_compiler__b=yes 9738 fi 9739 fi 9740 $RM -r conftest* 9741 LDFLAGS=$save_LDFLAGS 9742 9743fi 9744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9745$as_echo "$lt_cv_prog_compiler__b" >&6; } 9746 9747if test yes = "$lt_cv_prog_compiler__b"; then 9748 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9749else 9750 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9751fi 9752 9753 ;; 9754 esac 9755 fi 9756 if test no = "$with_gnu_ld"; then 9757 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9758 hardcode_libdir_separator=: 9759 9760 case $host_cpu in 9761 hppa*64*|ia64*) 9762 hardcode_direct=no 9763 hardcode_shlibpath_var=no 9764 ;; 9765 *) 9766 hardcode_direct=yes 9767 hardcode_direct_absolute=yes 9768 export_dynamic_flag_spec='$wl-E' 9769 9770 # hardcode_minus_L: Not really in the search PATH, 9771 # but as the default location of the library. 9772 hardcode_minus_L=yes 9773 ;; 9774 esac 9775 fi 9776 ;; 9777 9778 irix5* | irix6* | nonstopux*) 9779 if test yes = "$GCC"; then 9780 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' 9781 # Try to use the -exported_symbol ld option, if it does not 9782 # work, assume that -exports_file does not work either and 9783 # implicitly export all symbols. 9784 # This should be the same for all languages, so no per-tag cache variable. 9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9786$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9787if ${lt_cv_irix_exported_symbol+:} false; then : 9788 $as_echo_n "(cached) " >&6 9789else 9790 save_LDFLAGS=$LDFLAGS 9791 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9793/* end confdefs.h. */ 9794int foo (void) { return 0; } 9795_ACEOF 9796if ac_fn_c_try_link "$LINENO"; then : 9797 lt_cv_irix_exported_symbol=yes 9798else 9799 lt_cv_irix_exported_symbol=no 9800fi 9801rm -f core conftest.err conftest.$ac_objext \ 9802 conftest$ac_exeext conftest.$ac_ext 9803 LDFLAGS=$save_LDFLAGS 9804fi 9805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9806$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9807 if test yes = "$lt_cv_irix_exported_symbol"; then 9808 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' 9809 fi 9810 else 9811 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' 9812 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' 9813 fi 9814 archive_cmds_need_lc='no' 9815 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9816 hardcode_libdir_separator=: 9817 inherit_rpath=yes 9818 link_all_deplibs=yes 9819 ;; 9820 9821 linux*) 9822 case $cc_basename in 9823 tcc*) 9824 # Fabrice Bellard et al's Tiny C Compiler 9825 ld_shlibs=yes 9826 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9827 ;; 9828 esac 9829 ;; 9830 9831 netbsd*) 9832 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9833 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9834 else 9835 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9836 fi 9837 hardcode_libdir_flag_spec='-R$libdir' 9838 hardcode_direct=yes 9839 hardcode_shlibpath_var=no 9840 ;; 9841 9842 newsos6) 9843 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9844 hardcode_direct=yes 9845 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9846 hardcode_libdir_separator=: 9847 hardcode_shlibpath_var=no 9848 ;; 9849 9850 *nto* | *qnx*) 9851 ;; 9852 9853 openbsd* | bitrig*) 9854 if test -f /usr/libexec/ld.so; then 9855 hardcode_direct=yes 9856 hardcode_shlibpath_var=no 9857 hardcode_direct_absolute=yes 9858 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 9859 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9860 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 9861 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9862 export_dynamic_flag_spec='$wl-E' 9863 else 9864 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9865 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9866 fi 9867 else 9868 ld_shlibs=no 9869 fi 9870 ;; 9871 9872 os2*) 9873 hardcode_libdir_flag_spec='-L$libdir' 9874 hardcode_minus_L=yes 9875 allow_undefined_flag=unsupported 9876 shrext_cmds=.dll 9877 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9878 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9879 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9880 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9881 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9882 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9883 emximp -o $lib $output_objdir/$libname.def' 9884 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9885 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9886 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9887 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9888 prefix_cmds="$SED"~ 9889 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9890 prefix_cmds="$prefix_cmds -e 1d"; 9891 fi~ 9892 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9893 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9894 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9895 emximp -o $lib $output_objdir/$libname.def' 9896 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9897 enable_shared_with_static_runtimes=yes 9898 ;; 9899 9900 osf3*) 9901 if test yes = "$GCC"; then 9902 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9903 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' 9904 else 9905 allow_undefined_flag=' -expect_unresolved \*' 9906 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' 9907 fi 9908 archive_cmds_need_lc='no' 9909 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9910 hardcode_libdir_separator=: 9911 ;; 9912 9913 osf4* | osf5*) # as osf3* with the addition of -msym flag 9914 if test yes = "$GCC"; then 9915 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 9916 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' 9917 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9918 else 9919 allow_undefined_flag=' -expect_unresolved \*' 9920 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' 9921 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~ 9922 $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' 9923 9924 # Both c and cxx compiler support -rpath directly 9925 hardcode_libdir_flag_spec='-rpath $libdir' 9926 fi 9927 archive_cmds_need_lc='no' 9928 hardcode_libdir_separator=: 9929 ;; 9930 9931 solaris*) 9932 no_undefined_flag=' -z defs' 9933 if test yes = "$GCC"; then 9934 wlarc='$wl' 9935 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9936 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9937 $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' 9938 else 9939 case `$CC -V 2>&1` in 9940 *"Compilers 5.0"*) 9941 wlarc='' 9942 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 9943 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9944 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9945 ;; 9946 *) 9947 wlarc='$wl' 9948 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9949 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9950 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9951 ;; 9952 esac 9953 fi 9954 hardcode_libdir_flag_spec='-R$libdir' 9955 hardcode_shlibpath_var=no 9956 case $host_os in 9957 solaris2.[0-5] | solaris2.[0-5].*) ;; 9958 *) 9959 # The compiler driver will combine and reorder linker options, 9960 # but understands '-z linker_flag'. GCC discards it without '$wl', 9961 # but is careful enough not to reorder. 9962 # Supported since Solaris 2.6 (maybe 2.5.1?) 9963 if test yes = "$GCC"; then 9964 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 9965 else 9966 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9967 fi 9968 ;; 9969 esac 9970 link_all_deplibs=yes 9971 ;; 9972 9973 sunos4*) 9974 if test sequent = "$host_vendor"; then 9975 # Use $CC to link under sequent, because it throws in some extra .o 9976 # files that make .init and .fini sections work. 9977 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9978 else 9979 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9980 fi 9981 hardcode_libdir_flag_spec='-L$libdir' 9982 hardcode_direct=yes 9983 hardcode_minus_L=yes 9984 hardcode_shlibpath_var=no 9985 ;; 9986 9987 sysv4) 9988 case $host_vendor in 9989 sni) 9990 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9991 hardcode_direct=yes # is this really true??? 9992 ;; 9993 siemens) 9994 ## LD is ld it makes a PLAMLIB 9995 ## CC just makes a GrossModule. 9996 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9997 reload_cmds='$CC -r -o $output$reload_objs' 9998 hardcode_direct=no 9999 ;; 10000 motorola) 10001 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10002 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10003 ;; 10004 esac 10005 runpath_var='LD_RUN_PATH' 10006 hardcode_shlibpath_var=no 10007 ;; 10008 10009 sysv4.3*) 10010 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10011 hardcode_shlibpath_var=no 10012 export_dynamic_flag_spec='-Bexport' 10013 ;; 10014 10015 sysv4*MP*) 10016 if test -d /usr/nec; then 10017 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10018 hardcode_shlibpath_var=no 10019 runpath_var=LD_RUN_PATH 10020 hardcode_runpath_var=yes 10021 ld_shlibs=yes 10022 fi 10023 ;; 10024 10025 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10026 no_undefined_flag='$wl-z,text' 10027 archive_cmds_need_lc=no 10028 hardcode_shlibpath_var=no 10029 runpath_var='LD_RUN_PATH' 10030 10031 if test yes = "$GCC"; then 10032 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10033 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10034 else 10035 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10036 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10037 fi 10038 ;; 10039 10040 sysv5* | sco3.2v5* | sco5v6*) 10041 # Note: We CANNOT use -z defs as we might desire, because we do not 10042 # link with -lc, and that would cause any symbols used from libc to 10043 # always be unresolved, which means just about no library would 10044 # ever link correctly. If we're not using GNU ld we use -z text 10045 # though, which does catch some bad symbols but isn't as heavy-handed 10046 # as -z defs. 10047 no_undefined_flag='$wl-z,text' 10048 allow_undefined_flag='$wl-z,nodefs' 10049 archive_cmds_need_lc=no 10050 hardcode_shlibpath_var=no 10051 hardcode_libdir_flag_spec='$wl-R,$libdir' 10052 hardcode_libdir_separator=':' 10053 link_all_deplibs=yes 10054 export_dynamic_flag_spec='$wl-Bexport' 10055 runpath_var='LD_RUN_PATH' 10056 10057 if test yes = "$GCC"; then 10058 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10059 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10060 else 10061 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10062 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10063 fi 10064 ;; 10065 10066 uts4*) 10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10068 hardcode_libdir_flag_spec='-L$libdir' 10069 hardcode_shlibpath_var=no 10070 ;; 10071 10072 *) 10073 ld_shlibs=no 10074 ;; 10075 esac 10076 10077 if test sni = "$host_vendor"; then 10078 case $host in 10079 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10080 export_dynamic_flag_spec='$wl-Blargedynsym' 10081 ;; 10082 esac 10083 fi 10084 fi 10085 10086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10087$as_echo "$ld_shlibs" >&6; } 10088test no = "$ld_shlibs" && can_build_shared=no 10089 10090with_gnu_ld=$with_gnu_ld 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106# 10107# Do we need to explicitly link libc? 10108# 10109case "x$archive_cmds_need_lc" in 10110x|xyes) 10111 # Assume -lc should be added 10112 archive_cmds_need_lc=yes 10113 10114 if test yes,yes = "$GCC,$enable_shared"; then 10115 case $archive_cmds in 10116 *'~'*) 10117 # FIXME: we may have to deal with multi-command sequences. 10118 ;; 10119 '$CC '*) 10120 # Test whether the compiler implicitly links with -lc since on some 10121 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10122 # to ld, don't add -lc before -lgcc. 10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10124$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10125if ${lt_cv_archive_cmds_need_lc+:} false; then : 10126 $as_echo_n "(cached) " >&6 10127else 10128 $RM conftest* 10129 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10130 10131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10132 (eval $ac_compile) 2>&5 10133 ac_status=$? 10134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10135 test $ac_status = 0; } 2>conftest.err; then 10136 soname=conftest 10137 lib=conftest 10138 libobjs=conftest.$ac_objext 10139 deplibs= 10140 wl=$lt_prog_compiler_wl 10141 pic_flag=$lt_prog_compiler_pic 10142 compiler_flags=-v 10143 linker_flags=-v 10144 verstring= 10145 output_objdir=. 10146 libname=conftest 10147 lt_save_allow_undefined_flag=$allow_undefined_flag 10148 allow_undefined_flag= 10149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10150 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10151 ac_status=$? 10152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10153 test $ac_status = 0; } 10154 then 10155 lt_cv_archive_cmds_need_lc=no 10156 else 10157 lt_cv_archive_cmds_need_lc=yes 10158 fi 10159 allow_undefined_flag=$lt_save_allow_undefined_flag 10160 else 10161 cat conftest.err 1>&5 10162 fi 10163 $RM conftest* 10164 10165fi 10166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10167$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10168 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10169 ;; 10170 esac 10171 fi 10172 ;; 10173esac 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10327$as_echo_n "checking dynamic linker characteristics... " >&6; } 10328 10329if test yes = "$GCC"; then 10330 case $host_os in 10331 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10332 *) lt_awk_arg='/^libraries:/' ;; 10333 esac 10334 case $host_os in 10335 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10336 *) lt_sed_strip_eq='s|=/|/|g' ;; 10337 esac 10338 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10339 case $lt_search_path_spec in 10340 *\;*) 10341 # if the path contains ";" then we assume it to be the separator 10342 # otherwise default to the standard path separator (i.e. ":") - it is 10343 # assumed that no part of a normal pathname contains ";" but that should 10344 # okay in the real world where ";" in dirpaths is itself problematic. 10345 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10346 ;; 10347 *) 10348 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10349 ;; 10350 esac 10351 # Ok, now we have the path, separated by spaces, we can step through it 10352 # and add multilib dir if necessary... 10353 lt_tmp_lt_search_path_spec= 10354 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10355 # ...but if some path component already ends with the multilib dir we assume 10356 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10357 case "$lt_multi_os_dir; $lt_search_path_spec " in 10358 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10359 lt_multi_os_dir= 10360 ;; 10361 esac 10362 for lt_sys_path in $lt_search_path_spec; do 10363 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10364 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10365 elif test -n "$lt_multi_os_dir"; then 10366 test -d "$lt_sys_path" && \ 10367 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10368 fi 10369 done 10370 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10371BEGIN {RS = " "; FS = "/|\n";} { 10372 lt_foo = ""; 10373 lt_count = 0; 10374 for (lt_i = NF; lt_i > 0; lt_i--) { 10375 if ($lt_i != "" && $lt_i != ".") { 10376 if ($lt_i == "..") { 10377 lt_count++; 10378 } else { 10379 if (lt_count == 0) { 10380 lt_foo = "/" $lt_i lt_foo; 10381 } else { 10382 lt_count--; 10383 } 10384 } 10385 } 10386 } 10387 if (lt_foo != "") { lt_freq[lt_foo]++; } 10388 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10389}'` 10390 # AWK program above erroneously prepends '/' to C:/dos/paths 10391 # for these hosts. 10392 case $host_os in 10393 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10394 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10395 esac 10396 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10397else 10398 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10399fi 10400library_names_spec= 10401libname_spec='lib$name' 10402soname_spec= 10403shrext_cmds=.so 10404postinstall_cmds= 10405postuninstall_cmds= 10406finish_cmds= 10407finish_eval= 10408shlibpath_var= 10409shlibpath_overrides_runpath=unknown 10410version_type=none 10411dynamic_linker="$host_os ld.so" 10412sys_lib_dlsearch_path_spec="/lib /usr/lib" 10413need_lib_prefix=unknown 10414hardcode_into_libs=no 10415 10416# when you set need_version to no, make sure it does not cause -set_version 10417# flags to be left without arguments 10418need_version=unknown 10419 10420 10421 10422case $host_os in 10423aix3*) 10424 version_type=linux # correct to gnu/linux during the next big refactor 10425 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10426 shlibpath_var=LIBPATH 10427 10428 # AIX 3 has no versioning support, so we append a major version to the name. 10429 soname_spec='$libname$release$shared_ext$major' 10430 ;; 10431 10432aix[4-9]*) 10433 version_type=linux # correct to gnu/linux during the next big refactor 10434 need_lib_prefix=no 10435 need_version=no 10436 hardcode_into_libs=yes 10437 if test ia64 = "$host_cpu"; then 10438 # AIX 5 supports IA64 10439 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10440 shlibpath_var=LD_LIBRARY_PATH 10441 else 10442 # With GCC up to 2.95.x, collect2 would create an import file 10443 # for dependence libraries. The import file would start with 10444 # the line '#! .'. This would cause the generated library to 10445 # depend on '.', always an invalid library. This was fixed in 10446 # development snapshots of GCC prior to 3.0. 10447 case $host_os in 10448 aix4 | aix4.[01] | aix4.[01].*) 10449 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10450 echo ' yes ' 10451 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10452 : 10453 else 10454 can_build_shared=no 10455 fi 10456 ;; 10457 esac 10458 # Using Import Files as archive members, it is possible to support 10459 # filename-based versioning of shared library archives on AIX. While 10460 # this would work for both with and without runtime linking, it will 10461 # prevent static linking of such archives. So we do filename-based 10462 # shared library versioning with .so extension only, which is used 10463 # when both runtime linking and shared linking is enabled. 10464 # Unfortunately, runtime linking may impact performance, so we do 10465 # not want this to be the default eventually. Also, we use the 10466 # versioned .so libs for executables only if there is the -brtl 10467 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10468 # To allow for filename-based versioning support, we need to create 10469 # libNAME.so.V as an archive file, containing: 10470 # *) an Import File, referring to the versioned filename of the 10471 # archive as well as the shared archive member, telling the 10472 # bitwidth (32 or 64) of that shared object, and providing the 10473 # list of exported symbols of that shared object, eventually 10474 # decorated with the 'weak' keyword 10475 # *) the shared object with the F_LOADONLY flag set, to really avoid 10476 # it being seen by the linker. 10477 # At run time we better use the real file rather than another symlink, 10478 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10479 10480 case $with_aix_soname,$aix_use_runtimelinking in 10481 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10482 # soname into executable. Probably we can add versioning support to 10483 # collect2, so additional links can be useful in future. 10484 aix,yes) # traditional libtool 10485 dynamic_linker='AIX unversionable lib.so' 10486 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10487 # instead of lib<name>.a to let people know that these are not 10488 # typical AIX shared libraries. 10489 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10490 ;; 10491 aix,no) # traditional AIX only 10492 dynamic_linker='AIX lib.a(lib.so.V)' 10493 # We preserve .a as extension for shared libraries through AIX4.2 10494 # and later when we are not doing run time linking. 10495 library_names_spec='$libname$release.a $libname.a' 10496 soname_spec='$libname$release$shared_ext$major' 10497 ;; 10498 svr4,*) # full svr4 only 10499 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10500 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10501 # We do not specify a path in Import Files, so LIBPATH fires. 10502 shlibpath_overrides_runpath=yes 10503 ;; 10504 *,yes) # both, prefer svr4 10505 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10506 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10507 # unpreferred sharedlib libNAME.a needs extra handling 10508 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 10509 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 10510 # We do not specify a path in Import Files, so LIBPATH fires. 10511 shlibpath_overrides_runpath=yes 10512 ;; 10513 *,no) # both, prefer aix 10514 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10515 library_names_spec='$libname$release.a $libname.a' 10516 soname_spec='$libname$release$shared_ext$major' 10517 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10518 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 10519 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 10520 ;; 10521 esac 10522 shlibpath_var=LIBPATH 10523 fi 10524 ;; 10525 10526amigaos*) 10527 case $host_cpu in 10528 powerpc) 10529 # Since July 2007 AmigaOS4 officially supports .so libraries. 10530 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10531 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10532 ;; 10533 m68k) 10534 library_names_spec='$libname.ixlibrary $libname.a' 10535 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10536 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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' 10537 ;; 10538 esac 10539 ;; 10540 10541beos*) 10542 library_names_spec='$libname$shared_ext' 10543 dynamic_linker="$host_os ld.so" 10544 shlibpath_var=LIBRARY_PATH 10545 ;; 10546 10547bsdi[45]*) 10548 version_type=linux # correct to gnu/linux during the next big refactor 10549 need_version=no 10550 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10551 soname_spec='$libname$release$shared_ext$major' 10552 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10553 shlibpath_var=LD_LIBRARY_PATH 10554 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10555 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10556 # the default ld.so.conf also contains /usr/contrib/lib and 10557 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10558 # libtool to hard-code these into programs 10559 ;; 10560 10561cygwin* | mingw* | pw32* | cegcc*) 10562 version_type=windows 10563 shrext_cmds=.dll 10564 need_version=no 10565 need_lib_prefix=no 10566 10567 case $GCC,$cc_basename in 10568 yes,*) 10569 # gcc 10570 library_names_spec='$libname.dll.a' 10571 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10572 postinstall_cmds='base_file=`basename \$file`~ 10573 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10574 dldir=$destdir/`dirname \$dlpath`~ 10575 test -d \$dldir || mkdir -p \$dldir~ 10576 $install_prog $dir/$dlname \$dldir/$dlname~ 10577 chmod a+x \$dldir/$dlname~ 10578 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10579 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10580 fi' 10581 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10582 dlpath=$dir/\$dldll~ 10583 $RM \$dlpath' 10584 shlibpath_overrides_runpath=yes 10585 10586 case $host_os in 10587 cygwin*) 10588 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10589 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10590 10591 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10592 ;; 10593 mingw* | cegcc*) 10594 # MinGW DLLs use traditional 'lib' prefix 10595 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10596 ;; 10597 pw32*) 10598 # pw32 DLLs use 'pw' prefix rather than 'lib' 10599 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10600 ;; 10601 esac 10602 dynamic_linker='Win32 ld.exe' 10603 ;; 10604 10605 *,cl*) 10606 # Native MSVC 10607 libname_spec='$name' 10608 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10609 library_names_spec='$libname.dll.lib' 10610 10611 case $build_os in 10612 mingw*) 10613 sys_lib_search_path_spec= 10614 lt_save_ifs=$IFS 10615 IFS=';' 10616 for lt_path in $LIB 10617 do 10618 IFS=$lt_save_ifs 10619 # Let DOS variable expansion print the short 8.3 style file name. 10620 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10621 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10622 done 10623 IFS=$lt_save_ifs 10624 # Convert to MSYS style. 10625 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10626 ;; 10627 cygwin*) 10628 # Convert to unix form, then to dos form, then back to unix form 10629 # but this time dos style (no spaces!) so that the unix form looks 10630 # like /cygdrive/c/PROGRA~1:/cygdr... 10631 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10632 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10633 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10634 ;; 10635 *) 10636 sys_lib_search_path_spec=$LIB 10637 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10638 # It is most probably a Windows format PATH. 10639 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10640 else 10641 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10642 fi 10643 # FIXME: find the short name or the path components, as spaces are 10644 # common. (e.g. "Program Files" -> "PROGRA~1") 10645 ;; 10646 esac 10647 10648 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10649 postinstall_cmds='base_file=`basename \$file`~ 10650 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10651 dldir=$destdir/`dirname \$dlpath`~ 10652 test -d \$dldir || mkdir -p \$dldir~ 10653 $install_prog $dir/$dlname \$dldir/$dlname' 10654 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10655 dlpath=$dir/\$dldll~ 10656 $RM \$dlpath' 10657 shlibpath_overrides_runpath=yes 10658 dynamic_linker='Win32 link.exe' 10659 ;; 10660 10661 *) 10662 # Assume MSVC wrapper 10663 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10664 dynamic_linker='Win32 ld.exe' 10665 ;; 10666 esac 10667 # FIXME: first we should search . and the directory the executable is in 10668 shlibpath_var=PATH 10669 ;; 10670 10671darwin* | rhapsody*) 10672 dynamic_linker="$host_os dyld" 10673 version_type=darwin 10674 need_lib_prefix=no 10675 need_version=no 10676 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10677 soname_spec='$libname$release$major$shared_ext' 10678 shlibpath_overrides_runpath=yes 10679 shlibpath_var=DYLD_LIBRARY_PATH 10680 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10681 10682 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10683 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10684 ;; 10685 10686dgux*) 10687 version_type=linux # correct to gnu/linux during the next big refactor 10688 need_lib_prefix=no 10689 need_version=no 10690 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10691 soname_spec='$libname$release$shared_ext$major' 10692 shlibpath_var=LD_LIBRARY_PATH 10693 ;; 10694 10695freebsd* | dragonfly*) 10696 # DragonFly does not have aout. When/if they implement a new 10697 # versioning mechanism, adjust this. 10698 if test -x /usr/bin/objformat; then 10699 objformat=`/usr/bin/objformat` 10700 else 10701 case $host_os in 10702 freebsd[23].*) objformat=aout ;; 10703 *) objformat=elf ;; 10704 esac 10705 fi 10706 version_type=freebsd-$objformat 10707 case $version_type in 10708 freebsd-elf*) 10709 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10710 soname_spec='$libname$release$shared_ext$major' 10711 need_version=no 10712 need_lib_prefix=no 10713 ;; 10714 freebsd-*) 10715 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10716 need_version=yes 10717 ;; 10718 esac 10719 shlibpath_var=LD_LIBRARY_PATH 10720 case $host_os in 10721 freebsd2.*) 10722 shlibpath_overrides_runpath=yes 10723 ;; 10724 freebsd3.[01]* | freebsdelf3.[01]*) 10725 shlibpath_overrides_runpath=yes 10726 hardcode_into_libs=yes 10727 ;; 10728 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10729 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10730 shlibpath_overrides_runpath=no 10731 hardcode_into_libs=yes 10732 ;; 10733 *) # from 4.6 on, and DragonFly 10734 shlibpath_overrides_runpath=yes 10735 hardcode_into_libs=yes 10736 ;; 10737 esac 10738 ;; 10739 10740haiku*) 10741 version_type=linux # correct to gnu/linux during the next big refactor 10742 need_lib_prefix=no 10743 need_version=no 10744 dynamic_linker="$host_os runtime_loader" 10745 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10746 soname_spec='$libname$release$shared_ext$major' 10747 shlibpath_var=LIBRARY_PATH 10748 shlibpath_overrides_runpath=no 10749 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10750 hardcode_into_libs=yes 10751 ;; 10752 10753hpux9* | hpux10* | hpux11*) 10754 # Give a soname corresponding to the major version so that dld.sl refuses to 10755 # link against other versions. 10756 version_type=sunos 10757 need_lib_prefix=no 10758 need_version=no 10759 case $host_cpu in 10760 ia64*) 10761 shrext_cmds='.so' 10762 hardcode_into_libs=yes 10763 dynamic_linker="$host_os dld.so" 10764 shlibpath_var=LD_LIBRARY_PATH 10765 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10766 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10767 soname_spec='$libname$release$shared_ext$major' 10768 if test 32 = "$HPUX_IA64_MODE"; then 10769 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10770 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 10771 else 10772 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10773 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 10774 fi 10775 ;; 10776 hppa*64*) 10777 shrext_cmds='.sl' 10778 hardcode_into_libs=yes 10779 dynamic_linker="$host_os dld.sl" 10780 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10781 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10782 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10783 soname_spec='$libname$release$shared_ext$major' 10784 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10785 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10786 ;; 10787 *) 10788 shrext_cmds='.sl' 10789 dynamic_linker="$host_os dld.sl" 10790 shlibpath_var=SHLIB_PATH 10791 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10792 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10793 soname_spec='$libname$release$shared_ext$major' 10794 ;; 10795 esac 10796 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10797 postinstall_cmds='chmod 555 $lib' 10798 # or fails outright, so override atomically: 10799 install_override_mode=555 10800 ;; 10801 10802interix[3-9]*) 10803 version_type=linux # correct to gnu/linux during the next big refactor 10804 need_lib_prefix=no 10805 need_version=no 10806 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10807 soname_spec='$libname$release$shared_ext$major' 10808 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10809 shlibpath_var=LD_LIBRARY_PATH 10810 shlibpath_overrides_runpath=no 10811 hardcode_into_libs=yes 10812 ;; 10813 10814irix5* | irix6* | nonstopux*) 10815 case $host_os in 10816 nonstopux*) version_type=nonstopux ;; 10817 *) 10818 if test yes = "$lt_cv_prog_gnu_ld"; then 10819 version_type=linux # correct to gnu/linux during the next big refactor 10820 else 10821 version_type=irix 10822 fi ;; 10823 esac 10824 need_lib_prefix=no 10825 need_version=no 10826 soname_spec='$libname$release$shared_ext$major' 10827 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 10828 case $host_os in 10829 irix5* | nonstopux*) 10830 libsuff= shlibsuff= 10831 ;; 10832 *) 10833 case $LD in # libtool.m4 will add one of these switches to LD 10834 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10835 libsuff= shlibsuff= libmagic=32-bit;; 10836 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10837 libsuff=32 shlibsuff=N32 libmagic=N32;; 10838 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10839 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10840 *) libsuff= shlibsuff= libmagic=never-match;; 10841 esac 10842 ;; 10843 esac 10844 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10845 shlibpath_overrides_runpath=no 10846 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 10847 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 10848 hardcode_into_libs=yes 10849 ;; 10850 10851# No shared lib support for Linux oldld, aout, or coff. 10852linux*oldld* | linux*aout* | linux*coff*) 10853 dynamic_linker=no 10854 ;; 10855 10856linux*android*) 10857 version_type=none # Android doesn't support versioned libraries. 10858 need_lib_prefix=no 10859 need_version=no 10860 library_names_spec='$libname$release$shared_ext' 10861 soname_spec='$libname$release$shared_ext' 10862 finish_cmds= 10863 shlibpath_var=LD_LIBRARY_PATH 10864 shlibpath_overrides_runpath=yes 10865 10866 # This implies no fast_install, which is unacceptable. 10867 # Some rework will be needed to allow for fast_install 10868 # before this can be enabled. 10869 hardcode_into_libs=yes 10870 10871 dynamic_linker='Android linker' 10872 # Don't embed -rpath directories since the linker doesn't support them. 10873 hardcode_libdir_flag_spec='-L$libdir' 10874 ;; 10875 10876# This must be glibc/ELF. 10877linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10878 version_type=linux # correct to gnu/linux during the next big refactor 10879 need_lib_prefix=no 10880 need_version=no 10881 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10882 soname_spec='$libname$release$shared_ext$major' 10883 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10884 shlibpath_var=LD_LIBRARY_PATH 10885 shlibpath_overrides_runpath=no 10886 10887 # Some binutils ld are patched to set DT_RUNPATH 10888 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10889 $as_echo_n "(cached) " >&6 10890else 10891 lt_cv_shlibpath_overrides_runpath=no 10892 save_LDFLAGS=$LDFLAGS 10893 save_libdir=$libdir 10894 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10895 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10897/* end confdefs.h. */ 10898 10899int 10900main () 10901{ 10902 10903 ; 10904 return 0; 10905} 10906_ACEOF 10907if ac_fn_c_try_link "$LINENO"; then : 10908 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10909 lt_cv_shlibpath_overrides_runpath=yes 10910fi 10911fi 10912rm -f core conftest.err conftest.$ac_objext \ 10913 conftest$ac_exeext conftest.$ac_ext 10914 LDFLAGS=$save_LDFLAGS 10915 libdir=$save_libdir 10916 10917fi 10918 10919 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10920 10921 # This implies no fast_install, which is unacceptable. 10922 # Some rework will be needed to allow for fast_install 10923 # before this can be enabled. 10924 hardcode_into_libs=yes 10925 10926 # Ideally, we could use ldconfig to report *all* directores which are 10927 # searched for libraries, however this is still not possible. Aside from not 10928 # being certain /sbin/ldconfig is available, command 10929 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 10930 # even though it is searched at run-time. Try to do the best guess by 10931 # appending ld.so.conf contents (and includes) to the search path. 10932 if test -f /etc/ld.so.conf; then 10933 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' ' '` 10934 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10935 fi 10936 10937 # We used to test for /lib/ld.so.1 and disable shared libraries on 10938 # powerpc, because MkLinux only supported shared libraries with the 10939 # GNU dynamic linker. Since this was broken with cross compilers, 10940 # most powerpc-linux boxes support dynamic linking these days and 10941 # people can always --disable-shared, the test was removed, and we 10942 # assume the GNU/Linux dynamic linker is in use. 10943 dynamic_linker='GNU/Linux ld.so' 10944 ;; 10945 10946netbsd*) 10947 version_type=sunos 10948 need_lib_prefix=no 10949 need_version=no 10950 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10951 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10953 dynamic_linker='NetBSD (a.out) ld.so' 10954 else 10955 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10956 soname_spec='$libname$release$shared_ext$major' 10957 dynamic_linker='NetBSD ld.elf_so' 10958 fi 10959 shlibpath_var=LD_LIBRARY_PATH 10960 shlibpath_overrides_runpath=yes 10961 hardcode_into_libs=yes 10962 ;; 10963 10964newsos6) 10965 version_type=linux # correct to gnu/linux during the next big refactor 10966 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10967 shlibpath_var=LD_LIBRARY_PATH 10968 shlibpath_overrides_runpath=yes 10969 ;; 10970 10971*nto* | *qnx*) 10972 version_type=qnx 10973 need_lib_prefix=no 10974 need_version=no 10975 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10976 soname_spec='$libname$release$shared_ext$major' 10977 shlibpath_var=LD_LIBRARY_PATH 10978 shlibpath_overrides_runpath=no 10979 hardcode_into_libs=yes 10980 dynamic_linker='ldqnx.so' 10981 ;; 10982 10983openbsd* | bitrig*) 10984 version_type=sunos 10985 sys_lib_dlsearch_path_spec=/usr/lib 10986 need_lib_prefix=no 10987 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10988 need_version=no 10989 else 10990 need_version=yes 10991 fi 10992 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10993 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10994 shlibpath_var=LD_LIBRARY_PATH 10995 shlibpath_overrides_runpath=yes 10996 ;; 10997 10998os2*) 10999 libname_spec='$name' 11000 version_type=windows 11001 shrext_cmds=.dll 11002 need_version=no 11003 need_lib_prefix=no 11004 # OS/2 can only load a DLL with a base name of 8 characters or less. 11005 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11006 v=$($ECHO $release$versuffix | tr -d .-); 11007 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11008 $ECHO $n$v`$shared_ext' 11009 library_names_spec='${libname}_dll.$libext' 11010 dynamic_linker='OS/2 ld.exe' 11011 shlibpath_var=BEGINLIBPATH 11012 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11013 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11014 postinstall_cmds='base_file=`basename \$file`~ 11015 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11016 dldir=$destdir/`dirname \$dlpath`~ 11017 test -d \$dldir || mkdir -p \$dldir~ 11018 $install_prog $dir/$dlname \$dldir/$dlname~ 11019 chmod a+x \$dldir/$dlname~ 11020 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11021 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11022 fi' 11023 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11024 dlpath=$dir/\$dldll~ 11025 $RM \$dlpath' 11026 ;; 11027 11028osf3* | osf4* | osf5*) 11029 version_type=osf 11030 need_lib_prefix=no 11031 need_version=no 11032 soname_spec='$libname$release$shared_ext$major' 11033 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11034 shlibpath_var=LD_LIBRARY_PATH 11035 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11036 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11037 ;; 11038 11039rdos*) 11040 dynamic_linker=no 11041 ;; 11042 11043solaris*) 11044 version_type=linux # correct to gnu/linux during the next big refactor 11045 need_lib_prefix=no 11046 need_version=no 11047 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11048 soname_spec='$libname$release$shared_ext$major' 11049 shlibpath_var=LD_LIBRARY_PATH 11050 shlibpath_overrides_runpath=yes 11051 hardcode_into_libs=yes 11052 # ldd complains unless libraries are executable 11053 postinstall_cmds='chmod +x $lib' 11054 ;; 11055 11056sunos4*) 11057 version_type=sunos 11058 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11059 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11060 shlibpath_var=LD_LIBRARY_PATH 11061 shlibpath_overrides_runpath=yes 11062 if test yes = "$with_gnu_ld"; then 11063 need_lib_prefix=no 11064 fi 11065 need_version=yes 11066 ;; 11067 11068sysv4 | sysv4.3*) 11069 version_type=linux # correct to gnu/linux during the next big refactor 11070 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11071 soname_spec='$libname$release$shared_ext$major' 11072 shlibpath_var=LD_LIBRARY_PATH 11073 case $host_vendor in 11074 sni) 11075 shlibpath_overrides_runpath=no 11076 need_lib_prefix=no 11077 runpath_var=LD_RUN_PATH 11078 ;; 11079 siemens) 11080 need_lib_prefix=no 11081 ;; 11082 motorola) 11083 need_lib_prefix=no 11084 need_version=no 11085 shlibpath_overrides_runpath=no 11086 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11087 ;; 11088 esac 11089 ;; 11090 11091sysv4*MP*) 11092 if test -d /usr/nec; then 11093 version_type=linux # correct to gnu/linux during the next big refactor 11094 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11095 soname_spec='$libname$shared_ext.$major' 11096 shlibpath_var=LD_LIBRARY_PATH 11097 fi 11098 ;; 11099 11100sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11101 version_type=sco 11102 need_lib_prefix=no 11103 need_version=no 11104 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11105 soname_spec='$libname$release$shared_ext$major' 11106 shlibpath_var=LD_LIBRARY_PATH 11107 shlibpath_overrides_runpath=yes 11108 hardcode_into_libs=yes 11109 if test yes = "$with_gnu_ld"; then 11110 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11111 else 11112 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11113 case $host_os in 11114 sco3.2v5*) 11115 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11116 ;; 11117 esac 11118 fi 11119 sys_lib_dlsearch_path_spec='/usr/lib' 11120 ;; 11121 11122tpf*) 11123 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11124 version_type=linux # correct to gnu/linux during the next big refactor 11125 need_lib_prefix=no 11126 need_version=no 11127 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11128 shlibpath_var=LD_LIBRARY_PATH 11129 shlibpath_overrides_runpath=no 11130 hardcode_into_libs=yes 11131 ;; 11132 11133uts4*) 11134 version_type=linux # correct to gnu/linux during the next big refactor 11135 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11136 soname_spec='$libname$release$shared_ext$major' 11137 shlibpath_var=LD_LIBRARY_PATH 11138 ;; 11139 11140*) 11141 dynamic_linker=no 11142 ;; 11143esac 11144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11145$as_echo "$dynamic_linker" >&6; } 11146test no = "$dynamic_linker" && can_build_shared=no 11147 11148variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11149if test yes = "$GCC"; then 11150 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11151fi 11152 11153if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11154 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11155fi 11156 11157if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11158 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11159fi 11160 11161# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11162configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11163 11164# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11165func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11166 11167# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11168configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11267$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11268hardcode_action= 11269if test -n "$hardcode_libdir_flag_spec" || 11270 test -n "$runpath_var" || 11271 test yes = "$hardcode_automatic"; then 11272 11273 # We can hardcode non-existent directories. 11274 if test no != "$hardcode_direct" && 11275 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11276 # have to relink, otherwise we might link with an installed library 11277 # when we should be linking with a yet-to-be-installed one 11278 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11279 test no != "$hardcode_minus_L"; then 11280 # Linking always hardcodes the temporary library directory. 11281 hardcode_action=relink 11282 else 11283 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11284 hardcode_action=immediate 11285 fi 11286else 11287 # We cannot hardcode anything, or else we can only hardcode existing 11288 # directories. 11289 hardcode_action=unsupported 11290fi 11291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11292$as_echo "$hardcode_action" >&6; } 11293 11294if test relink = "$hardcode_action" || 11295 test yes = "$inherit_rpath"; then 11296 # Fast installation is not supported 11297 enable_fast_install=no 11298elif test yes = "$shlibpath_overrides_runpath" || 11299 test no = "$enable_shared"; then 11300 # Fast installation is not necessary 11301 enable_fast_install=needless 11302fi 11303 11304 11305 11306 11307 11308 11309 if test yes != "$enable_dlopen"; then 11310 enable_dlopen=unknown 11311 enable_dlopen_self=unknown 11312 enable_dlopen_self_static=unknown 11313else 11314 lt_cv_dlopen=no 11315 lt_cv_dlopen_libs= 11316 11317 case $host_os in 11318 beos*) 11319 lt_cv_dlopen=load_add_on 11320 lt_cv_dlopen_libs= 11321 lt_cv_dlopen_self=yes 11322 ;; 11323 11324 mingw* | pw32* | cegcc*) 11325 lt_cv_dlopen=LoadLibrary 11326 lt_cv_dlopen_libs= 11327 ;; 11328 11329 cygwin*) 11330 lt_cv_dlopen=dlopen 11331 lt_cv_dlopen_libs= 11332 ;; 11333 11334 darwin*) 11335 # if libdl is installed we need to link against it 11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11337$as_echo_n "checking for dlopen in -ldl... " >&6; } 11338if ${ac_cv_lib_dl_dlopen+:} false; then : 11339 $as_echo_n "(cached) " >&6 11340else 11341 ac_check_lib_save_LIBS=$LIBS 11342LIBS="-ldl $LIBS" 11343cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11344/* end confdefs.h. */ 11345 11346/* Override any GCC internal prototype to avoid an error. 11347 Use char because int might match the return type of a GCC 11348 builtin and then its argument prototype would still apply. */ 11349#ifdef __cplusplus 11350extern "C" 11351#endif 11352char dlopen (); 11353int 11354main () 11355{ 11356return dlopen (); 11357 ; 11358 return 0; 11359} 11360_ACEOF 11361if ac_fn_c_try_link "$LINENO"; then : 11362 ac_cv_lib_dl_dlopen=yes 11363else 11364 ac_cv_lib_dl_dlopen=no 11365fi 11366rm -f core conftest.err conftest.$ac_objext \ 11367 conftest$ac_exeext conftest.$ac_ext 11368LIBS=$ac_check_lib_save_LIBS 11369fi 11370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11371$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11372if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11373 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11374else 11375 11376 lt_cv_dlopen=dyld 11377 lt_cv_dlopen_libs= 11378 lt_cv_dlopen_self=yes 11379 11380fi 11381 11382 ;; 11383 11384 tpf*) 11385 # Don't try to run any link tests for TPF. We know it's impossible 11386 # because TPF is a cross-compiler, and we know how we open DSOs. 11387 lt_cv_dlopen=dlopen 11388 lt_cv_dlopen_libs= 11389 lt_cv_dlopen_self=no 11390 ;; 11391 11392 *) 11393 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11394if test "x$ac_cv_func_shl_load" = xyes; then : 11395 lt_cv_dlopen=shl_load 11396else 11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11398$as_echo_n "checking for shl_load in -ldld... " >&6; } 11399if ${ac_cv_lib_dld_shl_load+:} false; then : 11400 $as_echo_n "(cached) " >&6 11401else 11402 ac_check_lib_save_LIBS=$LIBS 11403LIBS="-ldld $LIBS" 11404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11405/* end confdefs.h. */ 11406 11407/* Override any GCC internal prototype to avoid an error. 11408 Use char because int might match the return type of a GCC 11409 builtin and then its argument prototype would still apply. */ 11410#ifdef __cplusplus 11411extern "C" 11412#endif 11413char shl_load (); 11414int 11415main () 11416{ 11417return shl_load (); 11418 ; 11419 return 0; 11420} 11421_ACEOF 11422if ac_fn_c_try_link "$LINENO"; then : 11423 ac_cv_lib_dld_shl_load=yes 11424else 11425 ac_cv_lib_dld_shl_load=no 11426fi 11427rm -f core conftest.err conftest.$ac_objext \ 11428 conftest$ac_exeext conftest.$ac_ext 11429LIBS=$ac_check_lib_save_LIBS 11430fi 11431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11432$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11433if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11434 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11435else 11436 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11437if test "x$ac_cv_func_dlopen" = xyes; then : 11438 lt_cv_dlopen=dlopen 11439else 11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11441$as_echo_n "checking for dlopen in -ldl... " >&6; } 11442if ${ac_cv_lib_dl_dlopen+:} false; then : 11443 $as_echo_n "(cached) " >&6 11444else 11445 ac_check_lib_save_LIBS=$LIBS 11446LIBS="-ldl $LIBS" 11447cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11448/* end confdefs.h. */ 11449 11450/* Override any GCC internal prototype to avoid an error. 11451 Use char because int might match the return type of a GCC 11452 builtin and then its argument prototype would still apply. */ 11453#ifdef __cplusplus 11454extern "C" 11455#endif 11456char dlopen (); 11457int 11458main () 11459{ 11460return dlopen (); 11461 ; 11462 return 0; 11463} 11464_ACEOF 11465if ac_fn_c_try_link "$LINENO"; then : 11466 ac_cv_lib_dl_dlopen=yes 11467else 11468 ac_cv_lib_dl_dlopen=no 11469fi 11470rm -f core conftest.err conftest.$ac_objext \ 11471 conftest$ac_exeext conftest.$ac_ext 11472LIBS=$ac_check_lib_save_LIBS 11473fi 11474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11475$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11476if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11477 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11478else 11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11480$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11481if ${ac_cv_lib_svld_dlopen+:} false; then : 11482 $as_echo_n "(cached) " >&6 11483else 11484 ac_check_lib_save_LIBS=$LIBS 11485LIBS="-lsvld $LIBS" 11486cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11487/* end confdefs.h. */ 11488 11489/* Override any GCC internal prototype to avoid an error. 11490 Use char because int might match the return type of a GCC 11491 builtin and then its argument prototype would still apply. */ 11492#ifdef __cplusplus 11493extern "C" 11494#endif 11495char dlopen (); 11496int 11497main () 11498{ 11499return dlopen (); 11500 ; 11501 return 0; 11502} 11503_ACEOF 11504if ac_fn_c_try_link "$LINENO"; then : 11505 ac_cv_lib_svld_dlopen=yes 11506else 11507 ac_cv_lib_svld_dlopen=no 11508fi 11509rm -f core conftest.err conftest.$ac_objext \ 11510 conftest$ac_exeext conftest.$ac_ext 11511LIBS=$ac_check_lib_save_LIBS 11512fi 11513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11514$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11515if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11516 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11517else 11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11519$as_echo_n "checking for dld_link in -ldld... " >&6; } 11520if ${ac_cv_lib_dld_dld_link+:} false; then : 11521 $as_echo_n "(cached) " >&6 11522else 11523 ac_check_lib_save_LIBS=$LIBS 11524LIBS="-ldld $LIBS" 11525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11526/* end confdefs.h. */ 11527 11528/* Override any GCC internal prototype to avoid an error. 11529 Use char because int might match the return type of a GCC 11530 builtin and then its argument prototype would still apply. */ 11531#ifdef __cplusplus 11532extern "C" 11533#endif 11534char dld_link (); 11535int 11536main () 11537{ 11538return dld_link (); 11539 ; 11540 return 0; 11541} 11542_ACEOF 11543if ac_fn_c_try_link "$LINENO"; then : 11544 ac_cv_lib_dld_dld_link=yes 11545else 11546 ac_cv_lib_dld_dld_link=no 11547fi 11548rm -f core conftest.err conftest.$ac_objext \ 11549 conftest$ac_exeext conftest.$ac_ext 11550LIBS=$ac_check_lib_save_LIBS 11551fi 11552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11553$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11554if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11555 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11556fi 11557 11558 11559fi 11560 11561 11562fi 11563 11564 11565fi 11566 11567 11568fi 11569 11570 11571fi 11572 11573 ;; 11574 esac 11575 11576 if test no = "$lt_cv_dlopen"; then 11577 enable_dlopen=no 11578 else 11579 enable_dlopen=yes 11580 fi 11581 11582 case $lt_cv_dlopen in 11583 dlopen) 11584 save_CPPFLAGS=$CPPFLAGS 11585 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11586 11587 save_LDFLAGS=$LDFLAGS 11588 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11589 11590 save_LIBS=$LIBS 11591 LIBS="$lt_cv_dlopen_libs $LIBS" 11592 11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11594$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11595if ${lt_cv_dlopen_self+:} false; then : 11596 $as_echo_n "(cached) " >&6 11597else 11598 if test yes = "$cross_compiling"; then : 11599 lt_cv_dlopen_self=cross 11600else 11601 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11602 lt_status=$lt_dlunknown 11603 cat > conftest.$ac_ext <<_LT_EOF 11604#line $LINENO "configure" 11605#include "confdefs.h" 11606 11607#if HAVE_DLFCN_H 11608#include <dlfcn.h> 11609#endif 11610 11611#include <stdio.h> 11612 11613#ifdef RTLD_GLOBAL 11614# define LT_DLGLOBAL RTLD_GLOBAL 11615#else 11616# ifdef DL_GLOBAL 11617# define LT_DLGLOBAL DL_GLOBAL 11618# else 11619# define LT_DLGLOBAL 0 11620# endif 11621#endif 11622 11623/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11624 find out it does not work in some platform. */ 11625#ifndef LT_DLLAZY_OR_NOW 11626# ifdef RTLD_LAZY 11627# define LT_DLLAZY_OR_NOW RTLD_LAZY 11628# else 11629# ifdef DL_LAZY 11630# define LT_DLLAZY_OR_NOW DL_LAZY 11631# else 11632# ifdef RTLD_NOW 11633# define LT_DLLAZY_OR_NOW RTLD_NOW 11634# else 11635# ifdef DL_NOW 11636# define LT_DLLAZY_OR_NOW DL_NOW 11637# else 11638# define LT_DLLAZY_OR_NOW 0 11639# endif 11640# endif 11641# endif 11642# endif 11643#endif 11644 11645/* When -fvisibility=hidden is used, assume the code has been annotated 11646 correspondingly for the symbols needed. */ 11647#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11648int fnord () __attribute__((visibility("default"))); 11649#endif 11650 11651int fnord () { return 42; } 11652int main () 11653{ 11654 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11655 int status = $lt_dlunknown; 11656 11657 if (self) 11658 { 11659 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11660 else 11661 { 11662 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11663 else puts (dlerror ()); 11664 } 11665 /* dlclose (self); */ 11666 } 11667 else 11668 puts (dlerror ()); 11669 11670 return status; 11671} 11672_LT_EOF 11673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11674 (eval $ac_link) 2>&5 11675 ac_status=$? 11676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11677 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11678 (./conftest; exit; ) >&5 2>/dev/null 11679 lt_status=$? 11680 case x$lt_status in 11681 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11682 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11683 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11684 esac 11685 else : 11686 # compilation failed 11687 lt_cv_dlopen_self=no 11688 fi 11689fi 11690rm -fr conftest* 11691 11692 11693fi 11694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11695$as_echo "$lt_cv_dlopen_self" >&6; } 11696 11697 if test yes = "$lt_cv_dlopen_self"; then 11698 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11700$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11701if ${lt_cv_dlopen_self_static+:} false; then : 11702 $as_echo_n "(cached) " >&6 11703else 11704 if test yes = "$cross_compiling"; then : 11705 lt_cv_dlopen_self_static=cross 11706else 11707 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11708 lt_status=$lt_dlunknown 11709 cat > conftest.$ac_ext <<_LT_EOF 11710#line $LINENO "configure" 11711#include "confdefs.h" 11712 11713#if HAVE_DLFCN_H 11714#include <dlfcn.h> 11715#endif 11716 11717#include <stdio.h> 11718 11719#ifdef RTLD_GLOBAL 11720# define LT_DLGLOBAL RTLD_GLOBAL 11721#else 11722# ifdef DL_GLOBAL 11723# define LT_DLGLOBAL DL_GLOBAL 11724# else 11725# define LT_DLGLOBAL 0 11726# endif 11727#endif 11728 11729/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11730 find out it does not work in some platform. */ 11731#ifndef LT_DLLAZY_OR_NOW 11732# ifdef RTLD_LAZY 11733# define LT_DLLAZY_OR_NOW RTLD_LAZY 11734# else 11735# ifdef DL_LAZY 11736# define LT_DLLAZY_OR_NOW DL_LAZY 11737# else 11738# ifdef RTLD_NOW 11739# define LT_DLLAZY_OR_NOW RTLD_NOW 11740# else 11741# ifdef DL_NOW 11742# define LT_DLLAZY_OR_NOW DL_NOW 11743# else 11744# define LT_DLLAZY_OR_NOW 0 11745# endif 11746# endif 11747# endif 11748# endif 11749#endif 11750 11751/* When -fvisibility=hidden is used, assume the code has been annotated 11752 correspondingly for the symbols needed. */ 11753#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11754int fnord () __attribute__((visibility("default"))); 11755#endif 11756 11757int fnord () { return 42; } 11758int main () 11759{ 11760 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11761 int status = $lt_dlunknown; 11762 11763 if (self) 11764 { 11765 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11766 else 11767 { 11768 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11769 else puts (dlerror ()); 11770 } 11771 /* dlclose (self); */ 11772 } 11773 else 11774 puts (dlerror ()); 11775 11776 return status; 11777} 11778_LT_EOF 11779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11780 (eval $ac_link) 2>&5 11781 ac_status=$? 11782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11783 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11784 (./conftest; exit; ) >&5 2>/dev/null 11785 lt_status=$? 11786 case x$lt_status in 11787 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11788 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11789 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11790 esac 11791 else : 11792 # compilation failed 11793 lt_cv_dlopen_self_static=no 11794 fi 11795fi 11796rm -fr conftest* 11797 11798 11799fi 11800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11801$as_echo "$lt_cv_dlopen_self_static" >&6; } 11802 fi 11803 11804 CPPFLAGS=$save_CPPFLAGS 11805 LDFLAGS=$save_LDFLAGS 11806 LIBS=$save_LIBS 11807 ;; 11808 esac 11809 11810 case $lt_cv_dlopen_self in 11811 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11812 *) enable_dlopen_self=unknown ;; 11813 esac 11814 11815 case $lt_cv_dlopen_self_static in 11816 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11817 *) enable_dlopen_self_static=unknown ;; 11818 esac 11819fi 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837striplib= 11838old_striplib= 11839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11840$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11841if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11842 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11843 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11845$as_echo "yes" >&6; } 11846else 11847# FIXME - insert some real tests, host_os isn't really good enough 11848 case $host_os in 11849 darwin*) 11850 if test -n "$STRIP"; then 11851 striplib="$STRIP -x" 11852 old_striplib="$STRIP -S" 11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11854$as_echo "yes" >&6; } 11855 else 11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11857$as_echo "no" >&6; } 11858 fi 11859 ;; 11860 *) 11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11862$as_echo "no" >&6; } 11863 ;; 11864 esac 11865fi 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 # Report what library types will actually be built 11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11880$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11882$as_echo "$can_build_shared" >&6; } 11883 11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11885$as_echo_n "checking whether to build shared libraries... " >&6; } 11886 test no = "$can_build_shared" && enable_shared=no 11887 11888 # On AIX, shared libraries and static libraries use the same namespace, and 11889 # are all built from PIC. 11890 case $host_os in 11891 aix3*) 11892 test yes = "$enable_shared" && enable_static=no 11893 if test -n "$RANLIB"; then 11894 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11895 postinstall_cmds='$RANLIB $lib' 11896 fi 11897 ;; 11898 11899 aix[4-9]*) 11900 if test ia64 != "$host_cpu"; then 11901 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 11902 yes,aix,yes) ;; # shared object as lib.so file only 11903 yes,svr4,*) ;; # shared object as lib.so archive member only 11904 yes,*) enable_static=no ;; # shared object in lib.a archive as well 11905 esac 11906 fi 11907 ;; 11908 esac 11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11910$as_echo "$enable_shared" >&6; } 11911 11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11913$as_echo_n "checking whether to build static libraries... " >&6; } 11914 # Make sure either enable_shared or enable_static is yes. 11915 test yes = "$enable_shared" || enable_static=yes 11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11917$as_echo "$enable_static" >&6; } 11918 11919 11920 11921 11922fi 11923ac_ext=c 11924ac_cpp='$CPP $CPPFLAGS' 11925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11927ac_compiler_gnu=$ac_cv_c_compiler_gnu 11928 11929CC=$lt_save_CC 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 ac_config_commands="$ac_config_commands libtool" 11946 11947 11948 11949 11950# Only expand once: 11951 11952 11953 11954 11955for ac_header in ctype.h stdio.h stdlib.h string.h time.h unistd.h 11956do : 11957 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11958ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11959if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11960 cat >>confdefs.h <<_ACEOF 11961@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11962_ACEOF 11963 11964fi 11965 11966done 11967 11968 11969ac_config_files="$ac_config_files Makefile" 11970 11971cat >confcache <<\_ACEOF 11972# This file is a shell script that caches the results of configure 11973# tests run on this system so they can be shared between configure 11974# scripts and configure runs, see configure's option --config-cache. 11975# It is not useful on other systems. If it contains results you don't 11976# want to keep, you may remove or edit it. 11977# 11978# config.status only pays attention to the cache file if you give it 11979# the --recheck option to rerun configure. 11980# 11981# `ac_cv_env_foo' variables (set or unset) will be overridden when 11982# loading this file, other *unset* `ac_cv_foo' will be assigned the 11983# following values. 11984 11985_ACEOF 11986 11987# The following way of writing the cache mishandles newlines in values, 11988# but we know of no workaround that is simple, portable, and efficient. 11989# So, we kill variables containing newlines. 11990# Ultrix sh set writes to stderr and can't be redirected directly, 11991# and sets the high bit in the cache file unless we assign to the vars. 11992( 11993 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11994 eval ac_val=\$$ac_var 11995 case $ac_val in #( 11996 *${as_nl}*) 11997 case $ac_var in #( 11998 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11999$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12000 esac 12001 case $ac_var in #( 12002 _ | IFS | as_nl) ;; #( 12003 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12004 *) { eval $ac_var=; unset $ac_var;} ;; 12005 esac ;; 12006 esac 12007 done 12008 12009 (set) 2>&1 | 12010 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12011 *${as_nl}ac_space=\ *) 12012 # `set' does not quote correctly, so add quotes: double-quote 12013 # substitution turns \\\\ into \\, and sed turns \\ into \. 12014 sed -n \ 12015 "s/'/'\\\\''/g; 12016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12017 ;; #( 12018 *) 12019 # `set' quotes correctly as required by POSIX, so do not add quotes. 12020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12021 ;; 12022 esac | 12023 sort 12024) | 12025 sed ' 12026 /^ac_cv_env_/b end 12027 t clear 12028 :clear 12029 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12030 t end 12031 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12032 :end' >>confcache 12033if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12034 if test -w "$cache_file"; then 12035 if test "x$cache_file" != "x/dev/null"; then 12036 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12037$as_echo "$as_me: updating cache $cache_file" >&6;} 12038 if test ! -f "$cache_file" || test -h "$cache_file"; then 12039 cat confcache >"$cache_file" 12040 else 12041 case $cache_file in #( 12042 */* | ?:*) 12043 mv -f confcache "$cache_file"$$ && 12044 mv -f "$cache_file"$$ "$cache_file" ;; #( 12045 *) 12046 mv -f confcache "$cache_file" ;; 12047 esac 12048 fi 12049 fi 12050 else 12051 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12052$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12053 fi 12054fi 12055rm -f confcache 12056 12057test "x$prefix" = xNONE && prefix=$ac_default_prefix 12058# Let make expand exec_prefix. 12059test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12060 12061# Transform confdefs.h into DEFS. 12062# Protect against shell expansion while executing Makefile rules. 12063# Protect against Makefile macro expansion. 12064# 12065# If the first sed substitution is executed (which looks for macros that 12066# take arguments), then branch to the quote section. Otherwise, 12067# look for a macro that doesn't take arguments. 12068ac_script=' 12069:mline 12070/\\$/{ 12071 N 12072 s,\\\n,, 12073 b mline 12074} 12075t clear 12076:clear 12077s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 12078t quote 12079s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 12080t quote 12081b any 12082:quote 12083s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 12084s/\[/\\&/g 12085s/\]/\\&/g 12086s/\$/$$/g 12087H 12088:any 12089${ 12090 g 12091 s/^\n// 12092 s/\n/ /g 12093 p 12094} 12095' 12096DEFS=`sed -n "$ac_script" confdefs.h` 12097 12098 12099ac_libobjs= 12100ac_ltlibobjs= 12101U= 12102for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 12103 # 1. Remove the extension, and $U if already installed. 12104 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12105 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12106 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12107 # will be set to the directory where LIBOBJS objects are built. 12108 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12109 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12110done 12111LIB@&t@OBJS=$ac_libobjs 12112 12113LTLIBOBJS=$ac_ltlibobjs 12114 12115 12116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 12117$as_echo_n "checking that generated files are newer than configure... " >&6; } 12118 if test -n "$am_sleep_pid"; then 12119 # Hide warnings about reused PIDs. 12120 wait $am_sleep_pid 2>/dev/null 12121 fi 12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12123$as_echo "done" >&6; } 12124 if test -n "$EXEEXT"; then 12125 am__EXEEXT_TRUE= 12126 am__EXEEXT_FALSE='#' 12127else 12128 am__EXEEXT_TRUE='#' 12129 am__EXEEXT_FALSE= 12130fi 12131 12132if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12133 as_fn_error $? "conditional \"AMDEP\" was never defined. 12134Usually this means the macro was only invoked conditionally." "$LINENO" 5 12135fi 12136if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12137 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12138Usually this means the macro was only invoked conditionally." "$LINENO" 5 12139fi 12140 12141: "${CONFIG_STATUS=./config.status}" 12142ac_write_fail=0 12143ac_clean_files_save=$ac_clean_files 12144ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12145{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12146$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12147as_write_fail=0 12148cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12149#! $SHELL 12150# Generated by $as_me. 12151# Run this file to recreate the current configuration. 12152# Compiler output produced by configure, useful for debugging 12153# configure, is in config.log if it exists. 12154 12155debug=false 12156ac_cs_recheck=false 12157ac_cs_silent=false 12158 12159SHELL=\${CONFIG_SHELL-$SHELL} 12160export SHELL 12161_ASEOF 12162cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12163## -------------------- ## 12164## M4sh Initialization. ## 12165## -------------------- ## 12166 12167# Be more Bourne compatible 12168DUALCASE=1; export DUALCASE # for MKS sh 12169if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12170 emulate sh 12171 NULLCMD=: 12172 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12173 # is contrary to our usage. Disable this feature. 12174 alias -g '${1+"$@"}'='"$@"' 12175 setopt NO_GLOB_SUBST 12176else 12177 case `(set -o) 2>/dev/null` in @%:@( 12178 *posix*) : 12179 set -o posix ;; @%:@( 12180 *) : 12181 ;; 12182esac 12183fi 12184 12185 12186as_nl=' 12187' 12188export as_nl 12189# Printing a long string crashes Solaris 7 /usr/bin/printf. 12190as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12191as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12192as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12193# Prefer a ksh shell builtin over an external printf program on Solaris, 12194# but without wasting forks for bash or zsh. 12195if test -z "$BASH_VERSION$ZSH_VERSION" \ 12196 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12197 as_echo='print -r --' 12198 as_echo_n='print -rn --' 12199elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12200 as_echo='printf %s\n' 12201 as_echo_n='printf %s' 12202else 12203 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12204 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12205 as_echo_n='/usr/ucb/echo -n' 12206 else 12207 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12208 as_echo_n_body='eval 12209 arg=$1; 12210 case $arg in @%:@( 12211 *"$as_nl"*) 12212 expr "X$arg" : "X\\(.*\\)$as_nl"; 12213 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12214 esac; 12215 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12216 ' 12217 export as_echo_n_body 12218 as_echo_n='sh -c $as_echo_n_body as_echo' 12219 fi 12220 export as_echo_body 12221 as_echo='sh -c $as_echo_body as_echo' 12222fi 12223 12224# The user is always right. 12225if test "${PATH_SEPARATOR+set}" != set; then 12226 PATH_SEPARATOR=: 12227 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12228 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12229 PATH_SEPARATOR=';' 12230 } 12231fi 12232 12233 12234# IFS 12235# We need space, tab and new line, in precisely that order. Quoting is 12236# there to prevent editors from complaining about space-tab. 12237# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12238# splitting by setting IFS to empty value.) 12239IFS=" "" $as_nl" 12240 12241# Find who we are. Look in the path if we contain no directory separator. 12242as_myself= 12243case $0 in @%:@(( 12244 *[\\/]* ) as_myself=$0 ;; 12245 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12246for as_dir in $PATH 12247do 12248 IFS=$as_save_IFS 12249 test -z "$as_dir" && as_dir=. 12250 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12251 done 12252IFS=$as_save_IFS 12253 12254 ;; 12255esac 12256# We did not find ourselves, most probably we were run as `sh COMMAND' 12257# in which case we are not to be found in the path. 12258if test "x$as_myself" = x; then 12259 as_myself=$0 12260fi 12261if test ! -f "$as_myself"; then 12262 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12263 exit 1 12264fi 12265 12266# Unset variables that we do not need and which cause bugs (e.g. in 12267# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12268# suppresses any "Segmentation fault" message there. '((' could 12269# trigger a bug in pdksh 5.2.14. 12270for as_var in BASH_ENV ENV MAIL MAILPATH 12271do eval test x\${$as_var+set} = xset \ 12272 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12273done 12274PS1='$ ' 12275PS2='> ' 12276PS4='+ ' 12277 12278# NLS nuisances. 12279LC_ALL=C 12280export LC_ALL 12281LANGUAGE=C 12282export LANGUAGE 12283 12284# CDPATH. 12285(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12286 12287 12288@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 12289@%:@ ---------------------------------------- 12290@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12291@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12292@%:@ script with STATUS, using 1 if that was 0. 12293as_fn_error () 12294{ 12295 as_status=$1; test $as_status -eq 0 && as_status=1 12296 if test "$4"; then 12297 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12298 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12299 fi 12300 $as_echo "$as_me: error: $2" >&2 12301 as_fn_exit $as_status 12302} @%:@ as_fn_error 12303 12304 12305@%:@ as_fn_set_status STATUS 12306@%:@ ----------------------- 12307@%:@ Set @S|@? to STATUS, without forking. 12308as_fn_set_status () 12309{ 12310 return $1 12311} @%:@ as_fn_set_status 12312 12313@%:@ as_fn_exit STATUS 12314@%:@ ----------------- 12315@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12316as_fn_exit () 12317{ 12318 set +e 12319 as_fn_set_status $1 12320 exit $1 12321} @%:@ as_fn_exit 12322 12323@%:@ as_fn_unset VAR 12324@%:@ --------------- 12325@%:@ Portably unset VAR. 12326as_fn_unset () 12327{ 12328 { eval $1=; unset $1;} 12329} 12330as_unset=as_fn_unset 12331@%:@ as_fn_append VAR VALUE 12332@%:@ ---------------------- 12333@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 12334@%:@ advantage of any shell optimizations that allow amortized linear growth over 12335@%:@ repeated appends, instead of the typical quadratic growth present in naive 12336@%:@ implementations. 12337if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12338 eval 'as_fn_append () 12339 { 12340 eval $1+=\$2 12341 }' 12342else 12343 as_fn_append () 12344 { 12345 eval $1=\$$1\$2 12346 } 12347fi # as_fn_append 12348 12349@%:@ as_fn_arith ARG... 12350@%:@ ------------------ 12351@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 12352@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 12353@%:@ must be portable across @S|@(()) and expr. 12354if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12355 eval 'as_fn_arith () 12356 { 12357 as_val=$(( $* )) 12358 }' 12359else 12360 as_fn_arith () 12361 { 12362 as_val=`expr "$@" || test $? -eq 1` 12363 } 12364fi # as_fn_arith 12365 12366 12367if expr a : '\(a\)' >/dev/null 2>&1 && 12368 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12369 as_expr=expr 12370else 12371 as_expr=false 12372fi 12373 12374if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12375 as_basename=basename 12376else 12377 as_basename=false 12378fi 12379 12380if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12381 as_dirname=dirname 12382else 12383 as_dirname=false 12384fi 12385 12386as_me=`$as_basename -- "$0" || 12387$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12388 X"$0" : 'X\(//\)$' \| \ 12389 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12390$as_echo X/"$0" | 12391 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12392 s//\1/ 12393 q 12394 } 12395 /^X\/\(\/\/\)$/{ 12396 s//\1/ 12397 q 12398 } 12399 /^X\/\(\/\).*/{ 12400 s//\1/ 12401 q 12402 } 12403 s/.*/./; q'` 12404 12405# Avoid depending upon Character Ranges. 12406as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12407as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12408as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12409as_cr_digits='0123456789' 12410as_cr_alnum=$as_cr_Letters$as_cr_digits 12411 12412ECHO_C= ECHO_N= ECHO_T= 12413case `echo -n x` in @%:@((((( 12414-n*) 12415 case `echo 'xy\c'` in 12416 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12417 xy) ECHO_C='\c';; 12418 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12419 ECHO_T=' ';; 12420 esac;; 12421*) 12422 ECHO_N='-n';; 12423esac 12424 12425rm -f conf$$ conf$$.exe conf$$.file 12426if test -d conf$$.dir; then 12427 rm -f conf$$.dir/conf$$.file 12428else 12429 rm -f conf$$.dir 12430 mkdir conf$$.dir 2>/dev/null 12431fi 12432if (echo >conf$$.file) 2>/dev/null; then 12433 if ln -s conf$$.file conf$$ 2>/dev/null; then 12434 as_ln_s='ln -s' 12435 # ... but there are two gotchas: 12436 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12437 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12438 # In both cases, we have to default to `cp -pR'. 12439 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12440 as_ln_s='cp -pR' 12441 elif ln conf$$.file conf$$ 2>/dev/null; then 12442 as_ln_s=ln 12443 else 12444 as_ln_s='cp -pR' 12445 fi 12446else 12447 as_ln_s='cp -pR' 12448fi 12449rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12450rmdir conf$$.dir 2>/dev/null 12451 12452 12453@%:@ as_fn_mkdir_p 12454@%:@ ------------- 12455@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 12456as_fn_mkdir_p () 12457{ 12458 12459 case $as_dir in #( 12460 -*) as_dir=./$as_dir;; 12461 esac 12462 test -d "$as_dir" || eval $as_mkdir_p || { 12463 as_dirs= 12464 while :; do 12465 case $as_dir in #( 12466 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12467 *) as_qdir=$as_dir;; 12468 esac 12469 as_dirs="'$as_qdir' $as_dirs" 12470 as_dir=`$as_dirname -- "$as_dir" || 12471$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12472 X"$as_dir" : 'X\(//\)[^/]' \| \ 12473 X"$as_dir" : 'X\(//\)$' \| \ 12474 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12475$as_echo X"$as_dir" | 12476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12477 s//\1/ 12478 q 12479 } 12480 /^X\(\/\/\)[^/].*/{ 12481 s//\1/ 12482 q 12483 } 12484 /^X\(\/\/\)$/{ 12485 s//\1/ 12486 q 12487 } 12488 /^X\(\/\).*/{ 12489 s//\1/ 12490 q 12491 } 12492 s/.*/./; q'` 12493 test -d "$as_dir" && break 12494 done 12495 test -z "$as_dirs" || eval "mkdir $as_dirs" 12496 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12497 12498 12499} @%:@ as_fn_mkdir_p 12500if mkdir -p . 2>/dev/null; then 12501 as_mkdir_p='mkdir -p "$as_dir"' 12502else 12503 test -d ./-p && rmdir ./-p 12504 as_mkdir_p=false 12505fi 12506 12507 12508@%:@ as_fn_executable_p FILE 12509@%:@ ----------------------- 12510@%:@ Test if FILE is an executable regular file. 12511as_fn_executable_p () 12512{ 12513 test -f "$1" && test -x "$1" 12514} @%:@ as_fn_executable_p 12515as_test_x='test -x' 12516as_executable_p=as_fn_executable_p 12517 12518# Sed expression to map a string onto a valid CPP name. 12519as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12520 12521# Sed expression to map a string onto a valid variable name. 12522as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12523 12524 12525exec 6>&1 12526## ----------------------------------- ## 12527## Main body of $CONFIG_STATUS script. ## 12528## ----------------------------------- ## 12529_ASEOF 12530test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12531 12532cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12533# Save the log message, to keep $0 and so on meaningful, and to 12534# report actual input values of CONFIG_FILES etc. instead of their 12535# values after options handling. 12536ac_log=" 12537This file was extended by planarity $as_me 3.0.0.5, which was 12538generated by GNU Autoconf 2.69. Invocation command line was 12539 12540 CONFIG_FILES = $CONFIG_FILES 12541 CONFIG_HEADERS = $CONFIG_HEADERS 12542 CONFIG_LINKS = $CONFIG_LINKS 12543 CONFIG_COMMANDS = $CONFIG_COMMANDS 12544 $ $0 $@ 12545 12546on `(hostname || uname -n) 2>/dev/null | sed 1q` 12547" 12548 12549_ACEOF 12550 12551case $ac_config_files in *" 12552"*) set x $ac_config_files; shift; ac_config_files=$*;; 12553esac 12554 12555 12556 12557cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12558# Files that config.status was made for. 12559config_files="$ac_config_files" 12560config_commands="$ac_config_commands" 12561 12562_ACEOF 12563 12564cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12565ac_cs_usage="\ 12566\`$as_me' instantiates files and other configuration actions 12567from templates according to the current configuration. Unless the files 12568and actions are specified as TAGs, all are instantiated by default. 12569 12570Usage: $0 [OPTION]... [TAG]... 12571 12572 -h, --help print this help, then exit 12573 -V, --version print version number and configuration settings, then exit 12574 --config print configuration, then exit 12575 -q, --quiet, --silent 12576 do not print progress messages 12577 -d, --debug don't remove temporary files 12578 --recheck update $as_me by reconfiguring in the same conditions 12579 --file=FILE[:TEMPLATE] 12580 instantiate the configuration file FILE 12581 12582Configuration files: 12583$config_files 12584 12585Configuration commands: 12586$config_commands 12587 12588Report bugs to <jboyer@acm.org>." 12589 12590_ACEOF 12591cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12592ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12593ac_cs_version="\\ 12594planarity config.status 3.0.0.5 12595configured by $0, generated by GNU Autoconf 2.69, 12596 with options \\"\$ac_cs_config\\" 12597 12598Copyright (C) 2012 Free Software Foundation, Inc. 12599This config.status script is free software; the Free Software Foundation 12600gives unlimited permission to copy, distribute and modify it." 12601 12602ac_pwd='$ac_pwd' 12603srcdir='$srcdir' 12604INSTALL='$INSTALL' 12605MKDIR_P='$MKDIR_P' 12606AWK='$AWK' 12607test -n "\$AWK" || AWK=awk 12608_ACEOF 12609 12610cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12611# The default lists apply if the user does not specify any file. 12612ac_need_defaults=: 12613while test $# != 0 12614do 12615 case $1 in 12616 --*=?*) 12617 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12618 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12619 ac_shift=: 12620 ;; 12621 --*=) 12622 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12623 ac_optarg= 12624 ac_shift=: 12625 ;; 12626 *) 12627 ac_option=$1 12628 ac_optarg=$2 12629 ac_shift=shift 12630 ;; 12631 esac 12632 12633 case $ac_option in 12634 # Handling of the options. 12635 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12636 ac_cs_recheck=: ;; 12637 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12638 $as_echo "$ac_cs_version"; exit ;; 12639 --config | --confi | --conf | --con | --co | --c ) 12640 $as_echo "$ac_cs_config"; exit ;; 12641 --debug | --debu | --deb | --de | --d | -d ) 12642 debug=: ;; 12643 --file | --fil | --fi | --f ) 12644 $ac_shift 12645 case $ac_optarg in 12646 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12647 '') as_fn_error $? "missing file argument" ;; 12648 esac 12649 as_fn_append CONFIG_FILES " '$ac_optarg'" 12650 ac_need_defaults=false;; 12651 --he | --h | --help | --hel | -h ) 12652 $as_echo "$ac_cs_usage"; exit ;; 12653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12654 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12655 ac_cs_silent=: ;; 12656 12657 # This is an error. 12658 -*) as_fn_error $? "unrecognized option: \`$1' 12659Try \`$0 --help' for more information." ;; 12660 12661 *) as_fn_append ac_config_targets " $1" 12662 ac_need_defaults=false ;; 12663 12664 esac 12665 shift 12666done 12667 12668ac_configure_extra_args= 12669 12670if $ac_cs_silent; then 12671 exec 6>/dev/null 12672 ac_configure_extra_args="$ac_configure_extra_args --silent" 12673fi 12674 12675_ACEOF 12676cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12677if \$ac_cs_recheck; then 12678 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12679 shift 12680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12681 CONFIG_SHELL='$SHELL' 12682 export CONFIG_SHELL 12683 exec "\$@" 12684fi 12685 12686_ACEOF 12687cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12688exec 5>>config.log 12689{ 12690 echo 12691 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 12692@%:@@%:@ Running $as_me. @%:@@%:@ 12693_ASBOX 12694 $as_echo "$ac_log" 12695} >&5 12696 12697_ACEOF 12698cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12699# 12700# INIT-COMMANDS 12701# 12702AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 12703 12704 12705# The HP-UX ksh and POSIX shell print the target directory to stdout 12706# if CDPATH is set. 12707(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12708 12709sed_quote_subst='$sed_quote_subst' 12710double_quote_subst='$double_quote_subst' 12711delay_variable_subst='$delay_variable_subst' 12712macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 12713macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 12714enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 12715enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 12716pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 12717enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 12718shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 12719SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 12720ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 12721PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 12722host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 12723host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 12724host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 12725build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 12726build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 12727build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 12728SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 12729Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 12730GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 12731EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 12732FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 12733LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 12734NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 12735LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 12736max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 12737ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 12738exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 12739lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12740lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12741lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12742lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 12743lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 12744reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 12745reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 12746OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 12747deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 12748file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 12749file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 12750want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 12751DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 12752sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 12753AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 12754AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 12755archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 12756STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12757RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12758old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12759old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12760old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 12761lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 12762CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 12763CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 12764compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 12765GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 12766lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 12767lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12768lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 12769lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12770lt_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"`' 12771lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 12772nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 12773lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 12774lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 12775objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 12776MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 12777lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 12778lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 12779lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 12780lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 12781lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 12782need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 12783MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 12784DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12785NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12786LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12787OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 12788OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 12789libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 12790shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 12791extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12792archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 12793enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 12794export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 12795whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 12796compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 12797old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 12798old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12799archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 12800archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12801module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 12802module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12803with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 12804allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 12805no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 12806hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 12807hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 12808hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 12809hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 12810hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 12811hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 12812hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12813inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12814link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12815always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 12816export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 12817exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 12818include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 12819prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 12820postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 12821file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12822variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12823need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12824need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 12825version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 12826runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 12827shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 12828shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 12829libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 12830library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 12831soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 12832install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 12833postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12834postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12835finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 12836finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 12837hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 12838sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 12839configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 12840configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 12841hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 12842enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 12843enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 12844enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 12845old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 12846striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 12847 12848LTCC='$LTCC' 12849LTCFLAGS='$LTCFLAGS' 12850compiler='$compiler_DEFAULT' 12851 12852# A function that is used when there is no print builtin or printf. 12853func_fallback_echo () 12854{ 12855 eval 'cat <<_LTECHO_EOF 12856\$1 12857_LTECHO_EOF' 12858} 12859 12860# Quote evaled strings. 12861for var in SHELL \ 12862ECHO \ 12863PATH_SEPARATOR \ 12864SED \ 12865GREP \ 12866EGREP \ 12867FGREP \ 12868LD \ 12869NM \ 12870LN_S \ 12871lt_SP2NL \ 12872lt_NL2SP \ 12873reload_flag \ 12874OBJDUMP \ 12875deplibs_check_method \ 12876file_magic_cmd \ 12877file_magic_glob \ 12878want_nocaseglob \ 12879DLLTOOL \ 12880sharedlib_from_linklib_cmd \ 12881AR \ 12882AR_FLAGS \ 12883archiver_list_spec \ 12884STRIP \ 12885RANLIB \ 12886CC \ 12887CFLAGS \ 12888compiler \ 12889lt_cv_sys_global_symbol_pipe \ 12890lt_cv_sys_global_symbol_to_cdecl \ 12891lt_cv_sys_global_symbol_to_import \ 12892lt_cv_sys_global_symbol_to_c_name_address \ 12893lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12894lt_cv_nm_interface \ 12895nm_file_list_spec \ 12896lt_cv_truncate_bin \ 12897lt_prog_compiler_no_builtin_flag \ 12898lt_prog_compiler_pic \ 12899lt_prog_compiler_wl \ 12900lt_prog_compiler_static \ 12901lt_cv_prog_compiler_c_o \ 12902need_locks \ 12903MANIFEST_TOOL \ 12904DSYMUTIL \ 12905NMEDIT \ 12906LIPO \ 12907OTOOL \ 12908OTOOL64 \ 12909shrext_cmds \ 12910export_dynamic_flag_spec \ 12911whole_archive_flag_spec \ 12912compiler_needs_object \ 12913with_gnu_ld \ 12914allow_undefined_flag \ 12915no_undefined_flag \ 12916hardcode_libdir_flag_spec \ 12917hardcode_libdir_separator \ 12918exclude_expsyms \ 12919include_expsyms \ 12920file_list_spec \ 12921variables_saved_for_relink \ 12922libname_spec \ 12923library_names_spec \ 12924soname_spec \ 12925install_override_mode \ 12926finish_eval \ 12927old_striplib \ 12928striplib; do 12929 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12930 *[\\\\\\\`\\"\\\$]*) 12931 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 12932 ;; 12933 *) 12934 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12935 ;; 12936 esac 12937done 12938 12939# Double-quote double-evaled strings. 12940for var in reload_cmds \ 12941old_postinstall_cmds \ 12942old_postuninstall_cmds \ 12943old_archive_cmds \ 12944extract_expsyms_cmds \ 12945old_archive_from_new_cmds \ 12946old_archive_from_expsyms_cmds \ 12947archive_cmds \ 12948archive_expsym_cmds \ 12949module_cmds \ 12950module_expsym_cmds \ 12951export_symbols_cmds \ 12952prelink_cmds \ 12953postlink_cmds \ 12954postinstall_cmds \ 12955postuninstall_cmds \ 12956finish_cmds \ 12957sys_lib_search_path_spec \ 12958configure_time_dlsearch_path \ 12959configure_time_lt_sys_library_path; do 12960 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12961 *[\\\\\\\`\\"\\\$]*) 12962 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 12963 ;; 12964 *) 12965 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12966 ;; 12967 esac 12968done 12969 12970ac_aux_dir='$ac_aux_dir' 12971 12972# See if we are running on zsh, and set the options that allow our 12973# commands through without removal of \ escapes INIT. 12974if test -n "\${ZSH_VERSION+set}"; then 12975 setopt NO_GLOB_SUBST 12976fi 12977 12978 12979 PACKAGE='$PACKAGE' 12980 VERSION='$VERSION' 12981 RM='$RM' 12982 ofile='$ofile' 12983 12984 12985 12986 12987_ACEOF 12988 12989cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12990 12991# Handling of arguments. 12992for ac_config_target in $ac_config_targets 12993do 12994 case $ac_config_target in 12995 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12996 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12997 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12998 12999 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13000 esac 13001done 13002 13003 13004# If the user did not use the arguments to specify the items to instantiate, 13005# then the envvar interface is used. Set only those that are not. 13006# We use the long form for the default assignment because of an extremely 13007# bizarre bug on SunOS 4.1.3. 13008if $ac_need_defaults; then 13009 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13010 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13011fi 13012 13013# Have a temporary directory for convenience. Make it in the build tree 13014# simply because there is no reason against having it here, and in addition, 13015# creating and moving files from /tmp can sometimes cause problems. 13016# Hook for its removal unless debugging. 13017# Note that there is a small window in which the directory will not be cleaned: 13018# after its creation but before its name has been assigned to `$tmp'. 13019$debug || 13020{ 13021 tmp= ac_tmp= 13022 trap 'exit_status=$? 13023 : "${ac_tmp:=$tmp}" 13024 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13025' 0 13026 trap 'as_fn_exit 1' 1 2 13 15 13027} 13028# Create a (secure) tmp directory for tmp files. 13029 13030{ 13031 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13032 test -d "$tmp" 13033} || 13034{ 13035 tmp=./conf$$-$RANDOM 13036 (umask 077 && mkdir "$tmp") 13037} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13038ac_tmp=$tmp 13039 13040# Set up the scripts for CONFIG_FILES section. 13041# No need to generate them if there are no CONFIG_FILES. 13042# This happens for instance with `./config.status config.h'. 13043if test -n "$CONFIG_FILES"; then 13044 13045 13046ac_cr=`echo X | tr X '\015'` 13047# On cygwin, bash can eat \r inside `` if the user requested igncr. 13048# But we know of no other shell where ac_cr would be empty at this 13049# point, so we can use a bashism as a fallback. 13050if test "x$ac_cr" = x; then 13051 eval ac_cr=\$\'\\r\' 13052fi 13053ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13054if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13055 ac_cs_awk_cr='\\r' 13056else 13057 ac_cs_awk_cr=$ac_cr 13058fi 13059 13060echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13061_ACEOF 13062 13063 13064{ 13065 echo "cat >conf$$subs.awk <<_ACEOF" && 13066 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13067 echo "_ACEOF" 13068} >conf$$subs.sh || 13069 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13070ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13071ac_delim='%!_!# ' 13072for ac_last_try in false false false false false :; do 13073 . ./conf$$subs.sh || 13074 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13075 13076 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13077 if test $ac_delim_n = $ac_delim_num; then 13078 break 13079 elif $ac_last_try; then 13080 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13081 else 13082 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13083 fi 13084done 13085rm -f conf$$subs.sh 13086 13087cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13088cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13089_ACEOF 13090sed -n ' 13091h 13092s/^/S["/; s/!.*/"]=/ 13093p 13094g 13095s/^[^!]*!// 13096:repl 13097t repl 13098s/'"$ac_delim"'$// 13099t delim 13100:nl 13101h 13102s/\(.\{148\}\)..*/\1/ 13103t more1 13104s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13105p 13106n 13107b repl 13108:more1 13109s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13110p 13111g 13112s/.\{148\}// 13113t nl 13114:delim 13115h 13116s/\(.\{148\}\)..*/\1/ 13117t more2 13118s/["\\]/\\&/g; s/^/"/; s/$/"/ 13119p 13120b 13121:more2 13122s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13123p 13124g 13125s/.\{148\}// 13126t delim 13127' <conf$$subs.awk | sed ' 13128/^[^""]/{ 13129 N 13130 s/\n// 13131} 13132' >>$CONFIG_STATUS || ac_write_fail=1 13133rm -f conf$$subs.awk 13134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13135_ACAWK 13136cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13137 for (key in S) S_is_set[key] = 1 13138 FS = "" 13139 13140} 13141{ 13142 line = $ 0 13143 nfields = split(line, field, "@") 13144 substed = 0 13145 len = length(field[1]) 13146 for (i = 2; i < nfields; i++) { 13147 key = field[i] 13148 keylen = length(key) 13149 if (S_is_set[key]) { 13150 value = S[key] 13151 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13152 len += length(value) + length(field[++i]) 13153 substed = 1 13154 } else 13155 len += 1 + keylen 13156 } 13157 13158 print line 13159} 13160 13161_ACAWK 13162_ACEOF 13163cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13164if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13165 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13166else 13167 cat 13168fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13169 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13170_ACEOF 13171 13172# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13173# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13174# trailing colons and then remove the whole line if VPATH becomes empty 13175# (actually we leave an empty line to preserve line numbers). 13176if test "x$srcdir" = x.; then 13177 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13178h 13179s/// 13180s/^/:/ 13181s/[ ]*$/:/ 13182s/:\$(srcdir):/:/g 13183s/:\${srcdir}:/:/g 13184s/:@srcdir@:/:/g 13185s/^:*// 13186s/:*$// 13187x 13188s/\(=[ ]*\).*/\1/ 13189G 13190s/\n// 13191s/^[^=]*=[ ]*$// 13192}' 13193fi 13194 13195cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13196fi # test -n "$CONFIG_FILES" 13197 13198 13199eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 13200shift 13201for ac_tag 13202do 13203 case $ac_tag in 13204 :[FHLC]) ac_mode=$ac_tag; continue;; 13205 esac 13206 case $ac_mode$ac_tag in 13207 :[FHL]*:*);; 13208 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13209 :[FH]-) ac_tag=-:-;; 13210 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13211 esac 13212 ac_save_IFS=$IFS 13213 IFS=: 13214 set x $ac_tag 13215 IFS=$ac_save_IFS 13216 shift 13217 ac_file=$1 13218 shift 13219 13220 case $ac_mode in 13221 :L) ac_source=$1;; 13222 :[FH]) 13223 ac_file_inputs= 13224 for ac_f 13225 do 13226 case $ac_f in 13227 -) ac_f="$ac_tmp/stdin";; 13228 *) # Look for the file first in the build tree, then in the source tree 13229 # (if the path is not absolute). The absolute path cannot be DOS-style, 13230 # because $ac_f cannot contain `:'. 13231 test -f "$ac_f" || 13232 case $ac_f in 13233 [\\/$]*) false;; 13234 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13235 esac || 13236 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13237 esac 13238 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13239 as_fn_append ac_file_inputs " '$ac_f'" 13240 done 13241 13242 # Let's still pretend it is `configure' which instantiates (i.e., don't 13243 # use $as_me), people would be surprised to read: 13244 # /* config.h. Generated by config.status. */ 13245 configure_input='Generated from '` 13246 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13247 `' by configure.' 13248 if test x"$ac_file" != x-; then 13249 configure_input="$ac_file. $configure_input" 13250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13251$as_echo "$as_me: creating $ac_file" >&6;} 13252 fi 13253 # Neutralize special characters interpreted by sed in replacement strings. 13254 case $configure_input in #( 13255 *\&* | *\|* | *\\* ) 13256 ac_sed_conf_input=`$as_echo "$configure_input" | 13257 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13258 *) ac_sed_conf_input=$configure_input;; 13259 esac 13260 13261 case $ac_tag in 13262 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13263 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13264 esac 13265 ;; 13266 esac 13267 13268 ac_dir=`$as_dirname -- "$ac_file" || 13269$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13270 X"$ac_file" : 'X\(//\)[^/]' \| \ 13271 X"$ac_file" : 'X\(//\)$' \| \ 13272 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13273$as_echo X"$ac_file" | 13274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13275 s//\1/ 13276 q 13277 } 13278 /^X\(\/\/\)[^/].*/{ 13279 s//\1/ 13280 q 13281 } 13282 /^X\(\/\/\)$/{ 13283 s//\1/ 13284 q 13285 } 13286 /^X\(\/\).*/{ 13287 s//\1/ 13288 q 13289 } 13290 s/.*/./; q'` 13291 as_dir="$ac_dir"; as_fn_mkdir_p 13292 ac_builddir=. 13293 13294case "$ac_dir" in 13295.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13296*) 13297 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13298 # A ".." for each directory in $ac_dir_suffix. 13299 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13300 case $ac_top_builddir_sub in 13301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13303 esac ;; 13304esac 13305ac_abs_top_builddir=$ac_pwd 13306ac_abs_builddir=$ac_pwd$ac_dir_suffix 13307# for backward compatibility: 13308ac_top_builddir=$ac_top_build_prefix 13309 13310case $srcdir in 13311 .) # We are building in place. 13312 ac_srcdir=. 13313 ac_top_srcdir=$ac_top_builddir_sub 13314 ac_abs_top_srcdir=$ac_pwd ;; 13315 [\\/]* | ?:[\\/]* ) # Absolute name. 13316 ac_srcdir=$srcdir$ac_dir_suffix; 13317 ac_top_srcdir=$srcdir 13318 ac_abs_top_srcdir=$srcdir ;; 13319 *) # Relative name. 13320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13321 ac_top_srcdir=$ac_top_build_prefix$srcdir 13322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13323esac 13324ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13325 13326 13327 case $ac_mode in 13328 :F) 13329 # 13330 # CONFIG_FILE 13331 # 13332 13333 case $INSTALL in 13334 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13335 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13336 esac 13337 ac_MKDIR_P=$MKDIR_P 13338 case $MKDIR_P in 13339 [\\/$]* | ?:[\\/]* ) ;; 13340 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13341 esac 13342_ACEOF 13343 13344cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13345# If the template does not know about datarootdir, expand it. 13346# FIXME: This hack should be removed a few years after 2.60. 13347ac_datarootdir_hack=; ac_datarootdir_seen= 13348ac_sed_dataroot=' 13349/datarootdir/ { 13350 p 13351 q 13352} 13353/@datadir@/p 13354/@docdir@/p 13355/@infodir@/p 13356/@localedir@/p 13357/@mandir@/p' 13358case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13359*datarootdir*) ac_datarootdir_seen=yes;; 13360*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13362$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13363_ACEOF 13364cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13365 ac_datarootdir_hack=' 13366 s&@datadir@&$datadir&g 13367 s&@docdir@&$docdir&g 13368 s&@infodir@&$infodir&g 13369 s&@localedir@&$localedir&g 13370 s&@mandir@&$mandir&g 13371 s&\\\${datarootdir}&$datarootdir&g' ;; 13372esac 13373_ACEOF 13374 13375# Neutralize VPATH when `$srcdir' = `.'. 13376# Shell code in configure.ac might set extrasub. 13377# FIXME: do we really want to maintain this feature? 13378cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13379ac_sed_extra="$ac_vpsub 13380$extrasub 13381_ACEOF 13382cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13383:t 13384/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13385s|@configure_input@|$ac_sed_conf_input|;t t 13386s&@top_builddir@&$ac_top_builddir_sub&;t t 13387s&@top_build_prefix@&$ac_top_build_prefix&;t t 13388s&@srcdir@&$ac_srcdir&;t t 13389s&@abs_srcdir@&$ac_abs_srcdir&;t t 13390s&@top_srcdir@&$ac_top_srcdir&;t t 13391s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13392s&@builddir@&$ac_builddir&;t t 13393s&@abs_builddir@&$ac_abs_builddir&;t t 13394s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13395s&@INSTALL@&$ac_INSTALL&;t t 13396s&@MKDIR_P@&$ac_MKDIR_P&;t t 13397$ac_datarootdir_hack 13398" 13399eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 13400 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13401 13402test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13403 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 13404 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 13405 "$ac_tmp/out"`; test -z "$ac_out"; } && 13406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13407which seems to be undefined. Please make sure it is defined" >&5 13408$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13409which seems to be undefined. Please make sure it is defined" >&2;} 13410 13411 rm -f "$ac_tmp/stdin" 13412 case $ac_file in 13413 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 13414 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13415 esac \ 13416 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13417 ;; 13418 13419 13420 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13421$as_echo "$as_me: executing $ac_file commands" >&6;} 13422 ;; 13423 esac 13424 13425 13426 case $ac_file$ac_mode in 13427 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13428 # Older Autoconf quotes --file arguments for eval, but not when files 13429 # are listed without --file. Let's play safe and only enable the eval 13430 # if we detect the quoting. 13431 # TODO: see whether this extra hack can be removed once we start 13432 # requiring Autoconf 2.70 or later. 13433 case $CONFIG_FILES in @%:@( 13434 *\'*) : 13435 eval set x "$CONFIG_FILES" ;; @%:@( 13436 *) : 13437 set x $CONFIG_FILES ;; @%:@( 13438 *) : 13439 ;; 13440esac 13441 shift 13442 # Used to flag and report bootstrapping failures. 13443 am_rc=0 13444 for am_mf 13445 do 13446 # Strip MF so we end up with the name of the file. 13447 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 13448 # Check whether this is an Automake generated Makefile which includes 13449 # dependency-tracking related rules and includes. 13450 # Grep'ing the whole file directly is not great: AIX grep has a line 13451 # limit of 2048, but all sed's we know have understand at least 4000. 13452 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 13453 || continue 13454 am_dirpart=`$as_dirname -- "$am_mf" || 13455$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13456 X"$am_mf" : 'X\(//\)[^/]' \| \ 13457 X"$am_mf" : 'X\(//\)$' \| \ 13458 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 13459$as_echo X"$am_mf" | 13460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13461 s//\1/ 13462 q 13463 } 13464 /^X\(\/\/\)[^/].*/{ 13465 s//\1/ 13466 q 13467 } 13468 /^X\(\/\/\)$/{ 13469 s//\1/ 13470 q 13471 } 13472 /^X\(\/\).*/{ 13473 s//\1/ 13474 q 13475 } 13476 s/.*/./; q'` 13477 am_filepart=`$as_basename -- "$am_mf" || 13478$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 13479 X"$am_mf" : 'X\(//\)$' \| \ 13480 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 13481$as_echo X/"$am_mf" | 13482 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13483 s//\1/ 13484 q 13485 } 13486 /^X\/\(\/\/\)$/{ 13487 s//\1/ 13488 q 13489 } 13490 /^X\/\(\/\).*/{ 13491 s//\1/ 13492 q 13493 } 13494 s/.*/./; q'` 13495 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 13496 && sed -e '/# am--include-marker/d' "$am_filepart" \ 13497 | $MAKE -f - am--depfiles" >&5 13498 (cd "$am_dirpart" \ 13499 && sed -e '/# am--include-marker/d' "$am_filepart" \ 13500 | $MAKE -f - am--depfiles) >&5 2>&5 13501 ac_status=$? 13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13503 (exit $ac_status); } || am_rc=$? 13504 done 13505 if test $am_rc -ne 0; then 13506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13508as_fn_error $? "Something went wrong bootstrapping makefile fragments 13509 for automatic dependency tracking. Try re-running configure with the 13510 '--disable-dependency-tracking' option to at least be able to build 13511 the package (albeit without support for automatic dependency tracking). 13512See \`config.log' for more details" "$LINENO" 5; } 13513 fi 13514 { am_dirpart=; unset am_dirpart;} 13515 { am_filepart=; unset am_filepart;} 13516 { am_mf=; unset am_mf;} 13517 { am_rc=; unset am_rc;} 13518 rm -f conftest-deps.mk 13519} 13520 ;; 13521 "libtool":C) 13522 13523 # See if we are running on zsh, and set the options that allow our 13524 # commands through without removal of \ escapes. 13525 if test -n "${ZSH_VERSION+set}"; then 13526 setopt NO_GLOB_SUBST 13527 fi 13528 13529 cfgfile=${ofile}T 13530 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13531 $RM "$cfgfile" 13532 13533 cat <<_LT_EOF >> "$cfgfile" 13534#! $SHELL 13535# Generated automatically by $as_me ($PACKAGE) $VERSION 13536# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13537# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13538 13539# Provide generalized library-building support services. 13540# Written by Gordon Matzigkeit, 1996 13541 13542# Copyright (C) 2014 Free Software Foundation, Inc. 13543# This is free software; see the source for copying conditions. There is NO 13544# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 13545 13546# GNU Libtool is free software; you can redistribute it and/or modify 13547# it under the terms of the GNU General Public License as published by 13548# the Free Software Foundation; either version 2 of of the License, or 13549# (at your option) any later version. 13550# 13551# As a special exception to the GNU General Public License, if you 13552# distribute this file as part of a program or library that is built 13553# using GNU Libtool, you may include this file under the same 13554# distribution terms that you use for the rest of that program. 13555# 13556# GNU Libtool is distributed in the hope that it will be useful, but 13557# WITHOUT ANY WARRANTY; without even the implied warranty of 13558# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13559# GNU General Public License for more details. 13560# 13561# You should have received a copy of the GNU General Public License 13562# along with this program. If not, see <http://www.gnu.org/licenses/>. 13563 13564 13565# The names of the tagged configurations supported by this script. 13566available_tags='' 13567 13568# Configured defaults for sys_lib_dlsearch_path munging. 13569: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 13570 13571# ### BEGIN LIBTOOL CONFIG 13572 13573# Which release of libtool.m4 was used? 13574macro_version=$macro_version 13575macro_revision=$macro_revision 13576 13577# Whether or not to build shared libraries. 13578build_libtool_libs=$enable_shared 13579 13580# Whether or not to build static libraries. 13581build_old_libs=$enable_static 13582 13583# What type of objects to build. 13584pic_mode=$pic_mode 13585 13586# Whether or not to optimize for fast installation. 13587fast_install=$enable_fast_install 13588 13589# Shared archive member basename,for filename based shared library versioning on AIX. 13590shared_archive_member_spec=$shared_archive_member_spec 13591 13592# Shell to use when invoking shell scripts. 13593SHELL=$lt_SHELL 13594 13595# An echo program that protects backslashes. 13596ECHO=$lt_ECHO 13597 13598# The PATH separator for the build system. 13599PATH_SEPARATOR=$lt_PATH_SEPARATOR 13600 13601# The host system. 13602host_alias=$host_alias 13603host=$host 13604host_os=$host_os 13605 13606# The build system. 13607build_alias=$build_alias 13608build=$build 13609build_os=$build_os 13610 13611# A sed program that does not truncate output. 13612SED=$lt_SED 13613 13614# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13615Xsed="\$SED -e 1s/^X//" 13616 13617# A grep program that handles long lines. 13618GREP=$lt_GREP 13619 13620# An ERE matcher. 13621EGREP=$lt_EGREP 13622 13623# A literal string matcher. 13624FGREP=$lt_FGREP 13625 13626# A BSD- or MS-compatible name lister. 13627NM=$lt_NM 13628 13629# Whether we need soft or hard links. 13630LN_S=$lt_LN_S 13631 13632# What is the maximum length of a command? 13633max_cmd_len=$max_cmd_len 13634 13635# Object file suffix (normally "o"). 13636objext=$ac_objext 13637 13638# Executable file suffix (normally ""). 13639exeext=$exeext 13640 13641# whether the shell understands "unset". 13642lt_unset=$lt_unset 13643 13644# turn spaces into newlines. 13645SP2NL=$lt_lt_SP2NL 13646 13647# turn newlines into spaces. 13648NL2SP=$lt_lt_NL2SP 13649 13650# convert \$build file names to \$host format. 13651to_host_file_cmd=$lt_cv_to_host_file_cmd 13652 13653# convert \$build files to toolchain format. 13654to_tool_file_cmd=$lt_cv_to_tool_file_cmd 13655 13656# An object symbol dumper. 13657OBJDUMP=$lt_OBJDUMP 13658 13659# Method to check whether dependent libraries are shared objects. 13660deplibs_check_method=$lt_deplibs_check_method 13661 13662# Command to use when deplibs_check_method = "file_magic". 13663file_magic_cmd=$lt_file_magic_cmd 13664 13665# How to find potential files when deplibs_check_method = "file_magic". 13666file_magic_glob=$lt_file_magic_glob 13667 13668# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 13669want_nocaseglob=$lt_want_nocaseglob 13670 13671# DLL creation program. 13672DLLTOOL=$lt_DLLTOOL 13673 13674# Command to associate shared and link libraries. 13675sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 13676 13677# The archiver. 13678AR=$lt_AR 13679 13680# Flags to create an archive. 13681AR_FLAGS=$lt_AR_FLAGS 13682 13683# How to feed a file listing to the archiver. 13684archiver_list_spec=$lt_archiver_list_spec 13685 13686# A symbol stripping program. 13687STRIP=$lt_STRIP 13688 13689# Commands used to install an old-style archive. 13690RANLIB=$lt_RANLIB 13691old_postinstall_cmds=$lt_old_postinstall_cmds 13692old_postuninstall_cmds=$lt_old_postuninstall_cmds 13693 13694# Whether to use a lock for old archive extraction. 13695lock_old_archive_extraction=$lock_old_archive_extraction 13696 13697# A C compiler. 13698LTCC=$lt_CC 13699 13700# LTCC compiler flags. 13701LTCFLAGS=$lt_CFLAGS 13702 13703# Take the output of nm and produce a listing of raw symbols and C names. 13704global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13705 13706# Transform the output of nm in a proper C declaration. 13707global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13708 13709# Transform the output of nm into a list of symbols to manually relocate. 13710global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 13711 13712# Transform the output of nm in a C name address pair. 13713global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13714 13715# Transform the output of nm in a C name address pair when lib prefix is needed. 13716global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13717 13718# The name lister interface. 13719nm_interface=$lt_lt_cv_nm_interface 13720 13721# Specify filename containing input files for \$NM. 13722nm_file_list_spec=$lt_nm_file_list_spec 13723 13724# The root where to search for dependent libraries,and where our libraries should be installed. 13725lt_sysroot=$lt_sysroot 13726 13727# Command to truncate a binary pipe. 13728lt_truncate_bin=$lt_lt_cv_truncate_bin 13729 13730# The name of the directory that contains temporary libtool files. 13731objdir=$objdir 13732 13733# Used to examine libraries when file_magic_cmd begins with "file". 13734MAGIC_CMD=$MAGIC_CMD 13735 13736# Must we lock files when doing compilation? 13737need_locks=$lt_need_locks 13738 13739# Manifest tool. 13740MANIFEST_TOOL=$lt_MANIFEST_TOOL 13741 13742# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13743DSYMUTIL=$lt_DSYMUTIL 13744 13745# Tool to change global to local symbols on Mac OS X. 13746NMEDIT=$lt_NMEDIT 13747 13748# Tool to manipulate fat objects and archives on Mac OS X. 13749LIPO=$lt_LIPO 13750 13751# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13752OTOOL=$lt_OTOOL 13753 13754# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13755OTOOL64=$lt_OTOOL64 13756 13757# Old archive suffix (normally "a"). 13758libext=$libext 13759 13760# Shared library suffix (normally ".so"). 13761shrext_cmds=$lt_shrext_cmds 13762 13763# The commands to extract the exported symbol list from a shared archive. 13764extract_expsyms_cmds=$lt_extract_expsyms_cmds 13765 13766# Variables whose values should be saved in libtool wrapper scripts and 13767# restored at link time. 13768variables_saved_for_relink=$lt_variables_saved_for_relink 13769 13770# Do we need the "lib" prefix for modules? 13771need_lib_prefix=$need_lib_prefix 13772 13773# Do we need a version for libraries? 13774need_version=$need_version 13775 13776# Library versioning type. 13777version_type=$version_type 13778 13779# Shared library runtime path variable. 13780runpath_var=$runpath_var 13781 13782# Shared library path variable. 13783shlibpath_var=$shlibpath_var 13784 13785# Is shlibpath searched before the hard-coded library search path? 13786shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13787 13788# Format of library name prefix. 13789libname_spec=$lt_libname_spec 13790 13791# List of archive names. First name is the real one, the rest are links. 13792# The last name is the one that the linker finds with -lNAME 13793library_names_spec=$lt_library_names_spec 13794 13795# The coded name of the library, if different from the real name. 13796soname_spec=$lt_soname_spec 13797 13798# Permission mode override for installation of shared libraries. 13799install_override_mode=$lt_install_override_mode 13800 13801# Command to use after installation of a shared archive. 13802postinstall_cmds=$lt_postinstall_cmds 13803 13804# Command to use after uninstallation of a shared archive. 13805postuninstall_cmds=$lt_postuninstall_cmds 13806 13807# Commands used to finish a libtool library installation in a directory. 13808finish_cmds=$lt_finish_cmds 13809 13810# As "finish_cmds", except a single script fragment to be evaled but 13811# not shown. 13812finish_eval=$lt_finish_eval 13813 13814# Whether we should hardcode library paths into libraries. 13815hardcode_into_libs=$hardcode_into_libs 13816 13817# Compile-time system search path for libraries. 13818sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13819 13820# Detected run-time system search path for libraries. 13821sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 13822 13823# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 13824configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 13825 13826# Whether dlopen is supported. 13827dlopen_support=$enable_dlopen 13828 13829# Whether dlopen of programs is supported. 13830dlopen_self=$enable_dlopen_self 13831 13832# Whether dlopen of statically linked programs is supported. 13833dlopen_self_static=$enable_dlopen_self_static 13834 13835# Commands to strip libraries. 13836old_striplib=$lt_old_striplib 13837striplib=$lt_striplib 13838 13839 13840# The linker used to build libraries. 13841LD=$lt_LD 13842 13843# How to create reloadable object files. 13844reload_flag=$lt_reload_flag 13845reload_cmds=$lt_reload_cmds 13846 13847# Commands used to build an old-style archive. 13848old_archive_cmds=$lt_old_archive_cmds 13849 13850# A language specific compiler. 13851CC=$lt_compiler 13852 13853# Is the compiler the GNU compiler? 13854with_gcc=$GCC 13855 13856# Compiler flag to turn off builtin functions. 13857no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13858 13859# Additional compiler flags for building library objects. 13860pic_flag=$lt_lt_prog_compiler_pic 13861 13862# How to pass a linker flag through the compiler. 13863wl=$lt_lt_prog_compiler_wl 13864 13865# Compiler flag to prevent dynamic linking. 13866link_static_flag=$lt_lt_prog_compiler_static 13867 13868# Does compiler simultaneously support -c and -o options? 13869compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13870 13871# Whether or not to add -lc for building shared libraries. 13872build_libtool_need_lc=$archive_cmds_need_lc 13873 13874# Whether or not to disallow shared libs when runtime libs are static. 13875allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13876 13877# Compiler flag to allow reflexive dlopens. 13878export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13879 13880# Compiler flag to generate shared objects directly from archives. 13881whole_archive_flag_spec=$lt_whole_archive_flag_spec 13882 13883# Whether the compiler copes with passing no objects directly. 13884compiler_needs_object=$lt_compiler_needs_object 13885 13886# Create an old-style archive from a shared archive. 13887old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13888 13889# Create a temporary old-style archive to link instead of a shared archive. 13890old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13891 13892# Commands used to build a shared archive. 13893archive_cmds=$lt_archive_cmds 13894archive_expsym_cmds=$lt_archive_expsym_cmds 13895 13896# Commands used to build a loadable module if different from building 13897# a shared archive. 13898module_cmds=$lt_module_cmds 13899module_expsym_cmds=$lt_module_expsym_cmds 13900 13901# Whether we are building with GNU ld or not. 13902with_gnu_ld=$lt_with_gnu_ld 13903 13904# Flag that allows shared libraries with undefined symbols to be built. 13905allow_undefined_flag=$lt_allow_undefined_flag 13906 13907# Flag that enforces no undefined symbols. 13908no_undefined_flag=$lt_no_undefined_flag 13909 13910# Flag to hardcode \$libdir into a binary during linking. 13911# This must work even if \$libdir does not exist 13912hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13913 13914# Whether we need a single "-rpath" flag with a separated argument. 13915hardcode_libdir_separator=$lt_hardcode_libdir_separator 13916 13917# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 13918# DIR into the resulting binary. 13919hardcode_direct=$hardcode_direct 13920 13921# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 13922# DIR into the resulting binary and the resulting library dependency is 13923# "absolute",i.e impossible to change by setting \$shlibpath_var if the 13924# library is relocated. 13925hardcode_direct_absolute=$hardcode_direct_absolute 13926 13927# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13928# into the resulting binary. 13929hardcode_minus_L=$hardcode_minus_L 13930 13931# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13932# into the resulting binary. 13933hardcode_shlibpath_var=$hardcode_shlibpath_var 13934 13935# Set to "yes" if building a shared library automatically hardcodes DIR 13936# into the library and all subsequent libraries and executables linked 13937# against it. 13938hardcode_automatic=$hardcode_automatic 13939 13940# Set to yes if linker adds runtime paths of dependent libraries 13941# to runtime path list. 13942inherit_rpath=$inherit_rpath 13943 13944# Whether libtool must link a program against all its dependency libraries. 13945link_all_deplibs=$link_all_deplibs 13946 13947# Set to "yes" if exported symbols are required. 13948always_export_symbols=$always_export_symbols 13949 13950# The commands to list exported symbols. 13951export_symbols_cmds=$lt_export_symbols_cmds 13952 13953# Symbols that should not be listed in the preloaded symbols. 13954exclude_expsyms=$lt_exclude_expsyms 13955 13956# Symbols that must always be exported. 13957include_expsyms=$lt_include_expsyms 13958 13959# Commands necessary for linking programs (against libraries) with templates. 13960prelink_cmds=$lt_prelink_cmds 13961 13962# Commands necessary for finishing linking programs. 13963postlink_cmds=$lt_postlink_cmds 13964 13965# Specify filename containing input files. 13966file_list_spec=$lt_file_list_spec 13967 13968# How to hardcode a shared library path into an executable. 13969hardcode_action=$hardcode_action 13970 13971# ### END LIBTOOL CONFIG 13972 13973_LT_EOF 13974 13975 cat <<'_LT_EOF' >> "$cfgfile" 13976 13977# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 13978 13979# func_munge_path_list VARIABLE PATH 13980# ----------------------------------- 13981# VARIABLE is name of variable containing _space_ separated list of 13982# directories to be munged by the contents of PATH, which is string 13983# having a format: 13984# "DIR[:DIR]:" 13985# string "DIR[ DIR]" will be prepended to VARIABLE 13986# ":DIR[:DIR]" 13987# string "DIR[ DIR]" will be appended to VARIABLE 13988# "DIRP[:DIRP]::[DIRA:]DIRA" 13989# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 13990# "DIRA[ DIRA]" will be appended to VARIABLE 13991# "DIR[:DIR]" 13992# VARIABLE will be replaced by "DIR[ DIR]" 13993func_munge_path_list () 13994{ 13995 case x@S|@2 in 13996 x) 13997 ;; 13998 *:) 13999 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" 14000 ;; 14001 x:*) 14002 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" 14003 ;; 14004 *::*) 14005 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14006 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" 14007 ;; 14008 *) 14009 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" 14010 ;; 14011 esac 14012} 14013 14014 14015# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14016func_cc_basename () 14017{ 14018 for cc_temp in @S|@*""; do 14019 case $cc_temp in 14020 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14021 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14022 \-*) ;; 14023 *) break;; 14024 esac 14025 done 14026 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14027} 14028 14029 14030# ### END FUNCTIONS SHARED WITH CONFIGURE 14031 14032_LT_EOF 14033 14034 case $host_os in 14035 aix3*) 14036 cat <<\_LT_EOF >> "$cfgfile" 14037# AIX sometimes has problems with the GCC collect2 program. For some 14038# reason, if we set the COLLECT_NAMES environment variable, the problems 14039# vanish in a puff of smoke. 14040if test set != "${COLLECT_NAMES+set}"; then 14041 COLLECT_NAMES= 14042 export COLLECT_NAMES 14043fi 14044_LT_EOF 14045 ;; 14046 esac 14047 14048 14049ltmain=$ac_aux_dir/ltmain.sh 14050 14051 14052 # We use sed instead of cat because bash on DJGPP gets confused if 14053 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14054 # text mode, it properly converts lines to CR/LF. This bash problem 14055 # is reportedly fixed, but why not run on old versions too? 14056 sed '$q' "$ltmain" >> "$cfgfile" \ 14057 || (rm -f "$cfgfile"; exit 1) 14058 14059 mv -f "$cfgfile" "$ofile" || 14060 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14061 chmod +x "$ofile" 14062 14063 ;; 14064 14065 esac 14066done # for ac_tag 14067 14068 14069as_fn_exit 0 14070_ACEOF 14071ac_clean_files=$ac_clean_files_save 14072 14073test $ac_write_fail = 0 || 14074 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14075 14076 14077# configure is writing to config.log, and then calls config.status. 14078# config.status does its own redirection, appending to config.log. 14079# Unfortunately, on DOS this fails, as config.log is still kept open 14080# by configure, so config.status won't be able to write to it; its 14081# output is simply discarded. So we exec the FD to /dev/null, 14082# effectively closing config.log, so it can be properly (re)opened and 14083# appended to by config.status. When coming back to configure, we 14084# need to make the FD available again. 14085if test "$no_create" != yes; then 14086 ac_cs_success=: 14087 ac_config_status_args= 14088 test "$silent" = yes && 14089 ac_config_status_args="$ac_config_status_args --quiet" 14090 exec 5>/dev/null 14091 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14092 exec 5>>config.log 14093 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14094 # would make configure fail if this is the last instruction. 14095 $ac_cs_success || as_fn_exit 1 14096fi 14097if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14099$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14100fi 14101 14102